2012/5/16 Matthias Clasen <[email protected]>: > On Tue, May 15, 2012 at 2:07 PM, Piotr Drąg <[email protected]> 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/ _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
