mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-21 00:06:01 +00:00
horizontal menu translation
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user