From 85674a55574cf0cdd0d0e3063c2046731f109fba Mon Sep 17 00:00:00 2001
From: Matthias Schiffer <mschiffer@universe-factory.net>
Date: Wed, 27 Jul 2016 02:38:39 +0200
Subject: [PATCH] gluon-luci-admin: rename "Expert Mode" to "Advanced settings"

Use the common term; the "Expert Mode" never was a distinct mode of
operation anyways.
---
 docs/features/wired-mesh.rst                                | 6 +++---
 package/gluon-luci-admin/i18n/de.po                         | 4 ++--
 package/gluon-luci-admin/i18n/fr.po                         | 4 ++--
 package/gluon-luci-admin/i18n/gluon-luci-admin.pot          | 2 +-
 .../luasrc/usr/lib/lua/luci/controller/admin/index.lua      | 2 +-
 5 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/docs/features/wired-mesh.rst b/docs/features/wired-mesh.rst
index 77c7d6b30..b9996335f 100644
--- a/docs/features/wired-mesh.rst
+++ b/docs/features/wired-mesh.rst
@@ -19,7 +19,7 @@ Configuration
 ~~~~~~~~~~~~~
 
 Both Mesh-on-WAN and Mesh-on-LAN can be configured on the "Network" page
-of the *Expert Mode* (if the package ``gluon-luci-portconfig`` is installed).
+of the *Advanced settings* (if the package ``gluon-luci-portconfig`` is installed).
 
 It is also possible to enable Mesh-on-WAN and Mesh-on-LAN by default by
 adding ``mesh_on_wan = true`` and ``mesh_on_lan = true`` to ``site.conf``.
@@ -61,5 +61,5 @@ It may be disabled by running::
   uci commit
 
 Please note that this configuration has changed in Gluon v2016.1. Using
-the old commands on v2016.1 will break the corresponding Expert Mode
-settings.
+the old commands on v2016.1 will break the corresponding options in the
+*Advanced settings*.
diff --git a/package/gluon-luci-admin/i18n/de.po b/package/gluon-luci-admin/i18n/de.po
index ec109ae0e..e2a371d83 100644
--- a/package/gluon-luci-admin/i18n/de.po
+++ b/package/gluon-luci-admin/i18n/de.po
@@ -26,8 +26,8 @@ msgstr "Fortfahren"
 msgid "Don't switch off the device in any circumstance!"
 msgstr "Unterbrich auf keinen Fall die Stromversorgung!"
 
-msgid "Expert Mode"
-msgstr "Expert Mode"
+msgid "Advanced settings"
+msgstr "Erweiterte Einstellungen"
 
 msgid "Firmware image"
 msgstr "Firmware-Datei"
diff --git a/package/gluon-luci-admin/i18n/fr.po b/package/gluon-luci-admin/i18n/fr.po
index 95b267fbe..0a876a35f 100644
--- a/package/gluon-luci-admin/i18n/fr.po
+++ b/package/gluon-luci-admin/i18n/fr.po
@@ -27,8 +27,8 @@ msgstr "Continuer"
 msgid "Don't switch off the device in any circumstance!"
 msgstr "N'interrompez en aucun cas l'alimentation!"
 
-msgid "Expert Mode"
-msgstr "Mode Expert"
+msgid "Advanced settings"
+msgstr "Paramètres avancés"
 
 msgid "Firmware image"
 msgstr "Fichier image"
diff --git a/package/gluon-luci-admin/i18n/gluon-luci-admin.pot b/package/gluon-luci-admin/i18n/gluon-luci-admin.pot
index 197b6367e..d8a0adb0e 100644
--- a/package/gluon-luci-admin/i18n/gluon-luci-admin.pot
+++ b/package/gluon-luci-admin/i18n/gluon-luci-admin.pot
@@ -13,7 +13,7 @@ msgstr ""
 msgid "Don't switch off the device in any circumstance!"
 msgstr ""
 
-msgid "Expert Mode"
+msgid "Advanced settings"
 msgstr ""
 
 msgid "Firmware image"
diff --git a/package/gluon-luci-admin/luasrc/usr/lib/lua/luci/controller/admin/index.lua b/package/gluon-luci-admin/luasrc/usr/lib/lua/luci/controller/admin/index.lua
index 55c0a248e..6598c83a1 100644
--- a/package/gluon-luci-admin/luasrc/usr/lib/lua/luci/controller/admin/index.lua
+++ b/package/gluon-luci-admin/luasrc/usr/lib/lua/luci/controller/admin/index.lua
@@ -29,7 +29,7 @@ function index()
 		root.index = true
 	end
 
-	local page = entry({"admin"}, alias("admin", "index"), _("Expert Mode"), 10)
+	local page = entry({"admin"}, alias("admin", "index"), _("Advanced settings"), 10)
 	page.sysauth = "root"
 	page.sysauth_authenticator = function() return "root" end
 	page.index = true
-- 
GitLab