More issues with source text

Ambrose Li ambrose.li at gmail.com
Wed Jul 29 23:52:58 EDT 2009


2009/7/28 Mark Doliner <mark at kingant.net>:
> A URL follows each of these strings.  The source code looks like this:
> _("Received unexpected response from " URL_START_OSCAR_SESSION)

Hmm. I know it is too late now, but does this even work? Won't the
compiler join these two together before passing the resulting string
constant to _? Whatever we translate (the first half of the string
constant being passed) will never be seen by the _ macro.

> I guess that causes problems when translating :-/  It's also probably
> not very user friendly for us to show the URL in most of these
> strings.  I guess we'll change this to one of the following:
> _("Received unexpected response from %s"), URL_START_OSCAR_SESSION
> or
> _("Received unexpected response from server")


-- 
cheers,
-ambrose


More information about the Translators mailing list