Commit Graph

127 Commits

Author SHA1 Message Date
Manjit Kumar
4e055ed5d0 use PropTypes from 'prop-types' mdoule instead of React
- as React.PropTypes is being deprecated
 - Warning: Accessing PropTypes via the main React package is deprecated. Use the prop-types package from npm instead.
 - Solution: https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes
2017-04-12 02:22:05 +05:30
keng
681a160e35 If you use locale-provider, specify the ant-design theme as the default theme. This will automatically add all the less variables defined by ant-design. This is useful if you want to create custom themes with less and you are referencing less variables defined by ant-design. 2017-04-10 14:33:18 +08:00
Wei Zhu
6dd3304976 Revert "Traditional Chinese locale provider added (#5665)"
This reverts commit 65bac17e58.
2017-04-09 03:37:49 +08:00
OAwan
65bac17e58 Traditional Chinese locale provider added (#5665) 2017-04-07 19:19:38 +08:00
Benjy Cui
30f55b923a deps: upgrade rc-calendar 2017-04-01 14:43:36 +08:00
ndrshn
92f7df48a8 chore: fixed some typos (#5589) 2017-04-01 10:34:52 +08:00
Ayhan
2265a49dbf Turkish locale provider added (#5536) 2017-03-28 21:26:07 +08:00
afc163
4f89e54cb2 Merge from branch "master" 2017-03-28 15:58:41 +08:00
Yusuke Ito
b342dbefa2 Japanese locale (#5529)
* add ja_JP translation

* fix Japanese locale

* fix i18n docs

* update rc-pagination version

* add locale test for ja_JP
2017-03-28 15:11:33 +08:00
Andrey G
b816ae9cfd ... (#5518) 2017-03-28 00:26:25 +08:00
afc163
4393fcf1fe Add test case for #5494 2017-03-27 12:08:48 +08:00
Hubert Argasinski
6530e76758 update Modal.confirm locale on LocaleProvider componentWillMount (#5494) 2017-03-27 12:08:15 +08:00
Benjy Cui
0beb892971 fix: injectLocale should work in IE<=10 (#5488) 2017-03-27 10:09:38 +08:00
Andrey G
26c436987f *updates for RU locale (#5406) 2017-03-27 10:09:06 +08:00
Benjy Cui
fcd4669fb1 fix: injectLocale should work in IE<=10 (#5488) 2017-03-26 10:02:34 +08:00
Benjy Cui
583ed547e9 fix: code syntax 2017-03-24 11:29:38 +08:00
Madis Väin
7696c1cd05 feat: Add et_EE locale (Estonian) (#5266)
* add Estonian translations

* add other translations except pagination for Estonian

* add to tests

* linting fixes

* remove comments
2017-03-24 10:54:36 +08:00
Martin Litvaj
82b516c77f feat: SK Localization (#5304) 2017-03-24 10:30:37 +08:00
Andrey G
b093d9d8b0 *updates for RU locale (#5406) 2017-03-20 19:02:39 +08:00
Knacktus
038453e581 chore: update de_DE.tsx (#5387)
Added locale for selectAll and selectInvert
2017-03-20 11:08:27 +08:00
Wei Zhu
f6b1e942e3 Jest 19 (#5361)
* Upgeade to jest 19

* Use jest.spyOn
2017-03-17 18:56:30 +08:00
Benjy Cui
8f81594f91 Refactor: introduce injectLocale (#5289)
* refactor: extract injectLocale and refactor Pagination, ref: #5103

* refactor: use injectLocale in Popconfirm, ref: #5103

* refactor: use injectLocale in TimePicker

* refactor: use injectLocale in Transfer

* refactor: use injectLocale in TreeSelect

* refactor: remove useless code in AutoComplete

* test: update snapshot
2017-03-17 15:23:25 +08:00
Benjy Cui
b567c99074 docs: update docs for LocaleProvider, close: #5271 2017-03-13 10:51:37 +08:00
Igor G
0df0659a9d docs: Update index.en-US.md (#5267) 2017-03-12 12:44:27 +08:00
afc163
a0cdce4d00 fix test case 2017-03-10 19:22:18 +08:00
Wei Zhu
c037abab6a Align table checkbox (#5183)
* Align table checkbox

* Don't select Item

* I18n selection text

* Update snapshot
2017-03-06 17:14:34 +08:00
Wei Zhu
67bbae9ea8 Merge branch 'feature-2.8' 2017-03-05 21:34:57 +08:00
Minsung Ryu
5af5a48fa2 add translate en_US.tsx#L39-L44 2017-03-05 20:15:04 +08:00
Minsung Ryu
914ee21a4d Add locale ko_KR(Korean) 2017-03-05 20:15:04 +08:00
Martin Novák
e59bb6b609 cz translation (#5169) 2017-03-05 20:11:24 +08:00
Wei Zhu
8bfbe9b6df update snapshot 2017-03-02 11:01:12 +08:00
afc163
5eef3fa467 fix snapshot test 2017-03-01 13:33:17 +08:00
Wei Zhu
6eca8b4ad1 Add locale support to Upload (#5094) 2017-02-28 18:43:22 +08:00
Benjy Cui
758559f718 test: update snapshots 2017-02-28 16:14:53 +08:00
afc163
376806dab8 Merge from "master" 2017-02-26 18:45:16 +08:00
afc163
7181e3c9e8 revert d9ec4bf and ef0b708, close #4997 2017-02-22 16:50:24 +08:00
Benjy Cui
e4d9e5af54 test: update snapshot 2017-02-22 15:52:43 +08:00
afc163
176b9f9083 fix typo 2017-02-20 22:11:39 +08:00
afc163
c28020708f fix typo 2017-02-20 22:09:13 +08:00
afc163
f2d12306bd improve demo es6 class code style 2017-02-20 21:47:57 +08:00
afc163
ce877707bd rewrite LocaleProvider and Mention demos to es6 component, #4878 2017-02-20 21:39:07 +08:00
afc163
a9a564779e Merge from "master" 2017-02-20 12:18:41 +08:00
afc163
3308bce9b9 fix snapshot test 2017-02-20 11:36:57 +08:00
Aaron Planell López
05fd5a6825 Add locale ca_ES (Catalan) (#4929)
* Add locale ca_ES (Catalan)

* Add locale ca_ES (Catalan). Modify global locale in local-provider.
2017-02-19 14:27:14 +08:00
afc163
673969d0ba fix table snapshot for react-component/table#121 2017-02-19 14:04:22 +08:00
afc163
bd6bc70302 Rollback #4869 for better loading animation, close #4934 2017-02-18 14:58:47 +08:00
偏右
4c0af2ba1f refactor: reduce table nested level (#4869)
* reduce table nested level, #4868

* update table snapshot
2017-02-16 15:36:34 +08:00
afc163
c296d1a918 remove unused ant-select-show-search className, close #4859 2017-02-14 20:29:00 +08:00
Benjy Cui
63476d0bc0 Merge branch 'master' into feature-2.8 2017-02-14 10:56:33 +08:00
corneyl
28961856aa feat: Added Dutch locale and bumped dep versions so they include Dutch locales (#4785)
* Added Dutch locale and bumped dep versions so they include Dutch locales

Bumped versions so they include Dutch locales
- rc-calendar to ~7.6.2
- rc-pagination to ~1.6.6

* Added dutch locale to LocaleProvider test
2017-02-13 15:46:13 +08:00