Skip to content

Commit

Permalink
fix: typo (#159)
Browse files Browse the repository at this point in the history
* fix: typo

* fix: locale text

---------

Co-authored-by: 高博文 <[email protected]>
Co-authored-by: caohuilin <[email protected]>
  • Loading branch information
3 people authored Oct 12, 2024
1 parent 5ef4541 commit c24a5c9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/old-parents-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@modern-js/codesmith-api-app": patch
---

fix: fix typo
fix: 修复错别字
3 changes: 2 additions & 1 deletion packages/api/app/src/locale/en.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export const EN_LOCALE = {
environment: {
node_version: 'please upgrade node to lts version',
node_version:
'The version of Node.js is too low. Please upgrade to the LTS version: https://nodejs.org/',
nvm_install: 'please install nvm first',
yarn_pnpm_npm: 'please install yarn or pnpm or npm first',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/api/app/src/locale/zh.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export const ZH_LOCALE = {
environment: {
node_version: '请升级 Node 版本至 LIS',
node_version: 'Node.js 版本太低,请升级至 LTS 版本: https://nodejs.org/',
nvm_install: '检测到环境中未安装 nvm,请先安装 nvm',
yarn_pnpm_npm: '检测到环境中未安装包管理工具,请先安装 yarn 或 pnpm 或 npm',
},
Expand Down

0 comments on commit c24a5c9

Please sign in to comment.