From a15f5b2b78289d8849d283f5848787b977f703f1 Mon Sep 17 00:00:00 2001 From: mamamiyear Date: Tue, 7 Jul 2026 16:56:48 +0800 Subject: [PATCH] refactor: localize tray menu items to Chinese MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Rename the menu bar items to 截图 / 设置 / 退出 for the primary Chinese audience. --- internal/infrastructure/tray/tray.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/internal/infrastructure/tray/tray.go b/internal/infrastructure/tray/tray.go index f10cb03..f290d60 100644 --- a/internal/infrastructure/tray/tray.go +++ b/internal/infrastructure/tray/tray.go @@ -33,10 +33,10 @@ func Start(cbs Callbacks) (start, stop func()) { systray.SetTemplateIcon(templateIconBytes, regularIconBytes) systray.SetTooltip("SnapGo") - mCapture := systray.AddMenuItem("Capture screenshot", "Take a region screenshot") - mSettings := systray.AddMenuItem("Settings…", "Open settings window") + mCapture := systray.AddMenuItem("截图", "Take a region screenshot") + mSettings := systray.AddMenuItem("设置", "Open settings window") systray.AddSeparator() - mQuit := systray.AddMenuItem("Quit SnapGo", "Quit the application") + mQuit := systray.AddMenuItem("退出", "Quit the application") // Pump menu clicks on a dedicated goroutine. Channel sends from // systray are non-blocking, so a slow user callback does not back