aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/popupeditor/PopupEditorWindow.cpp
diff options
context:
space:
mode:
authorGravatar un1versal2016-02-11 04:33:11 +0000
committerGravatar un1versal2016-02-27 10:47:52 +0000
commitf41c1f2868ee7d318b29e4c076db45a8b0346b3d (patch)
tree62f05c4fb396a2361c457b9d0ee68385b1eed2b0 /src/modules/popupeditor/PopupEditorWindow.cpp
parentstatusbarapplet: update tootip add space between double-click and main text (diff)
downloadKVIrc-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/popupeditor/PopupEditorWindow.cpp')
-rw-r--r--src/modules/popupeditor/PopupEditorWindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/popupeditor/PopupEditorWindow.cpp b/src/modules/popupeditor/PopupEditorWindow.cpp
index d2b89a7a2..617fa0145 100644
--- a/src/modules/popupeditor/PopupEditorWindow.cpp
+++ b/src/modules/popupeditor/PopupEditorWindow.cpp
@@ -1111,7 +1111,7 @@ void PopupEditorWidget::popupRefresh(const QString &szName)
if(ch==m_pLastEditedItem)
{
if(
- QMessageBox::warning(0,__tr2qs_ctx("OverWrite Current Popup","editor"),
+ QMessageBox::warning(0,__tr2qs_ctx("Confirm Overwriting Current - KVIrc","editor"),
__tr2qs_ctx("An external script has changed the popup you are currently editing. Do you want to accept the external changes?","editor"),
QMessageBox::Yes,QMessageBox::No|QMessageBox::Default|QMessageBox::Escape) != QMessageBox::Yes
) return;
@@ -1183,14 +1183,14 @@ void PopupEditorWidget::exportCurrentPopup()
QString szFile;
- if(!KviFileDialog::askForSaveFileName(szFile,__tr2qs_ctx("Choose a Filename - KVIrc","editor"),szName,KVI_FILTER_SCRIPT,true,true,true,this))return;
+ if(!KviFileDialog::askForSaveFileName(szFile,__tr2qs_ctx("Enter a Filename - KVIrc","editor"),szName,KVI_FILTER_SCRIPT,true,true,true,this))return;
QString szOut;
m_pLastEditedItem->popup()->generateDefPopup(szOut);
if(!KviFileUtils::writeFile(szFile,szOut))
{
- QMessageBox::warning(this,__tr2qs_ctx("Write Failed - KVIrc","editor"),__tr2qs_ctx("Unable to write to the popup file.","editor"),__tr2qs_ctx("OK","editor"));
+ QMessageBox::warning(this,__tr2qs_ctx("Writing to File Failed - KVIrc","editor"),__tr2qs_ctx("Unable to write to the popups file.","editor"),__tr2qs_ctx("OK","editor"));
}
}
@@ -1234,11 +1234,11 @@ void PopupEditorWidget::exportPopups(bool bSelectedOnly)
QString szFile;
- if(!KviFileDialog::askForSaveFileName(szFile,__tr2qs_ctx("Choose a Filename - KVIrc","editor"),szName,KVI_FILTER_SCRIPT,true,true,true,this))return;
+ if(!KviFileDialog::askForSaveFileName(szFile,__tr2qs_ctx("Enter a Filename - KVIrc","editor"),szName,KVI_FILTER_SCRIPT,true,true,true,this))return;
if(!KviFileUtils::writeFile(szFile,out))
{
- QMessageBox::warning(this,__tr2qs_ctx("Write Failed - KVIrc","editor"),__tr2qs_ctx("Unable to write to the alias file.","editor"),__tr2qs_ctx("OK","editor"));
+ QMessageBox::warning(this,__tr2qs_ctx("Writing to File Failed - KVIrc","editor"),__tr2qs_ctx("Unable to write to the popups file.","editor"),__tr2qs_ctx("OK","editor"));
}
}