From fcf38a15d69a7659882eb823a5257806109db0bd Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Wed, 9 Nov 2022 07:35:06 -0500 Subject: [PATCH] =?UTF-8?q?Revert=20"Consistently=20handle=20=E2=80=9CA11y?= =?UTF-8?q?=E2=80=9D=20key"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit d96f189980917992d9b832d5dd9251893792dc04. --- .../StringsConvertor/Sources/StringsConvertor/Parser.swift | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Localization/StringsConvertor/Sources/StringsConvertor/Parser.swift b/Localization/StringsConvertor/Sources/StringsConvertor/Parser.swift index c355493fe..ba9750cd4 100644 --- a/Localization/StringsConvertor/Sources/StringsConvertor/Parser.swift +++ b/Localization/StringsConvertor/Sources/StringsConvertor/Parser.swift @@ -43,12 +43,7 @@ extension Parser { .map { switch keyStyle { case .infoPlist: return $0 - case .swiftgen: - if $0 == "a11y" { - return "A11y" - } else { - return $0.capitalized - } + case .swiftgen: return $0.capitalized } } .joined()