feat(locale): Make editor interface buttons translatable (#4938)

This commit is contained in:
Valentin Nourdin
2021-02-08 18:09:00 +01:00
committed by GitHub
parent 34dfd219e0
commit c0236536dd
3 changed files with 13 additions and 3 deletions

View File

@ -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')}
/>
)}
</ViewControls>