luci-app-nut: improve confusing driver option text
authorDaniel F. Dickinson <redacted>
Sun, 25 Jan 2026 10:39:07 +0000 (05:39 -0500)
committerPaul Donald <redacted>
Mon, 26 Jan 2026 03:09:10 +0000 (04:09 +0100)
commit95319793a27a3554be06070db8c6db71c6e28df1
treea554c5c1611f9b7d6ff020a219cf0d15883cf0e9
parent8e493db75a80194a1f76ded11df4dbf32f1235d1
luci-app-nut: improve confusing driver option text

Some driver options were noted as '(Display)' even though they are
added to the `ups.conf` configuration file (this is because the drivers
use them in the messages they emit). Since not all drivers support these
options and it is quite a large job to manage the which options apply
to which of the many drivers for nut, for now we add informational
text to inform the user of the situation.

Discussed in #8200 mfr, model fields not valid on usbhid-ups driver
and #8241.

As noted in the latter's comments, more than one driver uses the
problematic options, so the solution is not as simple as hiding the
options for any driver except that one.

Signed-off-by: Daniel F. Dickinson <redacted>
41 files changed:
applications/luci-app-nut/htdocs/luci-static/resources/view/nut/nut_server.js
applications/luci-app-nut/po/ar/nut.po
applications/luci-app-nut/po/bg/nut.po
applications/luci-app-nut/po/bn_BD/nut.po
applications/luci-app-nut/po/ca/nut.po
applications/luci-app-nut/po/cs/nut.po
applications/luci-app-nut/po/da/nut.po
applications/luci-app-nut/po/de/nut.po
applications/luci-app-nut/po/el/nut.po
applications/luci-app-nut/po/es/nut.po
applications/luci-app-nut/po/et/nut.po
applications/luci-app-nut/po/fi/nut.po
applications/luci-app-nut/po/fr/nut.po
applications/luci-app-nut/po/ga/nut.po
applications/luci-app-nut/po/he/nut.po
applications/luci-app-nut/po/hi/nut.po
applications/luci-app-nut/po/hu/nut.po
applications/luci-app-nut/po/it/nut.po
applications/luci-app-nut/po/ja/nut.po
applications/luci-app-nut/po/ko/nut.po
applications/luci-app-nut/po/lt/nut.po
applications/luci-app-nut/po/mr/nut.po
applications/luci-app-nut/po/ms/nut.po
applications/luci-app-nut/po/nb_NO/nut.po
applications/luci-app-nut/po/nl/nut.po
applications/luci-app-nut/po/pl/nut.po
applications/luci-app-nut/po/pt/nut.po
applications/luci-app-nut/po/pt_BR/nut.po
applications/luci-app-nut/po/ro/nut.po
applications/luci-app-nut/po/ru/nut.po
applications/luci-app-nut/po/sgs/nut.po
applications/luci-app-nut/po/sk/nut.po
applications/luci-app-nut/po/sr/nut.po
applications/luci-app-nut/po/sv/nut.po
applications/luci-app-nut/po/ta/nut.po
applications/luci-app-nut/po/templates/nut.pot
applications/luci-app-nut/po/tr/nut.po
applications/luci-app-nut/po/uk/nut.po
applications/luci-app-nut/po/vi/nut.po
applications/luci-app-nut/po/zh_Hans/nut.po
applications/luci-app-nut/po/zh_Hant/nut.po
git clone https://git.99rst.org/PROJECT