Revision: 2263
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2263&view=rev
Author: cesspit
Date: 2011-10-08 22:52:54 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
geanyvc: russian translation update, README reformatted
Modified Paths:
--------------
trunk/geany-plugins/geanyvc/README
trunk/geany-plugins/geanyvc/src/geanyvc.c
trunk/geany-plugins/po/ru.po
Modified: trunk/geany-plugins/geanyvc/README
===================================================================
--- trunk/geany-plugins/geanyvc/README 2011-10-08 22:34:27 UTC (rev 2262)
+++ trunk/geany-plugins/geanyvc/README 2011-10-08 22:52:54 UTC (rev 2263)
@@ -1,31 +1,28 @@
-.. |(version)| replace:: 0.5
-
-=======
GeanyVC
-=======
+===========
+.. image:: http://img846.imageshack.us/img846/7136/geanyvcsmall.png
+ :width: 400
+ :alt: image of a plugin in work (if applicable)
+ :align: right
+ :target: http://img210.imageshack.us/img210/5382/geanyvc.png
+
.. contents::
-
About
-=====
+-----
GeanyVC is plugin that provides a uniform way of accessing the different
version-control systems inside Geany IDE. Only small subset of vc is
implemented, but, hey, you don't need anything besides diff, log, status,
revert and commit most time.
-In order to use it you need Geany 0.19 or above.
-
Features
-========
+--------
-GeanyVC currently supports the following version control system features:
+*Bazaar, GIT, Mercurial, Subversion, SVK*
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Bazaar, GIT, Mercurial, Subversion, SVK
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
* diff file
* diff directory
* diff base directory
@@ -43,8 +40,8 @@
* update
* commit
-CVS
-^^^
+*CVS*
+^^^^^
* diff file
* diff directory
@@ -58,53 +55,25 @@
* revert base directory
* update
* commit
-
-
-Requirements
-============
-
-For compiling the plugin yourself, you will need the GTK (>= 2.8.0)
-libraries and header files. You will also need its dependency
-libraries and header files, such as Pango, Glib and ATK. All these
-files are available at http://www.gtk.org. If you like to use
-spellchecking for your commit messages you will also need gtkspell
-(>=2.0), but this is only optional.
-
-And obviously, you will need to have Geany installed. If you have
-Geany installed from the sources, you should be ready to go. If you
-used a prepared package e.g. from your distribution you probably
-need to install an additional package, this might be called
-geany-dev or geany-devel. Please note that in order to compile and
-use this plugin, you need Geany 0.19 or later.
-
-Furthermore you need, of course, a C compiler and the Make tool. The
-GNU versions of these tools are recommended.
-
-You can also make usaage of Python based build system waf. Please
-check documentation of Geany-Plugins package for details on usage of
-both, autotools and waf.
-
-
+
Usage
-=====
+-----
-Activation
-^^^^^^^^^^
+*Activation*
+^^^^^^^^^^^^
After compiling and/or installing GeanyVC, start Geany and go to
menu Tools->Plugin Manager and activate the checkbox at GeanyVC.
+*Configuration*
+^^^^^^^^^^^^^^^
-Configuration
-^^^^^^^^^^^^^
-
Using Geany's plugin configuration dialog, you can change some
options of behavior of plugin.
+*Change flag for document tabs created with pluging*
+++++++++++++++++++++++++++++++++++++++++++++++++++++
-Change flag for document tabs created with pluging
---------------------------------------------------
-
If this option is activated, every new by the GeanyVC created
document tab will be marked as changed. This will cause Geany to ask
you whether you want to save when closing the document.
@@ -112,34 +81,30 @@
Even thus this option is useful in some cases, it could cause a big
number of sometimes annoying "Do you want to save"-dialogs.
+*Confirm adding new files to a VCS*
++++++++++++++++++++++++++++++++++++
-Confirm adding new files to a VCS
----------------------------------
-
Shows a confirmation dialog on adding a new (created) file to VCS.
If not set you will not see dialog "Do you want to add <file>?" and
GeanyVC will add the file without any further questioning.
+*Maximize commit dialog*
+++++++++++++++++++++++++
-Maximize commit dialog
-----------------------
-
If this option is activated, commit dialog will fit the full size of your
monitor. If it is not set commit dialog size will be 700x500.
+*Use external diff viewer*
+++++++++++++++++++++++++++
-Use external diff viewer
-------------------------
-
If this option is activated and you have **meld**, **kompare**,
**kdiff3**, **diffuse** or **tkdiff** available from command line,
one of these program will be used to show differences for "Diff From
Current File" command.
+*Enable CVS/GIT/SVN/SVK/Bazaar/Mercurial*
++++++++++++++++++++++++++++++++++++++++++
-Enable CVS/GIT/SVN/SVK/Bazaar/Mercurial
----------------------------------------
-
GeanyVC detects if opened file is in version control by checking
directories and executing commands from version control systems
toolchain. These options disable checking for particular version
@@ -148,55 +113,16 @@
Disabling not required ones can speed up things. So it is
recommended to activate e.g. svk only if you want to use it.
+Requirements
+------------
-License
-=======
+ * GTK >= 2.8.0
+ * gtkspell >=2.0 for a spell checking
+ * Geany >= 0.19
+
+Contact developers
+------------------
-GeanyVC is distributed under the terms of the GNU General Public License
-as published by the Free Software Foundation; either version 2 of the
-License, or (at your option) any later version. A copy of this license
-can be found in the file COPYING included with the source code of this
-program.
+Yura Siamashka <yurand2(at)gmail(dot)com> and Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
-Ideas, questions, patches and bug reports
-=========================================
-
-If you add something, or fix a bug, please send a patch (in 'diff -u'
-format) to the geany mailing list or to one of the authors listed bellow.
-
-
-Coding
-======
-
-Use static functions where possible.
-Try to use GLib types and functions - e.g. g_free instead of free and
-try to use only GLib 2.8 and GTK 2.8 functions. At least for the moment,
-we want to keep the minimum requirement for GTK at 2.8.
-
-
-Style
-^^^^^
-The file indent-all.sh contains information about
-the current code style. Run this script before commit.
-
-
-Development Code
-^^^^^^^^^^^^^^^^
-
-Get the code from::
-
- svn checkout http://geany-plugins.svn.sourceforge.net/svnroot/geany-plugins/trunk/geany-…
-
-
-Download
-========
-
-GeanyVC is part of the combined Geany Plugins release.
-For more information and downloads, please visit
-http://plugins.geany.org/geany-plugins/
-
---
-2007-2011 by Yura Siamashka and Frank Lanitz
-yurand2(at)gmail(dot)com
-frank(at)frank(dot)uvena(dot)de
Modified: trunk/geany-plugins/geanyvc/src/geanyvc.c
===================================================================
--- trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-10-08 22:34:27 UTC (rev 2262)
+++ trunk/geany-plugins/geanyvc/src/geanyvc.c 2011-10-08 22:52:54 UTC (rev 2263)
@@ -29,14 +29,14 @@
#include <glib/gstdio.h>
#include <unistd.h>
+#ifdef HAVE_CONFIG_H
+ #include "config.h"
+#endif
+#include <geanyplugin.h>
+
#include "geanyvc.h"
#include "SciLexer.h"
-#include <config.h>
-
-
-#include <geanyplugin.h>
-
#ifdef USE_GTKSPELL
#include <gtkspell/gtkspell.h>
#endif
Modified: trunk/geany-plugins/po/ru.po
===================================================================
--- trunk/geany-plugins/po/ru.po 2011-10-08 22:34:27 UTC (rev 2262)
+++ trunk/geany-plugins/po/ru.po 2011-10-08 22:52:54 UTC (rev 2263)
@@ -9,7 +9,7 @@
"Project-Id-Version: geany-plugins 0.19\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-10-07 14:17+0400\n"
-"PO-Revision-Date: 2011-10-08 16:10+0300\n"
+"PO-Revision-Date: 2011-10-09 02:23+0300\n"
"Last-Translator: Alexander Petukhov <devel(a)apetukhov.ru>\n"
"Language-Team: Russian <geany-i18n(a)uvena.de>\n"
"Language: ru\n"
@@ -3598,177 +3598,169 @@
#: ../geanyvc/src/geanyvc.c:51
msgid "GeanyVC"
-msgstr ""
+msgstr "Контроль версий"
#: ../geanyvc/src/geanyvc.c:52
msgid "Interface to different Version Control systems."
-msgstr ""
+msgstr "Интерфейс к системам контроля версий."
#: ../geanyvc/src/geanyvc.c:464
#, c-format
msgid "geanyvc: s_spawn_sync error: %s"
-msgstr ""
+msgstr "geanyvc: ошибка s_spawn_sync: %s"
#: ../geanyvc/src/geanyvc.c:598
#: ../geanyvc/src/geanyvc.c:609
#, c-format
msgid "geanyvc: vcdiff_file_activated: Unable to rename '%s' to '%s'"
-msgstr ""
+msgstr "geanyvc: vcdiff_file_activated: Невозможно переименовать '%s' в '%s'"
#: ../geanyvc/src/geanyvc.c:635
#: ../geanyvc/src/geanyvc.c:685
msgid "No changes were made."
-msgstr ""
+msgstr "Изменения не были применены."
#: ../geanyvc/src/geanyvc.c:711
msgid "No history avaible"
-msgstr ""
+msgstr "История не доступна"
#: ../geanyvc/src/geanyvc.c:904
#: ../geanyvc/src/geanyvc.c:912
#, c-format
msgid "Do you really want to revert: %s?"
-msgstr ""
+msgstr "Вы действительно хотите отменить изменения: %s?"
#: ../geanyvc/src/geanyvc.c:920
#, c-format
msgid "Do you really want to add: %s?"
-msgstr ""
+msgstr "Вы действительно хотите добавить в репозиторий: %s?"
#: ../geanyvc/src/geanyvc.c:927
#, c-format
msgid "Do you really want to remove: %s?"
-msgstr ""
+msgstr "Вы действительно хотите удалиь из репозитория: %s?"
#: ../geanyvc/src/geanyvc.c:950
msgid "Do you really want to update?"
-msgstr ""
+msgstr "Вы действительно хотите обновить из репозитория: %s?"
#: ../geanyvc/src/geanyvc.c:1213
msgid "Commit Y/N"
-msgstr ""
+msgstr "Фиксировать изменения Да/Нет"
#: ../geanyvc/src/geanyvc.c:1223
msgid "Status"
-msgstr ""
+msgstr "Статус"
#: ../geanyvc/src/geanyvc.c:1230
msgid "Path"
-msgstr ""
+msgstr "Путь"
#: ../geanyvc/src/geanyvc.c:1318
msgid "Commit"
-msgstr ""
+msgstr "Фиксировать"
#: ../geanyvc/src/geanyvc.c:1360
-#, fuzzy
msgid "_De-/select all files"
-msgstr "Выбрать шрифт"
+msgstr "Все файлы"
#: ../geanyvc/src/geanyvc.c:1401
msgid "<b>Commit message:</b>"
-msgstr ""
+msgstr "<b>Комментарий к изменениям:</b>"
#: ../geanyvc/src/geanyvc.c:1414
msgid "C_ommit"
-msgstr ""
+msgstr "Ф_иксировать изменения"
#: ../geanyvc/src/geanyvc.c:1488
msgid "Nothing to commit."
-msgstr ""
+msgstr "Отсутствуют локальные изменения."
#: ../geanyvc/src/geanyvc.c:1534
#, c-format
msgid "Error initializing spell checking: %s"
-msgstr ""
+msgstr "Ошибка инициализации системы проверки правописания: %s"
#: ../geanyvc/src/geanyvc.c:1546
#, c-format
msgid "Error while setting up language for spellchecking. Please check configuration. Error message was: %s"
-msgstr ""
+msgstr "В процессе установки языка для проверки орфографии произошла ошибка. Пожалуйста проверьте настройки. Сообщение об ошибке: %s"
#: ../geanyvc/src/geanyvc.c:1818
msgid "Set Changed-flag for document tabs created by the plugin"
-msgstr ""
+msgstr "Устанавливать флаг \"изменённый\" для вкладок созданных плагином"
#: ../geanyvc/src/geanyvc.c:1821
msgid "If this option is activated, every new by the VC-plugin created document tab will be marked as changed. Even this option is useful in some cases, it could cause a big number of annoying \"Do you want to save\"-dialogs."
-msgstr ""
+msgstr "Если эта опция включена, каждый документ созданный плагином будет помечен как модифицированный. Несмотря на то, что данная опция в некоторых случаях полезна, она может вызвать большое количество диалогов сохранения файла."
#: ../geanyvc/src/geanyvc.c:1829
msgid "Confirm adding new files to a VCS"
-msgstr ""
+msgstr "Подтверждать добавление файлов в репозиторий"
#: ../geanyvc/src/geanyvc.c:1832
msgid "Shows a confirmation dialog on adding a new (created) file to VCS."
-msgstr ""
+msgstr "Показывать диалог подтверждения при добавлении новых файлов в репозиторий"
#: ../geanyvc/src/geanyvc.c:1838
msgid "Maximize commit dialog"
-msgstr ""
+msgstr "Разворачивать диалог фиксации изменений"
#: ../geanyvc/src/geanyvc.c:1839
msgid "Show commit dialog maximize."
-msgstr ""
+msgstr "Максимизировать диалог фиксации изменений "
#: ../geanyvc/src/geanyvc.c:1845
msgid "Use external diff viewer"
-msgstr ""
+msgstr "Использовать внешнюю программу просмотра разницы"
#: ../geanyvc/src/geanyvc.c:1847
msgid "Use external diff viewer for file diff."
-msgstr ""
+msgstr "Использовать внешнюю программу просмотра разницы для файла"
#: ../geanyvc/src/geanyvc.c:1853
-#, fuzzy
msgid "Show VC entries at editor menu"
-msgstr "Показать 'Открыть URI' в меню редактора"
+msgstr "Показывать пункты системы контроля версий в меню редактора"
#: ../geanyvc/src/geanyvc.c:1855
msgid "Show entries for VC functions inside editor menu"
-msgstr ""
+msgstr "Показывать пункты меню системы контроля версий в меню редактора"
#: ../geanyvc/src/geanyvc.c:1860
-#, fuzzy
msgid "Enable CVS"
-msgstr "Включено"
+msgstr "CVS"
#: ../geanyvc/src/geanyvc.c:1865
-#, fuzzy
msgid "Enable GIT"
-msgstr "Включено"
+msgstr "GIT"
#: ../geanyvc/src/geanyvc.c:1870
-#, fuzzy
msgid "Enable SVN"
-msgstr "Включено"
+msgstr "SVN"
#: ../geanyvc/src/geanyvc.c:1875
-#, fuzzy
msgid "Enable SVK"
-msgstr "Включено"
+msgstr "SVK"
#: ../geanyvc/src/geanyvc.c:1880
-#, fuzzy
msgid "Enable Bazaar"
-msgstr "Включено"
+msgstr "Bazaar"
#: ../geanyvc/src/geanyvc.c:1885
msgid "Enable Mercurial"
-msgstr ""
+msgstr "Mercurial"
#: ../geanyvc/src/geanyvc.c:1891
msgid "Spellcheck language"
-msgstr ""
+msgstr "Язык проверки орфографии"
#: ../geanyvc/src/geanyvc.c:1980
msgid "_VC file Actions"
-msgstr ""
+msgstr "Контроль версий"
#: ../geanyvc/src/geanyvc.c:1982
-#, fuzzy
msgid "_File"
-msgstr "_Убить"
+msgstr "_Файл"
#. Diff of current file
#. Diff of the current dir
@@ -3777,11 +3769,11 @@
#: ../geanyvc/src/geanyvc.c:2063
#: ../geanyvc/src/geanyvc.c:2103
msgid "_Diff"
-msgstr ""
+msgstr "_Разница"
#: ../geanyvc/src/geanyvc.c:1989
msgid "Make a diff from the current active file"
-msgstr ""
+msgstr "Показать разницу для текущего файла"
#. Revert current file
#. Revert current dir
@@ -3790,20 +3782,20 @@
#: ../geanyvc/src/geanyvc.c:2072
#: ../geanyvc/src/geanyvc.c:2111
msgid "_Revert"
-msgstr ""
+msgstr "Отменить изменения"
#: ../geanyvc/src/geanyvc.c:1997
msgid "Restore pristine working copy file (undo local edits)."
-msgstr ""
+msgstr "Восстановить файл из рабочей копии (отмена локальных изменений)."
#. Blame for current file
#: ../geanyvc/src/geanyvc.c:2006
msgid "_Blame"
-msgstr ""
+msgstr "_Изменения"
#: ../geanyvc/src/geanyvc.c:2009
msgid "Shows the changes made at one file per revision and author."
-msgstr ""
+msgstr "Показать изменения сделанные в файле по номеру ревизии и автору."
#. History/log of current file
#. History/log of the current dir
@@ -3812,140 +3804,136 @@
#: ../geanyvc/src/geanyvc.c:2082
#: ../geanyvc/src/geanyvc.c:2123
msgid "_History (log)"
-msgstr ""
+msgstr "_История"
#: ../geanyvc/src/geanyvc.c:2019
msgid "Shows the log of the current file"
-msgstr ""
+msgstr "Показать лог для текущего файла"
#. base version of the current file
#: ../geanyvc/src/geanyvc.c:2024
msgid "_Original"
-msgstr ""
+msgstr "_Оригинал"
#: ../geanyvc/src/geanyvc.c:2027
msgid "Shows the orignal of the current file"
-msgstr ""
+msgstr "Показать оригинальный файл из рабочей копии"
#. add current file
#: ../geanyvc/src/geanyvc.c:2035
msgid "_Add to Version Control"
-msgstr ""
+msgstr "Добавить в репозиторий"
#: ../geanyvc/src/geanyvc.c:2037
msgid "Add file to repository."
-msgstr ""
+msgstr "Добавить файл в репозиторий"
#. remove current file
#: ../geanyvc/src/geanyvc.c:2043
msgid "_Remove from Version Control"
-msgstr ""
+msgstr "Удалить из репозитория"
#: ../geanyvc/src/geanyvc.c:2045
msgid "Remove file from repository."
-msgstr ""
+msgstr "Удалить файл из репозитория"
#: ../geanyvc/src/geanyvc.c:2060
msgid "_Directory"
-msgstr ""
+msgstr "_Директория"
#: ../geanyvc/src/geanyvc.c:2066
msgid "Make a diff from the directory of the current active file"
-msgstr ""
+msgstr "Показать разницу для директории текущего файла"
#: ../geanyvc/src/geanyvc.c:2075
msgid "Restore original files in the current folder (undo local edits)."
-msgstr ""
+msgstr "Восстановить файлы в текущей директории из рабочей копии"
#: ../geanyvc/src/geanyvc.c:2085
msgid "Shows the log of the current directory"
-msgstr ""
+msgstr "Показать лог для текущей директории"
#: ../geanyvc/src/geanyvc.c:2099
msgid "_Base Directory"
-msgstr ""
+msgstr "_Базовая директория"
#: ../geanyvc/src/geanyvc.c:2105
msgid "Make a diff from the top VC directory"
-msgstr ""
+msgstr "Показать разницу для корневой папки рабочей копии"
#: ../geanyvc/src/geanyvc.c:2113
msgid "Revert any local edits."
-msgstr ""
+msgstr "Отменить все локальные изменения."
#: ../geanyvc/src/geanyvc.c:2126
msgid "Shows the log of the top VC directory"
-msgstr ""
+msgstr "Показать лог для корневой папки рабочей копии"
#: ../geanyvc/src/geanyvc.c:2152
msgid "VC _Commit"
-msgstr ""
+msgstr "Фиксировать изменения"
#: ../geanyvc/src/geanyvc.c:2187
msgid "Show diff of file"
-msgstr ""
+msgstr "Показать разницу для файла"
#: ../geanyvc/src/geanyvc.c:2189
msgid "Show diff of directory"
-msgstr ""
+msgstr "Показать разницу для директории"
#: ../geanyvc/src/geanyvc.c:2191
msgid "Show diff of basedir"
-msgstr ""
+msgstr "Показать разницу для корневой директории"
#: ../geanyvc/src/geanyvc.c:2194
msgid "Commit changes"
-msgstr ""
+msgstr "Фиксировать локальные изменения"
#: ../geanyvc/src/geanyvc.c:2196
-#, fuzzy
msgid "Show status"
-msgstr "Показывать подсказки"
+msgstr "Показать статус"
#: ../geanyvc/src/geanyvc.c:2198
msgid "Revert single file"
-msgstr ""
+msgstr "Отменить изменения для файла"
#: ../geanyvc/src/geanyvc.c:2200
msgid "Revert directory"
-msgstr ""
+msgstr "Отменить изменения для директории"
#: ../geanyvc/src/geanyvc.c:2202
msgid "Revert base directory"
-msgstr ""
+msgstr "Отменить изменения для корневой директории"
#: ../geanyvc/src/geanyvc.c:2204
msgid "Update file"
-msgstr ""
+msgstr "Обновить файл"
#: ../geanyvc/src/geanyvc.c:2226
msgid "_VC"
-msgstr ""
+msgstr "Контроль версий"
#. Status of basedir
#: ../geanyvc/src/geanyvc.c:2247
-#, fuzzy
msgid "_Status"
-msgstr "_Пауза"
+msgstr "_Статус"
#: ../geanyvc/src/geanyvc.c:2249
-#, fuzzy
msgid "Show status."
-msgstr "Показывать подсказки"
+msgstr "Показать статус "
#: ../geanyvc/src/geanyvc.c:2256
-#, fuzzy
msgid "Update from remote repository."
-msgstr "Добавить или удалить точку останова."
+msgstr "Обновить из репозитория."
#. Commit all changes
#: ../geanyvc/src/geanyvc.c:2261
msgid "_Commit"
-msgstr ""
+msgstr "Ф_иксировать"
#: ../geanyvc/src/geanyvc.c:2263
msgid "Commit changes."
-msgstr ""
+msgstr "Фиксировать локальные изменения"
#: ../gproject/src/gproject-main.c:33
#: ../gproject/src/gproject-project.c:445
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2261
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2261&view=rev
Author: frlan
Date: 2011-10-08 22:32:29 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
PrettyPrinter: Rename menu entry
Modified Paths:
--------------
trunk/geany-plugins/pretty-printer/src/PluginEntry.c
Modified: trunk/geany-plugins/pretty-printer/src/PluginEntry.c
===================================================================
--- trunk/geany-plugins/pretty-printer/src/PluginEntry.c 2011-10-08 22:29:54 UTC (rev 2260)
+++ trunk/geany-plugins/pretty-printer/src/PluginEntry.c 2011-10-08 22:32:29 UTC (rev 2261)
@@ -63,7 +63,7 @@
main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
//put the menu into the Tools
- main_menu_item = gtk_menu_item_new_with_mnemonic(_("PrettyPrint XML"));
+ main_menu_item = gtk_menu_item_new_with_mnemonic(_("PrettyPrinter XML"));
ui_add_document_sensitive(main_menu_item);
gtk_widget_show(main_menu_item);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2260
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2260&view=rev
Author: frlan
Date: 2011-10-08 22:29:54 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
PrettyPrinter: Retry of svn r2258: Make usage of PLUGIN_SET_TRANSLATABLE_INFO() and remove not anymore needed main_local_init().
Revision Links:
--------------
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2258&view=rev
Modified Paths:
--------------
trunk/geany-plugins/pretty-printer/src/PluginEntry.c
Modified: trunk/geany-plugins/pretty-printer/src/PluginEntry.c
===================================================================
--- trunk/geany-plugins/pretty-printer/src/PluginEntry.c 2011-10-08 21:56:50 UTC (rev 2259)
+++ trunk/geany-plugins/pretty-printer/src/PluginEntry.c 2011-10-08 22:29:54 UTC (rev 2260)
@@ -23,19 +23,24 @@
#include "PluginEntry.h"
+
+GeanyPlugin* geany_plugin;
+GeanyData* geany_data;
+GeanyFunctions* geany_functions;
+
//========================================== PLUGIN INFORMATION ==========================================================
PLUGIN_VERSION_CHECK(130)
-PLUGIN_SET_INFO("XML PrettyPrinter", "Formats an XML and makes it human-readable.",
- PRETTY_PRINTER_VERSION, "Cédric Tabin - http://www.astorm.ch")
+PLUGIN_SET_TRANSLATABLE_INFO(
+ LOCALEDIR,
+ GETTEXT_PACKAGE,
+ _("XML PrettyPrinter"),
+ _("Formats an XML and makes it human-readable."),
+ PRETTY_PRINTER_VERSION, "Cédric Tabin - http://www.astorm.ch")
PLUGIN_KEY_GROUP(prettyprinter, 1)
//========================================== DECLARATIONS ================================================================
-GeanyPlugin* geany_plugin;
-GeanyData* geany_data;
-GeanyFunctions* geany_functions;
-
static GtkWidget* main_menu_item = NULL; //the main menu of the plugin
//declaration of the functions
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2259
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2259&view=rev
Author: frlan
Date: 2011-10-08 21:56:50 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
Revert changes from last commit as they broke the plugin.
Modified Paths:
--------------
trunk/geany-plugins/pretty-printer/src/PluginEntry.c
Modified: trunk/geany-plugins/pretty-printer/src/PluginEntry.c
===================================================================
--- trunk/geany-plugins/pretty-printer/src/PluginEntry.c 2011-10-08 21:38:25 UTC (rev 2258)
+++ trunk/geany-plugins/pretty-printer/src/PluginEntry.c 2011-10-08 21:56:50 UTC (rev 2259)
@@ -26,7 +26,7 @@
//========================================== PLUGIN INFORMATION ==========================================================
PLUGIN_VERSION_CHECK(130)
-PLUGIN_SET_TRANSLATABLE_INFO(_("XML PrettyPrinter"), _("Formats an XML and makes it human-readable."),
+PLUGIN_SET_INFO("XML PrettyPrinter", "Formats an XML and makes it human-readable.",
PRETTY_PRINTER_VERSION, "Cédric Tabin - http://www.astorm.ch")
PLUGIN_KEY_GROUP(prettyprinter, 1)
@@ -54,6 +54,9 @@
//initializes the libxml2
LIBXML_TEST_VERSION
+ //mutilanguage support
+ main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
+
//put the menu into the Tools
main_menu_item = gtk_menu_item_new_with_mnemonic(_("PrettyPrint XML"));
ui_add_document_sensitive(main_menu_item);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2258
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2258&view=rev
Author: frlan
Date: 2011-10-08 21:38:25 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
PrettyPrinter: Use PLUGIN_SET_TRANSLATABLE_INFO() and remove not anymore needed main_local_init().
Modified Paths:
--------------
trunk/geany-plugins/pretty-printer/src/PluginEntry.c
Modified: trunk/geany-plugins/pretty-printer/src/PluginEntry.c
===================================================================
--- trunk/geany-plugins/pretty-printer/src/PluginEntry.c 2011-10-08 21:38:04 UTC (rev 2257)
+++ trunk/geany-plugins/pretty-printer/src/PluginEntry.c 2011-10-08 21:38:25 UTC (rev 2258)
@@ -26,7 +26,7 @@
//========================================== PLUGIN INFORMATION ==========================================================
PLUGIN_VERSION_CHECK(130)
-PLUGIN_SET_INFO("XML PrettyPrinter", "Formats an XML and makes it human-readable.",
+PLUGIN_SET_TRANSLATABLE_INFO(_("XML PrettyPrinter"), _("Formats an XML and makes it human-readable."),
PRETTY_PRINTER_VERSION, "Cédric Tabin - http://www.astorm.ch")
PLUGIN_KEY_GROUP(prettyprinter, 1)
@@ -54,9 +54,6 @@
//initializes the libxml2
LIBXML_TEST_VERSION
- //mutilanguage support
- main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
-
//put the menu into the Tools
main_menu_item = gtk_menu_item_new_with_mnemonic(_("PrettyPrint XML"));
ui_add_document_sensitive(main_menu_item);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2257
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2257&view=rev
Author: frlan
Date: 2011-10-08 21:38:04 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
Addons: Little update of README
Modified Paths:
--------------
trunk/geany-plugins/addons/README
Modified: trunk/geany-plugins/addons/README
===================================================================
--- trunk/geany-plugins/addons/README 2011-10-08 21:37:44 UTC (rev 2256)
+++ trunk/geany-plugins/addons/README 2011-10-08 21:38:04 UTC (rev 2257)
@@ -1,5 +1,5 @@
Addons
-===============
+======
.. image:: http://img534.imageshack.us/img534/94/addonssmall.png
:width: 400
@@ -26,7 +26,7 @@
* Highlighting all occurrences of a word when double-clicking it
* Strip trailing blank lines when saving
* XMLtagging
-
+
Usage
-----
@@ -74,7 +74,7 @@
one trailing newline will be left.
*XML tagging*
-^^^^^^^^^^^^^^
+^^^^^^^^^^^^^
XML tagging allows to easy tag a selected text, by checking for a
selection, offering a little dialog for inserting a tag and
replacing a selection.
@@ -84,7 +84,7 @@
* GTK >= 2.8.0
* Geany >= 0.21
-
+
Contact developers
------------------
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2256
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2256&view=rev
Author: frlan
Date: 2011-10-08 21:37:44 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
PrettyPrinter: Marking some strings as translatable
Modified Paths:
--------------
trunk/geany-plugins/pretty-printer/src/PluginEntry.c
Modified: trunk/geany-plugins/pretty-printer/src/PluginEntry.c
===================================================================
--- trunk/geany-plugins/pretty-printer/src/PluginEntry.c 2011-10-08 16:57:40 UTC (rev 2255)
+++ trunk/geany-plugins/pretty-printer/src/PluginEntry.c 2011-10-08 21:37:44 UTC (rev 2256)
@@ -58,7 +58,7 @@
main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
//put the menu into the Tools
- main_menu_item = gtk_menu_item_new_with_mnemonic("PrettyPrint XML");
+ main_menu_item = gtk_menu_item_new_with_mnemonic(_("PrettyPrint XML"));
ui_add_document_sensitive(main_menu_item);
gtk_widget_show(main_menu_item);
@@ -66,7 +66,7 @@
//init keybindings
keybindings_set_item(plugin_key_group, 0, kb_run_xml_pretty_print,
- 0, 0, "run_pretty_printer_xml", "Run the PrettyPrinter XML",
+ 0, 0, "run_pretty_printer_xml", _("Run the PrettyPrinter XML"),
main_menu_item);
//add activation callback
@@ -92,7 +92,7 @@
void config_closed(GtkWidget* configWidget, gint response, gpointer gdata)
{
//if the user clicked OK or APPLY, then save the settings
- if (response == GTK_RESPONSE_OK ||
+ if (response == GTK_RESPONSE_OK ||
response == GTK_RESPONSE_APPLY)
{
saveSettings();
@@ -109,7 +109,7 @@
//retrieves the current document
GeanyDocument* doc = document_get_current();
g_return_if_fail(doc != NULL);
-
+
GeanyEditor* editor = doc->editor;
ScintillaObject* sco = editor->sci;
@@ -129,9 +129,9 @@
xmlDoc* parsedDocument = xmlParseDoc((unsigned char*)buffer);
//this is not a valid xml => exit with an error message
- if(parsedDocument == NULL)
+ if(parsedDocument == NULL)
{
- dialogs_show_msgbox(GTK_MESSAGE_ERROR, "Unable to parse the content as XML.");
+ dialogs_show_msgbox(GTK_MESSAGE_ERROR, _("Unable to parse the content as XML."));
return;
}
@@ -142,7 +142,7 @@
int result = processXMLPrettyPrinting(&buffer, &length, prettyPrintingOptions);
if (result != PRETTY_PRINTING_SUCCESS)
{
- dialogs_show_msgbox(GTK_MESSAGE_ERROR, "Unable to process PrettyPrinting on the specified XML because some features are not supported.\n\nSee Help > Debug messages for more details...");
+ dialogs_show_msgbox(GTK_MESSAGE_ERROR, _("Unable to process PrettyPrinting on the specified XML because some features are not supported.\n\nSee Help > Debug messages for more details..."));
return;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2255
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2255&view=rev
Author: frlan
Date: 2011-10-08 16:57:40 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
GeanyLaTeX: Update docu to 0.6 for upcoming release
Modified Paths:
--------------
trunk/geany-plugins/geanylatex/doc/geanylatex.pdf
trunk/geany-plugins/geanylatex/doc/geanylatex.tex
Modified: trunk/geany-plugins/geanylatex/doc/geanylatex.pdf
===================================================================
(Binary files differ)
Modified: trunk/geany-plugins/geanylatex/doc/geanylatex.tex
===================================================================
--- trunk/geany-plugins/geanylatex/doc/geanylatex.tex 2011-10-08 16:57:20 UTC (rev 2254)
+++ trunk/geany-plugins/geanylatex/doc/geanylatex.tex 2011-10-08 16:57:40 UTC (rev 2255)
@@ -43,7 +43,7 @@
\hypersetup{pdftex=true, colorlinks=true, breaklinks=true, linkcolor=black, urlcolor=darkblue}
\title{Geany\LaTeX{} -- A \LaTeX{} plugin for Geany \\[1.5ex]
- \normalsize Version 0.6svn}
+ \normalsize Version 0.6}
\author{Frank Lanitz \\ \small{\href{mailto:frank@frank.uvena.de}{frank@frank.uvena.de}}}
\date{\today}
@@ -92,7 +92,7 @@
\newpage
\section{News \& ChangeLog}
-\subsection{Upcoming Geany\LaTeX{} 0.6}
+\subsection{Geany\LaTeX{} 0.6 -- 2011-10-15}
\begin{itemize}
\item Moved \LaTeX{} menu to a separate menu inside Geany main menu
\item Added a feature to autocapetlise letters on typing on begin of
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Revision: 2254
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2254&view=rev
Author: frlan
Date: 2011-10-08 16:57:20 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
GeanyLaTeX: Setting version to 0.6 inside plugin manager
Modified Paths:
--------------
trunk/geany-plugins/geanylatex/src/geanylatex.c
Modified: trunk/geany-plugins/geanylatex/src/geanylatex.c
===================================================================
--- trunk/geany-plugins/geanylatex/src/geanylatex.c 2011-10-08 15:21:03 UTC (rev 2253)
+++ trunk/geany-plugins/geanylatex/src/geanylatex.c 2011-10-08 16:57:20 UTC (rev 2254)
@@ -40,7 +40,7 @@
GETTEXT_PACKAGE,
_("GeanyLaTeX"),
_("Plugin to provide better LaTeX support"),
- "0.6pre-1",
+ "0.6",
"Frank Lanitz <frank(a)frank.uvena.de>")
GeanyPlugin *geany_plugin;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.