summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-pbr
diff options
context:
space:
mode:
authorStan Grishin <stangri@melmac.ca>2023-01-03 19:56:08 +0000
committerStan Grishin <stangri@melmac.ca>2023-01-03 19:56:08 +0000
commita748f86fec61d7c390ff0f9ee4a007fadfa936f7 (patch)
tree64ae8dab35a01023f53089956359978dd3bbaf4c /applications/luci-app-pbr
parentf470452c4a1c478caf1bbbc19568c523e203e8dc (diff)
luci-app-pbr: additional error messages
Signed-off-by: Stan Grishin <stangri@melmac.ca>
Diffstat (limited to 'applications/luci-app-pbr')
-rw-r--r--applications/luci-app-pbr/Makefile2
-rw-r--r--applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js2
-rw-r--r--applications/luci-app-pbr/po/templates/pbr.pot34
3 files changed, 24 insertions, 14 deletions
diff --git a/applications/luci-app-pbr/Makefile b/applications/luci-app-pbr/Makefile
index 9369bae9a9..1d7eeeddab 100644
--- a/applications/luci-app-pbr/Makefile
+++ b/applications/luci-app-pbr/Makefile
@@ -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.
diff --git a/applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js b/applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js
index fbe8696c28..dcb3c3ec50 100644
--- a/applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js
+++ b/applications/luci-app-pbr/htdocs/luci-static/resources/pbr/status.js
@@ -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 = "";
diff --git a/applications/luci-app-pbr/po/templates/pbr.pot b/applications/luci-app-pbr/po/templates/pbr.pot
index 3f6f4e771b..f8959174e8 100644
--- a/applications/luci-app-pbr/po/templates/pbr.pot
+++ b/applications/luci-app-pbr/po/templates/pbr.pot
@@ -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 ""