]> git.lyx.org Git - features.git/commitdiff
More localization fixes
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 26 Jun 2019 10:25:53 +0000 (12:25 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 26 Jun 2019 10:25:53 +0000 (12:25 +0200)
src/frontends/qt4/GuiDocument.cpp

index 80fcc796b2b3bfae679ad1fbfde6ecbbb00e16ad..1d811fd31c529f87bc8fa251548fac71297f1105 100644 (file)
@@ -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));