From 982872b0c9ab6d2b964478578bcdd7cb91e98145 Mon Sep 17 00:00:00 2001 From: niko <644506165@qq.com> Date: Mon, 6 Nov 2017 04:40:12 -0600 Subject: [PATCH] translation CountDown (#121) --- src/components/CountDown/index.en-US.md | 14 ++++++++++++++ .../CountDown/{index.md => index.zh-CN.md} | 6 ++---- 2 files changed, 16 insertions(+), 4 deletions(-) create mode 100644 src/components/CountDown/index.en-US.md rename src/components/CountDown/{index.md => index.zh-CN.md} (72%) diff --git a/src/components/CountDown/index.en-US.md b/src/components/CountDown/index.en-US.md new file mode 100644 index 00000000..cd1e426b --- /dev/null +++ b/src/components/CountDown/index.en-US.md @@ -0,0 +1,14 @@ +--- +title: CountDown +cols: 1 +order: 3 +--- + +倒计时组件。 + +## API + +| Property | Description | Type | Default | +|----------|------------------------------------------|-------------|-------| +| format | Formatter of time | Function(time) | | +| target | Target time | Date | - | diff --git a/src/components/CountDown/index.md b/src/components/CountDown/index.zh-CN.md similarity index 72% rename from src/components/CountDown/index.md rename to src/components/CountDown/index.zh-CN.md index d2af419d..f9814bc6 100644 --- a/src/components/CountDown/index.md +++ b/src/components/CountDown/index.zh-CN.md @@ -1,7 +1,5 @@ --- -title: - en-US: CountDown - zh-CN: 倒计时 +title: CountDown subtitle: 倒计时 cols: 1 order: 3 @@ -13,5 +11,5 @@ order: 3 | 参数 | 说明 | 类型 | 默认值 | |----------|------------------------------------------|-------------|-------| -| format | 时间格式化显示显示 | Function(time) | | +| format | 时间格式化显示 | Function(time) | | | target | 目标时间 | Date | - | -- GitLab