繁體中文

新功能

介面自動說你的語言,五種語言隨系統切換

你的面板會自動變成你電腦的語言。usage 現在會偵測 macOS 系統語言,自動把整個介面切成繁體中文、簡體中文、英文、日文或韓文,不用設定——系統是什麼語言就顯示什麼。以前介面的狀態文字(像「✓ 已同步」)是硬寫死的中文,現在全改交給一套多語系系統(i18n,把同一套介面翻成多種語言、依系統自動切換的機制)統一管理,所以五種語言都顯示得出來。如果你是開發者,想強制測試某個語言,可以設環境變數(開程式之前預先塞給它的隱藏開關,一般使用者看不到)USAGE_LANG=ja 之類來釘住語言。就像一台跨國販賣機,以前只會講中文,現在進到哪一國就自動切那一國的語言顯示。

新功能

開源授權改採 AGPL,改作發佈也須公開原始碼

如果你打算拿 usage 的原始碼去改、然後發佈出去,要注意授權變嚴了。授權從 MIT(幾乎隨你用的寬鬆條款)改成 AGPL-3.0(修改後發佈出去的版本必須同樣開源、把原始碼公開的條款)——目的是保護原作者,讓別人不能把改過的版本藏起來不還給社群。另外,面板底部現在會顯示一行小字「based on usage by lollapalooza」,標明出處。就像一份開放讓大家免費用的食譜,本來隨你改隨你賣,現在改成「你可以改、但端出去的菜也得公開你的配方」,而且盤子底下印著原廚師的名字。

English

FEATURE

The interface now speaks your language, switching between five languages with your system

Your panel now shows up in your computer's language. usage detects your macOS system language and automatically switches the entire interface between Traditional Chinese, Simplified Chinese, English, Japanese, or Korean — no setup needed, whatever your system uses is what you get. Previously the status text (like "✓ 已同步", meaning "synced") was hardcoded in Chinese; it's all now routed through an i18n system (internationalization — the machinery that translates one interface into many languages and switches them based on your system), so all five languages actually display. If you're a developer who wants to force a specific language for testing, you can set an environment variable (a hidden switch stuffed into the program before it opens, invisible to regular users) like USAGE_LANG=ja to pin the language. It's like a vending machine that used to only speak Chinese but now switches to whatever country it's sitting in.

FEATURE

License switches to AGPL — forked releases must stay open-source

If you plan to take usage's source code, modify it, and release it, note that the license got stricter. It changed from MIT (a permissive license that lets you do almost anything) to AGPL-3.0 (which requires that any modified version you distribute must also be open-sourced) — the goal is to protect the original author so nobody can hoard a modified version without giving back to the community. Also, the bottom of the panel now shows a small line, "based on usage by lollapalooza," crediting the source. It's like a recipe that was free for anyone to use, tweak, and sell, but now says "you may modify it, but the dish you serve must come with your recipe published" — and the plate is stamped with the original chef's name.

原始 CHANGELOG

Original changelog介面自動說你的語言,五種語言隨系統切換
**Multi-language UI (i18n)**: automatically detects the macOS system language and displays the interface in Traditional Chinese, Simplified Chinese, English, Japanese, or Korean. No configuration needed.
**`USAGE_LANG` environment variable**: force a specific language (e.g. `USAGE_LANG=ja`) for development and testing.
Removed hardcoded Chinese status strings (e.g. `✓ 已同步`) from `usage_client.py`; all status text now goes through the i18n system.
Original changelog開源授權改採 AGPL,改作發佈也須公開原始碼
**License changed from MIT to AGPL-3.0**: modified versions that are distributed must be open-sourced.
**Attribution footer in popover**: `based on usage by lollapalooza` shown at the bottom of the panel.