author | zautrix <zautrix> | 2005-01-29 07:48:23 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-01-29 07:48:23 (UTC) |
commit | ef1d97a243957180f5ffc3c3b055ffd8bf52e157 (patch) (side-by-side diff) | |
tree | 57ebf97cfd0d324ffcecbfb0c9814745f73d54a5 /libkdepim | |
parent | 0850ade22908615389800c6ee973f5906154d980 (diff) | |
download | kdepimpi-ef1d97a243957180f5ffc3c3b055ffd8bf52e157.zip kdepimpi-ef1d97a243957180f5ffc3c3b055ffd8bf52e157.tar.gz kdepimpi-ef1d97a243957180f5ffc3c3b055ffd8bf52e157.tar.bz2 |
many stribg fixes
-rw-r--r-- | libkdepim/kcmconfigs/kdepimconfigwidget.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp index d097078..6eaf2f2 100644 --- a/libkdepim/kcmconfigs/kdepimconfigwidget.cpp +++ b/libkdepim/kcmconfigs/kdepimconfigwidget.cpp @@ -113,23 +113,27 @@ void KDEPIMConfigWidget::showTimeZoneTab() tabWidget->setCurrentPage ( 3 ) ; } void KDEPIMConfigWidget::setupStoreTab() { QVBox *storePage = new QVBox( this ); new QLabel( i18n("Your current storage dir is:\n%1\nYour mail is stored in:\n(storagedir)/apps/kopiemail/localmail").arg(KGlobal::dirs()->localkdedir()), storePage ); - new QLabel( i18n("<b>Set new data storage dir:</b>"), storePage ); + new QLabel( i18n("<b>New data storage dir:</b>"), storePage ); mStoreUrl = new KURLRequester( storePage ); mStoreUrl->setURL( KGlobal::dirs()->localkdedir() ); - new QLabel( i18n("Not existing dirs are created automatically"), storePage ); + new QLabel( i18n("New dirs are created automatically"), storePage ); QHBox *bb = new QHBox( storePage ); - QPushButton * pb = new QPushButton ( i18n("Save settings"), bb ); + QPushButton * pb; + if ( QApplication::desktop()->width() < 640 ) + pb = new QPushButton ( i18n("Save"), bb ); + else + pb = new QPushButton ( i18n("Save settings"), bb ); connect(pb, SIGNAL( clicked() ), this, SLOT ( saveStoreSettings() ) ); pb = new QPushButton ( i18n("Save standard"), bb ); connect(pb, SIGNAL( clicked() ), this, SLOT ( setStandardStore() ) ); new QLabel( i18n("<b>New settings are used\nafter a restart</b>"), storePage ); - new QLabel( i18n("The settings of the storage\ndir is saved in the file\n%1").arg(QDir::homeDirPath() + "/.microkdehome" ), storePage ); + new QLabel( i18n("Settings are stored in\n%1").arg(QDir::homeDirPath() + "/.microkdehome" ), storePage ); tabWidget->addTab( storePage, i18n( "Data storage path" ) ); } void KDEPIMConfigWidget::setStandardStore() { mStoreUrl->setURL( QDir::homeDirPath() + "/kdepim" ); saveStoreSettings(); |