From: Manuel Munz Date: Thu, 21 Apr 2011 14:22:09 +0000 (+0000) Subject: luci-0.10: Merge r6993 X-Git-Tag: 0.10.0~159 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2eaf5fdd10fe29d16e6ae4e9c0e39163782f0ee0;p=oweals%2Fluci.git luci-0.10: Merge r6993 --- diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index f93ea1925..c8865cebe 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -500,6 +500,7 @@ $(eval $(call translation,french,French (by Florian Fainelli))) $(eval $(call translation,italian,Italian (by Matteo Croce))) $(eval $(call translation,russian,Russian (by Skryabin Dmitry))) $(eval $(call translation,portuguese_brazilian,Portuguese (Brazilian) (by Carlos Cesario))) +$(eval $(call translation,chinese,chinese (by zjhzzyf))) $(eval $(call translation,japanese,Japanese (by Tsukasa Hamano))) $(eval $(call translation,greek,Greek (by Vasilis Tsiligiannis))) $(eval $(call translation,catalan,Catalan (by Eduard Duran))) diff --git a/i18n/chinese/Makefile b/i18n/chinese/Makefile new file mode 100644 index 000000000..bb1480e97 --- /dev/null +++ b/i18n/chinese/Makefile @@ -0,0 +1,5 @@ +PO = base +PO_LANG = zh-cn + +include ../../build/config.mk +include ../../build/module.mk diff --git a/i18n/chinese/ipkg/postinst b/i18n/chinese/ipkg/postinst new file mode 100644 index 000000000..9fbec28ca --- /dev/null +++ b/i18n/chinese/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-i18n-chinese ) && rm -f /etc/uci-defaults/luci-i18n-chinese +} diff --git a/i18n/chinese/root/etc/uci-defaults/luci-i18n-chinese b/i18n/chinese/root/etc/uci-defaults/luci-i18n-chinese new file mode 100644 index 000000000..aee25e6f0 --- /dev/null +++ b/i18n/chinese/root/etc/uci-defaults/luci-i18n-chinese @@ -0,0 +1,5 @@ +#!/bin/sh +uci batch <<-EOF + set luci.languages.zh_cn=chinese + commit luci +EOF