Skip to content

Commit 891102b

Browse files
enhance: improve translation script with version number preservation, code block handling, and UI element translation
1 parent 293d5a7 commit 891102b

3 files changed

Lines changed: 220 additions & 68 deletions

File tree

cn/changelog/2025.mdx

Lines changed: 27 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Changelog"
3-
description: "This changelog documents all updates, fixes, and new features for Codatta in 2025."
2+
title: "变更日志"
3+
description: "本文档记录了 Codatta 2025 年的所有更新、修复和新功能。"
44
---
55

66
import { useState, useEffect } from 'react';
@@ -67,7 +67,7 @@ import { useState, useEffect } from 'react';
6767
flexShrink: 0
6868
}}></span>
6969
<strong style={{color:'#111827', fontWeight:'600', marginRight: '0.25rem'}}>{num}</strong>
70-
<span>result{num !== 1 ? 's' : ''}</span>
70+
<span>条结果</span>
7171
</div>
7272
);
7373
};
@@ -76,7 +76,7 @@ import { useState, useEffect } from 'react';
7676
</div>
7777
<div className="changelog-item" data-type="core-feature" data-month="dec">
7878

79-
## 2025 年 12 月 04 日
79+
## 4.2.7 2025 年 12 月 04 日
8080
---
8181
**激励机制演变:长期生态系统管理的奖励锁仓**
8282

@@ -96,7 +96,7 @@ import { useState, useEffect } from 'react';
9696

9797
<div className="changelog-item" data-type="campaign" data-month="nov">
9898

99-
## 2025 年 11 月 24 日
99+
## 4.2.5 2025 年 11 月 24 日
100100
---
101101
**活动启动:Airdrop 第二季**
102102

@@ -118,7 +118,7 @@ import { useState, useEffect } from 'react';
118118

119119
<div className="changelog-item" data-type="core-feature" data-month="nov">
120120

121-
## 2025 年 11 月 05 日
121+
## 4.2.0 2025 年 11 月 05 日
122122
---
123123
**账户系统升级:DID 正式上线**
124124

@@ -138,7 +138,7 @@ import { useState, useEffect } from 'react';
138138

139139
<div className="changelog-item" data-type="fixes" data-month="nov">
140140

141-
## 2025 年 11 月 03 日
141+
## 4.1.5 2025 年 11 月 03 日
142142
---
143143
**任务系统调整:Crypto Frontier QUEST 模块停用**
144144

@@ -155,7 +155,7 @@ import { useState, useEffect } from 'react';
155155

156156
<div className="changelog-item" data-type="fixes" data-month="oct">
157157

158-
## 2025 年 10 月 24 日
158+
## 4.1.4 2025 年 10 月 24 日
159159
---
160160
**Frontier 系统调整:Robotics Frontier 停用**
161161

@@ -172,7 +172,7 @@ Robotics Frontier 已正式停用。此操作仅影响前端入口点。所有
172172

173173
<div className="changelog-item" data-type="optimization" data-month="oct">
174174

175-
## 2025 年 10 月 23 日
175+
## 4.1.3 2025 年 10 月 23 日
176176
---
177177
**反垃圾邮件增强:实施每日提交限制**
178178

@@ -189,7 +189,7 @@ Robotics Frontier 已正式停用。此操作仅影响前端入口点。所有
189189

190190
<div className="changelog-item" data-type="fixes" data-month="oct">
191191

192-
## 2025 年 10 月 20 日
192+
## 4.1.2 2025 年 10 月 20 日
193193
---
194194
**Frontier 系统调整:Crypto Frontier 停用**
195195

@@ -206,7 +206,7 @@ Crypto Frontier 已正式停用。此操作仅影响前端入口点。所有历
206206

207207
<div className="changelog-item" data-type="optimization" data-month="oct">
208208

209-
## 2025 年 10 月 15 日
209+
## 4.1.1 2025 年 10 月 15 日
210210
---
211211
**系统治理:平台黑名单控制实施**
212212

@@ -223,7 +223,7 @@ Crypto Frontier 已正式停用。此操作仅影响前端入口点。所有历
223223

224224
<div className="changelog-item" data-type="campaign" data-month="oct">
225225

226-
## 2025 年 10 月 13 日
226+
## 4.1.0 2025 年 10 月 13 日
227227
---
228228
**活动启动:Airdrop 第一季**
229229

@@ -247,16 +247,15 @@ Crypto Frontier 已正式停用。此操作仅影响前端入口点。所有历
247247

248248
<div className="changelog-item" data-type="core-feature" data-month="oct">
249249

250-
## 2025 年 10 月 10 日
250+
## 4.0.0 2025 年 10 月 10 日
251251
---
252252
**功能发布:Frontier 特定奖励活动**
253253

