mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 16:06:01 +00:00
electron menu translation WIP
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
function _t(key, { defaultMessage }) {
|
||||
return global.TRANSLATION_DATA?.[key] || defaultMessage;
|
||||
}
|
||||
|
||||
module.exports = ({ editMenu, isMac }) => [
|
||||
{
|
||||
label: 'File',
|
||||
label: _t('app.databaseName', { defaultMessage: 'DB NAME' }),
|
||||
submenu: [
|
||||
{ command: 'new.connection', hideDisabled: true },
|
||||
{ command: 'new.sqliteDatabase', hideDisabled: true },
|
||||
|
||||
Reference in New Issue
Block a user