From 440d4dc270ac33348f2aeed7fbafddfe284acabe Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Mon, 18 May 2026 16:04:55 +0800
Subject: [PATCH] Recover SmartStart 7.2.0 build 738
---
Apptag/L10n.swift | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/Apptag/L10n.swift b/Apptag/L10n.swift
index c6c6455..0a72b7c 100644
--- a/Apptag/L10n.swift
+++ b/Apptag/L10n.swift
@@ -52,8 +52,12 @@
guard supported.contains(where: { $0.code == code }) else { return }
guard code != currentCode else { return }
load(code)
+ let relocalizedTags = TagDatabase.relocalizeSystemTagsForCurrentLanguage()
UserDefaults.standard.set(code, forKey: "appLanguage")
NotificationCenter.default.post(name: .appLanguageDidChange, object: nil, userInfo: ["code": currentCode])
+ if relocalizedTags {
+ NotificationCenter.default.post(name: .tagLauncherDataDidChange, object: nil)
+ }
}
/// Load a specific key's translation for a given language code without switching.
--
Gitblit v1.9.3