mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
More localization fixes
This commit is contained in:
parent
99d2b803e6
commit
cd5c406d9a
@ -1012,9 +1012,9 @@ GuiDocument::GuiDocument(GuiView & lv)
|
||||
|| utf8_base_encodings.contains(toqstr(encvar.name())))
|
||||
continue;
|
||||
if (std::string(encvar.name()).find("utf8") == 0)
|
||||
encodingmap_utf8.insert(toqstr(encvar.guiName()), toqstr(encvar.name()));
|
||||
encodingmap_utf8.insert(qt_(encvar.guiName()), toqstr(encvar.name()));
|
||||
else
|
||||
encodingmap.insert(toqstr(encvar.guiName()), toqstr(encvar.name()));
|
||||
encodingmap.insert(qt_(encvar.guiName()), toqstr(encvar.name()));
|
||||
}
|
||||
for (auto const & i : encodingmap_utf8.keys()) {
|
||||
langModule->unicodeEncodingCO->addItem(i, encodingmap_utf8.value(i));
|
||||
|
Loading…
Reference in New Issue
Block a user