horizontal menu translation

This commit is contained in:
SPRINX0\prochazka
2025-11-18 10:14:36 +01:00
parent 8556974ef1
commit 9b60173b8c
4 changed files with 4 additions and 5 deletions

View File

@@ -64,7 +64,7 @@ export function getCurrentTranslations(): Record<string, string> {
}
export function _t(key: string, options: TranslateOptions): string {
const { defaultMessage, values } = options;
const { defaultMessage, values } = options || {};
const selectedLanguage = getSelectedLanguage();