(key: string)
| 43 | } |
| 44 | |
| 45 | export function getText(key: string): string{ |
| 46 | if(textMap["en." + key] == null) |
| 47 | console.log("Error : trying to access the unknown text \"" + key + "\""); |
| 48 | |
| 49 | return textMap["en." + key]; |
| 50 | } |
| 51 | |
| 52 | export function getTranslatedText(key: string): string{ |
| 53 | // If we have a language (other than english) selected |
nothing calls this directly
no outgoing calls
no test coverage detected