summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-06-24 11:51:14 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-06-24 11:51:14 +0000
commitf7c56ac2eac02b1eeaa75aaa777664ffd6f1eeb7 (patch)
treeef6e355910defb1246077fa8df6b4ef1baf2afc7
parent225d28e5edb2731ea2d07d5b9e9d7ea0f3affefe (diff)
i18n: add hebrew language module
-rw-r--r--i18n/hebrew/Makefile5
-rwxr-xr-xi18n/hebrew/ipkg/postinst4
-rw-r--r--i18n/hebrew/root/etc/uci-defaults/luci-i18n-hebrew6
3 files changed, 15 insertions, 0 deletions
diff --git a/i18n/hebrew/Makefile b/i18n/hebrew/Makefile
new file mode 100644
index 0000000000..6527c7a1ee
--- /dev/null
+++ b/i18n/hebrew/Makefile
@@ -0,0 +1,5 @@
+PO = base
+PO_LANG = he
+
+include ../../build/config.mk
+include ../../build/module.mk
diff --git a/i18n/hebrew/ipkg/postinst b/i18n/hebrew/ipkg/postinst
new file mode 100755
index 0000000000..78010a4801
--- /dev/null
+++ b/i18n/hebrew/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-i18n-hebrew ) && rm -f /etc/uci-defaults/luci-i18n-hebrew
+}
diff --git a/i18n/hebrew/root/etc/uci-defaults/luci-i18n-hebrew b/i18n/hebrew/root/etc/uci-defaults/luci-i18n-hebrew
new file mode 100644
index 0000000000..a33c448cd7
--- /dev/null
+++ b/i18n/hebrew/root/etc/uci-defaults/luci-i18n-hebrew
@@ -0,0 +1,6 @@
+#!/bin/sh
+uci batch <<-EOF
+ set luci.languages.he=עִבְרִית
+ commit luci
+EOF
+