Teach Localization-parser how to espace "

This commit is contained in:
Nathan Mattes 2023-09-20 23:04:52 +02:00
parent 3d1634dcfb
commit fe9ed96615
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@ extension Parser {
].joined()
let value = [
"\"",
pair.value.replacingOccurrences(of: "%s", with: "%@"),
pair.value.replacingOccurrences(of: "%s", with: "%@").replacingOccurrences(of: "\"", with: "\\\""),
"\""
].joined()
let line = [