254254
<br />
255255

256256
<div style={{ marginTop: "1rem" }}></div>
257257

258-
```html
259-
Configurable reward activities are now available for Frontiers, offering additional high-value incentives.
258+
现在为 Frontiers 提供可配置的奖励活动,提供额外的高价值激励。
260259

261260
- **运作方式:** 选定的 Frontier 任务提供额外的 $XNY 或 USDT 奖励,与基础积分无关。活动参数(奖励金额、持续时间、目标)根据每个 Frontier 设置,并在其各自的主页上显示。
262261
- **原因:** 通过有针对性的激励措施,推动对高价值数据任务的更深入参与,提高数据质量和生态系统的参与度。
@@ -471,7 +470,6 @@ Configurable reward activities are now available for Frontiers, offering additio
471470
<div style={{ marginTop: "1rem" }}></div>
472471

473472
任务系统已全面恢复并重新开放。
474-
```
475473

476474
- **运作方式:** 于 2025 年 06 月 30 日暂时下线,现在已全面恢复。
477475
- **原因:** 通过架构升级提升系统稳定性和用户体验。
@@ -538,11 +536,11 @@ export const ChangelogFilter = () => {
538536
}, [activeFilter]);
539537

540538
const filterTypes = [
541-
{ id: 'all', label: 'All', color: '#6b7280', count: 24 },
542-
{ id: 'core-feature', label: 'Core Feature Release', color: '#16A34A', count: 4 },
543-
{ id: 'optimization', label: 'Adjustments & Optimization', color: '#F59E0B', count: 3 },
544-
{ id: 'fixes', label: 'Fixes & Feature Sunset', color: '#EF4444', count: 3 },
545-
{ id: 'campaign', label: 'Campaign Launch', color: '#A855F7', count: 14 }
539+
{ id: 'all', label: '全部', color: '#6b7280', count: 24 },
540+
{ id: 'core-feature', label: '核心功能发布', color: '#16A34A', count: 4 },
541+
{ id: 'optimization', label: '调整与优化', color: '#F59E0B', count: 3 },
542+
{ id: 'fixes', label: '修复与功能下线', color: '#EF4444', count: 3 },
543+
{ id: 'campaign', label: '活动启动', color: '#A855F7', count: 14 }
546544
];
547545

548546
const activeType = filterTypes.find(type => type.id === activeFilter) || filterTypes[0];
@@ -714,14 +712,14 @@ export const MonthFilter = () => {
714712
}, [activeMonth]);
715713

716714
const months = [
717-
{ id: 'all', label: 'All Months', count: 24 },
718-
{ id: 'dec', label: 'December', count: 1 },
719-
{ id: 'nov', label: 'November', count: 3 },
720-
{ id: 'oct', label: 'October', count: 6 },
721-
{ id: 'sep', label: 'September', count: 3 },
722-
{ id: 'aug', label: 'August', count: 5 },
723-
{ id: 'jul', label: 'July', count: 5 },
724-
{ id: 'jun', label: 'June', count: 1 }
715+
{ id: 'all', label: '全部月份', count: 24 },
716+
{ id: 'dec', label: '十二月', count: 1 },
717+
{ id: 'nov', label: '十一月', count: 3 },
718+
{ id: 'oct', label: '十月', count: 6 },
719+
{ id: 'sep', label: '九月', count: 3 },
720+
{ id: 'aug', label: '八月', count: 5 },
721+
{ id: 'jul', label: '七月', count: 5 },
722+
{ id: 'jun', label: '六月', count: 1 }
725723
];
726724

727725
const activeMonthData = months.find(month => month.id === activeMonth) || months[0];

ko/changelog/2025.mdx

Lines changed: 20 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: "Changelog"
3-
description: "This changelog documents all updates, fixes, and new features for Codatta in 2025."
2+
title: "변경 로그"
3+
description: "이 변경 로그는 2025년 Codatta의 모든 업데이트, 수정 및 새로운 기능을 문서화합니다."
44
---
55

66
import { useState, useEffect } from 'react';
@@ -67,7 +67,7 @@ import { useState, useEffect } from 'react';
6767
flexShrink: 0
6868
}}></span>
6969
<strong style={{color:'#111827', fontWeight:'600', marginRight: '0.25rem'}}>{num}</strong>
70-
<span>result{num !== 1 ? 's' : ''}</span>
70+
<span>개 결과</span>
7171
</div>
7272
);
7373
};
@@ -255,11 +255,10 @@ Crypto Frontier가 공식적으로 서비스 종료되었습니다. 이 조치
255255

256256
<div style={{ marginTop: "1rem" }}></div>
257257

