From f41c1f2868ee7d318b29e4c076db45a8b0346b3d Mon Sep 17 00:00:00 2001 From: un1versal Date: Thu, 11 Feb 2016 04:33:11 +0000 Subject: QMessageBox/setWindowTitle: fix headers titles: capitalization, syntax + try to improve entries + add window title to find and replace dialog --- src/modules/theme/SaveThemeDialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/theme/SaveThemeDialog.cpp') 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; -- cgit v1.3.1-10-gc9f91