From 0608ff09f8a3b4e558c44ec73b1ef62e19666bac Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 16 Jan 2020 22:13:34 +0100 Subject: luci-app-firewall: consolidate duplicate option code Signed-off-by: Jo-Philipp Wich --- applications/luci-app-firewall/po/bg/firewall.po | 161 ++++++++++------------- 1 file changed, 70 insertions(+), 91 deletions(-) (limited to 'applications/luci-app-firewall/po/bg') diff --git a/applications/luci-app-firewall/po/bg/firewall.po b/applications/luci-app-firewall/po/bg/firewall.po index cc6a5e3148..6498e6f6f8 100644 --- a/applications/luci-app-firewall/po/bg/firewall.po +++ b/applications/luci-app-firewall/po/bg/firewall.po @@ -101,25 +101,25 @@ msgstr "" msgid "Any" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:602 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:618 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:377 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:393 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:454 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:470 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:329 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:345 msgid "Any day" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:425 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:369 msgid "" "Apply a bitwise XOR of the given value and the existing mark value on " "established connections. Format is value[/mask]. If a mask is specified then " "those bits set in the mask are zeroed out." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:438 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:316 msgid "Apply the given DSCP class or value to established connections." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:476 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:416 msgid "Assign the specified connection tracking helper to matched traffic." msgstr "" @@ -171,11 +171,11 @@ msgstr "" msgid "DSCP classification" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:438 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:315 msgid "DSCP mark" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:466 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:349 msgid "DSCP mark required" msgstr "" @@ -256,11 +256,7 @@ msgstr "" msgid "Enable logging on this zone" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:313 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:420 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:433 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:512 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:327 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:391 msgid "Expecting: %s" msgstr "" @@ -280,9 +276,9 @@ msgstr "" msgid "External port" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:354 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:594 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:368 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:306 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:446 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:320 msgid "Extra arguments" msgstr "" @@ -335,8 +331,8 @@ msgstr "" msgid "Forward to" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:608 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:383 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:460 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:335 msgid "Friday" msgstr "" @@ -441,20 +437,15 @@ msgstr "" msgid "Internal zone" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:471 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:553 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:357 msgid "Invalid DSCP mark" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:341 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:581 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:355 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:425 msgid "Invalid limit value" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:346 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:586 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:360 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:435 msgid "Limit burst" msgstr "" @@ -462,15 +453,11 @@ msgstr "" msgid "Limit log messages" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:318 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:558 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:332 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:401 msgid "Limit matching" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:319 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:559 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:333 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:402 msgid "Limits traffic matching to the specified rate." msgstr "" @@ -510,7 +497,7 @@ msgid "" "with firewall mark %{mark}} %{limit?limited to %{limit}}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:517 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:315 msgid "Match DSCP" msgstr "" @@ -541,7 +528,7 @@ msgid "" msgstr "" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:284 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:483 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:423 msgid "Match helper" msgstr "" @@ -551,20 +538,16 @@ msgid "" "on this host" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:302 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:501 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:316 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:368 msgid "Match mark" msgstr "" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:284 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:483 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:423 msgid "Match traffic using the specified connection tracking helper." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:303 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:502 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:317 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:371 msgid "Matches a specific firewall mark or a range of different marks." msgstr "" @@ -572,25 +555,23 @@ msgstr "" msgid "Matches forwarded traffic using the specified outbound network device." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:518 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:316 msgid "Matches traffic carrying the specified DSCP marking." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:347 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:587 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:361 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:436 msgid "" "Maximum initial number of packets to match: this number gets recharged by " "one every time the limit specified above is not reached, up to this number." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:604 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:379 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:456 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:331 msgid "Monday" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:614 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:389 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:466 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:341 msgid "Month Days" msgstr "" @@ -648,9 +629,9 @@ msgstr "" msgid "Output" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:355 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:595 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:369 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:307 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:447 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:321 msgid "Passes additional arguments to iptables. Use with care!" msgstr "" @@ -754,16 +735,16 @@ msgstr "" msgid "SNAT - Rewrite to specific source IP or port" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:609 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:384 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:461 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:336 msgid "Saturday" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:412 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:368 msgid "Set mark" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:412 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:370 msgid "" "Set the given mark value on established connections. Format is value[/mask]. " "If a mask is specified then only those bits set in the mask are modified." @@ -844,28 +825,28 @@ msgid "" "reflected traffic." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:633 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:408 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:485 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:360 msgid "Start Date (yyyy-mm-dd)" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:625 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:400 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:477 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:352 msgid "Start Time (hh.mm.ss)" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:637 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:412 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:489 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:364 msgid "Stop Date (yyyy-mm-dd)" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:629 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:404 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:481 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:356 msgid "Stop Time (hh.mm.ss)" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:603 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:378 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:455 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:330 msgid "Sunday" msgstr "" @@ -895,8 +876,8 @@ msgid "" "networks specifies which available networks are members of this zone." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:607 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:382 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:459 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:334 msgid "Thursday" msgstr "" @@ -905,8 +886,8 @@ msgstr "" msgid "Time Restrictions" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:641 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:416 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:493 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:368 msgid "Time in UTC" msgstr "" @@ -932,7 +913,7 @@ msgid "" "%{device?egress device %{device}}" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:476 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:416 msgid "Tracking helper" msgstr "" @@ -948,8 +929,8 @@ msgid "" "the router." msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:605 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:380 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:457 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:332 msgid "Tuesday" msgstr "" @@ -958,7 +939,7 @@ msgid "Unable to save contents: %s" msgstr "" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:299 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:498 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:438 msgid "Unknown or not installed conntrack helper \"%s\"" msgstr "" @@ -1001,6 +982,10 @@ msgid "" "instead of networks or devices." msgstr "" +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:383 +msgid "Valid firewall mark required" +msgstr "" + #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:72 msgid "Via %s" msgstr "" @@ -1009,13 +994,13 @@ msgstr "" msgid "Via %s at %s" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:606 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:381 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:458 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:333 msgid "Wednesday" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:598 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:373 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:450 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:325 msgid "Week Days" msgstr "" @@ -1023,7 +1008,7 @@ msgstr "" msgid "XOR firewall mark" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:425 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:368 msgid "XOR mark" msgstr "" @@ -1041,6 +1026,7 @@ msgstr "" msgid "accept" msgstr "" +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:320 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:186 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:199 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:212 @@ -1053,9 +1039,8 @@ msgstr "" #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:361 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:376 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:382 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:478 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:485 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:521 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:418 +#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:425 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:219 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:232 #: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:243 @@ -1154,9 +1139,7 @@ msgstr "" msgid "types" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:322 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:562 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:336 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:406 msgid "unlimited" msgstr "" @@ -1164,10 +1147,6 @@ msgstr "" msgid "unspecified" msgstr "" -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js:313 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:420 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:433 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/rules.js:512 -#: applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js:327 +#: applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js:391 msgid "valid firewall mark" msgstr "" -- cgit v1.2.3