summaryrefslogtreecommitdiffhomepage
path: root/i18n/hungarian
diff options
context:
space:
mode:
Diffstat (limited to 'i18n/hungarian')
-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 0000000000..ebde70ce3d
--- /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 0000000000..7f69ba7528
--- /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 0000000000..6d4c8adf9a
--- /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