bu5hm4n pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=f0ef2198c5ab37ef58b5eb4991b59273c00a9a3d
commit f0ef2198c5ab37ef58b5eb4991b59273c00a9a3d Author: Marcel Hollerbach <[email protected]> Date: Tue Oct 11 10:55:37 2016 +0200 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 --- po/POTFILES.in | 1 + src/modules/wizard/page_065.c | 25 +++++++++++++++++-------- 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 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 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) 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); --
