Mark some strings for translation. (patch from Igor Murzov)
authorMassimo Maiurana <maiurana@gmail.com>
Sun, 9 Dec 2012 14:39:30 +0000 (14:39 +0000)
committerMassimo Maiurana <maiurana@gmail.com>
Sun, 9 Dec 2012 14:39:30 +0000 (14:39 +0000)
SVN revision: 80551

po/POTFILES.in
src/bin/e_shelf.c
src/modules/mixer/e_mod_main.c

index 20ba67e..5ec3234 100644 (file)
@@ -130,6 +130,7 @@ src/bin/e_win.c
 src/bin/e_xinerama.c
 src/bin/e_xkb.c
 src/bin/e_zone.c
+src/modules/backlight/e_mod_main.c
 src/modules/battery/e_mod_config.c
 src/modules/battery/e_mod_main.c
 src/modules/clock/e_mod_config.c
index 5b22fa5..fb71a53 100644 (file)
@@ -64,21 +64,21 @@ static int orientations[] =
 
 static const char *orient_names[] =
 {
-   [E_GADCON_ORIENT_FLOAT] = "Float",
-   [E_GADCON_ORIENT_HORIZ] = "Horizontal",
-   [E_GADCON_ORIENT_VERT] = "Vertical",
-   [E_GADCON_ORIENT_LEFT] = "Left",
-   [E_GADCON_ORIENT_RIGHT] = "Right",
-   [E_GADCON_ORIENT_TOP] = "Top",
-   [E_GADCON_ORIENT_BOTTOM] = "Bottom",
-   [E_GADCON_ORIENT_CORNER_TL] = "Top-left Corner",
-   [E_GADCON_ORIENT_CORNER_TR] = "Top-right Corner",
-   [E_GADCON_ORIENT_CORNER_BL] = "Bottom-left Corner",
-   [E_GADCON_ORIENT_CORNER_BR] = "Bottom-right Corner",
-   [E_GADCON_ORIENT_CORNER_LT] = "Left-top Corner",
-   [E_GADCON_ORIENT_CORNER_RT] = "Right-top Corner",
-   [E_GADCON_ORIENT_CORNER_LB] = "Left-bottom Corner",
-   [E_GADCON_ORIENT_CORNER_RB] = "Right-bottom Corner"
+   [E_GADCON_ORIENT_FLOAT] = N_("Float"),
+   [E_GADCON_ORIENT_HORIZ] = N_("Horizontal"),
+   [E_GADCON_ORIENT_VERT] = N_("Vertical"),
+   [E_GADCON_ORIENT_LEFT] = N_("Left"),
+   [E_GADCON_ORIENT_RIGHT] = N_("Right"),
+   [E_GADCON_ORIENT_TOP] = N_("Top"),
+   [E_GADCON_ORIENT_BOTTOM] = N_("Bottom"),
+   [E_GADCON_ORIENT_CORNER_TL] = N_("Top-left Corner"),
+   [E_GADCON_ORIENT_CORNER_TR] = N_("Top-right Corner"),
+   [E_GADCON_ORIENT_CORNER_BL] = N_("Bottom-left Corner"),
+   [E_GADCON_ORIENT_CORNER_BR] = N_("Bottom-right Corner"),
+   [E_GADCON_ORIENT_CORNER_LT] = N_("Left-top Corner"),
+   [E_GADCON_ORIENT_CORNER_RT] = N_("Right-top Corner"),
+   [E_GADCON_ORIENT_CORNER_LB] = N_("Left-bottom Corner"),
+   [E_GADCON_ORIENT_CORNER_RB] = N_("Right-bottom Corner")
 };
 
 EAPI int E_EVENT_SHELF_RENAME = -1;
index 7a9a406..de4ff3e 100644 (file)
@@ -1381,9 +1381,9 @@ _mixer_module_configuration_setup(E_Mixer_Module_Context *ctxt)
 static const char _act_increase[] = "volume_increase";
 static const char _act_decrease[] = "volume_decrease";
 static const char _act_mute[] = "volume_mute";
-static const char _lbl_increase[] = "Increase Volume";
-static const char _lbl_decrease[] = "Decrease Volume";
-static const char _lbl_mute[] = "Mute Volume";
+static const char _lbl_increase[] = N_("Increase Volume");
+static const char _lbl_decrease[] = N_("Decrease Volume");
+static const char _lbl_mute[] = N_("Mute Volume");
 
 static void
 _mixer_actions_register(E_Mixer_Module_Context *ctxt)