diff options
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 0000000000..bb0462f4bb --- /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 0000000000..48be5724bc --- /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 0000000000..7041ac2900 --- /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 + |