languages: refactor

- No full restart requirement just reload
- Fix some systems not loading the language
- Fix RTL not applied if the lang was not set by the system
This commit is contained in:
alfrix
2022-10-26 00:49:49 -03:00
parent 93457b2961
commit d3d7104ec4
7 changed files with 58 additions and 35 deletions

View File

@@ -14,7 +14,6 @@ class ScreenPanel:
self._screen = screen
self._config = screen._config
self._files = screen.files
self.lang = self._screen.lang
self._printer = screen.printer
self.labels = {}
self._gtk = screen.gtk