From cfa774ee72d12e1326933efd6eb8abc1ef61c9d5 Mon Sep 17 00:00:00 2001 From: Hannu Nyman Date: Sun, 17 Nov 2024 10:24:03 +0200 Subject: [PATCH] luci-mod-network: Fix for a9e1685 to enable translation Fix the erroneous placement of ) in a9e1685 to actually provide translation. Fixes #7401 Signed-off-by: Hannu Nyman --- .../htdocs/luci-static/resources/view/network/routes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js index b5785197dc..d376dfafed 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/routes.js @@ -93,7 +93,7 @@ return view.extend({ o.placeholder = 1500; o = s.taboption('advanced', form.Value, 'table', _('Table'), _('Routing table into which to insert this rule.') + '
' + - _('A numeric table index, or symbol alias declared in %s. Special aliases local (255), main (254) and default (253) are also valid'.format('/etc/iproute2/rt_tables')) + _('A numeric table index, or symbol alias declared in %s. Special aliases local (255), main (254) and default (253) are also valid').format('/etc/iproute2/rt_tables') + '
' + _('Only interfaces using this table (via override) will use this route.')); o.datatype = 'or(uinteger, string)'; for (var i = 0; i < rtTables.length; i++) @@ -170,7 +170,7 @@ return view.extend({ }; o = s.taboption('advanced', form.Value, 'lookup', _('Table'), _('Routing table to use for traffic matching this rule.') + '
' + - _('A numeric table index, or symbol alias declared in %s. Special aliases local (255), main (254) and default (253) are also valid'.format('/etc/iproute2/rt_tables')) + _('A numeric table index, or symbol alias declared in %s. Special aliases local (255), main (254) and default (253) are also valid').format('/etc/iproute2/rt_tables') + '
' + _('Matched traffic re-targets to an interface using this table.')); o.datatype = 'or(uinteger, string)'; for (var i = 0; i < rtTables.length; i++) -- 2.30.2