fixed translations set during module startup - use __t

This commit is contained in:
SPRINX0\prochazka
2025-10-30 10:37:06 +01:00
parent 70284ac440
commit 9884ace309
5 changed files with 23 additions and 10 deletions

View File

@@ -10,8 +10,8 @@ export interface GlobalCommand {
id: string;
category: string; // null for group commands
isGroupCommand?: boolean;
name: string;
text?: string /* category: name */;
name: string | (() => string);
text?: string | (() => string);
keyText?: string;
keyTextFromGroup?: string; // automatically filled from group
group?: string;
@@ -27,7 +27,7 @@ export interface GlobalCommand {
menuName?: string;
toolbarOrder?: number;
disableHandleKeyText?: string;
isRelatedToTab?: boolean,
isRelatedToTab?: boolean;
systemCommand?: boolean;
}