Skip to content

Commit

Permalink
Merge pull request #754 from admover/master
Browse files Browse the repository at this point in the history
Add Chinese locale (cn_CN)
  • Loading branch information
afshinm committed Sep 3, 2021
2 parents c4ddc42 + 0eae157 commit 17a0f74
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
22 changes: 22 additions & 0 deletions l10n/cn_CN.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
export default {
search: {
placeholder: '输入关键字...',
},
sort: {
sortAsc: '升序排列',
sortDesc: '降序排列',
},
pagination: {
previous: '上一页',
next: '下一页',
navigate: (page, pages) => `第${page}页,共${pages}页`,
page: (page) => `第${page}页`,
showing: '第',
of: '到',
to: '条记录,共',
results: '条',
},
loading: '玩命加载中...',
noRecordsFound: '没找到匹配的项',
error: '获取数据时发生了错误',
};
4 changes: 2 additions & 2 deletions l10n/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ import koKR from './ko_KR';
import ruRU from './ru_RU';
import idID from './id_ID';
import jaJP from './ja_JP';
import cnCN from './cn_CN';


export { esES, frFR, itIT, ptPT, trTR, koKR, ruRU, idID, jaJP };
export { esES, frFR, itIT, ptPT, trTR, koKR, ruRU, idID, jaJP, cnCN };

0 comments on commit 17a0f74

Please sign in to comment.