diff --git a/packages/netlify-cms-core/src/components/Editor/EditorInterface.js b/packages/netlify-cms-core/src/components/Editor/EditorInterface.js index 09a6b92e..2e21674d 100644 --- a/packages/netlify-cms-core/src/components/Editor/EditorInterface.js +++ b/packages/netlify-cms-core/src/components/Editor/EditorInterface.js @@ -358,7 +358,7 @@ class EditorInterface extends Component { onClick={this.handleToggleI18n} size="large" type="page" - title="Toggle i18n" + title={t('editor.editorInterface.toggleI18n')} marginTop="70px" /> )} @@ -368,7 +368,7 @@ class EditorInterface extends Component { onClick={this.handleTogglePreview} size="large" type="eye" - title="Toggle preview" + title={t('editor.editorInterface.togglePreview')} /> )} {scrollSyncVisible && ( @@ -377,7 +377,7 @@ class EditorInterface extends Component { onClick={this.handleToggleScrollSync} size="large" type="scroll" - title="Sync scrolling" + title={t('editor.editorInterface.toggleScrollSync')} /> )} diff --git a/packages/netlify-cms-locales/src/en/index.js b/packages/netlify-cms-locales/src/en/index.js index 99db1493..6fa827ab 100644 --- a/packages/netlify-cms-locales/src/en/index.js +++ b/packages/netlify-cms-locales/src/en/index.js @@ -111,6 +111,11 @@ const en = { loadingEntry: 'Loading entry...', confirmLoadBackup: 'A local backup was recovered for this entry, would you like to use it?', }, + editorInterface: { + toggleI18n: 'Toggle i18n', + togglePreview: 'Toggle preview', + toggleScrollSync: 'Sync scrolling', + }, editorToolbar: { publishing: 'Publishing...', publish: 'Publish', diff --git a/packages/netlify-cms-locales/src/fr/index.js b/packages/netlify-cms-locales/src/fr/index.js index 2ae17b16..6d9d4708 100644 --- a/packages/netlify-cms-locales/src/fr/index.js +++ b/packages/netlify-cms-locales/src/fr/index.js @@ -114,6 +114,11 @@ const fr = { confirmLoadBackup: "Une sauvegarde locale a été trouvée pour cette entrée. Voulez-vous l'utiliser", }, + editorInterface: { + toggleI18n: 'Édition multi-langues', + togglePreview: 'Aperçu', + toggleScrollSync: 'Défilement synchronisé', + }, editorToolbar: { publishing: 'Publication...', publish: 'Publier',