(key: string, params: Record<string, string | number> = {})
| 8 | * Gets the translated text. |
| 9 | */ |
| 10 | export function t(key: string, params: Record<string, string | number> = {}): string { |
| 11 | return getTranslation(key, currentLanguage, params) |
| 12 | } |
| 13 | |
| 14 | /** |
| 15 | * Gets the current language. |
no test coverage detected