From 0e76a181689f0e8d2859368e6dacfd399eea901d Mon Sep 17 00:00:00 2001 From: Jinyu Meng Date: Sat, 20 Jan 2024 13:35:57 +0900 Subject: [PATCH] Remove more useless localizations. --- Xcodes/Frontend/View+IsHidden.swift | 4 +-- Xcodes/Resources/Localizable.xcstrings | 44 -------------------------- 2 files changed, 2 insertions(+), 46 deletions(-) diff --git a/Xcodes/Frontend/View+IsHidden.swift b/Xcodes/Frontend/View+IsHidden.swift index 4da6da0..20f66c9 100644 --- a/Xcodes/Frontend/View+IsHidden.swift +++ b/Xcodes/Frontend/View+IsHidden.swift @@ -14,10 +14,10 @@ extension View { struct View_IsHidden_Previews: PreviewProvider { static var previews: some View { Group { - Text("Not Hidden") + Text("Not Hidden".hideInLocalizations) .isHidden(false) - Text("Hidden") + Text("Hidden".hideInLocalizations) .isHidden(true) } } diff --git a/Xcodes/Resources/Localizable.xcstrings b/Xcodes/Resources/Localizable.xcstrings index a5df6f5..cacb359 100644 --- a/Xcodes/Resources/Localizable.xcstrings +++ b/Xcodes/Resources/Localizable.xcstrings @@ -7918,28 +7918,6 @@ } } }, - "Hidden" : { - "localizations" : { - "fr" : { - "stringUnit" : { - "state" : "translated", - "value" : "Masqué" - } - }, - "tr" : { - "stringUnit" : { - "state" : "translated", - "value" : "Gizli" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "translated", - "value" : "隐藏" - } - } - } - }, "IdenticalBuilds" : { "comment" : "Info Pane", "localizations" : { @@ -13015,28 +12993,6 @@ } } }, - "Not Hidden" : { - "localizations" : { - "fr" : { - "stringUnit" : { - "state" : "translated", - "value" : "Visible" - } - }, - "tr" : { - "stringUnit" : { - "state" : "translated", - "value" : "Gizli Değil" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "translated", - "value" : "未隐藏" - } - } - } - }, "Notification.FinishedInstalling" : { "extractionState" : "manual", "localizations" : {