summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-10-11 10:55:37 +0200
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2016-10-11 14:16:52 +0200
commitf0ef2198c5ab37ef58b5eb4991b59273c00a9a3d (patch)
tree642537a222f6d3fbbffa2e9dd11a65382adc6c2b
parentad3d0bd8c54336bda05f214b1e741e49d770cae4 (diff)
wizard: make page 065 translatable
we should use here the translation for plural or singular, everything else makes it hard to translate This commit also adds the file to POTFILES so it gets recognized by the pot file
-rw-r--r--po/POTFILES.in1
-rw-r--r--src/modules/wizard/page_065.c25
2 files changed, 18 insertions, 8 deletions
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 890250e..d21ce42 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -283,6 +283,7 @@ src/modules/wizard/page_030.c
283src/modules/wizard/page_040.c 283src/modules/wizard/page_040.c
284src/modules/wizard/page_050.c 284src/modules/wizard/page_050.c
285src/modules/wizard/page_060.c 285src/modules/wizard/page_060.c
286src/modules/wizard/page_065.c
286src/modules/wizard/page_070.c 287src/modules/wizard/page_070.c
287src/modules/wizard/page_080.c 288src/modules/wizard/page_080.c
288src/modules/wizard/page_090.c 289src/modules/wizard/page_090.c
diff --git a/src/modules/wizard/page_065.c b/src/modules/wizard/page_065.c
index c279a3c..f6dc475 100644
--- a/src/modules/wizard/page_065.c
+++ b/src/modules/wizard/page_065.c
@@ -107,14 +107,23 @@ wizard_page_show(E_Wizard_Page *pg EINA_UNUSED)
107 107
108 ob = elm_label_add(o); 108 ob = elm_label_add(o);
109 elm_object_style_set(ob, "default/left"); 109 elm_object_style_set(ob, "default/left");
110 snprintf(buf, sizeof(buf), _("Enlightenment sets default mouse bindings for objects.<br>" 110 snprintf(buf, sizeof(buf), P_("Enlightenment sets default mouse bindings for objects.<br>"
111 "These bindings provide three operations on click:<br>" 111 "These bindings provide three operations on click:<br>"
112 "* <b>Move</b> (left button)<br>" 112 "* <b>Move</b> (left button)<br>"
113 "* <b>Resize</b> (middle/wheel button)<br>" 113 "* <b>Resize</b> (middle/wheel button)<br>"
114 "* <b>Open Menu</b> (right button)<br>" 114 "* <b>Open Menu</b> (right button)<br>"
115 "The default key%s which must be held to activate these bindings<br>" 115 "The default key which must be held to activate these bindings<br>"
116 "is '%s'. Configure the modifiers for this binding below."), 116 "is '%s'. Configure the modifiers for this binding below.",
117 num > 1 ? "s" : "", eina_strbuf_string_get(sbuf)); 117
118 "Enlightenment sets default mouse bindings for objects.<br>"
119 "These bindings provide three operations on click:<br>"
120 "* <b>Move</b> (left button)<br>"
121 "* <b>Resize</b> (middle/wheel button)<br>"
122 "* <b>Open Menu</b> (right button)<br>"
123 "The default keys which must be held to activate these bindings<br>"
124 "is '%s'. Configure the modifiers for this binding below.",
125 num)
126 , eina_strbuf_string_get(sbuf));
118 elm_object_text_set(ob, buf); 127 elm_object_text_set(ob, buf);
119 evas_object_show(ob); 128 evas_object_show(ob);
120 E_ALIGN(ob, 0, 0.5); 129 E_ALIGN(ob, 0, 0.5);