The branch, build-59a18b6e3b5d3f1dd8f07f26433d37fe5984a57d has been updated via 1a606d865abb0ff73115914547fd927987a31ed0 (commit) from d2b5aed4c583497efcf5bec696beeaee745a1ea9 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- ----------------------------------------------------------------------- Summary of changes: debian/changelog | 1 + pyhoca/wxgui/frontend.py | 16 ++++++++-------- 2 files changed, 9 insertions(+), 8 deletions(-) The diff of changes is: diff --git a/debian/changelog b/debian/changelog index 7f88989..79526b5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -68,6 +68,7 @@ pyhoca-gui (0.1.2.0-0~x2go1) UNRELEASED; urgency=low - Move rendering of menu tree partially into Python X2Go. - Update of en/de i18n files. - Fix disabling of published applications tick box in profile manager. + - Show the detected GUI language in GUI output. * Depend on Python X2Go 0.1.2.0. * Install GNOME icons via dh_links. * Install X2Go icons with explicit install paths. diff --git a/pyhoca/wxgui/frontend.py b/pyhoca/wxgui/frontend.py index 1fc6cb1..7597e5f 100644 --- a/pyhoca/wxgui/frontend.py +++ b/pyhoca/wxgui/frontend.py @@ -85,14 +85,6 @@ class PyHocaGUI(wx.App, x2go.X2goClient): self.args = args - if x2go.defaults.X2GOCLIENT_OS == 'Windows': - if self.args.lang is not None: - self.lang = self.args.lang - else: - self.lang = 'en' - else: - self.lang = locale.getdefaultlocale()[0] - if logger is None: self._pyhoca_logger = x2go.X2goLogger(tag=self.appname) else: @@ -104,6 +96,14 @@ class PyHocaGUI(wx.App, x2go.X2goClient): else: self._pyhoca_liblogger = copy.deepcopy(liblogger) + if x2go.defaults.X2GOCLIENT_OS == 'Windows': + if self.args.lang is not None: + self.lang = self.args.lang + else: + self.lang = 'en' + else: + self.lang = locale.getdefaultlocale()[0] + self._pyhoca_logger('%s\'s user interface language is: %s.' % (self.appname, self.lang), loglevel=x2go.loglevel_DEBUG) _x2goclient_kwargs = { 'use_listsessions_cache': True, hooks/post-receive -- pyhoca-gui.git (Python X2Go Client (wxPython GUI)) This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "pyhoca-gui.git" (Python X2Go Client (wxPython GUI)).