From 1b58decdabbbf631c89bdd56b63429b6ccc7fb8d Mon Sep 17 00:00:00 2001 From: Sven Roederer Date: Thu, 15 Jul 2021 14:54:21 +0200 Subject: luci-mod-network: clarify device settings "Delete" button Use proper label text "Unconfigure" for button which "Remove related device settings". Ref: #5090, #5092 Signed-off-by: Sven Roederer --- .../htdocs/luci-static/resources/view/network/interfaces.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index f7b8ddcafe..720cefe059 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -1273,7 +1273,7 @@ return view.extend({ var trEl = this.super('renderRowActions', [ section_id, _('Configureā€¦') ]), deleteBtn = trEl.querySelector('button:last-child'); - deleteBtn.firstChild.data = _('Reset'); + deleteBtn.firstChild.data = _('Unconfigure'); deleteBtn.setAttribute('title', _('Remove related device settings from the configuration')); deleteBtn.disabled = section_id.match(/^dev:/) ? true : null; -- cgit v1.2.3