translation - settings, menu

This commit is contained in:
Stela Augustinova
2025-11-14 17:03:54 +01:00
committed by SPRINX0\prochazka
parent 7bb9414be8
commit edf9f3a2be
11 changed files with 77 additions and 23 deletions

View File

@@ -2,6 +2,7 @@
import { commandsCustomized, currentDropDownMenu } from '../stores';
import { prepareMenuItems } from '../utility/contextMenu';
import DropDownMenu from './DropDownMenu.svelte';
import { _t } from '../translations';
export let items;
@@ -37,7 +38,7 @@
}
}}
>
{item.text || item.label}
{item.text || _t(item.label.id, item.label.defaultMessage)}
</div>
{/each}
</div>