Closed Morniak closed 3 years ago
With the string Phone\nNumber in the .stringsdict, I'm getting the following string "Phone\\nNumber" instead of "Phone\nNumber".
Phone\nNumber
.stringsdict
"Phone\\nNumber"
"Phone\nNumber"
"L10n {\n\tLanguage: en\n\tPreferred language: en\n\tSupported languages: [\"en\"]\n\tBundles: [\n\t\t\"/var/containers/Bundle/Application/1E0B4F9F-2F20-4503-8108-2C06E1FEDBE7/Cruise.app/en.lproj\",\n\t\t\"/var/containers/Bundle/Application/1E0B4F9F-2F20-4503-8108-2C06E1FEDBE7/Cruise.app/Base.lproj\"\n\t]\n}"
L10n-swift version: 5.7.3
Xcode version: Xcode 12.4 Build version 12D4e
Swift version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) Target: x86_64-apple-darwin19.6.0
This is not a bug. The stringsdict file allows you to jump to a new line using the key combination (option + enter)
stringsdict
With the string
Phone\nNumber
in the.stringsdict
, I'm getting the following string"Phone\\nNumber"
instead of"Phone\nNumber"
.Environment.
DebugDescription
L10n-swift version: 5.7.3
Xcode version: Xcode 12.4 Build version 12D4e
Swift version: Apple Swift version 5.3.2 (swiftlang-1200.0.45 clang-1200.0.32.28) Target: x86_64-apple-darwin19.6.0
Platform(s):
File format(s):
Installation method: