mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-17 11:22:28 +12:00
5dcd93ced3
The user can configure a language for Manuskript in the dialog, but before that setting is ever written to disk, there is the default behaviour that tries to auto-detect the best language to show based on the configuration of the device it is running on. While doing my due diligence on issue #619, I realized we were relying on the system locale, which is not necessarily equivalent to the language the user is working with. Worse still: a user can have multiple preferred languages for their user interface, and our old approach might actually offer them the 'wrong' language. This patch fixes this. It also refactors and comments things a little bit where necessary. |
||
---|---|---|
.. | ||
converters | ||
exporter | ||
functions | ||
importer | ||
load_save | ||
models | ||
tests | ||
ui | ||
__init__.py | ||
enums.py | ||
loadSave.py | ||
main.py | ||
mainWindow.py | ||
settings.py | ||
settingsWindow.py | ||
version.py |