add toasts keys i18n

This commit is contained in:
SimonOriginal
2024-06-24 18:09:45 +02:00
parent 3d1de6144e
commit 665f87e84a
41 changed files with 191 additions and 6 deletions

View File

@@ -37,7 +37,7 @@
changes: [{ from: 0, to: codeEditor.state.doc.length, insert: formattedCode }]
});
toast.success('Code formatted successfully');
toast.success($i18n.t('Code formatted successfully'));
return true;
}
return false;