diff options
-rw-r--r-- | contrib/package/luci/Makefile | 1 | ||||
-rw-r--r-- | i18n/ukrainian/Makefile | 5 | ||||
-rwxr-xr-x | i18n/ukrainian/ipkg/postinst | 4 | ||||
-rwxr-xr-x | i18n/ukrainian/root/etc/uci-defaults/luci-i18n-ukrainian | 6 |
4 files changed, 16 insertions, 0 deletions
diff --git a/contrib/package/luci/Makefile b/contrib/package/luci/Makefile index 7015f828c..133975034 100644 --- a/contrib/package/luci/Makefile +++ b/contrib/package/luci/Makefile @@ -557,6 +557,7 @@ $(eval $(call translation,malay,Malay (by Teow Wai Chet))) $(eval $(call translation,norwegian,Norwegian (by Lars Hardy))) $(eval $(call translation,hebrew,Hebrew)) $(eval $(call translation,romanian,Romanian)) +$(eval $(call translation,ukrainian,Ukrainian)) ### Collections ### 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 + |