Philipp Hörist pushed to branch master at gajim / gajim
Commits:
18c422d8 by Philipp Hörist at 2019-02-01T16:24:33Z
Move print for debug message
- - - - -
2 changed files:
- gajim/common/app.py
- gajim/common/i18n.py
Changes:
=====================================
gajim/common/app.py
=====================================
@@ -44,6 +44,7 @@ import gajim
from gajim.common import config as c_config
from gajim.common import configpaths
from gajim.common import ged as ged_module
+from gajim.common.i18n import LANG
from gajim.common.contacts import LegacyContactsAPI
from gajim.common.events import Events
from gajim.common.types import NetworkEventsControllerT # pylint:
disable=unused-import
@@ -337,6 +338,8 @@ def detect_dependencies():
for dep, val in _dependencies.items():
log('gajim').info('%-13s %s', dep, val)
+ log('gajim').info('Used language: %s', LANG)
+
def get_gpg_binary():
return _dependencies['GPG_BINARY']
=====================================
gajim/common/i18n.py
=====================================
@@ -171,7 +171,6 @@ try:
# Set the env var on Windows because gettext.find() uses it to
# find the translation
os.environ['LANG'] = LANG
- print('Found default language: %s' % LANG)
except Exception as error:
print('Failed to determine default language')
import traceback
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/18c422d843a60bccf6dcc43ba3a9e9561002b1c5
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/18c422d843a60bccf6dcc43ba3a9e9561002b1c5
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits