Skip to content
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

fix(module:i18n): fix i18n interface and Traditional Chinese #4102

Merged
merged 2 commits into from Sep 6, 2019
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

Next

fix(module:i18n): fix i18n interface and Traditional Chinese

  • Loading branch information...
wendzhue committed Sep 3, 2019
commit 5a604feca3009b5250cf606fb9fe0a5458fef14a
@@ -19,7 +19,7 @@ export default {
Calendar,
// locales for all comoponents
global: {
placeholder: '请选择'
placeholder: '請選擇'
},
Table: {
filterTitle: '筛选',
@@ -17,6 +17,10 @@ export default {
DatePicker,
TimePicker,
Calendar,
// locales for all comoponents
global: {
placeholder: '请选择'
},
Table: {
filterTitle: '篩選器',
filterConfirm: '確 定',
@@ -47,6 +51,15 @@ export default {
Empty: {
description: '無此資料'
},
Icon: {
icon: '圖標'
},
Text: {
edit: '編輯',
copy: '複製',
copied: '複製成功',
expand: '展開'
},
PageHeader: {
back: '返回'
}
@@ -76,7 +76,7 @@ export interface NzI18nInterface {
DatePicker: NzDatePickerI18nInterface;
TimePicker: NzTimePickerI18nInterface;
Calendar: NzCalendarI18nInterface;
global: NzGlobalI18nInterface;
global?: NzGlobalI18nInterface;
Table: {
filterTitle: string;
filterConfirm: string;
@@ -108,6 +108,14 @@ export interface NzI18nInterface {
Empty: {
description: string;
};
// TODO: make this required in the future.
// Temporarily optional to make sure not break anything.
Text?: {
edit: string;
copy: string;
copied: string;
expand: string;
};
}

// tslint:disable-next-line:no-any
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.