summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/mainwindow.cpp6
-rw-r--r--src/settings/settingsdialog.cpp2
2 files changed, 4 insertions, 4 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"));
}
}
}
diff --git a/src/settings/settingsdialog.cpp b/src/settings/settingsdialog.cpp
index a3bf7359..0b9d8e85 100644
--- a/src/settings/settingsdialog.cpp
+++ b/src/settings/settingsdialog.cpp
@@ -151,7 +151,7 @@ SettingsDialog::SettingsDialog(QWidget *parent)
, d(new Private(this))
{
showButtonSeparator(false);
- setWindowTitle(i18n("Configure - rekonq"));
+ setWindowTitle(i18nic("Window title of the settings dialog", "Configure – rekonq"));
setModal(true);
readConfig();