Added missing two tr()'s
authorKaj Wallin <kaj.wallin@ixonos.com>
Thu, 1 Apr 2010 07:18:15 +0000 (10:18 +0300)
committerKaj Wallin <kaj.wallin@ixonos.com>
Thu, 1 Apr 2010 07:18:15 +0000 (10:18 +0300)
src/ui/mainwindow.cpp
tests/testUI/testtabs/testtabs

index f1ac7da..de92a5e 100644 (file)
@@ -77,7 +77,7 @@ void MainWindow::toListView()
     qDebug() << __PRETTY_FUNCTION__;
     situareViews->setCurrentIndex(0);
     infoLabel->setText(tr("Current: %1").arg(situareViews->currentIndex()));
-    setWindowTitle("List");
+    setWindowTitle(tr("List"));
 }
 
 void MainWindow::toMapView()
@@ -85,7 +85,7 @@ void MainWindow::toMapView()
     qDebug() << __PRETTY_FUNCTION__;
     situareViews->setCurrentIndex(1);
     infoLabel->setText(tr("Current: %1").arg(situareViews->currentIndex()));
-    setWindowTitle("Map");
+    setWindowTitle(tr("Map"));
 }
 
 int MainWindow::getViewIndex()
index 778fc32..819acad 100755 (executable)
Binary files a/tests/testUI/testtabs/testtabs and b/tests/testUI/testtabs/testtabs differ