Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Frank Lanitz frank@frank.uvena.de Date: Mon, 29 Jun 2015 13:12:15 UTC Commit: ef0f914db13132393d5647ae4064ba986b211943 https://github.com/geany/geany-plugins/commit/ef0f914db13132393d5647ae4064ba...
Log Message: ----------- multiterm: Setup internationalization
Modified Paths: -------------- multiterm/src/plugin.vala
Modified: multiterm/src/plugin.vala 4 lines changed, 4 insertions(+), 0 deletions(-) =================================================================== @@ -27,6 +27,9 @@ public Plugin geany_plugin; public Data geany_data; public Functions geany_functions;
+extern const string LOCALEDIR; +extern const string GETTEXT_PACKAGE; + /* Widgets to clean up when the plugin is unloaded */ private List<Widget> toplevel_widgets = null;
@@ -39,6 +42,7 @@ public int plugin_version_check(int abi_version) /* Geany calls this to get some info about the plugin */ public void plugin_set_info(Plugin.Info info) { + Main.locale_init (LOCALEDIR, GETTEXT_PACKAGE); info.set(_("MultiTerm"), _("Multi-tabbed virtual terminal emulator."), "0.1", "Matthew Brush matt@geany.org");
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org