Public bug reported:

Binary package hint: ubuntuone-client

While translating ubuntuone-client for Mavercik, I found a strange
string:

Published at

Looking at the code, looks like that string is constructed appending
different strings together. This is the part of the code:

question = g_string_append (question, "\t- ");
question = g_string_append (question, key);
question = g_string_append (question, _(" (Published at "));
question = g_string_append (question, value);
question = g_string_append (question, ")\n");

I'm not a Glib expert, but isn't it possible to use
g_string_append_printf() or g_string_append_vprintf() to construct at
least the "Published at" part? There could be languages that need to
change the position of "value" to render the string in their own
language.

Also, if possible, I would rather remove "padding" white spaces from a
translatable string: by mistake somebody could take them out from the
translation.

Thanks.

** Affects: ubuntu-translations
     Importance: Undecided
         Status: New

** Affects: ubuntuone-client (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: ubuntu-translations
   Importance: Undecided
       Status: New

-- 
Bad string concatenation for l10n
https://bugs.launchpad.net/bugs/633503
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to