@@ -93,7 +93,7 @@ OptionEditor::OptionEditor(bool new_, QString name_, QVariant value_)
93
93
}
94
94
}
95
95
if (!ok) {
96
- QMessageBox::critical (this , tr (" Psi: Option Editor" ), tr (" Can't edit this type of setting, sorry." ),
96
+ QMessageBox::critical (this , CAP ( tr (" Option Editor" ) ), tr (" Can't edit this type of setting, sorry." ),
97
97
QMessageBox::Close);
98
98
deleteLater ();
99
99
}
@@ -106,7 +106,7 @@ void OptionEditor::finished()
106
106
{
107
107
QString option = le_option->text ();
108
108
if (option.isEmpty () || option.endsWith (" ." ) || option.contains (" .." ) || !PsiOptions::isValidName (option)) {
109
- QMessageBox::critical (this , tr (" Psi: Option Editor" ),
109
+ QMessageBox::critical (this , CAP ( tr (" Option Editor" ) ),
110
110
tr (" Please enter option name.\n\n "
111
111
" Option names may not be empty, end in '.' or contain '..'." ),
112
112
QMessageBox::Close);
@@ -331,7 +331,7 @@ void PsiOptionsEditor::deleteit()
331
331
confirm = tr (" Really delete all options starting with %1.?" );
332
332
}
333
333
if (QMessageBox::Yes
334
- == QMessageBox::warning (this , tr (" Psi+: Option Editor" ), confirm.arg (option),
334
+ == QMessageBox::warning (this , CAP ( tr (" Option Editor" ) ), confirm.arg (option),
335
335
QMessageBox::Yes | QMessageBox::Cancel, QMessageBox::Cancel)) {
336
336
PsiOptions::instance ()->removeOption (option, sub);
337
337
}
@@ -346,7 +346,7 @@ void PsiOptionsEditor::resetit()
346
346
confirm = tr (" Really reset all options starting with %1. to default value?" );
347
347
}
348
348
if (QMessageBox::Yes
349
- == QMessageBox::warning (this , tr (" Psi+: Option Editor" ), confirm.arg (option),
349
+ == QMessageBox::warning (this , CAP ( tr (" Option Editor" ) ), confirm.arg (option),
350
350
QMessageBox::Yes | QMessageBox::Cancel, QMessageBox::Cancel)) {
351
351
PsiOptions::instance ()->resetOption (option);
352
352
}
0 commit comments