translation to Polish part 1
[mdictionary] / trunk / src / base / gui / DictManagerWidget.cpp
index c718908..76cd907 100644 (file)
@@ -139,7 +139,7 @@ void DictManagerWidget::saveChanges() {
     if(_save) {
     #else
     if(_changed &&
-            QMessageBox::question(this, "Save", "Do you want to save changes?",
+            QMessageBox::question(this, tr("Save"), tr("Do you want to save changes?"),
             QMessageBox::Save, QMessageBox::Cancel) == QMessageBox::Save) {
     #endif
         QList<CommonDictInterface*> checkedDicts;
@@ -184,8 +184,8 @@ void DictManagerWidget::itemSelected(QListWidgetItem *) {
 }
 
 void DictManagerWidget::removeButtonClicked() {
-    if(QMessageBox::question(this, "Remove dictionary",
-            "Do you want to remove selected dictionary?",
+    if(QMessageBox::question(this, tr("Remove dictionary"),
+            tr("Do you want to remove selected dictionary?"),
             QMessageBox::Ok, QMessageBox::Cancel) == QMessageBox::Ok) {
         QList<QListWidgetItem*> selected = dictListWidget->selectedItems();
         if(selected.count() > 0) {