Skip to content

Commit 860814a

Browse files
committed
fix: 修改平台文案,将'目标网站'改为'平台'
1 parent 7132504 commit 860814a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/components/ChallengeListPage/ChallengeFilters.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const ChallengeFilters: React.FC<ChallengeFiltersProps> = ({
124124
margin: isMobile ? '0 4px 4px 0' : '0 8px 8px 0'
125125
}}
126126
>
127-
{isMobile ? selectedPlatform : `${t('challenge.detail.targetWebsite')}: ${selectedPlatform}`}
127+
{isMobile ? selectedPlatform : `${t('challenge.detail.platform')}: ${selectedPlatform}`}
128128
</Tag>
129129
)}
130130

src/locales/en.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export default {
146146
discussions: 'Discussions',
147147
relatedChallenges: 'Related Challenges',
148148
technicalTags: 'Technical Tags',
149-
targetWebsite: 'Target Website',
149+
targetWebsite: 'Platform',
150150
platform: 'Platform',
151151
difficulty: 'Difficulty',
152152
created: 'Created',

src/locales/zh.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const zhTranslations = {
146146
discussions: '讨论',
147147
relatedChallenges: '相关挑战',
148148
technicalTags: '技术标签',
149-
targetWebsite: '目标网站',
149+
targetWebsite: '平台',
150150
platform: '平台',
151151
difficulty: '难度级别',
152152
created: '创建时间',

0 commit comments

Comments
 (0)