Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈智峰
jinfa-platform
Commits
bc66f2e4
Commit
bc66f2e4
authored
Dec 20, 2021
by
XieZhiXiong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 完善国际化相关
parent
5199f69d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
14 deletions
+7
-14
index.tsx
src/components/RangeTime/index.tsx
+1
-1
merchantCoupon.ts
src/locales/en-US/marketingAbility/merchantCoupon.ts
+1
-1
merchantCoupon.ts
src/locales/ko-KR/marketingAbility/merchantCoupon.ts
+1
-1
merchantCoupon.ts
src/locales/zh-CN/marketingAbility/merchantCoupon.ts
+1
-1
index.tsx
...etingAbility/merchantCoupon/merchantCouponQuery/index.tsx
+1
-1
schema.tsx
...erchantCouponUnsubmitted/components/CouponForm/schema.tsx
+2
-9
No files found.
src/components/RangeTime/index.tsx
View file @
bc66f2e4
...
...
@@ -4,8 +4,8 @@ import cx from 'classnames';
import
moment
,
{
Moment
}
from
'moment'
;
import
styles
from
'./index.less'
;
import
{
getIntl
}
from
'umi'
;
const
intl
=
getIntl
();
const
intl
=
getIntl
();
function
range
(
start
,
end
)
{
const
result
=
[];
...
...
src/locales/en-US/marketingAbility/merchantCoupon.ts
View file @
bc66f2e4
...
...
@@ -120,7 +120,7 @@ export default {
"merchantCoupon.time"
:
"Time"
,
"merchantCoupon.reason"
:
"Reason"
,
"merchantCoupon.DealsCoupontype"
:
"Coupon Type"
,
"merchantCoupon.
劵Validperioddeadline
"
:
"Coupon Valid Period Deadline"
,
"merchantCoupon.
effectiveTimeEnd
"
:
"Coupon Valid Period Deadline"
,
"merchantCoupon.Quantity"
:
"Coupon Issuance Quantity"
,
"merchantCoupon.Restart"
:
"Restart"
,
"merchantCoupon.Pleasechoosethemallfirst"
:
"Pleasechoosethemallfirst"
,
...
...
src/locales/ko-KR/marketingAbility/merchantCoupon.ts
View file @
bc66f2e4
...
...
@@ -120,7 +120,7 @@ export default {
"merchantCoupon.time"
:
'타임'
,
"merchantCoupon.reason"
:
'까닭'
,
"merchantCoupon.DealsCoupontype"
:
'쿠폰 유형'
,
"merchantCoupon.
劵Validperioddeadline
"
:
'쿠폰 유효기간 마감 시간'
,
"merchantCoupon.
effectiveTimeEnd
"
:
'쿠폰 유효기간 마감 시간'
,
"merchantCoupon.Quantity"
:
'발행 수량'
,
"merchantCoupon.Restart"
:
'재부팅'
,
"merchantCoupon.Pleasechoosethemallfirst"
:
'우선 상점을 선택하세요'
,
...
...
src/locales/zh-CN/marketingAbility/merchantCoupon.ts
View file @
bc66f2e4
...
...
@@ -120,7 +120,7 @@ export default {
"merchantCoupon.time"
:
"时间"
,
"merchantCoupon.reason"
:
"原因"
,
"merchantCoupon.DealsCoupontype"
:
"优惠劵类型"
,
"merchantCoupon.
劵Validperioddeadline
"
:
"劵有效期截止时间"
,
"merchantCoupon.
effectiveTimeEnd
"
:
"劵有效期截止时间"
,
"merchantCoupon.Quantity"
:
"发劵数量"
,
"merchantCoupon.Restart"
:
"重启"
,
"merchantCoupon.Pleasechoosethemallfirst"
:
"请先选择商城"
,
...
...
src/pages/transaction/marketingAbility/merchantCoupon/merchantCouponQuery/index.tsx
View file @
bc66f2e4
...
...
@@ -126,7 +126,7 @@ const MerchantCouponQuery: React.FC = () => {
render
:
(
text
)
=>
text
?
moment
(
text
).
format
(
'YYYY-MM-DD HH:mm:ss'
)
:
'-'
,
},
{
title
:
`
${
intl
.
formatMessage
({
id
:
'merchantCoupon.
劵Validperioddeadline
'
})}
`
,
title
:
`
${
intl
.
formatMessage
({
id
:
'merchantCoupon.
effectiveTimeEnd
'
})}
`
,
dataIndex
:
'effectiveTimeEnd'
,
align
:
'center'
,
sorter
:
(
a
,
b
)
=>
a
.
effectiveTimeEnd
-
b
.
effectiveTimeEnd
,
...
...
src/pages/transaction/marketingAbility/merchantCoupon/merchantCouponUnsubmitted/components/CouponForm/schema.tsx
View file @
bc66f2e4
...
...
@@ -11,15 +11,8 @@ import moment from 'moment';
import
themeConfig
from
'@/../config/lingxi.theme.config'
;
import
{
PATTERN_MAPS
}
from
'@/constants/regExp'
;
import
{
getIntl
}
from
'umi'
const
intl
=
getIntl
();
function
range
(
start
,
end
)
{
const
result
=
[];
for
(
let
i
=
start
;
i
<
end
;
i
++
)
{
result
.
push
(
i
);
}
return
result
;
}
const
intl
=
getIntl
();
const
schema
:
ISchema
=
{
type
:
'object'
,
...
...
@@ -291,7 +284,7 @@ const schema: ISchema = {
type
:
'string'
,
'x-component'
:
'FormilyRangeTime'
,
'x-component-props'
:
{
placeholder
:
[
`
${
intl
.
formatMessage
({
id
:
'merchantCoupon.effectiveTimeEnd'
})}
`
,
`
${
intl
.
formatMessage
({
id
:
'merchantCoupon.
劵Validperioddeadline
'
})}
`
],
placeholder
:
[
`
${
intl
.
formatMessage
({
id
:
'merchantCoupon.effectiveTimeEnd'
})}
`
,
`
${
intl
.
formatMessage
({
id
:
'merchantCoupon.
effectiveTimeEnd
'
})}
`
],
showTime
:
true
,
},
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment