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
This commit is contained in:
Marcel Hollerbach 2016-10-11 10:55:37 +02:00
parent ad3d0bd8c5
commit f0ef2198c5
2 changed files with 18 additions and 8 deletions

View File

@ -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

View File

@ -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>"
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%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));
"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);