Ver Fonte

chore: rename lastStep to previousStep (#2759)

crazywoola há 1 ano atrás
pai
commit
bbc0d330a9

+ 1 - 1
web/app/components/datasets/create/step-two/index.tsx

@@ -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>

+ 1 - 1
web/i18n/en-US/dataset-creation.ts

@@ -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',

+ 1 - 1
web/i18n/ja-JP/dataset-creation.ts

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

+ 1 - 1
web/i18n/pt-BR/dataset-creation.ts

@@ -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',

+ 1 - 1
web/i18n/uk-UA/dataset-creation.ts

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

+ 1 - 1
web/i18n/zh-Hans/dataset-creation.ts

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