Re: Issue with a dynacally defined string



...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);


On Thu, Jul 4, 2013 at 10:39 AM, Ewgeny B <evgen ibqn gmail com> wrote:
Hello,

 There is a string in gnome-clocks, which is build of a city name and a country name in vala:

_name = "%s, %s".printf (city_name, nation_name);

The city_name and nation_name are both already localized.
The issue is that in RTL languages the order of city name and country name appearance should change as well. What is the correct way to solve this?

Best regards, Evgeny



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