ALT Linux Bugzilla
– Attachment 7761 Details for
Bug 35419
[PATCH] Исправление локали в Kazam
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
kazam-1.4.5-setlocale.patch
kazam-1.4.5-setlocale.patch (text/plain), 674 bytes, created by
mikhailnov
on 2018-09-20 00:40:55 MSK
(
hide
)
Description:
kazam-1.4.5-setlocale.patch
Filename:
MIME Type:
Creator:
mikhailnov
Created:
2018-09-20 00:40:55 MSK
Size:
674 bytes
patch
obsolete
>--- kazam-1.4.5/kazam/app.py 2018-09-19 23:18:41.555015000 +0300 >+++ kazam-1.4.5-patched/kazam/app.py 2018-09-20 00:18:04.462187827 +0300 >@@ -821,8 +821,11 @@ > def setup_translations(self): > gettext.bindtextdomain("kazam", "/usr/share/locale") > gettext.textdomain("kazam") >+ locale.bindtextdomain("kazam", "/usr/share/locale") >+ locale.textdomain("kazam") >+ currentLocale = locale.getlocale() > try: >- locale.setlocale(locale.LC_ALL, "") >+ locale.setlocale(locale.LC_ALL, currentLocale) > except Exception as e: > logger.exception("EXCEPTION: Setlocale failed, no language support.") >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 35419
:
7761
|
7762
|
7763