Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openwrt/luci.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/i18n
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-04-02 13:48:31 +0400
committerJo-Philipp Wich <jow@openwrt.org>2012-04-02 13:48:31 +0400
commit520528e2864984095ba79894dafa34edd4cf5b09 (patch)
tree74a19726d2294b0a8b4467db890ad70be6830d82 /i18n
parentbe563eac62c4ac07ae2c08b51c3ca723e293b484 (diff)
i18n: package hungarian translations
Diffstat (limited to 'i18n')
-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