diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-10-06 15:38:26 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-10-06 15:38:26 +0000 |
commit | d57f7a9397266fba3928193f233b2fb70ba42605 (patch) | |
tree | 4d2cb2e6636fd4bad6e35ba16bc3b331fd90f78f /i18n | |
parent | 523f70c927beeb85bb59d3410206f9f2c810a156 (diff) |
i18n: initialize romanian language support
Diffstat (limited to 'i18n')
-rw-r--r-- | i18n/romanian/Makefile | 5 | ||||
-rwxr-xr-x | i18n/romanian/ipkg/postinst | 4 | ||||
-rwxr-xr-x | i18n/romanian/root/etc/uci-defaults/luci-i18n-romanian | 6 |
3 files changed, 15 insertions, 0 deletions
diff --git a/i18n/romanian/Makefile b/i18n/romanian/Makefile new file mode 100644 index 000000000..35fbe32dc --- /dev/null +++ b/i18n/romanian/Makefile @@ -0,0 +1,5 @@ +PO = base +PO_LANG = ro + +include ../../build/config.mk +include ../../build/module.mk diff --git a/i18n/romanian/ipkg/postinst b/i18n/romanian/ipkg/postinst new file mode 100755 index 000000000..d8f3b85a2 --- /dev/null +++ b/i18n/romanian/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-i18n-romanian ) && rm -f /etc/uci-defaults/luci-i18n-romanian +} diff --git a/i18n/romanian/root/etc/uci-defaults/luci-i18n-romanian b/i18n/romanian/root/etc/uci-defaults/luci-i18n-romanian new file mode 100755 index 000000000..0f7e7b715 --- /dev/null +++ b/i18n/romanian/root/etc/uci-defaults/luci-i18n-romanian @@ -0,0 +1,6 @@ +#!/bin/sh +uci batch <<-EOF + set luci.languages.ro=Română + commit luci +EOF + |