From d135599c5105494960fa010caa9fb16db3ecb519 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 27 Aug 2012 12:41:50 +0000 Subject: i18n: package polish translations --- i18n/polish/Makefile | 5 +++++ i18n/polish/ipkg/postinst | 4 ++++ i18n/polish/root/etc/uci-defaults/luci-i18n-polish | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 i18n/polish/Makefile create mode 100755 i18n/polish/ipkg/postinst create mode 100755 i18n/polish/root/etc/uci-defaults/luci-i18n-polish (limited to 'i18n') 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 -- cgit v1.2.3