Consistently handle “A11y” key
This commit is contained in:
parent
99b59dde70
commit
d96f189980
|
@ -43,7 +43,12 @@ extension Parser {
|
|||
.map {
|
||||
switch keyStyle {
|
||||
case .infoPlist: return $0
|
||||
case .swiftgen: return $0.capitalized
|
||||
case .swiftgen:
|
||||
if $0 == "a11y" {
|
||||
return "A11y"
|
||||
} else {
|
||||
return $0.capitalized
|
||||
}
|
||||
}
|
||||
}
|
||||
.joined()
|
||||
|
|
Loading…
Reference in New Issue