summaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorpano <pano@linux-xtvb.(none)>2010-02-18 20:10:26 +0100
committerpano <pano@linux-xtvb.(none)>2010-02-18 20:10:26 +0100
commit8f65c4ad86e65f30935cec1c459d59fcd23fda18 (patch)
treeac62526deeb2c66bea47d529eef81244d76ee678 /src/mainwindow.cpp
parentFix settings webkit UI (broken on the krazy fix from (diff)
downloadrekonq-8f65c4ad86e65f30935cec1c459d59fcd23fda18.tar.xz
Change window titles strings a bit
They now use a "real hyphen" (–) instead of the plain minus character (-), like it is used in the rest of KDE. I also made the window titles translatable, since Left-to-Right languages might need this
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp6
1 files changed, 3 insertions, 3 deletions
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"));
}
}
}