luci-app-pbr: additional error messages

Signed-off-by: Stan Grishin <stangri@melmac.ca>
This commit is contained in:
Stan Grishin 2023-01-03 19:56:08 +00:00
parent f470452c4a
commit a748f86fec
3 changed files with 24 additions and 14 deletions

View file

@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk
PKG_LICENSE:=GPL-3.0-or-later PKG_LICENSE:=GPL-3.0-or-later
PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca> PKG_MAINTAINER:=Stan Grishin <stangri@melmac.ca>
PKG_VERSION:=1.0.1-1 PKG_VERSION:=1.0.1-10
LUCI_TITLE:=Policy Based Routing Service Web UI LUCI_TITLE:=Policy Based Routing Service Web UI
LUCI_DESCRIPTION:=Provides Web UI for Policy Based Routing Service. LUCI_DESCRIPTION:=Provides Web UI for Policy Based Routing Service.

View file

@ -231,6 +231,8 @@ var status = baseclass.extend({
errorPolicyProcessUnknownProtocol: _("Unknown protocol in policy %s"), errorPolicyProcessUnknownProtocol: _("Unknown protocol in policy %s"),
errorPolicyProcessInsertionFailed: _("Insertion failed for both IPv4 and IPv6 for policy %s"), errorPolicyProcessInsertionFailed: _("Insertion failed for both IPv4 and IPv6 for policy %s"),
errorPolicyProcessInsertionFailedIpv4: _("Insertion failed for IPv4 for policy %s"), errorPolicyProcessInsertionFailedIpv4: _("Insertion failed for IPv4 for policy %s"),
errorInterfaceRoutingEmptyValues: _("Received empty tid/mark or interface name when setting up routing"),
errorFailedToResolve: _("Failed to resolve %s"),
}; };
var errorsTitle = E('label', { class: 'cbi-value-title' }, _("Service Errors")); var errorsTitle = E('label', { class: 'cbi-value-title' }, _("Service Errors"));
var text = ""; var text = "";

View file

@ -95,7 +95,7 @@ msgstr ""
msgid "Default ICMP Interface" msgid "Default ICMP Interface"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:308 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:310
msgid "Disable" msgid "Disable"
msgstr "" msgstr ""
@ -105,7 +105,7 @@ msgstr ""
msgid "Disabled" msgid "Disabled"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:304 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:306
msgid "Disabling %s service" msgid "Disabling %s service"
msgstr "" msgstr ""
@ -127,7 +127,7 @@ msgstr ""
msgid "Do not enforce policies when their gateway is down" msgid "Do not enforce policies when their gateway is down"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:297 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:299
msgid "Enable" msgid "Enable"
msgstr "" msgstr ""
@ -138,7 +138,7 @@ msgstr ""
msgid "Enabled" msgid "Enabled"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:293 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:295
msgid "Enabling %s service" msgid "Enabling %s service"
msgstr "" msgstr ""
@ -156,6 +156,10 @@ msgstr ""
msgid "Failed to reload '%s'!" msgid "Failed to reload '%s'!"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:235
msgid "Failed to resolve %s"
msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:220 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:220
msgid "Failed to set up '%s'!" msgid "Failed to set up '%s'!"
msgstr "" msgstr ""
@ -292,6 +296,10 @@ msgstr ""
msgid "Protocol" msgid "Protocol"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:234
msgid "Received empty tid/mark or interface name when setting up routing"
msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/view/pbr/overview.js:206 #: applications/luci-app-pbr/htdocs/luci-static/resources/view/pbr/overview.js:206
msgid "Remote addresses / domains" msgid "Remote addresses / domains"
msgstr "" msgstr ""
@ -322,11 +330,11 @@ msgid ""
"Resolver set support (%s) requires nftables, but nft binary cannot be found!" "Resolver set support (%s) requires nftables, but nft binary cannot be found!"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:275 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:277
msgid "Restart" msgid "Restart"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:271 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:273
msgid "Restarting %s service" msgid "Restarting %s service"
msgstr "" msgstr ""
@ -360,11 +368,11 @@ msgstr ""
msgid "Select Add for -A/add and Insert for -I/Insert." msgid "Select Add for -A/add and Insert for -I/Insert."
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:332 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:334
msgid "Service Control" msgid "Service Control"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:235 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:237
msgid "Service Errors" msgid "Service Errors"
msgstr "" msgstr ""
@ -395,11 +403,11 @@ msgstr ""
msgid "Skipping IPv6 policy '%s' as IPv6 support is disabled" msgid "Skipping IPv6 policy '%s' as IPv6 support is disabled"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:264 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:266
msgid "Start" msgid "Start"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:260 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:262
msgid "Starting %s service" msgid "Starting %s service"
msgstr "" msgstr ""
@ -413,7 +421,7 @@ msgstr ""
msgid "Starting (WAN) Table ID number for tables created by the service." msgid "Starting (WAN) Table ID number for tables created by the service."
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:286 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:288
msgid "Stop" msgid "Stop"
msgstr "" msgstr ""
@ -425,7 +433,7 @@ msgstr ""
msgid "Stopped (version: %s)" msgid "Stopped (version: %s)"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:282 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:284
msgid "Stopping %s service" msgid "Stopping %s service"
msgstr "" msgstr ""
@ -489,7 +497,7 @@ msgstr ""
msgid "Unexpected exit or service termination: '%s'!" msgid "Unexpected exit or service termination: '%s'!"
msgstr "" msgstr ""
#: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:244 #: applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js:246
msgid "Unknown Error!" msgid "Unknown Error!"
msgstr "" msgstr ""