Skip to content

Commit

Permalink
feat(projects): add common internationalization configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
mufeng889 committed Aug 23, 2024
1 parent 6401f0b commit a702d5c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/locales/langs/en-us/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ const common: App.I18n.Schema['translation']['common'] = {
deleteSuccess: 'Delete Success',
confirmDelete: 'Are you sure you want to delete?',
edit: 'Edit',
warning: 'Warning',
error: 'Error',
index: 'Index',
keywordSearch: 'Please enter keyword',
logout: 'Logout',
Expand Down
2 changes: 2 additions & 0 deletions src/locales/langs/zh-cn/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ const common: App.I18n.Schema['translation']['common'] = {
deleteSuccess: '删除成功',
confirmDelete: '确认删除吗?',
edit: '编辑',
warning: '警告',
error: '错误',
index: '序号',
keywordSearch: '请输入关键词搜索',
logout: '退出登录',
Expand Down
2 changes: 2 additions & 0 deletions src/types/app.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ declare namespace App {
deleteSuccess: string;
confirmDelete: string;
edit: string;
warning: string;
error: string;
index: string;
keywordSearch: string;
logout: string;
Expand Down

0 comments on commit a702d5c

Please sign in to comment.