258-
```html
259-
Configurable reward activities are now available for Frontiers, offering additional high-value incentives.
258+
Frontier를 위한 구성 가능한 보상 활동이 이제 제공되어 추가적인 고부가가치 인센티브를 제공합니다.
260259

261-
- **방법:** 선택된 Frontier 작업은 기본 포인트와는 독립적으로 $XNY 또는 USDT로 추가 보상을 제공합니다. 활동 매개변수(보상 금액, 기간, 목표)는 각 Frontier별로 설정되며 해당 홈페이지에 표시됩니다.
262-
- **이유:** 목표 지향적인 인센티브를 통해 고부가가치 데이터 작업에 대한 참여를 더욱 깊게 유도하고, 데이터 품질과 생태계 참여를 개선하기 위함입니다.
260+
- **방법:** 선택된 Frontier 작업은 기본 포인트와는 독립적으로 $XNY 또는 USDT로 추가 보상을 제공합니다. 활동 매개변수(보상 금액, 기간, 목표)는 각 Frontier에 따라 설정되며 해당 홈페이지에 표시됩니다.
261+
- **이유:** 목표 지향적인 인센티브를 통해 고부가가치 데이터 작업에 대한 참여를 촉진하고, 데이터 품질과 생태계 참여를 개선하기 위함입니다.
263262

264263
</div>
265264

@@ -471,9 +470,8 @@ AI 음식 모델 비교, 로봇 상호작용 주석 및 CEX 핫 월렛 데이터
471470
<div style={{ marginTop: "1rem" }}></div>
472471

473472
퀘스트 시스템이 완전히 복원되어 재개되었습니다.
474-
```
475473

476-
- **방법:** 2025년 06월 30일에 일시적으로 오프라인 상태였으며, 현재는 완전히 복구되었습니다.
474+
- **방법:** 2025년 06월 30일에 일시적으로 오프라인 상태였으며, 현재 포괄적으로 복원되었습니다.
477475
- **이유:** 시스템 안정성과 사용자 경험을 향상시키기 위한 아키텍처 업그레이드입니다.
478476

479477
</div>
@@ -538,11 +536,11 @@ export const ChangelogFilter = () => {
538536
}, [activeFilter]);
539537

540538
const filterTypes = [
541-
{ id: 'all', label: 'All', color: '#6b7280', count: 24 },
542-
{ id: 'core-feature', label: 'Core Feature Release', color: '#16A34A', count: 4 },
543-
{ id: 'optimization', label: 'Adjustments & Optimization', color: '#F59E0B', count: 3 },
544-
{ id: 'fixes', label: 'Fixes & Feature Sunset', color: '#EF4444', count: 3 },
545-
{ id: 'campaign', label: 'Campaign Launch', color: '#A855F7', count: 14 }
539+
{ id: 'all', label: '전체', color: '#6b7280', count: 24 },
540+
{ id: 'core-feature', label: '핵심 기능 출시', color: '#16A34A', count: 4 },
541+
{ id: 'optimization', label: '조정 및 최적화', color: '#F59E0B', count: 3 },
542+
{ id: 'fixes', label: '수정 및 기능 종료', color: '#EF4444', count: 3 },
543+
{ id: 'campaign', label: '캠페인 시작', color: '#A855F7', count: 14 }
546544
];
547545

548546
const activeType = filterTypes.find(type => type.id === activeFilter) || filterTypes[0];
@@ -714,14 +712,14 @@ export const MonthFilter = () => {
714712
}, [activeMonth]);
715713

716714
const months = [
717-
{ id: 'all', label: 'All Months', count: 24 },
718-
{ id: 'dec', label: 'December', count: 1 },
719-
{ id: 'nov', label: 'November', count: 3 },
720-
{ id: 'oct', label: 'October', count: 6 },
721-
{ id: 'sep', label: 'September', count: 3 },
722-
{ id: 'aug', label: 'August', count: 5 },
723-
{ id: 'jul', label: 'July', count: 5 },
724-
{ id: 'jun', label: 'June', count: 1 }
715+
{ id: 'all', label: '전체', count: 24 },
716+
{ id: 'dec', label: '12월', count: 1 },
717+
{ id: 'nov', label: '11월', count: 3 },
718+
{ id: 'oct', label: '10월', count: 6 },
719+
{ id: 'sep', label: '9월', count: 3 },
720+
{ id: 'aug', label: '8월', count: 5 },
721+
{ id: 'jul', label: '7월', count: 5 },
722+
{ id: 'jun', label: '6월', count: 1 }
725723
];
726724

727725
const activeMonthData = months.find(month => month.id === activeMonth) || months[0];

0 commit comments

Comments
 (0)