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>2011-10-06 19:38:26 +0400
committerJo-Philipp Wich <jow@openwrt.org>2011-10-06 19:38:26 +0400
commitd57f7a9397266fba3928193f233b2fb70ba42605 (patch)
tree4d2cb2e6636fd4bad6e35ba16bc3b331fd90f78f /i18n
parent523f70c927beeb85bb59d3410206f9f2c810a156 (diff)
i18n: initialize romanian language support
Diffstat (limited to 'i18n')
-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 0000000000..35fbe32dca
--- /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 0000000000..d8f3b85a25
--- /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 0000000000..0f7e7b7159
--- /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
+