Philipp Hörist pushed to branch master at gajim / gajim
Commits:
b016aa5f by Philipp Hörist at 2025-07-20T16:22:06+02:00
imprv: Set stream language
Fixes #11767
- - - - -
1 changed file:
- gajim/common/client.py
Changes:
=====================================
gajim/common/client.py
=====================================
@@ -41,6 +41,7 @@
from gajim.common.helpers import Observable
from gajim.common.helpers import warn_about_plain_connection
from gajim.common.i18n import _
+from gajim.common.i18n import get_rfc5646_lang
from gajim.common.idle import IdleMonitorManager
from gajim.common.idle import Monitor
from gajim.common.modules.contacts import BareContact
@@ -170,6 +171,7 @@ def _create_client(self) -> None:
self._client = NBXMPPClient(log_context=self._account)
self.connection = self._client
+ self._client.set_lang(get_rfc5646_lang())
self._client.set_domain(self._address.domain)
self._client.set_username(self._address.localpart)
self._client.set_resource(get_resource(self._account))
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/b016aa5f38c085b2a2625cc8a9ff5e8b37ebcfdd
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/b016aa5f38c085b2a2625cc8a9ff5e8b37ebcfdd
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]