diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 004301a6..6a216620 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -1655,6 +1655,9 @@ "styleIncludeNewLabel": { "message": "Add new inclusion rule" }, + "styleIncludeDeleteLabel": { + "message": "Delete" + }, "styleExcludeLabel": { "message": "User defined exclusion" }, diff --git a/edit/settings.js b/edit/settings.js index 89f34300..46061cdd 100644 --- a/edit/settings.js +++ b/edit/settings.js @@ -1,4 +1,4 @@ -/* global API */ +/* global API t */ /* exported StyleSettings */ 'use strict'; @@ -79,7 +79,7 @@ function StyleSettings(editor) { table.append(input); const delButton = document.createElement('button'); - delButton.textContent = 'x'; + delButton.textContent = t('styleIncludeDeleteLabel'); delButton.addEventListener('click', () => { style[type].splice(i, 1); API.styles.config(style.id, type, style[type]);