summaryrefslogtreecommitdiffhomepage
path: root/i18n/french
diff options
context:
space:
mode:
Diffstat (limited to 'i18n/french')
-rwxr-xr-xi18n/french/ipkg/postinst4
-rwxr-xr-xi18n/french/root/etc/uci-defaults/luci-i18n-french6
2 files changed, 10 insertions, 0 deletions
diff --git a/i18n/french/ipkg/postinst b/i18n/french/ipkg/postinst
new file mode 100755
index 0000000000..e220e4dca6
--- /dev/null
+++ b/i18n/french/ipkg/postinst
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -n "${IPKG_INSTROOT}" ] || {
+ ( . /etc/uci-defaults/luci-i18n-french ) && rm -f /etc/uci-defaults/luci-i18n-french
+}
diff --git a/i18n/french/root/etc/uci-defaults/luci-i18n-french b/i18n/french/root/etc/uci-defaults/luci-i18n-french
new file mode 100755
index 0000000000..3a6f8c200d
--- /dev/null
+++ b/i18n/french/root/etc/uci-defaults/luci-i18n-french
@@ -0,0 +1,6 @@
+#!/bin/sh
+uci batch <<-EOF
+ set luci.languages.fr=Français
+ commit luci
+EOF
+