r15775 by jghali - #9463: Croatian hyphenation doesn't work
scribus-commit
scribus-commit at lists.scribus.net
Fri Nov 5 21:24:10 CET 2010
Author: jghali
Date: Fri Nov 5 20:24:10 2010
New Revision: 15775
URL: http://scribus.info/websvn/listing.php?repname=Scribus&sc=1&rev=15775
Log:
#9463: Croatian hyphenation doesn't work
When looking for hyphenation filenames, language manager was looking only in the installed language list (determined by installed qm files). Croatian has no corresponding qm file and hence no hyphenation filename was returned. Fix the issue by looking in the whole language list.
Modified:
trunk/Scribus/scribus/langmgr.cpp
Modified: trunk/Scribus/scribus/langmgr.cpp
URL: http://scribus.info/websvn/diff.php?repname=Scribus&rev=15775&path=/trunk/Scribus/scribus/langmgr.cpp
==============================================================================
--- trunk/Scribus/scribus/langmgr.cpp (original)
+++ trunk/Scribus/scribus/langmgr.cpp Fri Nov 5 20:24:10 2010
@@ -314,7 +314,7 @@
{
if(langIsAbbreviated)
return hyphLangList.value(lang);
- return hyphLangList.value(getAbbrevFromLang(lang, false));
+ return hyphLangList.value(getAbbrevFromLang(lang, false, false));
}
const QStringList LanguageManager::hyphLangs()
More information about the scribus-commit
mailing list