From 92b65b4a17fa5c62ef2bf53c2afe9153b5f5dc7b Mon Sep 17 00:00:00 2001 From: True Zhuanjia Date: Wed, 13 May 2026 15:56:35 +0800 Subject: [PATCH] update ui tip string --- VoidLink/Localization/Localizable.xcstrings | 31 ++++++++++++++++--- ...LayoutOnScreenControlsViewController.swift | 2 +- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/VoidLink/Localization/Localizable.xcstrings b/VoidLink/Localization/Localizable.xcstrings index 181b5011..9cb96f36 100644 --- a/VoidLink/Localization/Localizable.xcstrings +++ b/VoidLink/Localization/Localizable.xcstrings @@ -10280,6 +10280,29 @@ } } }, + "Profile updated successfully" : { + "extractionState" : "manual", + "localizations" : { + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "配置已保存" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "translated", + "value" : "配置已儲存" + } + }, + "zh-HK" : { + "stringUnit" : { + "state" : "translated", + "value" : "配置已儲存" + } + } + } + }, "Profile: %@" : { "extractionState" : "manual", "localizations" : { @@ -10332,24 +10355,24 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Current profile updated successfully.\nThe app update may overwrite the preset game profiles. If you just saved a preset profile, please duplicate it and modify the copy instead." + "value" : "The app update may overwrite the preset game profiles. If you just saved a preset profile, please duplicate it and modify the copy instead." } }, "zh-Hans" : { "stringUnit" : { - "state" : "translated", + "state" : "needs_review", "value" : "当前布局已修改。\nApp升级可能覆盖预置的游戏配置,如果您刚刚保存的是预置游戏配置,先将该配置复制,后续请修改其副本。" } }, "zh-Hant" : { "stringUnit" : { - "state" : "translated", + "state" : "needs_review", "value" : "目前配置已成功更新\nApp升級可能會覆蓋預設的遊戲配置,如果您剛剛儲存的是預設遊戲配置,先將該配置複製,後續請修改其副本。" } }, "zh-HK" : { "stringUnit" : { - "state" : "translated", + "state" : "needs_review", "value" : "目前配置已成功更新\nApp升級可能會覆蓋預設的遊戲配置,如果您剛剛儲存的是預設遊戲配置,先將該配置複製,後續請修改其副本。" } } diff --git a/VoidLink/ViewControllers/CustomOSCViewControl/LayoutOnScreenControlsViewController.swift b/VoidLink/ViewControllers/CustomOSCViewControl/LayoutOnScreenControlsViewController.swift index 2dae2af3..595c58b6 100644 --- a/VoidLink/ViewControllers/CustomOSCViewControl/LayoutOnScreenControlsViewController.swift +++ b/VoidLink/ViewControllers/CustomOSCViewControl/LayoutOnScreenControlsViewController.swift @@ -1513,7 +1513,7 @@ final class LayoutOnScreenControlsViewController: UIViewController, OnScreenWidg let message = success ? LocalizationHelper.localizedString(forKey: "profileSaveTip") : LocalizationHelper.localizedString(forKey: "Profile Default can not be overwritten") - let alert = UIAlertController(title: "", message: message, preferredStyle: .alert) + let alert = UIAlertController(title: success ? LocalizationHelper.localizedString(forKey: "Profile updated successfully") : "", message: message, preferredStyle: .alert) alert.addAction(UIAlertAction(title: LocalizationHelper.localizedString(forKey: "Ok"), style: .default) { _ in if !success { // self.oscProfilesTableViewController?.profileViewRefresh()