diff --git a/public/translations/en.json b/public/translations/en.json index 545ae076a..1c1657db6 100644 --- a/public/translations/en.json +++ b/public/translations/en.json @@ -12,7 +12,7 @@ "editorPanel": { "ariaLabel": "editor text input", "characterLimitError": "Error: Character limit reached", - "characterLimitExplanation": "Files in the editor are limited to {{maxCharacters}} characters", + "characterLimitExplanation_other": "Files in the editor are limited to {{count}} characters", "viewOnly": "View only", "close": "close" }, diff --git a/public/translations/xx-XX.json b/public/translations/xx-XX.json index 8fff1bf99..beb20003a 100644 --- a/public/translations/xx-XX.json +++ b/public/translations/xx-XX.json @@ -12,7 +12,7 @@ "editorPanel": { "ariaLabel": "Texteingabe des Editors", "characterLimitError": "Fehler: Zeichenlimit erreicht", - "characterLimitExplanation": "Dateien im Editor sind auf {{maxCharacters}} Zeichen begrenzt", + "characterLimitExplanation_other": "Dateien im Editor sind auf {{count}} Zeichen begrenzt", "viewOnly": "Nur Ansicht", "close": "schließen" }, diff --git a/src/components/Editor/EditorPanel/EditorPanel.jsx b/src/components/Editor/EditorPanel/EditorPanel.jsx index 21a930736..e800aa901 100644 --- a/src/components/Editor/EditorPanel/EditorPanel.jsx +++ b/src/components/Editor/EditorPanel/EditorPanel.jsx @@ -171,7 +171,7 @@ const EditorPanel = ({ extension = "html", fileName = "index" }) => { title={t("editorPanel.characterLimitError")} type="error" text={t("editorPanel.characterLimitExplanation", { - maxCharacters: MAX_CHARACTERS, + count: MAX_CHARACTERS, })} /> )}