luci-mod-network: Clarify 'metric' value
authorPaul Donald <newtwen+github@gmail.com>
Wed, 11 Sep 2024 23:17:13 +0000 (01:17 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Wed, 11 Sep 2024 23:18:05 +0000 (01:18 +0200)
Signed-off-by: Paul Donald <newtwen+github@gmail.com>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js

index bacf530f144faae270d298f0e732379ea10e2149..e9fc932ab2202bc281a284c562616b584c7ff9ec 100644 (file)
@@ -1071,7 +1071,8 @@ return view.extend({
                                o.datatype = 'uinteger';
                                o.placeholder = '0';
 
-                               o = nettools.replaceOption(s, 'advanced', form.Value, 'metric', _('Use gateway metric'));
+                               o = nettools.replaceOption(s, 'advanced', form.Value, 'metric', _('Use gateway metric'),
+                                       _('Metric is an ordinal, where a gateway with 1 is chosen 1st, 2 is chosen 2nd, 3 is chosen 3rd, etc'));
                                o.datatype = 'uinteger';
                                o.placeholder = '0';