Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update field history modal title translation

Leendert de Borsta0953f897b99
diff --git a/apps/browser-extension/src/entrypoints/popup/components/Items/Details/FieldHistoryModal.tsx b/apps/browser-extension/src/entrypoints/popup/components/Items/Details/FieldHistoryModal.tsx
index f367f143f..56305d9f0 100644
--- a/apps/browser-extension/src/entrypoints/popup/components/Items/Details/FieldHistoryModal.tsx
+++ b/apps/browser-extension/src/entrypoints/popup/components/Items/Details/FieldHistoryModal.tsx
@@ -121,7 +121,7 @@ const FieldHistoryModal: React.FC<FieldHistoryModalProps> = ({
<ModalWrapper
isOpen={isOpen}
onClose={onClose}
- title={`${fieldLabel} ${t('items.history')}`}
+ title={t('items.fieldHistory.title', { field: fieldLabel })}
maxWidth="max-w-2xl"
bodyClassName="px-4 pb-4 pt-4 overflow-y-auto max-h-[60vh]"
>
diff --git a/apps/mobile-app/components/items/FieldHistoryModal.tsx b/apps/mobile-app/components/items/FieldHistoryModal.tsx
index be53b2763..023a95512 100644
--- a/apps/mobile-app/components/items/FieldHistoryModal.tsx
+++ b/apps/mobile-app/components/items/FieldHistoryModal.tsx
@@ -346,7 +346,7 @@ const FieldHistoryModal: React.FC<FieldHistoryModalProps> = ({
<ModalWrapper
isOpen={isOpen}
onClose={onClose}
- title={`${fieldLabel} ${t('items.history')}`}
+ title={t('items.fieldHistory.title', { field: fieldLabel })}
scrollable
maxScrollHeight={400}
footer={footer}
diff --git a/apps/web/src/components/items/FieldHistoryModal.tsx b/apps/web/src/components/items/FieldHistoryModal.tsx
index d15766e57..c480bdcef 100644
--- a/apps/web/src/components/items/FieldHistoryModal.tsx
+++ b/apps/web/src/components/items/FieldHistoryModal.tsx
@@ -78,7 +78,7 @@ const FieldHistoryModal: React.FC<FieldHistoryModalProps> = ({ item, fieldKey, f
<div className="p-4 border-b border-gray-200 dark:border-gray-700">
<div className="flex items-center justify-between">
<h2 className="text-xl font-bold text-gray-900 dark:text-white">
- {t('items.history')} - {fieldLabel}
+ {t('items.fieldHistory.title', { field: fieldLabel })}
</h2>
<button type="button" onClick={onClose} className="text-gray-400 hover:text-gray-500 dark:hover:text-gray-300" title={t('common.close')} aria-label={t('common.close')}>
<Icon name="x" className="h-6 w-6" />
diff --git a/core/i18n/hints.json b/core/i18n/hints.json
index 5f56c0a5f..3698afee9 100644
--- a/core/i18n/hints.json
+++ b/core/i18n/hints.json
@@ -282,6 +282,7 @@
"items.excludedCharsDescription": "Help text under the password generator field where the user types characters that must never appear in generated passwords; keep the example characters as-is",
"items.excludedCharsLabel": "Label of the password generator text field for characters that must never appear in generated passwords",
"items.fieldHistory.deleteConfirm": "Delete confirmation text",
+ "items.fieldHistory.title": "Title of the field change history dialog. {{field}} is a field name, e.g. 'Username' or a custom field label.",
"items.folders.deleteModal.deleteFolderAndContentsDescription": "Description for delete folder and contents option. {0} is item count.",
"items.folders.deleteModal.deleteFolderAndContentsTitle": "Title for delete folder and contents option",
"items.folders.deleteModal.deleteFolderDescription": "Description for delete folder modal. {0} is the folder name.",
diff --git a/core/i18n/locales/en.json b/core/i18n/locales/en.json
index a10127f8a..4950ffc73 100644
--- a/core/i18n/locales/en.json
+++ b/core/i18n/locales/en.json
@@ -688,7 +688,8 @@
"excludedCharsDescription": "Generated passwords will never contain these characters.",
"excludedCharsLabel": "Exclude characters",
"fieldHistory": {
- "deleteConfirm": "Are you sure?"
+ "deleteConfirm": "Are you sure?",
+ "title": "{{field}} history"
},
"fileSavedTo": "File saved to",
"filters": {
@@ -727,7 +728,6 @@
"hasAttachments": "Has attachments",
"hasPasskey": "Has passkey",
"hasTotp": "Has 2FA code",
- "history": "History",
"home": {
"alphabeticalOption": "Alphabetical",
"createFirstItemManuallyText": "Create your first vault item manually.",