Commit Graph

246 Commits

Author SHA1 Message Date
afc163
25a013a84b Fix snapshot 2017-10-28 15:23:46 +08:00
Benjy Cui
e5699aff68 fix: should not import moment while useless, close: #8013 2017-10-26 10:50:18 +08:00
Wei Zhu
bbb1a3a828 Merge branch 'master' into antd-3.0 2017-10-25 10:27:38 +08:00
Wei Zhu
36227a10db docs: sort api table 2017-10-25 10:25:44 +08:00
afc163
43f5ed30ac Fix snapshot 2017-10-23 20:43:31 +08:00
Benjy Cui
7ea572bfc8 refactor: extract common locale logic (#7915) 2017-10-20 14:54:38 +08:00
afc163
11ff9e0d6a Add snapshot for new locale 2017-10-14 14:49:44 +08:00
Mohamed Seada
fa315e9f6d Add new locale (ar-EG: Arabic Egypt) #3 (#7888)
* Add new locale (ar-EG: Arabic Egypt)

* resolve snapshot testing problem

* Add new locale (ar-EG: Arabic Egypt) to docs
2017-10-14 14:30:54 +08:00
afc163
94c6c910ff Merge branch 'master' into antd-3.0 2017-10-12 20:07:31 +08:00
Alexander Suevalov
35b2c5e58f Adding missing optional Upload property to LocaleProviderProps (#7862) 2017-10-11 07:13:39 -05:00
afc163
244a2fd2da update locale-provider snap 2017-10-10 20:15:41 +08:00
Wei Zhu
c5487ad1eb React 16 + Enzyme 3 2017-10-09 19:18:04 +08:00
afc163
b544e3aef8 update snapshot 2017-10-09 13:37:45 +08:00
afc163
4eb9d5ef56 Merge branch 'master' into antd-3.0 2017-10-09 13:33:59 +08:00
afc163
942ea41b02 update snapshot for new jest 2017-10-09 13:32:11 +08:00
afc163
475e4ff23d upgrade eslint-config-airbnb 2017-10-09 13:27:35 +08:00
偏右
2bced36f0c New component styles (#7731)
* Tweak button padding

* upgrade input and button size

* update form controls size

* update components size

* Add lemon color and update rate color

* Add new icons

* update layout style

* breadcrumb and dropdown

* update menu arrow width

* update layout and menu

* update steps

* fix var name

* update cascasder style

* Update DatePicker

* update InputNumber and Mention

* radio and switch

* select and transfer

* TimePicker & Upload

* more components

* calendar and list

* Tree Timeline Popover Tag

* divider modal popover

* update search input

* update card style

* update switch disabled opacity

* update shoadow and mask

* Add v2-compatible-reset.less

* Fix undefined className

* update snahshotssssssssssssssssss 👻
2017-09-27 22:32:49 +08:00
afc163
7bfe6878dd fix snapshot 2017-09-27 09:56:03 +08:00
Benjy Cui
829b5f87bf feat: make default locale to enUS (#7553)
* feat: make default locale to enUS

* test: fix CI

* docs: update getting started
2017-09-26 23:12:47 +08:00
afc163
412d7eebba Merge branch 'master' into antd-3.0 2017-09-22 18:37:08 +08:00
Marco Afonso
81435e2798 feat: add Portuguese locale (#7449)
* Add pt_PT Locale

* Adding pt_PT Locale (fix comma)

* Adding pt_PT Locale to docs

* Add pt_PT locale to tests

* Update imports for rc-pagination and rc-calendar

* Add pt_PT Locale

* Adding pt_PT Locale (fix comma)

* Adding pt_PT Locale to docs

* Add pt_PT locale to tests

* Update imports for rc-pagination and rc-calendar

* Add pt_PT to tests
2017-09-21 21:02:01 -05:00
Kirill Stiopin
49080aa01d fix: update for Dutch locale-provider: added missing translations (#7694) 2017-09-21 20:57:52 -05:00
Wei Zhu
250c7a9c68 Revert "Mock rc-trigger"
This reverts commit 9d2c91598b.
2017-09-15 16:42:25 +08:00
Wei Zhu
9d2c91598b Mock rc-trigger
Ref #5522
2017-09-15 16:14:26 +08:00
Wei Zhu
579becd894 Update snapshot 2017-09-15 10:03:46 +08:00
afc163
9e319990d2 update snapshot 2017-09-14 18:09:30 +08:00
Stefan Paunovic
0ac7ccaa8f feat: add is_IS locale (#7561) 2017-09-12 09:10:42 +08:00
afc163
7d619dfbd7 update snapshot for #7495 2017-09-06 19:39:46 +08:00
afc163
843d82f6bd fix demo sanpshot 2017-08-30 14:24:47 +08:00
afc163
d4171badfd Merge from master 2017-08-19 12:40:40 +08:00
Ramsés Moreno
20ea524ef1 fix: corrections in the Spanish locale (#7234)
* Corrections in the Spanish locale. In Spanish, the only uppercase letter in a sentece is the first letter and not in every word. Some othe minor changes.

* Corrections in the Spanish locale. In Spanish, the only uppercase letter in a sentece is the first letter and not in every word. Some othe minor changes.
2017-08-17 09:36:52 +08:00
Stefan Paunovic
7d8c7d72b7 feat: add sr_RS locale (Serbian) (#7201) 2017-08-15 09:24:30 +08:00
Vemund Santi
b69a6886d7 Locale/nb-NO (#7122)
* locale: Add Norwegian Bokmål locales to Ant Design

* Add Vemund Santi to authors.

* docs: add Norwegian to list of i18n language examples

* test: add tests for Norwegian Bokmål

* Update dependencies. Use locales from rc-pagination.
2017-08-09 20:36:01 +08:00
Michalis Macheras
94d46e4c01 add el_GR locale (Greek) (#6928)
Update index.test.js

Syntactic error corrected
2017-08-07 10:41:38 +08:00
mkermani144
e8ef77b963 Add fa_IR locale 2017-08-07 10:40:34 +08:00
Wei Zhu
401519ec6f Fix types 2017-07-31 01:50:46 +08:00
偏右
05473dcd0b Merge pull request #6869 from imosapatryk/patch-2
Update pl_PL.tsx
2017-07-17 23:55:16 +08:00
imosapatryk
18bf973e94 Update pl_PL.tsx
'Search here' in Polish is just 'Szukaj'. 'Wyszukaj tutaj' sounds bad.
2017-07-17 16:10:51 +02:00
imosapatryk
3ccef11dec Update pl_PL.tsx
Wrong file import
2017-07-17 16:05:58 +02:00
afc163
a481134cea no need to import moment locale 2017-07-12 11:54:46 +08:00
Ivo Stratev
0bb73534b2 Fixing typos (#6788)
It should be "Добре" instead of "Дибре"
2017-07-11 00:28:34 +08:00
Sakol Assawasagool
bc7e0bad3e feat: add th_TH translation (#6721) 2017-07-04 17:54:36 +08:00
afc163
2382250d82 Fix snapshot 2017-06-20 22:10:26 +08:00
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