[X2go-Dev] [PATCH] Traditional Chinese(zh_TW) translation for x2goclient
Arlo Liu
arlo.liu at atrustcorp.com
Sat Dec 31 05:34:08 CET 2011
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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20111231/ff3bd478/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-zh_tw-translation.zip
Type: application/zip
Size: 15225 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20111231/ff3bd478/attachment.zip>
More information about the x2go-dev
mailing list