OSDN Git Service

luci-mod-network: interfaces.js: remove references to original MAC/MTU
authorJo-Philipp Wich <jo@mein.io>
Fri, 20 May 2022 17:39:11 +0000 (19:39 +0200)
committerJo-Philipp Wich <jo@mein.io>
Fri, 20 May 2022 17:41:14 +0000 (19:41 +0200)
Do not show the original values for MAC and MTU in device list tooltips
anymore as the values we read from the netdev might already stem from
overridden config settings.

Since there's no generic way to acquire that information, remove the
potentially confusing information.

Fixes: #5820
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
36 files changed:
modules/luci-base/po/ar/base.po
modules/luci-base/po/bg/base.po
modules/luci-base/po/bn_BD/base.po
modules/luci-base/po/ca/base.po
modules/luci-base/po/cs/base.po
modules/luci-base/po/da/base.po
modules/luci-base/po/de/base.po
modules/luci-base/po/el/base.po
modules/luci-base/po/en/base.po
modules/luci-base/po/es/base.po
modules/luci-base/po/fi/base.po
modules/luci-base/po/fr/base.po
modules/luci-base/po/he/base.po
modules/luci-base/po/hi/base.po
modules/luci-base/po/hu/base.po
modules/luci-base/po/it/base.po
modules/luci-base/po/ja/base.po
modules/luci-base/po/ko/base.po
modules/luci-base/po/mr/base.po
modules/luci-base/po/ms/base.po
modules/luci-base/po/nb_NO/base.po
modules/luci-base/po/nl/base.po
modules/luci-base/po/pl/base.po
modules/luci-base/po/pt/base.po
modules/luci-base/po/pt_BR/base.po
modules/luci-base/po/ro/base.po
modules/luci-base/po/ru/base.po
modules/luci-base/po/sk/base.po
modules/luci-base/po/sv/base.po
modules/luci-base/po/templates/base.pot
modules/luci-base/po/tr/base.po
modules/luci-base/po/uk/base.po
modules/luci-base/po/vi/base.po
modules/luci-base/po/zh_Hans/base.po
modules/luci-base/po/zh_Hant/base.po
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js

