[Goodies-commits] r7284 - in xfce4-clipman-plugin/trunk: . panel-plugin
Mike Massonnet
mmassonnet at xfce.org
Sat Apr 25 17:35:02 CEST 2009
Author: mmassonnet
Date: 2009-04-25 15:35:02 +0000 (Sat, 25 Apr 2009)
New Revision: 7284
Modified:
xfce4-clipman-plugin/trunk/ChangeLog
xfce4-clipman-plugin/trunk/panel-plugin/main.c
Log:
Make strings in authors about dialog translatable
Modified: xfce4-clipman-plugin/trunk/ChangeLog
===================================================================
--- xfce4-clipman-plugin/trunk/ChangeLog 2009-04-24 08:48:34 UTC (rev 7283)
+++ xfce4-clipman-plugin/trunk/ChangeLog 2009-04-25 15:35:02 UTC (rev 7284)
@@ -1,3 +1,10 @@
+2009-04-25 Mike Massonnet
+Make strings in authors about dialog translatable
+
+ - panel-plugin/main.c(plugin_about):
+ Don't declare static strings cause gettext isn't usable this
+ way.
+
2009-04-24 Mike Massonnet
Proper block/unblock menu functions and fix locale bug
Modified: xfce4-clipman-plugin/trunk/panel-plugin/main.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/main.c 2009-04-24 08:48:34 UTC (rev 7283)
+++ xfce4-clipman-plugin/trunk/panel-plugin/main.c 2009-04-25 15:35:02 UTC (rev 7284)
@@ -642,14 +642,14 @@
static void
plugin_about (MyPlugin *plugin)
{
- static const gchar *artists[] = { "Mike Massonnet", NULL, };
- static const gchar *authors[] = { "Mike Massonnet",
- "", "Authors of previous versions:",
+ const gchar *artists[] = { "Mike Massonnet", NULL, };
+ const gchar *authors[] = { "Mike Massonnet",
+ "", _("Authors of previous versions:"),
"Eduard Roccatello",
"Nick Schermer",
NULL, };
- static const gchar *documenters[] = { "Mike Massonnet", NULL, };
- static const gchar *license =
+ const gchar *documenters[] = { "Mike Massonnet", NULL, };
+ const gchar *license =
"This program is free software; you can redistribute it and/or modify\n"
"it under the terms of the GNU General Public License as published by\n"
"the Free Software Foundation; either version 2 of the License, or\n"
More information about the Goodies-commits
mailing list