(message: string)
| 29 | ]; |
| 30 | |
| 31 | export function localizeKnownRuntimeMessage(message: string): string { |
| 32 | let localized = message; |
| 33 | for (const entry of KNOWN_RUNTIME_REPLACEMENTS) { |
| 34 | localized = localized.replace(entry.pattern, entry.replacement); |
| 35 | } |
| 36 | return localized; |
| 37 | } |
no test coverage detected