i18n: add hebrew language module
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 24 Jun 2011 11:51:14 +0000 (11:51 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 24 Jun 2011 11:51:14 +0000 (11:51 +0000)
i18n/hebrew/Makefile [new file with mode: 0644]
i18n/hebrew/ipkg/postinst [new file with mode: 0755]
i18n/hebrew/root/etc/uci-defaults/luci-i18n-hebrew [new file with mode: 0644]

diff --git a/i18n/hebrew/Makefile b/i18n/hebrew/Makefile
new file mode 100644 (file)
index 0000000..6527c7a
--- /dev/null
@@ -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 (executable)
index 0000000..78010a4
--- /dev/null
@@ -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 (file)
index 0000000..a33c448
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/sh
+uci batch <<-EOF
+       set luci.languages.he=עִבְרִית
+       commit luci
+EOF
+