Localization refactor pt 2 (#14907)

This commit is contained in:
Ian Bassi
2026-07-24 09:41:24 -03:00
committed by GitHub
parent 43725128d3
commit d6cb667b89
65 changed files with 3263 additions and 1015 deletions
+2 -2
View File
@@ -33,7 +33,7 @@ LayerNumberTextInput::LayerNumberTextInput(wxWindow* parent, int layer_number, w
{
GetTextCtrl()->SetValidator(wxTextValidator(wxFILTER_DIGITS));
GetTextCtrl()->SetFont(::Label::Body_14);
Append(_L("End"));
Append(_L_CONTEXT("End", "Layer range"));
Append(_L("Customize"));
if (m_value_type == ValueType::End)
SetSelection(0);
@@ -45,7 +45,7 @@ LayerNumberTextInput::LayerNumberTextInput(wxWindow* parent, int layer_number, w
Bind(wxEVT_TEXT, [this](auto& evt) {
if (m_value_type == ValueType::End) {
// TextCtrl->SetValue() will generate a wxEVT_TEXT event
GetTextCtrl()->ChangeValue(_L("End"));
GetTextCtrl()->ChangeValue(_L_CONTEXT("End", "Layer range"));
return;
}
evt.Skip();