Re: ltsp 5.1: Please update the PO translation for the package ltsp
Vagrant Cascadian <[email protected]>
| Newsgroups | gmane.linux.terminal-server.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Mar 26, 2009 at 06:17:59PM +0100, Jordà Polo wrote:
> Hi Vagrant,
greetings!
> There is a mistake in the I18N of some of the strings. In
> server/configs/ALTLinux/ltsp-login.sh, there are a number of "User $USER
> already logged in!" strings, and there is a problem in the way those
> strings are gettextized:
>
> $(eval_gettext "User") \"${USER}\" $(eval_gettext "already logged in"\!)
>
> This will generate 2 translatable strings which may be ambiguous in some
> languages. For instance, in Catalan you would translate the whole string
> as "L'usuari $USER ja ha iniciat la sessió!", but some unaware
> translator may translate the strings as "Usuari" (instead of "L'usuari")
> and "ja heu iniciat la sessió" (instead of "ja ha iniciat la sessió").
>
> So, in order to fix this issue, the strings should be converted to
> something like:
>
> $(printf "`eval_gettext 'User %s already logged in'`\n" "${USER}")
thanks for the pointer, i will look into this.
that particular string comes from the code used in the distro ALTLinux, and i
haven't heard much from them lately. i suspect there are probably other places
where we should use printf for similar reasons, though.
thanks for all your past and future work!
live well,
vagrant
------------------------------------------------------------------------------
_____________________________________________________________________
Ltsp-developer mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help, try #ltsp channel on irc.freenode.net