From bc709dd46dd2208e2e9a52fca7e819b92c9512ad Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 30 Nov 2011 15:10:55 +0000 Subject: i18n, contrib: package ukrainian language support --- i18n/ukrainian/Makefile | 5 +++++ i18n/ukrainian/ipkg/postinst | 4 ++++ i18n/ukrainian/root/etc/uci-defaults/luci-i18n-ukrainian | 6 ++++++ 3 files changed, 15 insertions(+) create mode 100644 i18n/ukrainian/Makefile create mode 100755 i18n/ukrainian/ipkg/postinst create mode 100755 i18n/ukrainian/root/etc/uci-defaults/luci-i18n-ukrainian (limited to 'i18n') diff --git a/i18n/ukrainian/Makefile b/i18n/ukrainian/Makefile new file mode 100644 index 000000000..3252b0088 --- /dev/null +++ b/i18n/ukrainian/Makefile @@ -0,0 +1,5 @@ +PO = base +PO_LANG = uk + +include ../../build/config.mk +include ../../build/module.mk diff --git a/i18n/ukrainian/ipkg/postinst b/i18n/ukrainian/ipkg/postinst new file mode 100755 index 000000000..ba9a7af0d --- /dev/null +++ b/i18n/ukrainian/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-i18n-ukrainian ) && rm -f /etc/uci-defaults/luci-i18n-ukrainian +} diff --git a/i18n/ukrainian/root/etc/uci-defaults/luci-i18n-ukrainian b/i18n/ukrainian/root/etc/uci-defaults/luci-i18n-ukrainian new file mode 100755 index 000000000..48cfc5ebc --- /dev/null +++ b/i18n/ukrainian/root/etc/uci-defaults/luci-i18n-ukrainian @@ -0,0 +1,6 @@ +#!/bin/sh +uci batch <<-EOF + set luci.languages.en=English + commit luci +EOF + -- cgit v1.2.3