Fix: import error is not displayed correctly
This commit is contained in:
parent
6636d3382b
commit
bb508b6933
|
@ -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"
|
||||
|
|
|
@ -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'),
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue
Block a user