diff options
author | Steven Barth <steven@midlink.org> | 2008-07-23 11:13:33 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-07-23 11:13:33 +0000 |
commit | 4deb48622868cfbf6b7d9a8f710df16825aec664 (patch) | |
tree | f34c6f74f9d72d1c4d2e38002c1cccbefcfbdd56 /i18n/german | |
parent | f10b0e58e2ca9a3c3760965e83a1bcac0954407a (diff) |
i18n: Added dynamic registration for translations
Diffstat (limited to 'i18n/german')
-rwxr-xr-x | i18n/german/ipkg/postinst | 4 | ||||
-rwxr-xr-x | i18n/german/root/etc/uci-defaults/luci-i18n-german | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/i18n/german/ipkg/postinst b/i18n/german/ipkg/postinst new file mode 100755 index 000000000..c5af66287 --- /dev/null +++ b/i18n/german/ipkg/postinst @@ -0,0 +1,4 @@ +#!/bin/sh +[ -n "${IPKG_INSTROOT}" ] || { + ( . /etc/uci-defaults/luci-i18n-german ) && rm -f /etc/uci-defaults/luci-i18n-german +} diff --git a/i18n/german/root/etc/uci-defaults/luci-i18n-german b/i18n/german/root/etc/uci-defaults/luci-i18n-german new file mode 100755 index 000000000..26a928fae --- /dev/null +++ b/i18n/german/root/etc/uci-defaults/luci-i18n-german @@ -0,0 +1,6 @@ +#!/bin/sh +uci batch <<-EOF + set luci.languages.de=Deutsch + commit luci +EOF + |