1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
Vendor: http://github.com/danielgtaylor/arista/commit/92516e81b547c5c41b4aca57001ba4efdfc992e2
Description: Fix translation for non-UTF8 locale
Bug: https://bugs.launchpad.net/bugs/410266
---
arista-gtk | 2 ++
1 file changed, 2 insertions(+)
--- arista-0.9.3+repack.orig/arista-gtk
+++ arista-0.9.3+repack/arista-gtk
@@ -1400,10 +1400,12 @@ if __name__ == "__main__":
gettext.bindtextdomain("arista",
arista.utils.get_path("locale"))
+ gettext.bind_textdomain_codeset("arista", "UTF-8")
gettext.textdomain("arista")
locale.bindtextdomain("arista",
arista.utils.get_path("locale"))
+ locale.bind_textdomain_codeset("arista", "UTF-8")
locale.textdomain("arista")
gtk.gdk.threads_init()
|