Fixed localization of parameter legends.

This commit is contained in:
bubnikv 2019-05-09 15:13:14 +02:00
parent 400ab5333e
commit b247bbab2e
3 changed files with 4 additions and 4 deletions

View file

@ -2149,13 +2149,13 @@ PageShp TabPrinter::build_kinematics_page()
def.gui_type = "legend";
def.mode = comAdvanced;
def.tooltip = L("Values in this column are for Full Power mode");
def.set_default_value(new ConfigOptionString{ L("Full Power") });
def.set_default_value(new ConfigOptionString{ _(L("Full Power")).ToUTF8().data() });
auto option = Option(def, "full_power_legend");
line.append_option(option);
def.tooltip = L("Values in this column are for Silent mode");
def.set_default_value(new ConfigOptionString{ L("Silent") });
def.set_default_value(new ConfigOptionString{ _(L("Silent")).ToUTF8().data() });
option = Option(def, "silent_legend");
line.append_option(option);