summaryrefslogtreecommitdiffabout
path: root/korganizer
authorzautrix <zautrix>2004-10-08 15:50:30 (UTC)
committer zautrix <zautrix>2004-10-08 15:50:30 (UTC)
commit13bd085e06b76228321f5a004759fcdf19cca711 (patch) (side-by-side diff)
tree66edb5db035dc88a13ff1ec9b840c549a7e81104 /korganizer
parentd46e6bd77c336ce98bafe884a3f7ee5b0d884f1f (diff)
downloadkdepimpi-13bd085e06b76228321f5a004759fcdf19cca711.zip
kdepimpi-13bd085e06b76228321f5a004759fcdf19cca711.tar.gz
kdepimpi-13bd085e06b76228321f5a004759fcdf19cca711.tar.bz2
fix loading translation
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koprefs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp
index 2cfb382..651442b 100644
--- a/korganizer/koprefs.cpp
+++ b/korganizer/koprefs.cpp
@@ -386,25 +386,25 @@ QStringList KOPrefs::getDefaultList()
<< i18n("Speach") << i18n("Special Occasion") << i18n("Sports") << i18n("Talk") << i18n("Travel") << i18n("TV")<< i18n("University")
<< i18n("Vacation") << i18n("VIP") << i18n("SyncEvent") ;
retval.sort();
return retval;
}
void KOPrefs::usrReadConfig()
{
mPreferredLanguage = KPimGlobalPrefs::instance()->mPreferredLanguage;
mLocaleDict = 0;
// pending LR fix translation
// qDebug("KOPrefs::usrReadConfig() fix translation ");
- if ( mPreferredLanguage > 0 && mPreferredLanguage < 4 ) {
+ if ( mPreferredLanguage > 0 && mPreferredLanguage < 5 ) {
if ( mPreferredLanguage == 1 ) {
mLocaleDict = new QDict<QString>;
int i = 0;
QString fw ( germanwords[i] [0]);
while ( !fw.isEmpty() ) {
mLocaleDict->insert( fw, new QString (germanwords[i] [1] ));
++i;
fw = germanwords[i] [0];
}
setLocaleDict( mLocaleDict );
} else {