summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 000000000..6527c7a1e
--- /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 000000000..78010a480
--- /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 000000000..a33c448cd
--- /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
+