From f7517e6794d2f48b9f44c9da73f682adaf6e4668 Mon Sep 17 00:00:00 2001 From: divocat Date: Mon, 13 Oct 2025 23:42:30 +0300 Subject: [PATCH] feat: change naming for rules_other_mark_exist --- .../src/podkop/tabs/diagnostic/checks/runNftCheck.ts | 4 +++- .../htdocs/luci-static/resources/view/podkop/main.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fe-app-podkop/src/podkop/tabs/diagnostic/checks/runNftCheck.ts b/fe-app-podkop/src/podkop/tabs/diagnostic/checks/runNftCheck.ts index 713d474..ddc233a 100644 --- a/fe-app-podkop/src/podkop/tabs/diagnostic/checks/runNftCheck.ts +++ b/fe-app-podkop/src/podkop/tabs/diagnostic/checks/runNftCheck.ts @@ -111,7 +111,9 @@ export async function runNftCheck() { }, { state: !data.rules_other_mark_exist ? 'success' : 'warning', - key: _('None other Mark rules'), + key: !data.rules_other_mark_exist + ? _('No other marking rules found') + : _('Additional marking rules found'), value: '', }, ], diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js index 50ff4c8..49df475 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/main.js @@ -2850,7 +2850,7 @@ async function runNftCheck() { }, { state: !data.rules_other_mark_exist ? "success" : "warning", - key: _("None other Mark rules"), + key: !data.rules_other_mark_exist ? _("No other marking rules found") : _("Additional marking rules found"), value: "" } ]