i18n: package hungarian translations
authorJo-Philipp Wich <jow@openwrt.org>
Mon, 2 Apr 2012 09:48:31 +0000 (09:48 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Mon, 2 Apr 2012 09:48:31 +0000 (09:48 +0000)
i18n/hungarian/Makefile [new file with mode: 0644]
i18n/hungarian/ipkg/postinst [new file with mode: 0755]
i18n/hungarian/root/etc/uci-defaults/luci-i18n-hungarian [new file with mode: 0755]

diff --git a/i18n/hungarian/Makefile b/i18n/hungarian/Makefile
new file mode 100644 (file)
index 0000000..ebde70c
--- /dev/null
@@ -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 (executable)
index 0000000..7f69ba7
--- /dev/null
@@ -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 (executable)
index 0000000..6d4c8ad
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+uci batch <<-EOF
+       set luci.languages.hu=Magyar
+       commit luci
+EOF