mirror of
https://github.com/openwrt/luci.git
synced 2026-05-31 10:31:55 +08:00
luci-app-mwan3: fix missing translation call for Weight label
The 'Weight' option label in the member configuration uses ('Weight')
instead of _('Weight'), so the string is never passed through the
translation function and always displays in English regardless of
the selected language.
Signed-off-by: Michael Pfeifroth <michael.pfeifroth@westermo.com>
This commit is contained in:
committed by
Paul Donald
parent
e0d557fdb9
commit
00e949fd22
+1
-1
@@ -58,7 +58,7 @@ return view.extend({
|
||||
_('Acceptable values: 1-256. Defaults to 1 if not set'));
|
||||
o.datatype = 'range(1, 256)';
|
||||
|
||||
o = s.option(form.Value, 'weight', ('Weight'),
|
||||
o = s.option(form.Value, 'weight', _('Weight'),
|
||||
_('Acceptable values: 1-1000. Defaults to 1 if not set'));
|
||||
o.datatype = 'range(1, 1000)';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user