Skip to content

Commit 72b3d09

Browse files
committed
Update synchronize edit format description and UI position
- add missing translations [Fragment]
1 parent bd143ea commit 72b3d09

2 files changed

Lines changed: 28 additions & 30 deletions

File tree

‎apps/editor/src/views/settings/frontend/Home/sections/GeneralSection.tsx‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -368,18 +368,6 @@ export const GeneralSection = forwardRef<HTMLDivElement, Props>(
368368
}
369369
>
370370
<UiGroup title={t('general.prompt-field.title')}>
371-
<UiItem
372-
title={t('general.synchronize-edit-format.title')}
373-
description={t('general.synchronize-edit-format.description')}
374-
slot_right={
375-
<UiToggler
376-
is_on={props.synchronize_edit_format_between_modes}
377-
on_toggle={
378-
props.on_synchronize_edit_format_between_modes_change
379-
}
380-
/>
381-
}
382-
/>
383371
<UiItem
384372
title={t('general.context-size-warning-threshold.title')}
385373
description={t(
@@ -409,6 +397,18 @@ export const GeneralSection = forwardRef<HTMLDivElement, Props>(
409397
/>
410398
}
411399
/>
400+
<UiItem
401+
title={t('general.synchronize-edit-format.title')}
402+
description={t('general.synchronize-edit-format.description')}
403+
slot_right={
404+
<UiToggler
405+
is_on={props.synchronize_edit_format_between_modes}
406+
on_toggle={
407+
props.on_synchronize_edit_format_between_modes_change
408+
}
409+
/>
410+
}
411+
/>
412412
</UiGroup>
413413
</div>
414414

‎apps/editor/src/views/settings/frontend/i18n/translations/general.ts‎

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -638,25 +638,23 @@ export const translations = {
638638
bg: 'Синхронизиране на формат за редактиране между режимите'
639639
},
640640
'general.synchronize-edit-format.description': {
641-
en: 'When changing the edit format in API or Web mode, the other mode will automatically use the same edit format.',
642-
pl: 'Podczas zmiany formatu edycji w trybie API lub Web, drugi tryb automatycznie użyje tego samego formatu edycji.',
643-
'zh-cn':
644-
'在 API 或 Web 模式中更改编辑格式时,另一种模式将自动使用相同的编辑格式。',
645-
ja: 'APIモードまたはWebモードで編集フォーマットを変更すると、もう一方のモードも自動的に同じ編集フォーマットを使用します。',
646-
'zh-tw':
647-
'在 API 或 Web 模式中更改編輯格式時,另一種模式將自動使用相同的編輯格式。',
648-
de: 'Wenn das Bearbeitungsformat im API- oder Web-Modus geändert wird, verwendet der andere Modus automatisch dasselbe Bearbeitungsformat.',
649-
es: 'Al cambiar el formato de edición en el modo API o Web, el otro modo utilizará automáticamente el mismo formato de edición.',
650-
fr: "Lors de la modification du format d'édition en mode API ou Web, l'autre mode utilisera automatiquement le même format d'édition.",
641+
en: 'Makes the selected edit format shared between modes.',
642+
pl: 'Sprawia, że wybrany format edycji jest współdzielony między trybami.',
643+
'zh-cn': '使选定的编辑格式在模式之间共享。',
644+
ja: '選択した編集フォーマットをモード間で共有します。',
645+
'zh-tw': '使選定的編輯格式在模式之間共享。',
646+
de: 'Teilt das ausgewählte Bearbeitungsformat zwischen den Modi.',
647+
es: 'Hace que el formato de edición seleccionado se comparta entre los modos.',
648+
fr: "Partage le format d'édition sélectionné entre les modes.",
651649
'pt-br':
652-
'Ao alterar o formato de edição no modo API ou Web, o outro modo usará automaticamente o mesmo formato de edição.',
653-
ru: 'При изменении формата редактирования в режиме API или Web, другой режим автоматически будет использовать тот же формат редактирования.',
654-
ko: 'API 또는 웹 모드에서 편집 형식을 변경하면 다른 모드에서도 자동으로 동일한 편집 형식을 사용합니다.',
655-
it: "Quando si cambia il formato di modifica in modalità API o Web, l'altra modalità utilizzerà automaticamente lo stesso formato di modifica.",
656-
tr: 'API veya Web modunda düzenleme formatı değiştirildiğinde, diğer mod otomatik olarak aynı düzenleme formatını kullanacaktır.',
657-
cs: 'Při změně formátu úprav v režimu API nebo Web bude druhý režim automaticky používat stejný formát úprav.',
658-
hu: 'Amikor megváltoztatja a szerkesztési formátumot API vagy Web módban, a másik mód automatikusan ugyanazt a szerkesztési formátumot fogja használni.',
659-
bg: 'При промяна на формата за редактиране в API или Web режим, другият режим автоматично ще използва същия формат за редактиране.'
650+
'Torna o formato de edição selecionado compartilhado entre os modos.',
651+
ru: 'Делает выбранный формат редактирования общим для всех режимов.',
652+
ko: '선택한 편집 형식을 모드 간에 공유하도록 합니다.',
653+
it: 'Rende il formato di modifica selezionato condiviso tra le modalità.',
654+
tr: 'Seçilen düzenleme formatının modlar arasında paylaşılmasını sağlar.',
655+
cs: 'Nastaví vybraný formát úprav jako sdílený mezi režimy.',
656+
hu: 'A kiválasztott szerkesztési formátumot megosztottá teszi a módok között.',
657+
bg: 'Прави избрания формат за редактиране споделен между режимите.'
660658
},
661659
'general.prompt-field.title': {
662660
en: 'Prompt Field',

0 commit comments

Comments
 (0)