Skip to content

Commit

Permalink
chore: rename lastStep to previousStep (#2759)
Browse files Browse the repository at this point in the history
  • Loading branch information
crazywoola authored Mar 8, 2024
1 parent 60e7e17 commit bbc0d33
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion web/app/components/datasets/create/step-two/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion web/i18n/en-US/dataset-creation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion web/i18n/ja-JP/dataset-creation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const translation = {
other: 'その他',
fileUnit: 'ファイル',
notionUnit: 'ページ',
lastStep: '最後のステップ',
previousStep: '前のステップ',
nextStep: '保存して処理',
save: '保存して処理',
cancel: 'キャンセル',
Expand Down
2 changes: 1 addition & 1 deletion web/i18n/pt-BR/dataset-creation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion web/i18n/uk-UA/dataset-creation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const translation = {
other: ' та інші ',
fileUnit: ' файли',
notionUnit: ' сторінки',
lastStep: 'Попередній крок',
previousStep: 'Попередній крок',
nextStep: 'Зберегти та обробити',
save: 'Зберегти та обробити',
cancel: 'Скасувати',
Expand Down
2 changes: 1 addition & 1 deletion web/i18n/zh-Hans/dataset-creation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const translation = {
other: '和其他 ',
fileUnit: ' 个文件',
notionUnit: ' 个页面',
lastStep: '上一步',
previousStep: '上一步',
nextStep: '保存并处理',
save: '保存并处理',
cancel: '取消',
Expand Down

0 comments on commit bbc0d33

Please sign in to comment.