r15943 by craig - #9495: Remove no longer needed language length restriction

scribus-commit scribus-commit at lists.scribus.net
Mon Nov 22 00:26:57 CET 2010


Author: craig
Date: Sun Nov 21 23:26:57 2010
New Revision: 15943

URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15943
Log:
#9495: Remove no longer needed language length restriction

Modified:
    branches/Version135/Scribus/scribus/langmgr.cpp
    branches/Version135/Scribus/scribus/scribusapp.cpp

Modified: branches/Version135/Scribus/scribus/langmgr.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15943&path=/branches/Version135/Scribus/scribus/langmgr.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/langmgr.cpp (original)
+++ branches/Version135/Scribus/scribus/langmgr.cpp Sun Nov 21 23:26:57 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("gl",       langPair("Galician",            QObject::tr( "Galician" )) );

Modified: branches/Version135/Scribus/scribus/scribusapp.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15943&path=/branches/Version135/Scribus/scribus/scribusapp.cpp
==============================================================================
--- branches/Version135/Scribus/scribus/scribusapp.cpp (original)
+++ branches/Version135/Scribus/scribus/scribusapp.cpp Sun Nov 21 23:26:57 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