diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-27 08:35:37 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-05-27 08:35:37 +0000 |
commit | f8771c17dca6e9a357581595ade7dae0dc543cb9 (patch) | |
tree | c4981eeb3a088df1e796b0286db8b687e2c9cbcf /i18n/catalan | |
parent | f9a9e8ef89c6274db6e826c2392bb822312b216f (diff) |
add language packages for portuguese and catalan
Diffstat (limited to 'i18n/catalan')
-rw-r--r-- | i18n/catalan/Makefile | 5 | ||||
-rwxr-xr-x | i18n/catalan/ipkg/postinst | 4 | ||||
-rwxr-xr-x | i18n/catalan/root/etc/uci-defaults/luci-i18n-catalan | 6 |
3 files changed, 15 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 + |