diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-16 05:11:27 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-08-16 05:11:27 +0000 |
commit | 59e5f62542bbbb33b5b3044bcbb8a116e49dfb29 (patch) | |
tree | 295279cc4aef096e310f72c5b130b6de4136310c /i18n | |
parent | 920adf013448a20cb803680a6a0958691256b1c5 (diff) |
i18n: add language package for vietnamese
Diffstat (limited to 'i18n')
-rw-r--r-- | i18n/vietnamese/Makefile | 5 | ||||
-rwxr-xr-x | i18n/vietnamese/ipkg/postinst | 4 | ||||
-rwxr-xr-x | i18n/vietnamese/root/etc/uci-defaults/luci-i18n-vietnamese | 6 |
3 files changed, 15 insertions, 0 deletions
diff --git a/i18n/vietnamese/Makefile b/i18n/vietnamese/Makefile new file mode 100644 index 000000000..925ec5de4 --- /dev/null +++ b/i18n/vietnamese/Makefile @@ -0,0 +1,5 @@ +PO = default cbi admin-core sysauth wifi +PO_LANG = vi + +include ../../build/config.mk +include ../../build/module.mk diff --git a/i18n/vietnamese/ipkg/postinst b/i18n/vietnamese/ipkg/postinst new file mode 100755 index 000000000..cda03df71 --- /dev/null +++ b/i18n/vietnamese/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-i18n-vietnamese ) && rm -f /etc/uci-defaults/luci-i18n-vietnamese +} diff --git a/i18n/vietnamese/root/etc/uci-defaults/luci-i18n-vietnamese b/i18n/vietnamese/root/etc/uci-defaults/luci-i18n-vietnamese new file mode 100755 index 000000000..8ebb36617 --- /dev/null +++ b/i18n/vietnamese/root/etc/uci-defaults/luci-i18n-vietnamese @@ -0,0 +1,6 @@ +#!/bin/sh +uci batch <<-EOF + set luci.languages.vi=Vietnamese + commit luci +EOF + |