mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 01:55:59 +00:00
feat: basic translations to ui
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
import FormTextField from '../forms/FormTextField.svelte';
|
||||
import FormSelectField from '../forms/FormSelectField.svelte';
|
||||
import stableStringify from 'json-stable-stringify';
|
||||
import { _t } from '../translations';
|
||||
|
||||
export let title;
|
||||
export let fieldDefinitions;
|
||||
@@ -42,7 +43,7 @@
|
||||
<FormSelectField
|
||||
isNative
|
||||
name="schemaName"
|
||||
label="Schema"
|
||||
label={_t('common.schema', { defaultMessage: 'Schema' })}
|
||||
options={schemaList.map(x => ({ label: x.schemaName, value: x.schemaName }))}
|
||||
/>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user