summaryrefslogtreecommitdiffhomepage
path: root/i18n/portuguese-brazilian
diff options
context:
space:
mode:
Diffstat (limited to 'i18n/portuguese-brazilian')
-rw-r--r--i18n/portuguese-brazilian/Makefile5
-rwxr-xr-xi18n/portuguese-brazilian/ipkg/postinst4
-rwxr-xr-xi18n/portuguese-brazilian/root/etc/uci-defaults/luci-i18n-portuguese_brazilian5
3 files changed, 14 insertions, 0 deletions
diff --git a/i18n/portuguese-brazilian/Makefile b/i18n/portuguese-brazilian/Makefile
new file mode 100644
index 0000000000..9749c9d500
--- /dev/null
+++ b/i18n/portuguese-brazilian/Makefile
@@ -0,0 +1,5 @@
+PO = base
+PO_LANG = pt-br
+
+include ../../build/config.mk
+include ../../build/module.mk
diff --git a/i18n/portuguese-brazilian/ipkg/postinst b/i18n/portuguese-brazilian/ipkg/postinst
new file mode 100755
index 0000000000..fc33156635
--- /dev/null
+++ b/i18n/portuguese-brazilian/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-i18n-portuguese_brazilian ) && rm -f /etc/uci-defaults/luci-i18n-portuguese_brazilian
+}
diff --git a/i18n/portuguese-brazilian/root/etc/uci-defaults/luci-i18n-portuguese_brazilian b/i18n/portuguese-brazilian/root/etc/uci-defaults/luci-i18n-portuguese_brazilian
new file mode 100755
index 0000000000..1554c1ec83
--- /dev/null
+++ b/i18n/portuguese-brazilian/root/etc/uci-defaults/luci-i18n-portuguese_brazilian
@@ -0,0 +1,5 @@
+#!/bin/sh
+uci batch <<-EOF
+ set luci.languages.pt_br="Português (Brasil)"
+ commit luci
+EOF