From 829b5f87bf345a6189d78adb982899f8200d8a1d Mon Sep 17 00:00:00 2001 From: Benjy Cui Date: Tue, 26 Sep 2017 10:12:47 -0500 Subject: [PATCH] feat: make default locale to enUS (#7553) * feat: make default locale to enUS * test: fix CI * docs: update getting started --- .travis.yml | 4 + components/_util/getLocale.tsx | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 872 +- components/calendar/index.en-US.md | 9 +- components/calendar/index.tsx | 4 +- components/calendar/index.zh-CN.md | 9 +- .../__snapshots__/RangePicker.test.js.snap | 88 +- .../__tests__/__snapshots__/demo.test.js.snap | 60 +- .../__snapshots__/other.test.js.snap | 50 +- components/date-picker/index.en-US.md | 9 +- components/date-picker/index.zh-CN.md | 9 +- components/date-picker/locale/zh_CN.tsx | 9 - components/date-picker/wrapPicker.tsx | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 24 +- .../__tests__/__snapshots__/demo.test.js.snap | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 4 +- .../__snapshots__/index.test.js.snap | 171808 +++++++++++++++ .../locale-provider/__tests__/index.test.js | 8 +- components/locale-provider/demo/all.md | 14 +- components/locale-provider/en_US.tsx | 1 + components/locale-provider/zh_CN.tsx | 46 + components/modal/Modal.tsx | 5 +- .../__snapshots__/Modal.test.js.snap | 4 +- components/modal/locale.tsx | 8 +- components/pagination/Pagination.tsx | 4 +- .../__tests__/__snapshots__/demo.test.js.snap | 72 +- .../__snapshots__/index.test.js.snap | 4 +- components/popconfirm/index.tsx | 6 +- components/select/index.tsx | 5 +- components/table/Table.tsx | 10 +- .../__snapshots__/Table.filter.test.js.snap | 10 +- .../Table.pagination.test.js.snap | 4 +- .../Table.rowSelection.test.js.snap | 4 +- .../__tests__/__snapshots__/demo.test.js.snap | 117 +- .../__snapshots__/empty.test.js.snap | 14 +- .../__tests__/__snapshots__/demo.test.js.snap | 22 +- components/time-picker/index.tsx | 2 +- .../__tests__/__snapshots__/demo.test.js.snap | 28 +- .../__snapshots__/index.test.js.snap | 8 +- components/transfer/__tests__/index.test.js | 2 +- components/transfer/index.tsx | 7 +- components/upload/Upload.tsx | 8 +- .../__tests__/__snapshots__/demo.test.js.snap | 20 +- docs/react/getting-started.en-US.md | 17 +- docs/react/getting-started.zh-CN.md | 17 +- package.json | 2 +- site/theme/template/Layout/index.jsx | 14 +- 47 files changed, 172636 insertions(+), 812 deletions(-) create mode 100644 components/locale-provider/__tests__/__snapshots__/index.test.js.snap create mode 100644 components/locale-provider/zh_CN.tsx diff --git a/.travis.yml b/.travis.yml index cd736ecd17be..7977e7428c9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,10 @@ env: - TEST_TYPE=test:dom - TEST_TYPE=test:node +before_script: + - export TZ=China/Beijing + - date + script: - | if [ "$TEST_TYPE" = lint ]; then diff --git a/components/_util/getLocale.tsx b/components/_util/getLocale.tsx index 4fe58bf2b922..6239ab13de63 100644 --- a/components/_util/getLocale.tsx +++ b/components/_util/getLocale.tsx @@ -24,7 +24,7 @@ export function getLocaleCode(context) { const localeCode = context.antLocale && context.antLocale.locale; // Had use LocaleProvide but didn't set locale if (context.antLocale && context.antLocale.exist && !localeCode) { - return 'zh-cn'; + return 'en-us'; } return localeCode; } diff --git a/components/calendar/__tests__/__snapshots__/demo.test.js.snap b/components/calendar/__tests__/__snapshots__/demo.test.js.snap index 007535581069..4455aa203ee5 100644 --- a/components/calendar/__tests__/__snapshots__/demo.test.js.snap +++ b/components/calendar/__tests__/__snapshots__/demo.test.js.snap @@ -25,9 +25,9 @@ exports[`renders ./components/calendar/demo/basic.md correctly 1`] = `
- 2016年 + 2016
- 11月 + Nov - 月 + Month - 年 + Year @@ -132,78 +132,78 @@ exports[`renders ./components/calendar/demo/basic.md correctly 1`] = ` - 一 + Su - 二 + Mo - 三 + Tu - 四 + We - 五 + Th - 六 + Fr - 日 + Sa @@ -218,7 +218,25 @@ exports[`renders ./components/calendar/demo/basic.md correctly 1`] = ` +
+
+ 30 +
+
+
+ +
+ +
- -
+ +
- -
+ +
- -
+ +
- -
+ +
- -
- -
-
- 11 -
-
-
- @@ -1032,9 +1032,9 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = `
- 2016年 + 2016
- 11月 + Nov
- 月 + Month
@@ -1139,78 +1139,78 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = ` - 一 + Su - 二 + Mo - 三 + Tu - 四 + We - 五 + Th - 六 + Fr - 日 + Sa @@ -1225,7 +1225,25 @@ exports[`renders ./components/calendar/demo/card.md correctly 1`] = ` +
+
+ 30 +
+
+
+ +
+ +
- -
+ +
- -
+ +
- -
+ +
- -
+ +
- -
- -
-
- 11 -
-
-
- @@ -2037,9 +2037,9 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = `
- 2016年 + 2016
- 11月 + Nov
- 月 + Month
@@ -2144,78 +2144,78 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = ` - 一 + Su - 二 + Mo - 三 + Tu - 四 + We - 五 + Th - 六 + Fr - 日 + Sa @@ -2230,7 +2230,29 @@ exports[`renders ./components/calendar/demo/notice-calendar.md correctly 1`] = ` +
+
+ 30 +
+
+
    +
+
+ +
+ +
- -
+ +
- -
+ +
- -
+ +
- -
+ +
- -
- -
-
- 11 -
-
-
    -
-
- @@ -3356,9 +3356,9 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = `
- 2017年 + 2017
- 1月 + Jan
- 月 + Month
@@ -3463,78 +3463,78 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = ` - 一 + Su - 二 + Mo - 三 + Tu - 四 + We - 五 + Th - 六 + Fr - 日 + Sa @@ -3547,9 +3547,9 @@ exports[`renders ./components/calendar/demo/select.md correctly 1`] = ` role="row" >
- 26 + 01
- 27 + 02
- 28 + 03
- 29 + 04
- 30 + 05
- 31 + 06
- 01 + 07
- 02 + 08
- 03 + 09
- 04 + 10
- 05 + 11
- 06 + 12
- 07 + 13
- 08 + 14
- 09 + 15
- 10 + 16
- 11 + 17
- 12 + 18
- 13 + 19
- 14 + 20
- 15 + 21
- 16 + 22
- 17 + 23
- 18 + 24
- 19 + 25
- 20 + 26
- 21 + 27
- 22 + 28
- 23 + 29
- 24 + 30
- 25 + 31
- 26 + 01
- 27 + 02
- 28 + 03
- 29 + 04
- 30 + 05
- 31 + 06
- 01 + 07
- 02 + 08
- 03 + 09
- 04 + 10
- 05 + 11
require('./locale/zh_CN')); + getComponentLocale(props, context, 'Calendar', () => require('./locale/en_US')); const value = props.value || props.defaultValue || moment(); if (!moment.isMoment(value)) { @@ -183,7 +183,7 @@ export default class Calendar extends React.Component require('./locale/zh_CN')); + const locale = getComponentLocale(props, context, 'Calendar', () => require('./locale/en_US')); let cls = className || ''; if (fullscreen) { diff --git a/components/calendar/index.zh-CN.md b/components/calendar/index.zh-CN.md index 7fbc659c7931..84d73159f00f 100644 --- a/components/calendar/index.zh-CN.md +++ b/components/calendar/index.zh-CN.md @@ -18,11 +18,10 @@ title: Calendar **注意:**Calendar 部分 locale 是从 value 中读取,所以请先正确设置 moment 的 locale。 ```jsx -import moment from 'moment'; - -// 推荐在入口文件全局设置 locale -import 'moment/locale/zh-cn'; -moment.locale('zh-cn'); +// 默认语言为 en-US,所以如果需要使用其他语言,推荐在入口文件全局设置 locale +// import moment from 'moment'; +// import 'moment/locale/zh-cn'; +// moment.locale('zh-cn');
@@ -43,29 +43,29 @@ exports[`RangePicker show month panel according to value 1`] = ` - 2000年 + 1月 - 1月 + 2000
@@ -761,7 +761,7 @@ exports[`RangePicker show month panel according to value 1`] = ` >
@@ -776,30 +776,30 @@ exports[`RangePicker show month panel according to value 1`] = ` style="position:relative;" > - 2000年 + 2月 - 2月 + 2000
@@ -1489,13 +1489,13 @@ exports[`RangePicker show month panel according to value 1`] = ` class="ant-calendar-time-picker-btn" role="button" > - 选择时间 + Select time - 确 定 + Ok
@@ -1531,7 +1531,7 @@ exports[`RangePicker switch to corresponding month panel when click presetted ra >
@@ -1548,29 +1548,29 @@ exports[`RangePicker switch to corresponding month panel when click presetted ra - 2000年 + 1月 - 1月 + 2000
@@ -2266,7 +2266,7 @@ exports[`RangePicker switch to corresponding month panel when click presetted ra >
@@ -2281,30 +2281,30 @@ exports[`RangePicker switch to corresponding month panel when click presetted ra style="position:relative;" > - 2000年 + 2月 - 2月 + 2000
@@ -3001,13 +3001,13 @@ exports[`RangePicker switch to corresponding month panel when click presetted ra class="ant-calendar-time-picker-btn" role="button" > - 选择时间 + Select time - 确 定 + Ok
diff --git a/components/date-picker/__tests__/__snapshots__/demo.test.js.snap b/components/date-picker/__tests__/__snapshots__/demo.test.js.snap index 3eaf9456d45b..1a9214f3d887 100644 --- a/components/date-picker/__tests__/__snapshots__/demo.test.js.snap +++ b/components/date-picker/__tests__/__snapshots__/demo.test.js.snap @@ -8,7 +8,7 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = `
@@ -42,7 +42,7 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = ` > @@ -53,7 +53,7 @@ exports[`renders ./components/date-picker/demo/basic.md correctly 1`] = ` @@ -138,7 +138,7 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = ` @@ -155,7 +155,7 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = ` @@ -174,7 +174,7 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = ` @@ -186,7 +186,7 @@ exports[`renders ./components/date-picker/demo/disabled.md correctly 1`] = ` @@ -207,7 +207,7 @@ exports[`renders ./components/date-picker/demo/disabled-date.md correctly 1`] =
@@ -242,7 +242,7 @@ exports[`renders ./components/date-picker/demo/disabled-date.md correctly 1`] = > @@ -253,7 +253,7 @@ exports[`renders ./components/date-picker/demo/disabled-date.md correctly 1`] = @@ -273,7 +273,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
@@ -289,7 +289,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = `
@@ -306,7 +306,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = ` > @@ -317,7 +317,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = ` @@ -335,7 +335,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = ` > @@ -346,7 +346,7 @@ exports[`renders ./components/date-picker/demo/extra-footer.md correctly 1`] = ` @@ -366,7 +366,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = `
@@ -385,7 +385,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = `
@@ -406,7 +406,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = ` > @@ -417,7 +417,7 @@ exports[`renders ./components/date-picker/demo/format.md correctly 1`] = ` @@ -441,7 +441,7 @@ exports[`renders ./components/date-picker/demo/mode.md correctly 1`] = `
@@ -492,7 +492,7 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`] > @@ -503,7 +503,7 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`] @@ -522,7 +522,7 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`] > @@ -533,7 +533,7 @@ exports[`renders ./components/date-picker/demo/presetted-ranges.md correctly 1`] @@ -614,7 +614,7 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = `
@@ -630,7 +630,7 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = `
@@ -648,7 +648,7 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = ` > @@ -659,7 +659,7 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = ` @@ -675,7 +675,7 @@ exports[`renders ./components/date-picker/demo/size.md correctly 1`] = ` diff --git a/components/date-picker/__tests__/__snapshots__/other.test.js.snap b/components/date-picker/__tests__/__snapshots__/other.test.js.snap index 11edea629d43..e0bce325edfa 100644 --- a/components/date-picker/__tests__/__snapshots__/other.test.js.snap +++ b/components/date-picker/__tests__/__snapshots__/other.test.js.snap @@ -18,38 +18,38 @@ exports[`MonthPicker and WeekPicker render MonthPicker 1`] = ` - 2000年 + 1月 - 1月 + 2000
diff --git a/components/date-picker/index.en-US.md b/components/date-picker/index.en-US.md index dd205c56b273..715d12cb50b3 100644 --- a/components/date-picker/index.en-US.md +++ b/components/date-picker/index.en-US.md @@ -22,11 +22,10 @@ There are four kinds of picker: **Note:** Part of locale of DatePicker, MonthPicker, RangePicker, WeekPicker is read from value. So, please set the locale of moment correctly. ```jsx -import moment from 'moment'; - -// It's recommended to set locale in entry file globaly. -import 'moment/locale/zh-cn'; -moment.locale('zh-cn'); +// The default locale is en-US, if you want to use other locale, just set locale in entry file globaly. +// import moment from 'moment'; +// import 'moment/locale/zh-cn'; +// moment.locale('zh-cn'); ``` diff --git a/components/date-picker/index.zh-CN.md b/components/date-picker/index.zh-CN.md index 381e9990895e..cd010a206282 100644 --- a/components/date-picker/index.zh-CN.md +++ b/components/date-picker/index.zh-CN.md @@ -23,11 +23,10 @@ subtitle: 日期选择框 **注意:**DatePicker、MonthPicker、RangePicker、WeekPicker 部分 locale 是从 value 中读取,所以请先正确设置 moment 的 locale。 ```jsx -import moment from 'moment'; - -// 推荐在入口文件全局设置 locale -import 'moment/locale/zh-cn'; -moment.locale('zh-cn'); +// 默认语言为 en-US,如果你需要设置其他语言,推荐在入口文件全局设置 locale +// import moment from 'moment'; +// import 'moment/locale/zh-cn'; +// moment.locale('zh-cn'); ``` diff --git a/components/date-picker/locale/zh_CN.tsx b/components/date-picker/locale/zh_CN.tsx index ffd7305dd2c7..a4aad3fd99c9 100644 --- a/components/date-picker/locale/zh_CN.tsx +++ b/components/date-picker/locale/zh_CN.tsx @@ -1,15 +1,6 @@ import CalendarLocale from 'rc-calendar/lib/locale/zh_CN'; import TimePickerLocale from '../../time-picker/locale/zh_CN'; -// 备注:以下代码无法完全按最初设计运行,但为了保证兼容性,需要保留,直至 antd 默认语言改为英文 -// 1. 如果用户不给时间类组件传入 value defaultValue,则运行符合预期 -// 2. 如果用户传入 value defaultValue,因为这段代码没有在用户代码之前运行,所以用户调用 moment 时,默认语言依然为英文 -// To set the default locale of moment to zh-cn globally. -import moment from 'moment'; -import 'moment/locale/zh-cn'; -moment.locale('zh-cn'); - -// Merge into a locale object const locale = { lang: { placeholder: '请选择日期', diff --git a/components/date-picker/wrapPicker.tsx b/components/date-picker/wrapPicker.tsx index bfe522bb35d3..102fbe4c6304 100644 --- a/components/date-picker/wrapPicker.tsx +++ b/components/date-picker/wrapPicker.tsx @@ -73,7 +73,7 @@ export default function wrapPicker(Picker, defaultFormat?: string): any { const locale = getComponentLocale( props, this.context, 'DatePicker', - () => require('./locale/zh_CN'), + () => require('./locale/en_US'), ); const timeFormat = (props.showTime && props.showTime.format) || 'HH:mm:ss'; diff --git a/components/form/__tests__/__snapshots__/demo.test.js.snap b/components/form/__tests__/__snapshots__/demo.test.js.snap index da9e87544c83..5dfe6470fae0 100644 --- a/components/form/__tests__/__snapshots__/demo.test.js.snap +++ b/components/form/__tests__/__snapshots__/demo.test.js.snap @@ -1698,7 +1698,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
@@ -1737,7 +1737,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
@@ -1775,7 +1775,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] =
@@ -1815,7 +1815,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] = > @@ -1826,7 +1826,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] = @@ -1867,7 +1867,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] = > @@ -1878,7 +1878,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] = @@ -1915,7 +1915,7 @@ exports[`renders ./components/form/demo/time-related-controls.md correctly 1`] = > @@ -2837,7 +2837,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = ` > @@ -3033,7 +3033,7 @@ exports[`renders ./components/form/demo/validate-static.md correctly 1`] = `
diff --git a/components/input/__tests__/__snapshots__/demo.test.js.snap b/components/input/__tests__/__snapshots__/demo.test.js.snap index eabe53cd4ad1..9294dd6052ad 100644 --- a/components/input/__tests__/__snapshots__/demo.test.js.snap +++ b/components/input/__tests__/__snapshots__/demo.test.js.snap @@ -361,7 +361,7 @@ exports[`renders ./components/input/demo/group.md correctly 1`] = `
diff --git a/components/list/__tests__/__snapshots__/demo.test.js.snap b/components/list/__tests__/__snapshots__/demo.test.js.snap index 2f2b51f069ca..19018c856241 100644 --- a/components/list/__tests__/__snapshots__/demo.test.js.snap +++ b/components/list/__tests__/__snapshots__/demo.test.js.snap @@ -1967,7 +1967,7 @@ exports[`renders ./components/list/demo/vertical.md correctly 1`] = ` aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev" tabindex="0" - title="上一页" + title="Previous Page" > + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Back to today", + "clear": "Clear", + "dateFormat": "M/D/YYYY", + "dateSelect": "Select date", + "dateTimeFormat": "M/D/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Choose a decade", + "month": "Month", + "monthBeforeYear": true, + "monthSelect": "Choose a month", + "nextCentury": "Next century", + "nextDecade": "Next decade", + "nextMonth": "Next month (PageDown)", + "nextYear": "Next year (Control + right)", + "now": "Now", + "ok": "Ok", + "placeholder": "Select date", + "previousCentury": "Last century", + "previousDecade": "Last decade", + "previousMonth": "Previous month (PageUp)", + "previousYear": "Last year (Control + left)", + "rangePlaceholder": Array [ + "Start date", + "End date", + ], + "timeSelect": "Select time", + "today": "Today", + "year": "Year", + "yearFormat": "YYYY", + "yearSelect": "Choose a year", + }, + "timePickerLocale": Object { + "placeholder": "Select time", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Back to today", + "clear": "Clear", + "dateFormat": "M/D/YYYY", + "dateSelect": "Select date", + "dateTimeFormat": "M/D/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Choose a decade", + "month": "Month", + "monthBeforeYear": true, + "monthSelect": "Choose a month", + "nextCentury": "Next century", + "nextDecade": "Next decade", + "nextMonth": "Next month (PageDown)", + "nextYear": "Next year (Control + right)", + "now": "Now", + "ok": "Ok", + "placeholder": "Select date", + "previousCentury": "Last century", + "previousDecade": "Last decade", + "previousMonth": "Previous month (PageUp)", + "previousYear": "Last year (Control + left)", + "rangePlaceholder": Array [ + "Start date", + "End date", + ], + "timeSelect": "Select time", + "today": "Today", + "year": "Year", + "yearFormat": "YYYY", + "yearSelect": "Choose a year", + }, + "timePickerLocale": Object { + "placeholder": "Select time", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Not Found +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Not Found +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "Sep", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ Sep +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Su + + + + Mo + + + + Tu + + + + We + + + + Th + + + + Fr + + + + Sa + +
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "No data", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "Filter menu", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "No data", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "Filter menu", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "No data", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "Filter menu", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ No data +
+
+
+ +
+ +
+ + +
+ + + + Cancel + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 2`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Voltar para hoje", + "clear": "Limpar", + "dateFormat": "D/M/YYYY", + "dateSelect": "Selecionar data", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Escolher década", + "month": "Mês", + "monthBeforeYear": false, + "monthSelect": "Escolher mês", + "nextCentury": "Próximo século", + "nextDecade": "Próxima década", + "nextMonth": "Próximo mês (PageDown)", + "nextYear": "Próximo ano (Control + direita)", + "now": "Agora", + "ok": "Ok", + "placeholder": "Selecionar data", + "previousCentury": "Século anterior", + "previousDecade": "Década anterior", + "previousMonth": "Mês anterior (PageUp)", + "previousYear": "Ano anterior (Control + esquerda)", + "rangePlaceholder": Array [ + "Data de início", + "Data de fim", + ], + "timeSelect": "Selecionar tempo", + "today": "Hoje", + "year": "Ano", + "yearFormat": "YYYY", + "yearSelect": "Escolher ano", + }, + "timePickerLocale": Object { + "placeholder": "Hora", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Voltar para hoje", + "clear": "Limpar", + "dateFormat": "D/M/YYYY", + "dateSelect": "Selecionar data", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Escolher década", + "month": "Mês", + "monthBeforeYear": false, + "monthSelect": "Escolher mês", + "nextCentury": "Próximo século", + "nextDecade": "Próxima década", + "nextMonth": "Próximo mês (PageDown)", + "nextYear": "Próximo ano (Control + direita)", + "now": "Agora", + "ok": "Ok", + "placeholder": "Selecionar data", + "previousCentury": "Século anterior", + "previousDecade": "Década anterior", + "previousMonth": "Mês anterior (PageUp)", + "previousYear": "Ano anterior (Control + esquerda)", + "rangePlaceholder": Array [ + "Data de início", + "Data de fim", + ], + "timeSelect": "Selecionar tempo", + "today": "Hoje", + "year": "Ano", + "yearFormat": "YYYY", + "yearSelect": "Escolher ano", + }, + "timePickerLocale": Object { + "placeholder": "Hora", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Não encontrado +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Não encontrado +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "Set", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ Set +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Do + + + + 2ª + + + + 3ª + + + + 4ª + + + + 5ª + + + + 6ª + + + + Sá + +
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Não há dados", + "filterConfirm": "OK", + "filterReset": "Resetar", + "filterTitle": "Filtro", + "selectAll": "Selecionar página atual", + "selectInvert": "Inverter seleção", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Não há dados", + "filterConfirm": "OK", + "filterReset": "Resetar", + "filterTitle": "Filtro", + "selectAll": "Selecionar página atual", + "selectInvert": "Inverter seleção", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Não há dados", + "filterConfirm": "OK", + "filterReset": "Resetar", + "filterTitle": "Filtro", + "selectAll": "Selecionar página atual", + "selectInvert": "Inverter seleção", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ Não há dados +
+
+
+ +
+ +
+ + +
+ + + + Cancelar + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 3`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Hoje", + "clear": "Limpar", + "dateFormat": "D/M/YYYY", + "dateSelect": "Selecionar data", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Selecionar década", + "month": "Mês", + "monthBeforeYear": false, + "monthFormat": "MMMM", + "monthSelect": "Selecionar mês", + "nextCentury": "Próximo século", + "nextDecade": "Próxima década", + "nextMonth": "Mês seguinte (PageDown)", + "nextYear": "Ano seguinte (Control + right)", + "now": "Agora", + "ok": "Ok", + "placeholder": "Data", + "previousCentury": "Último século", + "previousDecade": "Última década", + "previousMonth": "Mês anterior (PageUp)", + "previousYear": "Ano anterior (Control + left)", + "rangePlaceholder": Array [ + "Data inicial", + "Data final", + ], + "timeSelect": "Hora", + "today": "Hoje", + "year": "Ano", + "yearFormat": "YYYY", + "yearSelect": "Selecionar ano", + }, + "timePickerLocale": Object { + "placeholder": "Hora", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Hoje", + "clear": "Limpar", + "dateFormat": "D/M/YYYY", + "dateSelect": "Selecionar data", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Selecionar década", + "month": "Mês", + "monthBeforeYear": false, + "monthFormat": "MMMM", + "monthSelect": "Selecionar mês", + "nextCentury": "Próximo século", + "nextDecade": "Próxima década", + "nextMonth": "Mês seguinte (PageDown)", + "nextYear": "Ano seguinte (Control + right)", + "now": "Agora", + "ok": "Ok", + "placeholder": "Data", + "previousCentury": "Último século", + "previousDecade": "Última década", + "previousMonth": "Mês anterior (PageUp)", + "previousYear": "Ano anterior (Control + left)", + "rangePlaceholder": Array [ + "Data inicial", + "Data final", + ], + "timeSelect": "Hora", + "today": "Hoje", + "year": "Ano", + "yearFormat": "YYYY", + "yearSelect": "Selecionar ano", + }, + "timePickerLocale": Object { + "placeholder": "Hora", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Sem resultados +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Sem resultados +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "Set", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ Set +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + 2ª + + + + 3ª + + + + 4ª + + + + 5ª + + + + 6ª + + + + Sá + + + + Do + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Sem resultados", + "filterConfirm": "Aplicar", + "filterReset": "Reiniciar", + "filterTitle": "Filtro", + "selectAll": "Selecionar página atual", + "selectInvert": "Inverter seleção", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Sem resultados", + "filterConfirm": "Aplicar", + "filterReset": "Reiniciar", + "filterTitle": "Filtro", + "selectAll": "Selecionar página atual", + "selectInvert": "Inverter seleção", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Sem resultados", + "filterConfirm": "Aplicar", + "filterReset": "Reiniciar", + "filterTitle": "Filtro", + "selectAll": "Selecionar página atual", + "selectInvert": "Inverter seleção", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ Sem resultados +
+
+
+ +
+ +
+ + +
+ + + + Cancelar + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 4`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Текущая дата", + "clear": "Очистить", + "dateFormat": "D-M-YYYY", + "dateSelect": "Выбрать дату", + "dateTimeFormat": "D-M-YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Выбрать десятилетие", + "month": "Месяц", + "monthBeforeYear": true, + "monthSelect": "Выбрать месяц", + "nextCentury": "Следующий век", + "nextDecade": "Следущее десятилетие", + "nextMonth": "Следующий месяц (PageDown)", + "nextYear": "Следующий год (Control + right)", + "now": "Сейчас", + "ok": "Ok", + "placeholder": "Выберите дату", + "previousCentury": "Предыдущий век", + "previousDecade": "Предыдущее десятилетие", + "previousMonth": "Предыдущий месяц (PageUp)", + "previousYear": "Предыдущий год (Control + left)", + "rangePlaceholder": Array [ + "Начальная дата", + "Конечная дата", + ], + "timeSelect": "Выбрать время", + "today": "Сегодня", + "year": "Год", + "yearFormat": "YYYY", + "yearSelect": "Выбрать год", + }, + "timePickerLocale": Object { + "placeholder": "Выберите время", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Текущая дата", + "clear": "Очистить", + "dateFormat": "D-M-YYYY", + "dateSelect": "Выбрать дату", + "dateTimeFormat": "D-M-YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Выбрать десятилетие", + "month": "Месяц", + "monthBeforeYear": true, + "monthSelect": "Выбрать месяц", + "nextCentury": "Следующий век", + "nextDecade": "Следущее десятилетие", + "nextMonth": "Следующий месяц (PageDown)", + "nextYear": "Следующий год (Control + right)", + "now": "Сейчас", + "ok": "Ok", + "placeholder": "Выберите дату", + "previousCentury": "Предыдущий век", + "previousDecade": "Предыдущее десятилетие", + "previousMonth": "Предыдущий месяц (PageUp)", + "previousYear": "Предыдущий год (Control + left)", + "rangePlaceholder": Array [ + "Начальная дата", + "Конечная дата", + ], + "timeSelect": "Выбрать время", + "today": "Сегодня", + "year": "Год", + "yearFormat": "YYYY", + "yearSelect": "Выбрать год", + }, + "timePickerLocale": Object { + "placeholder": "Выберите время", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Ничего не найдено +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Ничего не найдено +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "сент.", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ сент. +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + пн + + + + вт + + + + ср + + + + чт + + + + пт + + + + сб + + + + вс + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Нет данных", + "filterConfirm": "OK", + "filterReset": "Сбросить", + "filterTitle": "Фильтр", + "selectAll": "Выбрать всё", + "selectInvert": "Инвертировать выбор", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Нет данных", + "filterConfirm": "OK", + "filterReset": "Сбросить", + "filterTitle": "Фильтр", + "selectAll": "Выбрать всё", + "selectInvert": "Инвертировать выбор", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Нет данных", + "filterConfirm": "OK", + "filterReset": "Сбросить", + "filterTitle": "Фильтр", + "selectAll": "Выбрать всё", + "selectInvert": "Инвертировать выбор", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ Нет данных +
+
+
+ +
+ +
+ + +
+ + + + Отмена + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 5`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Volver a hoy", + "clear": "Limpiar", + "dateFormat": "D/M/YYYY", + "dateSelect": "Seleccionar fecha", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Elegir una década", + "month": "Mes", + "monthBeforeYear": true, + "monthSelect": "Elegir un mes", + "nextCentury": "Siglo siguiente", + "nextDecade": "Década siguiente", + "nextMonth": "Mes siguiente (PageDown)", + "nextYear": "Año siguiente (Control + right)", + "now": "Ahora", + "ok": "Aceptar", + "placeholder": "Seleccionar fecha", + "previousCentury": "Siglo anterior", + "previousDecade": "Década anterior", + "previousMonth": "Mes anterior (PageUp)", + "previousYear": "Año anterior (Control + left)", + "rangePlaceholder": Array [ + "Fecha inicial", + "Fecha final", + ], + "timeSelect": "Seleccionar hora", + "today": "Hoy", + "year": "Año", + "yearFormat": "YYYY", + "yearSelect": "Elegir un año", + }, + "timePickerLocale": Object { + "placeholder": "Seleccionar hora", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Volver a hoy", + "clear": "Limpiar", + "dateFormat": "D/M/YYYY", + "dateSelect": "Seleccionar fecha", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Elegir una década", + "month": "Mes", + "monthBeforeYear": true, + "monthSelect": "Elegir un mes", + "nextCentury": "Siglo siguiente", + "nextDecade": "Década siguiente", + "nextMonth": "Mes siguiente (PageDown)", + "nextYear": "Año siguiente (Control + right)", + "now": "Ahora", + "ok": "Aceptar", + "placeholder": "Seleccionar fecha", + "previousCentury": "Siglo anterior", + "previousDecade": "Década anterior", + "previousMonth": "Mes anterior (PageUp)", + "previousYear": "Año anterior (Control + left)", + "rangePlaceholder": Array [ + "Fecha inicial", + "Fecha final", + ], + "timeSelect": "Seleccionar hora", + "today": "Hoy", + "year": "Año", + "yearFormat": "YYYY", + "yearSelect": "Elegir un año", + }, + "timePickerLocale": Object { + "placeholder": "Seleccionar hora", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + elemento + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + No encontrado +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + elemento + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + No encontrado +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "sep.", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ sep. +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + lu + + + + ma + + + + mi + + + + ju + + + + vi + + + + sá + + + + do + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "No hay datos", + "filterConfirm": "Aceptar", + "filterReset": "Reiniciar", + "filterTitle": "Filtrar menú", + "selectAll": "Seleccionar todo", + "selectInvert": "Invertir selección", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "No hay datos", + "filterConfirm": "Aceptar", + "filterReset": "Reiniciar", + "filterTitle": "Filtrar menú", + "selectAll": "Seleccionar todo", + "selectInvert": "Invertir selección", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "No hay datos", + "filterConfirm": "Aceptar", + "filterReset": "Reiniciar", + "filterTitle": "Filtrar menú", + "selectAll": "Seleccionar todo", + "selectInvert": "Invertir selección", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ No hay datos +
+
+
+ +
+ +
+ + +
+ + + + Cancelar + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 6`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Till idag", + "clear": "Avbryt", + "dateFormat": "YYYY-MM-DD", + "dateSelect": "Välj datum", + "dateTimeFormat": "YYYY-MM-DD H:mm:ss", + "dayFormat": "D", + "decadeSelect": "Välj årtionde", + "month": "Månad", + "monthBeforeYear": true, + "monthSelect": "Välj månad", + "nextCentury": "Nästa århundrade", + "nextDecade": "Nästa årtionde", + "nextMonth": "Nästa månad (PageDown)", + "nextYear": "Nästa år (Control + right)", + "now": "Nu", + "ok": "Ok", + "placeholder": "Välj datum", + "previousCentury": "Föreg århundrade", + "previousDecade": "Föreg årtionde", + "previousMonth": "Förra månaden (PageUp)", + "previousYear": "Föreg år (Control + left)", + "rangePlaceholder": Array [ + "Startdatum", + "Slutdatum", + ], + "timeSelect": "Välj tidpunkt", + "today": "I dag", + "year": "År", + "yearFormat": "YYYY", + "yearSelect": "Välj år", + }, + "timePickerLocale": Object { + "placeholder": "Välj tid", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Till idag", + "clear": "Avbryt", + "dateFormat": "YYYY-MM-DD", + "dateSelect": "Välj datum", + "dateTimeFormat": "YYYY-MM-DD H:mm:ss", + "dayFormat": "D", + "decadeSelect": "Välj årtionde", + "month": "Månad", + "monthBeforeYear": true, + "monthSelect": "Välj månad", + "nextCentury": "Nästa århundrade", + "nextDecade": "Nästa årtionde", + "nextMonth": "Nästa månad (PageDown)", + "nextYear": "Nästa år (Control + right)", + "now": "Nu", + "ok": "Ok", + "placeholder": "Välj datum", + "previousCentury": "Föreg århundrade", + "previousDecade": "Föreg årtionde", + "previousMonth": "Förra månaden (PageUp)", + "previousYear": "Föreg år (Control + left)", + "rangePlaceholder": Array [ + "Startdatum", + "Slutdatum", + ], + "timeSelect": "Välj tidpunkt", + "today": "I dag", + "year": "År", + "yearFormat": "YYYY", + "yearSelect": "Välj år", + }, + "timePickerLocale": Object { + "placeholder": "Välj tid", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + element + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Info saknas +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + element + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Info saknas +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "sep", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ sep +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + må + + + + ti + + + + on + + + + to + + + + fr + + + + lö + + + + sö + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Ingen information", + "filterConfirm": "OK", + "filterReset": "Rensa", + "filterTitle": "Filtermeny", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Ingen information", + "filterConfirm": "OK", + "filterReset": "Rensa", + "filterTitle": "Filtermeny", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Ingen information", + "filterConfirm": "OK", + "filterReset": "Rensa", + "filterTitle": "Filtermeny", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ Ingen information +
+
+
+ +
+ +
+ + +
+ + + + Avbryt + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 7`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Aujourd'hui", + "clear": "Rétablir", + "dateFormat": "D/M/YYYY", + "dateSelect": "Sélectionner l'heure", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Choisissez une décennie", + "month": "Mois", + "monthBeforeYear": true, + "monthSelect": "Choisissez un mois", + "nextCentury": "Siècle suivant", + "nextDecade": "Décennie suivante", + "nextMonth": "Mois suivant (PageDown)", + "nextYear": "Année prochaine (Ctrl + droite)", + "now": "Maintenant", + "ok": "Ok", + "placeholder": "Sélectionner une date", + "previousCentury": "Siècle précédent", + "previousDecade": "Décennie précédente", + "previousMonth": "Mois précédent (PageUp)", + "previousYear": "Année précédente (Ctrl + gauche)", + "rangePlaceholder": Array [ + "Date de début", + "Date de fin", + ], + "timeSelect": "Sélectionner l'heure", + "today": "Aujourd'hui", + "year": "Année", + "yearFormat": "YYYY", + "yearSelect": "Choisissez une année", + }, + "timePickerLocale": Object { + "placeholder": "Sélectionner l'heure", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Aujourd'hui", + "clear": "Rétablir", + "dateFormat": "D/M/YYYY", + "dateSelect": "Sélectionner l'heure", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Choisissez une décennie", + "month": "Mois", + "monthBeforeYear": true, + "monthSelect": "Choisissez un mois", + "nextCentury": "Siècle suivant", + "nextDecade": "Décennie suivante", + "nextMonth": "Mois suivant (PageDown)", + "nextYear": "Année prochaine (Ctrl + droite)", + "now": "Maintenant", + "ok": "Ok", + "placeholder": "Sélectionner une date", + "previousCentury": "Siècle précédent", + "previousDecade": "Décennie précédente", + "previousMonth": "Mois précédent (PageUp)", + "previousYear": "Année précédente (Ctrl + gauche)", + "rangePlaceholder": Array [ + "Date de début", + "Date de fin", + ], + "timeSelect": "Sélectionner l'heure", + "today": "Aujourd'hui", + "year": "Année", + "yearFormat": "YYYY", + "yearSelect": "Choisissez une année", + }, + "timePickerLocale": Object { + "placeholder": "Sélectionner l'heure", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + élément + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Pas de résultat +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + élément + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Pas de résultat +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "sept.", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ sept. +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Lu + + + + Ma + + + + Me + + + + Je + + + + Ve + + + + Sa + + + + Di + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Aucune donnée", + "filterConfirm": "OK", + "filterReset": "Réinitialiser", + "filterTitle": "Filtrer", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Aucune donnée", + "filterConfirm": "OK", + "filterReset": "Réinitialiser", + "filterTitle": "Filtrer", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Aucune donnée", + "filterConfirm": "OK", + "filterReset": "Réinitialiser", + "filterTitle": "Filtrer", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ Aucune donnée +
+
+
+ +
+ +
+ + +
+ + + + Annuler + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 8`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Zurück zu Heute", + "clear": "Zurücksetzen", + "dateFormat": "D.M.YYYY", + "dateSelect": "Datum wählen", + "dateTimeFormat": "D.M.YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Wähle ein Jahrzehnt", + "month": "Monat", + "monthBeforeYear": true, + "monthSelect": "Wähle einen Monat", + "nextCentury": "Nächstes Jahrhundert", + "nextDecade": "Nächstes Jahrzehnt", + "nextMonth": "Nächster Monat (PageDown)", + "nextYear": "Nächstes Jahr (Ctrl + right)", + "now": "Jetzt", + "ok": "OK", + "placeholder": "Datum auswählen", + "previousCentury": "Vorheriges Jahrhundert", + "previousDecade": "Vorheriges Jahrzehnt", + "previousMonth": "Vorheriger Monat (PageUp)", + "previousYear": "Vorheriges Jahr (Ctrl + left)", + "rangePlaceholder": Array [ + "Startdatum", + "Enddatum", + ], + "timeSelect": "Zeit wählen", + "today": "Heute", + "year": "Jahr", + "yearFormat": "YYYY", + "yearSelect": "Wähle ein Jahr", + }, + "timePickerLocale": Object { + "placeholder": "Zeit auswählen", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Zurück zu Heute", + "clear": "Zurücksetzen", + "dateFormat": "D.M.YYYY", + "dateSelect": "Datum wählen", + "dateTimeFormat": "D.M.YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Wähle ein Jahrzehnt", + "month": "Monat", + "monthBeforeYear": true, + "monthSelect": "Wähle einen Monat", + "nextCentury": "Nächstes Jahrhundert", + "nextDecade": "Nächstes Jahrzehnt", + "nextMonth": "Nächster Monat (PageDown)", + "nextYear": "Nächstes Jahr (Ctrl + right)", + "now": "Jetzt", + "ok": "OK", + "placeholder": "Datum auswählen", + "previousCentury": "Vorheriges Jahrhundert", + "previousDecade": "Vorheriges Jahrzehnt", + "previousMonth": "Vorheriger Monat (PageUp)", + "previousYear": "Vorheriges Jahr (Ctrl + left)", + "rangePlaceholder": Array [ + "Startdatum", + "Enddatum", + ], + "timeSelect": "Zeit wählen", + "today": "Heute", + "year": "Jahr", + "yearFormat": "YYYY", + "yearSelect": "Wähle ein Jahr", + }, + "timePickerLocale": Object { + "placeholder": "Zeit auswählen", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + Eintrag + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Nicht gefunden +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + Eintrag + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Nicht gefunden +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "Sept.", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ Sept. +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Mo + + + + Di + + + + Mi + + + + Do + + + + Fr + + + + Sa + + + + So + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Keine Daten", + "filterConfirm": "OK", + "filterReset": "Zurücksetzen", + "filterTitle": "Filter-Menü", + "selectAll": "Selektiere Alle", + "selectInvert": "Selektion Invertieren", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Keine Daten", + "filterConfirm": "OK", + "filterReset": "Zurücksetzen", + "filterTitle": "Filter-Menü", + "selectAll": "Selektiere Alle", + "selectInvert": "Selektion Invertieren", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Keine Daten", + "filterConfirm": "OK", + "filterReset": "Zurücksetzen", + "filterTitle": "Filter-Menü", + "selectAll": "Selektiere Alle", + "selectInvert": "Selektion Invertieren", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ Keine Daten +
+
+
+ +
+ +
+ + +
+ + + + Abbrechen + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 9`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Terug naar vandaag", + "clear": "Reset", + "dateFormat": "D-M-YYYY", + "dateSelect": "Selecteer datum", + "dateTimeFormat": "D-M-YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Kies een decennium", + "month": "Maand", + "monthBeforeYear": true, + "monthSelect": "Kies een maand", + "nextCentury": "Volgende eeuw", + "nextDecade": "Volgend decennium", + "nextMonth": "Volgende maand (PageDown)", + "nextYear": "Volgend jaar (Control + right)", + "now": "Nu", + "ok": "Ok", + "placeholder": "Selecteer datum", + "previousCentury": "Vorige eeuw", + "previousDecade": "Vorig decennium", + "previousMonth": "Vorige maand (PageUp)", + "previousYear": "Vorig jaar (Control + left)", + "rangePlaceholder": Array [ + "Begin datum", + "Eind datum", + ], + "timeSelect": "Selecteer tijd", + "today": "Vandaag", + "year": "Jaar", + "yearFormat": "YYYY", + "yearSelect": "Kies een jaar", + }, + "timePickerLocale": Object { + "placeholder": "Selecteer tijd", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Terug naar vandaag", + "clear": "Reset", + "dateFormat": "D-M-YYYY", + "dateSelect": "Selecteer datum", + "dateTimeFormat": "D-M-YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Kies een decennium", + "month": "Maand", + "monthBeforeYear": true, + "monthSelect": "Kies een maand", + "nextCentury": "Volgende eeuw", + "nextDecade": "Volgend decennium", + "nextMonth": "Volgende maand (PageDown)", + "nextYear": "Volgend jaar (Control + right)", + "now": "Nu", + "ok": "Ok", + "placeholder": "Selecteer datum", + "previousCentury": "Vorige eeuw", + "previousDecade": "Vorig decennium", + "previousMonth": "Vorige maand (PageUp)", + "previousYear": "Vorig jaar (Control + left)", + "rangePlaceholder": Array [ + "Begin datum", + "Eind datum", + ], + "timeSelect": "Selecteer tijd", + "today": "Vandaag", + "year": "Jaar", + "yearFormat": "YYYY", + "yearSelect": "Kies een jaar", + }, + "timePickerLocale": Object { + "placeholder": "Selecteer tijd", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Niet gevonden +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Niet gevonden +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "sep.", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ sep. +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Ma + + + + Di + + + + Wo + + + + Do + + + + Vr + + + + Za + + + + Zo + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Geen gegevens", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "Filteren", + "selectAll": "Selecteer huidige pagina", + "selectInvert": "Deselecteer huidige pagina", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Geen gegevens", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "Filteren", + "selectAll": "Selecteer huidige pagina", + "selectInvert": "Deselecteer huidige pagina", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Geen gegevens", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "Filteren", + "selectAll": "Selecteer huidige pagina", + "selectInvert": "Deselecteer huidige pagina", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ Geen gegevens +
+
+
+ +
+ +
+ + +
+ + + + Annuleren + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 10`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Tornar a avui", + "clear": "Netejar", + "dateFormat": "D/M/YYYY", + "dateSelect": "Seleccionar data", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Escollir una dècada", + "month": "Mes", + "monthBeforeYear": true, + "monthSelect": "Escollir un mes", + "nextCentury": "Segle següent", + "nextDecade": "Dècada següent", + "nextMonth": "Mes següent (PageDown)", + "nextYear": "Mes següent (Control + right)", + "now": "Ara", + "ok": "Acceptar", + "placeholder": "Seleccionar data", + "previousCentury": "Segle anterior", + "previousDecade": "Dècada anterior", + "previousMonth": "Mes anterior (PageUp)", + "previousYear": "Any anterior (Control + left)", + "rangePlaceholder": Array [ + "Data inicial", + "Data final", + ], + "timeSelect": "Seleccionar hora", + "today": "Avui", + "year": "Any", + "yearFormat": "YYYY", + "yearSelect": "Escollir un any", + }, + "timePickerLocale": Object { + "placeholder": "Seleccionar hora", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Tornar a avui", + "clear": "Netejar", + "dateFormat": "D/M/YYYY", + "dateSelect": "Seleccionar data", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Escollir una dècada", + "month": "Mes", + "monthBeforeYear": true, + "monthSelect": "Escollir un mes", + "nextCentury": "Segle següent", + "nextDecade": "Dècada següent", + "nextMonth": "Mes següent (PageDown)", + "nextYear": "Mes següent (Control + right)", + "now": "Ara", + "ok": "Acceptar", + "placeholder": "Seleccionar data", + "previousCentury": "Segle anterior", + "previousDecade": "Dècada anterior", + "previousMonth": "Mes anterior (PageUp)", + "previousYear": "Any anterior (Control + left)", + "rangePlaceholder": Array [ + "Data inicial", + "Data final", + ], + "timeSelect": "Seleccionar hora", + "today": "Avui", + "year": "Any", + "yearFormat": "YYYY", + "yearSelect": "Escollir un any", + }, + "timePickerLocale": Object { + "placeholder": "Seleccionar hora", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + No trobat +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + No trobat +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "set.", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ set. +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Dl + + + + Dt + + + + Dc + + + + Dj + + + + Dv + + + + Ds + + + + Dg + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Sense dades", + "filterConfirm": "OK", + "filterReset": "Restablir", + "filterTitle": "Filtrar Menu", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Sense dades", + "filterConfirm": "OK", + "filterReset": "Restablir", + "filterTitle": "Filtrar Menu", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Sense dades", + "filterConfirm": "OK", + "filterReset": "Restablir", + "filterTitle": "Filtrar Menu", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ Sense dades +
+
+
+ +
+ +
+ + +
+ + + + Cancel·lar + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 11`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Zpět na dnešek", + "clear": "Vymazat", + "dateFormat": "D.M.YYYY", + "dateSelect": "Vybrat datum", + "dateTimeFormat": "D.M.YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Vyberte dekádu", + "month": "Měsíc", + "monthBeforeYear": true, + "monthSelect": "Vyberte měsíc", + "nextCentury": "Následující století", + "nextDecade": "Následující dekáda", + "nextMonth": "Následující (PageDown)", + "nextYear": "Následující rok (Control + right)", + "now": "Nyní", + "ok": "Ok", + "placeholder": "Vybrat datum", + "previousCentury": "Předchozí století", + "previousDecade": "Předchozí dekáda", + "previousMonth": "Předchozí měsíc (PageUp)", + "previousYear": "Předchozí rok (Control + left)", + "rangePlaceholder": Array [ + "Od", + "Do", + ], + "timeSelect": "Vybrat čas", + "today": "Dnes", + "year": "Rok", + "yearFormat": "YYYY", + "yearSelect": "Vyberte rok", + }, + "timePickerLocale": Object { + "placeholder": "Vybrat čas", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Zpět na dnešek", + "clear": "Vymazat", + "dateFormat": "D.M.YYYY", + "dateSelect": "Vybrat datum", + "dateTimeFormat": "D.M.YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Vyberte dekádu", + "month": "Měsíc", + "monthBeforeYear": true, + "monthSelect": "Vyberte měsíc", + "nextCentury": "Následující století", + "nextDecade": "Následující dekáda", + "nextMonth": "Následující (PageDown)", + "nextYear": "Následující rok (Control + right)", + "now": "Nyní", + "ok": "Ok", + "placeholder": "Vybrat datum", + "previousCentury": "Předchozí století", + "previousDecade": "Předchozí dekáda", + "previousMonth": "Předchozí měsíc (PageUp)", + "previousYear": "Předchozí rok (Control + left)", + "rangePlaceholder": Array [ + "Od", + "Do", + ], + "timeSelect": "Vybrat čas", + "today": "Dnes", + "year": "Rok", + "yearFormat": "YYYY", + "yearSelect": "Vyberte rok", + }, + "timePickerLocale": Object { + "placeholder": "Vybrat čas", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + položka + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Nenalezeno +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + položka + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Nenalezeno +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "zář", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ zář +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + po + + + + út + + + + st + + + + čt + + + + pá + + + + so + + + + ne + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Žádná data", + "filterConfirm": "Potvrdit", + "filterReset": "Obnovit", + "filterTitle": "Filtr", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Žádná data", + "filterConfirm": "Potvrdit", + "filterReset": "Obnovit", + "filterTitle": "Filtr", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Žádná data", + "filterConfirm": "Potvrdit", + "filterReset": "Obnovit", + "filterTitle": "Filtr", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ Žádná data +
+
+
+ +
+ +
+ + +
+ + + + Storno + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 12`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "오늘로 돌아가기", + "clear": "지우기", + "dateFormat": "YYYY-MM-DD", + "dateSelect": "날짜 선택", + "dateTimeFormat": "YYYY-MM-DD HH:mm:ss", + "dayFormat": "Do", + "decadeSelect": "연대 선택", + "month": "월", + "monthBeforeYear": false, + "monthSelect": "달 선택", + "nextCentury": "다음 세기", + "nextDecade": "다음 연대", + "nextMonth": "다음 달 (PageDown)", + "nextYear": "다음 해 (Control + right)", + "now": "현재 시각", + "ok": "확인", + "placeholder": "날짜 선택", + "previousCentury": "이전 세기", + "previousDecade": "이전 연대", + "previousMonth": "이전 달 (PageUp)", + "previousYear": "이전 해 (Control + left)", + "rangePlaceholder": Array [ + "시작일", + "종료일", + ], + "timeSelect": "시간 선택", + "today": "오늘", + "year": "년", + "yearFormat": "YYYY년", + "yearSelect": "연 선택", + }, + "timePickerLocale": Object { + "placeholder": "날짜 선택", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "오늘로 돌아가기", + "clear": "지우기", + "dateFormat": "YYYY-MM-DD", + "dateSelect": "날짜 선택", + "dateTimeFormat": "YYYY-MM-DD HH:mm:ss", + "dayFormat": "Do", + "decadeSelect": "연대 선택", + "month": "월", + "monthBeforeYear": false, + "monthSelect": "달 선택", + "nextCentury": "다음 세기", + "nextDecade": "다음 연대", + "nextMonth": "다음 달 (PageDown)", + "nextYear": "다음 해 (Control + right)", + "now": "현재 시각", + "ok": "확인", + "placeholder": "날짜 선택", + "previousCentury": "이전 세기", + "previousDecade": "이전 연대", + "previousMonth": "이전 달 (PageUp)", + "previousYear": "이전 해 (Control + left)", + "rangePlaceholder": Array [ + "시작일", + "종료일", + ], + "timeSelect": "시간 선택", + "today": "오늘", + "year": "년", + "yearFormat": "YYYY년", + "yearSelect": "연 선택", + }, + "timePickerLocale": Object { + "placeholder": "날짜 선택", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + 개 + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + 데이터 없음 +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + 개 + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + 데이터 없음 +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "9월", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 9월 +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + 일 + + + + 월 + + + + 화 + + + + 수 + + + + 목 + + + + 금 + + + + 토 + +
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "데이터 없음", + "filterConfirm": "확인", + "filterReset": "초기화", + "filterTitle": "필터 메뉴", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "데이터 없음", + "filterConfirm": "확인", + "filterReset": "초기화", + "filterTitle": "필터 메뉴", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "데이터 없음", + "filterConfirm": "확인", + "filterReset": "초기화", + "filterTitle": "필터 메뉴", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ 데이터 없음 +
+
+
+ +
+ +
+ + +
+ + + + 취소 + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 13`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Tagasi tänase juurde", + "clear": "Tühista", + "dateFormat": "D.M.YYYY", + "dateSelect": "Vali kuupäev", + "dateTimeFormat": "D.M.YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Vali dekaad", + "month": "Kuu", + "monthBeforeYear": true, + "monthSelect": "Vali kuu", + "nextCentury": "Järgmine sajand", + "nextDecade": "Järgmine dekaad", + "nextMonth": "Järgmine kuu (PageDown)", + "nextYear": "Järgmine aasta (Control + right)", + "now": "Praegu", + "ok": "Ok", + "placeholder": "Vali kuupäev", + "previousCentury": "Eelmine sajand", + "previousDecade": "Eelmine dekaad", + "previousMonth": "Eelmine kuu (PageUp)", + "previousYear": "Eelmine aasta (Control + left)", + "rangePlaceholder": Array [ + "Algus kuupäev", + "Lõpu kuupäev", + ], + "timeSelect": "Vali aeg", + "today": "Täna", + "year": "Aasta", + "yearFormat": "YYYY", + "yearSelect": "Vali aasta", + }, + "timePickerLocale": Object { + "placeholder": "Vali aeg", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Tagasi tänase juurde", + "clear": "Tühista", + "dateFormat": "D.M.YYYY", + "dateSelect": "Vali kuupäev", + "dateTimeFormat": "D.M.YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Vali dekaad", + "month": "Kuu", + "monthBeforeYear": true, + "monthSelect": "Vali kuu", + "nextCentury": "Järgmine sajand", + "nextDecade": "Järgmine dekaad", + "nextMonth": "Järgmine kuu (PageDown)", + "nextYear": "Järgmine aasta (Control + right)", + "now": "Praegu", + "ok": "Ok", + "placeholder": "Vali kuupäev", + "previousCentury": "Eelmine sajand", + "previousDecade": "Eelmine dekaad", + "previousMonth": "Eelmine kuu (PageUp)", + "previousYear": "Eelmine aasta (Control + left)", + "rangePlaceholder": Array [ + "Algus kuupäev", + "Lõpu kuupäev", + ], + "timeSelect": "Vali aeg", + "today": "Täna", + "year": "Aasta", + "yearFormat": "YYYY", + "yearSelect": "Vali aasta", + }, + "timePickerLocale": Object { + "placeholder": "Vali aeg", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + kogus + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Ei leitud +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + kogus + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Ei leitud +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "sept", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ sept +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + E + + + + T + + + + K + + + + N + + + + R + + + + L + + + + P + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Andmed puuduvad", + "filterConfirm": "OK", + "filterReset": "Nulli", + "filterTitle": "Filtri menüü", + "selectAll": "Vali kõik", + "selectInvert": "Inverteeri valik", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Andmed puuduvad", + "filterConfirm": "OK", + "filterReset": "Nulli", + "filterTitle": "Filtri menüü", + "selectAll": "Vali kõik", + "selectInvert": "Inverteeri valik", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Andmed puuduvad", + "filterConfirm": "OK", + "filterReset": "Nulli", + "filterTitle": "Filtri menüü", + "selectAll": "Vali kõik", + "selectInvert": "Inverteeri valik", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ Andmed puuduvad +
+
+
+ +
+ +
+ + +
+ + + + Tühista + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + +
+ + +`; + +exports[`Locale Provider should display the text as locale changed 14`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Späť na dnes", + "clear": "Vymazať", + "dateFormat": "D.M.YYYY", + "dateSelect": "Vybrať dátum", + "dateTimeFormat": "D.M.YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Vybrať dekádu", + "month": "Mesiac", + "monthBeforeYear": true, + "monthSelect": "Vybrať mesiac", + "nextCentury": "Nasledujúce storočie", + "nextDecade": "Nasledujúca dekáda", + "nextMonth": "Nasledujúci mesiac (PageDown)", + "nextYear": "Nasledujúci rok (Control + right)", + "now": "Teraz", + "ok": "Ok", + "placeholder": "Vybrať dátum", + "previousCentury": "Predchádzajúce storočie", + "previousDecade": "Predchádzajúca dekáda", + "previousMonth": "Predchádzajúci mesiac (PageUp)", + "previousYear": "Predchádzajúci rok (Control + left)", + "rangePlaceholder": Array [ + "Od", + "Do", + ], + "timeSelect": "Vybrať čas", + "today": "Dnes", + "year": "Rok", + "yearFormat": "YYYY", + "yearSelect": "Vybrať rok", + }, + "timePickerLocale": Object { + "placeholder": "Vybrať čas", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Späť na dnes", + "clear": "Vymazať", + "dateFormat": "D.M.YYYY", + "dateSelect": "Vybrať dátum", + "dateTimeFormat": "D.M.YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Vybrať dekádu", + "month": "Mesiac", + "monthBeforeYear": true, + "monthSelect": "Vybrať mesiac", + "nextCentury": "Nasledujúce storočie", + "nextDecade": "Nasledujúca dekáda", + "nextMonth": "Nasledujúci mesiac (PageDown)", + "nextYear": "Nasledujúci rok (Control + right)", + "now": "Teraz", + "ok": "Ok", + "placeholder": "Vybrať dátum", + "previousCentury": "Predchádzajúce storočie", + "previousDecade": "Predchádzajúca dekáda", + "previousMonth": "Predchádzajúci mesiac (PageUp)", + "previousYear": "Predchádzajúci rok (Control + left)", + "rangePlaceholder": Array [ + "Od", + "Do", + ], + "timeSelect": "Vybrať čas", + "today": "Dnes", + "year": "Rok", + "yearFormat": "YYYY", + "yearSelect": "Vybrať rok", + }, + "timePickerLocale": Object { + "placeholder": "Vybrať čas", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > + + Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + položka + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Nenájdené +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + položka + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Nenájdené +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "sep", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ sep +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + po + + + + ut + + + + st + + + + št + + + + pi + + + + so + + + + ne + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Žiadne dáta", + "filterConfirm": "OK", + "filterReset": "Obnoviť", + "filterTitle": "Filter", + "selectAll": "Vybrať všetko", + "selectInvert": "Vybrať opačné", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Žiadne dáta", + "filterConfirm": "OK", + "filterReset": "Obnoviť", + "filterTitle": "Filter", + "selectAll": "Vybrať všetko", + "selectInvert": "Vybrať opačné", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Žiadne dáta", + "filterConfirm": "OK", + "filterReset": "Obnoviť", + "filterTitle": "Filter", + "selectAll": "Vybrať všetko", + "selectInvert": "Vybrať opačné", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+
+
+ Žiadne dáta +
+
+
+ + + + + + + + + + + Zrušiť + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + + + +`; + +exports[`Locale Provider should display the text as locale changed 15`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "今日に戻る", + "clear": "クリア", + "dateFormat": "YYYY年M月D日", + "dateSelect": "日時を選択", + "dateTimeFormat": "YYYY年M月D日 HH時mm分ss秒", + "dayFormat": "D日", + "decadeSelect": "年代を選択", + "month": "月", + "monthSelect": "月を選択", + "nextCentury": "次の世紀", + "nextDecade": "次の年代", + "nextMonth": "翌月 (ページダウンキー)", + "nextYear": "翌年 (Controlを押しながら右キー)", + "now": "現在時刻", + "ok": "決定", + "placeholder": "日付を選択", + "previousCentury": "前の世紀", + "previousDecade": "前の年代", + "previousMonth": "前月 (ページアップキー)", + "previousYear": "前年 (Controlを押しながら左キー)", + "rangePlaceholder": Array [ + "開始日付", + "終了日付", + ], + "timeSelect": "時間を選択", + "today": "今日", + "year": "年", + "yearFormat": "YYYY年", + "yearSelect": "年を選択", + }, + "timePickerLocale": Object { + "placeholder": "時刻を選択", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "今日に戻る", + "clear": "クリア", + "dateFormat": "YYYY年M月D日", + "dateSelect": "日時を選択", + "dateTimeFormat": "YYYY年M月D日 HH時mm分ss秒", + "dayFormat": "D日", + "decadeSelect": "年代を選択", + "month": "月", + "monthSelect": "月を選択", + "nextCentury": "次の世紀", + "nextDecade": "次の年代", + "nextMonth": "翌月 (ページダウンキー)", + "nextYear": "翌年 (Controlを押しながら右キー)", + "now": "現在時刻", + "ok": "決定", + "placeholder": "日付を選択", + "previousCentury": "前の世紀", + "previousDecade": "前の年代", + "previousMonth": "前月 (ページアップキー)", + "previousYear": "前年 (Controlを押しながら左キー)", + "rangePlaceholder": Array [ + "開始日付", + "終了日付", + ], + "timeSelect": "時間を選択", + "today": "今日", + "year": "年", + "yearFormat": "YYYY年", + "yearSelect": "年を選択", + }, + "timePickerLocale": Object { + "placeholder": "時刻を選択", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + アイテム + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + 結果はありません +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + アイテム + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + 結果はありません +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017年", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017年 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "9月", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 9月 +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + 日 + + + + 月 + + + + 火 + + + + 水 + + + + 木 + + + + 金 + + + + 土 + +
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "データがありません", + "filterConfirm": "OK", + "filterReset": "リセット", + "filterTitle": "メニューをフィルター", + "selectAll": "すべてを選択", + "selectInvert": "選択を反転", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "データがありません", + "filterConfirm": "OK", + "filterReset": "リセット", + "filterTitle": "メニューをフィルター", + "selectAll": "すべてを選択", + "selectInvert": "選択を反転", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "データがありません", + "filterConfirm": "OK", + "filterReset": "リセット", + "filterTitle": "メニューをフィルター", + "selectAll": "すべてを選択", + "selectInvert": "選択を反転", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ データがありません +
+ + + + + + + + + + + + + キャンセル + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 16`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Back to today", + "clear": "Clear", + "dateFormat": "M/D/YYYY", + "dateSelect": "Select date", + "dateTimeFormat": "M/D/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Choose a decade", + "month": "Month", + "monthBeforeYear": true, + "monthSelect": "Choose a month", + "nextCentury": "Next century", + "nextDecade": "Next decade", + "nextMonth": "Next month (PageDown)", + "nextYear": "Next year (Control + right)", + "now": "Now", + "ok": "Ok", + "placeholder": "Tarih Seç", + "previousCentury": "Last century", + "previousDecade": "Last decade", + "previousMonth": "Previous month (PageUp)", + "previousYear": "Last year (Control + left)", + "rangePlaceholder": Array [ + "Başlangıç Tarihi", + "Bitiş Tarihi", + ], + "timeSelect": "Select time", + "today": "Today", + "year": "Year", + "yearFormat": "YYYY", + "yearSelect": "Choose a year", + }, + "timePickerLocale": Object { + "placeholder": "Zaman Seç", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Back to today", + "clear": "Clear", + "dateFormat": "M/D/YYYY", + "dateSelect": "Select date", + "dateTimeFormat": "M/D/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Choose a decade", + "month": "Month", + "monthBeforeYear": true, + "monthSelect": "Choose a month", + "nextCentury": "Next century", + "nextDecade": "Next decade", + "nextMonth": "Next month (PageDown)", + "nextYear": "Next year (Control + right)", + "now": "Now", + "ok": "Ok", + "placeholder": "Tarih Seç", + "previousCentury": "Last century", + "previousDecade": "Last decade", + "previousMonth": "Previous month (PageUp)", + "previousYear": "Last year (Control + left)", + "rangePlaceholder": Array [ + "Başlangıç Tarihi", + "Bitiş Tarihi", + ], + "timeSelect": "Select time", + "today": "Today", + "year": "Year", + "yearFormat": "YYYY", + "yearSelect": "Choose a year", + }, + "timePickerLocale": Object { + "placeholder": "Zaman Seç", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + Öğe + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Bulunamadı +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + Öğe + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Bulunamadı +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "Eyl", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ Eyl +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Pt + + + + Sa + + + + Ça + + + + Pe + + + + Cu + + + + Ct + + + + Pz + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Veri Yok", + "filterConfirm": "Tamam", + "filterReset": "Sıfırla", + "filterTitle": "Menü Filtrele", + "selectAll": "Hepsini Seç", + "selectInvert": "Tersini Seç", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Veri Yok", + "filterConfirm": "Tamam", + "filterReset": "Sıfırla", + "filterTitle": "Menü Filtrele", + "selectAll": "Hepsini Seç", + "selectInvert": "Tersini Seç", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Veri Yok", + "filterConfirm": "Tamam", + "filterReset": "Sıfırla", + "filterTitle": "Menü Filtrele", + "selectAll": "Hepsini Seç", + "selectInvert": "Tersini Seç", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ Veri Yok +
+ + + + + + + + + + + + + İptal + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 17`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "返回今天", + "clear": "清除", + "dateFormat": "YYYY年M月D日", + "dateSelect": "選擇日期", + "dateTimeFormat": "YYYY年M月D日 HH時mm分ss秒", + "dayFormat": "D日", + "decadeSelect": "選擇年代", + "month": "月", + "monthSelect": "選擇月份", + "nextCentury": "下一世紀", + "nextDecade": "下一年代", + "nextMonth": "下個月 (翻頁下鍵)", + "nextYear": "下一年 (Control鍵加右方向鍵)", + "now": "此刻", + "ok": "確 定", + "placeholder": "請選擇日期", + "previousCentury": "上一世紀", + "previousDecade": "上一年代", + "previousMonth": "上個月 (翻頁上鍵)", + "previousYear": "上一年 (Control鍵加左方向鍵)", + "rangePlaceholder": Array [ + "開始日期", + "結束日期", + ], + "timeSelect": "選擇時間", + "today": "今天", + "year": "年", + "yearFormat": "YYYY年", + "yearSelect": "選擇年份", + }, + "timePickerLocale": Object { + "placeholder": "請選擇時間", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "返回今天", + "clear": "清除", + "dateFormat": "YYYY年M月D日", + "dateSelect": "選擇日期", + "dateTimeFormat": "YYYY年M月D日 HH時mm分ss秒", + "dayFormat": "D日", + "decadeSelect": "選擇年代", + "month": "月", + "monthSelect": "選擇月份", + "nextCentury": "下一世紀", + "nextDecade": "下一年代", + "nextMonth": "下個月 (翻頁下鍵)", + "nextYear": "下一年 (Control鍵加右方向鍵)", + "now": "此刻", + "ok": "確 定", + "placeholder": "請選擇日期", + "previousCentury": "上一世紀", + "previousDecade": "上一年代", + "previousMonth": "上個月 (翻頁上鍵)", + "previousYear": "上一年 (Control鍵加左方向鍵)", + "rangePlaceholder": Array [ + "開始日期", + "結束日期", + ], + "timeSelect": "選擇時間", + "today": "今天", + "year": "年", + "yearFormat": "YYYY年", + "yearSelect": "選擇年份", + }, + "timePickerLocale": Object { + "placeholder": "請選擇時間", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + 項目 + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + 查無此資料 +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + 項目 + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + 查無此資料 +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017年", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017年 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "9月", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 9月 +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + 日 + + + + 一 + + + + 二 + + + + 三 + + + + 四 + + + + 五 + + + + 六 + +
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "目前尚無資料", + "filterConfirm": "確 定", + "filterReset": "重 置", + "filterTitle": "篩選器", + "selectAll": "全部選取", + "selectInvert": "反向選取", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "目前尚無資料", + "filterConfirm": "確 定", + "filterReset": "重 置", + "filterTitle": "篩選器", + "selectAll": "全部選取", + "selectInvert": "反向選取", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "目前尚無資料", + "filterConfirm": "確 定", + "filterReset": "重 置", + "filterTitle": "篩選器", + "selectAll": "全部選取", + "selectInvert": "反向選取", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ 目前尚無資料 +
+ + + + + + + + + + + + + 取 消 + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 18`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Tämä päivä", + "clear": "Tyhjennä", + "dateFormat": "D.M.YYYY", + "dateSelect": "Valitse päivä", + "dateTimeFormat": "D.M.YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Valitse vuosikymmen", + "month": "Kuukausi", + "monthBeforeYear": true, + "monthSelect": "Valitse kuukausi", + "nextCentury": "Seuraava vuosisata", + "nextDecade": "Seuraava vuosikymmen", + "nextMonth": "Seuraava kuukausi (PageDown)", + "nextYear": "Seuraava vuosi (Control + right)", + "now": "Nyt", + "ok": "Ok", + "placeholder": "Valitse päivä", + "previousCentury": "Edellinen vuosisata", + "previousDecade": "Edellinen vuosikymmen", + "previousMonth": "Edellinen kuukausi (PageUp)", + "previousYear": "Edellinen vuosi (Control + left)", + "rangePlaceholder": Array [ + "Alku päivä", + "Loppu päivä", + ], + "timeSelect": "Valise aika", + "today": "Tänään", + "year": "Vuosi", + "yearFormat": "YYYY", + "yearSelect": "Valitse vuosi", + }, + "timePickerLocale": Object { + "placeholder": "Valitse aika", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Tämä päivä", + "clear": "Tyhjennä", + "dateFormat": "D.M.YYYY", + "dateSelect": "Valitse päivä", + "dateTimeFormat": "D.M.YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Valitse vuosikymmen", + "month": "Kuukausi", + "monthBeforeYear": true, + "monthSelect": "Valitse kuukausi", + "nextCentury": "Seuraava vuosisata", + "nextDecade": "Seuraava vuosikymmen", + "nextMonth": "Seuraava kuukausi (PageDown)", + "nextYear": "Seuraava vuosi (Control + right)", + "now": "Nyt", + "ok": "Ok", + "placeholder": "Valitse päivä", + "previousCentury": "Edellinen vuosisata", + "previousDecade": "Edellinen vuosikymmen", + "previousMonth": "Edellinen kuukausi (PageUp)", + "previousYear": "Edellinen vuosi (Control + left)", + "rangePlaceholder": Array [ + "Alku päivä", + "Loppu päivä", + ], + "timeSelect": "Valise aika", + "today": "Tänään", + "year": "Vuosi", + "yearFormat": "YYYY", + "yearSelect": "Valitse vuosi", + }, + "timePickerLocale": Object { + "placeholder": "Valitse aika", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + kohde + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Ei löytynyt +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + kohde + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Ei löytynyt +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "syys", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ syys +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + ma + + + + ti + + + + ke + + + + to + + + + pe + + + + la + + + + su + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Ei kohteita", + "filterConfirm": "OK", + "filterReset": "Tyhjennä", + "filterTitle": "Suodatus valikko", + "selectAll": "Valitse kaikki", + "selectInvert": "Valitse päinvastoin", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Ei kohteita", + "filterConfirm": "OK", + "filterReset": "Tyhjennä", + "filterTitle": "Suodatus valikko", + "selectAll": "Valitse kaikki", + "selectInvert": "Valitse päinvastoin", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Ei kohteita", + "filterConfirm": "OK", + "filterReset": "Tyhjennä", + "filterTitle": "Suodatus valikko", + "selectAll": "Valitse kaikki", + "selectInvert": "Valitse päinvastoin", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ Ei kohteita +
+ + + + + + + + + + + + + Peruuta + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 19`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Ustaw dzisiaj", + "clear": "Wyczyść", + "dateFormat": "D/M/YYYY", + "dateSelect": "Ustaw datę", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Wybierz dekadę", + "month": "Miesiąc", + "monthBeforeYear": true, + "monthSelect": "Wybierz miesiąc", + "nextCentury": "Następny wiek", + "nextDecade": "Następna dekada", + "nextMonth": "Następny miesiąc (PageDown)", + "nextYear": "Następny rok (Ctrl + right)", + "now": "Teraz", + "ok": "Ok", + "placeholder": "Wybierz datę", + "previousCentury": "Ostatni wiek", + "previousDecade": "Ostatnia dekada", + "previousMonth": "Poprzedni miesiąc (PageUp)", + "previousYear": "Ostatni rok (Ctrl + left)", + "rangePlaceholder": Array [ + "Data początkowa", + "Data końcowa", + ], + "timeSelect": "Ustaw czas", + "today": "Dzisiaj", + "year": "Rok", + "yearFormat": "YYYY", + "yearSelect": "Wybierz rok", + }, + "timePickerLocale": Object { + "placeholder": "Wybierz godzinę", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Ustaw dzisiaj", + "clear": "Wyczyść", + "dateFormat": "D/M/YYYY", + "dateSelect": "Ustaw datę", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Wybierz dekadę", + "month": "Miesiąc", + "monthBeforeYear": true, + "monthSelect": "Wybierz miesiąc", + "nextCentury": "Następny wiek", + "nextDecade": "Następna dekada", + "nextMonth": "Następny miesiąc (PageDown)", + "nextYear": "Następny rok (Ctrl + right)", + "now": "Teraz", + "ok": "Ok", + "placeholder": "Wybierz datę", + "previousCentury": "Ostatni wiek", + "previousDecade": "Ostatnia dekada", + "previousMonth": "Poprzedni miesiąc (PageUp)", + "previousYear": "Ostatni rok (Ctrl + left)", + "rangePlaceholder": Array [ + "Data początkowa", + "Data końcowa", + ], + "timeSelect": "Ustaw czas", + "today": "Dzisiaj", + "year": "Rok", + "yearFormat": "YYYY", + "yearSelect": "Wybierz rok", + }, + "timePickerLocale": Object { + "placeholder": "Wybierz godzinę", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + obiekt + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Nie znaleziono +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + obiekt + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Nie znaleziono +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "wrz", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ wrz +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Pn + + + + Wt + + + + Śr + + + + Cz + + + + Pt + + + + So + + + + Nd + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Brak danych", + "filterConfirm": "OK", + "filterReset": "Wyczyść", + "filterTitle": "Menu filtra", + "selectAll": "Zaznacz bieżącą stronę", + "selectInvert": "Odwróć zaznaczenie", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Brak danych", + "filterConfirm": "OK", + "filterReset": "Wyczyść", + "filterTitle": "Menu filtra", + "selectAll": "Zaznacz bieżącą stronę", + "selectInvert": "Odwróć zaznaczenie", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Brak danych", + "filterConfirm": "OK", + "filterReset": "Wyczyść", + "filterTitle": "Menu filtra", + "selectAll": "Zaznacz bieżącą stronę", + "selectInvert": "Odwróć zaznaczenie", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ Brak danych +
+ + + + + + + + + + + + + Anuluj + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 20`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Към днес", + "clear": "Изчистване", + "dateFormat": "D M YYYY", + "dateSelect": "Избор на дата", + "dateTimeFormat": "D M YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Десетилетие", + "month": "Месец", + "monthBeforeYear": true, + "monthSelect": "Избор на месец", + "nextCentury": "Следващ век", + "nextDecade": "Следващо десетилетие", + "nextMonth": "Следващ месец (PageDown)", + "nextYear": "Следваща година (Control + right)", + "now": "Сега", + "ok": "Добре", + "placeholder": "Избор на дата", + "previousCentury": "Последен век", + "previousDecade": "Предишно десетилетие", + "previousMonth": "Предишен месец (PageUp)", + "previousYear": "Последна година (Control + left)", + "rangePlaceholder": Array [ + "Начална", + "Крайна", + ], + "timeSelect": "Избор на час", + "today": "Днес", + "year": "Година", + "yearFormat": "YYYY", + "yearSelect": "Избор на година", + }, + "timePickerLocale": Object { + "placeholder": "Избор на час", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Към днес", + "clear": "Изчистване", + "dateFormat": "D M YYYY", + "dateSelect": "Избор на дата", + "dateTimeFormat": "D M YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Десетилетие", + "month": "Месец", + "monthBeforeYear": true, + "monthSelect": "Избор на месец", + "nextCentury": "Следващ век", + "nextDecade": "Следващо десетилетие", + "nextMonth": "Следващ месец (PageDown)", + "nextYear": "Следваща година (Control + right)", + "now": "Сега", + "ok": "Добре", + "placeholder": "Избор на дата", + "previousCentury": "Последен век", + "previousDecade": "Предишно десетилетие", + "previousMonth": "Предишен месец (PageUp)", + "previousYear": "Последна година (Control + left)", + "rangePlaceholder": Array [ + "Начална", + "Крайна", + ], + "timeSelect": "Избор на час", + "today": "Днес", + "year": "Година", + "yearFormat": "YYYY", + "yearSelect": "Избор на година", + }, + "timePickerLocale": Object { + "placeholder": "Избор на час", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + избор + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Няма намерени +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + избор + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Няма намерени +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "сеп", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ сеп +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + пн + + + + вт + + + + ср + + + + чт + + + + пт + + + + сб + + + + нд + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Няма данни", + "filterConfirm": "Добре", + "filterReset": "Нулриане", + "filterTitle": "Филтриране", + "selectAll": "Избор на текуща страница", + "selectInvert": "Обръщане", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Няма данни", + "filterConfirm": "Добре", + "filterReset": "Нулриане", + "filterTitle": "Филтриране", + "selectAll": "Избор на текуща страница", + "selectInvert": "Обръщане", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Няма данни", + "filterConfirm": "Добре", + "filterReset": "Нулриане", + "filterTitle": "Филтриране", + "selectAll": "Избор на текуща страница", + "selectInvert": "Обръщане", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ Няма данни +
+ + + + + + + + + + + + + Отказ + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 21`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Back to today", + "clear": "Clear", + "dateFormat": "D/M/YYYY", + "dateSelect": "Select date", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Choose a decade", + "month": "Month", + "monthBeforeYear": true, + "monthSelect": "Choose a month", + "nextCentury": "Next century", + "nextDecade": "Next decade", + "nextMonth": "Next month (PageDown)", + "nextYear": "Next year (Control + right)", + "now": "Now", + "ok": "Ok", + "placeholder": "Select date", + "previousCentury": "Last century", + "previousDecade": "Last decade", + "previousMonth": "Previous month (PageUp)", + "previousYear": "Last year (Control + left)", + "rangePlaceholder": Array [ + "Start date", + "End date", + ], + "timeSelect": "Select time", + "today": "Today", + "year": "Year", + "yearFormat": "YYYY", + "yearSelect": "Choose a year", + }, + "timePickerLocale": Object { + "placeholder": "Select time", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Back to today", + "clear": "Clear", + "dateFormat": "D/M/YYYY", + "dateSelect": "Select date", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Choose a decade", + "month": "Month", + "monthBeforeYear": true, + "monthSelect": "Choose a month", + "nextCentury": "Next century", + "nextDecade": "Next decade", + "nextMonth": "Next month (PageDown)", + "nextYear": "Next year (Control + right)", + "now": "Now", + "ok": "Ok", + "placeholder": "Select date", + "previousCentury": "Last century", + "previousDecade": "Last decade", + "previousMonth": "Previous month (PageUp)", + "previousYear": "Last year (Control + left)", + "rangePlaceholder": Array [ + "Start date", + "End date", + ], + "timeSelect": "Select time", + "today": "Today", + "year": "Year", + "yearFormat": "YYYY", + "yearSelect": "Choose a year", + }, + "timePickerLocale": Object { + "placeholder": "Select time", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Not Found +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Not Found +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "Sep", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ Sep +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Mo + + + + Tu + + + + We + + + + Th + + + + Fr + + + + Sa + + + + Su + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "No data", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "Filter menu", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "No data", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "Filter menu", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "No data", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "Filter menu", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ No data +
+ + + + + + + + + + + + + Cancel + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 22`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Aujourd'hui", + "clear": "Rétablir", + "dateFormat": "DD/MM/YYYY", + "dateSelect": "Sélectionner l'heure", + "dateTimeFormat": "DD/MM/YYYY HH:mm:ss", + "dayFormat": "DD", + "decadeSelect": "Choisissez une décennie", + "month": "Mois", + "monthBeforeYear": true, + "monthSelect": "Choisissez un mois", + "nextCentury": "Siècle suivant", + "nextDecade": "Décennie suivante", + "nextMonth": "Mois suivant (PageDown)", + "nextYear": "Année prochaine (Ctrl + droite)", + "now": "Maintenant", + "ok": "Ok", + "placeholder": "Sélectionner une date", + "previousCentury": "Siècle précédent", + "previousDecade": "Décennie précédente", + "previousMonth": "Mois précédent (PageUp)", + "previousYear": "Année précédente (Ctrl + gauche)", + "rangePlaceholder": Array [ + "Date de début", + "Date de fin", + ], + "timeSelect": "Sélectionner l'heure", + "today": "Aujourd'hui", + "year": "Année", + "yearFormat": "YYYY", + "yearSelect": "Choisissez une année", + }, + "timePickerLocale": Object { + "placeholder": "Sélectionner l'heure", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Aujourd'hui", + "clear": "Rétablir", + "dateFormat": "DD/MM/YYYY", + "dateSelect": "Sélectionner l'heure", + "dateTimeFormat": "DD/MM/YYYY HH:mm:ss", + "dayFormat": "DD", + "decadeSelect": "Choisissez une décennie", + "month": "Mois", + "monthBeforeYear": true, + "monthSelect": "Choisissez un mois", + "nextCentury": "Siècle suivant", + "nextDecade": "Décennie suivante", + "nextMonth": "Mois suivant (PageDown)", + "nextYear": "Année prochaine (Ctrl + droite)", + "now": "Maintenant", + "ok": "Ok", + "placeholder": "Sélectionner une date", + "previousCentury": "Siècle précédent", + "previousDecade": "Décennie précédente", + "previousMonth": "Mois précédent (PageUp)", + "previousYear": "Année précédente (Ctrl + gauche)", + "rangePlaceholder": Array [ + "Date de début", + "Date de fin", + ], + "timeSelect": "Sélectionner l'heure", + "today": "Aujourd'hui", + "year": "Année", + "yearFormat": "YYYY", + "yearSelect": "Choisissez une année", + }, + "timePickerLocale": Object { + "placeholder": "Sélectionner l'heure", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + élément + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Pas de résultat +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + élément + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Pas de résultat +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "sept.", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ sept. +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Lu + + + + Ma + + + + Me + + + + Je + + + + Ve + + + + Sa + + + + Di + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Aucune donnée", + "filterConfirm": "OK", + "filterReset": "Réinitialiser", + "filterTitle": "Filtrer", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Aucune donnée", + "filterConfirm": "OK", + "filterReset": "Réinitialiser", + "filterTitle": "Filtrer", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Aucune donnée", + "filterConfirm": "OK", + "filterReset": "Réinitialiser", + "filterTitle": "Filtrer", + "selectAll": "Select current page", + "selectInvert": "Invert current page", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ Aucune donnée +
+ + + + + + + + + + + + + Annuler + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 23`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Terug naar vandaag", + "clear": "Reset", + "dateFormat": "D-M-YYYY", + "dateSelect": "Selecteer datum", + "dateTimeFormat": "D-M-YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Kies een decennium", + "month": "Maand", + "monthBeforeYear": true, + "monthSelect": "Kies een maand", + "nextCentury": "Volgende eeuw", + "nextDecade": "Volgend decennium", + "nextMonth": "Volgende maand (PageDown)", + "nextYear": "Volgend jaar (Control + right)", + "now": "Nu", + "ok": "Ok", + "placeholder": "Selecteer datum", + "previousCentury": "Vorige eeuw", + "previousDecade": "Vorig decennium", + "previousMonth": "Vorige maand (PageUp)", + "previousYear": "Vorig jaar (Control + left)", + "rangePlaceholder": Array [ + "Begin datum", + "Eind datum", + ], + "timeSelect": "Selecteer tijd", + "today": "Vandaag", + "year": "Jaar", + "yearFormat": "YYYY", + "yearSelect": "Kies een jaar", + }, + "timePickerLocale": Object { + "placeholder": "Selecteer tijd", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Terug naar vandaag", + "clear": "Reset", + "dateFormat": "D-M-YYYY", + "dateSelect": "Selecteer datum", + "dateTimeFormat": "D-M-YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Kies een decennium", + "month": "Maand", + "monthBeforeYear": true, + "monthSelect": "Kies een maand", + "nextCentury": "Volgende eeuw", + "nextDecade": "Volgend decennium", + "nextMonth": "Volgende maand (PageDown)", + "nextYear": "Volgend jaar (Control + right)", + "now": "Nu", + "ok": "Ok", + "placeholder": "Selecteer datum", + "previousCentury": "Vorige eeuw", + "previousDecade": "Vorig decennium", + "previousMonth": "Vorige maand (PageUp)", + "previousYear": "Vorig jaar (Control + left)", + "rangePlaceholder": Array [ + "Begin datum", + "Eind datum", + ], + "timeSelect": "Selecteer tijd", + "today": "Vandaag", + "year": "Jaar", + "yearFormat": "YYYY", + "yearSelect": "Kies een jaar", + }, + "timePickerLocale": Object { + "placeholder": "Selecteer tijd", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Niet gevonden +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + item + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Niet gevonden +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "sep.", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ sep. +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Ma + + + + Di + + + + Wo + + + + Do + + + + Vr + + + + Za + + + + Zo + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Geen gegevens", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "FilterMenu", + "selectAll": "Selecteer huidige pagina", + "selectInvert": "Selecteer huidige pagina", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Geen gegevens", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "FilterMenu", + "selectAll": "Selecteer huidige pagina", + "selectInvert": "Selecteer huidige pagina", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Geen gegevens", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "FilterMenu", + "selectAll": "Selecteer huidige pagina", + "selectInvert": "Selecteer huidige pagina", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ Geen gegevens +
+ + + + + + + + + + + + + Annuleer + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 24`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Torna ad oggi", + "clear": "Chiaro", + "dateFormat": "D/M/YYYY", + "dateSelect": "Select date", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Scegli un decennio", + "month": "Mese", + "monthBeforeYear": true, + "monthSelect": "Seleziona la data", + "nextCentury": "Prossimo secolo", + "nextDecade": "Prossimo decennio", + "nextMonth": "Il prossimo mese (PageDown)", + "nextYear": "L'anno prossimo (Control + destra)", + "now": "adesso", + "ok": "Ok", + "placeholder": "Selezionare la data", + "previousCentury": "Secolo precedente", + "previousDecade": "Ultimo decennio", + "previousMonth": "Il mese scorso (PageUp)", + "previousYear": "L'anno scorso (Control + sinistra)", + "rangePlaceholder": Array [ + "Data d'inizio", + "Data di fine", + ], + "timeSelect": "Seleziona il tempo", + "today": "Oggi", + "year": "Anno", + "yearFormat": "YYYY", + "yearSelect": "Scegli un anno", + }, + "timePickerLocale": Object { + "placeholder": "Selezionare il tempo", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Torna ad oggi", + "clear": "Chiaro", + "dateFormat": "D/M/YYYY", + "dateSelect": "Select date", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Scegli un decennio", + "month": "Mese", + "monthBeforeYear": true, + "monthSelect": "Seleziona la data", + "nextCentury": "Prossimo secolo", + "nextDecade": "Prossimo decennio", + "nextMonth": "Il prossimo mese (PageDown)", + "nextYear": "L'anno prossimo (Control + destra)", + "now": "adesso", + "ok": "Ok", + "placeholder": "Selezionare la data", + "previousCentury": "Secolo precedente", + "previousDecade": "Ultimo decennio", + "previousMonth": "Il mese scorso (PageUp)", + "previousYear": "L'anno scorso (Control + sinistra)", + "rangePlaceholder": Array [ + "Data d'inizio", + "Data di fine", + ], + "timeSelect": "Seleziona il tempo", + "today": "Oggi", + "year": "Anno", + "yearFormat": "YYYY", + "yearSelect": "Scegli un anno", + }, + "timePickerLocale": Object { + "placeholder": "Selezionare il tempo", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + articolo + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Non trovato +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + articolo + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Non trovato +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "set", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ set +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + lu + + + + ma + + + + me + + + + gi + + + + ve + + + + sa + + + + do + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Nessun dato", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "Menu Filtro", + "selectAll": "Seleziona pagina corrente", + "selectInvert": "Selezionare Inverti", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Nessun dato", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "Menu Filtro", + "selectAll": "Seleziona pagina corrente", + "selectInvert": "Selezionare Inverti", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Nessun dato", + "filterConfirm": "OK", + "filterReset": "Reset", + "filterTitle": "Menu Filtro", + "selectAll": "Seleziona pagina corrente", + "selectInvert": "Selezionare Inverti", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ Nessun dato +
+ + + + + + + + + + + + + Annulla + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 25`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Back to today", + "clear": "Clear", + "dateFormat": "M/D/YYYY", + "dateSelect": "Select date", + "dateTimeFormat": "M/D/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Choose a decade", + "month": "Month", + "monthBeforeYear": true, + "monthSelect": "Choose a month", + "nextCentury": "Next century", + "nextDecade": "Next decade", + "nextMonth": "Next month (PageDown)", + "nextYear": "Next year (Control + right)", + "now": "Now", + "ok": "Ok", + "placeholder": "Chọn thời điểm", + "previousCentury": "Last century", + "previousDecade": "Last decade", + "previousMonth": "Previous month (PageUp)", + "previousYear": "Last year (Control + left)", + "rangePlaceholder": Array [ + "Ngày bắt đầu", + "Ngày kết thúc", + ], + "timeSelect": "Select time", + "today": "Today", + "year": "Year", + "yearFormat": "YYYY", + "yearSelect": "Choose a year", + }, + "timePickerLocale": Object { + "placeholder": "Select time", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Back to today", + "clear": "Clear", + "dateFormat": "M/D/YYYY", + "dateSelect": "Select date", + "dateTimeFormat": "M/D/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Choose a decade", + "month": "Month", + "monthBeforeYear": true, + "monthSelect": "Choose a month", + "nextCentury": "Next century", + "nextDecade": "Next decade", + "nextMonth": "Next month (PageDown)", + "nextYear": "Next year (Control + right)", + "now": "Now", + "ok": "Ok", + "placeholder": "Chọn thời điểm", + "previousCentury": "Last century", + "previousDecade": "Last decade", + "previousMonth": "Previous month (PageUp)", + "previousYear": "Last year (Control + left)", + "rangePlaceholder": Array [ + "Ngày bắt đầu", + "Ngày kết thúc", + ], + "timeSelect": "Select time", + "today": "Today", + "year": "Year", + "yearFormat": "YYYY", + "yearSelect": "Choose a year", + }, + "timePickerLocale": Object { + "placeholder": "Select time", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + mục + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Không Tìm Thấy +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + mục + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Không Tìm Thấy +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "Th09", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ Th09 +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + T2 + + + + T3 + + + + T4 + + + + T5 + + + + T6 + + + + T7 + + + + CN + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Trống", + "filterConfirm": "OK", + "filterReset": "Tạo Lại", + "filterTitle": "Bộ ", + "selectAll": "Chọn Tất Cả", + "selectInvert": "Chọn Ngược Lại", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Trống", + "filterConfirm": "OK", + "filterReset": "Tạo Lại", + "filterTitle": "Bộ ", + "selectAll": "Chọn Tất Cả", + "selectInvert": "Chọn Ngược Lại", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Trống", + "filterConfirm": "OK", + "filterReset": "Tạo Lại", + "filterTitle": "Bộ ", + "selectAll": "Chọn Tất Cả", + "selectInvert": "Chọn Ngược Lại", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ Trống +
+ + + + + + + + + + + + + Huỷ + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 26`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "กลับไปยังวันนี้", + "clear": "ลบล้าง", + "dateFormat": "D/M/YYYY", + "dateSelect": "เลือกวัน", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "เลือกทศวรรษ", + "month": "เดือน", + "monthBeforeYear": true, + "monthSelect": "เลือกเดือน", + "nextCentury": "ศตวรรษถัดไป", + "nextDecade": "ทศวรรษถัดไป", + "nextMonth": "เดือนถัดไป (PageDown)", + "nextYear": "ปีถัดไป (Control + right)", + "now": "ตอนนี้", + "ok": "ตกลง", + "placeholder": "เลือกวันที่", + "previousCentury": "ศตวรรษก่อนหน้า", + "previousDecade": "ทศวรรษก่อนหน้า", + "previousMonth": "เดือนก่อนหน้า (PageUp)", + "previousYear": "ปีก่อนหน้า (Control + left)", + "rangePlaceholder": Array [ + "วันเริ่มต้น", + "วันสิ้นสุด", + ], + "timeSelect": "เลือกเวลา", + "today": "วันนี้", + "year": "ปี", + "yearFormat": "YYYY", + "yearSelect": "เลือกปี", + }, + "timePickerLocale": Object { + "placeholder": "เลือกเวลา", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "กลับไปยังวันนี้", + "clear": "ลบล้าง", + "dateFormat": "D/M/YYYY", + "dateSelect": "เลือกวัน", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "เลือกทศวรรษ", + "month": "เดือน", + "monthBeforeYear": true, + "monthSelect": "เลือกเดือน", + "nextCentury": "ศตวรรษถัดไป", + "nextDecade": "ทศวรรษถัดไป", + "nextMonth": "เดือนถัดไป (PageDown)", + "nextYear": "ปีถัดไป (Control + right)", + "now": "ตอนนี้", + "ok": "ตกลง", + "placeholder": "เลือกวันที่", + "previousCentury": "ศตวรรษก่อนหน้า", + "previousDecade": "ทศวรรษก่อนหน้า", + "previousMonth": "เดือนก่อนหน้า (PageUp)", + "previousYear": "ปีก่อนหน้า (Control + left)", + "rangePlaceholder": Array [ + "วันเริ่มต้น", + "วันสิ้นสุด", + ], + "timeSelect": "เลือกเวลา", + "today": "วันนี้", + "year": "ปี", + "yearFormat": "YYYY", + "yearSelect": "เลือกปี", + }, + "timePickerLocale": Object { + "placeholder": "เลือกเวลา", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + ชิ้น + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + ไม่พบข้อมูล +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + ชิ้น + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + ไม่พบข้อมูล +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "ก.ย.", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ ก.ย. +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + อา. + + + + จ. + + + + อ. + + + + พ. + + + + พฤ. + + + + ศ. + + + + ส. + +
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "ไม่มีข้อมูล", + "filterConfirm": "ยืนยัน", + "filterReset": "รีเซ็ต", + "filterTitle": "ตัวกรอง", + "selectAll": "เลือกทั้งหมดในหน้านี้", + "selectInvert": "เลือกสถานะตรงกันข้าม", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "ไม่มีข้อมูล", + "filterConfirm": "ยืนยัน", + "filterReset": "รีเซ็ต", + "filterTitle": "ตัวกรอง", + "selectAll": "เลือกทั้งหมดในหน้านี้", + "selectInvert": "เลือกสถานะตรงกันข้าม", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "ไม่มีข้อมูล", + "filterConfirm": "ยืนยัน", + "filterReset": "รีเซ็ต", + "filterTitle": "ตัวกรอง", + "selectAll": "เลือกทั้งหมดในหน้านี้", + "selectInvert": "เลือกสถานะตรงกันข้าม", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ ไม่มีข้อมูล +
+ + + + + + + + + + + + + ยกเลิก + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 27`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "بازگشت به روز", + "clear": "پاک کردن", + "dateFormat": "M/D/YYYY", + "dateSelect": "انتخاب تاریخ", + "dateTimeFormat": "M/D/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "یک دهه را انتخاب کنید", + "month": "ماه", + "monthBeforeYear": true, + "monthSelect": "یک ماه را انتخاب کنید", + "nextCentury": "قرن بعد", + "nextDecade": "دهه بعد", + "nextMonth": "ماه بعد (PageDown)", + "nextYear": "سال بعد (Control + right)", + "now": "اکنون", + "ok": "باشه", + "placeholder": "انتخاب تاریخ", + "previousCentury": "قرن قبل", + "previousDecade": "دهه قبل", + "previousMonth": "ماه قبل (PageUp)", + "previousYear": "سال قبل (Control + left)", + "rangePlaceholder": Array [ + "تاریخ شروع", + "تاریخ پایان", + ], + "timeSelect": "انتخاب زمان", + "today": "امروز", + "year": "سال", + "yearFormat": "YYYY", + "yearSelect": "یک سال را انتخاب کنید", + }, + "timePickerLocale": Object { + "placeholder": "انتخاب زمان", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "بازگشت به روز", + "clear": "پاک کردن", + "dateFormat": "M/D/YYYY", + "dateSelect": "انتخاب تاریخ", + "dateTimeFormat": "M/D/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "یک دهه را انتخاب کنید", + "month": "ماه", + "monthBeforeYear": true, + "monthSelect": "یک ماه را انتخاب کنید", + "nextCentury": "قرن بعد", + "nextDecade": "دهه بعد", + "nextMonth": "ماه بعد (PageDown)", + "nextYear": "سال بعد (Control + right)", + "now": "اکنون", + "ok": "باشه", + "placeholder": "انتخاب تاریخ", + "previousCentury": "قرن قبل", + "previousDecade": "دهه قبل", + "previousMonth": "ماه قبل (PageUp)", + "previousYear": "سال قبل (Control + left)", + "rangePlaceholder": Array [ + "تاریخ شروع", + "تاریخ پایان", + ], + "timeSelect": "انتخاب زمان", + "today": "امروز", + "year": "سال", + "yearFormat": "YYYY", + "yearSelect": "یک سال را انتخاب کنید", + }, + "timePickerLocale": Object { + "placeholder": "انتخاب زمان", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + داده‌ای موجود نیست +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + داده‌ای موجود نیست +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "سپتامبر", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ سپتامبر +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + ش + + + + ی + + + + د + + + + س + + + + چ + + + + پ + + + + ج + +
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "داده‌ای موجود نیست", + "filterConfirm": "تایید", + "filterReset": "پاک کردن", + "filterTitle": "منوی فیلتر", + "selectAll": "انتخاب صفحه‌ی کنونی", + "selectInvert": "معکوس کردن انتخاب‌ها در صفحه ی کنونی", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "داده‌ای موجود نیست", + "filterConfirm": "تایید", + "filterReset": "پاک کردن", + "filterTitle": "منوی فیلتر", + "selectAll": "انتخاب صفحه‌ی کنونی", + "selectInvert": "معکوس کردن انتخاب‌ها در صفحه ی کنونی", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "داده‌ای موجود نیست", + "filterConfirm": "تایید", + "filterReset": "پاک کردن", + "filterTitle": "منوی فیلتر", + "selectAll": "انتخاب صفحه‌ی کنونی", + "selectInvert": "معکوس کردن انتخاب‌ها در صفحه ی کنونی", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ داده‌ای موجود نیست +
+ + + + + + + + + + + + + لغو + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 28`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Πίσω στη σημερινή μέρα", + "clear": "Καθαρισμός", + "dateFormat": "D/M/YYYY", + "dateSelect": "Επιλογή ημερομηνίας", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Επιλογή δεκαετίας", + "month": "Μήνας", + "monthBeforeYear": true, + "monthSelect": "Επιλογή μήνα", + "nextCentury": "Επόμενος αιώνας", + "nextDecade": "Επόμενη δεκαετία", + "nextMonth": "Επόμενος μήνας (PageDown)", + "nextYear": "Επόμενο έτος (Control + δεξιά)", + "now": "Τώρα", + "ok": "Ok", + "placeholder": "Επιλέξτε ημερομηνία", + "previousCentury": "Προηγούμενος αιώνας", + "previousDecade": "Προηγούμενη δεκαετία", + "previousMonth": "Προηγούμενος μήνας (PageUp)", + "previousYear": "Προηγούμενο έτος (Control + αριστερά)", + "rangePlaceholder": Array [ + "Αρχική ημερομηνία", + "Τελική ημερομηνία", + ], + "timeSelect": "Επιλογή ώρας", + "today": "Σήμερα", + "year": "Έτος", + "yearFormat": "YYYY", + "yearSelect": "Επιλογή έτους", + }, + "timePickerLocale": Object { + "placeholder": "Επιλέξτε ώρα", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Πίσω στη σημερινή μέρα", + "clear": "Καθαρισμός", + "dateFormat": "D/M/YYYY", + "dateSelect": "Επιλογή ημερομηνίας", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Επιλογή δεκαετίας", + "month": "Μήνας", + "monthBeforeYear": true, + "monthSelect": "Επιλογή μήνα", + "nextCentury": "Επόμενος αιώνας", + "nextDecade": "Επόμενη δεκαετία", + "nextMonth": "Επόμενος μήνας (PageDown)", + "nextYear": "Επόμενο έτος (Control + δεξιά)", + "now": "Τώρα", + "ok": "Ok", + "placeholder": "Επιλέξτε ημερομηνία", + "previousCentury": "Προηγούμενος αιώνας", + "previousDecade": "Προηγούμενη δεκαετία", + "previousMonth": "Προηγούμενος μήνας (PageUp)", + "previousYear": "Προηγούμενο έτος (Control + αριστερά)", + "rangePlaceholder": Array [ + "Αρχική ημερομηνία", + "Τελική ημερομηνία", + ], + "timeSelect": "Επιλογή ώρας", + "today": "Σήμερα", + "year": "Έτος", + "yearFormat": "YYYY", + "yearSelect": "Επιλογή έτους", + }, + "timePickerLocale": Object { + "placeholder": "Επιλέξτε ώρα", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + αντικείμενο + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Δεν βρέθηκε +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + αντικείμενο + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Δεν βρέθηκε +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "Σεπ", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ Σεπ +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Δε + + + + Τρ + + + + Τε + + + + Πε + + + + Πα + + + + Σα + + + + Κυ + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Δεν υπάρχουν δεδομένα", + "filterConfirm": "ΟΚ", + "filterReset": "Επαναφορά", + "filterTitle": "Μενού φίλτρων", + "selectAll": "Επιλογή τρέχουσας σελίδας", + "selectInvert": "Αντιστροφή τρέχουσας σελίδας", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Δεν υπάρχουν δεδομένα", + "filterConfirm": "ΟΚ", + "filterReset": "Επαναφορά", + "filterTitle": "Μενού φίλτρων", + "selectAll": "Επιλογή τρέχουσας σελίδας", + "selectInvert": "Αντιστροφή τρέχουσας σελίδας", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Δεν υπάρχουν δεδομένα", + "filterConfirm": "ΟΚ", + "filterReset": "Επαναφορά", + "filterTitle": "Μενού φίλτρων", + "selectAll": "Επιλογή τρέχουσας σελίδας", + "selectInvert": "Αντιστροφή τρέχουσας σελίδας", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ Δεν υπάρχουν δεδομένα +
+ + + + + + + + + + + + + Άκυρο + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 29`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Gå til i dag", + "clear": "Annuller", + "dateFormat": "DD.MM.YYYY", + "dateSelect": "Velg dato", + "dateTimeFormat": "DD.MM.YYYY HH:mm:ss", + "dayFormat": "DD", + "decadeSelect": "Velg årti", + "month": "Måned", + "monthBeforeYear": true, + "monthSelect": "Velg måned", + "nextCentury": "Neste århundre", + "nextDecade": "Neste tiår", + "nextMonth": "Neste måned (PageDown)", + "nextYear": "Neste år (Control + right)", + "now": "Nå", + "ok": "Ok", + "placeholder": "Velg dato", + "previousCentury": "Forrige århundre", + "previousDecade": "Forrige tiår", + "previousMonth": "Forrige måned(PageUp)", + "previousYear": "Forrige år (Control + left)", + "rangePlaceholder": Array [ + "Startdato", + "Sluttdato", + ], + "timeSelect": "Velg tidspunkt", + "today": "I dag", + "year": "År", + "yearFormat": "YYYY", + "yearSelect": "Velg år", + }, + "timePickerLocale": Object { + "placeholder": "Velg tid", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Gå til i dag", + "clear": "Annuller", + "dateFormat": "DD.MM.YYYY", + "dateSelect": "Velg dato", + "dateTimeFormat": "DD.MM.YYYY HH:mm:ss", + "dayFormat": "DD", + "decadeSelect": "Velg årti", + "month": "Måned", + "monthBeforeYear": true, + "monthSelect": "Velg måned", + "nextCentury": "Neste århundre", + "nextDecade": "Neste tiår", + "nextMonth": "Neste måned (PageDown)", + "nextYear": "Neste år (Control + right)", + "now": "Nå", + "ok": "Ok", + "placeholder": "Velg dato", + "previousCentury": "Forrige århundre", + "previousDecade": "Forrige tiår", + "previousMonth": "Forrige måned(PageUp)", + "previousYear": "Forrige år (Control + left)", + "rangePlaceholder": Array [ + "Startdato", + "Sluttdato", + ], + "timeSelect": "Velg tidspunkt", + "today": "I dag", + "year": "År", + "yearFormat": "YYYY", + "yearSelect": "Velg år", + }, + "timePickerLocale": Object { + "placeholder": "Velg tid", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + element + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Ingen treff +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + element + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Ingen treff +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "sep.", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ sep. +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + ma + + + + ti + + + + on + + + + to + + + + fr + + + + lø + + + + sø + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Ingen data", + "filterConfirm": "OK", + "filterReset": "Nullstill", + "filterTitle": "Filtermeny", + "selectAll": "Velg alle", + "selectInvert": "Inverter valg", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Ingen data", + "filterConfirm": "OK", + "filterReset": "Nullstill", + "filterTitle": "Filtermeny", + "selectAll": "Velg alle", + "selectInvert": "Inverter valg", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Ingen data", + "filterConfirm": "OK", + "filterReset": "Nullstill", + "filterTitle": "Filtermeny", + "selectAll": "Velg alle", + "selectInvert": "Inverter valg", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ Ingen data +
+ + + + + + + + + + + + + Avbryt + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 30`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Vrati se na danas", + "clear": "Obriši", + "dateFormat": "DD.MM.YYYY", + "dateSelect": "Izaberi datum", + "dateTimeFormat": "DD.MM.YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Izaberi deceniju", + "month": "Mesec", + "monthBeforeYear": true, + "monthSelect": "Izaberi mesec", + "nextCentury": "Sledeći vek", + "nextDecade": "Sledeća decenija", + "nextMonth": "Sledeći mesec (PageDown)", + "nextYear": "Sledeća godina (Control + right)", + "now": "Sada", + "ok": "U redu", + "placeholder": "Izaberite datum", + "previousCentury": "Prethodni vek", + "previousDecade": "Prethodna decenija", + "previousMonth": "Prethodni mesec (PageUp)", + "previousYear": "Prethodna godina (Control + left)", + "rangePlaceholder": Array [ + "Početni datum", + "Krajnji datum", + ], + "timeSelect": "Izaberi vreme", + "today": "Danas", + "year": "Godina", + "yearFormat": "YYYY", + "yearSelect": "Izaberi godinu", + }, + "timePickerLocale": Object { + "placeholder": "Izaberite vreme", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Vrati se na danas", + "clear": "Obriši", + "dateFormat": "DD.MM.YYYY", + "dateSelect": "Izaberi datum", + "dateTimeFormat": "DD.MM.YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Izaberi deceniju", + "month": "Mesec", + "monthBeforeYear": true, + "monthSelect": "Izaberi mesec", + "nextCentury": "Sledeći vek", + "nextDecade": "Sledeća decenija", + "nextMonth": "Sledeći mesec (PageDown)", + "nextYear": "Sledeća godina (Control + right)", + "now": "Sada", + "ok": "U redu", + "placeholder": "Izaberite datum", + "previousCentury": "Prethodni vek", + "previousDecade": "Prethodna decenija", + "previousMonth": "Prethodni mesec (PageUp)", + "previousYear": "Prethodna godina (Control + left)", + "rangePlaceholder": Array [ + "Početni datum", + "Krajnji datum", + ], + "timeSelect": "Izaberi vreme", + "today": "Danas", + "year": "Godina", + "yearFormat": "YYYY", + "yearSelect": "Izaberi godinu", + }, + "timePickerLocale": Object { + "placeholder": "Izaberite vreme", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + stavka + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Nisu pronađeni rezultati pretrage +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + stavka + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Nisu pronađeni rezultati pretrage +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "sep.", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ sep. +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + po + + + + ut + + + + sr + + + + če + + + + pe + + + + su + + + + ne + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Nema podataka", + "filterConfirm": "Primeni filter", + "filterReset": "Resetuj filter", + "filterTitle": "Filter", + "selectAll": "Obeleži sve na trenutnoj strani", + "selectInvert": "Obrni selekciju na trenutnoj stranici", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Nema podataka", + "filterConfirm": "Primeni filter", + "filterReset": "Resetuj filter", + "filterTitle": "Filter", + "selectAll": "Obeleži sve na trenutnoj strani", + "selectInvert": "Obrni selekciju na trenutnoj stranici", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Nema podataka", + "filterConfirm": "Primeni filter", + "filterReset": "Resetuj filter", + "filterTitle": "Filter", + "selectAll": "Obeleži sve na trenutnoj strani", + "selectInvert": "Obrni selekciju na trenutnoj stranici", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ Nema podataka +
+ + + + + + + + + + + + + Otkaži + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; + +exports[`Locale Provider should display the text as locale changed 31`] = ` + + +
+ <_a + defaultCurrent={1} + prefixCls="ant-pagination" + selectPrefixCls="ant-select" + showSizeChanger={true} + total={50} + > + + + + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={true} + transitionName="slide-up" + value={Array []} + visible={false} + > +
+
+
+
+
+ + +   + +
+
+
+ + + +
+
+
+
+ + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Til baka til dagsins í dag", + "clear": "Hreinsa", + "dateFormat": "D/M/YYYY", + "dateSelect": "Velja dag", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Velja áratug", + "month": "Mánuður", + "monthBeforeYear": true, + "monthSelect": "Velja mánuð", + "nextCentury": "Næsta öld", + "nextDecade": "Næsti áratugur", + "nextMonth": "Næsti mánuður (PageDown)", + "nextYear": "Næsta ár (Control + right)", + "now": "Núna", + "ok": "Í lagi", + "placeholder": "Veldu dag", + "previousCentury": "Fyrri öld", + "previousDecade": "Fyrri áratugur", + "previousMonth": "Fyrri mánuður (PageUp)", + "previousYear": "Fyrra ár (Control + left)", + "rangePlaceholder": Array [ + "Upphafsdagur", + "Lokadagur", + ], + "timeSelect": "Velja tíma", + "today": "Í dag", + "year": "Ár", + "yearFormat": "YYYY", + "yearSelect": "Velja ár", + }, + "timePickerLocale": Object { + "placeholder": "Velja tíma", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={true} + style={Object {}} + timePicker={null} + transitionName="slide-up" + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > +
+ + +
+
+
+
+
+
+ <_a + align={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + defaultOpenValue={"2017-09-18T03:30:07.795Z"} + disabled={false} + hideDisabledOptions={false} + placement="bottomLeft" + prefixCls="ant-time-picker" + transitionName="slide-up" + > + + + } + popupAlign={ + Object { + "offset": Array [ + 0, + -2, + ], + } + } + popupClassName=" ant-time-picker-panel-column-3" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-time-picker-panel" + showAction={Array []} + > + + + + + + + + + + + + } + defaultOpen={false} + format="YYYY-MM-DD" + inputPrefixCls="ant-input" + locale={ + Object { + "lang": Object { + "backToToday": "Til baka til dagsins í dag", + "clear": "Hreinsa", + "dateFormat": "D/M/YYYY", + "dateSelect": "Velja dag", + "dateTimeFormat": "D/M/YYYY HH:mm:ss", + "dayFormat": "D", + "decadeSelect": "Velja áratug", + "month": "Mánuður", + "monthBeforeYear": true, + "monthSelect": "Velja mánuð", + "nextCentury": "Næsta öld", + "nextDecade": "Næsti áratugur", + "nextMonth": "Næsti mánuður (PageDown)", + "nextYear": "Næsta ár (Control + right)", + "now": "Núna", + "ok": "Í lagi", + "placeholder": "Veldu dag", + "previousCentury": "Fyrri öld", + "previousDecade": "Fyrri áratugur", + "previousMonth": "Fyrri mánuður (PageUp)", + "previousYear": "Fyrra ár (Control + left)", + "rangePlaceholder": Array [ + "Upphafsdagur", + "Lokadagur", + ], + "timeSelect": "Velja tíma", + "today": "Í dag", + "year": "Ár", + "yearFormat": "YYYY", + "yearSelect": "Velja ár", + }, + "timePickerLocale": Object { + "placeholder": "Velja tíma", + }, + } + } + onChange={[Function]} + onOk={[Function]} + onOpenChange={[Function]} + pickerClass="ant-calendar-picker" + pickerInputClass="ant-calendar-picker-input ant-input" + placement="bottomLeft" + popupStyle={Object {}} + prefixCls="ant-calendar-picker-container" + showToday={false} + style={Object {}} + timePicker={null} + transitionName="slide-up" + value={Array []} + > + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + prefixCls="ant-calendar-picker-container" + showAction={Array []} + > + + + + ~ + + + + + + + + + + <_a + okType="primary" + placement="top" + prefixCls="ant-popover" + title="Question?" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+
+ } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + placement="top" + prefixCls="ant-popover" + transitionName="zoom-big" + trigger="click" + visible={true} + > + +
+
+ +
+ Question? +
+
+
+ + +
+
+ + } + popup={[Function]} + popupAlign={Object {}} + popupClassName="" + popupPlacement="top" + popupStyle={Object {}} + popupTransitionName="zoom-big" + popupVisible={true} + prefixCls="ant-popover" + showAction={Array []} + visible={true} + > +
+ Click to confirm + + + + + + <_a + dataSource={Array []} + render={[Function]} + showSearch={true} + targetKeys={Array []} + > +
+ +
+
+ + + + + + 0 + + færsla + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Engar færslur +
    +
