summaryrefslogtreecommitdiffhomepage
path: root/i18n
diff options
context:
space:
mode:
Diffstat (limited to 'i18n')
-rw-r--r--i18n/ukrainian/Makefile5
-rwxr-xr-xi18n/ukrainian/ipkg/postinst4
-rwxr-xr-xi18n/ukrainian/root/etc/uci-defaults/luci-i18n-ukrainian6
3 files changed, 15 insertions, 0 deletions
diff --git a/i18n/ukrainian/Makefile b/i18n/ukrainian/Makefile
new file mode 100644
index 0000000000..3252b00885
--- /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 0000000000..ba9a7af0d9
--- /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 0000000000..48cfc5ebc6
--- /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
+