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;
}
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) {