diff options
author | YuSanka <yusanka@gmail.com> | 2019-01-21 14:34:28 +0300 |
---|---|---|
committer | YuSanka <yusanka@gmail.com> | 2019-01-21 14:34:28 +0300 |
commit | 1a474ea2820776e1a1510fc494ed8508a59d6944 (patch) | |
tree | 87912c320108191ec958e5146fd87ee3968b3147 /src/slic3r/GUI/OptionsGroup.cpp | |
parent | d6a203613d096e51727e5c4f81655a8665b2662e (diff) |
L10n improvements
Diffstat (limited to 'src/slic3r/GUI/OptionsGroup.cpp')
-rw-r--r-- | src/slic3r/GUI/OptionsGroup.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/slic3r/GUI/OptionsGroup.cpp b/src/slic3r/GUI/OptionsGroup.cpp index 72c6f676b..4952398f3 100644 --- a/src/slic3r/GUI/OptionsGroup.cpp +++ b/src/slic3r/GUI/OptionsGroup.cpp @@ -231,11 +231,11 @@ void OptionsGroup::append_line(const Line& line, wxStaticText** full_Label/* = n wxSizer* sizer_tmp = sizer; // add label if any if (option.label != "") { - wxString str_label = _(option.label); +// wxString str_label = _(option.label); //! To correct translation by context have to use wxGETTEXT_IN_CONTEXT macro from wxWidget 3.1.1 -// wxString str_label = (option.label == "Top" || option.label == "Bottom") ? -// wxGETTEXT_IN_CONTEXT("Layers", wxString(option.label.c_str()): -// L_str(option.label); + wxString str_label = (option.label == "Top" || option.label == "Bottom") ? + wxGETTEXT_IN_CONTEXT("Layers", wxString(option.label)) : + _(option.label); label = new wxStaticText(parent(), wxID_ANY, str_label + ":", wxDefaultPosition, wxDefaultSize); label->SetFont(label_font); sizer_tmp->Add(label, 0, /*wxALIGN_RIGHT |*/ wxALIGN_CENTER_VERTICAL, 0); |