commit e64262dfeee35ab8409abaf0c073483ea7816cd8 Author: Tomás Touceda chiiph@torproject.org Date: Sun May 13 19:20:00 2012 -0300
Enable Burmese, Croatian, Basque and Serbian translations --- src/vidalia/LanguageSupport.cpp | 6 ++++-- src/vidalia/i18n/CMakeLists.txt | 16 ++++++++++++---- src/vidalia/i18n/vidalia_i18n.qrc | 8 ++++++++ 3 files changed, 24 insertions(+), 6 deletions(-)
diff --git a/src/vidalia/LanguageSupport.cpp b/src/vidalia/LanguageSupport.cpp index 3fafd6b..64cb9c7 100644 --- a/src/vidalia/LanguageSupport.cpp +++ b/src/vidalia/LanguageSupport.cpp @@ -32,7 +32,7 @@ LanguageSupport::languages() languages.insert("bg", QString::fromUtf8("\320\221\321\212\320\273\320\263\320" "\260\321\200\321\201\320\272\320\270")); - // languages.insert("my", "Burmese"); + languages.insert("my", "Burmese"); languages.insert("cs", QString::fromUtf8("\304\215e\305\241tina")); languages.insert("ca", @@ -43,6 +43,7 @@ LanguageSupport::languages() QString::fromUtf8("espa\303\261ol")); languages.insert("el", QString::fromUtf8("\316\225\316\273\316\273\316\267\316\275\316\271\316\272\316\254")); + languages.insert("eu", "Basque"); // languages.insert("eo", "Esperanto"); languages.insert("fa", QString::fromUtf8("\331\201\330\247\330\261\330\263\333\214")); @@ -52,6 +53,7 @@ LanguageSupport::languages() languages.insert("he", QString::fromUtf8("\327\242\327\221\327\250\327\231\327\252")); languages.insert("hu", "magyar nyelv"); + languages.insert("hr_HR", "Croatian"); languages.insert("it", "Italiano"); languages.insert("id", "Indonesian"); // languages.insert("ja", @@ -73,7 +75,7 @@ LanguageSupport::languages() // languages.insert("sq", "Shqip"); languages.insert("sv", "svenska"); // languages.insert("sk", "Slovak"); - // languages.insert("sr", "Servian"); + languages.insert("sr", "Serbian"); // languages.insert("th", "Thai"); languages.insert("tr", QString::fromUtf8("T\303\274rk\303\247e")); // languages.insert("vi", diff --git a/src/vidalia/i18n/CMakeLists.txt b/src/vidalia/i18n/CMakeLists.txt index a4d1738..dcbaeb9 100644 --- a/src/vidalia/i18n/CMakeLists.txt +++ b/src/vidalia/i18n/CMakeLists.txt @@ -1,12 +1,12 @@ ## ## $Id$ -## +## ## This file is part of Vidalia, and is subject to the license terms in the -## LICENSE file, found in the top level directory of this distribution. If +## LICENSE file, found in the top level directory of this distribution. If ## you did not receive the LICENSE file with this file, you may obtain it ## from the Vidalia source package distributed by the Vidalia Project at -## http://www.torproject.org/projects/vidalia.html. No part of Vidalia, -## including this file, may be copied, modified, propagated, or distributed +## http://www.torproject.org/projects/vidalia.html. No part of Vidalia, +## including this file, may be copied, modified, propagated, or distributed ## except according to the terms described in the LICENSE file. ##
@@ -39,6 +39,10 @@ set(vidalia_PO po/nb/vidalia_nb.po po/pl/vidalia_pl.po po/ca/vidalia_ca.po + po/my/vidalia_my.po + po/eu/vidalia_eu.po + po/hr_HR/vidalia_hr_HR.po + po/sr/vidalia_sr.po ) vidalia_add_po(vidalia_QMS ${vidalia_PO})
@@ -70,6 +74,10 @@ set(qt_PO po/nb/qt_nb.po po/pl/qt_pl.po po/ca/qt_ca.po + po/my/qt_my.po + po/eu/qt_eu.po + po/hr_HR/qt_hr_HR.po + po/sr/qt_sr.po ) vidalia_add_po(qt_QMS ${qt_PO})
diff --git a/src/vidalia/i18n/vidalia_i18n.qrc b/src/vidalia/i18n/vidalia_i18n.qrc index 80aab11..95e3101 100644 --- a/src/vidalia/i18n/vidalia_i18n.qrc +++ b/src/vidalia/i18n/vidalia_i18n.qrc @@ -26,6 +26,10 @@ <file>vidalia_nb.qm</file> <file>vidalia_pl.qm</file> <file>vidalia_ca.qm</file> + <file>vidalia_my.qm</file> + <file>vidalia_eu.qm</file> + <file>vidalia_hr_HR.qm</file> + <file>vidalia_sr.qm</file> </qresource> <qresource prefix="/lang"> <file>qt_ar.qm</file> @@ -54,6 +58,10 @@ <file>qt_nb.qm</file> <file>qt_pl.qm</file> <file>qt_ca.qm</file> + <file>qt_my.qm</file> + <file>qt_eu.qm</file> + <file>qt_hr_HR.qm</file> + <file>qt_sr.qm</file> </qresource> </RCC>
tor-commits@lists.torproject.org