lang texts

This commit is contained in:
SPRINX0\prochazka
2025-11-28 15:37:34 +01:00
parent c3ea155a7b
commit 74fde66b51

View File

@@ -161,28 +161,28 @@ export function getDatabasStatusMenu(dbid) {
} }
return [ return [
{ {
text: 'Refresh DB structure (incremental)', text: _t('command.database.refreshIncremental', { defaultMessage: 'Refresh DB structure (incremental)' }),
onClick: () => { onClick: () => {
apiCall('database-connections/sync-model', dbid); apiCall('database-connections/sync-model', dbid);
callSchemalListChanged(); callSchemalListChanged();
}, },
}, },
{ {
text: 'Refresh DB structure (full)', text: _t('command.database.refreshFull', { defaultMessage: 'Refresh DB structure (full)' }),
onClick: () => { onClick: () => {
apiCall('database-connections/sync-model', { ...dbid, isFullRefresh: true }); apiCall('database-connections/sync-model', { ...dbid, isFullRefresh: true });
callSchemalListChanged(); callSchemalListChanged();
}, },
}, },
{ {
text: 'Reopen connection', text: _t('command.database.reopenConnection', { defaultMessage: 'Reopen connection' }),
onClick: () => { onClick: () => {
apiCall('database-connections/refresh', dbid); apiCall('database-connections/refresh', dbid);
callSchemalListChanged(); callSchemalListChanged();
}, },
}, },
{ {
text: 'Disconnect', text: _t('command.database.disconnect', { defaultMessage: 'Disconnect' }),
onClick: () => { onClick: () => {
const electron = getElectron(); const electron = getElectron();
if (electron) apiCall('database-connections/disconnect', dbid); if (electron) apiCall('database-connections/disconnect', dbid);