luci-app-firewall: follow-up fix to reuse previous i18n strings
authorPaul Donald <newtwen+github@gmail.com>
Wed, 23 Oct 2024 20:19:49 +0000 (22:19 +0200)
committerPaul Donald <newtwen+github@gmail.com>
Wed, 23 Oct 2024 20:19:49 +0000 (22:19 +0200)
follow-up to 46e6b9ba44a33937c7ba89273da9d2f7fde985ad

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js

index fdb77c9116bedec1f9a231f7d945f33dca99d0d3..41b983470746687c2f201feb3a41ef12011f6787 100644 (file)
@@ -79,10 +79,10 @@ return view.extend({
                        s.anonymous = true;
                        s.addremove = false;
 
-                       o = s.option(form.RichListValue, "offloading_type", _("Offloading type"));
+                       o = s.option(form.RichListValue, "offloading_type", _("Flow offloading type"));
                        o.value('0', _("None"));
-                       o.value('1', _("Software offloading"), _('Software based offloading for routing with/without NAT.'));
-                       o.value('2', _("Hardware offloading"), _('Hardware based offloading for routing with/without NAT. Requires hardware support.'));
+                       o.value('1', _("Software flow offloading"), _('Software based offloading for routing/NAT.'));
+                       o.value('2', _("Hardware flow offloading"), _('Hardware based offloading for routing with/without NAT.') + ' ' + _(' Requires hardware NAT support.'));
                        o.optional = false;
                        o.load = function (section_id) {
                                var flow_offloading = uci.get('firewall', section_id, 'flow_offloading');