diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-06 21:24:28 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-02-06 21:24:28 +0000 |
commit | 8d2e51bb94e30f1606d20dc22a7334abcb89c9b1 (patch) | |
tree | c62b53b44755750f1eb42f039fdf7a0f0a7621b9 /i18n/portuguese-brazilian | |
parent | 74bf635d8cd298c2eccb804c669d565341403d9a (diff) |
contrib, i18n: fix portuguese-brazilian translation package
Diffstat (limited to 'i18n/portuguese-brazilian')
-rw-r--r-- | i18n/portuguese-brazilian/Makefile | 5 | ||||
-rwxr-xr-x | i18n/portuguese-brazilian/ipkg/postinst | 4 | ||||
-rwxr-xr-x | i18n/portuguese-brazilian/root/etc/uci-defaults/luci-i18n-portuguese_brazilian | 5 |
3 files changed, 14 insertions, 0 deletions
diff --git a/i18n/portuguese-brazilian/Makefile b/i18n/portuguese-brazilian/Makefile new file mode 100644 index 000000000..9749c9d50 --- /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 000000000..fc3315663 --- /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 000000000..1554c1ec8 --- /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 |