Thanks for your help, many regions need both language and country code to identify the correct locale, due to the 50KB attachment limitation, i have repacked this patch to zip archive file as attached file.
regards. Arlo
2011/12/31 Moritz Strübe <Moritz.Struebe@informatik.uni-erlangen.de>
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
X2go-Dev mailing list X2go-Dev@lists.berlios.de https://lists.berlios.de/mailman/listinfo/x2go-dev
-- Arlo Liu Atrust Computer Corp. http://www.atrustcorp.com Tel: +886-3-3288837 ext.71 Fax: +886-3-3288973 3F., No.361, Fusing 1st Rd., Gueishan Township, Taoyuan County 333, Taiwan