+
+
+ +
+ + + + +
+
+ +
+
+ + + + + + 0 + + færsla + + + +
+
+
+ +
+ + + + + + + + +
+
+
+ +
    + +
    + Engar færslur +
    +
+
+
+
+ + +
+
+
+ + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "2017", + "label": "2017", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ 2017 +
+
+ + + +
+
+
+
+ + + + + + } + popupAlign={Object {}} + popupClassName="ant-select-dropdown--single" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-select-dropdown" + showAction={ + Array [ + "click", + ] + } + showSearch={false} + transitionName="slide-up" + value={ + Array [ + Object { + "key": "8", + "label": "sep", + "title": undefined, + }, + ] + } + visible={false} + > +
+
+
+
+ sep +
+
+ + + +
+
+
+
+ + + +
+ + + + + + + + + + +
+
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + Má + + + + Þr + + + + Mi + + + + Fi + + + + Fö + + + + La + + + + Su + +
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 31 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+ 09 +
+
+
+
+
+
+ 10 +
+
+
+
+
+
+ 11 +
+
+
+
+
+
+ 12 +
+
+
+
+
+
+ 13 +
+
+
+
+
+
+ 14 +
+
+
+
+
+
+ 15 +
+
+
+
+
+
+ 16 +
+
+
+
+
+
+ 17 +
+
+
+
+
+
+ 18 +
+
+
+
+
+
+ 19 +
+
+
+
+
+
+ 20 +
+
+
+
+
+
+ 21 +
+
+
+
+
+
+ 22 +
+
+
+
+
+
+ 23 +
+
+
+
+
+
+ 24 +
+
+
+
+
+
+ 25 +
+
+
+
+
+
+ 26 +
+
+
+
+
+
+ 27 +
+
+
+
+
+
+ 28 +
+
+
+
+
+
+ 29 +
+
+
+
+
+
+ 30 +
+
+
+
+
+
+ 01 +
+
+
+
+
+
+ 02 +
+
+
+
+
+
+ 03 +
+
+
+
+
+
+ 04 +
+
+
+
+
+
+ 05 +
+
+
+
+
+
+ 06 +
+
+
+
+
+
+ 07 +
+
+
+
+
+
+ 08 +
+
+
+
+
+
+
+
+
+
+ +
+ + +
+ +
+
+ Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Engin gögn", + "filterConfirm": "Staðfesta", + "filterReset": "Núllstilla", + "filterTitle": "Afmarkanir", + "selectAll": "Velja allt", + "selectInvert": "Viðsnúa vali", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + }, + Object { + "dataIndex": "age", + "key": "age", + "title": + Age + , + }, + ] + } + data={Array []} + dataSource={Array []} + defaultExpandAllRows={false} + defaultExpandedRowKeys={Array []} + emptyText={[Function]} + expandIconAsCell={false} + expandIconColumnIndex={0} + expandedRowClassName={[Function]} + getBodyWrapper={[Function]} + indentSize={20} + loading={false} + locale={Object {}} + onExpand={[Function]} + onExpandedRowsChange={[Function]} + onRowClick={[Function]} + onRowContextMenu={[Function]} + onRowDoubleClick={[Function]} + onRowMouseEnter={[Function]} + onRowMouseLeave={[Function]} + prefixCls="ant-table" + rowClassName={[Function]} + rowKey="key" + rowRef={[Function]} + rowSelection={null} + scroll={Object {}} + showHeader={true} + size="large" + style={Object {}} + useFixedHeader={false} + > +
+
+
+
+ + + + + + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Engin gögn", + "filterConfirm": "Staðfesta", + "filterReset": "Núllstilla", + "filterTitle": "Afmarkanir", + "selectAll": "Velja allt", + "selectInvert": "Viðsnúa vali", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + /> + , + "className": "", + "key": "name", + }, + Object { + "children": + Age + , + "className": "", + "key": "age", + }, + ], + ] + } + > + + + + + + + + +
+ + Name + + Name + + , + } + } + confirmFilter={[Function]} + dropdownPrefixCls="ant-dropdown" + getPopupContainer={[Function]} + handleFilter={[Function]} + locale={ + Object { + "emptyText": "Engin gögn", + "filterConfirm": "Staðfesta", + "filterReset": "Núllstilla", + "filterTitle": "Afmarkanir", + "selectAll": "Velja allt", + "selectInvert": "Viðsnúa vali", + } + } + prefixCls="ant-table-filter" + selectedKeys={Array []} + > + + + + + + filter1 + + + + + + } + placement="bottomLeft" + prefixCls="ant-dropdown" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + overlayClassName="" + overlayStyle={Object {}} + placement="bottomLeft" + prefixCls="ant-dropdown" + showAction={Array []} + transitionName="slide-up" + trigger={ + Array [ + "click", + ] + } + visible={false} + > + + + + + + filter1 + + + + + + } + popup={ + + + + + + filter1 + + + + + + } + popupAlign={Object {}} + popupClassName="" + popupPlacement="bottomLeft" + popupStyle={Object {}} + popupTransitionName="slide-up" + popupVisible={false} + prefixCls="ant-dropdown" + showAction={Array []} + visible={false} + > + + + + + + + + + + + Age + +
+ +
+ Engin gögn +
+ + + + + + + + + + + + + Hætta við + , + , + ] + } + maskTransitionName="fade" + okType="primary" + onClose={[Function]} + prefixCls="ant-modal" + title="Locale Modal" + transitionName="zoom" + visible={true} + width={520} + /> + + +
+
+`; diff --git a/components/locale-provider/__tests__/index.test.js b/components/locale-provider/__tests__/index.test.js index 815640365789..50b77cd22abe 100644 --- a/components/locale-provider/__tests__/index.test.js +++ b/components/locale-provider/__tests__/index.test.js @@ -1,6 +1,7 @@ import React from 'react'; import { mount } from 'enzyme'; import moment from 'moment'; +import MockDate from 'mockdate'; import { LocaleProvider, Pagination, DatePicker, TimePicker, Calendar, Popconfirm, Table, Modal, Select, Transfer } from '../../'; import enGB from '../en_GB'; @@ -60,7 +61,7 @@ const App = () => ( - + Click to confirm @@ -81,15 +82,16 @@ const App = () => ( describe('Locale Provider', () => { it('should display the text as locale changed', () => { + MockDate.set(moment('2017-09-18T03:30:07.795Z').valueOf()); locales.forEach((locale) => { const wrapper = mount( ); - const DatePickerPlaceholder = wrapper.find('.ant-calendar-picker-input').at(0).node.getAttribute('placeholder'); - expect(DatePickerPlaceholder).toBe(locale.DatePicker.lang.placeholder); + expect(wrapper).toMatchSnapshot(); }); + MockDate.reset(); }); it('should change locale of Modal.xxx', () => { diff --git a/components/locale-provider/demo/all.md b/components/locale-provider/demo/all.md index 5a06dde78321..84f2958102e4 100644 --- a/components/locale-provider/demo/all.md +++ b/components/locale-provider/demo/all.md @@ -16,7 +16,7 @@ Components which need localization support are listed here, you can toggle the l ````jsx import { LocaleProvider, Pagination, DatePicker, TimePicker, Calendar, Popconfirm, Table, Modal, Button, Select, Transfer, Radio } from 'antd'; -import enUS from 'antd/lib/locale-provider/en_US'; +import zhCN from 'antd/lib/locale-provider/zh_CN'; import moment from 'moment'; import 'moment/locale/zh-cn'; moment.locale('en'); @@ -107,16 +107,16 @@ class App extends React.Component { constructor() { super(); this.state = { - locale: enUS, + locale: null, }; } changeLocale = (e) => { const localeValue = e.target.value; this.setState({ locale: localeValue }); if (!localeValue) { - moment.locale('zh-cn'); - } else { moment.locale('en'); + } else { + moment.locale('zh-cn'); } } render() { @@ -124,9 +124,9 @@ class App extends React.Component {
Change locale of components: - - English - 中文 + + English + 中文
diff --git a/components/locale-provider/en_US.tsx b/components/locale-provider/en_US.tsx index b52071712198..132c44fa2aec 100644 --- a/components/locale-provider/en_US.tsx +++ b/components/locale-provider/en_US.tsx @@ -30,6 +30,7 @@ export default { cancelText: 'Cancel', }, Transfer: { + titles: ['', ''], notFoundContent: 'Not Found', searchPlaceholder: 'Search here', itemUnit: 'item', diff --git a/components/locale-provider/zh_CN.tsx b/components/locale-provider/zh_CN.tsx new file mode 100644 index 000000000000..dd5166dc38d9 --- /dev/null +++ b/components/locale-provider/zh_CN.tsx @@ -0,0 +1,46 @@ +import moment from 'moment'; +moment.locale('zh-cn'); + +import Pagination from 'rc-pagination/lib/locale/zh_CN'; +import DatePicker from '../date-picker/locale/zh_CN'; +import TimePicker from '../time-picker/locale/zh_CN'; +import Calendar from '../calendar/locale/zh_CN'; + +export default { + locale: 'zh-cn', + Pagination, + DatePicker, + TimePicker, + Calendar, + Table: { + filterTitle: '筛选', + filterConfirm: '确定', + filterReset: '重置', + emptyText: '暂无数据', + selectAll: '全选当页', + selectInvert: '反选当页', + }, + Modal: { + okText: '确定', + cancelText: '取消', + justOkText: '知道了', + }, + Popconfirm: { + cancelText: '取消', + okText: '确定', + }, + Transfer: { + titles: ['', ''], + searchPlaceholder: 'Search', + notFoundContent: 'Not Found', + }, + Select: { + notFoundContent: '无匹配结果', + }, + Upload: { + uploading: '文件上传中', + removeFile: '删除文件', + uploadError: '上传错误', + previewFile: '预览文件', + }, +}; diff --git a/components/modal/Modal.tsx b/components/modal/Modal.tsx index 649799574379..d4eb81a9ad3a 100644 --- a/components/modal/Modal.tsx +++ b/components/modal/Modal.tsx @@ -4,6 +4,7 @@ import PropTypes from 'prop-types'; import addEventListener from 'rc-util/lib/Dom/addEventListener'; import Button from '../button'; import { ButtonType } from '../button/button'; +import { getConfirmLocale } from './locale'; let mousePosition; let mousePositionEventBinded; @@ -153,7 +154,7 @@ export default class Modal extends React.Component { size="large" onClick={this.handleCancel} > - {cancelText || '取消'} + {cancelText || getConfirmLocale().cancelText} ), ( )]; diff --git a/components/modal/__tests__/__snapshots__/Modal.test.js.snap b/components/modal/__tests__/__snapshots__/Modal.test.js.snap index 81ff91fc6623..88e845b5c056 100644 --- a/components/modal/__tests__/__snapshots__/Modal.test.js.snap +++ b/components/modal/__tests__/__snapshots__/Modal.test.js.snap @@ -41,7 +41,7 @@ exports[`Modal render correctly 1`] = ` type="button" > - 取 消 + Cancel
diff --git a/components/modal/locale.tsx b/components/modal/locale.tsx index 9e87d91cb189..0489f85f029d 100644 --- a/components/modal/locale.tsx +++ b/components/modal/locale.tsx @@ -1,14 +1,12 @@ +import enUS from '../locale-provider/en_US'; + export interface ModalLocale { okText: string; cancelText: string; justOkText: string; } -const defaultLocale: ModalLocale = { - okText: '确定', - cancelText: '取消', - justOkText: '知道了', -}; +const defaultLocale: ModalLocale = enUS.Modal; let runtimeLocale: ModalLocale = { ...defaultLocale, diff --git a/components/pagination/Pagination.tsx b/components/pagination/Pagination.tsx index 7e121b44e165..7872755bca7b 100644 --- a/components/pagination/Pagination.tsx +++ b/components/pagination/Pagination.tsx @@ -1,6 +1,6 @@ import React from 'react'; import RcPagination from 'rc-pagination'; -import zhCN from 'rc-pagination/lib/locale/zh_CN'; +import enUS from 'rc-pagination/lib/locale/en_US'; import classNames from 'classnames'; import injectLocale from '../locale-provider/injectLocale'; import Select from '../select'; @@ -51,5 +51,5 @@ abstract class Pagination extends React.Component { } } -const injectPaginationLocale = injectLocale('Pagination', zhCN); +const injectPaginationLocale = injectLocale('Pagination', enUS); export default injectPaginationLocale(Pagination as any); diff --git a/components/pagination/__tests__/__snapshots__/demo.test.js.snap b/components/pagination/__tests__/__snapshots__/demo.test.js.snap index 99ce395216dc..2a2925749e6d 100644 --- a/components/pagination/__tests__/__snapshots__/demo.test.js.snap +++ b/components/pagination/__tests__/__snapshots__/demo.test.js.snap @@ -9,7 +9,7 @@ exports[`renders ./components/pagination/demo/basic.md correctly 1`] = ` aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev" tabindex="0" - title="上一页" + title="Previous Page" > - 10 条/页 + 10 / page Previous @@ -336,7 +336,7 @@ exports[`renders ./components/pagination/demo/itemRender.md correctly 1`] = `
  • Next @@ -373,7 +373,7 @@ exports[`renders ./components/pagination/demo/jump.md correctly 1`] = ` aria-disabled="false" class=" ant-pagination-prev" tabindex="0" - title="上一页" + title="Previous Page" > - 跳至 + Goto - 页
  • @@ -479,7 +478,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = ` aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev" tabindex="0" - title="上一页" + title="Previous Page" > - 10 条/页 + 10 / page - 跳至 + Goto - 页 @@ -670,7 +668,7 @@ exports[`renders ./components/pagination/demo/mini.md correctly 1`] = ` aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev" tabindex="0" - title="上一页" + title="Previous Page" >
    code
    "`; +exports[`Popconfirm should show overlay when trigger is clicked 1`] = `"
    code
    "`; -exports[`Popconfirm should show overlay when trigger is clicked 2`] = `"
    code
    "`; +exports[`Popconfirm should show overlay when trigger is clicked 2`] = `"
    code
    "`; diff --git a/components/popconfirm/index.tsx b/components/popconfirm/index.tsx index 0da6cc806d6a..3024bf5d8835 100644 --- a/components/popconfirm/index.tsx +++ b/components/popconfirm/index.tsx @@ -4,6 +4,7 @@ import Icon from '../icon'; import Button from '../button'; import { ButtonType } from '../button/button'; import injectLocale from '../locale-provider/injectLocale'; +import enUS from '../locale-provider/en_US'; export interface PopconfirmProps extends AbstractTooltipProps { title: React.ReactNode; @@ -120,8 +121,5 @@ abstract class Popconfirm extends React.Component { } } -const injectPopconfirmLocale = injectLocale('Popconfirm', { - cancelText: '取消', - okText: '确定', -}); +const injectPopconfirmLocale = injectLocale('Popconfirm', enUS.Popconfirm); export default injectPopconfirmLocale(Popconfirm as any); diff --git a/components/select/index.tsx b/components/select/index.tsx index 0653c6017f1d..547698df9da9 100755 --- a/components/select/index.tsx +++ b/components/select/index.tsx @@ -2,6 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import RcSelect, { Option, OptGroup } from 'rc-select'; import classNames from 'classnames'; +import enUS from '../locale-provider/en_US'; import warning from '../_util/warning'; export interface AbstractSelectProps { @@ -107,9 +108,7 @@ export default class Select extends React.Component { if (antLocale && antLocale.Select) { return antLocale.Select; } - return { - notFoundContent: '无匹配结果', - }; + return enUS.Select; } render() { diff --git a/components/table/Table.tsx b/components/table/Table.tsx index a1a21952f232..d8a8a210bd79 100755 --- a/components/table/Table.tsx +++ b/components/table/Table.tsx @@ -6,6 +6,7 @@ import classNames from 'classnames'; import Pagination, { PaginationProps } from '../pagination'; import Icon from '../icon'; import Spin, { SpinProps } from '../spin'; +import enUS from '../locale-provider/en_US'; import warning from '../_util/warning'; import FilterDropdown from './filterDropdown'; import createStore, { Store } from './createStore'; @@ -25,14 +26,7 @@ function stopPropagation(e) { } } -const defaultLocale = { - filterTitle: '筛选', - filterConfirm: '确定', - filterReset: '重置', - emptyText: 暂无数据, - selectAll: '全选当页', - selectInvert: '反选当页', -}; +const defaultLocale = enUS.Table; const defaultPagination = { onChange: noop, diff --git a/components/table/__tests__/__snapshots__/Table.filter.test.js.snap b/components/table/__tests__/__snapshots__/Table.filter.test.js.snap index 35a4b55c3578..70319fcc3bf3 100644 --- a/components/table/__tests__/__snapshots__/Table.filter.test.js.snap +++ b/components/table/__tests__/__snapshots__/Table.filter.test.js.snap @@ -52,7 +52,7 @@ exports[`Table.filter renders filter correctly 1`] = ` Name @@ -208,12 +208,12 @@ exports[`Table.filter renders menu correctly 1`] = `
    - 确定 + OK - 重置 + Reset @@ -306,12 +306,12 @@ exports[`Table.filter renders radio filter correctly 1`] = ` - 确定 + OK - 重置 + Reset diff --git a/components/table/__tests__/__snapshots__/Table.pagination.test.js.snap b/components/table/__tests__/__snapshots__/Table.pagination.test.js.snap index 679e21e7abbd..7aaafca7a7a2 100644 --- a/components/table/__tests__/__snapshots__/Table.pagination.test.js.snap +++ b/components/table/__tests__/__snapshots__/Table.pagination.test.js.snap @@ -80,7 +80,7 @@ exports[`Table.pagination renders pagination correctly 1`] = ` aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev" tabindex="0" - title="上一页" + title="Previous Page" >
    - 全选当页 + Select current page
  • - 反选当页 + Invert current page
  • diff --git a/components/table/__tests__/__snapshots__/demo.test.js.snap b/components/table/__tests__/__snapshots__/demo.test.js.snap index d2f304ad378a..7fb5cafd69c9 100644 --- a/components/table/__tests__/__snapshots__/demo.test.js.snap +++ b/components/table/__tests__/__snapshots__/demo.test.js.snap @@ -69,7 +69,7 @@ exports[`renders ./components/table/demo/ajax.md correctly 1`] = ` Gender @@ -90,12 +90,7 @@ exports[`renders ./components/table/demo/ajax.md correctly 1`] = `
    - - - 暂无数据 - + No data
    @@ -356,7 +351,7 @@ exports[`renders ./components/table/demo/basic.md correctly 1`] = ` aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev" tabindex="0" - title="上一页" + title="Previous Page" >
    @@ -909,7 +904,7 @@ exports[`renders ./components/table/demo/custom-filter-panel.md correctly 1`] = Address @@ -1023,7 +1018,7 @@ exports[`renders ./components/table/demo/custom-filter-panel.md correctly 1`] = aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev" tabindex="0" - title="上一页" + title="Previous Page" > @@ -7405,7 +7400,7 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = ` Name @@ -7719,7 +7714,7 @@ exports[`renders ./components/table/demo/grouping-columns.md correctly 1`] = ` aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev" tabindex="0" - title="上一页" + title="Previous Page" > @@ -7920,7 +7915,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = ` @@ -8034,7 +8029,7 @@ exports[`renders ./components/table/demo/head.md correctly 1`] = ` aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev" tabindex="0" - title="上一页" + title="Previous Page" > @@ -8808,7 +8803,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = ` @@ -8922,7 +8917,7 @@ exports[`renders ./components/table/demo/reset-filter.md correctly 1`] = ` aria-disabled="true" class="ant-pagination-disabled ant-pagination-prev" tabindex="0" - title="上一页" + title="Previous Page" > - - - 暂无数据 - + No data @@ -362,12 +357,7 @@ exports[`Table renders empty table with fixed columns 1`] = `
    - - - 暂无数据 - + No data
    - 0 + 0 item @@ -136,7 +136,7 @@ exports[`renders ./components/transfer/demo/advanced.md correctly 1`] = ` class="ant-transfer-list-header-selected" > - 0 + 0 item @@ -220,7 +220,7 @@ exports[`renders ./components/transfer/demo/basic.md correctly 1`] = ` class="ant-transfer-list-header-selected" > - 14 + 14 items - 6 + 6 items - 0 + 0 item - 0 + 0 item - 0 + 0 item - 0 + 0 item - 0 + 0 item @@ -767,7 +767,7 @@ exports[`renders ./components/transfer/demo/search.md correctly 1`] = ` class="ant-transfer-list-header-selected" > - 0 + 0 item diff --git a/components/transfer/__tests__/__snapshots__/index.test.js.snap b/components/transfer/__tests__/__snapshots__/index.test.js.snap index 629c4e5f0365..56ebc07768b0 100644 --- a/components/transfer/__tests__/__snapshots__/index.test.js.snap +++ b/components/transfer/__tests__/__snapshots__/index.test.js.snap @@ -30,7 +30,7 @@ exports[`Transfer should render correctly 1`] = ` class="ant-transfer-list-header-selected" > - 1/2 + 1/2 items - 1 + 1 item - 1 + 1 item - 2 + 2 items { expect(wrapper.find(TransferList).at(0).find('.ant-transfer-list-header-selected > span').at(0) .first() .text() - .trim()).toEqual('1'); + .trim()).toEqual('1 items'); }); it('should just check the filtered item when click on check all after search by input', () => { diff --git a/components/transfer/index.tsx b/components/transfer/index.tsx index beb1006db59c..3dbf84741963 100644 --- a/components/transfer/index.tsx +++ b/components/transfer/index.tsx @@ -5,6 +5,7 @@ import List, { TransferListProps } from './list'; import Operation from './operation'; import Search from './search'; import injectLocale from '../locale-provider/injectLocale'; +import enUS from '../locale-provider/en_US'; export { TransferListProps } from './list'; export { TransferOperationProps } from './operation'; @@ -390,9 +391,5 @@ abstract class Transfer extends React.Component { } } -const injectTransferLocale = injectLocale('Transfer', { - titles: ['', ''], - searchPlaceholder: 'Search', - notFoundContent: 'Not Found', -}); +const injectTransferLocale = injectLocale('Transfer', enUS.Transfer); export default injectTransferLocale(Transfer as any); diff --git a/components/upload/Upload.tsx b/components/upload/Upload.tsx index a3f3bcdfdd2c..17d8bd16a10d 100644 --- a/components/upload/Upload.tsx +++ b/components/upload/Upload.tsx @@ -2,6 +2,7 @@ import React from 'react'; import RcUpload from 'rc-upload'; import PropTypes from 'prop-types'; import classNames from 'classnames'; +import enUS from '../locale-provider/en_US'; import Dragger from './Dragger'; import UploadList from './UploadList'; import { UploadProps, UploadLocale } from './interface'; @@ -13,12 +14,7 @@ export interface UploadContext { }; } -const defaultLocale: UploadLocale = { - uploading: '文件上传中', - removeFile: '删除文件', - uploadError: '上传错误', - previewFile: '预览文件', -}; +const defaultLocale: UploadLocale = enUS.Upload; export { UploadProps }; diff --git a/components/upload/__tests__/__snapshots__/demo.test.js.snap b/components/upload/__tests__/__snapshots__/demo.test.js.snap index 795de4644864..93622849898e 100644 --- a/components/upload/__tests__/__snapshots__/demo.test.js.snap +++ b/components/upload/__tests__/__snapshots__/demo.test.js.snap @@ -59,7 +59,7 @@ exports[`renders ./components/upload/demo/defaultFileList.md correctly 1`] = `
    @@ -166,7 +166,7 @@ exports[`renders ./components/upload/demo/fileList.md correctly 1`] = ` @@ -219,7 +219,7 @@ exports[`renders ./components/upload/demo/picture-card.md correctly 1`] = ` href="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png" rel="noopener noreferrer" target="_blank" - title="预览文件" + title="Preview file" > @@ -283,7 +283,7 @@ exports[`renders ./components/upload/demo/picture-style.md correctly 1`] = `
    @@ -365,7 +365,7 @@ exports[`renders ./components/upload/demo/picture-style.md correctly 1`] = `
    diff --git a/docs/react/getting-started.en-US.md b/docs/react/getting-started.en-US.md index 76b652066b97..b7b568fd621a 100644 --- a/docs/react/getting-started.en-US.md +++ b/docs/react/getting-started.en-US.md @@ -64,7 +64,12 @@ As you can see, there is no difference between antd's components and usual React ```jsx import React from 'react'; import ReactDOM from 'react-dom'; -import { DatePicker, message } from 'antd'; +import { LocaleProvider, DatePicker, message } from 'antd'; +// The default locale is en-US, but we can change it to other language +import frFR from 'antd/lib/locale-provider/fr_FR'; +import moment from 'moment'; +import 'moment/locale/fr'; +moment.locale('fr'); class App extends React.Component { constructor(props) { @@ -79,10 +84,12 @@ class App extends React.Component { } render() { return ( -
    - this.handleChange(value)} /> -
    Date: {this.state.date.toString()}
    -
    + +
    + this.handleChange(value)} /> +
    Date: {this.state.date.toString()}
    +
    +
    ); } } diff --git a/docs/react/getting-started.zh-CN.md b/docs/react/getting-started.zh-CN.md index b024ca5ff91b..991a4b043de0 100644 --- a/docs/react/getting-started.zh-CN.md +++ b/docs/react/getting-started.zh-CN.md @@ -63,7 +63,12 @@ antd-init 会自动安装 npm 依赖,若有问题则可自行安装。 ```jsx import React from 'react'; import ReactDOM from 'react-dom'; -import { DatePicker, message } from 'antd'; +import { LocaleProvider, DatePicker, message } from 'antd'; +// 由于 antd 组件的默认文案是英文,所以需要修改为中文 +import zhCN from 'antd/lib/locale-provider/zh_CN'; +import moment from 'moment'; +import 'moment/locale/zh-cn';' +moment.locale('zh-cn'); class App extends React.Component { constructor(props) { @@ -78,10 +83,12 @@ class App extends React.Component { } render() { return ( -
    - this.handleChange(value)} /> -
    当前日期:{this.state.date.toString()}
    -
    + +
    + this.handleChange(value)} /> +
    当前日期:{this.state.date.toString()}
    +
    +
    ); } } diff --git a/package.json b/package.json index 2d94eeccc1d8..a4f453ed5ca0 100644 --- a/package.json +++ b/package.json @@ -84,7 +84,7 @@ "devDependencies": { "@types/react": "^15.0.38", "@types/react-dom": "~0.14.18", - "antd-tools": "~2.1.0", + "antd-tools": "~3.0.0", "babel-cli": "^6.18.0", "babel-eslint": "^7.1.0", "babel-plugin-import": "^1.0.0", diff --git a/site/theme/template/Layout/index.jsx b/site/theme/template/Layout/index.jsx index 3f8edbcfa934..12647a050e85 100644 --- a/site/theme/template/Layout/index.jsx +++ b/site/theme/template/Layout/index.jsx @@ -2,8 +2,6 @@ import React, { cloneElement } from 'react'; import ReactDOM from 'react-dom'; import PropTypes from 'prop-types'; import { addLocaleData, IntlProvider } from 'react-intl'; -import { LocaleProvider } from 'antd'; -import enUS from 'antd/lib/locale-provider/en_US'; import Header from './Header'; import Footer from './Footer'; import enLocale from '../../en-US'; @@ -67,13 +65,11 @@ export default class Layout extends React.Component { const { appLocale, isFirstScreen } = this.state; return ( - -
    -
    - {cloneElement(children, { onEnterChange: this.onEnterChange })} -
    -
    -
    +
    +
    + {cloneElement(children, { onEnterChange: this.onEnterChange })} +
    ); }