chore: rename lastStep to previousStep (#2759)

This commit is contained in:
crazywoola 2024-03-08 19:27:02 +08:00 committed by GitHub
parent 60e7e17c86
commit bbc0d330a9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 6 additions and 6 deletions

View File

@ -838,7 +838,7 @@ const StepTwo = ({
{!isSetting
? (
<div className='flex items-center mt-8 py-2'>
<Button onClick={() => onStepChange && onStepChange(-1)}>{t('datasetCreation.stepTwo.lastStep')}</Button>
<Button onClick={() => onStepChange && onStepChange(-1)}>{t('datasetCreation.stepTwo.previousStep')}</Button>
<div className={s.divider} />
<Button loading={isCreating} type='primary' onClick={createHandle}>{t('datasetCreation.stepTwo.nextStep')}</Button>
</div>

View File

@ -89,7 +89,7 @@ const translation = {
other: 'and other ',
fileUnit: ' files',
notionUnit: ' pages',
lastStep: 'Last step',
previousStep: 'Previous step',
nextStep: 'Save & Process',
save: 'Save & Process',
cancel: 'Cancel',

View File

@ -89,7 +89,7 @@ const translation = {
other: 'その他',
fileUnit: 'ファイル',
notionUnit: 'ページ',
lastStep: '最後のステップ',
previousStep: '前のステップ',
nextStep: '保存して処理',
save: '保存して処理',
cancel: 'キャンセル',

View File

@ -89,7 +89,7 @@ const translation = {
other: 'e outros ',
fileUnit: ' arquivos',
notionUnit: ' páginas',
lastStep: 'Última etapa',
previousStep: 'Passo anterior',
nextStep: 'Salvar e Processar',
save: 'Salvar e Processar',
cancel: 'Cancelar',

View File

@ -89,7 +89,7 @@ const translation = {
other: ' та інші ',
fileUnit: ' файли',
notionUnit: ' сторінки',
lastStep: 'Попередній крок',
previousStep: 'Попередній крок',
nextStep: 'Зберегти та обробити',
save: 'Зберегти та обробити',
cancel: 'Скасувати',

View File

@ -89,7 +89,7 @@ const translation = {
other: '和其他 ',
fileUnit: ' 个文件',
notionUnit: ' 个页面',
lastStep: '上一步',
previousStep: '上一步',
nextStep: '保存并处理',
save: '保存并处理',
cancel: '取消',