Skip to content

Commit 4575092

Browse files
committed
Add JSON compress, i18n and copy buttons
Bump version to 2.1.0 and introduce JSON Compress (single-line compression), enhanced copy buttons (separate Copy Input/Copy Formatted with arrow icons), and full i18n coverage. Updates include CHANGELOG entry for 2.1.0, README and README_ZH release notes, toolbar/layout adjustments, and replacement of hardcoded strings with resource references (Strings.zh-CN.resx, Strings.en-US.resx, Strings.cs).
1 parent a4488e3 commit 4575092

3 files changed

Lines changed: 57 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,46 @@ All notable changes to this project will be documented in this file.
44

55
---
66

7+
## [2.1.0] - 2026-04-17
8+
9+
### Added
10+
- **JSON Compress Feature** - Compress JSON to single-line format
11+
- Remove all whitespace and line breaks
12+
- Preserve JSON structure and data
13+
- Success/error message feedback
14+
- Integrated with existing JSON formatter page
15+
- **Copy Input Content Button** - Copy original JSON input
16+
- Up arrow + copy icon combination
17+
- Copy content from input textbox
18+
- Separate from formatted JSON copy button
19+
- **Enhanced Copy Buttons** - Distinguish copy sources with icons
20+
- Copy Input: Up arrow + Copy icon (⬆️📋)
21+
- Copy Formatted: Copy icon + Down arrow (📋⬇️)
22+
- Clear visual distinction between two copy actions
23+
- **Full Internationalization (i18n)** - Complete i18n support for all user-facing text
24+
- All MessageBox prompts now use resource strings
25+
- All button tooltips internationalized
26+
- All loading indicators internationalized
27+
- Support for Chinese (zh-CN) and English (en-US)
28+
- New resource strings: JSONCompress, JSONCompressed, DragToSort, ProcessJSONError, CompressJSONError, Processing, CopyInputContent, InputContentCopied, CopyFailed, PleaseEnterContent
29+
30+
### Changed
31+
- **Button Layout** - Reorganized JSON formatter toolbar
32+
- Moved copy buttons together for better UX
33+
- Button order: Format | Compress | ExpandAll | CollapseAll | CopyInput | CopyFormatted
34+
- More intuitive button grouping
35+
- **Icon Design** - Enhanced copy button icons
36+
- Copy Input: Up arrow indicates source is above
37+
- Copy Formatted: Down arrow indicates source is below
38+
- Visual cues match button functionality
39+
40+
### Technical Details
41+
- All hardcoded Chinese strings replaced with resource references
42+
- Complete i18n coverage for all user interface elements
43+
- Resource files updated: Strings.zh-CN.resx, Strings.en-US.resx, Strings.cs
44+
45+
---
46+
747
## [2.0.0] - 2026-04-12
848

949
### Added

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,13 @@ MIT License
170170

171171
## Version
172172

173-
**Current Version:** 2.0.0
173+
**Current Version:** 2.1.0
174+
175+
### What's New in 2.1.0
176+
-**JSON Compress** - Compress JSON to compact single-line format
177+
- 📋 **Enhanced Copy Buttons** - Clear visual distinction with arrow icons
178+
- 🌐 **Full i18n Support** - Complete internationalization for all UI elements
179+
- 🎨 **Improved UX** - Better button layout and visual feedback
174180

175181
---
176182

README_ZH.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,16 @@ DevTools/
105105

106106
Apache License 2.0
107107

108+
## 版本
109+
110+
**当前版本:** 2.1.0
111+
112+
### 2.1.0 新功能
113+
-**JSON 压缩** - 将 JSON 压缩为紧凑的单行格式
114+
- 📋 **增强复制按钮** - 使用箭头图标清晰区分复制来源
115+
- 🌐 **完整国际化** - 所有界面元素完全支持多语言
116+
- 🎨 **优化用户体验** - 更合理的按钮布局和视觉反馈
117+
108118
## 更新日志
109119

110120
查看 [CHANGELOG.md](CHANGELOG.md) 了解版本历史。

0 commit comments

Comments
 (0)