Merge pull request #6181 from stangri/master-luci-app-pbr

luci-app-pbr: additional error messages
This commit is contained in:
Stan Grishin 2023-01-03 13:21:14 -07:00 committed by GitHub
commit ee768039e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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_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_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"),
errorPolicyProcessInsertionFailed: _("Insertion failed for both IPv4 and IPv6 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 text = "";

View file

@ -95,7 +95,7 @@ msgstr ""
msgid "Default ICMP Interface"
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"
msgstr ""
@ -105,7 +105,7 @@ msgstr ""
msgid "Disabled"
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"
msgstr ""
@ -127,7 +127,7 @@ msgstr ""
msgid "Do not enforce policies when their gateway is down"
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"
msgstr ""
@ -138,7 +138,7 @@ msgstr ""
msgid "Enabled"
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"
msgstr ""
@ -156,6 +156,10 @@ msgstr ""
msgid "Failed to reload '%s'!"
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
msgid "Failed to set up '%s'!"
msgstr ""
@ -292,6 +296,10 @@ msgstr ""
msgid "Protocol"
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
msgid "Remote addresses / domains"
msgstr ""
@ -322,11 +330,11 @@ msgid ""
"Resolver set support (%s) requires nftables, but nft binary cannot be found!"
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"
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"
msgstr ""
@ -360,11 +368,11 @@ msgstr ""
msgid "Select Add for -A/add and Insert for -I/Insert."
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"
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"
msgstr ""
@ -395,11 +403,11 @@ msgstr ""
msgid "Skipping IPv6 policy '%s' as IPv6 support is disabled"
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"
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"
msgstr ""
@ -413,7 +421,7 @@ msgstr ""
msgid "Starting (WAN) Table ID number for tables created by the service."
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"
msgstr ""
@ -425,7 +433,7 @@ msgstr ""
msgid "Stopped (version: %s)"
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"
msgstr ""
@ -489,7 +497,7 @@ msgstr ""
msgid "Unexpected exit or service termination: '%s'!"
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!"
msgstr ""