From 4c6f31c43a03ecb5a85ffb6a3ea3905a661af0f4 Mon Sep 17 00:00:00 2001
From: Ariver <shanghai3168@gmail.com>
Date: Tue, 30 Jun 2026 18:24:23 +0800
Subject: [PATCH] Remove non-source materials from source worktree

---
 src/Scripts/pro_localization_qa.sh |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/src/Scripts/pro_localization_qa.sh b/src/Scripts/pro_localization_qa.sh
index dba4f4c..b33b450 100755
--- a/src/Scripts/pro_localization_qa.sh
+++ b/src/Scripts/pro_localization_qa.sh
@@ -122,6 +122,8 @@
     fail("en.json Pro comparison unlimited notes status must include the leading checkmark")
 if english.get("settings.proStatus.unlockedFeature") != "✅ Unlocked":
     fail("en.json Pro comparison unlocked status must be '✅ Unlocked'")
+if english.get("settings.proStatus.proUser") != "You are currently a valued Pro user":
+    fail("en.json settings.proStatus.proUser must not duplicate the crown icon in text")
 
 zh_hans = load_json(localization_dir / "zh-Hans.json")
 if zh_hans.get("settings.proStatus.lockedFeature") != "✅支持":
@@ -130,6 +132,8 @@
     fail("zh-Hans.json Pro comparison unlimited notes status must be '✅无限备注'")
 if zh_hans.get("settings.proStatus.unlockedFeature") != "✅已解锁":
     fail("zh-Hans.json Pro comparison unlocked status must be '✅已解锁'")
+if zh_hans.get("settings.proStatus.proUser") != "您当前是尊贵的 Pro 用户":
+    fail("zh-Hans.json settings.proStatus.proUser must be the approved centered Pro identity sentence")
 
 ko = load_json(localization_dir / "ko.json")
 if ko.get("quickSearch.hotkeys") != "키보드 단축키":
@@ -197,6 +201,9 @@
         if copied_english:
             fail(f"{code}.json copies English Pro copy: {', '.join(copied_english)}")
 
+    if "👑" in data.get("settings.proStatus.proUser", ""):
+        fail(f"{code}.json settings.proStatus.proUser must not duplicate the crown icon")
+
 print(
     "PASS Pro localization QA: "
     f"{len(language_codes)} languages, {len(pro_keys) + len(REQUIRED_NON_PRO_KEYS) + len(REQUIRED_VISIBLE_SETTINGS_KEYS)} Pro/settings keys, "

--
Gitblit v1.9.3