SF.net SVN: geany-plugins:[2250] trunk/geany-plugins
cesspit at users.sourceforge.net
cesspit at xxxxx
Sat Oct 8 11:25:55 UTC 2011
Revision: 2250
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=2250&view=rev
Author: cesspit
Date: 2011-10-08 11:25:55 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
codenav: README reformatted, fix i18n, russian translation updated
Modified Paths:
--------------
trunk/geany-plugins/codenav/README
trunk/geany-plugins/codenav/src/codenavigation.c
trunk/geany-plugins/codenav/src/codenavigation.h
trunk/geany-plugins/codenav/src/goto_file.c
trunk/geany-plugins/codenav/src/switch_head_impl.c
trunk/geany-plugins/po/ru.po
Modified: trunk/geany-plugins/codenav/README
===================================================================
--- trunk/geany-plugins/codenav/README 2011-10-08 10:50:27 UTC (rev 2249)
+++ trunk/geany-plugins/codenav/README 2011-10-08 11:25:55 UTC (rev 2250)
@@ -1,54 +1,32 @@
-Code navigation plugin
-======================
+Code navigation
+=================
+.. contents::
+
About
-----
+
This plugin adds some facilities for navigating in the code.
-Actually, it will make it possible to :
-- switch between header and implementation
-- go to a file by typing its name
-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.
+Features
+--------
-Installation
-------------
-Compiling and installing the code is done by the following three commands:
-$ ./configure
-$ make
-$ make install
-
-For more configuration details run
-$ ./configure --help
-
-If there are any errors during compilation, check your build environment
-and try to find the error, otherwise contact one of the authors.
-
-
+ * switch between header and implementation
+ * go to a file by typing its name
+
Usage
-----
+
After installed successfully, load the plugin in Geany's plugin manager
and new menu items in the Edit menu will appear. You can
change the keyboard shortcuts in Geany's preferences dialog.
-
-Known issues
+Requirements
------------
- * still in development...
-License
--------
-"Code navigation plugin" 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.
+ * GTK >= 2.8.0
+
+Contact developers
+------------------
-
-Ideas, questions, patches and bug reports
------------------------------------------
Lionel Fuentes <funto66 at gmail.com>
Modified: trunk/geany-plugins/codenav/src/codenavigation.c
===================================================================
--- trunk/geany-plugins/codenav/src/codenavigation.c 2011-10-08 10:50:27 UTC (rev 2249)
+++ trunk/geany-plugins/codenav/src/codenavigation.c 2011-10-08 11:25:55 UTC (rev 2250)
@@ -25,6 +25,11 @@
* 2009 Lionel Fuentes.
*/
+#ifdef HAVE_CONFIG_H
+ #include "config.h"
+#endif
+#include <geanyplugin.h>
+
#include "codenavigation.h"
#include "switch_head_impl.h"
#include "goto_file.h"
@@ -41,7 +46,10 @@
PLUGIN_VERSION_CHECK(112)
/* All plugins must set name, description, version and author. */
-PLUGIN_SET_INFO(_("Code navigation"),
+PLUGIN_SET_TRANSLATABLE_INFO(
+ LOCALEDIR,
+ GETTEXT_PACKAGE,
+ _("Code navigation"),
_( "This plugin adds features to facilitate navigation between source files.\n"
"As for the moment, it implements :\n"
"- switching between a .cpp file and the corresponding .h file\n"
Modified: trunk/geany-plugins/codenav/src/codenavigation.h
===================================================================
--- trunk/geany-plugins/codenav/src/codenavigation.h 2011-10-08 10:50:27 UTC (rev 2249)
+++ trunk/geany-plugins/codenav/src/codenavigation.h 2011-10-08 11:25:55 UTC (rev 2250)
@@ -27,7 +27,6 @@
#include "geany.h" /* for the GeanyApp data type */
/* Other includes */
-#include "support.h" /* for the _() translation macro (see also po/POTFILES.in) */
#include "editor.h" /* for the declaration of the GeanyEditor struct, not strictly necessary
as it will be also included by plugindata.h */
#include "document.h" /* for the declaration of the GeanyDocument struct */
Modified: trunk/geany-plugins/codenav/src/goto_file.c
===================================================================
--- trunk/geany-plugins/codenav/src/goto_file.c 2011-10-08 10:50:27 UTC (rev 2249)
+++ trunk/geany-plugins/codenav/src/goto_file.c 2011-10-08 11:25:55 UTC (rev 2250)
@@ -20,6 +20,11 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+ #include "config.h"
+#endif
+#include <geanyplugin.h>
+
#include "goto_file.h"
/******************* Global variables for the feature *****************/
Modified: trunk/geany-plugins/codenav/src/switch_head_impl.c
===================================================================
--- trunk/geany-plugins/codenav/src/switch_head_impl.c 2011-10-08 10:50:27 UTC (rev 2249)
+++ trunk/geany-plugins/codenav/src/switch_head_impl.c 2011-10-08 11:25:55 UTC (rev 2250)
@@ -20,6 +20,11 @@
* MA 02110-1301, USA.
*/
+#ifdef HAVE_CONFIG_H
+ #include "config.h"
+#endif
+#include <geanyplugin.h>
+
#include "switch_head_impl.h"
#include "utils.h"
Modified: trunk/geany-plugins/po/ru.po
===================================================================
--- trunk/geany-plugins/po/ru.po 2011-10-08 10:50:27 UTC (rev 2249)
+++ trunk/geany-plugins/po/ru.po 2011-10-08 11:25:55 UTC (rev 2250)
@@ -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 14:47+0300\n"
+"PO-Revision-Date: 2011-10-08 15:06+0300\n"
"Last-Translator: Alexander Petukhov <devel at apetukhov.ru>\n"
"Language-Team: Russian <geany-i18n at uvena.de>\n"
"Language: ru\n"
@@ -241,9 +241,8 @@
#. Add the menu item, sensitive only when a document is opened
#: ../codenav/src/goto_file.c:50
#: ../codenav/src/goto_file.c:64
-#, fuzzy
msgid "Goto file"
-msgstr "Выбрать шрифт"
+msgstr "Перейти к файлу"
#: ../codenav/src/goto_file.c:101
#, c-format
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Plugins-Commits
mailing list