diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 793003bb..ee2ebe3d 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -799,6 +799,10 @@ "message": "Mozilla Format", "description": "Heading for the section with buttons to import/export Mozilla format of the style" }, + "styleFromMozillaFormatError": { + "message": "Failed to import from mozilla format", + "description": "Label for the import error" + }, "styleFromMozillaFormatPrompt": { "message": "Paste the Mozilla-format code", "description": "Prompt in the dialog displayed after clicking 'Import from Mozilla format' button" diff --git a/edit/edit.js b/edit/edit.js index 9c16976c..5c044742 100644 --- a/edit/edit.js +++ b/edit/edit.js @@ -1589,7 +1589,7 @@ function fromMozillaFormat() { if (!errors.join) { errors = [errors]; } - showHelp(t('issues'), $element({ + showHelp(t('styleFromMozillaFormatError'), $element({ tag: 'pre', textContent: errors.join('\n'), }));