Skip to content

Commit 06cc7f9

Browse files
authored
Capitalize NEW and ENDED tag (#2913)
1 parent 19d3ac2 commit 06cc7f9

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

apps/kyberswap-interface/src/components/Header/groups/CampaignNavGroup.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,24 +54,24 @@ const CampaignNavGroup = () => {
5454
anchor={
5555
<DropdownTextAnchor style={{ display: 'flex', position: 'relative', width: 'max-content' }}>
5656
<Trans>Campaigns</Trans>
57-
{showCampaignNew && <ELabel isNew>{t`NEW`}</ELabel>}
57+
{showCampaignNew && <ELabel isNew>{t`New`}</ELabel>}
5858
</DropdownTextAnchor>
5959
}
6060
dropdownContent={
6161
<Column>
6262
<StyledNavLink to={APP_PATHS.RAFFLE_CAMPAIGN}>
6363
<Trans>Weekly Rewards</Trans>
64-
<ELabel isNew>{t`NEW`}</ELabel>
64+
<ELabel isNew>{t`New`}</ELabel>
6565
</StyledNavLink>
6666

6767
<StyledNavLink to={APP_PATHS.NEAR_INTENTS_CAMPAIGN}>
6868
<Trans>Cross Chain Campaign</Trans>
69-
<ELabel>{t`ENDED`}</ELabel>
69+
<ELabel>{t`Ended`}</ELabel>
7070
</StyledNavLink>
7171

7272
<StyledNavLink to={APP_PATHS.MAY_TRADING_CAMPAIGN}>
7373
<Trans>May Trading</Trans>
74-
<ELabel>{t`ENDED`}</ELabel>
74+
<ELabel>{t`Ended`}</ELabel>
7575
</StyledNavLink>
7676

7777
<StyledNavLink
@@ -83,7 +83,7 @@ const CampaignNavGroup = () => {
8383
}}
8484
>
8585
Arbitrum STIP
86-
<ELabel>{t`ENDED`}</ELabel>
86+
<ELabel>{t`Ended`}</ELabel>
8787
<DropdownIcon open={showStip} />
8888
</StyledNavLink>
8989

apps/kyberswap-interface/src/locales/en-US.po

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ msgstr "Updated"
5858
#: src/pages/Campaign/MyDashboard.tsx
5959
#: src/pages/Campaign/MyDashboard.tsx
6060
#: src/pages/Campaign/MyDashboard.tsx
61-
msgid "ENDED"
62-
msgstr "ENDED"
61+
msgid "Ended"
62+
msgstr "Ended"
6363

6464
#: src/components/swapv2/LimitOrder/const.ts
6565
msgid "Open Orders"
@@ -6520,8 +6520,8 @@ msgid "Create Pool"
65206520
msgstr "Create Pool"
65216521

65226522
#: src/pages/Campaign/MyDashboard.tsx
6523-
msgid "NEW"
6524-
msgstr "NEW"
6523+
msgid "New"
6524+
msgstr "New"
65256525

65266526
#: src/components/SwapForm/SwapModal/SwapDetails/index.tsx
65276527
#: src/components/SwapForm/TradeSummary.tsx

apps/kyberswap-interface/src/locales/zh-CN.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ msgstr "已更新"
5858
#: src/pages/Campaign/MyDashboard.tsx
5959
#: src/pages/Campaign/MyDashboard.tsx
6060
#: src/pages/Campaign/MyDashboard.tsx
61-
msgid "ENDED"
61+
msgid "Ended"
6262
msgstr "已结束"
6363

6464
#: src/components/swapv2/LimitOrder/const.ts
@@ -6520,7 +6520,7 @@ msgid "Create Pool"
65206520
msgstr "创建池子"
65216521

65226522
#: src/pages/Campaign/MyDashboard.tsx
6523-
msgid "NEW"
6523+
msgid "New"
65246524
msgstr "新"
65256525

65266526
#: src/components/SwapForm/SwapModal/SwapDetails/index.tsx

apps/kyberswap-interface/src/pages/Campaign/MyDashboard.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ const MyDashboard = () => {
390390
<Flex>
391391
{campaignLabelMap[NEW_CAMPAIGN]}{' '}
392392
<NewLabel>
393-
<Trans>NEW</Trans>
393+
<Trans>New</Trans>
394394
</NewLabel>
395395
</Flex>
396396
</Tab>
@@ -404,7 +404,7 @@ const MyDashboard = () => {
404404
<Flex>
405405
{campaign.label}
406406
<ELabel>
407-
<Trans>ENDED</Trans>
407+
<Trans>Ended</Trans>
408408
</ELabel>
409409
</Flex>
410410
</Tab>
@@ -438,7 +438,7 @@ const MyDashboard = () => {
438438
<Flex>
439439
{campaign.label}
440440
<ELabel>
441-
<Trans>ENDED</Trans>
441+
<Trans>Ended</Trans>
442442
</ELabel>
443443
</Flex>
444444
</Tab>

0 commit comments

Comments
 (0)