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
devs/yoz/bryce
Marcel Hollerbach 7 years ago
parent ad3d0bd8c5
commit f0ef2198c5
  1. 1
      po/POTFILES.in
  2. 25
      src/modules/wizard/page_065.c

@ -283,6 +283,7 @@ src/modules/wizard/page_030.c
src/modules/wizard/page_040.c
src/modules/wizard/page_050.c
src/modules/wizard/page_060.c
src/modules/wizard/page_065.c
src/modules/wizard/page_070.c
src/modules/wizard/page_080.c
src/modules/wizard/page_090.c

@ -107,14 +107,23 @@ wizard_page_show(E_Wizard_Page *pg EINA_UNUSED)
ob = elm_label_add(o);
elm_object_style_set(ob, "default/left");
snprintf(buf, sizeof(buf), _("Enlightenment sets default mouse bindings for objects.<br>"
"These bindings provide three operations on click:<br>"
"* <b>Move</b> (left button)<br>"
"* <b>Resize</b> (middle/wheel button)<br>"
"* <b>Open Menu</b> (right button)<br>"
"The default key%s which must be held to activate these bindings<br>"
"is '%s'. Configure the modifiers for this binding below."),
num > 1 ? "s" : "", eina_strbuf_string_get(sbuf));
snprintf(buf, sizeof(buf), P_("Enlightenment sets default mouse bindings for objects.<br>"
"These bindings provide three operations on click:<br>"
"* <b>Move</b> (left button)<br>"
"* <b>Resize</b> (middle/wheel button)<br>"
"* <b>Open Menu</b> (right button)<br>"
"The default key which must be held to activate these bindings<br>"
"is '%s'. Configure the modifiers for this binding below.",
"Enlightenment sets default mouse bindings for objects.<br>"
"These bindings provide three operations on click:<br>"
"* <b>Move</b> (left button)<br>"
"* <b>Resize</b> (middle/wheel button)<br>"
"* <b>Open Menu</b> (right button)<br>"
"The default keys which must be held to activate these bindings<br>"
"is '%s'. Configure the modifiers for this binding below.",
num)
, eina_strbuf_string_get(sbuf));
elm_object_text_set(ob, buf);
evas_object_show(ob);
E_ALIGN(ob, 0, 0.5);

Loading…
Cancel
Save