From 08a2312099a31c400478f3b16a705ff9f218bb9c Mon Sep 17 00:00:00 2001 From: TrueZhuanjia Date: Thu, 24 Jul 2025 21:11:06 +0800 Subject: [PATCH] toolbox ui string update --- VoidLink/Localization/Localizable.xcstrings | 4 ++-- VoidLink/ViewControllers/ToolboxViewController.swift | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/VoidLink/Localization/Localizable.xcstrings b/VoidLink/Localization/Localizable.xcstrings index 1b845f4b..d5129bae 100644 --- a/VoidLink/Localization/Localizable.xcstrings +++ b/VoidLink/Localization/Localizable.xcstrings @@ -283,7 +283,7 @@ } } }, - "[ Open on-screen widget tool ]" : { + "[ On-screen widget tool ]" : { "extractionState" : "manual", "localizations" : { "zh-Hans" : { @@ -306,7 +306,7 @@ } } }, - "[ Switch among on-screen widget profiles ]" : { + "[ Switch on-screen widget profile ]" : { "extractionState" : "manual", "localizations" : { "zh-Hans" : { diff --git a/VoidLink/ViewControllers/ToolboxViewController.swift b/VoidLink/ViewControllers/ToolboxViewController.swift index ef9ae286..5d446728 100644 --- a/VoidLink/ViewControllers/ToolboxViewController.swift +++ b/VoidLink/ViewControllers/ToolboxViewController.swift @@ -30,8 +30,8 @@ import UIKit private let titleLabel = UILabel() @objc public var specialEntries : NSMutableArray = ["widgetSwitchTool", "widgetLayoutTool", "bringUpSoftKeyboard", "enterPip"] private let specialEntryAliasDic : [String:String] = [ - "widgetSwitchTool":SwiftLocalizationHelper.localizedString(forKey: "[ Switch among on-screen widget profiles ]"), - "widgetLayoutTool":SwiftLocalizationHelper.localizedString(forKey: "[ Open on-screen widget tool ]"), + "widgetSwitchTool":SwiftLocalizationHelper.localizedString(forKey: "[ Switch on-screen widget profile ]"), + "widgetLayoutTool":SwiftLocalizationHelper.localizedString(forKey: "[ On-screen widget tool ]"), "bringUpSoftKeyboard":SwiftLocalizationHelper.localizedString(forKey: "[ Bring up soft keyboard ]"), "enterPip":SwiftLocalizationHelper.localizedString(forKey: "[ Enter picture-in-picture mode ]") ]