keep i18n id intact

This commit is contained in:
tophf 2022-01-24 20:18:44 +03:00
parent 3aaced724c
commit ceec0e6e04
2 changed files with 2 additions and 2 deletions

View File

@ -1697,7 +1697,7 @@
"message": "Style injection order",
"description": "Tooltip for the button in the manager to open the dialog and also the title of this dialog"
},
"styleInjectionOrderHint_main": {
"styleInjectionOrderHint": {
"message": "Drag'n'drop a style to change its position. Styles are injected sequentially in the order shown below so a style further down the list can override the earlier styles.",
"description": "Hint in the injection order dialog in the manager"
},

View File

@ -69,7 +69,7 @@ async function InjectionOrder(show = true) {
});
DraggableList(ol, {scrollContainer: ol});
return $create('section', {dataset: {[type]: ''}}, [
$create('header', t('styleInjectionOrderHint_' + type)),
$create('header', t(`styleInjectionOrderHint${type === 'main' ? '' : '_' + type}`)),
ol,
]);
}