r15944 by craig - #9495: Remove no longer needed language length restriction
scribus-commit
scribus-commit at lists.scribus.net
Mon Nov 22 00:27:10 CET 2010
Author: craig
Date: Sun Nov 21 23:27:10 2010
New Revision: 15944
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15944
Log:
#9495: Remove no longer needed language length restriction
Modified:
trunk/Scribus/scribus/langmgr.cpp
trunk/Scribus/scribus/scribusapp.cpp
Modified: trunk/Scribus/scribus/langmgr.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15944&path=/trunk/Scribus/scribus/langmgr.cpp
==============================================================================
--- trunk/Scribus/scribus/langmgr.cpp (original)
+++ trunk/Scribus/scribus/langmgr.cpp Sun Nov 21 23:27:10 2010
@@ -80,7 +80,7 @@
langList.insert("et", langPair("Estonian", QObject::tr( "Estonian" )) );
langList.insert("de", langPair("German", QObject::tr( "German" )) );
langList.insert("de_CH", langPair("German (Swiss)", QObject::tr( "German (Swiss)" )) );
- langList.insert("de_1901", langPair("German (Trad.)", QObject::tr( "German (Trad.)" )) );
+ langList.insert("de_1901", langPair("German (Trad.)", QObject::tr( "German (Trad.)" )) );
langList.insert("fi", langPair("Finnish", QObject::tr( "Finnish" )) );
langList.insert("fr", langPair("French", QObject::tr( "French" )) );
langList.insert("fr_FR", langPair("French", QObject::tr( "French" )) );
Modified: trunk/Scribus/scribus/scribusapp.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15944&path=/trunk/Scribus/scribus/scribusapp.cpp
==============================================================================
--- trunk/Scribus/scribus/scribusapp.cpp (original)
+++ trunk/Scribus/scribus/scribusapp.cpp Sun Nov 21 23:27:10 2010
@@ -339,7 +339,7 @@
QString lang;
for (QStringList::const_iterator it = langs.constBegin(); it != langs.constEnd() && !loaded; ++it)
{
- lang=(*it).left(5);
+ lang=(*it);
if (lang == "en")
{
GUILang=lang;
More information about the scribus-commit
mailing list