From 01a5196a92f27f0c09bd053daf4d779d0c113974 Mon Sep 17 00:00:00 2001 From: Koncord Date: Tue, 10 Oct 2017 13:11:19 +0800 Subject: [PATCH] [Browser] Mark few strings translatable --- apps/browser/MainWindow.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/browser/MainWindow.cpp b/apps/browser/MainWindow.cpp index a072f5cfd..901e401cc 100644 --- a/apps/browser/MainWindow.cpp +++ b/apps/browser/MainWindow.cpp @@ -142,7 +142,8 @@ void MainWindow::play() if (sm->myData[sourceId].GetPassword() == 1) { bool ok; - QString passw = QInputDialog::getText(this, "Connecting to: " + sm->myData[sourceId].addr, "Password: ", QLineEdit::Password, "", &ok); + QString passw = QInputDialog::getText(this, tr("Connecting to: ") + sm->myData[sourceId].addr, tr("Password: "), + QLineEdit::Password, "", &ok); if (!ok) return; arguments.append(QLatin1String("--password=") + passw.toLatin1());