From 520528e2864984095ba79894dafa34edd4cf5b09 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 2 Apr 2012 09:48:31 +0000 Subject: [PATCH] i18n: package hungarian translations --- i18n/hungarian/Makefile | 5 +++++ i18n/hungarian/ipkg/postinst | 4 ++++ i18n/hungarian/root/etc/uci-defaults/luci-i18n-hungarian | 5 +++++ 3 files changed, 14 insertions(+) create mode 100644 i18n/hungarian/Makefile create mode 100755 i18n/hungarian/ipkg/postinst create mode 100755 i18n/hungarian/root/etc/uci-defaults/luci-i18n-hungarian diff --git a/i18n/hungarian/Makefile b/i18n/hungarian/Makefile new file mode 100644 index 000000000..ebde70ce3 --- /dev/null +++ b/i18n/hungarian/Makefile @@ -0,0 +1,5 @@ +PO = base +PO_LANG = hu + +include ../../build/config.mk +include ../../build/module.mk diff --git a/i18n/hungarian/ipkg/postinst b/i18n/hungarian/ipkg/postinst new file mode 100755 index 000000000..7f69ba752 --- /dev/null +++ b/i18n/hungarian/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-i18n-hungarian ) && rm -f /etc/uci-defaults/luci-i18n-hungarian +} diff --git a/i18n/hungarian/root/etc/uci-defaults/luci-i18n-hungarian b/i18n/hungarian/root/etc/uci-defaults/luci-i18n-hungarian new file mode 100755 index 000000000..6d4c8adf9 --- /dev/null +++ b/i18n/hungarian/root/etc/uci-defaults/luci-i18n-hungarian @@ -0,0 +1,5 @@ +#!/bin/sh +uci batch <<-EOF + set luci.languages.hu=Magyar + commit luci +EOF -- 2.25.1