Merge pull request #1252 from dbgate/feature/translation2

Feature/translation2
This commit is contained in:
Jan Prochazka
2025-11-11 08:50:22 +01:00
committed by GitHub
47 changed files with 1073 additions and 383 deletions

View File

@@ -44,7 +44,7 @@
<WidgetColumnBarItem
title={driver?.databaseEngineTypes?.includes('document')
? (driver?.collectionPluralLabel ?? 'Collections/containers')
? _t('widget.collectionsContainers', { defaultMessage: 'Collections/containers' })
: _t('widget.tablesViewsFunctions', { defaultMessage: 'Tables, views, functions' })}
name="dbObjects"
storageName="dbObjectsWidget"

View File

@@ -205,7 +205,7 @@
{#if driver?.databaseEngineTypes?.includes('document')}
<div class="m-1" />
<InlineButton on:click={() => runCommand('new.collection')}
>New {driver?.collectionSingularLabel ?? 'collection/container'}</InlineButton
>{_t('sqlObject.newCollection', { defaultMessage: 'New collection/container'})}</InlineButton
>
{/if}
</WidgetsInnerContainer>