- sorted the languages in the Preferences combobox

This commit is contained in:
Marius Stanciu 2019-03-09 00:34:04 +02:00
parent bfb04d5bee
commit de79370fb3
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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