Skip to content

Add Chinese locale (cn_CN) #754

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Sep 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 };