summaryrefslogtreecommitdiffhomepage
path: root/i18n/romanian
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-10-06 15:38:26 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-10-06 15:38:26 +0000
commitd57f7a9397266fba3928193f233b2fb70ba42605 (patch)
tree4d2cb2e6636fd4bad6e35ba16bc3b331fd90f78f /i18n/romanian
parent523f70c927beeb85bb59d3410206f9f2c810a156 (diff)
i18n: initialize romanian language support
Diffstat (limited to 'i18n/romanian')
-rw-r--r--i18n/romanian/Makefile5
-rwxr-xr-xi18n/romanian/ipkg/postinst4
-rwxr-xr-xi18n/romanian/root/etc/uci-defaults/luci-i18n-romanian6
3 files changed, 15 insertions, 0 deletions
diff --git a/i18n/romanian/Makefile b/i18n/romanian/Makefile
new file mode 100644
index 000000000..35fbe32dc
--- /dev/null
+++ b/i18n/romanian/Makefile
@@ -0,0 +1,5 @@
+PO = base
+PO_LANG = ro
+
+include ../../build/config.mk
+include ../../build/module.mk
diff --git a/i18n/romanian/ipkg/postinst b/i18n/romanian/ipkg/postinst
new file mode 100755
index 000000000..d8f3b85a2
--- /dev/null
+++ b/i18n/romanian/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-i18n-romanian ) && rm -f /etc/uci-defaults/luci-i18n-romanian
+}
diff --git a/i18n/romanian/root/etc/uci-defaults/luci-i18n-romanian b/i18n/romanian/root/etc/uci-defaults/luci-i18n-romanian
new file mode 100755
index 000000000..0f7e7b715
--- /dev/null
+++ b/i18n/romanian/root/etc/uci-defaults/luci-i18n-romanian
@@ -0,0 +1,6 @@
+#!/bin/sh
+uci batch <<-EOF
+ set luci.languages.ro=Română
+ commit luci
+EOF
+