FIX: support styles were not translated

Field labels are translated when being appended to combo box, so need to
add _ symbol.

Change-Id: Ib5207c4d357c3b9cd797264f872e2f6fb8859e6e
This commit is contained in:
Arthur 2023-02-10 16:40:41 +08:00 committed by Lane.Wei
parent 225b68034e
commit 3a14acba99
1 changed files with 1 additions and 1 deletions

View File

@ -2085,7 +2085,7 @@ void TabPrint::toggle_options()
for (auto i : set) {
opt.enum_values.push_back(def->enum_values[i]);
opt.enum_labels.push_back(def->enum_labels[i]);
cb->Append(def->enum_labels[i]);
cb->Append(_(def->enum_labels[i]));
}
cb->SetSelection(n >= cb->GetCount() ? cb->GetCount() - 1 : n);
}