summaryrefslogtreecommitdiffabout
path: root/korganizer
Side-by-side diff
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/koprefs.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp
index 13035e0..2cfb382 100644
--- a/korganizer/koprefs.cpp
+++ b/korganizer/koprefs.cpp
@@ -409,10 +409,12 @@ void KOPrefs::usrReadConfig()
setLocaleDict( mLocaleDict );
} else {
QString fileName ;
- if ( mPreferredLanguage == 3 )
+ if ( mPreferredLanguage == 4 )
fileName = MainWindow::resourcePath()+"usertranslation.txt";
else if ( mPreferredLanguage == 2 )
- fileName = MainWindow::resourcePath()+"frenchtranslation.txt";
+ fileName = MainWindow::resourcePath()+"frenchtranslation.txt";
+ else if ( mPreferredLanguage == 3 )
+ fileName = MainWindow::resourcePath()+"italiantranslation.txt";
QFile file( fileName );
if (file.open( IO_ReadOnly ) ) {
QTextStream ts( &file );