index 6807466..22d6edf 100644 (file)
@@ -8313,7 +8313,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index d6f67ad..9dca890 100644 (file)
@@ -8148,7 +8148,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index aa9d7b6..b5fc89b 100644 (file)
@@ -8077,7 +8077,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 39805ec..e716a70 100644 (file)
@@ -8171,7 +8171,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 2d1553a..246f8d7 100644 (file)
@@ -8332,7 +8332,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 0205b8f..61629dc 100644 (file)
@@ -8555,8 +8555,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "Værdien tilsidesættes af konfigurationen. Original: %s"
+msgid "The value is overridden by configuration."
+msgstr "Værdien tilsidesættes af konfigurationen."
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index 82259a8..9762e22 100644 (file)
@@ -8616,8 +8616,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "Dieser Wert ist durch Konfiguration überschrieben. Originalwert: %s"
+msgid "The value is overridden by configuration."
+msgstr "Dieser Wert ist durch Konfiguration überschrieben."
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index eec8d98..4864d71 100644 (file)
@@ -8175,7 +8175,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 45fce9d..f731bb5 100644 (file)
@@ -8141,7 +8141,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 5d39eb1..243883b 100644 (file)
@@ -8683,8 +8683,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "El valor se reemplaza por la configuración. Original: %s"
+msgid "The value is overridden by configuration."
+msgstr "El valor se reemplaza por la configuración."
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index 3f95d98..7f39c47 100644 (file)
@@ -8390,8 +8390,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "Arvo ohitetaan kokoonpanon toimesta. Alkuperäinen: %s"
+msgid "The value is overridden by configuration."
+msgstr "Arvo ohitetaan kokoonpanon toimesta."
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index a8e57c7..292ea94 100644 (file)
@@ -8443,7 +8443,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 7591914..431166f 100644 (file)
@@ -8105,7 +8105,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 2e2d4bf..564972f 100644 (file)
@@ -8079,7 +8079,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index bb340c6..5d7afaa 100644 (file)
@@ -8369,8 +8369,8 @@ msgstr ""
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
 #, fuzzy
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "Az érték felülírva a konfiguráció által. Eredeti: %s"
+msgid "The value is overridden by configuration."
+msgstr "Az érték felülírva a konfiguráció által."
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index 63c8e11..a4b65f6 100644 (file)
@@ -8337,7 +8337,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 3650dc9..8c0cecd 100644 (file)
@@ -8411,8 +8411,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "設定値によりオーバーライドされます。元の値: %s"
+msgid "The value is overridden by configuration."
+msgstr "設定値によりオーバーライドされます。"
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index 30f411f..61e5e89 100644 (file)
@@ -8183,7 +8183,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 2acbe2f..7927941 100644 (file)
@@ -8077,7 +8077,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 6d11ffc..94f51d7 100644 (file)
@@ -8112,7 +8112,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index db13d60..473f71f 100644 (file)
@@ -8199,7 +8199,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index a6ca34c..849181b 100644 (file)
@@ -8094,7 +8094,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 9f6e27e..6167042 100644 (file)
@@ -8595,8 +8595,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "Wartość jest zastępowana przez konfigurację. Oryginał: %s"
+msgid "The value is overridden by configuration."
+msgstr "Wartość jest zastępowana przez konfigurację."
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index 684d516..d1d374d 100644 (file)
@@ -8617,8 +8617,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "O valor é substituído pela configuração. Original: %s"
+msgid "The value is overridden by configuration."
+msgstr "O valor é substituído pela configuração."
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index fec2260..df0010c 100644 (file)
@@ -8681,8 +8681,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "O valor é substituído pela configuração. Original: %s"
+msgid "The value is overridden by configuration."
+msgstr "O valor é substituído pela configuração."
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index 4beef3e..dba6033 100644 (file)
@@ -8631,8 +8631,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "Valoarea este suprascrisă de configurare. Original: %s"
+msgid "The value is overridden by configuration."
+msgstr "Valoarea este suprascrisă de configurare."
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index 8de761f..b2dbcc2 100644 (file)
@@ -8613,8 +8613,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "Значение переопределено конфигурацией. Оригинал: %s"
+msgid "The value is overridden by configuration."
+msgstr "Значение переопределено конфигурацией."
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index 14e77a8..1483bb2 100644 (file)
@@ -8135,7 +8135,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 1d0d136..da039f7 100644 (file)
@@ -8114,7 +8114,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 05b4b92..c6d24bb 100644 (file)
@@ -8068,7 +8068,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 241bfab..e05a3a0 100644 (file)
@@ -8555,8 +8555,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "Değer, konfigürasyon tarafından geçersiz kılınır. Orijinali: %s"
+msgid "The value is overridden by configuration."
+msgstr "Değer, konfigürasyon tarafından geçersiz kılınır."
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index 48f9a47..8999086 100644 (file)
@@ -8674,8 +8674,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "Значення перевизначено конфігурацією. Оригінал: %s"
+msgid "The value is overridden by configuration."
+msgstr "Значення перевизначено конфігурацією."
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index 09346d1..9a7200b 100644 (file)
@@ -8276,7 +8276,7 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
+msgid "The value is overridden by configuration."
 msgstr ""
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
index 8d7ab81..cf639b8 100644 (file)
@@ -8271,8 +8271,8 @@ msgstr "不支持所上传的映像文件格式,请选择适合当前平台的
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "该值被配置覆盖。 原始:%s"
+msgid "The value is overridden by configuration."
+msgstr "该值被配置覆盖。"
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index c79f1f4..b0aee4b 100644 (file)
@@ -8280,8 +8280,8 @@ msgstr ""
 
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1453
 #: modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js:1465
-msgid "The value is overridden by configuration. Original: %s"
-msgstr "該值被設定覆蓋。 原始:%s"
+msgid "The value is overridden by configuration."
+msgstr "該值被設定覆蓋。"
 
 #: protocols/luci-proto-batman-adv/htdocs/luci-static/resources/protocol/batadv.js:56
 msgid ""
index 5b99ae1..18078cd 100644 (file)
@@ -1450,7 +1450,7 @@ return view.extend({
                            mac = dev ? dev.getMAC() : null;
 
                        return val ? E('strong', {
-                               'data-tooltip': _('The value is overridden by configuration. Original: %s').format(mac || _('unknown'))
+                               'data-tooltip': _('The value is overridden by configuration.')
                        }, [ val.toUpperCase() ]) : (mac || '-');
                };
 
@@ -1462,7 +1462,7 @@ return view.extend({
                            mtu = dev ? dev.getMTU() : null;
 
                        return val ? E('strong', {
-                               'data-tooltip': _('The value is overridden by configuration. Original: %s').format(mtu || _('unknown'))
+                               'data-tooltip': _('The value is overridden by configuration.')
                        }, [ val ]) : (mtu || '-').toString();
                };