-rw-r--r-- | korganizer/koprefs.cpp | 17 | ||||
-rw-r--r-- | korganizer/koprefsdialog.cpp | 4 | ||||
-rw-r--r-- | korganizer/wordsgerman.h | 4 |
3 files changed, 15 insertions, 10 deletions
diff --git a/korganizer/koprefs.cpp b/korganizer/koprefs.cpp index f3231ff..042046e 100644 --- a/korganizer/koprefs.cpp +++ b/korganizer/koprefs.cpp | |||
@@ -374,106 +374,111 @@ void KOPrefs::setCategoryDefaults() | |||
374 | 374 | ||
375 | QStringList KOPrefs::getDefaultList() | 375 | QStringList KOPrefs::getDefaultList() |
376 | { | 376 | { |
377 | QStringList retval ; | 377 | QStringList retval ; |
378 | retval << i18n("Anniversary") << i18n("Appointment") << i18n("Birthday") << i18n("Business") << i18n("Business Travel") << i18n("Cinema") << i18n("Customer") | 378 | retval << i18n("Anniversary") << i18n("Appointment") << i18n("Birthday") << i18n("Business") << i18n("Business Travel") << i18n("Cinema") << i18n("Customer") |
379 | << i18n("Break")<< i18n("Breakfast")<< i18n("Competition")<< i18n("Dinner") | 379 | << i18n("Break")<< i18n("Breakfast")<< i18n("Competition")<< i18n("Dinner") |
380 | << i18n("Education")<< i18n("Family") << i18n("Favorites") << i18n("Festival")<< i18n("Fishing")<< i18n("Flight") << i18n("Gifts") | 380 | << i18n("Education")<< i18n("Family") << i18n("Favorites") << i18n("Festival")<< i18n("Fishing")<< i18n("Flight") << i18n("Gifts") |
381 | << i18n("Holiday") << i18n("Holiday Cards")<< i18n("Hot Contacts") << i18n("Hiking") << i18n("Hunting") << i18n("Key Customer") << i18n("Kids") | 381 | << i18n("Holiday") << i18n("Holiday Cards")<< i18n("Hot Contacts") << i18n("Hiking") << i18n("Hunting") << i18n("Key Customer") << i18n("Kids") |
382 | << i18n("Lunch") << i18n("Meeting") << i18n("Miscellaneous") << i18n("Partner")<< i18n("Party") << i18n("Personal") << i18n("Personal Travel") | 382 | << i18n("Lunch") << i18n("Meeting") << i18n("Miscellaneous") << i18n("Partner")<< i18n("Party") << i18n("Personal") << i18n("Personal Travel") |
383 | << i18n("PHB") << i18n("Phone Calls") << i18n("Projects") << i18n("Recurring") << i18n("School") << i18n("Shopping") | 383 | << i18n("PHB") << i18n("Phone Calls") << i18n("Projects") << i18n("Recurring") << i18n("School") << i18n("Shopping") |
384 | << i18n("Speach") << i18n("Special Occasion") << i18n("Sports") << i18n("Talk") << i18n("Travel") << i18n("TV")<< i18n("University") | 384 | << i18n("Speach") << i18n("Special Occasion") << i18n("Sports") << i18n("Talk") << i18n("Travel") << i18n("TV")<< i18n("University") |
385 | << i18n("Vacation") << i18n("VIP") << i18n("SyncEvent") ; | 385 | << i18n("Vacation") << i18n("VIP") << i18n("SyncEvent") ; |
386 | retval.sort(); | 386 | retval.sort(); |
387 | return retval; | 387 | return retval; |
388 | } | 388 | } |
389 | 389 | ||
390 | void KOPrefs::usrReadConfig() | 390 | void KOPrefs::usrReadConfig() |
391 | { | 391 | { |
392 | mLocaleDict = 0; | 392 | mLocaleDict = 0; |
393 | // pending LR fix translation | 393 | // pending LR fix translation |
394 | // qDebug("KOPrefs::usrReadConfig() fix translation "); | 394 | // qDebug("KOPrefs::usrReadConfig() fix translation "); |
395 | if ( mPreferredLanguage == 1 ) { | 395 | if ( mPreferredLanguage == 1 ) { |
396 | mLocaleDict = new QDict<QString>; | 396 | mLocaleDict = new QDict<QString>; |
397 | int i = 0; | 397 | int i = 0; |
398 | QString fw ( germanwords[i] [0]); | 398 | QString fw ( germanwords[i] [0]); |
399 | while ( !fw.isEmpty() ) { | 399 | while ( !fw.isEmpty() ) { |
400 | mLocaleDict->insert( fw, new QString (germanwords[i] [1] )); | 400 | mLocaleDict->insert( fw, new QString (germanwords[i] [1] )); |
401 | ++i; | 401 | ++i; |
402 | fw = germanwords[i] [0]; | 402 | fw = germanwords[i] [0]; |
403 | } | 403 | } |
404 | 404 | ||
405 | setLocaleDict( mLocaleDict ); | 405 | setLocaleDict( mLocaleDict ); |
406 | } | 406 | } else { |
407 | if ( mPreferredLanguage == 3 ) { | 407 | QString fileName ; |
408 | QString fileName = MainWindow::resourcePath()+"usertranslation.txt"; | 408 | if ( mPreferredLanguage == 3 ) |
409 | fileName = MainWindow::resourcePath()+"usertranslation.txt"; | ||
410 | else if ( mPreferredLanguage == 2 ) | ||
411 | fileName = MainWindow::resourcePath()+"frenchtranslation.txt"; | ||
412 | else return; | ||
409 | QFile file( fileName ); | 413 | QFile file( fileName ); |
410 | if (file.open( IO_ReadOnly ) ) { | 414 | if (file.open( IO_ReadOnly ) ) { |
411 | QTextStream ts( &file ); | 415 | QTextStream ts( &file ); |
412 | ts.setCodec( QTextCodec::codecForLocale() ); | 416 | ts.setCodec( QTextCodec::codecForLocale() ); |
413 | QString text = ts.read(); | 417 | QString text = ts.read(); |
414 | file.close(); | 418 | file.close(); |
415 | 419 | text.replace( QRegExp("\\\\n"), "\n" ); | |
416 | QString line; | 420 | QString line; |
417 | QString we; | 421 | QString we; |
418 | QString wt; | 422 | QString wt; |
419 | int br = 0; | 423 | int br = 0; |
420 | int nbr; | 424 | int nbr; |
421 | nbr = text.find ( "},", br ); | 425 | nbr = text.find ( "},", br ); |
422 | line = text.mid( br, nbr - br ); | 426 | line = text.mid( br, nbr - br ); |
423 | br = nbr+1; | 427 | br = nbr+1; |
424 | int se, ee, st, et; | 428 | int se, ee, st, et; |
425 | mLocaleDict = new QDict<QString>; | 429 | mLocaleDict = new QDict<QString>; |
426 | QString end = "{ \"\",\"\" }"; | 430 | QString end = "{ \"\",\"\" }"; |
427 | while ( (line != end) && (br > 1) ) { | 431 | while ( (line != end) && (br > 1) ) { |
428 | //qDebug("%d *%s* ", br, line.latin1()); | 432 | //qDebug("%d *%s* ", br, line.latin1()); |
429 | se = line.find("\"")+1; | 433 | se = line.find("\"")+1; |
430 | et = line.findRev("\"",-1); | 434 | et = line.findRev("\"",-1); |
431 | ee = line.find("\",\""); | 435 | ee = line.find("\",\""); |
432 | st = ee+3; | 436 | st = ee+3; |
433 | we = line.mid( se, ee-se ); | 437 | we = line.mid( se, ee-se ); |
434 | wt = line.mid( st, et-st ); | 438 | wt = line.mid( st, et-st ); |
435 | //qDebug("*%s* *%s* ", we.latin1(), wt.latin1()); | 439 | //qDebug("*%s* *%s* ", we.latin1(), wt.latin1()); |
436 | mLocaleDict->insert( we, new QString (wt) ); | 440 | mLocaleDict->insert( we, new QString (wt) ); |
437 | nbr = text.find ( "}", br ); | 441 | nbr = text.find ( "}", br ); |
438 | line = text.mid( br, nbr - br ); | 442 | line = text.mid( br, nbr - br ); |
439 | br = nbr+1; | 443 | br = nbr+1; |
440 | } | 444 | } |
441 | //qDebug("end *%s* ", end.latin1()); | 445 | //qDebug("end *%s* ", end.latin1()); |
442 | 446 | ||
443 | setLocaleDict( mLocaleDict ); | 447 | setLocaleDict( mLocaleDict ); |
444 | } else { | 448 | } else { |
445 | qDebug("KO: Cannot find translation file usertranslation.txt"); | 449 | qDebug("KO: Cannot find translation file %s",fileName.latin1() ); |
446 | } | 450 | } |
447 | } | 451 | |
452 | } | ||
448 | config()->setGroup("General"); | 453 | config()->setGroup("General"); |
449 | 454 | ||
450 | mCustomCategories = config()->readListEntry("Custom Categories"); | 455 | mCustomCategories = config()->readListEntry("Custom Categories"); |
451 | if ( KOPrefs::instance()->mLanguageChanged ) { | 456 | if ( KOPrefs::instance()->mLanguageChanged ) { |
452 | mLocationDefaults.clear(); | 457 | mLocationDefaults.clear(); |
453 | mEventSummaryUser.clear(); | 458 | mEventSummaryUser.clear(); |
454 | mTodoSummaryUser.clear(); | 459 | mTodoSummaryUser.clear(); |
455 | } | 460 | } |
456 | if (mLocationDefaults.isEmpty()) { | 461 | if (mLocationDefaults.isEmpty()) { |
457 | mLocationDefaults << i18n("Home") << i18n("Office") << i18n("Libary") << i18n("School") << i18n("Doctor") << i18n("Beach") | 462 | mLocationDefaults << i18n("Home") << i18n("Office") << i18n("Libary") << i18n("School") << i18n("Doctor") << i18n("Beach") |
458 | << i18n("University") << i18n("Restaurant") << i18n("Bar") << i18n("Conference room") << i18n("Cinema") << i18n("Lake") << i18n("Kindergarden") | 463 | << i18n("University") << i18n("Restaurant") << i18n("Bar") << i18n("Conference room") << i18n("Cinema") << i18n("Lake") << i18n("Kindergarden") |
459 | << i18n("Germany") << i18n("Sweden") << i18n("Forest") << i18n("Desert") << i18n("Kitchen") ; | 464 | << i18n("Germany") << i18n("Sweden") << i18n("Forest") << i18n("Desert") << i18n("Kitchen") ; |
460 | // << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") | 465 | // << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") << i18n("") |
461 | mLocationDefaults.sort(); | 466 | mLocationDefaults.sort(); |
462 | } | 467 | } |
463 | 468 | ||
464 | if (mEventSummaryUser.isEmpty()) { | 469 | if (mEventSummaryUser.isEmpty()) { |
465 | mEventSummaryUser = getDefaultList() ; | 470 | mEventSummaryUser = getDefaultList() ; |
466 | } | 471 | } |
467 | if (mTodoSummaryUser.isEmpty()) { | 472 | if (mTodoSummaryUser.isEmpty()) { |
468 | mTodoSummaryUser = getDefaultList() ; | 473 | mTodoSummaryUser = getDefaultList() ; |
469 | } | 474 | } |
470 | 475 | ||
471 | if (mCustomCategories.isEmpty()) setCategoryDefaults(); | 476 | if (mCustomCategories.isEmpty()) setCategoryDefaults(); |
472 | 477 | ||
473 | config()->setGroup("Personal Settings"); | 478 | config()->setGroup("Personal Settings"); |
474 | mName = config()->readEntry("user_name",""); | 479 | mName = config()->readEntry("user_name",""); |
475 | mEmail = config()->readEntry("user_email",""); | 480 | mEmail = config()->readEntry("user_email",""); |
476 | fillMailDefaults(); | 481 | fillMailDefaults(); |
477 | 482 | ||
478 | config()->setGroup("Category Colors"); | 483 | config()->setGroup("Category Colors"); |
479 | QStringList::Iterator it; | 484 | QStringList::Iterator it; |
diff --git a/korganizer/koprefsdialog.cpp b/korganizer/koprefsdialog.cpp index da6644f..5ba4817 100644 --- a/korganizer/koprefsdialog.cpp +++ b/korganizer/koprefsdialog.cpp | |||
@@ -134,65 +134,65 @@ QFrame *topFrame = addPage(i18n("Date Format"),0,0); | |||
134 | lab = new QLabel(mUserDateFormatLong, i18n("User long date:"), topFrame); | 134 | lab = new QLabel(mUserDateFormatLong, i18n("User long date:"), topFrame); |
135 | topLayout->addWidget(lab ,iii,0); | 135 | topLayout->addWidget(lab ,iii,0); |
136 | topLayout->addWidget(mUserDateFormatLong,iii,1); | 136 | topLayout->addWidget(mUserDateFormatLong,iii,1); |
137 | ++iii; | 137 | ++iii; |
138 | mUserDateFormatShort = new QLineEdit(topFrame); | 138 | mUserDateFormatShort = new QLineEdit(topFrame); |
139 | lab = new QLabel(mUserDateFormatShort, i18n("User short date:"), topFrame); | 139 | lab = new QLabel(mUserDateFormatShort, i18n("User short date:"), topFrame); |
140 | topLayout->addWidget(lab ,iii,0); | 140 | topLayout->addWidget(lab ,iii,0); |
141 | topLayout->addWidget(mUserDateFormatShort,iii,1); | 141 | topLayout->addWidget(mUserDateFormatShort,iii,1); |
142 | ++iii; | 142 | ++iii; |
143 | lab = new QLabel( i18n("Monday 19 April 2004: %A %d %B %Y"), topFrame); | 143 | lab = new QLabel( i18n("Monday 19 April 2004: %A %d %B %Y"), topFrame); |
144 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); | 144 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); |
145 | ++iii; | 145 | ++iii; |
146 | lab = new QLabel( i18n("Mon 19.04.04: %a %d.%m.%y"), topFrame); | 146 | lab = new QLabel( i18n("Mon 19.04.04: %a %d.%m.%y"), topFrame); |
147 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); | 147 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); |
148 | ++iii; | 148 | ++iii; |
149 | lab = new QLabel( i18n("Mon, 19.Apr.04: %a, %d.%b.%y"), topFrame); | 149 | lab = new QLabel( i18n("Mon, 19.Apr.04: %a, %d.%b.%y"), topFrame); |
150 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); | 150 | topLayout->addMultiCellWidget(lab ,iii,iii,0,1); |
151 | ++iii; | 151 | ++iii; |
152 | 152 | ||
153 | } | 153 | } |
154 | 154 | ||
155 | void KOPrefsDialog::setupLocaleTab() | 155 | void KOPrefsDialog::setupLocaleTab() |
156 | { | 156 | { |
157 | QFrame *topFrame = addPage(i18n("Locale"),0,0); | 157 | QFrame *topFrame = addPage(i18n("Locale"),0,0); |
158 | QGridLayout *topLayout = new QGridLayout(topFrame,4,2); | 158 | QGridLayout *topLayout = new QGridLayout(topFrame,4,2); |
159 | topLayout->setSpacing(spacingHint()); | 159 | topLayout->setSpacing(spacingHint()); |
160 | topLayout->setMargin(marginHint()); | 160 | topLayout->setMargin(marginHint()); |
161 | int iii = 0; | 161 | int iii = 0; |
162 | KPrefsWidRadios *syncPrefsGroup = | 162 | KPrefsWidRadios *syncPrefsGroup = |
163 | addWidRadios(i18n("Language:(needs restart)"),&(KOPrefs::instance()->mPreferredLanguage),topFrame); | 163 | addWidRadios(i18n("Language:(needs restart)"),&(KOPrefs::instance()->mPreferredLanguage),topFrame); |
164 | syncPrefsGroup->addRadio(i18n("English")); | 164 | syncPrefsGroup->addRadio(i18n("English")); |
165 | syncPrefsGroup->addRadio(i18n("German")); | 165 | syncPrefsGroup->addRadio(i18n("German")); |
166 | syncPrefsGroup->addRadio(i18n("French(nyi)")); | 166 | syncPrefsGroup->addRadio(i18n("French")); |
167 | syncPrefsGroup->addRadio(i18n("User defined (usertranslation.txt)")); | 167 | syncPrefsGroup->addRadio(i18n("User defined (usertranslation.txt)")); |
168 | if ( QApplication::desktop()->width() < 300 ) | 168 | if ( QApplication::desktop()->width() < 300 ) |
169 | ;// syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical); | 169 | ;// syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical); |
170 | topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); | 170 | topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); |
171 | ++iii; | 171 | ++iii; |
172 | 172 | ||
173 | syncPrefsGroup = | 173 | syncPrefsGroup = |
174 | addWidRadios(i18n("Time Format(nr):"),&(KOPrefs::instance()->mPreferredTime),topFrame); | 174 | addWidRadios(i18n("Time Format(nr):"),&(KOPrefs::instance()->mPreferredTime),topFrame); |
175 | if ( QApplication::desktop()->width() > 300 ) | 175 | if ( QApplication::desktop()->width() > 300 ) |
176 | syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical); | 176 | syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical); |
177 | syncPrefsGroup->addRadio(i18n("24:00")); | 177 | syncPrefsGroup->addRadio(i18n("24:00")); |
178 | syncPrefsGroup->addRadio(i18n("12:00am")); | 178 | syncPrefsGroup->addRadio(i18n("12:00am")); |
179 | syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical); | 179 | syncPrefsGroup->groupBox()-> setOrientation (Qt::Vertical); |
180 | topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); | 180 | topLayout->addMultiCellWidget( syncPrefsGroup->groupBox(),iii,iii,0,1); |
181 | ++iii; | 181 | ++iii; |
182 | KPrefsWidBool *sb; | 182 | KPrefsWidBool *sb; |
183 | if ( QApplication::desktop()->width() < 300 ) { | 183 | if ( QApplication::desktop()->width() < 300 ) { |
184 | sb = | 184 | sb = |
185 | addWidBool(i18n("Week starts on Sunday"), | 185 | addWidBool(i18n("Week starts on Sunday"), |
186 | &(KOPrefs::instance()->mWeekStartsOnSunday),topFrame); | 186 | &(KOPrefs::instance()->mWeekStartsOnSunday),topFrame); |
187 | topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); | 187 | topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); |
188 | ++iii; | 188 | ++iii; |
189 | sb = | 189 | sb = |
190 | addWidBool(i18n("Use short date in (WN/E) view"), | 190 | addWidBool(i18n("Use short date in (WN/E) view"), |
191 | &(KOPrefs::instance()->mShortDateInViewer),topFrame); | 191 | &(KOPrefs::instance()->mShortDateInViewer),topFrame); |
192 | topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); | 192 | topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); |
193 | } | 193 | } |
194 | else { | 194 | else { |
195 | QWidget * hb = new QWidget( topFrame ); | 195 | QWidget * hb = new QWidget( topFrame ); |
196 | QHBoxLayout *hbLayout = new QHBoxLayout(hb); | 196 | QHBoxLayout *hbLayout = new QHBoxLayout(hb); |
197 | sb = | 197 | sb = |
198 | addWidBool(i18n("Week starts on Sunday"), | 198 | addWidBool(i18n("Week starts on Sunday"), |
@@ -1554,56 +1554,56 @@ void KOPrefsDialog::setupTimeZoneTab() | |||
1554 | 1554 | ||
1555 | QHBox *timeZoneBox = new QHBox( topFrame ); | 1555 | QHBox *timeZoneBox = new QHBox( topFrame ); |
1556 | topLayout->addMultiCellWidget( timeZoneBox, 0, 0, 0, 1 ); | 1556 | topLayout->addMultiCellWidget( timeZoneBox, 0, 0, 0, 1 ); |
1557 | 1557 | ||
1558 | new QLabel( i18n("Timezone:"), timeZoneBox ); | 1558 | new QLabel( i18n("Timezone:"), timeZoneBox ); |
1559 | mTimeZoneCombo = new QComboBox( timeZoneBox ); | 1559 | mTimeZoneCombo = new QComboBox( timeZoneBox ); |
1560 | if ( QApplication::desktop()->width() < 300 ) { | 1560 | if ( QApplication::desktop()->width() < 300 ) { |
1561 | mTimeZoneCombo->setMaximumWidth(150); | 1561 | mTimeZoneCombo->setMaximumWidth(150); |
1562 | } | 1562 | } |
1563 | 1563 | ||
1564 | QStringList list; | 1564 | QStringList list; |
1565 | list = KGlobal::locale()->timeZoneList(); | 1565 | list = KGlobal::locale()->timeZoneList(); |
1566 | mTimeZoneCombo->insertStringList(list); | 1566 | mTimeZoneCombo->insertStringList(list); |
1567 | 1567 | ||
1568 | // find the currently set time zone and select it | 1568 | // find the currently set time zone and select it |
1569 | QString sCurrentlySet = KOPrefs::instance()->mTimeZoneId; | 1569 | QString sCurrentlySet = KOPrefs::instance()->mTimeZoneId; |
1570 | int nCurrentlySet = 11; | 1570 | int nCurrentlySet = 11; |
1571 | for (int i = 0; i < mTimeZoneCombo->count(); i++) | 1571 | for (int i = 0; i < mTimeZoneCombo->count(); i++) |
1572 | { | 1572 | { |
1573 | if (mTimeZoneCombo->text(i) == sCurrentlySet) | 1573 | if (mTimeZoneCombo->text(i) == sCurrentlySet) |
1574 | { | 1574 | { |
1575 | nCurrentlySet = i; | 1575 | nCurrentlySet = i; |
1576 | break; | 1576 | break; |
1577 | } | 1577 | } |
1578 | } | 1578 | } |
1579 | mTimeZoneCombo->setCurrentItem(nCurrentlySet); | 1579 | mTimeZoneCombo->setCurrentItem(nCurrentlySet); |
1580 | int iii = 1; | 1580 | int iii = 1; |
1581 | KPrefsWidBool *sb = | 1581 | KPrefsWidBool *sb = |
1582 | addWidBool(i18n("Timezone has daylight saving"), | 1582 | addWidBool(i18n("Timezone has daylight saving"), |
1583 | &(KOPrefs::instance()->mUseDaylightsaving),topFrame); | 1583 | &(KOPrefs::instance()->mUseDaylightsaving),topFrame); |
1584 | topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); | 1584 | topLayout->addMultiCellWidget(sb->checkBox(), iii,iii,0,1); |
1585 | ++iii; | 1585 | ++iii; |
1586 | QLabel* lab = new QLabel( i18n("Actual start/end is the\nsunday before this date."), topFrame ); | 1586 | QLabel* lab = new QLabel( i18n("Actual start and end is the\nsunday before this date."), topFrame ); |
1587 | topLayout->addMultiCellWidget(lab, iii,iii,0,1); | 1587 | topLayout->addMultiCellWidget(lab, iii,iii,0,1); |
1588 | ++iii; | 1588 | ++iii; |
1589 | lab = new QLabel( i18n("The year in the date is ignored."), topFrame ); | 1589 | lab = new QLabel( i18n("The year in the date is ignored."), topFrame ); |
1590 | topLayout->addMultiCellWidget(lab, iii,iii,0,1); | 1590 | topLayout->addMultiCellWidget(lab, iii,iii,0,1); |
1591 | ++iii; | 1591 | ++iii; |
1592 | lab = new QLabel( i18n("Daylight start:"), topFrame ); | 1592 | lab = new QLabel( i18n("Daylight start:"), topFrame ); |
1593 | topLayout->addWidget(lab, iii,0); | 1593 | topLayout->addWidget(lab, iii,0); |
1594 | mStartDateSavingEdit = new KDateEdit(topFrame); | 1594 | mStartDateSavingEdit = new KDateEdit(topFrame); |
1595 | topLayout->addWidget(mStartDateSavingEdit, iii,1); | 1595 | topLayout->addWidget(mStartDateSavingEdit, iii,1); |
1596 | ++iii; | 1596 | ++iii; |
1597 | 1597 | ||
1598 | lab = new QLabel( i18n("Daylight end:"), topFrame ); | 1598 | lab = new QLabel( i18n("Daylight end:"), topFrame ); |
1599 | topLayout->addWidget(lab, iii,0); | 1599 | topLayout->addWidget(lab, iii,0); |
1600 | mEndDateSavingEdit = new KDateEdit(topFrame); | 1600 | mEndDateSavingEdit = new KDateEdit(topFrame); |
1601 | topLayout->addWidget(mEndDateSavingEdit, iii,1); | 1601 | topLayout->addWidget(mEndDateSavingEdit, iii,1); |
1602 | ++iii; | 1602 | ++iii; |
1603 | QDate current ( 2001, 1,1); | 1603 | QDate current ( 2001, 1,1); |
1604 | mStartDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingStart-1)); | 1604 | mStartDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingStart-1)); |
1605 | mEndDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingEnd-1)); | 1605 | mEndDateSavingEdit->setDate(current.addDays(KOPrefs::instance()->mDaylightsavingEnd-1)); |
1606 | 1606 | ||
1607 | 1607 | ||
1608 | } | 1608 | } |
1609 | 1609 | ||
diff --git a/korganizer/wordsgerman.h b/korganizer/wordsgerman.h index 8310f2f..6fd347c 100644 --- a/korganizer/wordsgerman.h +++ b/korganizer/wordsgerman.h | |||
@@ -423,65 +423,65 @@ | |||
423 | { "Tue","Di" }, | 423 | { "Tue","Di" }, |
424 | { "Tuesday","Dienstag" }, | 424 | { "Tuesday","Dienstag" }, |
425 | { "Two entries are in conflict, if: ","Zwei Einträge haben einen Konflikt, wenn:" }, | 425 | { "Two entries are in conflict, if: ","Zwei Einträge haben einen Konflikt, wenn:" }, |
426 | { "Unable to find template '%1'.","Kann Vorlage '%1' nicht finden." }, | 426 | { "Unable to find template '%1'.","Kann Vorlage '%1' nicht finden." }, |
427 | { "Unknown","Unbekannt" }, | 427 | { "Unknown","Unbekannt" }, |
428 | { "Up","Hinauf" }, | 428 | { "Up","Hinauf" }, |
429 | { "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" }, | 429 | { "Use password (if not, ask when syncing)","Passwort: (sonst jedesmal anfragen)" }, |
430 | { "User defined","Benutzerdefiniert" }, | 430 | { "User defined","Benutzerdefiniert" }, |
431 | { "User long date:","Format langes Datum:" }, | 431 | { "User long date:","Format langes Datum:" }, |
432 | { "User short date:","Forma kurzes Datum:" }, | 432 | { "User short date:","Forma kurzes Datum:" }, |
433 | { "View","Ansicht" }, | 433 | { "View","Ansicht" }, |
434 | { "View Fonts","Schriftarten Ansichten" }, | 434 | { "View Fonts","Schriftarten Ansichten" }, |
435 | { "Views","Ansichten" }, | 435 | { "Views","Ansichten" }, |
436 | { "Wed","Mi" }, | 436 | { "Wed","Mi" }, |
437 | { "Wednesday","Mittwoch" }, | 437 | { "Wednesday","Mittwoch" }, |
438 | { "Week %1","Woche %1" }, | 438 | { "Week %1","Woche %1" }, |
439 | { "Weekly","Wöchentlich" }, | 439 | { "Weekly","Wöchentlich" }, |
440 | { "Week starts on Sunday","Woche beginnt Sonntags" }, | 440 | { "Week starts on Sunday","Woche beginnt Sonntags" }, |
441 | { "What's Next View:","What's Next Anz." }, | 441 | { "What's Next View:","What's Next Anz." }, |
442 | { "What's next ?","Was kommt als nächstes?(What's Next)" }, | 442 | { "What's next ?","Was kommt als nächstes?(What's Next)" }, |
443 | { "Working Hours","Tägliche Arbeitszeit" }, | 443 | { "Working Hours","Tägliche Arbeitszeit" }, |
444 | { "Working hours color:","Arbeitszeit in der Agenda Ansicht:" }, | 444 | { "Working hours color:","Arbeitszeit in der Agenda Ansicht:" }, |
445 | { "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" }, | 445 | { "Write back existing entries only","Nur exisitierende Einträge zurückschreiben" }, |
446 | { "Write back synced file","Syncronisierte Datei zurückschreiben" }, | 446 | { "Write back synced file","Syncronisierte Datei zurückschreiben" }, |
447 | { "Yearly","Jährlich" }, | 447 | { "Yearly","Jährlich" }, |
448 | { "year(s)","Jahr(e)" }, | 448 | { "year(s)","Jahr(e)" }, |
449 | { "Yes","Ja" }, | 449 | { "Yes","Ja" }, |
450 | { "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" }, | 450 | { "You have %d item(s) selected.\n","Sie haben %d Einträge ausgewählt.\n" }, |
451 | { "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." }, | 451 | { "You have to restart KOrganizer for this setting to take effect.","Sie müssem Korganizer neu starten, damit diese Einstellung aktiviert wird." }, |
452 | { "week(s) on:","Woche(n) am: " }, | 452 | { "week(s) on:","Woche(n) am: " }, |
453 | { "Full menu bar(nr)","Volle Menuleiste(bn)" }, | 453 | { "Full menu bar(nr)","Volle Menuleiste(bn)" }, |
454 | { "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, | 454 | { "Timezone has daylight saving","Zeitzone hat Sommerzeit" }, |
455 | { "Actual start/end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der Sonntag\nvor diesem Datum!" }, | 455 | { "Actual start and end is the\nsunday before this date.","Tatsächlicher Beginn/Ende ist der Sonntag\nvor diesem Datum!" }, |
456 | { "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, | 456 | { "The year in the date is ignored.","Das Jahr vom Datum wird ignoriert." }, |
457 | { "Daylight start:","Sommerzeit Beginn:" }, | 457 | { "Daylight start:","Sommerzeit Beginn:" }, |
458 | { "Daylight end:","Sommerzeit Ende:" }, | 458 | { "Daylight end:","Sommerzeit Ende:" }, |
459 | { "Time Zone","Zeitzone" }, | 459 | { "Time Zone","Zeitzone" }, |
460 | { "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, | 460 | { "Monday 19 April 2004: %A %d %B %Y","Montag 19 April 2004: %A %d %B %Y" }, |
461 | { "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" }, | 461 | { "%A: Monday --- %a: Mon","%A: Montag --- %a: Mon" }, |
462 | { "minutely","minütlich" }, | 462 | { "minutely","minütlich" }, |
463 | { "hourly","stündlich" }, | 463 | { "hourly","stündlich" }, |
464 | { "daily","täglich" }, | 464 | { "daily","täglich" }, |
465 | { "weekly","wöchentlich" }, | 465 | { "weekly","wöchentlich" }, |
466 | { "monthly","monatlich" }, | 466 | { "monthly","monatlich" }, |
467 | { "day-monthly","tag-monatlich" }, | 467 | { "day-monthly","tag-monatlich" }, |
468 | { "month-yearly","monat-jährlich" }, | 468 | { "month-yearly","monat-jährlich" }, |
469 | { "day-yearly","tag-jährlich" }, | 469 | { "day-yearly","tag-jährlich" }, |
470 | { "position-yearly","pos-jährlich" }, | 470 | { "position-yearly","pos-jährlich" }, |
471 | { "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" }, | 471 | { "Edit item on doubleclick (if not, show)","Editiere mit Doppelklick(wenn nicht, zeige)" }, |
472 | { "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" }, | 472 | { "Highlight current day in agenda","Hebe >>heute<< in Agenda hervor" }, |
473 | { "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" }, | 473 | { "Use light color for highlight current day","Helle Farbe für >>heute<< Hervorhebung" }, |
474 | { "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" }, | 474 | { "Highlight selection in Time Edit","Hebe Auswahl in Zeit Edit hervor" }, |
475 | { "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" }, | 475 | { "Hold fullscreen on view change","Behalte Vollbild bei Ansichswechsel" }, |
476 | { "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." }, | 476 | { "Hold non-fullscreen on view change","Behalte Nicht-Vollbild bei Ansichtsw." }, |
477 | { "Event list view uses full window","Listenansicht nutzt Vollbild" }, | 477 | { "Event list view uses full window","Listenansicht nutzt Vollbild" }, |
478 | { "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" }, | 478 | { "Set agenda to DayBeginsAt on change","Setze Agenda auf TagBeginntUm bei Wechsel" }, |
479 | { "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" }, | 479 | { "Set agenda to current time on change","Setze Agenda auf gegenw.Zeit bei Wechsel" }, |
480 | { "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" }, | 480 | { "Listview uses monthly timespan","Listenansicht zeigt monatliche Zeitspanne" }, |
481 | { "ViewChange","Ansichtswechsel" }, | 481 | { "ViewChange","Ansichtswechsel" }, |
482 | { "Default alarm *.wav file:","Standard Alarm *.wav Datei:" }, | 482 | { "Default alarm *.wav file:","Standard Alarm *.wav Datei:" }, |
483 | { "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" }, | 483 | { "This setting is useless for 5500 user!","Diese Einst. ist nutzlos für 5500 Nutzer" }, |
484 | { "File","Datei" }, | 484 | { "File","Datei" }, |
485 | { "Clone...","Dupliziere.." }, | 485 | { "Clone...","Dupliziere.." }, |
486 | { "Move...","Bewege..." }, | 486 | { "Move...","Bewege..." }, |
487 | { "Beam...","Sende via IR..." }, | 487 | { "Beam...","Sende via IR..." }, |
@@ -536,65 +536,65 @@ | |||
536 | { "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" }, | 536 | { "Close dialog to abort deletion!","Schließe Dialog um das Löschen abzubrechen!" }, |
537 | { "Deleting item %d ...","Lösche Eintrag %d ..." }, | 537 | { "Deleting item %d ...","Lösche Eintrag %d ..." }, |
538 | { "%d items remaining in list.","%d Einträge sind in der Liste verblieben." }, | 538 | { "%d items remaining in list.","%d Einträge sind in der Liste verblieben." }, |
539 | { "Size","Größe" }, | 539 | { "Size","Größe" }, |
540 | { "Date","Datum" }, | 540 | { "Date","Datum" }, |
541 | { "Mime Type","Datei Typ" }, | 541 | { "Mime Type","Datei Typ" }, |
542 | { "All Files","Alle Dateien" }, | 542 | { "All Files","Alle Dateien" }, |
543 | { "Files","Dateien" }, | 543 | { "Files","Dateien" }, |
544 | { "Documents","DoKumente" }, | 544 | { "Documents","DoKumente" }, |
545 | { "Select Categories","Selektiere Kategorien" }, | 545 | { "Select Categories","Selektiere Kategorien" }, |
546 | { " &Deselect All "," Auswahl aufheben " }, | 546 | { " &Deselect All "," Auswahl aufheben " }, |
547 | { "A&dd","Hinzu" }, | 547 | { "A&dd","Hinzu" }, |
548 | { "&Modify","Ändern" }, | 548 | { "&Modify","Ändern" }, |
549 | { "Edit Categories","Editiere Kategorien" }, | 549 | { "Edit Categories","Editiere Kategorien" }, |
550 | { " &Edit Categories "," &Editiere Kategorien " }, | 550 | { " &Edit Categories "," &Editiere Kategorien " }, |
551 | { "Beam Options","Beam Einstellungen" }, | 551 | { "Beam Options","Beam Einstellungen" }, |
552 | { " With timezone "," Mit Zeitzone " }, | 552 | { " With timezone "," Mit Zeitzone " }, |
553 | { " Local time ", " Lokale Zeit " }, | 553 | { " Local time ", " Lokale Zeit " }, |
554 | { "Manage new Categories","Verwalte neue Kategorien" }, | 554 | { "Manage new Categories","Verwalte neue Kategorien" }, |
555 | { "Add to category list","Füge zur Kategorieliste hinzu" }, | 555 | { "Add to category list","Füge zur Kategorieliste hinzu" }, |
556 | { "Remove from Events/Todos","Entferne von Terminen/Todos" }, | 556 | { "Remove from Events/Todos","Entferne von Terminen/Todos" }, |
557 | { "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nTerminen oder Todos geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " }, | 557 | { "After importing/loading/syncing\nthere may be new categories in\nevents or todos\nwhich are not in the category list.\nPlease choose what to do:\n ","Nach dem Importieren/Laden/Syncen\nkann es neue Kategorien in den \nTerminen oder Todos geben, die nicht\nin der Kategorieliste enthalten sind.\nBitte wählen Sie, was passieren soll:\n " }, |
558 | { "New categories not in list:","Kategorien, die nicht in der Liste sind:" }, | 558 | { "New categories not in list:","Kategorien, die nicht in der Liste sind:" }, |
559 | { "File format","Datei Format" }, | 559 | { "File format","Datei Format" }, |
560 | { "Time format","Zeit Format" }, | 560 | { "Time format","Zeit Format" }, |
561 | { "Delete all\ncompleted To-Dos?","Lösche alle\nerledigten To-Dos?" }, | 561 | { "Delete all\ncompleted To-Dos?","Lösche alle\nerledigten To-Dos?" }, |
562 | { "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." }, | 562 | { "KO/Pi:Saving Data to File ...","KO/Pi: Speichere Kalender in Datei ..." }, |
563 | { "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" }, | 563 | { "KO/Pi:File Saved. Needed %d sec, %d ms","KO/Pi: Abgespeichert in %d sec, %d ms" }, |
564 | { "h","Std" }, | 564 | { "h","Std" }, |
565 | { "min","Min" }, | 565 | { "min","Min" }, |
566 | { "hou","Std" }, | 566 | { "hou","Std" }, |
567 | { "day","Tag" }, | 567 | { "day","Tag" }, |
568 | { "French(nyi)","Französich (noch nicht implementiert)" }, | 568 | { "French","Französich" }, |
569 | { "Time","Zeit" }, | 569 | { "Time","Zeit" }, |
570 | { "Event Viewer","Termin Ansicht" }, | 570 | { "Event Viewer","Termin Ansicht" }, |
571 | { "Cancel Sync","Sync Abbrechen" }, | 571 | { "Cancel Sync","Sync Abbrechen" }, |
572 | { "Remote","Fern" }, | 572 | { "Remote","Fern" }, |
573 | { "Local","Lokal" }, | 573 | { "Local","Lokal" }, |
574 | { "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" }, | 574 | { "Conflict! Please choose entry","Konflikt! Bitte Eintrag wählen" }, |
575 | { "Local: ","Lokal: " }, | 575 | { "Local: ","Lokal: " }, |
576 | { "Remote: ","Fern: " }, | 576 | { "Remote: ","Fern: " }, |
577 | { "Last modified: ","Zuletzt geändert: " }, | 577 | { "Last modified: ","Zuletzt geändert: " }, |
578 | { "Location: ","Ort: " }, | 578 | { "Location: ","Ort: " }, |
579 | { "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" }, | 579 | { "<p><b>From:</b> %1 </p><p><b>To:</b> %2</p>","<p><b>Von:</b> %1 </p><p><b>Bis:</b> %2</p>" }, |
580 | { "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" }, | 580 | { "<p><b>On:</b> %1</p>","<p><b>Am:</b> %1</p>" }, |
581 | { "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " }, | 581 | { "<p><b>From:</b> %1</p> ","<p><b>Von:</b> %1</p> " }, |
582 | { "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" }, | 582 | { "<p><b>To:</b> %1</p>","<p><b>Bis:</b> %1</p>" }, |
583 | { "<p><b>On:</b> %1</p> ","<p><b>Am:</b> %1</p> " }, | 583 | { "<p><b>On:</b> %1</p> ","<p><b>Am:</b> %1</p> " }, |
584 | { "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" }, | 584 | { "<p><b>From:</b> %1 <b>To:</b> %2</p>","<p><b>Von:</b> %1 <b>Bis:</b> %2</p>" }, |
585 | { "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." }, | 585 | { "This is a %1 recurring event.","Das ist ein %1 wiederholender Termin." }, |
586 | { "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" }, | 586 | { "<b>Next recurrence is on:</b>","<b>Nächste Wiederholung ist am:</b>" }, |
587 | { "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" }, | 587 | { "<b>Last recurrence was on:</b>","<b>Letzte Wiederholung war am:</b>" }, |
588 | { "( %1 min before )","( %1 min vorher )" }, | 588 | { "( %1 min before )","( %1 min vorher )" }, |
589 | { "<b>Alarm on: ","<b>Alarm am: " }, | 589 | { "<b>Alarm on: ","<b>Alarm am: " }, |
590 | { "<b>Details: </b>","<b>Details: </b>" }, | 590 | { "<b>Details: </b>","<b>Details: </b>" }, |
591 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, | 591 | { "<p><b>Priority:</b> %2</p>","<p><b>Priorität:</b> %2</p>" }, |
592 | { "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" }, | 592 | { "<p><i>%1 % completed</i></p>","<p><i>%1 % erledigt</i></p>" }, |
593 | { "Organizer","Organisator" }, | 593 | { "Organizer","Organisator" }, |
594 | { "Save","Speichern" }, | 594 | { "Save","Speichern" }, |
595 | { "Exit (+save)","Beenden (+ speichern)" }, | 595 | { "Exit (+save)","Beenden (+ speichern)" }, |
596 | { "Home","Zuhause" }, | 596 | { "Home","Zuhause" }, |
597 | { "Office","Büro" }, | 597 | { "Office","Büro" }, |
598 | { "Libary","Bücherei" }, | 598 | { "Libary","Bücherei" }, |
599 | { "Doctor","Arzt" }, | 599 | { "Doctor","Arzt" }, |
600 | { "Beach","Strand" }, | 600 | { "Beach","Strand" }, |