summaryrefslogtreecommitdiffhomepage
path: root/i18n
diff options
context:
space:
mode:
Diffstat (limited to 'i18n')
-rw-r--r--i18n/catalan/Makefile5
-rwxr-xr-xi18n/catalan/ipkg/postinst4
-rwxr-xr-xi18n/catalan/root/etc/uci-defaults/luci-i18n-catalan6
-rw-r--r--i18n/portuguese/Makefile5
-rwxr-xr-xi18n/portuguese/ipkg/postinst4
-rwxr-xr-xi18n/portuguese/root/etc/uci-defaults/luci-i18n-portuguese6
6 files changed, 30 insertions, 0 deletions
diff --git a/i18n/catalan/Makefile b/i18n/catalan/Makefile
new file mode 100644
index 000000000..bb0462f4b
--- /dev/null
+++ b/i18n/catalan/Makefile
@@ -0,0 +1,5 @@
+PO = default cbi admin-core sysauth wifi
+PO_LANG = ca
+
+include ../../build/config.mk
+include ../../build/module.mk
diff --git a/i18n/catalan/ipkg/postinst b/i18n/catalan/ipkg/postinst
new file mode 100755
index 000000000..48be5724b
--- /dev/null
+++ b/i18n/catalan/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-i18n-catalan ) && rm -f /etc/uci-defaults/luci-i18n-catalan
+}
diff --git a/i18n/catalan/root/etc/uci-defaults/luci-i18n-catalan b/i18n/catalan/root/etc/uci-defaults/luci-i18n-catalan
new file mode 100755
index 000000000..7041ac290
--- /dev/null
+++ b/i18n/catalan/root/etc/uci-defaults/luci-i18n-catalan
@@ -0,0 +1,6 @@
+#!/bin/sh
+uci batch <<-EOF
+ set luci.languages.ca=Catalan
+ commit luci
+EOF
+
diff --git a/i18n/portuguese/Makefile b/i18n/portuguese/Makefile
new file mode 100644
index 000000000..a16323490
--- /dev/null
+++ b/i18n/portuguese/Makefile
@@ -0,0 +1,5 @@
+PO = default cbi admin-core sysauth wifi
+PO_LANG = pt
+
+include ../../build/config.mk
+include ../../build/module.mk
diff --git a/i18n/portuguese/ipkg/postinst b/i18n/portuguese/ipkg/postinst
new file mode 100755
index 000000000..cc97e03e8
--- /dev/null
+++ b/i18n/portuguese/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-i18n-portuguese ) && rm -f /etc/uci-defaults/luci-i18n-portuguese
+}
diff --git a/i18n/portuguese/root/etc/uci-defaults/luci-i18n-portuguese b/i18n/portuguese/root/etc/uci-defaults/luci-i18n-portuguese
new file mode 100755
index 000000000..59ca6fe9e
--- /dev/null
+++ b/i18n/portuguese/root/etc/uci-defaults/luci-i18n-portuguese
@@ -0,0 +1,6 @@
+#!/bin/sh
+uci batch <<-EOF
+ set luci.languages.pt=Portuguese
+ commit luci
+EOF
+