projects
/
psensor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
de427b5
)
fixed i18n support of indicator menu
author
Jean-Philippe Orsini
<jeanfi@gmail.com>
Sat, 28 Apr 2012 01:08:37 +0000
(
01:08
+0000)
committer
Jean-Philippe Orsini
<jeanfi@gmail.com>
Sat, 28 Apr 2012 01:08:37 +0000
(
01:08
+0000)
src/ui_appindicator.c
patch
|
blob
|
history
diff --git
a/src/ui_appindicator.c
b/src/ui_appindicator.c
index
24781f2
..
7961100
100644
(file)
--- a/
src/ui_appindicator.c
+++ b/
src/ui_appindicator.c
@@
-103,25
+103,25
@@
static GtkActionEntry entries[] = {
{ "PsensorMenuAction", NULL, "_Psensor" },
{ "ShowAction", NULL,
{ "PsensorMenuAction", NULL, "_Psensor" },
{ "ShowAction", NULL,
-
"_Show"
, NULL,
-
"Show"
,
+
N_("_Show")
, NULL,
+
N_("Show")
,
G_CALLBACK(cb_menu_show) },
{ "PreferencesAction", GTK_STOCK_PREFERENCES,
G_CALLBACK(cb_menu_show) },
{ "PreferencesAction", GTK_STOCK_PREFERENCES,
-
"_Preferences"
, NULL,
-
"Preferences"
,
+
N_("_Preferences")
, NULL,
+
N_("Preferences")
,
G_CALLBACK(cb_menu_preferences) },
{ "SensorPreferencesAction", GTK_STOCK_PREFERENCES,
G_CALLBACK(cb_menu_preferences) },
{ "SensorPreferencesAction", GTK_STOCK_PREFERENCES,
-
"S_ensor Preferences"
,
+
N_("S_ensor Preferences")
,
NULL,
NULL,
-
"SensorPreferences"
,
+
N_("SensorPreferences")
,
G_CALLBACK(cb_sensor_preferences) },
{ "AboutAction", NULL,
G_CALLBACK(cb_sensor_preferences) },
{ "AboutAction", NULL,
-
"_About"
,
+
N_("_About")
,
NULL,
NULL,
-
"About"
,
+
N_("About")
,
G_CALLBACK(cb_about) },
{ "QuitAction",
G_CALLBACK(cb_about) },
{ "QuitAction",