From 69faeb9145623aeace5203e50fce29e3e75851d4 Mon Sep 17 00:00:00 2001 From: afc163 Date: Fri, 25 Dec 2015 01:44:06 +0800 Subject: [PATCH] Fix button text whitespace --- components/date-picker/demo/locale.md | 2 +- components/date-picker/locale/zh_CN.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/date-picker/demo/locale.md b/components/date-picker/demo/locale.md index a8a804537a..ccc2cff0f9 100644 --- a/components/date-picker/demo/locale.md +++ b/components/date-picker/demo/locale.md @@ -17,7 +17,7 @@ const App = React.createClass({ locale: assign({}, enUS, { timezoneOffset: 0 * 60, firstDayOfWeek: 0, - minimalDaysInFirstWeek: 1 + minimalDaysInFirstWeek: 1, }) }; }, diff --git a/components/date-picker/locale/zh_CN.js b/components/date-picker/locale/zh_CN.js index fafa111da9..b6a9177c70 100644 --- a/components/date-picker/locale/zh_CN.js +++ b/components/date-picker/locale/zh_CN.js @@ -9,6 +9,9 @@ locale.lang = objectAssign({ timePlaceholder: '请选择时间', }, CalendarLocale); +// should add whitespace between char in Button +locale.lang.ok = '确 定'; + // All settings at: // https://github.com/ant-design/ant-design/issues/424