aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorOIS <mistresssilvara@hotmail.com>2021-03-16 22:48:37 +0700
committerFelix Queißner <felix@ib-queissner.de>2021-03-16 21:04:07 +0100
commit502219103193c850604110bbfe5e0c456df980bc (patch)
tree1d81b2b92f106497dd0030f442b724027820e0f3 /src/mainwindow.cpp
parentaab2b50efa1298ba8a5dd1f21f05c306ee8ea4d1 (diff)
downloadkristall-502219103193c850604110bbfe5e0c456df980bc.tar.gz
mark more strings for translation
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index 66406ae..d9ee161 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -199,22 +199,22 @@ void MainWindow::setRequestState(RequestState state)
{
case RequestState::Started:
{
- this->request_status = "Looking up...";
+ this->request_status = tr("Looking up...");
} break;
case RequestState::StartedWeb:
{
- this->request_status = "Loading webpage...";
+ this->request_status = tr("Loading webpage...");
} break;
case RequestState::HostFound:
{
- this->request_status = "Connecting...";
+ this->request_status = tr("Connecting...");
} break;
case RequestState::Connected:
{
- this->request_status = "Downloading...";
+ this->request_status = tr("Downloading...");
} break;
default:
@@ -240,10 +240,10 @@ void MainWindow::updateWindowTitle()
BrowserTab * tab = this->curTab();
if (tab == nullptr || tab->page_title.isEmpty())
{
- this->setWindowTitle("Kristall");
+ this->setWindowTitle(tr("Kristall"));
return;
}
- this->setWindowTitle(QString("%0 - %1").arg(tab->page_title, "Kristall"));
+ this->setWindowTitle(QString(tr("%0 - %1")).arg(tab->page_title, tr("Kristall")));
}
void MainWindow::setUiDensity(UIDensity density, bool previewing)