From a53d9f11ebec0cd07cd3771f7282da8bd6a2c0f9 Mon Sep 17 00:00:00 2001 From: Kaede Akino Date: Thu, 8 Oct 2026 10:42:41 +0800 Subject: [PATCH] fix(settings): rename login toggle to start minimized The toggle describes behavior in tray terms rather than as a hidden launch, so rename the string to "Start minimized to system tray" and sync the Japanese and both Chinese translations. Co-Authored-By: Claude Code --- Frameworks/Resources/Localizable.xcstrings | 46 +++++++++---------- .../Strings/Settings.swift | 8 ++-- TFM/Features/Settings/SettingsPageView.swift | 2 +- 3 files changed, 28 insertions(+), 28 deletions(-) diff --git a/Frameworks/Resources/Localizable.xcstrings b/Frameworks/Resources/Localizable.xcstrings index 955b8253..8e173103 100644 --- a/Frameworks/Resources/Localizable.xcstrings +++ b/Frameworks/Resources/Localizable.xcstrings @@ -24930,29 +24930,6 @@ } } }, - "Open Hidden at Login" : { - "extractionState" : "manual", - "localizations" : { - "ja" : { - "stringUnit" : { - "state" : "translated", - "value" : "ログイン時に非表示で起動" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "translated", - "value" : "登录时隐藏打开" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "translated", - "value" : "登入時隱藏開啟" - } - } - } - }, "Open It" : { "comment" : "A button that opens a path.", "extractionState" : "manual", @@ -35350,6 +35327,29 @@ } } }, + "Start minimized to system tray" : { + "extractionState" : "manual", + "localizations" : { + "ja" : { + "stringUnit" : { + "state" : "translated", + "value" : "起動時にシステムトレイに最小化" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "启动时最小化到系统托盘" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "translated", + "value" : "啟動時最小化至系統匣" + } + } + } + }, "Starting" : { "extractionState" : "manual", "localizations" : { diff --git a/Frameworks/TermindPresentation/Strings/Settings.swift b/Frameworks/TermindPresentation/Strings/Settings.swift index 27a07036..5b25e8cd 100644 --- a/Frameworks/TermindPresentation/Strings/Settings.swift +++ b/Frameworks/TermindPresentation/Strings/Settings.swift @@ -561,10 +561,6 @@ extension AppStrings { "Open at Login" } - public static var openHiddenAtLogin: LocalizedStringResource { - "Open Hidden at Login" - } - public static var openLoginItemsSettings: LocalizedStringResource { "Open Login Items Settings" } @@ -697,6 +693,10 @@ extension AppStrings { "Skills" } + public static var startMinimizedToSystemTray: LocalizedStringResource { + "Start minimized to system tray" + } + public static var startup: LocalizedStringResource { "Startup" } diff --git a/TFM/Features/Settings/SettingsPageView.swift b/TFM/Features/Settings/SettingsPageView.swift index 2a48dcde..36da690e 100644 --- a/TFM/Features/Settings/SettingsPageView.swift +++ b/TFM/Features/Settings/SettingsPageView.swift @@ -550,7 +550,7 @@ private struct StartupSettings: View { } } - Toggle(AppStrings.Settings.openHiddenAtLogin.swiftUIKey, isOn: $opensQuietly) + Toggle(AppStrings.Settings.startMinimizedToSystemTray.swiftUIKey, isOn: $opensQuietly) .disabled(!loginItem.isEnabled) if loginItem.requiresApproval {