Commit Graph

503 Commits

Author SHA1 Message Date
afc163
78e39a5520 improve table locale text 2017-06-20 21:36:33 +08:00
Pierre Neter
7df095414c docs: update i18n support 24 language (#6483)
Signed-off-by: Pierre Neter <pierreneter@gmail.com>
2017-06-15 17:34:38 +08:00
afc163
602cf0a309 Add test case 2017-06-09 20:00:16 +08:00
Evgeny Kuznetsov
1b79b74bea Update et_EE.tsx 2017-06-07 21:52:08 +03:00
Evgeny Kuznetsov
23df258f50 Update es_EE.tsx
Pagination import was ommited, so chinese placeholders appeared.
2017-06-07 17:00:19 +03:00
Benjy Cui
b0040bfc37 test: update snapshot 2017-06-07 17:39:44 +08:00
Benjy Cui
2e313ef8f0 Merge branch 'master' into feature-2.11 2017-06-06 17:26:06 +08:00
偏右
920b32e94c Merge pull request #6344 from damiangreen/master
Add en-GB, it-IT, fr-FR + nl_BE locales
2017-06-05 18:05:22 +08:00
Damian Green
ea616e4deb tests 2017-06-05 10:28:45 +01:00
afc163
d086ee253e update snapshots for #6347 2017-06-03 01:38:26 +08:00
Damian Green
9193c05102 fix lint 2017-06-02 14:58:13 +01:00
Damian Green
6d74ea346f Add en-GB, it-IT, fr-FR + nl_BE locales 2017-06-02 14:40:32 +01:00
Patryk
e2be361cd0 Add Polish language support 2017-06-01 22:43:12 +02:00
Benjy Cui
4e75347d35 deps: upgrade rc-pagination 2017-06-01 10:44:00 +08:00
Adrian Dimitrov
d629086c74 feat: added Bulgarian translation (#6297)
* Added Bulgarian translation

* Update bg_BG.tsx
2017-06-01 10:32:10 +08:00
Arthur Denner Oliveira Santos
262cad1009 fix: adding missing translations to Upload and Table components (#6218) 2017-05-22 09:47:30 +08:00
afc163
8d5ecfbd12 remove duplicated css import, close #6186 2017-05-18 09:57:11 +08:00
Benjy Cui
0b332f0fb8 test: update snapshot for pagination 2017-05-17 11:11:01 +08:00
Tyler
919cb22eb7 Use the prop-types package from npm instead of React.PropTypes (#6057)
* Use the prop-types package from npm instead of React.PropTypes

* Remove using of PropTypes from React in docs and site
2017-05-09 13:40:33 +08:00
afc163
93f7fd1c98 update table selection text and add select all demo 2017-05-03 16:19:12 +08:00
Benjy Cui
5f80e50d31 Merge branch 'feature-2.10' 2017-04-28 09:41:34 +08:00
Tino D
5c25452de8 fix: update locale es_ES (Spanish) (#5932)
* Update locale es_ES (Spanish)

* Fix indent
2017-04-28 09:39:35 +08:00
Hai Phan Nguyen
c6832d1235 feat: add Vietnamese localization support (#5927)
* Add Vietnamese locale

* add Vietnamese locale
2017-04-27 16:39:46 +08:00
afc163
b5c5466732 update locale-provider test case 2017-04-22 22:52:37 +08:00
Kimmo Saari
b6eecef255 Add locale fi_FI (#5674) 2017-04-22 22:52:37 +08:00
OAwan
1903b75d38 Traditional Chinese locale provider added (#5665) 2017-04-22 22:52:01 +08:00
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
Benjy Cui
200b88246f docs: update docs format 2017-02-13 10:55:53 +08:00
Erwann Mest
af7dafe0b8 Update LocaleProvider doc to be clearer. (#4833)
* Update LocaleProvider doc to be clearer.

* Update index.en-US.md
2017-02-10 22:59:16 +08:00
Benjy Cui
d2b8d65c87 style: update code style to please lint, close: #2179 2017-02-06 12:09:58 +08:00
Jesper We
f7aaa0d399 Fix issues with the new Swedish locale provider. (#4762) 2017-02-05 22:18:10 +08:00
afc163
767c4ab70d docs: update LocalProvider doc 2017-01-31 15:08:35 +08:00
afc163
99e7139634 docs: update LocalProvider doc 2017-01-31 15:08:07 +08:00
afc163
30b2fa2c37 Move locale files 2017-01-30 18:20:57 +08:00
afc163
dda37d873b update LocaleProvider documentation 2017-01-27 17:54:57 +08:00
afc163
490a90b46f Add localProvider test for more language 2017-01-27 17:49:20 +08:00
afc163
f2bb4afd4d Merge from master 2017-01-27 17:23:51 +08:00
Simon Waloschek
fd233cf430 Added German locale (#4686)
* Added German locale

* Added German locale for pagination
2017-01-25 21:12:27 +08:00
偏右
273c089aad Add test case for LocalProvider (#4693) 2017-01-23 21:08:16 +08:00
Wei Zhu
77b78a9389 docs: Unify type naming (#4636)
* Unify name of ReactNode type in document

* Lowser all string type name

* Lowercase all number type name

* Lowercase all boolean type name

* Unify array type

* Lowercase all object type name

* Unify mutilple types
2017-01-20 20:10:50 +08:00
afc163
35523be6e9 Merge from master 2017-01-20 18:28:09 +08:00
afc163
e245facb48 Fix table snapshots 2017-01-20 13:43:39 +08:00
Benjy Cui
3e17551b7e site: improve build speed 2017-01-19 15:22:53 +08:00
bokzor
47fcd7651f feat: Add french locale (#4538)
* add french locale

* Add french locale
2017-01-11 10:28:47 +08:00
Benjy Cui
3fa5d10da3 Merge branch 'master' into feature-2.7 2017-01-10 10:50:40 +08:00
Benjy Cui
0aabdb3d8b fix: locale should follow LocaleProvider, close: #4495 (#4503)
* fix: locale should follow LocaleProvider, close: #4495

* test: update snapshot

* fix: fix some bugs
2017-01-09 16:25:58 +08:00
Benjy Cui
b96601decb test: update snapshot 2017-01-09 14:56:14 +08:00
Jesper We
11ebc915eb feat: Add support for Swedish locale (#4455)
* Swedish locale

* Create sv_SE.tsx

* Create sv_SE.tsx

* Create sv_SE.tsx
2017-01-08 19:14:01 +08:00
afc163
869fc54cf7 fix snapshots 2016-12-27 19:32:36 +08:00
Benjy Cui
d7498c0af6 Test transfer (#4191)
* refactor: use Checkbox directly

* test: add test case for Transfer
2016-12-16 17:59:52 +08:00
Patrick Gidich
21ec9cb985 fix: issue with TypeScript for children of LocaleProvider (#4234)
Similar to issue:
https://github.com/ant-design/ant-design/issues/4140

Fixed in similar manner to how this issue was resolved:
a28743f648 (diff-9ae0a9df19960a2d1b9608f30f6b19b3)

children?: React.ReactElement<any>
2016-12-16 16:42:50 +08:00
Wei Zhu
07103b9fb6 Don't ignore test files. 2016-12-14 14:48:09 +08:00
Wei Zhu
17a0a33283 Restructure tests. 2016-12-14 14:41:39 +08:00
afc163
575f0dbc21 change LocaleProvider's component type 2016-12-02 21:06:21 +08:00
Nathan Tavares Nascimento
c97e687edd feature: add pt_BR locale support (#4004) 2016-11-25 09:44:28 +08:00
afc163
a8c4f53922 remove unused code in demo 2016-11-23 20:24:36 +08:00
afc163
733a4cdc40 remove default chinese text in Transfer (#3768) 2016-11-09 20:30:31 +08:00
ddcat1115
0baef0627e docs: 调整组件导航结构 (#3758)
- Layout 更名为 Grid
2016-11-09 14:43:32 +08:00
Benjy Cui
4878258f6c refactor: ref: #3490 2016-10-24 12:04:26 +08:00
Benjy Cui
a987e34f6f fix: Transfer[title] should follow LocaleProvider, ref: #3264 (#3318) 2016-10-08 10:42:13 +08:00
Danny Hoower Antonio Viasus Avila
502d0f4f29 Adding Spanish Support - LocaleProvider - Spanish Translation (#3285)
* Spanish support Intld

* Update es_ES.js
2016-10-06 18:00:35 +08:00
Andrey G
5982aacacb Update ru_RU.tsx (#3306) 2016-10-06 11:39:56 +08:00
Benjy Cui
27649dd8d8 fix: should generate style/css for LocaleProvider, close: #3255 2016-10-01 08:27:07 +08:00
Benjy Cui
5705f72fb8 fix: make sure en|ru locale import after zh-CN (#3246)
* fix: make sure en|ru locale import after zh-CN

* refactor: simplify code
2016-10-01 00:17:31 +08:00
Benjy Cui
bd7e9f00c0 style: update code style 2016-09-21 11:54:53 +08:00
Benjy Cui
3f67fd3f9f docs: update docs details 2016-09-21 11:28:38 +08:00
Benjy Cui
4026221d45 deps: hello moment (#2887)
* deps: upgrade TimePicker

* deps: upgrade DatePicker

* deps: upgrade Calendar

* fix: moment should work with LocaleProvider

* feat: update API of TimePicker

* feat: update Calendar's APIs

* feat: update DatePicker's APIs

* doc: update demo

* revert: add dateString and timeString and so on

* feat: add Calendar[defaultValue]

* feat: add defaultPickerValue

* docs: update docs about date picker

* feat: set moment locale to zh-cn automatically
2016-09-09 13:55:21 +08:00
Benjy Cui
e6280a7ea6 Merge branch '1.x-stable' 2016-08-22 17:05:37 +08:00
ddcat1115
6289d1202b docs: LocaleProvider, DatePicker 补充时区说明 (#2761) 2016-08-18 15:39:57 +08:00
ddcat1115
ef84f8d408 refactor: ts LocaleProvider (#2548) 2016-08-02 16:10:26 +08:00
Benjy Cui
d60051dac2 docs: fix typo 2016-07-29 13:47:14 +08:00
ddcat1115
634e836e8d docs: LocaleProvider translation (#2532) 2016-07-29 10:13:59 +08:00
偏右
de359d2cf7 fix tslint problems (#2360) 2016-07-13 11:14:24 +08:00
yiminghe
94706f1d2c fix ts 2016-07-07 20:25:03 +08:00
yiminghe
9a0d751f94 refactor to typescript 2016-06-22 13:19:48 +08:00
Benjy Cui
2144349741 style: enable react/jsx-closing-bracket-location 2016-06-06 13:54:10 +08:00
RaoHai
ff31a5b555 Revert "Revert "refactor with bisheng""
This reverts commit 7a07b128d1.
2016-05-27 11:48:08 +08:00
RaoHai
7a07b128d1 Revert "refactor with bisheng" 2016-05-27 11:03:49 +08:00
Benjy Cui
a6e38f8479 site: support iframe 2016-05-27 09:44:07 +08:00
Benjy Cui
8842d9342a site: update components' type 2016-05-16 15:41:55 +08:00
afc163
6a0514614d fix demo 2016-05-12 13:41:29 +08:00
afc163
a3850a4df8 LocalePrivider should not dependconfirm 2016-05-12 13:25:00 +08:00
Benjy Cui
ecaa6c56c3 style: enable comma-dangle 2016-05-11 09:32:33 +08:00
afc163
1864ab3175 Fix locale not found content (#1604)
* Add notFoundContent to LocaleProvider, close #1488

* Fix TreeSelect notFoundContent style
2016-05-08 16:05:36 +08:00
afc163
03cb74ead5 upgrade eslint-config-airbnb version and fix some problems 2016-04-29 12:13:27 +08:00
afc163
0ca6a1c24a css modularize (#1448)
* css modularize

* Add alert style

* Move more component style

* Move iconfont to common style

* Move layout style

* Move more component style

* Move all components

* Fix lots of mixin deps

* remove css-prefix from less

* fix a button icon style bug

* restructure

* fix index

* add dist

* fix jest

* fix some components style

* clean webpack config

* check more components style

* update tabs

* update scripts

* update scripts

* fix form style

* fix more style

* Fix select width

* Fix form and tabs style
2016-04-27 20:44:36 +08:00
Benjy Cui
12331ea57c style: enable react/prefer-stateless-function in demo 2016-04-21 11:36:51 +08:00
plandem
9af3e4fc55 ru locale (#1411) 2016-04-14 11:57:59 +08:00
afc163
655e4d5a7d Add LocaleProvider support for RangePicker 2016-04-01 13:53:37 +08:00
Benjy Cui
df3ba36720 docs: remove useless newline in documentation 2016-04-01 10:08:19 +08:00
afc163
eba37c9ef7 Add LocaleProvider support for Calendar 2016-03-31 17:37:24 +08:00
Benjy Cui
d5a6932c15 docs: update documentation format 2016-03-31 14:17:09 +08:00
Benjy Cui
03d09b66e8 docs: update demo format 2016-03-31 09:40:55 +08:00
Bruce Mitchener
273e527201 Use static class members for propTypes and friends. 2016-03-29 13:01:10 +07:00
Bruce Mitchener
89561b0b3e Favor 'export default' over 'module.exports'. 2016-03-14 14:17:48 +07:00
Bruce Mitchener
5b76337bdc Minor English grammar improvements. 2016-03-14 11:45:06 +07:00
Benjy Cui
12e51707bf chore: remove duplicated fileName 2016-03-10 15:02:20 +08:00
afc163
8b89313ffa update locale-provider docs 2016-03-10 10:32:50 +08:00
afc163
2fa1d0f9a5 Add component locale support for Transfer 2016-03-10 10:32:50 +08:00
afc163
83f96e5f19 Make LocalProvider compatible with Modal.xxx 2016-03-10 10:32:50 +08:00
afc163
2482140d2f Change context locale name 2016-03-10 10:32:50 +08:00
afc163
193eb14423 update demo 2016-03-10 10:32:49 +08:00
afc163
99b58e67ec Add other component for locale 2016-03-10 10:32:49 +08:00
afc163
d8f599fd3a Add LocalProvider, ref #1055 2016-03-10 10:32:49 +08:00