Start workin on i18n

This commit is contained in:
MassiveBox 2025-04-20 22:16:48 +02:00
parent 3a05d36f8c
commit f35342a791
Signed by: massivebox
GPG key ID: 9B74D3A59181947D
4 changed files with 35 additions and 18 deletions

View file

@ -43,7 +43,7 @@ export default class DrawJSPlugin extends Plugin {
if (ids === null) return;
e.detail.menu.addItem({
icon: "iconDraw",
label: "Edit with js-draw",
label: this.i18n.editDrawing,
click: () => {
void this.analytics.sendEvent('edit');
new EditorManager(ids.fileID, this.config.getDefaultEditorOptions()).open(this);