Skip to content

Commit

Permalink
Revert "Traditional Chinese locale provider added (ant-design#5665)"
Browse files Browse the repository at this point in the history
This reverts commit 65bac17.
  • Loading branch information
yesmeck committed Apr 8, 2017
1 parent 8e8c9ed commit 6dd3304
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 77 deletions.
2 changes: 0 additions & 2 deletions components/calendar/locale/zh_TW.tsx

This file was deleted.

18 changes: 0 additions & 18 deletions components/date-picker/locale/zh_TW.tsx

This file was deleted.

5 changes: 2 additions & 3 deletions components/locale-provider/__tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import etEE from '../et_EE';
import skSK from '../sk_SK';
import jaJP from '../ja_JP';
import trTR from '../tr_TR';
import zhTW from '../zh_TW';

const Option = Select.Option;
const RangePicker = DatePicker.RangePicker;
Expand Down Expand Up @@ -64,7 +63,7 @@ const App = () => (

describe('Locale Provider', () => {
it('should display the text as locale changed', () => {
[enUS, ptBR, ruRU, esES, svSE, frBE, deDE, nlNL, caES, csCZ, koKR, etEE, skSK, jaJP, trTR, zhTW].forEach((locale) => {
[enUS, ptBR, ruRU, esES, svSE, frBE, deDE, nlNL, caES, csCZ, koKR, etEE, skSK, jaJP, trTR].forEach((locale) => {
const wrapper = mount(
<LocaleProvider locale={locale}>
<App />
Expand All @@ -86,7 +85,7 @@ describe('Locale Provider', () => {
return null;
}
}
[enUS, ptBR, ruRU, esES, svSE, frBE, deDE, nlNL, caES, csCZ, koKR, trTR, zhTW].forEach((locale) => {
[enUS, ptBR, ruRU, esES, svSE, frBE, deDE, nlNL, caES, csCZ, koKR, trTR].forEach((locale) => {
mount(
<LocaleProvider locale={locale}>
<ModalDemo />
Expand Down
47 changes: 0 additions & 47 deletions components/locale-provider/zh_TW.tsx

This file was deleted.

5 changes: 0 additions & 5 deletions components/time-picker/locale/zh_TW.tsx

This file was deleted.

1 change: 0 additions & 1 deletion docs/react/i18n.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ Supported languages:
- Turkish - tr_TR
- Slovak - sk_SK
- Estonian - et_EE
- Chinese (Traditional) - zh_TW

See usage and contributing way of a new locale package at [LocaleProvider](/components/locale-provider).

Expand Down
1 change: 0 additions & 1 deletion docs/react/i18n.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ return (
- 土耳其语 - tr_TR
- 斯洛伐克语 - sk_SK
- 爱沙尼亚语 - et_EE
- 繁體中文 - zh_TW

具体的使用方法和新语言包贡献方式请参考 [LocaleProvider 文档](/components/locale-provider)

Expand Down

0 comments on commit 6dd3304

Please sign in to comment.