chore: localization improvements (#3213)

* localization improvements

* typo fix

* fix linting error
This commit is contained in:
imikod
2024-04-12 03:35:14 +03:00
committed by GitHub
parent 755d5b83c6
commit 257b8add8c
9 changed files with 26 additions and 12 deletions

View File

@ -97,7 +97,7 @@ const MemoActionMenu = (props: Props) => {
dialogName: "delete-memo-dialog",
onConfirm: async () => {
await memoStore.deleteMemo(memo.name);
toast.success("Deleted successfully");
toast.success(t("message.deleted-successfully"));
if (isInMemoDetailPage) {
navigateTo("/");
}