diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-04-02 09:48:31 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-04-02 09:48:31 +0000 |
commit | 520528e2864984095ba79894dafa34edd4cf5b09 (patch) | |
tree | 74a19726d2294b0a8b4467db890ad70be6830d82 | |
parent | be563eac62c4ac07ae2c08b51c3ca723e293b484 (diff) |
i18n: package hungarian translations
-rw-r--r-- | i18n/hungarian/Makefile | 5 | ||||
-rwxr-xr-x | i18n/hungarian/ipkg/postinst | 4 | ||||
-rwxr-xr-x | i18n/hungarian/root/etc/uci-defaults/luci-i18n-hungarian | 5 |
3 files changed, 14 insertions, 0 deletions
diff --git a/i18n/hungarian/Makefile b/i18n/hungarian/Makefile new file mode 100644 index 000000000..ebde70ce3 --- /dev/null +++ b/i18n/hungarian/Makefile @@ -0,0 +1,5 @@ +PO = base +PO_LANG = hu + +include ../../build/config.mk +include ../../build/module.mk diff --git a/i18n/hungarian/ipkg/postinst b/i18n/hungarian/ipkg/postinst new file mode 100755 index 000000000..7f69ba752 --- /dev/null +++ b/i18n/hungarian/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-i18n-hungarian ) && rm -f /etc/uci-defaults/luci-i18n-hungarian +} diff --git a/i18n/hungarian/root/etc/uci-defaults/luci-i18n-hungarian b/i18n/hungarian/root/etc/uci-defaults/luci-i18n-hungarian new file mode 100755 index 000000000..6d4c8adf9 --- /dev/null +++ b/i18n/hungarian/root/etc/uci-defaults/luci-i18n-hungarian @@ -0,0 +1,5 @@ +#!/bin/sh +uci batch <<-EOF + set luci.languages.hu=Magyar + commit luci +EOF |