mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-25 09:41:02 +00:00
Run all the strings through localization
The strings "DeepL" and "Apple Translate" are now also saved in localizable.strings and addressed through keys. They were taken directly previously, which was inconsistent.
This commit is contained in:
parent
a8201e2455
commit
86c5099662
2 changed files with 24 additions and 2 deletions
|
@ -26160,6 +26160,28 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"enum.translation-type.apple" : {
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "Apple Translate"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"enum.translation-type.deepl" : {
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
"en" : {
|
||||
"stringUnit" : {
|
||||
"state" : "translated",
|
||||
"value" : "DeepL"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"enum.translation-type.use-server-if-possible" : {
|
||||
"extractionState" : "manual",
|
||||
"localizations" : {
|
||||
|
|
|
@ -10,9 +10,9 @@ public enum TranslationType: String, CaseIterable {
|
|||
case .useServerIfPossible:
|
||||
"enum.translation-type.use-server-if-possible"
|
||||
case .useDeepl:
|
||||
"DeepL"
|
||||
"enum.translation-type.deepl"
|
||||
case .useApple:
|
||||
"Apple Translate"
|
||||
"enum.translation-type.apple"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue