summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-04-02 09:48:31 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-04-02 09:48:31 +0000
commit520528e2864984095ba79894dafa34edd4cf5b09 (patch)
tree74a19726d2294b0a8b4467db890ad70be6830d82
parentbe563eac62c4ac07ae2c08b51c3ca723e293b484 (diff)
i18n: package hungarian translations
-rw-r--r--i18n/hungarian/Makefile5
-rwxr-xr-xi18n/hungarian/ipkg/postinst4
-rwxr-xr-xi18n/hungarian/root/etc/uci-defaults/luci-i18n-hungarian5
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