i18n: add packaging for swedish language support
This commit is contained in:
parent
ce3c1ba7af
commit
74a091d7fd
3 changed files with 15 additions and 0 deletions
5
i18n/swedish/Makefile
Normal file
5
i18n/swedish/Makefile
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
PO = base
|
||||||
|
PO_LANG = sv
|
||||||
|
|
||||||
|
include ../../build/config.mk
|
||||||
|
include ../../build/module.mk
|
4
i18n/swedish/ipkg/postinst
Executable file
4
i18n/swedish/ipkg/postinst
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
[ -n "${IPKG_INSTROOT}" ] || {
|
||||||
|
( . /etc/uci-defaults/luci-i18n-swedish ) && rm -f /etc/uci-defaults/luci-i18n-swedish
|
||||||
|
}
|
6
i18n/swedish/root/etc/uci-defaults/luci-i18n-swedish
Executable file
6
i18n/swedish/root/etc/uci-defaults/luci-i18n-swedish
Executable file
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/sh
|
||||||
|
uci batch <<-EOF
|
||||||
|
set luci.languages.sv=Svenska
|
||||||
|
commit luci
|
||||||
|
EOF
|
||||||
|
|
Loading…
Reference in a new issue