Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-01-21 14:34:28 +0300
committerYuSanka <yusanka@gmail.com>2019-01-21 14:34:28 +0300
commit1a474ea2820776e1a1510fc494ed8508a59d6944 (patch)
tree87912c320108191ec958e5146fd87ee3968b3147 /src/slic3r/GUI/OptionsGroup.cpp
parentd6a203613d096e51727e5c4f81655a8665b2662e (diff)
L10n improvements
Diffstat (limited to 'src/slic3r/GUI/OptionsGroup.cpp')
-rw-r--r--src/slic3r/GUI/OptionsGroup.cpp8
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);