SF.net SVN: geany-plugins:[287] trunk/geanyvc/geanyvc.c

eht16 at users.sourceforge.net eht16 at xxxxx
Fri Nov 7 19:56:09 UTC 2008


Revision: 287
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=287&view=rev
Author:   eht16
Date:     2008-11-07 19:56:08 +0000 (Fri, 07 Nov 2008)

Log Message:
-----------
Mark plugin keybindings as translatable.

Modified Paths:
--------------
    trunk/geanyvc/geanyvc.c

Modified: trunk/geanyvc/geanyvc.c
===================================================================
--- trunk/geanyvc/geanyvc.c	2008-11-07 19:25:31 UTC (rev 286)
+++ trunk/geanyvc/geanyvc.c	2008-11-07 19:56:08 UTC (rev 287)
@@ -2046,19 +2046,19 @@
 
 	/* init keybindins */
 	p_keybindings->set_item(plugin_key_group, VC_DIFF_FILE, kbdiff_file,
-	0, 0, "vc_show_diff_of_file", "Show diff of file", menu_vc_diff_file);
+	0, 0, "vc_show_diff_of_file", _("Show diff of file"), menu_vc_diff_file);
 	p_keybindings->set_item(plugin_key_group, VC_DIFF_DIR, kbdiff_dir,
-	0, 0, "vc_show_diff_of_dir", "Show diff of diretory", menu_vc_diff_dir);
+	0, 0, "vc_show_diff_of_dir", _("Show diff of diretory"), menu_vc_diff_dir);
 	p_keybindings->set_item(plugin_key_group, VC_DIFF_BASEDIR, kbdiff_basedir,
-	0, 0, "vc_show_diff_of_basedir", "Show diff of basedir", menu_vc_diff_basedir);
+	0, 0, "vc_show_diff_of_basedir", _("Show diff of basedir"), menu_vc_diff_basedir);
 	p_keybindings->set_item(plugin_key_group, VC_COMMIT, kbcommit,
-	0, 0, "vc_commit", "Commit changes", menu_vc_commit);
+	0, 0, "vc_commit", _("Commit changes"), menu_vc_commit);
 	p_keybindings->set_item(plugin_key_group, VC_STATUS, kbstatus,
-	0, 0, "vc_status", "Show status" , menu_vc_status);
+	0, 0, "vc_status", _("Show status") , menu_vc_status);
 	p_keybindings->set_item(plugin_key_group, VC_REVERT, kbrevert,
-	0, 0, "vc_revert", "Revert changes", menu_vc_revert_file);
+	0, 0, "vc_revert", _("Revert changes"), menu_vc_revert_file);
 	p_keybindings->set_item(plugin_key_group, VC_UPDATE, kbupdate,
-	0, 0, "vc_update", "Update file", menu_vc_update);
+	0, 0, "vc_update", _("Update file"), menu_vc_update);
 
 	plugin_fields->menu_item = menu_vc;
 	plugin_fields->flags = PLUGIN_IS_DOCUMENT_SENSITIVE;


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