2012/5/16 Matthias Clasen <matthias.cla...@gmail.com>: > On Tue, May 15, 2012 at 2:07 PM, Piotr Drąg <piotrd...@gmail.com> wrote: >> What about strings with embedded markup, like this one: "Unfortunately >> GNOME 3 failed to start properly and started in the <i>fallback >> mode</i>"? Are they also supposed to be changed in some way? > > These cases are tricky. > Sometimes you can eliminate the markup by doing something like > > s = g_strdup_printf ("<i>%s</i>", _("fallback mode")); > /* Translators, %s stands for 'fallback mode' here */ > msg = g_strdup_printf _("Unfortunately GNOME 3 failed to start > properly and started in the %s"), s); > > But this is considerably more clumsy than the embedded markup version, > and you may well introduce memory leaks and new 'split string' > translation issues this way. > > Use your judgement.
Splitting strings is much worse than having markup, so I think we should leave those strings as they are. -- Piotr Drąg http://raven.fedorapeople.org/ _______________________________________________ gnome-i18n mailing list gnome-i18n@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-i18n