Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore: rename lastStep to previousStep (#2759)

crazywoolabbc0d330a953
diff --git a/web/app/components/datasets/create/step-two/index.tsx b/web/app/components/datasets/create/step-two/index.tsx
index 4688d7afee3..55ea9392925 100644
--- a/web/app/components/datasets/create/step-two/index.tsx
+++ b/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>
diff --git a/web/i18n/en-US/dataset-creation.ts b/web/i18n/en-US/dataset-creation.ts
index 61f32436fda..8923170f7f4 100644
--- a/web/i18n/en-US/dataset-creation.ts
+++ b/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',
diff --git a/web/i18n/ja-JP/dataset-creation.ts b/web/i18n/ja-JP/dataset-creation.ts
index b08d0224f90..384c6552144 100644
--- a/web/i18n/ja-JP/dataset-creation.ts
+++ b/web/i18n/ja-JP/dataset-creation.ts
@@ -89,7 +89,7 @@ const translation = {
other: 'その他',
fileUnit: 'ファイル',
notionUnit: 'ページ',
- lastStep: '最後のステップ',
+ previousStep: '前のステップ',
nextStep: '保存して処理',
save: '保存して処理',
cancel: 'キャンセル',
diff --git a/web/i18n/pt-BR/dataset-creation.ts b/web/i18n/pt-BR/dataset-creation.ts
index 08018eae613..b721f2177be 100644
--- a/web/i18n/pt-BR/dataset-creation.ts
+++ b/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',
diff --git a/web/i18n/uk-UA/dataset-creation.ts b/web/i18n/uk-UA/dataset-creation.ts
index 7ba648c38fa..6c0099a7712 100644
--- a/web/i18n/uk-UA/dataset-creation.ts
+++ b/web/i18n/uk-UA/dataset-creation.ts
@@ -89,7 +89,7 @@ const translation = {
other: ' та інші ',
fileUnit: ' файли',
notionUnit: ' сторінки',
- lastStep: 'Попередній крок',
+ previousStep: 'Попередній крок',
nextStep: 'Зберегти та обробити',
save: 'Зберегти та обробити',
cancel: 'Скасувати',
diff --git a/web/i18n/zh-Hans/dataset-creation.ts b/web/i18n/zh-Hans/dataset-creation.ts
index dc401e1ce23..d36850dc3dc 100644
--- a/web/i18n/zh-Hans/dataset-creation.ts
+++ b/web/i18n/zh-Hans/dataset-creation.ts
@@ -89,7 +89,7 @@ const translation = {
other: '和其他 ',
fileUnit: ' 个文件',
notionUnit: ' 个页面',
- lastStep: '上一步',
+ previousStep: '上一步',
nextStep: '保存并处理',
save: '保存并处理',
cancel: '取消',