Skip to content

Commit ae1751c

Browse files
committed
feat: 双语提示词支持 & 视图切换动画优化
新功能: - 支持为 Prompt 添加英文版 System Prompt 和 User Prompt - 详情页支持中英文切换显示(ZH/EN 按钮) - 复制和 AI 测试操作根据当前语言模式使用对应版本 优化: - 视图切换动画改为平滑淡入淡出效果 - 视图切换按钮添加滑动指示器动画 - 列表视图行高统一为单行文本高度 - 清理未使用的代码和依赖 - 补全中英文翻译文件缺失的 key Closes #10, Closes #13
1 parent 68f7ef2 commit ae1751c

16 files changed

Lines changed: 744 additions & 2673 deletions

File tree

.cursor/rules/ruler.mdc

Lines changed: 0 additions & 870 deletions
This file was deleted.

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,14 @@ build/
2020

2121
# Electron
2222
release/
23+
dist-electron/
24+
dist/
25+
out/
2326

2427
# IDE
2528
.idea/
2629
.vscode/
30+
.cursor/
2731
*.swp
2832
*.swo
2933

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<p>
88
<a href="https://github.com/legeling/PromptHub/stargazers"><img src="https://img.shields.io/github/stars/legeling/PromptHub?style=flat-square&color=yellow" alt="GitHub Stars"/></a>
99
<a href="https://github.com/legeling/PromptHub/network/members"><img src="https://img.shields.io/github/forks/legeling/PromptHub?style=flat-square" alt="GitHub Forks"/></a>
10-
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.2.3-green?style=flat-square" alt="Version"/></a>
10+
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/badge/version-v0.2.4-green?style=flat-square" alt="Version"/></a>
1111
<a href="https://github.com/legeling/PromptHub/releases"><img src="https://img.shields.io/github/downloads/legeling/PromptHub/total?style=flat-square&color=blue" alt="Downloads"/></a>
1212
<img src="https://img.shields.io/badge/license-AGPL--3.0-blue?style=flat-square" alt="License: AGPL-3.0"/>
1313
</p>
@@ -247,6 +247,15 @@ PromptHub/
247247

248248
## 📝 更新日志
249249

250+
### v0.2.4 (2025-12-10)
251+
**新功能**
252+
- 🌐 支持双语提示词(中英文版本),详情页可切换显示
253+
- 📋 复制和 AI 测试操作会根据当前语言模式使用对应版本
254+
255+
**优化**
256+
- 🎨 优化视图切换动画,添加平滑淡入淡出效果 (Closes #13)
257+
- 🎨 视图切换按钮添加滑动指示器动画
258+
250259
### v0.2.3 (2025-12-10)
251260
**修复**
252261
- 🐛 修复 Windows 删除 Prompt 后输入框无法输入的问题(原生 confirm 对话框焦点丢失)

0 commit comments

Comments
 (0)