r20037 by craig - #13038: Fix short words not working for the case where language is taken from the dialog

scribus-commit scribus-commit at lists.scribus.net
Wed Apr 29 20:49:08 UTC 2015


Author: craig
Date: Wed Apr 29 20:49:08 2015
New Revision: 20037

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=20037
Log:
#13038: Fix short words not working for the case where language is taken from the dialog

Modified:
    trunk/Scribus/scribus/plugins/short-words/swdialog.cpp

Modified: trunk/Scribus/scribus/plugins/short-words/swdialog.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=20037&path=/trunk/Scribus/scribus/plugins/short-words/swdialog.cpp
==============================================================================
--- trunk/Scribus/scribus/plugins/short-words/swdialog.cpp (original)
+++ trunk/Scribus/scribus/plugins/short-words/swdialog.cpp Wed Apr 29 20:49:08 2015
@@ -85,7 +85,7 @@
 
 QString SWDialog::lang()
 {
-	return LanguageManager::instance()->getLangFromTransLang(languageComboBox->currentText());
+	return LanguageManager::instance()->getAbbrevFromLang(languageComboBox->currentText(), true);
 }
 
 void SWDialog::savePrefs()




More information about the scribus-commit mailing list