diff --git a/FlatCAMApp.py b/FlatCAMApp.py index 1f8acdc3..29766fc6 100644 --- a/FlatCAMApp.py +++ b/FlatCAMApp.py @@ -574,8 +574,8 @@ class App(QtCore.QObject): ############################# self.languages = fcTranslate.load_languages() - for name in list(self.languages.keys()): - self.ui.general_defaults_form.general_app_group.language_cb.addItem(self.languages[name]) + for name in sorted(self.languages.values()): + self.ui.general_defaults_form.general_app_group.language_cb.addItem(name) self.defaults = LoudDict() self.defaults.set_change_callback(self.on_defaults_dict_change) # When the dictionary changes. diff --git a/README.md b/README.md index 2d2a98ff..bd708c3e 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ CAD program, and create G-Code for Isolation routing. - fixed tools shortcuts not working anymore due of the new toogle parameter for the .run(). - finished preparing for internationalization for the files: FlatCAMEditor, FlatCAMGUI - finished preparing for internationalization for the files: FlatCAMObj, ObjectUI - +- sorted the languages in the Preferences combobox 7.03.2019