mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-17 23:45:59 +00:00
added german translation
This commit is contained in:
@@ -153,6 +153,7 @@ ORDER BY
|
||||
{ value: 'en', label: 'English' },
|
||||
{ value: 'cs', label: 'Čeština' },
|
||||
{ value: 'sk', label: 'Slovenčina' },
|
||||
{ value: 'de', label: 'Deutsch' },
|
||||
]}
|
||||
on:change={() => {
|
||||
showModal(ConfirmModal, {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import cs from '../../../translations/cs.json';
|
||||
import sk from '../../../translations/sk.json';
|
||||
import de from '../../../translations/de.json';
|
||||
|
||||
import MessageFormat, { MessageFunction } from '@messageformat/core';
|
||||
import { getStringSettingsValue } from './settings/settingsTools';
|
||||
@@ -8,6 +9,7 @@ const translations = {
|
||||
en: {},
|
||||
cs,
|
||||
sk,
|
||||
de,
|
||||
};
|
||||
const supportedLanguages = Object.keys(translations);
|
||||
|
||||
@@ -107,8 +109,6 @@ export function _tval(x: string | DefferedTranslationResult): string {
|
||||
return '';
|
||||
}
|
||||
|
||||
export function isDefferedTranslationResult(
|
||||
x: string | DefferedTranslationResult
|
||||
): x is DefferedTranslationResult {
|
||||
export function isDefferedTranslationResult(x: string | DefferedTranslationResult): x is DefferedTranslationResult {
|
||||
return typeof x !== 'string' && typeof x?._transKey === 'string';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user