translation-db object

This commit is contained in:
Stela Augustinova
2025-11-10 13:38:09 +01:00
parent d14ffcb736
commit 9ee0b32cac
12 changed files with 223 additions and 66 deletions

View File

@@ -446,8 +446,7 @@ await dbgateApi.executeQuery(${JSON.stringify(
driver?.databaseEngineTypes?.includes('document') && {
onClick: handleNewCollection,
text: _t('database.newCollection', {
defaultMessage: 'New {collectionLabel}',
values: { collectionLabel: driver?.collectionSingularLabel ?? 'collection/container' },
defaultMessage: 'New collection/container'
}),
},
hasPermission(`dbops/query`) &&