[geany/geany-plugins] ef0f91: multiterm: Setup internationalization

Colomban Wendling git-noreply at xxxxx
Sun Oct 25 11:08:38 UTC 2015

Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Frank Lanitz <frank at frank.uvena.de>
Date:        Mon, 29 Jun 2015 13:12:15 UTC
Commit:      ef0f914db13132393d5647ae4064ba986b211943

Log Message:
multiterm: Setup internationalization

Modified Paths:

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);
 			 _("Multi-tabbed virtual terminal emulator."),
 			 "0.1", "Matthew Brush <matt at geany.org>");

This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).

More information about the Plugins-Commits mailing list