From 8f65c4ad86e65f30935cec1c459d59fcd23fda18 Mon Sep 17 00:00:00 2001 From: pano Date: Thu, 18 Feb 2010 20:10:26 +0100 Subject: =?UTF-8?q?Change=20window=20titles=20strings=20a=20bit=20They=20n?= =?UTF-8?q?ow=20use=20a=20"real=20hyphen"=20(=E2=80=93)=20instead=20of=20t?= =?UTF-8?q?he=20plain=20minus=20character=20(-),=20like=20it=20is=20used?= =?UTF-8?q?=20in=20the=20rest=20of=20KDE.=20I=20also=20made=20the=20window?= =?UTF-8?q?=20titles=20translatable,=20since=20Left-to-Right=20languages?= =?UTF-8?q?=20might=20need=20this?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mainwindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mainwindow.cpp') diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index a4df5756..563871bf 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -671,7 +671,7 @@ void MainWindow::updateWindowTitle(const QString &title) { if(settings->testAttribute(QWebSettings::PrivateBrowsingEnabled)) { - setWindowTitle("rekonq (" + i18n("Private Browsing") + ')'); + setWindowTitle(i18nc("Window title when private browsing is activated", "rekonq (Private Browsing)")); } else { @@ -682,11 +682,11 @@ void MainWindow::updateWindowTitle(const QString &title) { if(settings->testAttribute(QWebSettings::PrivateBrowsingEnabled)) { - setWindowTitle(title + " - rekonq (" + i18n("Private Browsing") + ')'); + setWindowTitle(i18nc("window title, %1 = Title of the active website", "%1 – rekonq (Private Browsing)", title) ); } else { - setWindowTitle(title + " - rekonq"); + setWindowTitle(i18nc("window title, %1 = title of the active website", "%1 – rekonq")); } } } -- cgit v1.2.1