translation-commands

This commit is contained in:
Stela Augustinova
2025-11-10 16:14:32 +01:00
parent 9ee0b32cac
commit 167aaa8491
25 changed files with 688 additions and 249 deletions

View File

@@ -18,7 +18,7 @@
registerCommand({
id: 'shell.copyNodeScript',
category: 'Shell',
name: 'Copy nodejs script',
name: __t('command.shell.copyNodeScript', { defaultMessage: 'Copy nodejs script' }),
testEnabled: () => getCurrentEditor() != null,
onClick: () => getCurrentEditor().copyNodeScript(),
});
@@ -49,6 +49,7 @@
import { showSnackbarError } from '../utility/snackbar';
import useEffect from '../utility/useEffect';
import useTimerLabel from '../utility/useTimerLabel';
import { __t } from '../translations';
export let tabid;