diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-27 12:41:50 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2012-08-27 12:41:50 +0000 |
commit | d135599c5105494960fa010caa9fb16db3ecb519 (patch) | |
tree | 01563741bc039b500a6f0f592985de373f1a830b | |
parent | 326418be42661e6c83eea18deda6f0888a009f82 (diff) |
i18n: package polish translations
-rw-r--r-- | contrib/package/luci/Makefile | 1 | ||||
-rw-r--r-- | i18n/polish/Makefile | 5 | ||||
-rwxr-xr-x | i18n/polish/ipkg/postinst | 4 | ||||
-rwxr-xr-x | i18n/polish/root/etc/uci-defaults/luci-i18n-polish | 5 |
4 files changed, 15 insertions, 0 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index 9a6124ff2..7d0f6ce50 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -562,6 +562,7 @@ $(eval $(call translation,hebrew,Hebrew)) $(eval $(call translation,romanian,Romanian)) $(eval $(call translation,ukrainian,Ukrainian)) $(eval $(call translation,hungarian,Hungarian)) +$(eval $(call translation,polish,Polish)) ### Collections ### diff --git a/i18n/polish/Makefile b/i18n/polish/Makefile new file mode 100644 index 000000000..cdf26211f --- /dev/null +++ b/i18n/polish/Makefile @@ -0,0 +1,5 @@ +PO = base +PO_LANG = pl + +include ../../build/config.mk +include ../../build/module.mk diff --git a/i18n/polish/ipkg/postinst b/i18n/polish/ipkg/postinst new file mode 100755 index 000000000..c562629e2 --- /dev/null +++ b/i18n/polish/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-i18n-polish ) && rm -f /etc/uci-defaults/luci-i18n-polish +} diff --git a/i18n/polish/root/etc/uci-defaults/luci-i18n-polish b/i18n/polish/root/etc/uci-defaults/luci-i18n-polish new file mode 100755 index 000000000..21dc602c1 --- /dev/null +++ b/i18n/polish/root/etc/uci-defaults/luci-i18n-polish @@ -0,0 +1,5 @@ +#!/bin/sh +uci batch <<-EOF + set luci.languages.pl=Język polski + commit luci +EOF |