[Adium-devl] Watching a first time Adium user for 5 minutes
Colin Barrett
timber at lava.net
Sun Jan 28 05:38:24 UTC 2007
Only 25 hours after the fact:
On Jan 26, 2007, at 8:00 PM, Evan Schoenberg wrote:
> On Jan 26, 2007, at 8:28 PM, Colin Barrett wrote:
>
> 2) We could theoretically leverage gettext two ways.
> (a) Automatically, as Gaim itself does. However, then we can do no
> string comparisons to find out what we're told, so until there's
> never any reason for Adium to know what libgaim is telling it in
> terms of text (and there are a ton of reasons at present), that's
> not an option.
> (b) Manually, once we receive text, we can feed it through
> gettext. The problem with (b) is that it fails miserably for nearly
> all strings... because all substitutions (%i, %s, etc.) have already
> been made, and of course the translation is supposed to occur before
> that.
Why not include an "x-adium" translation, which contains hard strings
like "AUTH_REQUEST: %s %s %s" ? That's what I was originally
suggesting when I mentioned gettext -- then we don't have to do string
comparisons, just maintain a localization.
Just sayin'.
-Colin
More information about the devel
mailing list