summaryrefslogtreecommitdiffhomepage
path: root/i18n
diff options
context:
space:
mode:
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
+