diff options
| author | 2016-02-11 04:33:11 +0000 | |
|---|---|---|
| committer | 2016-02-27 10:47:52 +0000 | |
| commit | f41c1f2868ee7d318b29e4c076db45a8b0346b3d (patch) | |
| tree | 62f05c4fb396a2361c457b9d0ee68385b1eed2b0 /src/modules/theme | |
| parent | statusbarapplet: update tootip add space between double-click and main text (diff) | |
| download | KVIrc-f41c1f2868ee7d318b29e4c076db45a8b0346b3d.tar.gz KVIrc-f41c1f2868ee7d318b29e4c076db45a8b0346b3d.tar.bz2 KVIrc-f41c1f2868ee7d318b29e4c076db45a8b0346b3d.zip | |
QMessageBox/setWindowTitle: fix headers titles: capitalization, syntax + try to improve entries
+ add window title to find and replace dialog
Diffstat (limited to 'src/modules/theme')
| -rw-r--r-- | src/modules/theme/PackThemeDialog.cpp | 8 | ||||
| -rw-r--r-- | src/modules/theme/SaveThemeDialog.cpp | 8 | ||||
| -rw-r--r-- | src/modules/theme/ThemeManagementDialog.cpp | 4 |
3 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/theme/PackThemeDialog.cpp b/src/modules/theme/PackThemeDialog.cpp index 4d4eb5684..838684003 100644 --- a/src/modules/theme/PackThemeDialog.cpp +++ b/src/modules/theme/PackThemeDialog.cpp @@ -158,7 +158,7 @@ void PackThemeDataWidget::parseThemes(KviPointerList<KviThemeInfo> * pThemeInfoL szPackageName = "MyThemes"; szPackageAuthor = __tr2qs_ctx("Your name here","theme"); szPackageVersion = "1.0.0"; - szPackageDescription = __tr2qs_ctx("Put a package description here...","theme"); + szPackageDescription = __tr2qs_ctx("Enter a package description here...","theme"); } else { if(pThemeInfoList->count() > 0) { @@ -364,7 +364,7 @@ void PackThemeImageWidget::imageSelectionChanged(const QString & szImagePath) return; } - QMessageBox::critical(this,__tr2qs_ctx("Export Theme - KVIrc","theme"),__tr2qs_ctx("Failed to load the selected image","theme"), + QMessageBox::critical(this,__tr2qs_ctx("Export Theme - KVIrc","theme"),__tr2qs_ctx("Failed to load the selected image!","theme"), QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton); m_pImageSelector->setSelection(""); @@ -458,8 +458,8 @@ bool PackThemeDialog::packTheme() } QMessageBox::information(this, - __tr2qs_ctx("Export Theme - KVIrc","theme"), - __tr2qs("Package saved successfully"), + __tr2qs_ctx("Exporting Theme - KVIrc","theme"), + __tr2qs("Theme package saved successfully."), QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton ); diff --git a/src/modules/theme/SaveThemeDialog.cpp b/src/modules/theme/SaveThemeDialog.cpp index 8bb7b335a..5255a363a 100644 --- a/src/modules/theme/SaveThemeDialog.cpp +++ b/src/modules/theme/SaveThemeDialog.cpp @@ -231,7 +231,7 @@ void SaveThemeDialog::imageSelectionChanged(const QString &szImagePath) return; } - QMessageBox::critical(this,__tr2qs_ctx("Save Current Theme - KVIrc","theme"),__tr2qs_ctx("Failed to load the selected image","theme"), + QMessageBox::critical(this,__tr2qs_ctx("Save Current Theme - KVIrc","theme"),__tr2qs_ctx("Failed to load the selected image!","theme"), QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton); m_pImageSelector->setSelection(""); @@ -252,7 +252,7 @@ void SaveThemeDialog::makeScreenshot() g_pApp->getTmpFileName(szFileName,"screenshot.png"); if(!ThemeFunctions::makeKVIrcScreenshot(szFileName)) { - QMessageBox::critical(this,__tr2qs_ctx("Acquire Screenshot - KVIrc","theme"),__tr2qs_ctx("Failed to make screenshot","theme"), + QMessageBox::critical(this,__tr2qs_ctx("Acquire Screenshot - KVIrc","theme"),__tr2qs_ctx("Failed to make a theme screenshot.","theme"), QMessageBox::Ok,QMessageBox::NoButton,QMessageBox::NoButton); return; } @@ -268,7 +268,7 @@ bool SaveThemeDialog::saveTheme() sto.setName(m_pThemeNameEdit->text()); if(sto.name().isEmpty()) { - QMessageBox::critical(this,__tr2qs_ctx("Save Current Theme - KVIrc","theme"),__tr2qs_ctx("You must choose a theme name!","theme"),QMessageBox::Ok, + QMessageBox::critical(this,__tr2qs_ctx("Save Current Theme - KVIrc","theme"),__tr2qs_ctx("You must choose a theme name.","theme"),QMessageBox::Ok, QMessageBox::NoButton,QMessageBox::NoButton); return false; } @@ -318,7 +318,7 @@ bool SaveThemeDialog::saveTheme() QString szMsg = __tr2qs_ctx("Theme saved successfully to %1","theme").arg(szAbsDir); - QMessageBox::information(this,__tr2qs_ctx("Save Theme - KVIrc","theme"),szMsg,QMessageBox::Ok, + QMessageBox::information(this,__tr2qs_ctx("Save Current Theme - KVIrc","theme"),szMsg,QMessageBox::Ok, QMessageBox::NoButton,QMessageBox::NoButton); return true; diff --git a/src/modules/theme/ThemeManagementDialog.cpp b/src/modules/theme/ThemeManagementDialog.cpp index df0acfc9a..a5394a530 100644 --- a/src/modules/theme/ThemeManagementDialog.cpp +++ b/src/modules/theme/ThemeManagementDialog.cpp @@ -387,7 +387,7 @@ void ThemeManagementDialog::deleteTheme() continue; if(!KviMessageBox::yesNo( - __tr2qs_ctx("Delete Theme - KVIrc","theme"), + __tr2qs_ctx("Delete Selected Theme - KVIrc","theme"), __tr2qs_ctx("Do you really wish to delete theme \"%Q\" (version %Q)?","theme"), &(pInfo->name()), &(pInfo->version())) ) @@ -407,7 +407,7 @@ void ThemeManagementDialog::installFromFile() if(!KviFileDialog::askForOpenFileName( szFileName, - __tr2qs_ctx("Open Theme - KVIrc","theme"), + __tr2qs_ctx("Select a Installation File - KVIrc","theme"), QString(), KVI_FILTER_THEME, false, |
