tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
firewalld: fix i18n
Sizhe Zhao
9 months ago
367f4890
ee19ecd4
+13
2 changed files
expand all
collapse all
unified
split
pkgs
by-name
fi
firewalld
package.nix
specify-localedir.patch
+1
pkgs/by-name/fi/firewalld/package.nix
···
54
55
patches = [
56
./respect-xml-catalog-files-var.patch
0
57
];
58
59
postPatch =
···
54
55
patches = [
56
./respect-xml-catalog-files-var.patch
57
+
./specify-localedir.patch
58
];
59
60
postPatch =
+12
pkgs/by-name/fi/firewalld/specify-localedir.patch
···
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
--- a/src/firewall/config/__init__.py.in
2
+
+++ b/src/firewall/config/__init__.py.in
3
+
@@ -19,6 +19,9 @@
4
+
DOMAIN = "firewalld"
5
+
import gettext
6
+
7
+
+locale.bindtextdomain(DOMAIN, "/usr/share/locale")
8
+
+gettext.bindtextdomain(DOMAIN, "/usr/share/locale")
9
+
+
10
+
gettext.install(domain=DOMAIN)
11
+
12
+
from . import dbus # noqa: F401