Skip to content

Commit 5926740

Browse files
committed
Rename the Checkpoints settings section to History
- each item should have its own border, separate each with 8px gap, don't alternate background colors
1 parent 3ae4927 commit 5926740

3 files changed

Lines changed: 23 additions & 23 deletions

File tree

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export type NavItem =
2323
| 'section:general:group:open-links'
2424
| 'section:general:group:context'
2525
| 'section:general:group:prompt-field'
26-
| 'section:general:group:checkpoints'
26+
| 'section:general:group:history'
2727
| 'section:general:group:commit-messages'
2828
| 'section:general:group:edit-format'
2929
| 'section:chatbots'
@@ -56,8 +56,8 @@ const NAV_ITEMS_CONFIG: NavConfigItem[] = [
5656
label: 'general.prompt-field.title'
5757
},
5858
{
59-
id: 'section:general:group:checkpoints',
60-
label: 'general.checkpoints.title'
59+
id: 'section:general:group:history',
60+
label: 'general.history.title'
6161
},
6262
{
6363
id: 'section:general:group:commit-messages',
@@ -194,7 +194,7 @@ export const Home: React.FC<Props> = (props) => {
194194
'section:general:group:open-links': null,
195195
'section:general:group:context': null,
196196
'section:general:group:prompt-field': null,
197-
'section:general:group:checkpoints': null,
197+
'section:general:group:history': null,
198198
'section:general:group:commit-messages': null,
199199
'section:general:group:edit-format': null,
200200
'section:chatbots': null,

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -319,10 +319,10 @@ export const GeneralSection = forwardRef<HTMLDivElement, Props>(
319319

320320
<div
321321
ref={(el) =>
322-
props.set_section_ref('section:general:group:checkpoints', el)
322+
props.set_section_ref('section:general:group:history', el)
323323
}
324324
>
325-
<UiGroup title={t('general.checkpoints.title')}>
325+
<UiGroup title={t('general.history.title')}>
326326
<UiItem
327327
title={t('general.automatic-checkpoints.title')}
328328
description={t('general.automatic-checkpoints.description')}

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

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -493,23 +493,23 @@ export const translations = {
493493
hu: 'Prompt mező',
494494
bg: 'Поле за промпт'
495495
},
496-
'general.checkpoints.title': {
497-
en: 'Checkpoints',
498-
pl: 'Punkty kontrolne',
499-
'zh-cn': '检查点',
500-
ja: 'チェックポイント',
501-
'zh-tw': '檢查點',
502-
de: 'Checkpoints',
503-
es: 'Puntos de control',
504-
fr: 'Points de contrôle',
505-
'pt-br': 'Pontos de Verificação',
506-
ru: 'Контрольные точки',
507-
ko: '체크포인트',
508-
it: 'Punti di controllo',
509-
tr: 'Kontrol Noktaları',
510-
cs: 'Kontrolní body (Checkpoints)',
511-
hu: 'Ellenőrzőpontok',
512-
bg: 'Контролни точки'
496+
'general.history.title': {
497+
en: 'History',
498+
pl: 'Historia',
499+
'zh-cn': '历史',
500+
ja: '履歴',
501+
'zh-tw': '歷史',
502+
de: 'Verlauf',
503+
es: 'Historial',
504+
fr: 'Historique',
505+
'pt-br': 'Histórico',
506+
ru: 'История',
507+
ko: '기록',
508+
it: 'Cronologia',
509+
tr: 'Geçmiş',
510+
cs: 'Historie',
511+
hu: 'Előzmények',
512+
bg: 'История'
513513
},
514514
'general.automatic-checkpoints.title': {
515515
en: 'Automatic Checkpoints',

0 commit comments

Comments
 (0)