Re: Issue with a dynacally defined string



Hi Ewgeny,

On Thu, Jul 4, 2013 at 5:52 PM, Ewgeny B <evgen ibqn gmail com> wrote:
...and I forgot to mention that this both string come localized from another
library.

would it be the correct solution?

_name = _("%1$s, %2$s").printf (city_name, nation_name);


You should report this as a bug.
https://bugzilla.gnome.org/enter_bug.cgi?product=gnome-clocks

I'd say you don't need to insert "N$" into the source code.
All you need to do is just wrap it with the getext function, _().
The order of conversion specifiers should be specified in each po.


--
Jiro Matsuzawa
E-mail:
 jmatsuzawa gnome org
 matsuzawa jr gmail com
GPG Key ID: 0xECC442E9
GPG Key Fingerprint: E086 C14A 869F BB0E 3541 19EB E370 B08B ECC4 42E9


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]