From aff4841738c2dfbada8b824385fe3b61c0ee2d98 Mon Sep 17 00:00:00 2001 From: Skully Date: Thu, 5 Sep 2024 18:09:18 +0200 Subject: [PATCH 1/3] Fix broken translation key for AddEntry menu --- source/renderer/components/vault/AddEntry.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/renderer/components/vault/AddEntry.tsx b/source/renderer/components/vault/AddEntry.tsx index f4deccbd..8d3f6761 100644 --- a/source/renderer/components/vault/AddEntry.tsx +++ b/source/renderer/components/vault/AddEntry.tsx @@ -12,7 +12,7 @@ const AddEntry = ({ disabled }) => { {entryTypes.map(entryType => ( onAddEntry(entryType.type || defaultEntryType)} From 44842d5e73114f845feff142e9082fc66b65c752 Mon Sep 17 00:00:00 2001 From: Skully Date: Thu, 5 Sep 2024 20:35:31 +0200 Subject: [PATCH 2/3] Fix of other broken translation key --- source/renderer/components/vault/EntryDetails.tsx | 2 +- source/renderer/components/vault/GroupsList.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/renderer/components/vault/EntryDetails.tsx b/source/renderer/components/vault/EntryDetails.tsx index b60e0af2..459fc1d0 100644 --- a/source/renderer/components/vault/EntryDetails.tsx +++ b/source/renderer/components/vault/EntryDetails.tsx @@ -443,7 +443,7 @@ const Attachments = ({ {deletingAttachment && (
- {t("attachments.confirm.delete-prompt-title", { + {t("vault-ui.attachments.confirm.delete-prompt-title", { title: deletingAttachment?.name })}
diff --git a/source/renderer/components/vault/GroupsList.tsx b/source/renderer/components/vault/GroupsList.tsx index 4c135487..cf7c885e 100644 --- a/source/renderer/components/vault/GroupsList.tsx +++ b/source/renderer/components/vault/GroupsList.tsx @@ -136,7 +136,7 @@ export const GroupsList = () => { {parentNode && ( moveGroupToGroup(selectedGroupID, parentNode.id)} From ad710ac9db6d9480ac410f8e621a34ce15301ac6 Mon Sep 17 00:00:00 2001 From: Skully Date: Thu, 5 Sep 2024 20:48:45 +0200 Subject: [PATCH 3/3] Other broken translation key --- source/renderer/actions/format.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/renderer/actions/format.ts b/source/renderer/actions/format.ts index 0ea90dd5..a408f8da 100644 --- a/source/renderer/actions/format.ts +++ b/source/renderer/actions/format.ts @@ -14,12 +14,12 @@ export async function convertVaultToFormat( const converted = await ipcRenderer.invoke("convert-vault-format", sourceID, format); if (!converted) { logWarn(`Unable to convert vault forrmat: ${sourceID} (${format})`); - showWarning(t("vault-format-upgrade-failed")); + showWarning(t("notification.error.vault-format-upgrade-failed")); return; } } catch (err) { showError( - `${t("vault-format-upgrade-failed")}: ${ + `${t("notification.error.vault-format-upgrade-failed")}: ${ err?.message ?? t("notification.error.unknown-error") }` );