(string: string)
| 70 | } |
| 71 | |
| 72 | export function formatForIOSLocalizableStrings(string: string) { |
| 73 | let result = string.replace(/"/g, '\\"').replace(/\\u0020/g, ' '); // Existing hack to allow spaces to be added at the beginning or end of the string |
| 74 | return result; |
| 75 | } |
| 76 | |
| 77 | // HACK: some translate strings JSON files in private_profile include a limited set of XML |
| 78 | // entities. |
no test coverage detected