Perf: i18n change and captcha code. (#2625)
* perf: send captcha check * perf: back router * perf: i18n init * perf: ui * i18n * perf: ui duration
Showing
packages/web/hooks/useI18n.ts
0 → 100644
This diff is collapsed.
Click to expand it.
packages/web/i18n/en/login.json
0 → 100644
This diff is collapsed.
Click to expand it.
packages/web/i18n/zh/login.json
0 → 100644
| ... | @@ -21,21 +21,23 @@ | ... | @@ -21,21 +21,23 @@ |
| "ahooks": "^3.7.11", | "ahooks": "^3.7.11", | ||
| "date-fns": "2.30.0", | "date-fns": "2.30.0", | ||
| "dayjs": "^1.11.7", | "dayjs": "^1.11.7", | ||
| "i18next": "23.11.5", | |||
| "js-cookie": "^3.0.5", | |||
| "lexical": "0.12.6", | "lexical": "0.12.6", | ||
| "lodash": "^4.17.21", | "lodash": "^4.17.21", | ||
| "i18next": "23.11.5", | |||
| "next-i18next": "15.3.0", | "next-i18next": "15.3.0", | ||
| "react-i18next": "14.1.2", | |||
| "papaparse": "^5.4.1", | "papaparse": "^5.4.1", | ||
| "react": "18.3.1", | "react": "18.3.1", | ||
| "react-beautiful-dnd": "^13.1.1", | "react-beautiful-dnd": "^13.1.1", | ||
| "react-day-picker": "^8.7.1", | "react-day-picker": "^8.7.1", | ||
| "react-dom": "18.3.1", | "react-dom": "18.3.1", | ||
| "react-hook-form": "7.43.1", | "react-hook-form": "7.43.1", | ||
| "react-i18next": "14.1.2", | |||
| "react-photo-view": "^1.2.6", | "react-photo-view": "^1.2.6", | ||
| "use-context-selector": "^1.4.4" | "use-context-selector": "^1.4.4" | ||
| }, | }, | ||
| "devDependencies": { | "devDependencies": { | ||
| "@types/js-cookie": "^3.0.5", | |||
| "@types/lodash": "^4.14.191", | "@types/lodash": "^4.14.191", | ||
| "@types/papaparse": "^5.3.7", | "@types/papaparse": "^5.3.7", | ||
| "@types/react": "18.3.1", | "@types/react": "18.3.1", | ||
| ... | ... |
| ... | @@ -68,7 +68,6 @@ | ... | @@ -68,7 +68,6 @@ |
| "devDependencies": { | "devDependencies": { | ||
| "@svgr/webpack": "^6.5.1", | "@svgr/webpack": "^6.5.1", | ||
| "@types/formidable": "^2.0.5", | "@types/formidable": "^2.0.5", | ||
| "@types/js-cookie": "^3.0.3", | |||
| "@types/js-yaml": "^4.0.9", | "@types/js-yaml": "^4.0.9", | ||
| "@types/jsonwebtoken": "^9.0.3", | "@types/jsonwebtoken": "^9.0.3", | ||
| "@types/lodash": "^4.14.191", | "@types/lodash": "^4.14.191", | ||
| ... | ... |
scripts/i18n/delete-unused-keys.js
deleted
100644 → 0
scripts/i18n/package.json
deleted
100644 → 0
| { | |||
| "name": "i18n", | |||
| "version": "1.0.0", | |||
| "description": "", | |||
| "main": "index.js", | |||
| "scripts": { | |||
| "test": "echo \"Error: no test specified\" && exit 1" | |||
| }, | |||
| "keywords": [], | |||
| "author": "", | |||
| "license": "ISC", | |||
| "devDependencies": { | |||
| "@phenomnomnominal/tsquery": "^6.1.3" | |||
| } | |||
| } |
scripts/i18n/query.js
deleted
100644 → 0
scripts/i18n/query.ts
deleted
100644 → 0
Please
register
or
sign in
to comment