diff --git a/_locales/en/messages.json b/_locales/en/messages.json index 74fa7bb9..6fe7b574 100644 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -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" }, diff --git a/injection-order/injection-order.js b/injection-order/injection-order.js index b74e9114..4c0606f8 100644 --- a/injection-order/injection-order.js +++ b/injection-order/injection-order.js @@ -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, ]); }