diff options
| author | 2016-05-23 11:57:07 +0100 | |
|---|---|---|
| committer | 2016-05-23 12:41:32 +0100 | |
| commit | 3bf6f19cb7d6d74036bc444598f649ca2f755ce0 (patch) | |
| tree | 5a8c15a517c7f03113d9ae9984fcdc2b3b006b34 | |
| parent | KviIrcView_events: add footer to channel tooltip (diff) | |
| download | KVIrc-3bf6f19cb7d6d74036bc444598f649ca2f755ce0.tar.gz KVIrc-3bf6f19cb7d6d74036bc444598f649ca2f755ce0.tar.bz2 KVIrc-3bf6f19cb7d6d74036bc444598f649ca2f755ce0.zip | |
KviMainWindow: fix close kvic message
making this single string is easier for translators then making separate
strings
msgid "There are active connections, are you sure you wish to "
msgstr ""
msgid "quit KVIrc?"
msgstr ""
| -rw-r--r-- | src/kvirc/ui/KviMainWindow.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/kvirc/ui/KviMainWindow.cpp b/src/kvirc/ui/KviMainWindow.cpp index 968e755f0..02b5b3bc2 100644 --- a/src/kvirc/ui/KviMainWindow.cpp +++ b/src/kvirc/ui/KviMainWindow.cpp @@ -887,10 +887,8 @@ void KviMainWindow::closeEvent(QCloseEvent * e) if(bGotRunningConnection) { - QString txt = "<p>"; - txt += __tr2qs("There are active connections, are you sure you wish to "); - txt += __tr2qs("quit KVIrc?"); - txt += "</p>"; + QString txt; + txt += __tr2qs("There are active connections, are you sure you wish to quit KVIrc?"); switch(QMessageBox::warning(this, __tr2qs("Confirm Close - KVIrc"), txt, __tr2qs("&Yes"), __tr2qs("&Always"), __tr2qs("&No"), 2, 2)) { |
