translation to Polish part 1
[mdictionary] / trunk / src / base / gui / MainWindow.cpp
index 349c5e4..29b16e5 100644 (file)
@@ -346,13 +346,13 @@ void MainWindow::showNotify(Notify::NotifyType type, QString text) {
                                 text,
                                 QMaemo5InformationBox::DefaultTimeout);
         #else
-            QMessageBox::information(this, "Information", text);
+            QMessageBox::information(this, tr("Information"), text);
         #endif
         break;
 
     case Notify::Warning:
         #ifndef Q_WS_MAEMO_5
-                QMessageBox::warning(this, "Warning", text);
+                QMessageBox::warning(this, tr("Warning"), text);
                 break;
         #endif
 
@@ -362,7 +362,7 @@ void MainWindow::showNotify(Notify::NotifyType type, QString text) {
                                 text,
                                 QMaemo5InformationBox::NoTimeout);
         #else
-            QMessageBox::critical(this, "Error", text);
+            QMessageBox::critical(this, tr("Error"), text);
         #endif
         break;
     }
@@ -555,8 +555,8 @@ void MainWindow::removeBookmarks() {
     #else
         par = this;
     #endif
-    if(QMessageBox::question(par, "Delete all bookmarks",
-             "Do you want to delete all bookmarks? (This action cannot be revoked)",
+    if(QMessageBox::question(par, tr("Delete all bookmarks"),
+             tr("Do you want to delete all bookmarks? (This action cannot be revoked)"),
              QMessageBox::Ok, QMessageBox::Cancel) == QMessageBox::Ok) {
         backbone->removeAllBookmarks();
         if(searchString.size())