FIX: [STUDIO-2004] text in ConfigsOverwriteConfirmDialog

Change-Id: I98f2159ccf467782edb25d5cdfecd468e4346fe7
This commit is contained in:
chunmao.guo 2023-01-13 11:36:57 +08:00 committed by Lane.Wei
parent 0ecf7c8265
commit 00221d8652

View file

@ -2578,8 +2578,8 @@ struct ConfigsOverwriteConfirmDialog : MessageDialog
{
ConfigsOverwriteConfirmDialog(wxWindow *parent, wxString name, bool exported)
: MessageDialog(parent,
wxString::Format(exported ? _("A file exists with the same name: %s, do you wan't to override it.") :
_("A config exists with the same name: %s, do you wan't to override it."),
wxString::Format(exported ? _L("A file exists with the same name: %s, do you want to override it.") :
_L("A config exists with the same name: %s, do you want to override it."),
name),
_L(exported ? "Overwrite file" : "Overwrite config"),
wxYES_NO | wxNO_DEFAULT)