Skip to content

Add plugin 匯率換算 v1.0.0 - #746

Open
kazma258 wants to merge 1 commit into
ZToolsCenter:mainfrom
kazma258:plugin/exchange-rates
Open

kazma258 wants to merge 1 commit into
ZToolsCenter:mainfrom
kazma258:plugin/exchange-rates

Conversation

@kazma258

@kazma258 kazma258 commented Nov 11, 2026 •

Copy link
Copy Markdown

插件信息

  • 名称: 匯率換算
  • 插件ID: exchange-rates
  • 版本: 1.0.0
  • CLI版本: 1.3.2
  • 描述: 把一筆基準金額換算成多種貨幣,並查看近 30 個觀測日的變動。
  • 作者: Kazma258
  • 类型: 新增

本次变更

Added

  • 以單一基準貨幣換算比較清單中的多種貨幣。金額在確認後於本機計算。
  • 匯率來自 Frankfurter v2 的日更參考價,以歐元為樞紐,一次取回全表。
  • 趨勢層顯示較上一個觀測日的漲跌,以及近 30 個觀測日的折線。
  • 介面依系統語言使用繁體中文或英文。
  • 國旗使用隨插件附帶的 SVG,執行時不向旗幟網站請求圖片。
  • 插件圖示使用 SVG Repo 上標為 CC0 的歐元換匯圖。
  • 比較列可由序號到符號長按拖曳排序。
  • 序號到符號五欄等寬,折算金額占用剩餘寬度。

截图 / 演示

image image

自检清单

  • plugin.json 的 name / title / version / description / author 字段均已检查
  • 已移除调试日志、未使用文件、敏感信息(.env、token、密钥等)
  • 本次 PR 的 diff 仅涉及 plugins/exchange-rates/ 目录
  • 已在本地 ZTools 客户端实际加载并测试过此插件,主要功能正常
  • 同意以仓库声明的开源协议发布此插件

此 PR 由 ztools-plugin-cli 自动管理:每次 ztools publish 基于最新主仓库重建发布分支;打开的 PR 链接保持不变。

- scaffold the exchange-rates plugin
- add fixed-point currency conversion
- fetch Frankfurter rates outside the page
- bundle country flags in the plugin
- add the one-to-many conversion board
- record version 1.0.0 for release
- prepare version 1.0.0 for the plugin center
@kazma258
kazma258 marked this pull request as ready for review November 11, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant