diff --git a/packages/amis-ui/src/locale/zh-CN.ts b/packages/amis-ui/src/locale/zh-CN.ts index 309219b5b..3c7afb1f1 100644 --- a/packages/amis-ui/src/locale/zh-CN.ts +++ b/packages/amis-ui/src/locale/zh-CN.ts @@ -1,4 +1,4 @@ -import {registerLocale as register} from 'amis-core'; +import { registerLocale as register } from 'amis-core'; register('zh-CN', { 'Action.countDown': '请等待 ${timeLeft} 秒', @@ -50,7 +50,7 @@ register('zh-CN', { 'PaginationWrapper.placeholder': '请配置内容', 'Pagination.select': '{{count}}条/页', 'Pagination.goto': '跳转至', - 'Pagination.go': 'GO', + 'Pagination.go': '前往', 'Pagination.totalPage': '共 {{lastPage}} 页', 'Pagination.totalCount': '共 {{total}} 条', 'Date.titleYear': '选择年', diff --git a/packages/amis/__tests__/renderers/__snapshots__/CRUD.test.tsx.snap b/packages/amis/__tests__/renderers/__snapshots__/CRUD.test.tsx.snap index 401a4bf88..74ce61409 100644 --- a/packages/amis/__tests__/renderers/__snapshots__/CRUD.test.tsx.snap +++ b/packages/amis/__tests__/renderers/__snapshots__/CRUD.test.tsx.snap @@ -623,7 +623,7 @@ exports[`1. Renderer:crud basic interval headerToolbar footerToolbar 1`] = ` - GO + 前往 @@ -771,7 +771,7 @@ exports[`1. Renderer:crud basic interval headerToolbar footerToolbar 1`] = ` - GO + 前往 @@ -1218,7 +1218,7 @@ exports[`4. Renderer:crud list 1`] = ` - GO + 前往 @@ -2109,7 +2109,7 @@ exports[`5. Renderer:crud cards 1`] = ` - GO + 前往 @@ -3642,7 +3642,7 @@ exports[`13. enderer: crud keepItemSelectionOnPageChange & maxKeepItemSelectionL - GO + 前往 diff --git a/packages/amis/__tests__/renderers/__snapshots__/Pagination.test.tsx.snap b/packages/amis/__tests__/renderers/__snapshots__/Pagination.test.tsx.snap index 510767973..5cef2a854 100644 --- a/packages/amis/__tests__/renderers/__snapshots__/Pagination.test.tsx.snap +++ b/packages/amis/__tests__/renderers/__snapshots__/Pagination.test.tsx.snap @@ -387,7 +387,7 @@ exports[`Renderer:Pagination 2`] = ` - GO + 前往 @@ -542,7 +542,7 @@ exports[`Renderer:Pagination with layout 1`] = ` - GO + 前往