translation-datagrid,filter,macros,newObject

This commit is contained in:
Stela Augustinova
2025-10-30 10:12:32 +01:00
parent 8429067ae5
commit 70284ac440
14 changed files with 427 additions and 109 deletions

View File

@@ -1,6 +1,7 @@
<script lang="ts">
import FontIcon from '../icons/FontIcon.svelte';
import { isProApp } from '../utility/proTools';
import { _t } from '../translations';
export let icon;
export let title;
@@ -21,7 +22,7 @@
data-testid={$$props['data-testid']}
title={disabled
? isProFeature && !isProApp()
? 'This feature is available only in DbGate Premium'
? _t('common.featurePremium', { defaultMessage: 'This feature is available only in DbGate Premium' })
: disabledMessage
: undefined}
>

View File

@@ -68,6 +68,7 @@
import registerCommand from '../commands/registerCommand';
import { registerMenu } from '../utility/contextMenu';
import { getLocalStorage, setLocalStorage } from '../utility/storageCache';
import { _t } from '../translations';
export let config;
export let setConfig;
@@ -173,7 +174,7 @@
<div class="left" slot="1">
<WidgetColumnBar>
<WidgetColumnBarItem
title="Columns"
title={_t('dataGrid.columns', { defaultMessage: 'Columns' })}
name="columns"
height="45%"
skip={isFormView}
@@ -183,7 +184,7 @@
</WidgetColumnBarItem>
<WidgetColumnBarItem
title="Filters"
title={_t('dataGrid.filters', { defaultMessage: 'Filters' })}
name="filters"
height={showReferences && display?.hasReferences && !isFormView ? '15%' : '30%'}
skip={!display?.filterable}
@@ -201,7 +202,7 @@
</WidgetColumnBarItem>
<WidgetColumnBarItem
title="References"
title={_t('dataGrid.references', { defaultMessage: 'References' })}
name="references"
height="30%"
collapsed={isDetailView}
@@ -212,7 +213,7 @@
</WidgetColumnBarItem>
<WidgetColumnBarItem
title="Macros"
title={_t('dataGrid.macros', { defaultMessage: 'Macros' })}
name="macros"
skip={!showMacros}
collapsed={!expandMacros}

View File

