Skip to content

Commit f67e9b0

Browse files
committed
Update history quick pick separator to use a dedicated translation key
- rename 'recently created' to 'recent checkpoints'. (with translations), remove common.separator.recently-created, as it's not used anywhere else
1 parent 8da24c4 commit f67e9b0

3 files changed

Lines changed: 19 additions & 19 deletions

File tree

‎apps/editor/src/commands/history-command.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export const history_command = (params: {
134134
...(visible_checkpoints.length > 0
135135
? [
136136
{
137-
label: t('common.separator.recently-created'),
137+
label: t('command.history.separator.recent-checkpoints'),
138138
kind: vscode.QuickPickItemKind.Separator
139139
}
140140
]

‎apps/editor/src/i18n/translations/commands/history.ts‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -415,5 +415,23 @@ export const translations = {
415415
cs: 'Vymazat vše',
416416
hu: 'Összes törlése',
417417
bg: 'Изчисти всички'
418+
},
419+
'command.history.separator.recent-checkpoints': {
420+
en: 'recent checkpoints',
421+
pl: 'ostatnie punkty kontrolne',
422+
'zh-cn': '最近的检查点',
423+
ja: '最近のチェックポイント',
424+
'zh-tw': '最近的檢查點',
425+
de: 'kürzliche Prüfpunkte',
426+
es: 'puntos de control recientes',
427+
fr: 'points de contrôle récents',
428+
'pt-br': 'pontos de verificação recentes',
429+
ru: 'недавние контрольные точки',
430+
ko: '최근 체크포인트',
431+
it: 'punti di controllo recenti',
432+
tr: 'son kontrol noktaları',
433+
cs: 'nedávné kontrolní body',
434+
hu: 'legutóbbi ellenőrzőpontok',
435+
bg: 'скорошни контролни точки'
418436
}
419437
} as const

‎apps/editor/src/i18n/translations/common.ts‎

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -215,24 +215,6 @@ export const translations = {
215215
hu: 'Válasszon konfigurációt {tokens} token feldolgozásához',
216216
bg: 'Изберете конфигурация за обработка на {tokens} токена'
217217
},
218-
'common.separator.recently-created': {
219-
en: 'recently created',
220-
pl: 'ostatnio utworzone',
221-
'zh-cn': '最近创建',
222-
ja: '最近作成された項目',
223-
'zh-tw': '最近建立',
224-
de: 'kürzlich erstellt',
225-
es: 'creado recientemente',
226-
fr: 'récemment créé',
227-
'pt-br': 'criado recentemente',
228-
ru: 'недавно созданные',
229-
ko: '최근 생성됨',
230-
it: 'creato di recente',
231-
tr: 'yeni oluşturuldu',
232-
cs: 'nedávno vytvořené',
233-
hu: 'nemrég létrehozva',
234-
bg: 'наскоро създадени'
235-
},
236218
'common.unstar': {
237219
en: 'Unstar',
238220
pl: 'Usuń z ulubionych',

0 commit comments

Comments
 (0)