r21258 by jghali -

scribus-commit scribus-commit at lists.scribus.net
Sat Apr 30 00:41:20 UTC 2016


Author: jghali
Date: Sat Apr 30 00:41:20 2016
New Revision: 21258

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=21258
Log:
#13831: Fix Console "please add the untranslated title" messages + other issues preventing correct formatting of translation file in About box

Modified:
    trunk/Scribus/TRANSLATION
    trunk/Scribus/scribus/langmgr.cpp
    trunk/Scribus/scribus/ui/about.cpp

Modified: trunk/Scribus/TRANSLATION
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21258&path=/trunk/Scribus/TRANSLATION
==============================================================================
--- trunk/Scribus/TRANSLATION	(original)
+++ trunk/Scribus/TRANSLATION	Sat Apr 30 00:41:20 2016
@@ -1,5 +1,4 @@
-Official Translations and Translators: (alphebatized by locale shortcode)
-#########################################################################
+Official Translations and Translators (alphebatized by locale shortcode):
 
 Afrikaans (af)
 
@@ -133,9 +132,8 @@
 Welsh (cy)
 Kevin Donnelly (kevin at dotmon.com)
 
-##########################################################################
+
 Previous Translation Contributors:
-##########################################################################
 
 Afrikaans (af)
 Kobus Wolvaardt (kobuswolf at diewereld.co.za)

Modified: trunk/Scribus/scribus/langmgr.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21258&path=/trunk/Scribus/scribus/langmgr.cpp
==============================================================================
--- trunk/Scribus/scribus/langmgr.cpp	(original)
+++ trunk/Scribus/scribus/langmgr.cpp	Sat Apr 30 00:41:20 2016
@@ -139,7 +139,7 @@
 	m_langTable.append(LangDef("kab",    "",      "Kabyle",                 QObject::tr( "Kabyle" )) );
 	m_langTable.append(LangDef("km",     "",      "Khmer",                  QObject::tr( "Khmer" )) );
 	m_langTable.append(LangDef("ko",     "",      "Korean",                 QObject::tr( "Korean" )) );
-	m_langTable.append(LangDef("kn_IN",  "",      "Kannada",                QObject::tr( "Kannada" )) );
+	m_langTable.append(LangDef("kn_IN",  "kn",    "Kannada",                QObject::tr( "Kannada" )) );
 	m_langTable.append(LangDef("ku",     "",      "Kurdish",                QObject::tr( "Kurdish" )) );
 	m_langTable.append(LangDef("la",     "",      "Latin",                  QObject::tr( "Latin" )) );
 	m_langTable.append(LangDef("lb",     "",      "Luxembourgish",          QObject::tr( "Luxembourgish" )) );

Modified: trunk/Scribus/scribus/ui/about.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=21258&path=/trunk/Scribus/scribus/ui/about.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/about.cpp	(original)
+++ trunk/Scribus/scribus/ui/about.cpp	Sat Apr 30 00:41:20 2016
@@ -315,8 +315,8 @@
 QString About::trTranslationTitle(QString title)
 {
 	QString result;
-	if ( title == "Official Translations and Translators:" )
-		result = tr("Official Translations and Translators:");
+	if ( title == "Official Translations and Translators (alphebatized by locale shortcode):" )
+		result = tr("Official Translations and Translators (alphebatized by locale shortcode):");
 	else if ( title == "Previous Translation Contributors:" )
 		result = tr("Previous Translation Contributors:");
 	else
@@ -557,6 +557,7 @@
 		{
 			s.next();
 			result += s.value();
+			result += "<tr><td></td><td></td></tr>";
 			QMapIterator<QString, QString> l(languages);
 			while (l.hasNext())
 			{




More information about the scribus-commit mailing list