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