[X2go-Dev] [PATCH] Traditional Chinese(zh_TW) translation for x2goclient

Moritz Strübe Moritz.Struebe at informatik.uni-erlangen.de
Fri Dec 30 21:49:46 CET 2011


Am 30.12.2011 21:21, Reinhard Tartler schrieb:
>      QString filename=QString ( ":/x2goclient_%1" ).arg (
>                           QLocale::system().name() );
> -    filename=filename.toLower();
> +    //filename=filename.toLower();
>      if ( !x2goclientTranslator->load ( filename ) )

I think we're safe to use the patch:

"Returns the language and country of this locale as a string of the form
"language_country", where language is a lowercase, two-letter ISO 639
language code, and country is an uppercase, two- or three-letter ISO
3166 country code."
http://developer.qt.nokia.com/doc/qt-4.8/qlocale.html#name


Cheers
Morty



More information about the x2go-dev mailing list