diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2014-04-27 20:30:59 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2014-04-27 20:30:59 +0000 |
commit | 74a091d7fd812fef086105355d2e95fb293cae8c (patch) | |
tree | 5270eeedb2ce8c5178bc370f5091f53267758f8c /i18n/swedish | |
parent | ce3c1ba7af44f2cb4cf4bcd62ceb65798f59e2b5 (diff) |
i18n: add packaging for swedish language support
Diffstat (limited to 'i18n/swedish')
-rw-r--r-- | i18n/swedish/Makefile | 5 | ||||
-rwxr-xr-x | i18n/swedish/ipkg/postinst | 4 | ||||
-rwxr-xr-x | i18n/swedish/root/etc/uci-defaults/luci-i18n-swedish | 6 |
3 files changed, 15 insertions, 0 deletions
diff --git a/i18n/swedish/Makefile b/i18n/swedish/Makefile new file mode 100644 index 0000000000..9c13525540 --- /dev/null +++ b/i18n/swedish/Makefile @@ -0,0 +1,5 @@ +PO = base +PO_LANG = sv + +include ../../build/config.mk +include ../../build/module.mk diff --git a/i18n/swedish/ipkg/postinst b/i18n/swedish/ipkg/postinst new file mode 100755 index 0000000000..eac6e34483 --- /dev/null +++ b/i18n/swedish/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-i18n-swedish ) && rm -f /etc/uci-defaults/luci-i18n-swedish +} diff --git a/i18n/swedish/root/etc/uci-defaults/luci-i18n-swedish b/i18n/swedish/root/etc/uci-defaults/luci-i18n-swedish new file mode 100755 index 0000000000..239405a723 --- /dev/null +++ b/i18n/swedish/root/etc/uci-defaults/luci-i18n-swedish @@ -0,0 +1,6 @@ +#!/bin/sh +uci batch <<-EOF + set luci.languages.sv=Svenska + commit luci +EOF + |