@@ -11,6 +11,8 @@
import FontIcon from '../icons/FontIcon.svelte';
import TokenizedFilteredText from '../widgets/TokenizedFilteredText.svelte';
import { _t } from '../translations';
export let managerSize;
export let display: GridDisplay;
export let onReferenceClick = ref => {};
@@ -24,12 +26,12 @@
</script>
<SearchBoxWrapper>
<SearchInput placeholder="Search references" bind:value={filter} />
<SearchInput placeholder={_t('dataGrid.searchReferences', { defaultMessage: 'Search references' })} bind:value={filter} />
<CloseSearchButton bind:filter />
</SearchBoxWrapper>
<ManagerInnerContainer width={managerSize}>
{#if foreignKeys.length > 0}
<div class="bold nowrap ml-1">References tables ({foreignKeys.length})</div>
<div class="bold nowrap ml-1">{_t('dataGrid.referencesTables', { defaultMessage: 'References tables' })} ({foreignKeys.length})</div>
{#each foreignKeys.filter(fk => filterName(filter, fk.refTableName)) as fk}
<div
class="link"

View File

@@ -9,6 +9,7 @@
import FormViewFilterColumn from './FormViewFilterColumn.svelte';
import { stringFilterBehaviour } from 'dbgate-tools';
import CheckboxField from '../forms/CheckboxField.svelte';
import { _t } from '../translations';
// import PrimaryKeyFilterEditor from './PrimaryKeyFilterEditor.svelte';
export let managerSize;
@@ -63,7 +64,7 @@
{#if hasMultiColumnFilter}
<div class="m-1">
<div class="space-between">
<span>Multi column filter</span>
<span>{_t('dataGrid.multiColumnFilter', { defaultMessage: 'Multi column filter' })}</span>
{#if multiColumnFilter}
<div class="flex items-center gap-2">
<CheckboxField

View File

@@ -6,6 +6,7 @@
import MacroHeader from './MacroHeader.svelte';
import MacroInfoTab from './MacroInfoTab.svelte';
import { _t } from '../translations';
const selectedMacro = getContext('selectedMacro') as any;
@@ -17,7 +18,7 @@
<TabControl
tabs={[
{
label: 'Macro detail',
label: _t('datagrid.macros.detail', { defaultMessage: 'Macro detail' }),
component: MacroInfoTab,
props: {
onExecute,

View File

@@ -2,6 +2,7 @@
import { getContext } from 'svelte';
import FontIcon from '../icons/FontIcon.svelte';
import ToolbarButton from '../buttons/ToolbarButton.svelte';
import { _t } from '../translations';
export let onExecute;
@@ -16,8 +17,8 @@
</div>
</div>
<div class="buttons">
<ToolbarButton icon="icon run" on:click={onExecute}>Execute</ToolbarButton>
<ToolbarButton icon="icon close" on:click={() => ($selectedMacro = null)}>Close</ToolbarButton>
<ToolbarButton icon="icon run" on:click={onExecute}>{_t('common.execute', { defaultMessage: 'Execute' })}</ToolbarButton>
<ToolbarButton icon="icon close" on:click={() => ($selectedMacro = null)}>{_t('common.close', { defaultMessage: 'Close' })}</ToolbarButton>
</div>
</div>

View File

@@ -5,6 +5,7 @@
import WidgetTitle from '../widgets/WidgetTitle.svelte';
import MacroParameters from './MacroParameters.svelte';
import { _t } from '../translations';
const selectedMacro = getContext('selectedMacro') as any;
@@ -13,23 +14,23 @@
<div class="wrapper">
<div class="section">
<WidgetTitle>Execute</WidgetTitle>
<FormStyledButton value="Execute" on:click={onExecute} />
<WidgetTitle>{_t('common.execute', { defaultMessage: 'Execute' })}</WidgetTitle>
<FormStyledButton value={_t('common.execute', { defaultMessage: 'Execute' })} on:click={onExecute} />
</div>
<div class="section">
<WidgetTitle>Parameters</WidgetTitle>
<WidgetTitle>{_t('common.parameters', { defaultMessage: 'Parameters' })}</WidgetTitle>
{#if $selectedMacro?.args && $selectedMacro?.args?.length > 0}
{#key $selectedMacro?.name}
<MacroParameters args={$selectedMacro?.args||[]} namePrefix={`${$selectedMacro?.name}#`} />
{/key}
{:else}
<div class="m-1">This macro has no parameters</div>
<div class="m-1">{_t('datagrid.macros.noParameters', { defaultMessage: 'This macro has no parameters' })}</div>
{/if}
</div>
<div class="section">
<WidgetTitle>Description</WidgetTitle>
<WidgetTitle>{_t('common.description', { defaultMessage: 'Description' })}</WidgetTitle>
<div class="m-1">{$selectedMacro?.description}</div>
</div>
</div>

View File

@@ -8,6 +8,7 @@
import SearchBoxWrapper from '../elements/SearchBoxWrapper.svelte';
import SearchInput from '../elements/SearchInput.svelte';
import macros from './macros';
import { _t } from '../translations';
let filter = '';
export let managerSize;
@@ -16,7 +17,7 @@
<ManagerInnerContainer width={managerSize}>
<SearchBoxWrapper>
<SearchInput placeholder="Search macros" bind:value={filter} />
<SearchInput placeholder={_t('datagrid.searchMacros', { defaultMessage: "Search macros"})} bind:value={filter} />
</SearchBoxWrapper>
<AppObjectList
list={_.sortBy(macros, 'title').filter(x => (macroCondition ? macroCondition(x) : true))}

View File

@@ -1,37 +1,39 @@
import { _t } from '../translations';
const macros = [
{
title: 'Remove diacritics',
title: _t('datagrid.macros.removeDiacritics', { defaultMessage: 'Remove diacritics' }),
name: 'removeDiacritics',
group: 'Text',
description: 'Removes diacritics from selected cells',
description: _t('datagrid.macros.removeDiacriticsDescription', { defaultMessage: 'Removes diacritics from selected cells' }),
type: 'transformValue',
code: `return modules.lodash.deburr(value)`,
},
{
title: 'Search & replace text',
title: _t('datagrid.macros.searchReplaceText', { defaultMessage: 'Search & replace text' }),
name: 'stringReplace',
group: 'Text',
description: 'Search & replace text or regular expression',
description: _t('datagrid.macros.searchReplaceTextDescription', { defaultMessage: 'Search & replace text or regular expression' }),
type: 'transformValue',
args: [
{
type: 'text',
label: 'Find',
label: _t('datagrid.macros.searchReplaceTextFind', { defaultMessage: 'Find' }),
name: 'find',
},
{
type: 'text',
label: 'Replace with',
label: _t('datagrid.macros.searchReplaceTextReplaceWith', { defaultMessage: 'Replace with' }),
name: 'replace',
},
{
type: 'checkbox',
label: 'Case sensitive',
label: _t('datagrid.macros.searchReplaceTextCaseSensitive', { defaultMessage: 'Case sensitive' }),
name: 'caseSensitive',
},
{
type: 'checkbox',
label: 'Regular expression',
label: _t('datagrid.macros.searchReplaceTextIsRegex', { defaultMessage: 'Regular expression' }),
name: 'isRegex',
},
],
@@ -42,16 +44,16 @@ return value ? value.toString().replace(new RegExp(rtext, rflags), args.replace
`,
},
{
title: 'Change text case',
title: _t('datagrid.macros.changeTextCase', { defaultMessage: 'Change text case' }),
name: 'changeTextCase',
group: 'Text',
description: 'Uppercase, lowercase and other case functions',
description: _t('datagrid.macros.changeTextCaseDescription', { defaultMessage: 'Uppercase, lowercase and other case functions' }),
type: 'transformValue',
args: [
{
type: 'select',
options: ['toUpper', 'toLower', 'lowerCase', 'upperCase', 'kebabCase', 'snakeCase', 'camelCase', 'startCase'],
label: 'Type',
label: _t('datagrid.macros.changeTextCaseType', { defaultMessage: 'Type' }),
name: 'type',
default: 'toUpper',
},
@@ -59,81 +61,81 @@ return value ? value.toString().replace(new RegExp(rtext, rflags), args.replace
code: `return modules.lodash[args.type](value)`,
},
{
title: 'Pad left',
title: _t('datagrid.macros.padLeft', { defaultMessage: 'Pad left' }),
name: 'padLeft',
group: 'Text',
args: [
{
type: 'text',
label: 'Character',
label: _t('datagrid.macros.padCharacter', { defaultMessage: 'Character' }),
name: 'character',
default: '0',
},
{
type: 'text',
label: 'Length',
label: _t('datagrid.macros.padLength', { defaultMessage: 'Length' }),
name: 'length',
default: '3',
},
],
description:
'Returns string of a specified length in which the beginning of the current string is padded with spaces or other character',
_t('datagrid.macros.padLeftDescription', { defaultMessage: 'Returns string of a specified length in which the beginning of the current string is padded with spaces or other character' }),
type: 'transformValue',
code: `return modules.lodash.padStart(value, +args.length, args.character)`,
},
{
title: 'Pad right',
title: _t('datagrid.macros.padRight', { defaultMessage: 'Pad right' }),
name: 'padRight',
group: 'Text',
args: [
{
type: 'text',
label: 'Character',
label: _t('datagrid.macros.padCharacter', { defaultMessage: 'Character' }),
name: 'character',
default: '0',
},
{
type: 'text',
label: 'Length',
label: _t('datagrid.macros.padLength', { defaultMessage: 'Length' }),
name: 'length',
default: '3',
},
],
description:
'Returns string of a specified length in which the end of the current string is padded with spaces or other character',
_t('datagrid.macros.padRightDescription', { defaultMessage: 'Returns string of a specified length in which the end of the current string is padded with spaces or other character' }),
type: 'transformValue',
code: `return modules.lodash.padEnd(value, +args.length, args.character)`,
},
{
title: 'Trim',
title: _t('datagrid.macros.trim', { defaultMessage: 'Trim' }),
name: 'trim',
group: 'Text',
description: 'Removes leading and trailing whitespace ',
description: _t('datagrid.macros.trimDescription', { defaultMessage: 'Removes leading and trailing whitespace' }),
type: 'transformValue',
code: `return modules.lodash.trim(value)`,
},
{
title: 'Row index',
title: _t('datagrid.macros.rowIndex', { defaultMessage: 'Row index' }),
name: 'rowIndex',
group: 'Tools',
description: 'Index of row from 1 (autoincrement)',
description: _t('datagrid.macros.rowIndexDescription', { defaultMessage: 'Index of row from 1 (autoincrement)' }),
type: 'transformValue',
code: `return rowIndex + 1`,
},
{
title: 'Generate UUID',
title: _t('datagrid.macros.generateUUID', { defaultMessage: 'Generate UUID' }),
name: 'uuidv1',
group: 'Tools',
description: 'Generate unique identifier',
description: _t('datagrid.macros.generateUUIDDescription', { defaultMessage: 'Generate unique identifier' }),
type: 'transformValue',
args: [
{
type: 'select',
options: [
{ value: 'uuidv1', name: 'V1 - from timestamp' },
{ value: 'uuidv4', name: 'V4 - random generated' },
{ value: 'uuidv1', name: _t('datagrid.macros.uuidv1', { defaultMessage: 'V1 - from timestamp' }) },
{ value: 'uuidv4', name: _t('datagrid.macros.uuidv4', { defaultMessage: 'V4 - random generated' }) },
],
label: 'Version',
label: _t('datagrid.macros.version', { defaultMessage: 'Version' }),
name: 'version',
default: 'uuidv1',
},
@@ -141,26 +143,26 @@ return value ? value.toString().replace(new RegExp(rtext, rflags), args.replace
code: `return modules[args.version]()`,
},
{
title: 'Convert to integer',
title: _t('datagrid.macros.toInt', { defaultMessage: 'Convert to integer' }),
name: 'toInt',
group: 'Tools',
description: 'Converts to integral number',
description: _t('datagrid.macros.toIntDescription', { defaultMessage: 'Converts to integral number' }),
type: 'transformValue',
code: `return modules.lodash.isNaN(parseInt(value)) ? null : parseInt(value)`,
},
{
title: 'Convert to number',
title: _t('datagrid.macros.toNumber', { defaultMessage: 'Convert to number' }),
name: 'toNumber',
group: 'Tools',
description: 'Converts to number',
description: _t('datagrid.macros.toNumberDescription', { defaultMessage: 'Converts to number' }),
type: 'transformValue',
code: `return modules.lodash.isNaN(parseFloat(value)) ? null : parseFloat(value)`,
},
{
title: 'Convert to boolean',
title: _t('datagrid.macros.toBoolean', { defaultMessage: 'Convert to boolean' }),
name: 'toBoolean',
group: 'Tools',
description: 'Converts to boolean',
description: _t('datagrid.macros.toBooleanDescription', { defaultMessage: 'Converts to boolean' }),
type: 'transformValue',
code: `
if (modules.lodash.isString(value)) {
@@ -176,10 +178,10 @@ return !!value;
`,
},
{
title: 'Convert to string',
title: _t('datagrid.macros.toString', { defaultMessage: 'Convert to string' }),
name: 'toString',
group: 'Tools',
description: 'Converts to string',
description: _t('datagrid.macros.toStringDescription', { defaultMessage: 'Converts to string' }),
type: 'transformValue',
code: `
if (value==null) return null;
@@ -188,15 +190,15 @@ return !!value;
`,
},
{
title: 'Current date',
title: _t('datagrid.macros.currentDate', { defaultMessage: 'Current date' }),
name: 'currentDate',
group: 'Tools',
description: 'Gets current date',
description: _t('datagrid.macros.currentDateDescription', { defaultMessage: 'Gets current date' }),
type: 'transformValue',
args: [
{
type: 'text',
label: 'Format',
label: _t('datagrid.macros.format', { defaultMessage: 'Format' }),
name: 'format',
default: 'YYYY-MM-DD HH:mm:ss',
},
@@ -204,10 +206,10 @@ return !!value;
code: `return modules.moment().format(args.format)`,
},
{
title: 'Duplicate columns',
title: _t('datagrid.macros.duplicateColumns', { defaultMessage: 'Duplicate columns' }),
name: 'duplicateColumns',
group: 'Tools',
description: 'Duplicate selected columns',
description: _t('datagrid.macros.duplicateColumnsDescription', { defaultMessage: 'Duplicate selected columns' }),
type: 'transformRow',
code: `
return {
@@ -218,22 +220,22 @@ return !!value;
args: [
{
type: 'text',
label: 'Prefix',
label: _t('datagrid.macros.prefix', { defaultMessage: 'Prefix' }),
name: 'prefix',
},
{
type: 'text',
label: 'Postfix',
label: _t('datagrid.macros.postfix', { defaultMessage: 'Postfix' }),
name: 'postfix',
default: '_copy',
},
],
},
{
title: 'Split columns',
title: _t('datagrid.macros.splitColumns', { defaultMessage: 'Split columns' }),
name: 'splitColumns',
group: 'Tools',
description: 'Split selected columns',
description: _t('datagrid.macros.splitColumnsDescription', { defaultMessage: 'Split selected columns' }),
type: 'transformRow',
code: `
const res = {...row};
@@ -252,22 +254,22 @@ return !!value;
args: [
{
type: 'text',
label: 'Delimiter',
label: _t('datagrid.macros.delimiter', { defaultMessage: 'Delimiter' }),
name: 'delimiter',
default: ',',
},
],
},
{
title: 'Calculation',
title: _t('datagrid.macros.calculation', { defaultMessage: 'Calculation' }),
name: 'calculation',
group: 'Tools',
description: 'Custom expression. Use row.column_name for accessing column values, value for original value',
description: _t('datagrid.macros.calculationDescription', { defaultMessage: 'Custom expression. Use row.column_name for accessing column values, value for original value' }),
type: 'transformValue',
args: [
{
type: 'text',
label: 'Expression',
label: _t('datagrid.macros.expression', { defaultMessage: 'Expression' }),
name: 'expression',
default: 'value',
},
@@ -275,10 +277,10 @@ return !!value;
code: `return eval(args.expression);`,
},
{
title: 'Extract date fields',
title: _t('datagrid.macros.extractDateFields', { defaultMessage: 'Extract date fields' }),
name: 'extractDateFields',
group: 'Tools',
description: 'Extract yaear, month, day and other date/time fields from selection and adds it as new columns',
description: _t('datagrid.macros.extractDateFieldsDescription', { defaultMessage: 'Extract year, month, day and other date/time fields from selection and adds it as new columns' }),
type: 'transformRow',
code: `
let mom = null;
@@ -311,37 +313,37 @@ return !!value;
args: [
{
type: 'text',
label: 'Year name',
label: _t('datagrid.macros.yearName', { defaultMessage: 'Year name' }),
name: 'year',
default: 'year',
},
{
type: 'text',
label: 'Month name',
label: _t('datagrid.macros.monthName', { defaultMessage: 'Month name' }) ,
name: 'month',
default: 'month',
},
{
type: 'text',
label: 'Day name',
label: _t('datagrid.macros.dayName', { defaultMessage: 'Day name' }),
name: 'day',
default: 'day',
},
{
type: 'text',
label: 'Hour name',
label: _t('datagrid.macros.hourName', { defaultMessage: 'Hour name' }),
name: 'hour',
default: 'hour',
},
{
type: 'text',
label: 'Minute name',
label: _t('datagrid.macros.minuteName', { defaultMessage: 'Minute name' }),
name: 'minute',
default: 'minute',
},
{
type: 'text',
label: 'Second name',
label: _t('datagrid.macros.secondName', { defaultMessage: 'Second name' }),
name: 'second',
default: 'second',
},

View File

@@ -7,6 +7,7 @@
import { isProApp } from '../utility/proTools';
import ModalBase from './ModalBase.svelte';
import { closeCurrentModal } from './modalTools';
import { _t } from '../translations';
export let multiTabIndex = undefined;
@@ -14,8 +15,8 @@
{
icon: 'icon sql-file',
colorClass: 'color-icon-blue',
title: 'Query',
description: 'SQL query editor',
title: _t('common.query', { defaultMessage: 'Query' }),
description: _t('common.queryEditor', { defaultMessage: 'SQL query editor' }),
action: () => {
newQuery({ multiTabIndex });
},
@@ -25,47 +26,47 @@
{
icon: 'icon connection',
colorClass: 'color-icon-yellow',
title: 'Connection',
description: 'Database connection stored locally',
title: _t('common.connection', { defaultMessage: 'Connection' }),
description: _t('newObject.connectionLocal', { defaultMessage: 'Database connection stored locally' }),
command: 'new.connection',
changeWidget: 'database',
testid: 'NewObjectModal_connection',
disabledMessage: 'You are not allowed to create new connections',
disabledMessage: _t('newObject.connectionLocalDisabled', { defaultMessage: 'You are not allowed to create new connections' }),
},
{
icon: 'icon cloud-connection',
colorClass: 'color-icon-blue',
title: 'Connection on Cloud',
description: 'Database connection stored on DbGate Cloud',
title: _t('common.connectionOnCloud', { defaultMessage: 'Connection on Cloud' }),
description: _t('newObject.connectionOnCloudDescription', { defaultMessage: 'Database connection stored on DbGate Cloud' }),
command: 'new.connectionOnCloud',
changeWidget: 'cloud-private',
testid: 'NewObjectModal_connectionOnCloud',
disabledMessage: 'For creating connections on DbGate Cloud, you need to be logged in',
disabledMessage: _t('newObject.connectionOnCloudDisabled', { defaultMessage: 'For creating connections on DbGate Cloud, you need to be logged in' }),
},
{
icon: 'icon query-design',
colorClass: 'color-icon-red',
title: 'Query Designer',
description: 'Design SQL queries visually',
title: _t('common.queryDesigner', { defaultMessage: 'Query Designer' }),
description: _t('newObject.queryDesignerDescription', { defaultMessage: 'Design SQL queries visually' }),
command: 'new.queryDesign',
testid: 'NewObjectModal_queryDesign',
disabledMessage: 'Query Designer is not available for current database',
disabledMessage: _t('newObject.queryDesignerDisabled', { defaultMessage: 'Query Designer is not available for current database' }),
isProFeature: true,
},
{
icon: 'icon diagram',
colorClass: 'color-icon-blue',
title: 'ER Diagram',
description: 'Visualize database structure',
title: _t('common.erDiagram', { defaultMessage: 'ER Diagram' }),
description: _t('newObject.erDiagramDescription', { defaultMessage: 'Visualize database structure' }),
command: 'new.diagram',
testid: 'NewObjectModal_diagram',
disabledMessage: 'ER Diagram is not available for current database',
disabledMessage: _t('newObject.erDiagramDisabled', { defaultMessage: 'ER Diagram is not available for current database' }),
},
{
icon: 'icon perspective',
colorClass: 'color-icon-yellow',
title: 'Perspective',
description: 'Join complex data from multiple databases',
title: _t('common.perspective', { defaultMessage: 'Perspective' }),
description: _t('newObject.perspectiveDescription', { defaultMessage: 'Join complex data from multiple databases' }),
command: 'new.perspective',
testid: 'NewObjectModal_perspective',
isProFeature: true,
@@ -73,55 +74,55 @@
{
icon: 'icon table',
colorClass: 'color-icon-blue',
title: 'Table',
description: 'Create table in the current database',
title: _t('common.table', { defaultMessage: 'Table' }),
description: _t('newObject.tableDescription', { defaultMessage: 'Create table in the current database' }),
command: 'new.table',
testid: 'NewObjectModal_table',
disabledMessage: 'Table creation is not available for current database',
disabledMessage: _t('newObject.tableDisabled', { defaultMessage: 'Table creation is not available for current database' }),
},
{
icon: 'icon sql-generator',
colorClass: 'color-icon-green',
title: 'SQL Generator',
description: 'Generate SQL scripts for database objects',
title: _t('common.sqlGenerator', { defaultMessage: 'SQL Generator' }),
description: _t('newObject.sqlGeneratorDescription', { defaultMessage: 'Generate SQL scripts for database objects' }),
command: 'sql.generator',
testid: 'NewObjectModal_sqlGenerator',
disabledMessage: 'SQL Generator is not available for current database',
disabledMessage: _t('newObject.sqlGeneratorDisabled', { defaultMessage: 'SQL Generator is not available for current database' }),
},
{
icon: 'icon export',
colorClass: 'color-icon-green',
title: 'Export database',
description: 'Export to file like CSV, JSON, Excel, or other DB',
title: _t('common.exportDatabase', { defaultMessage: 'Export database' }),
description: _t('newObject.exportDescription', { defaultMessage: 'Export to file like CSV, JSON, Excel, or other DB' }),
command: 'database.export',
testid: 'NewObjectModal_databaseExport',
disabledMessage: 'Export is not available for current database',
disabledMessage: _t('newObject.exportDisabled', { defaultMessage: 'Export is not available for current database' }),
},
{
icon: 'icon compare',
colorClass: 'color-icon-red',
title: 'Compare database',
description: 'Compare database schemas',
title: _t('common.compare', { defaultMessage: 'Compare database' }),
description: _t('newObject.compareDescription', { defaultMessage: 'Compare database schemas' }),
command: 'database.compare',
testid: 'NewObjectModal_databaseCompare',
disabledMessage: 'Database comparison is not available for current database',
disabledMessage: _t('newObject.compareDisabled', { defaultMessage: 'Database comparison is not available for current database' }),
isProFeature: true,
},
{
icon: 'icon ai',
colorClass: 'color-icon-blue',
title: 'Database Chat',
description: 'Chat with your database using AI',
title: _t('common.databaseChat', { defaultMessage: 'Database Chat' }),
description: _t('newObject.databaseChatDescription', { defaultMessage: 'Chat with your database using AI' }),
command: 'database.chat',
isProFeature: true,
disabledMessage: 'Database chat is not available for current database',
disabledMessage: _t('newObject.databaseChatDisabled', { defaultMessage: 'Database chat is not available for current database' }),
testid: 'NewObjectModal_databaseChat',
},
];
</script>
<ModalBase simplefix {...$$restProps}>
<div class="create-header">Create new</div>
<div class="create-header">{_t('common.createNew', { defaultMessage: 'Create new' })}</div>
<div class="wrapper">
{#each NEW_ITEMS as item}
{@const enabled = item.command

View File

@@ -460,7 +460,7 @@
disabled={isConnected}
data-testid="ConnectionDriverFields_defaultDatabase"
asyncMenu={createDatabasesMenu}
placeholder="(not selected - optional)"
placeholder={_t('common.notSelectedOptional', { defaultMessage : "(not selected - optional)"})}
/>
{/if}
@@ -475,7 +475,7 @@
{#if driver?.showConnectionField('useSeparateSchemas', $values, showConnectionFieldArgs)}
<FormCheckboxField
label={_t('connection.useSeparateSchemas', { defaultMessage: `Use schemas separately (use this if you have many large schemas)` })}
label={_t('connection.useSeparateSchemas', { defaultMessage: 'Use schemas separately (use this if you have many large schemas)' })}
name="useSeparateSchemas"
disabled={isConnected}
data-testid="ConnectionDriverFields_useSeparateSchemas"

View File

@@ -46,19 +46,36 @@
"command.tabs.previousTab": "Předchozí karta",
"command.tabs.reopenClosedTab": "Znovu otevřít zavřenou kartu",
"common.archive": "Archivovat (JSONL)",
"common.cancel": "Zrušiť",
"common.cancel": "Zrušit",
"common.close": "Zavřít",
"common.compare": "Porovnat databáze",
"common.connection": "Připojení",
"common.connectionOnCloud": "Připojení na cloudu",
"common.connections": "Připojení",
"common.createNew": "Vytvořit",
"common.database": "Databáze",
"common.databaseChat": "Databázový chat",
"common.description": "Popis",
"common.erDiagram": "ER Diagram",
"common.execute": "Spustit",
"common.export": "Export",
"common.exportDatabase": "Exportovat databázi",
"common.featurePremium": "Tato funkce je k dispozici pouze v DbGate Premium",
"common.import": "Import",
"common.kill": "Ukončit",
"common.notSelectedOptional": "(nezvoleno - volitelné)",
"common.parameters": "Parametry",
"common.perspective": "Perspektiva",
"common.query": "Dotaz",
"common.queryDesigner": "Návrhář dotazů",
"common.queryEditor": "Editor SQL dotazů",
"common.refresh": "Obnovit",
"common.save": "Uložit",
"common.saveToArchive": "Uložit do archívu",
"common.schema": "Schéma",
"common.searchBy": "Hledat podle:",
"common.sqlGenerator": "SQL Generátor",
"common.table": "Tabulka",
"connection.accessKeyId": "ID přístupového klíče",
"connection.allowedDatabases": "Povolené databáze, jedna na řádek",
"connection.allowedDatabasesRegex": "Regulární výraz pro povolené databáze",
@@ -124,10 +141,18 @@
"connection.ssl.use": "Použít SSL",
"connection.trustServerCertificate": "Důvěřovat certifikátu serveru",
"connection.type": "Typ připojení",
"connection.useSeparateSchemas": "Používat schémata samostatně (použijte, pokud máte mnoho velkých schémat).",
"connection.useUrl": "Použít URL databáze",
"connection.user": "Uživatel",
"connection.viewDetails": "Zobrazit detaily",
"connection.windowsDomain": "Doména (zadejte pro použití NTLM autentizace)",
"dataGrid.columns": "Sloupce",
"dataGrid.filters": "Filtry",
"dataGrid.macros": "Makra",
"dataGrid.multiColumnFilter": "Filtr více sloupců",
"dataGrid.references": "Reference",
"dataGrid.referencesTables": "Reference na tabulky",
"dataGrid.searchReferences": "Hledat reference",
"database.backup": "Záloha #",
"database.compare": "Porovnat",
"database.copyDatabaseName": "Kopírovat název databáze",
@@ -159,6 +184,64 @@
"database.shellTitle": "Shell #",
"database.showDiagram": "Zobrazit diagram",
"database.sqlGenerator": "SQL generátor",
"datagrid.macros.calculation": "Výpočet",
"datagrid.macros.calculationDescription": "Vlastní výraz. Použijte row.nazev_sloupce pro přístup k hodnotám sloupců, value pro původní hodnotu",
"datagrid.macros.changeTextCase": "Změnit velikost písmen",
"datagrid.macros.changeTextCaseDescription": "Funkce pro velká písmena, malá písmena a další úpravy",
"datagrid.macros.changeTextCaseType": "Typ",
"datagrid.macros.currentDate": "Aktuální datum",
"datagrid.macros.currentDateDescription": "Získá aktuální datum",
"datagrid.macros.dayName": "Název dne",
"datagrid.macros.delimiter": "Oddělovač",
"datagrid.macros.detail": "Detail makra",
"datagrid.macros.duplicateColumns": "Duplikovat sloupce",
"datagrid.macros.duplicateColumnsDescription": "Duplikovat vybrané sloupce",
"datagrid.macros.expression": "Výraz",
"datagrid.macros.extractDateFields": "Extrahovat datumová pole",
"datagrid.macros.extractDateFieldsDescription": "Extrahuje rok, měsíc, den a další časové údaje z výběru a přidá je jako nové sloupce",
"datagrid.macros.format": "Formát",
"datagrid.macros.generateUUID": "Generovat UUID",
"datagrid.macros.generateUUIDDescription": "Generuje unikátní identifikátor",
"datagrid.macros.hourName": "Název hodiny",
"datagrid.macros.minuteName": "Název minuty",
"datagrid.macros.monthName": "Název měsíce",
"datagrid.macros.noParameters": "Nemá žádné parametry",
"datagrid.macros.padCharacter": "Znak",
"datagrid.macros.padLeft": "Doplnit zleva",
"datagrid.macros.padLeftDescription": "Vrátí řetězec zadané délky, ve kterém je začátek aktuálního řetězce doplněn mezerami nebo jiným znakem",
"datagrid.macros.padLength": "Délka",
"datagrid.macros.padRight": "Doplnit zprava",
"datagrid.macros.padRightDescription": "Vrátí řetězec zadané délky, ve kterém je konec aktuálního řetězce doplněn mezerami nebo jiným znakem",
"datagrid.macros.postfix": "Přípona",
"datagrid.macros.prefix": "Předpona",
"datagrid.macros.removeDiacritics": "Odstranit diakritiku",
"datagrid.macros.removeDiacriticsDescription": "Odstraní diakritiku z vybraných buněk",
"datagrid.macros.rowIndex": "Index řádku",
"datagrid.macros.rowIndexDescription": "Index řádku od 1 (automatické číslování)",
"datagrid.macros.searchReplaceText": "Najít a nahradit text",
"datagrid.macros.searchReplaceTextCaseSensitive": "Rozlišovat velikost písmen",
"datagrid.macros.searchReplaceTextDescription": "Najít a nahradit text nebo regulární výraz",
"datagrid.macros.searchReplaceTextFind": "Najít",
"datagrid.macros.searchReplaceTextIsRegex": "Regulární výraz",
"datagrid.macros.searchReplaceTextReplaceWith": "Nahradit čím",
"datagrid.macros.secondName": "Název sekundy",
"datagrid.macros.splitColumns": "Rozdělit sloupce",
"datagrid.macros.splitColumnsDescription": "Rozdělit vybrané sloupce",
"datagrid.macros.toBoolean": "Převést na boolean",
"datagrid.macros.toBooleanDescription": "Převede na boolean",
"datagrid.macros.toInt": "Převést na celé číslo",
"datagrid.macros.toIntDescription": "Převede na celé číslo",
"datagrid.macros.toNumber": "Převést na číslo",
"datagrid.macros.toNumberDescription": "Převede na číslo",
"datagrid.macros.toString": "Převést na text",
"datagrid.macros.toStringDescription": "Převede na text",
"datagrid.macros.trim": "Oříznout",
"datagrid.macros.trimDescription": "Odstraní mezery na začátku a konci",
"datagrid.macros.uuidv1": "V1 - z časového razítka",
"datagrid.macros.uuidv4": "V4 - náhodně generované",
"datagrid.macros.version": "Verze",
"datagrid.macros.yearName": "Název roku",
"datagrid.searchMacros": "Hledat makra",
"error.driverNotFound": "Neplatné připojení k databázi, ovladač nebyl nalezen",
"error.selectedCloudConnection": "Vybrané připojení je z DbGate cloudu",
"error.selectedNotCloudConnection": "Vybrané připojení není z DbGate cloudu",
@@ -246,6 +329,25 @@
"importExport.importFromZipFile": "Importovat z ZIP souboru (v archivní složce)",
"importExport.sourceFiles": "Zdrojové soubory",
"importExport.tablesViewsCollections": "Tabulky / pohledy / kolekce",
"newObject.compareDescription": "Porovnat schémata databází",
"newObject.compareDisabled": "Porovnání databází není pro aktuální databázi k dispozici.",
"newObject.connectionLocal": "Připojení k databázi je uloženo lokálně",
"newObject.connectionLocalDisabled": "Nemáte oprávnění vytvářet npvá připojení",
"newObject.connectionOnCloudDescription": "Připojení k databázi je uloženo na DbGate Cloud",
"newObject.connectionOnCloudDisabled": "Pro vytváření připojení v DbGate cloudu nemáte oprávnění",
"newObject.databaseChatDescription": "Chatovat s databází pomocí AI",
"newObject.databaseChatDisabled": "Databázový chat není pro aktuální databázi k dispozici",
"newObject.erDiagramDescription": "Vizualizovat strukturu databáze",
"newObject.erDiagramDisabled": "ER Diagram není pro aktuální databázi k dispozici",
"newObject.exportDescription": "Exportovat do souboru jako CSV, JSON, Excel nebo jiné databáze",
"newObject.exportDisabled": "Export není pro aktuální databázi k dispozici",
"newObject.perspectiveDescription": "Propojte data z více databází",
"newObject.queryDesignerDescription": "Vizuálně navrhnout SQL dotazy",
"newObject.queryDesignerDisabled": "Návrhář dotazů není pro aktuální databázi k dispozici",
"newObject.sqlGeneratorDescription": "Vygenerovat SQL skripty pro databázové objekty",
"newObject.sqlGeneratorDisabled": "SQL generátor není pro aktuální databázi k dispozici",
"newObject.tableDescription": "Vytvořit tabulku v aktuální databázi",
"newObject.tableDisabled": "Vytvoření tabulky není pro aktuální databázi k dispozici",
"schema.add": "Přidat nové schéma",
"schema.createSchema": "Vytvořit schéma",
"schema.delete": "Odstranit schéma",

View File

@@ -48,17 +48,34 @@
"common.archive": "Archive (JSONL)",
"common.cancel": "Cancel",
"common.close": "Close",
"common.compare": "Compare database",
"common.connection": "Connection",
"common.connectionOnCloud": "Connection on Cloud",
"common.connections": "Connections",
"common.createNew": "Create new",
"common.database": "Database",
"common.databaseChat": "Database Chat",
"common.description": "Description",
"common.erDiagram": "ER Diagram",
"common.execute": "Execute",
"common.export": "Export",
"common.exportDatabase": "Export database",
"common.featurePremium": "This feature is available only in DbGate Premium",
"common.import": "Import",
"common.kill": "Kill",
"common.notSelectedOptional": "(not selected - optional)",
"common.parameters": "Parameters",
"common.perspective": "Perspective",
"common.query": "Query",
"common.queryDesigner": "Query Designer",
"common.queryEditor": "SQL query editor",
"common.refresh": "Refresh",
"common.save": "Save",
"common.saveToArchive": "Save to archive",
"common.schema": "Schema",
"common.searchBy": "Search by:",
"common.sqlGenerator": "SQL Generator",
"common.table": "Table",
"connection.accessKeyId": "Access Key ID",
"connection.allowedDatabases": "Allowed databases, one per line",
"connection.allowedDatabasesRegex": "Allowed databases regular expression",
@@ -124,10 +141,18 @@
"connection.ssl.use": "Use SSL",
"connection.trustServerCertificate": "Trust server certificate",
"connection.type": "Connection type",
"connection.useSeparateSchemas": "Use schemas separately (use this if you have many large schemas)",
"connection.useUrl": "Use database URL",
"connection.user": "User",
"connection.viewDetails": "View details",
"connection.windowsDomain": "Domain (specify to use NTLM authentication)",
"dataGrid.columns": "Columns",
"dataGrid.filters": "Filters",
"dataGrid.macros": "Macros",
"dataGrid.multiColumnFilter": "Multi column filter",
"dataGrid.references": "References",
"dataGrid.referencesTables": "References tables",
"dataGrid.searchReferences": "Search references",
"database.backup": "Backup #",
"database.compare": "Compare",
"database.copyDatabaseName": "Copy database name",
@@ -159,6 +184,64 @@
"database.shellTitle": "Shell #",
"database.showDiagram": "Show diagram",
"database.sqlGenerator": "SQL Generator",
"datagrid.macros.calculation": "Calculation",
"datagrid.macros.calculationDescription": "Custom expression. Use row.column_name for accessing column values, value for original value",
"datagrid.macros.changeTextCase": "Change text case",
"datagrid.macros.changeTextCaseDescription": "Uppercase, lowercase and other case functions",
"datagrid.macros.changeTextCaseType": "Type",
"datagrid.macros.currentDate": "Current date",
"datagrid.macros.currentDateDescription": "Gets current date",
"datagrid.macros.dayName": "Day name",
"datagrid.macros.delimiter": "Delimiter",
"datagrid.macros.detail": "Macro detail",
"datagrid.macros.duplicateColumns": "Duplicate columns",
"datagrid.macros.duplicateColumnsDescription": "Duplicate selected columns",
"datagrid.macros.expression": "Expression",
"datagrid.macros.extractDateFields": "Extract date fields",
"datagrid.macros.extractDateFieldsDescription": "Extract year, month, day and other date/time fields from selection and adds it as new columns",
"datagrid.macros.format": "Format",
"datagrid.macros.generateUUID": "Generate UUID",
"datagrid.macros.generateUUIDDescription": "Generate unique identifier",
"datagrid.macros.hourName": "Hour name",
"datagrid.macros.minuteName": "Minute name",
"datagrid.macros.monthName": "Month name",
"datagrid.macros.noParameters": "This macro has no parameters",
"datagrid.macros.padCharacter": "Character",
"datagrid.macros.padLeft": "Pad left",
"datagrid.macros.padLeftDescription": "Returns string of a specified length in which the beginning of the current string is padded with spaces or other character",
"datagrid.macros.padLength": "Length",
"datagrid.macros.padRight": "Pad right",
"datagrid.macros.padRightDescription": "Returns string of a specified length in which the end of the current string is padded with spaces or other character",
"datagrid.macros.postfix": "Postfix",
"datagrid.macros.prefix": "Prefix",
"datagrid.macros.removeDiacritics": "Remove diacritics",
"datagrid.macros.removeDiacriticsDescription": "Removes diacritics from selected cells",
"datagrid.macros.rowIndex": "Row index",
"datagrid.macros.rowIndexDescription": "Index of row from 1 (autoincrement)",
"datagrid.macros.searchReplaceText": "Search & replace text",
"datagrid.macros.searchReplaceTextCaseSensitive": "Case sensitive",
"datagrid.macros.searchReplaceTextDescription": "Search & replace text or regular expression",
"datagrid.macros.searchReplaceTextFind": "Find",
"datagrid.macros.searchReplaceTextIsRegex": "Regular expression",
"datagrid.macros.searchReplaceTextReplaceWith": "Replace with",
"datagrid.macros.secondName": "Second name",
"datagrid.macros.splitColumns": "Split columns",
"datagrid.macros.splitColumnsDescription": "Split selected columns",
"datagrid.macros.toBoolean": "Convert to boolean",
"datagrid.macros.toBooleanDescription": "Converts to boolean",
"datagrid.macros.toInt": "Convert to integer",
"datagrid.macros.toIntDescription": "Converts to integral number",
"datagrid.macros.toNumber": "Convert to number",
"datagrid.macros.toNumberDescription": "Converts to number",
"datagrid.macros.toString": "Convert to string",
"datagrid.macros.toStringDescription": "Converts to string",
"datagrid.macros.trim": "Trim",
"datagrid.macros.trimDescription": "Removes leading and trailing whitespace",
"datagrid.macros.uuidv1": "V1 - from timestamp",
"datagrid.macros.uuidv4": "V4 - random generated",
"datagrid.macros.version": "Version",
"datagrid.macros.yearName": "Year name",
"datagrid.searchMacros": "Search macros",
"error.driverNotFound": "Invalid database connection, driver not found",
"error.selectedCloudConnection": "Selected connection is from DbGate cloud",
"error.selectedNotCloudConnection": "Selected connection is not from DbGate cloud",
@@ -246,6 +329,25 @@
"importExport.importFromZipFile": "Import from ZIP file (in archive folder)",
"importExport.sourceFiles": "Source files",
"importExport.tablesViewsCollections": "Tables / views / collections",
"newObject.compareDescription": "Compare database schemas",
"newObject.compareDisabled": "Database comparison is not available for current database",
"newObject.connectionLocal": "Database connection stored locally",
"newObject.connectionLocalDisabled": "You are not allowed to create new connections",
"newObject.connectionOnCloudDescription": "Database connection stored on DbGate Cloud",
"newObject.connectionOnCloudDisabled": "For creating connections on DbGate Cloud, you need to be logged in",
"newObject.databaseChatDescription": "Chat with your database using AI",
"newObject.databaseChatDisabled": "Database chat is not available for current database",
"newObject.erDiagramDescription": "Visualize database structure",
"newObject.erDiagramDisabled": "ER Diagram is not available for current database",
"newObject.exportDescription": "Export to file like CSV, JSON, Excel, or other DB",
"newObject.exportDisabled": "Export is not available for current database",
"newObject.perspectiveDescription": "Join complex data from multiple databases",
"newObject.queryDesignerDescription": "Design SQL queries visually",
"newObject.queryDesignerDisabled": "Query Designer is not available for current database",
"newObject.sqlGeneratorDescription": "Generate SQL scripts for database objects",
"newObject.sqlGeneratorDisabled": "SQL Generator is not available for current database",
"newObject.tableDescription": "Create table in the current database",
"newObject.tableDisabled": "Table creation is not available for current database",
"schema.add": "Add new schema",
"schema.createSchema": "Create schema",
"schema.delete": "Delete schema",

View File

@@ -48,17 +48,34 @@
"common.archive": "Archivovať (JSONL)",
"common.cancel": "Zrušiť",
"common.close": "Zavrieť",
"common.compare": "Porovnať databázy",
"common.connection": "Pripojenie",
"common.connectionOnCloud": "Pripojenie na cloude",
"common.connections": "Pripojenia",
"common.createNew": "Vytvoriť",
"common.database": "Databáza",
"common.databaseChat": "Chat s databázou",
"common.description": "Popis",
"common.erDiagram": "ER Diagram",
"common.execute": "Spustiť",
"common.export": "Exportovať",
"common.exportDatabase": "Exportovať databázu",
"common.featurePremium": "Táto funkcia je k dispozícii iba v DbGate Premium",
"common.import": "Importovať",
"common.kill": "Ukončiť",
"common.notSelectedOptional": "(nezvolené - voliteľné)",
"common.parameters": "Parametre",
"common.perspective": "Perspektíva",
"common.query": "Dotaz",
"common.queryDesigner": "Návrhár dotazov",
"common.queryEditor": "Editor SQL dotazov",
"common.refresh": "Obnoviť",
"common.save": "Uložiť",
"common.saveToArchive": "Uložiť do archívu",
"common.schema": "Schéma",
"common.searchBy": "Hľadať podľa:",
"common.sqlGenerator": "SQL Generátor",
"common.table": "Tabuľka",
"connection.accessKeyId": "ID prístupového kľúča",
"connection.allowedDatabases": "Povolené databázy, jedna na riadok",
"connection.allowedDatabasesRegex": "Regulárny výraz pre povolené databázy",
@@ -124,10 +141,18 @@
"connection.ssl.use": "Použiť SSL",
"connection.trustServerCertificate": "Dôverovať certifikátu servera",
"connection.type": "Typ pripojenia",
"connection.useSeparateSchemas": "Používať schémy samostatne (použite, ak máte veľa veľkých schém)",
"connection.useUrl": "Použiť URL databázy",
"connection.user": "Používateľ",
"connection.viewDetails": "Zobraziť detaily",
"connection.windowsDomain": "Doména (zadajte pre použitie NTLM autentizácie)",
"dataGrid.columns": "Stĺpce",
"dataGrid.filters": "Filtre",
"dataGrid.macros": "Makrá",
"dataGrid.multiColumnFilter": "Filter viacerých stĺpcov",
"dataGrid.references": "Referencie",
"dataGrid.referencesTables": "Referencie na tabuľky",
"dataGrid.searchReferences": "Vyhľadať referencie",
"database.backup": "Záloha #",
"database.compare": "Porovnať",
"database.copyDatabaseName": "Kopírovať názov databázy",
@@ -159,6 +184,64 @@
"database.shellTitle": "Shell #",
"database.showDiagram": "Zobraziť",
"database.sqlGenerator": "SQL generátor",
"datagrid.macros.calculation": "Výpočet",
"datagrid.macros.calculationDescription": "Vlastný výraz. Použite row.column_name pre prístup k hodnotám stĺpcov, value pre pôvodnú hodnotu",
"datagrid.macros.changeTextCase": "Zmeniť veľkosť písmen",
"datagrid.macros.changeTextCaseDescription": "Funkcie pre veľké, malé a iné formáty písmen",
"datagrid.macros.changeTextCaseType": "Typ",
"datagrid.macros.currentDate": "Aktuálny dátum",
"datagrid.macros.currentDateDescription": "Získa aktuálny dátum",
"datagrid.macros.dayName": "Názov dňa",
"datagrid.macros.delimiter": "Oddeľovač",
"datagrid.macros.detail": "Detail makra",
"datagrid.macros.duplicateColumns": "Duplikovať stĺpce",
"datagrid.macros.duplicateColumnsDescription": "Duplikovať vybrané stĺpce",
"datagrid.macros.expression": "Výraz",
"datagrid.macros.extractDateFields": "Extrahovať polia dátumu",
"datagrid.macros.extractDateFieldsDescription": "Extrahuje rok, mesiac, deň a ďalšie dátumové/časové polia z výberu a pridá ich ako nové stĺpce",
"datagrid.macros.format": "Formát",
"datagrid.macros.generateUUID": "Generovať UUID",
"datagrid.macros.generateUUIDDescription": "Generovať unikátny identifikátor",
"datagrid.macros.hourName": "Názov hodiny",
"datagrid.macros.minuteName": "Názov minúty",
"datagrid.macros.monthName": "Názov mesiaca",
"datagrid.macros.noParameters": "Nemá žiadne parametre",
"datagrid.macros.padCharacter": "Znak",
"datagrid.macros.padLeft": "Doplniť zľava",
"datagrid.macros.padLeftDescription": "Vráti reťazec zadanej dĺžky, v ktorom je začiatok aktuálneho reťazca doplnený medzerami alebo iným znakom",
"datagrid.macros.padLength": "Dĺžka",
"datagrid.macros.padRight": "Doplniť sprava",
"datagrid.macros.padRightDescription": "Vráti reťazec zadanej dĺžky, v ktorom je koniec aktuálneho reťazca doplnený medzerami alebo iným znakom",
"datagrid.macros.postfix": "Prípona",
"datagrid.macros.prefix": "Predpona",
"datagrid.macros.removeDiacritics": "Odstrániť diakritiku",
"datagrid.macros.removeDiacriticsDescription": "Odstráni diakritiku z vybraných buniek",
"datagrid.macros.rowIndex": "Index riadku",
"datagrid.macros.rowIndexDescription": "Index riadku od 1 (automatické číslovanie)",
"datagrid.macros.searchReplaceText": "Nájsť a nahradiť text",
"datagrid.macros.searchReplaceTextCaseSensitive": "Rozlišovať veľkosť písmen",
"datagrid.macros.searchReplaceTextDescription": "Nájsť a nahradiť text alebo regulárny výraz",
"datagrid.macros.searchReplaceTextFind": "Nájsť",
"datagrid.macros.searchReplaceTextIsRegex": "Regulárny výraz",
"datagrid.macros.searchReplaceTextReplaceWith": "Nahradiť s",
"datagrid.macros.secondName": "Názov sekundy",
"datagrid.macros.splitColumns": "Rozdeliť stĺpce",
"datagrid.macros.splitColumnsDescription": "Rozdeliť vybrané stĺpce",
"datagrid.macros.toBoolean": "Previesť na boolean",
"datagrid.macros.toBooleanDescription": "Prevedie na boolean",
"datagrid.macros.toInt": "Previesť na celé číslo",
"datagrid.macros.toIntDescription": "Prevedie na celé číslo",
"datagrid.macros.toNumber": "Previesť na číslo",
"datagrid.macros.toNumberDescription": "Prevedie na číslo",
"datagrid.macros.toString": "Previesť na reťazec",
"datagrid.macros.toStringDescription": "Prevedie na reťazec",
"datagrid.macros.trim": "Orezať",
"datagrid.macros.trimDescription": "Odstráni medzery na začiatku a konci",
"datagrid.macros.uuidv1": "V1 - z časovej značky",
"datagrid.macros.uuidv4": "V4 - náhodne vygenerované",
"datagrid.macros.version": "Verzia",
"datagrid.macros.yearName": "Názov roka",
"datagrid.searchMacros": "Vyhľadať makrá",
"error.driverNotFound": "Neplatné pripojenie k databáze, ovládač nenájdený",
"error.selectedCloudConnection": "Vybrané pripojenie je z DbGate cloudu",
"error.selectedNotCloudConnection": "Vybrané pripojenie nie je z DbGate cloudu",
@@ -246,6 +329,25 @@
"importExport.importFromZipFile": "Importovať zo ZIP súboru (v archívnej zložke)",
"importExport.sourceFiles": "Zdrojové súbory",
"importExport.tablesViewsCollections": "Tabuľky / pohľady / kolekcie",
"newObject.compareDescription": "Porovnať schémy databáz",
"newObject.compareDisabled": "Porovnávanie databáz nie je k dispozícii pre aktuálnu databázu",
"newObject.connectionLocal": "Pripojenie databázy uložené lokálne",
"newObject.connectionLocalDisabled": "Nie ste oprávnení vytvárať nové pripojenia",
"newObject.connectionOnCloudDescription": "Pripojenie databázy uložené na DbGate Cloud",
"newObject.connectionOnCloudDisabled": "Na vytvorenie pripojení na DbGate Cloud sa musíte prihlásiť",
"newObject.databaseChatDescription": "Chat s vašou databázou pomocou AI",
"newObject.databaseChatDisabled": "Chat s databázou nie je k dispozícii pre aktuálnu databázu",
"newObject.erDiagramDescription": "Vizualizovať štruktúru databázy",
"newObject.erDiagramDisabled": "ER Diagram nie je k dispozícii pre aktuálnu databázu",
"newObject.exportDescription": "Exportovať do súboru ako CSV, JSON, Excel alebo inej DB",
"newObject.exportDisabled": "Export nie je k dispozícii pre aktuálnu databázu",
"newObject.perspectiveDescription": "Spojiť údaje z viacerých databáz",
"newObject.queryDesignerDescription": "Navrhnúť SQL dotazy vizuálne",
"newObject.queryDesignerDisabled": "Návrhár dotazov nie je k dispozícii pre aktuálnu databázu",
"newObject.sqlGeneratorDescription": "Generovať SQL skripty pre objekty databázy",
"newObject.sqlGeneratorDisabled": "SQL Generátor nie je k dispozícii pre aktuálnu databázu",
"newObject.tableDescription": "Vytvoriť tabuľku v aktuálnej databáze",
"newObject.tableDisabled": "Vytvorenie tabuľky nie je k dispozícii pre aktuálnu databázu",
"schema.add": "Pridať novú schému",
"schema.createSchema": "Vytvoriť schému",
"schema.delete": "Odstrániť schému",