Skip to content

Commit

Permalink
Merge pull request #1373 from skullysmods/master
Browse files Browse the repository at this point in the history
Fix broken translation key
  • Loading branch information
perry-mitchell authored Sep 8, 2024
2 parents 9ccbd99 + ad710ac commit 7ca0126
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions source/renderer/actions/format.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}`
);
Expand Down
2 changes: 1 addition & 1 deletion source/renderer/components/vault/AddEntry.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const AddEntry = ({ disabled }) => {
{entryTypes.map(entryType => (
<MenuItem
key={entryType.type}
text={t(`entry-type.title.${entryType.type}`)}
text={t(`vault-ui.entry-type.title.${entryType.type}`)}
icon={entryType.icon}
label={entryType.default ? t("vault-ui.entry-type.default-label") : undefined}
onClick={() => onAddEntry(entryType.type || defaultEntryType)}
Expand Down
2 changes: 1 addition & 1 deletion source/renderer/components/vault/EntryDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ const Attachments = ({
{deletingAttachment && (
<Fragment>
<div className={Classes.DIALOG_HEADER}>
{t("attachments.confirm.delete-prompt-title", {
{t("vault-ui.attachments.confirm.delete-prompt-title", {
title: deletingAttachment?.name
})}
</div>
Expand Down
2 changes: 1 addition & 1 deletion source/renderer/components/vault/GroupsList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export const GroupsList = () => {
{parentNode && (
<Fragment>
<MenuItem
text={t("group-menu.move-to-parent", { group: parentNode.label })}
text={t("vault-ui.group-menu.move-to-parent", { group: parentNode.label })}
key={parentNode.id}
icon={parentNode.icon}
onClick={() => moveGroupToGroup(selectedGroupID, parentNode.id)}
Expand Down

0 comments on commit 7ca0126

Please sign in to comment.