Several translation-related fixes

ConfigWizard name was missing translation macro in several places
Few typos corrected
Some string conversions fixed
Two strings were not marked for translation
This commit is contained in:
Lukas Matena 2020-02-24 10:54:50 +01:00
parent d5bffd2816
commit 15ea6f5609
4 changed files with 9 additions and 9 deletions

View file

@ -277,7 +277,7 @@ MsgDataLegacy::MsgDataLegacy() :
"Please proceed with the %s that follows to set up the new presets "
"and to choose whether to enable automatic preset updates."
)),
SLIC3R_APP_NAME, ConfigWizard::name()
SLIC3R_APP_NAME, _(ConfigWizard::name())
));
text->Wrap(CONTENT_WIDTH * wxGetApp().em_unit());
content_sizer->Add(text);
@ -300,14 +300,14 @@ MsgDataLegacy::~MsgDataLegacy() {}
// MsgNoUpdate
MsgNoUpdates::MsgNoUpdates() :
MsgDialog(nullptr, _(L("Configuration updates")), _(L("No updates aviable")))
MsgDialog(nullptr, _(L("Configuration updates")), _(L("No updates available")))
{
auto* text = new wxStaticText(this, wxID_ANY, wxString::Format(
_(L(
"%s has no configuration updates aviable."
"%s has no configuration updates available."
)),
SLIC3R_APP_NAME, ConfigWizard::name()
SLIC3R_APP_NAME
));
text->Wrap(CONTENT_WIDTH * wxGetApp().em_unit());
content_sizer->Add(text);