FIX: [STUDIO-4935] plate name edit in object list

Change-Id: I271fa217281d0c7ceca61166497136628a66681e
Jira: STUDIO-4935
This commit is contained in:
chunmao.guo
2023-11-03 09:51:01 +08:00
committed by Lane.Wei
parent b377f660a8
commit 020338b191
3 changed files with 5 additions and 4 deletions

View File

@@ -5033,9 +5033,9 @@ void Tab::delete_preset()
presets += "\n - " + preset2.name;
}
if (count > 0) {
msg = _L("Presets inherited by other presets cannot be deleted");
msg = _L("Presets inherited by other presets can not be deleted!");
msg += "\n";
msg += _L_PLURAL("The following presets inherits this preset.",
msg += _L_PLURAL("The following presets inherit this preset.",
"The following preset inherits this preset.", count);
wxString title = from_u8((boost::format(_utf8(L("%1% Preset"))) % action).str()); // action + _(L(" Preset"));
MessageDialog(parent(), msg + presets, title, wxOK | wxICON_ERROR).ShowModal();