Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Remove duplicate translation strings (#1404)
Leendert de Borst3c4fdb6f3e41
diff --git a/apps/browser-extension/src/entrypoints/contentScript/Popup.ts b/apps/browser-extension/src/entrypoints/contentScript/Popup.tsindex 056b4925c..c31f7d599 100644--- a/apps/browser-extension/src/entrypoints/contentScript/Popup.ts+++ b/apps/browser-extension/src/entrypoints/contentScript/Popup.ts@@ -955,15 +955,15 @@ export async function createAliasCreationPopup(suggestedNames: string[], rootConconst manualUsernamePasswordSubtextDropdown = await t('content.manualCredentialDescriptionDropdown');// Get all translated strings first- const serviceNameText = await t('content.serviceName');+ const serviceNameText = await t('common.serviceName');const enterServiceNameText = await t('content.enterServiceName');- const cancelText = await t('content.cancel');+ const cancelText = await t('common.cancel');const createAndSaveAliasText = await t('content.createAndSaveAlias');- const emailText = await t('content.email');+ const emailText = await t('common.email');const enterEmailAddressText = await t('content.enterEmailAddress');- const usernameText = await t('content.username');+ const usernameText = await t('common.username');const enterUsernameText = await t('content.enterUsername');- const passwordText = await t('content.password');+ const passwordText = await t('common.password');const generateNewPasswordText = await t('content.generateNewPassword');const togglePasswordVisibilityText = await t('content.togglePasswordVisibility');const createAndSaveCredentialText = await t('content.createAndSaveCredential');diff --git a/apps/browser-extension/src/entrypoints/popup/App.tsx b/apps/browser-extension/src/entrypoints/popup/App.tsxindex 34a496ef0..52df24305 100644--- a/apps/browser-extension/src/entrypoints/popup/App.tsx+++ b/apps/browser-extension/src/entrypoints/popup/App.tsx@@ -183,7 +183,7 @@ const App: React.FC = () => {{ path: '/unlock', element: <Unlock />, showBackButton: false, layout: LayoutType.AUTH },{ path: '/unlock-success', element: <UnlockSuccess />, showBackButton: false },{ path: '/upgrade', element: <Upgrade />, showBackButton: false },- { path: '/auth-settings', element: <AuthSettings />, showBackButton: true, title: t('settings.title') },+ { path: '/auth-settings', element: <AuthSettings />, showBackButton: true, title: t('common.settings') },{ path: '/items', element: <ItemsList />, showBackButton: false },{ path: '/items/folder/:folderId', element: <ItemsList />, showBackButton: true, title: t('items.title') },{ path: '/items/select-type', element: <ItemTypeSelector />, showBackButton: true, title: t('itemTypes.selectType') },diff --git a/apps/browser-extension/src/entrypoints/popup/components/Credentials/Details/FieldBlock.tsx b/apps/browser-extension/src/entrypoints/popup/components/Credentials/Details/FieldBlock.tsxindex 22d08a3f6..0362772b9 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Credentials/Details/FieldBlock.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Credentials/Details/FieldBlock.tsx@@ -91,7 +91,7 @@ const FieldBlock: React.FC<FieldBlockProps> = ({ field, itemId, hideLabel = falstype="button"onClick={() => setShowHistoryModal(true)}className="ml-2 inline-flex items-center text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-200 focus:outline-none"- title={t('credentials.viewHistory')}+ title={t('items.viewHistory')}><svg className="h-4 w-4" fill="none" viewBox="0 0 24 24" strokeWidth="1.5" stroke="currentColor"><path strokeLinecap="round" strokeLinejoin="round" d="M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z" />diff --git a/apps/browser-extension/src/entrypoints/popup/components/Credentials/Details/FieldHistoryModal.tsx b/apps/browser-extension/src/entrypoints/popup/components/Credentials/Details/FieldHistoryModal.tsxindex d73838595..4b9de1a8f 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Credentials/Details/FieldHistoryModal.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Credentials/Details/FieldHistoryModal.tsx@@ -90,7 +90,7 @@ const FieldHistoryModal: React.FC<FieldHistoryModalProps> = ({<ModalWrapperisOpen={isOpen}onClose={onClose}- title={`${fieldLabel} ${t('credentials.history')}`}+ title={`${fieldLabel} ${t('items.history')}`}maxWidth="max-w-2xl"bodyClassName="px-4 pb-4 overflow-y-auto max-h-[60vh]">@@ -100,7 +100,7 @@ const FieldHistoryModal: React.FC<FieldHistoryModalProps> = ({</div>) : history.length === 0 ? (<div className="text-center py-8 text-gray-500 dark:text-gray-400">- {t('credentials.noHistoryAvailable')}+ {t('items.noHistoryAvailable')}</div>) : (<div className="space-y-3">diff --git a/apps/browser-extension/src/entrypoints/popup/components/Dialogs/PasskeyBypassDialog.tsx b/apps/browser-extension/src/entrypoints/popup/components/Dialogs/PasskeyBypassDialog.tsxindex 86cacbef6..fd5a21e59 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Dialogs/PasskeyBypassDialog.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Dialogs/PasskeyBypassDialog.tsx@@ -26,7 +26,7 @@ const PasskeyBypassDialog: React.FC<PasskeyBypassDialogProps> = ({<ModalWrapperisOpen={isOpen}onClose={onCancel}- title={t('passkeys.bypass.title')}+ title={t('passkeys.useBrowserPasskey')}showCloseButton={true}><p className="text-sm text-gray-600 dark:text-gray-400 mb-6">diff --git a/apps/browser-extension/src/entrypoints/popup/components/Forms/EmailDomainField.tsx b/apps/browser-extension/src/entrypoints/popup/components/Forms/EmailDomainField.tsxindex faca52ee0..5dde0c28c 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Forms/EmailDomainField.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Forms/EmailDomainField.tsx@@ -10,18 +10,12 @@ type EmailDomainFieldProps = {onChange: (value: string) => void;error?: string;required?: boolean;- /**- * When true, defaults to free text mode (custom domain) instead of domain chooser.- * Also changes the toggle button labels to "Generate alias email" / "Enter normal email".- */- defaultToFreeText?: boolean;/*** Callback to remove this field. When provided, shows an X button in the label.*/onRemove?: () => void;/**- * Callback to generate an alias email. When provided and defaultToFreeText is true,- * clicking "Generate alias email" will call this instead of just toggling mode.+ * Callback to generate an alias email. When provided, clicking "Generate alias email" will call this instead of just toggling mode.*/onGenerateAlias?: () => void;/**@@ -47,7 +41,6 @@ const EmailDomainField: React.FC<EmailDomainFieldProps> = ({onChange,error,required = false,- defaultToFreeText = false,onRemove,onGenerateAlias,isEmailMode,@@ -58,7 +51,7 @@ const EmailDomainField: React.FC<EmailDomainFieldProps> = ({// Support both controlled and uncontrolled modesconst isControlled = isEmailMode !== undefined;- const [internalIsCustomDomain, setInternalIsCustomDomain] = useState(defaultToFreeText);+ const [internalIsCustomDomain, setInternalIsCustomDomain] = useState(true);// Use controlled value if provided, otherwise use internal stateconst isCustomDomain = isControlled ? isEmailMode : internalIsCustomDomain;@@ -231,14 +224,9 @@ const EmailDomainField: React.FC<EmailDomainFieldProps> = ({if (newIsCustom) {/** Switching to custom domain mode (free text / normal email)- * If defaultToFreeText is true (Login type), clear the field so user can enter their own email- * Otherwise, extract just the local part from the domain-based value+ * Extract just the local part from the domain-based value*/- if (defaultToFreeText) {- // Clear the field for Login type - user wants to enter their own email- onChange('');- setLocalPart('');- } else if (value && value.includes('@')) {+ if (value && value.includes('@')) {const [local] = value.split('@');onChange(local);setLocalPart(local);@@ -258,7 +246,7 @@ const EmailDomainField: React.FC<EmailDomainFieldProps> = ({onChange(`${value}@${defaultDomain}`);}}- }, [isCustomDomain, value, localPart, showPrivateDomains, publicEmailDomains, privateEmailDomains, onChange, defaultToFreeText, setIsCustomDomain]);+ }, [isCustomDomain, value, localPart, showPrivateDomains, publicEmailDomains, privateEmailDomains, onChange, setIsCustomDomain]);// Handle clicks outside the popupuseEffect(() => {@@ -295,40 +283,32 @@ const EmailDomainField: React.FC<EmailDomainFieldProps> = ({<div className="space-y-2"><div className="flex items-center justify-between"><div className="flex items-center">- {/* Tab-style label switcher for defaultToFreeText mode */}- {defaultToFreeText ? (- <div className="flex items-center">- <button- type="button"- onClick={isCustomDomain ? undefined : toggleCustomDomain}- className={`text-sm font-medium transition-colors ${- isCustomDomain- ? 'text-gray-700 dark:text-gray-300'- : 'text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-400 cursor-pointer'- }`}- >- {t('credentials.email')}- </button>- <span className="mx-1.5 text-gray-400 dark:text-gray-500">/</span>- <button- type="button"- onClick={!isCustomDomain ? undefined : handleGenerateAliasClick}- className={`text-sm font-medium transition-colors ${- !isCustomDomain- ? 'text-gray-700 dark:text-gray-300'- : 'text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-400 cursor-pointer'- }`}- >- {t('credentials.alias')}- </button>- {required && <span className="text-red-500 ml-1">*</span>}- </div>- ) : (- <label htmlFor={id} className="block text-sm font-medium text-gray-700 dark:text-gray-300">- {label}- {required && <span className="text-red-500 ml-1">*</span>}- </label>- )}+ <div className="flex items-center">+ <button+ type="button"+ onClick={isCustomDomain ? undefined : toggleCustomDomain}+ className={`text-sm font-medium transition-colors ${+ isCustomDomain+ ? 'text-gray-700 dark:text-gray-300'+ : 'text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-400 cursor-pointer'+ }`}+ >+ {t('common.email')}+ </button>+ <span className="mx-1.5 text-gray-400 dark:text-gray-500">/</span>+ <button+ type="button"+ onClick={!isCustomDomain ? undefined : handleGenerateAliasClick}+ className={`text-sm font-medium transition-colors ${+ !isCustomDomain+ ? 'text-gray-700 dark:text-gray-300'+ : 'text-gray-400 dark:text-gray-500 hover:text-gray-600 dark:hover:text-gray-400 cursor-pointer'+ }`}+ >+ {t('common.alias')}+ </button>+ {required && <span className="text-red-500 ml-1">*</span>}+ </div></div>{onRemove && (<button@@ -436,20 +416,6 @@ const EmailDomainField: React.FC<EmailDomainFieldProps> = ({)}</div>- {/* Toggle custom domain button - only show for non-defaultToFreeText mode */}- {!defaultToFreeText && (- <div>- <button- type="button"- onClick={toggleCustomDomain}- className="text-sm text-primary-600 dark:text-primary-400 hover:text-primary-700 dark:hover:text-primary-300"- >- {isCustomDomain ? t('credentials.useDomainChooser') : t('credentials.enterCustomDomain')}- </button>- </div>- )}-- {/* Error message */}{error && (<p className="text-sm text-red-500 mt-1">{error}</p>)}diff --git a/apps/browser-extension/src/entrypoints/popup/components/Items/ItemNameInput.tsx b/apps/browser-extension/src/entrypoints/popup/components/Items/ItemNameInput.tsxindex 93dd894cd..08d4238e9 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Items/ItemNameInput.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Items/ItemNameInput.tsx@@ -65,7 +65,7 @@ const ItemNameInput: React.FC<ItemNameInputProps> = ({<><div><label htmlFor="itemName" className="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">- {t('credentials.itemName')} <span className="text-red-500">*</span>+ {t('items.itemName')} <span className="text-red-500">*</span></label><div className="relative flex items-center"><input@@ -74,7 +74,6 @@ const ItemNameInput: React.FC<ItemNameInputProps> = ({type="text"value={value}onChange={handleNameChange}- placeholder={t('credentials.itemName')}className={`w-full px-3 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm focus:outline-none focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:text-white ${selectedFolderId ? 'pr-28' : 'pr-10'}`}required/>diff --git a/apps/browser-extension/src/entrypoints/popup/components/Layout/BottomNav.tsx b/apps/browser-extension/src/entrypoints/popup/components/Layout/BottomNav.tsxindex ed25ed5a7..824ee6ae4 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Layout/BottomNav.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Layout/BottomNav.tsx@@ -94,7 +94,7 @@ const BottomNav: React.FC = () => {<path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" /><path strokeLinecap="round" strokeLinejoin="round" strokeWidth={2} d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" /></svg>- <span className="text-sm mt-1">{t('menu.settings')}</span>+ <span className="text-sm mt-1">{t('common.settings')}</span></button></div></div>diff --git a/apps/browser-extension/src/entrypoints/popup/components/Unlock/UsernameAvatar.tsx b/apps/browser-extension/src/entrypoints/popup/components/Unlock/UsernameAvatar.tsxindex 51751a201..e32119b5b 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Unlock/UsernameAvatar.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Unlock/UsernameAvatar.tsx@@ -22,7 +22,7 @@ const UsernameAvatar: React.FC = () => {{username}</p><p className="text-sm text-gray-500 dark:text-gray-400">- {t('auth.loggedIn')}+ {t('common.loggedIn')}</p></div>);diff --git a/apps/browser-extension/src/entrypoints/popup/pages/auth/Login.tsx b/apps/browser-extension/src/entrypoints/popup/pages/auth/Login.tsxindex af51f3922..12c9bb7e4 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/auth/Login.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/auth/Login.tsx@@ -453,7 +453,7 @@ const Login: React.FC = () => {</div><div className="mb-4"><label className="block text-gray-700 dark:text-gray-200 font-medium mb-2" htmlFor="password">- {t('auth.password')}+ {t('common.password')}</label><div className="relative"><inputdiff --git a/apps/browser-extension/src/entrypoints/popup/pages/auth/Unlock.tsx b/apps/browser-extension/src/entrypoints/popup/pages/auth/Unlock.tsxindex 6629e1ef3..7cb46e300 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/auth/Unlock.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/auth/Unlock.tsx@@ -670,7 +670,7 @@ const Unlock: React.FC = () => {)}<div className="text-center text-sm text-gray-500 dark:text-gray-400 mt-6">- {t('auth.switchAccounts')} <button type="button" onClick={handleLogout} className="text-primary-600 hover:text-primary-700 dark:text-primary-500 dark:hover:text-primary-400 hover:underline font-medium">{t('auth.logout')}</button>+ {t('auth.switchAccounts')} <button type="button" onClick={handleLogout} className="text-primary-600 hover:text-primary-700 dark:text-primary-500 dark:hover:text-primary-400 hover:underline font-medium">{t('common.logout')}</button></div></form></div>diff --git a/apps/browser-extension/src/entrypoints/popup/pages/auth/Upgrade.tsx b/apps/browser-extension/src/entrypoints/popup/pages/auth/Upgrade.tsxindex 6484f1708..34ffb4df4 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/auth/Upgrade.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/auth/Upgrade.tsx@@ -310,7 +310,7 @@ const Upgrade: React.FC = () => {className="text-red-500 hover:text-red-700 dark:text-red-400 dark:hover:text-red-300 text-sm font-medium py-2"disabled={isLoading}>- {t('upgrade.logout')}+ {t('common.logout')}</button></div></form>diff --git a/apps/browser-extension/src/entrypoints/popup/pages/credentials/ItemAddEdit.tsx b/apps/browser-extension/src/entrypoints/popup/pages/credentials/ItemAddEdit.tsxindex bca6b8490..37e97e665 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/credentials/ItemAddEdit.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/credentials/ItemAddEdit.tsx@@ -70,10 +70,6 @@ type PersistedFormData = {show2FA: boolean;showAttachments: boolean;manuallyAddedFields: string[];- /**- * Whether the login.email field is in "email" (free text) mode vs "alias" (domain chooser) mode.- * Only applicable for Login item type where defaultToFreeText is true.- */isLoginEmailInEmailMode?: boolean;};@@ -868,7 +864,7 @@ const ItemAddEdit: React.FC = () => {{isEditMode && (<HeaderButtononClick={() => setShowDeleteModal(true)}- title={t('credentials.deleteCredential')}+ title={t('items.deleteItemTitle')}iconType={HeaderIconType.DELETE}variant="danger"/>@@ -876,7 +872,7 @@ const ItemAddEdit: React.FC = () => {<HeaderButtonid="save-credential"onClick={handleSave}- title={t('credentials.saveCredential')}+ title={t('items.saveItem')}iconType={HeaderIconType.SAVE}/></div>@@ -1013,9 +1009,7 @@ const ItemAddEdit: React.FC = () => {case FieldTypes.Email:/** Use EmailDomainField for email fields to provide domain chooser functionality.- * For login.email (Login type), default to free text mode instead of domain chooser.* EmailDomainField handles its own remove button in the label, so don't wrap it.- * For login.email, use controlled mode to persist the email/alias toggle state.*/return (<EmailDomainField@@ -1023,11 +1017,10 @@ const ItemAddEdit: React.FC = () => {label={label}value={stringValue}onChange={(value) => handleFieldChange(fieldKey, value)}- defaultToFreeText={fieldKey === 'login.email'}onRemove={onRemove}- onGenerateAlias={fieldKey === 'login.email' ? handleGenerateAliasEmail : undefined}- isEmailMode={fieldKey === 'login.email' ? isLoginEmailInEmailMode : undefined}- onEmailModeChange={fieldKey === 'login.email' ? setIsLoginEmailInEmailMode : undefined}+ onGenerateAlias={handleGenerateAliasEmail}+ isEmailMode={isLoginEmailInEmailMode}+ onEmailModeChange={setIsLoginEmailInEmailMode}/>);@@ -1076,11 +1069,11 @@ const ItemAddEdit: React.FC = () => {const getCategoryTitle = useCallback((category: string): string => {switch (category) {case FieldCategories.Login:- return t('common.credentials');+ return t('items.loginCredentials');case FieldCategories.Alias:- return t('credentials.alias');+ return t('common.alias');case FieldCategories.Card:- return t('credentials.cardInformation');+ return t('items.cardInformation');default:return category;}@@ -1264,7 +1257,7 @@ const ItemAddEdit: React.FC = () => {{/* Notes Section */}{notesField && visibleFieldKeys.has('notes.content') && (<FormSection- title={t('credentials.notes')}+ title={t('common.notes')}actions={!shouldShowField(notesField) ? (<button@@ -1327,8 +1320,8 @@ const ItemAddEdit: React.FC = () => {<ModalisOpen={showDeleteModal}onClose={() => setShowDeleteModal(false)}- title={t('credentials.deleteItemTitle')}- message={t('credentials.deleteItemConfirm')}+ title={t('items.deleteItemTitle')}+ message={t('items.deleteItemConfirm')}confirmText={t('common.delete')}cancelText={t('common.cancel')}onConfirm={handleDelete}diff --git a/apps/browser-extension/src/entrypoints/popup/pages/credentials/ItemDetails.tsx b/apps/browser-extension/src/entrypoints/popup/pages/credentials/ItemDetails.tsxindex a90258243..c7d5677b4 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/credentials/ItemDetails.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/credentials/ItemDetails.tsx@@ -85,7 +85,7 @@ const ItemDetails: React.FC = (): React.ReactElement => {)}<HeaderButtononClick={handleEdit}- title={t('credentials.editCredential')}+ title={t('items.editItem')}iconType={HeaderIconType.EDIT}/></div>@@ -123,7 +123,7 @@ const ItemDetails: React.FC = (): React.ReactElement => {<ItemIcon item={item} className="w-12 h-12 rounded-lg" /><div><h1 className="text-lg font-bold text-gray-900 dark:text-white">- {item.Name || t('items.untitledItem')}+ {item.Name || t('items.untitled')}</h1>{/* Display URLs prominently below title */}{urlFields.length > 0 && (@@ -206,7 +206,7 @@ const ItemDetails: React.FC = (): React.ReactElement => {{groupedFields[FieldCategories.Alias] && groupedFields[FieldCategories.Alias].length > 0 && (<div className="space-y-2"><h2 className="text-xl font-semibold text-gray-900 dark:text-white">- {t('credentials.alias')}+ {t('common.alias')}</h2>{groupedFields[FieldCategories.Alias].map((field) => (<FieldBlock key={field.FieldKey} field={field} itemId={item.Id} />@@ -217,7 +217,7 @@ const ItemDetails: React.FC = (): React.ReactElement => {{groupedFields[FieldCategories.Card] && groupedFields[FieldCategories.Card].length > 0 && (<div className="space-y-2"><h2 className="text-xl font-semibold text-gray-900 dark:text-white">- {t('credentials.cardInformation')}+ {t('items.cardInformation')}</h2>{groupedFields[FieldCategories.Card].map((field) => (<FieldBlock key={field.FieldKey} field={field} itemId={item.Id} />diff --git a/apps/browser-extension/src/entrypoints/popup/pages/credentials/ItemTypeSelector.tsx b/apps/browser-extension/src/entrypoints/popup/pages/credentials/ItemTypeSelector.tsxindex eb2e32aeb..e8abcfe98 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/credentials/ItemTypeSelector.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/credentials/ItemTypeSelector.tsx@@ -105,11 +105,11 @@ const ItemTypeSelector: React.FC = () => {<div><FormInputid="itemName"- label={t('credentials.serviceName')}+ label={t('common.serviceName')}value={itemName}onChange={setItemName}type="text"- placeholder={t('credentials.serviceName')}+ placeholder={t('common.serviceName')}/></div>diff --git a/apps/browser-extension/src/entrypoints/popup/pages/emails/EmailDetails.tsx b/apps/browser-extension/src/entrypoints/popup/pages/emails/EmailDetails.tsxindex 6fe531cd4..9dc78ecfc 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/emails/EmailDetails.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/emails/EmailDetails.tsx@@ -263,7 +263,7 @@ const EmailDetails: React.FC = (): React.ReactElement => {{email.attachments && email.attachments.length > 0 && (<div className="p-6 border-t border-gray-200 dark:border-gray-700"><h2 className="text-lg font-semibold mb-4 text-gray-900 dark:text-white">- {t('emails.attachments')}+ {t('common.attachments')}</h2><div className="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4">{email.attachments.map((attachment) => (diff --git a/apps/browser-extension/src/entrypoints/popup/pages/items/ItemsList.tsx b/apps/browser-extension/src/entrypoints/popup/pages/items/ItemsList.tsxindex 909e5c6f8..da03131bc 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/items/ItemsList.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/items/ItemsList.tsx@@ -309,7 +309,7 @@ const ItemsList: React.FC = () => {case 'passkeys':return t('items.filters.passkeys');case 'attachments':- return t('items.filters.attachments');+ return t('common.attachments');default:return t('items.title');}@@ -492,7 +492,7 @@ const ItemsList: React.FC = () => {filterType === 'attachments' ? 'bg-orange-50 dark:bg-orange-900/20 text-orange-600 dark:text-orange-400' : 'text-gray-700 dark:text-gray-300'}`}>- {t('items.filters.attachments')}+ {t('common.attachments')}</button><div className="border-t border-gray-200 dark:border-gray-700 my-1" /><buttondiff --git a/apps/browser-extension/src/entrypoints/popup/pages/items/RecentlyDeleted.tsx b/apps/browser-extension/src/entrypoints/popup/pages/items/RecentlyDeleted.tsxindex 17b723fd5..664dca89b 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/items/RecentlyDeleted.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/items/RecentlyDeleted.tsx@@ -190,7 +190,7 @@ const RecentlyDeleted: React.FC = () => {/>)}<span className="font-medium text-gray-900 dark:text-white truncate">- {item.Name || t('recentlyDeleted.untitledItem')}+ {item.Name || t('items.untitled')}</span></div><div className="text-xs text-gray-500 dark:text-gray-400 mt-1">diff --git a/apps/browser-extension/src/entrypoints/popup/pages/passkeys/PasskeyAuthenticate.tsx b/apps/browser-extension/src/entrypoints/popup/pages/passkeys/PasskeyAuthenticate.tsxindex f25a5a491..5944e444a 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/passkeys/PasskeyAuthenticate.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/passkeys/PasskeyAuthenticate.tsx@@ -432,7 +432,7 @@ const PasskeyAuthenticate: React.FC = () => {variant="secondary"onClick={handleFallback}>- {t('passkeys.authenticate.useBrowserPasskey')}+ {t('passkeys.useBrowserPasskey')}</Button><Buttondiff --git a/apps/browser-extension/src/entrypoints/popup/pages/passkeys/PasskeyCreate.tsx b/apps/browser-extension/src/entrypoints/popup/pages/passkeys/PasskeyCreate.tsxindex c1f3e5251..557eff6da 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/passkeys/PasskeyCreate.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/passkeys/PasskeyCreate.tsx@@ -585,7 +585,7 @@ const PasskeyCreate: React.FC = () => {variant="secondary"onClick={handleFallback}>- {t('passkeys.create.useBrowserPasskey')}+ {t('passkeys.useBrowserPasskey')}</Button><div className="relative">@@ -652,7 +652,7 @@ const PasskeyCreate: React.FC = () => {variant="secondary"onClick={handleFallback}>- {t('passkeys.create.useBrowserPasskey')}+ {t('passkeys.useBrowserPasskey')}</Button><div className="relative">@@ -770,7 +770,7 @@ const PasskeyCreate: React.FC = () => {variant="secondary"onClick={handleFallback}>- {t('passkeys.create.useBrowserPasskey')}+ {t('passkeys.useBrowserPasskey')}</Button><Buttondiff --git a/apps/browser-extension/src/entrypoints/popup/pages/settings/Settings.tsx b/apps/browser-extension/src/entrypoints/popup/pages/settings/Settings.tsxindex 5d00695bc..05d4d2b0f 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/settings/Settings.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/settings/Settings.tsx@@ -50,7 +50,7 @@ const Settings: React.FC = () => {<><HeaderButtononClick={() => PopoutUtility.openInNewPopup()}- title={t('settings.openInNewWindow')}+ title={t('common.openInNewWindow')}iconType={HeaderIconType.EXPAND}/></>@@ -181,7 +181,7 @@ const Settings: React.FC = () => {<div className="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50"><div className="bg-white dark:bg-gray-800 rounded-lg p-6 max-w-sm w-full mx-4"><h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-3">- {t('auth.logout')}+ {t('common.logout')}</h3><p className="text-sm text-gray-600 dark:text-gray-400 mb-6">{t('auth.logoutConfirm')}@@ -197,7 +197,7 @@ const Settings: React.FC = () => {onClick={handleLogout}className="flex-1 px-4 py-2 bg-red-500 hover:bg-red-600 text-white rounded-md transition-colors">- {t('settings.logout')}+ {t('common.logout')}</button></div></div>@@ -205,7 +205,7 @@ const Settings: React.FC = () => {)}<div className="space-y-6"><div className="flex justify-between items-center mb-4">- <h2 className="text-gray-900 dark:text-white text-xl">{t('settings.title')}</h2>+ <h2 className="text-gray-900 dark:text-white text-xl">{t('common.settings')}</h2></div>{/* User Menu Section */}@@ -226,7 +226,7 @@ const Settings: React.FC = () => {{app.username}</p><p className="text-sm text-gray-500 dark:text-gray-400">- {t('settings.loggedIn')}+ {t('common.loggedIn')}</p></div></div>@@ -253,7 +253,7 @@ const Settings: React.FC = () => {</button><buttononClick={() => setShowLogoutConfirm(true)}- title={t('settings.logout')}+ title={t('common.logout')}className="p-2 bg-red-100 hover:bg-red-200 dark:bg-red-900/30 dark:hover:bg-red-900/50 text-red-600 hover:text-red-700 dark:text-red-400 dark:hover:text-red-300 rounded-md transition-colors"><svg@@ -262,7 +262,7 @@ const Settings: React.FC = () => {stroke="currentColor"strokeWidth={2}viewBox="0 0 24 24"- aria-label={t('settings.logout')}+ aria-label={t('common.logout')}><pathstrokeLinecap="round"diff --git a/apps/browser-extension/src/i18n/locales/en.json b/apps/browser-extension/src/i18n/locales/en.jsonindex 5fbe63754..bb45386fb 100644--- a/apps/browser-extension/src/i18n/locales/en.json+++ b/apps/browser-extension/src/i18n/locales/en.json@@ -3,7 +3,6 @@"loginTitle": "Log in to AliasVault","username": "Username or email","usernamePlaceholder": "name / [email protected]",- "password": "Password","passwordPlaceholder": "Enter your password","rememberMe": "Remember me","loginButton": "Log in",@@ -20,7 +19,6 @@"enterPinToUnlock": "Enter your PIN to unlock your vault","useMasterPassword": "Use Master Password","unlockTitle": "Unlock Your Vault",- "logout": "Logout","logoutConfirm": "Are you sure you want to logout?","unlockSuccessTitle": "Your vault is successfully unlocked","unlockSuccessDescription": "You can now use autofill in login forms in your browser.",@@ -28,7 +26,6 @@"browseVault": "Browse vault contents","connectingTo": "Connecting to","switchAccounts": "Switch accounts?",- "loggedIn": "Logged in","loginWithMobile": "Log in using Mobile App","unlockWithMobile": "Unlock using Mobile App","scanQrCode": "Scan this QR code with your AliasVault mobile app to log in and unlock your vault.",@@ -36,16 +33,13 @@"invalidCode": "Please enter a valid 6-digit authentication code.","serverError": "Could not reach AliasVault server. Please try again later or contact support if the problem persists.","wrongPassword": "Incorrect password. Please try again.",- "accountLocked": "Account temporarily locked due to too many failed attempts.",- "networkError": "Network error. Please check your connection and try again.","sessionExpired": "Your session has expired. Please log in again.","mobileLoginRequestExpired": "Mobile login request timed out. Please reload the page and try again."}},"menu": {"vault": "Vault",- "emails": "Emails",- "settings": "Settings"+ "emails": "Emails"},"common": {"loading": "Loading...",@@ -64,12 +58,11 @@"create": "Create","or": "Or","close": "Close",+ "logout": "Logout","copied": "Copied!","openInNewWindow": "Open in new window","enabled": "Enabled","disabled": "Disabled",- "show": "Show",- "hide": "Hide","showPassword": "Show password","hidePassword": "Hide password","showDetails": "Show details",@@ -81,29 +74,22 @@"loadingAttachments": "Loading attachments...","settings": "Settings","recentEmails": "Recent emails",- "loginCredentials": "Login credentials","credentials": "Credentials","customFields": "Custom","twoFactorAuthentication": "Two-factor authentication","alias": "Alias","notes": "Notes",- "fullName": "Full Name",- "firstName": "First Name",- "lastName": "Last Name",- "birthDate": "Birth Date","email": "Email","username": "Username","password": "Password",+ "serviceName": "Service Name",+ "loggedIn": "Logged in","syncingVault": "Syncing vault",- "savingChangesToVault": "Saving changes to vault",- "uploadingVaultToServer": "Uploading vault to server","checkingVaultUpdates": "Checking for vault updates","syncingUpdatedVault": "Syncing updated vault",- "executingOperation": "Executing operation...","loadMore": "Load more","offline": "Offline","offlineMode": "Operating in offline mode",- "offlineModeSaved": "Changes saved locally (offline)","pendingSync": "Syncing...","mergingVaultChanges": "Merging vault changes...","uploadingVault": "Uploading vault...",@@ -151,15 +137,10 @@"content": {"or": "or","new": "New",- "cancel": "Cancel","vaultLocked": "AliasVault is locked.","creatingNewAlias": "Creating new alias...","noMatchesFound": "No matches found","searchVault": "Search vault...",- "serviceName": "Service name",- "email": "Email",- "username": "Username",- "password": "Password","enterServiceName": "Enter service name","enterEmailAddress": "Enter email address","enterUsername": "Enter username",@@ -187,43 +168,6 @@"dismissPopup": "Dismiss popup"},"credentials": {- "title": "Credentials",- "addCredential": "Add Credential",- "editCredential": "Edit Credential",- "deleteCredential": "Delete Item",- "credentialDetails": "Credential Details",- "serviceName": "Service Name",- "itemName": "Name",- "notes": "Notes",- "totp": "Two-Factor Authentication",- "totpCode": "TOTP Code",- "copyTotp": "Copy TOTP",- "totpSecret": "TOTP Secret",- "totpSecretPlaceholder": "Enter TOTP secret key",- "welcomeTitle": "Welcome to AliasVault!",- "welcomeDescription": "To use the AliasVault browser extension: navigate to a website and use the AliasVault autofill popup to create a new credential.",- "noPasskeysFound": "No passkeys have been created yet. Passkeys are created by visiting a website that offers passkeys as an authentication method.",- "noAttachmentsFound": "No credentials with attachments found",- "noMatchingCredentials": "No matching credentials found",- "createdAt": "Created",- "updatedAt": "Last updated",- "saveCredential": "Save credential",- "deleteItemTitle": "Delete Item",- "deleteItemConfirm": "Are you sure you want to delete this item? This action cannot be undone.",- "filters": {- "all": "(All) Credentials",- "passkeys": "Passkeys",- "aliases": "Aliases",- "userpass": "Passwords",- "attachments": "Attachments"- },- "randomAlias": "Random Alias",- "manual": "Manual",- "service": "Service",- "serviceUrl": "Service URL",- "loginCredentials": "Login Credentials",- "generateRandomUsername": "Generate random username",- "generateRandomPassword": "Generate random password","changePasswordComplexity": "Change password complexity","passwordLength": "Password length","includeLowercase": "Include lowercase letters",@@ -231,52 +175,31 @@"includeNumbers": "Include numbers","includeSpecialChars": "Include special characters","avoidAmbiguousChars": "Avoid ambiguous characters (o, 0, etc.)",- "generateNewPreview": "Generate new preview",- "generateRandomAlias": "Generate Random Alias",- "clearAliasFields": "Clear Alias Fields",- "alias": "Alias",- "email": "Email",- "addEmail": "+ Email",- "firstName": "First Name",- "lastName": "Last Name",- "gender": "Gender",- "birthDate": "Birth Date",- "birthDatePlaceholder": "YYYY-MM-DD",- "cardInformation": "Card Information",- "identityInformation": "Identity Information",- "metadata": "Metadata",- "validation": {- "required": "This field is required",- "serviceNameRequired": "Service name is required",- "nameRequired": "Name is required",- "invalidEmail": "Invalid email format",- "invalidDateFormat": "Date must be in YYYY-MM-DD format"- },"privateEmailTitle": "Private Email","privateEmailAliasVaultServer": "AliasVault server","privateEmailDescription": "E2E encrypted, fully private.","publicEmailTitle": "Public Temp Email Providers","publicEmailDescription": "Anonymous but limited privacy. Email content is readable by anyone that knows the address.",- "useDomainChooser": "Use domain chooser",- "enterCustomDomain": "Enter custom domain",- "generateAliasEmail": "Generate alias email",- "enterEmailAddress": "Enter email address",- "enterEmailPrefix": "Enter email prefix",- "viewHistory": "View history",- "history": "History",- "noHistoryAvailable": "No history available",+ "generateRandomUsername": "Generate random username",+ "generateRandomPassword": "Generate random password",+ "generateNewPreview": "Generate new preview",+ "generateRandomAlias": "Generate Random Alias",+ "validation": {+ "required": "This field is required"+ },"tags": "Tags"},"items": {"title": "Items",+ "itemName": "Name",+ "loginCredentials": "Login Credentials",+ "cardInformation": "Card Information","addItem": "Add Item","addNewItem": "Add new item",+ "saveItem": "Save Item","itemDetails": "Item Details","editItem": "Edit Item","untitled": "Untitled",- "untitledItem": "Untitled Item",- "folders": "folders",- "items": "items","newFolder": "New Folder","createFolder": "Create Folder","editFolder": "Edit Folder",@@ -300,20 +223,20 @@"deleteFolderAndItemsDescription": "{{count}} item(s) will be moved to Recently Deleted.","filters": {"all": "(All) Items",- "passkeys": "Passkeys",- "attachments": "Attachments"- }+ "passkeys": "Passkeys"+ },+ "deleteItemTitle": "Delete Item",+ "deleteItemConfirm": "Are you sure you want to delete this item?",+ "viewHistory": "View history",+ "history": "History",+ "noHistoryAvailable": "No history available"},"itemTypes": {"selectType": "Add New Item",- "selectTypeDescription": "Choose the type of item you want to create","typeLabel": "Item Type","creating": "Creating","editing": "Editing",- "generateAlias": "Generate random alias","regenerateAlias": "Regenerate alias",- "addAlias": "Add alias",- "addNotes": "Add notes","addCustomField": "Add custom field","fieldLabel": "Field Label","enterFieldName": "Enter field name",@@ -329,38 +252,27 @@"textArea": "Text Area"},"login": {- "title": "Login",- "description": "Username, password, and website credentials"+ "title": "Login"},"alias": {- "title": "Alias",- "description": "Login with auto-generated email alias and identity"+ "title": "Alias"},"creditCard": {- "title": "Credit Card",- "description": "Credit card information and payment details"+ "title": "Credit Card"},"note": {- "title": "Secure Note",- "description": "Encrypted notes and private information"+ "title": "Secure Note"}},"fieldLabels": {- "login.username": "Username",- "login.password": "Password",- "login.email": "Email","login.url": "Website URL",- "alias.first_name": "First Name",- "alias.last_name": "Last Name","alias.gender": "Gender",- "alias.birthdate": "Birth Date","card.cardholder_name": "Cardholder Name","card.number": "Card Number","card.expiry_month": "Expiry Month","card.expiry_year": "Expiry Year","card.cvv": "CVV",- "card.pin": "PIN",- "notes.content": "Notes"+ "card.pin": "PIN"},"totp": {"addCode": "Add 2FA Code",@@ -389,7 +301,6 @@"to": "To","date": "Date","emailContent": "Email content",- "attachments": "Attachments","emailNotFound": "Email not found","noEmails": "No emails found","noEmailsDescription": "You have not received any emails at your private email addresses yet. When you receive a new email, it will appear here.",@@ -411,15 +322,11 @@}},"settings": {- "title": "Settings","serverUrl": "Server URL","language": "Language","autofillEnabled": "Enable Autofill","version": "Version",- "openInNewWindow": "Open in new window","openWebApp": "Open web app",- "loggedIn": "Logged in",- "logout": "Logout","lock": "Lock","globalSettings": "Global Settings","autofillPopup": "Autofill popup",@@ -513,12 +420,11 @@"passkeys": {"passkey": "Passkey","site": "Site",- "displayName": "Name","helpText": "Passkeys are created on the website when prompted. They cannot be manually edited. To remove this passkey, you can delete it from this credential. To replace this passkey or create a new one, visit the website and follow its prompts.","passkeyMarkedForDeletion": "Passkey marked for deletion","passkeyWillBeDeleted": "This passkey will be deleted when you save this credential.",+ "useBrowserPasskey": "Use Browser Passkey","bypass": {- "title": "Use Browser Passkey","description": "How long would you like to use the browser's passkey provider for {{origin}}?","thisTimeOnly": "This time only","alwaysForSite": "Always for this site"@@ -527,8 +433,7 @@"title": "Sign in with Passkey","signInFor": "Sign in with passkey for","selectPasskey": "Select a passkey to sign in:",- "noPasskeysFound": "No passkeys found for this site",- "useBrowserPasskey": "Use Browser Passkey"+ "noPasskeysFound": "No passkeys found for this site"},"create": {"title": "Create Passkey",@@ -536,7 +441,6 @@"titleLabel": "Title","titlePlaceholder": "Enter a name for this passkey","createButton": "Create Passkey",- "useBrowserPasskey": "Use Browser Passkey","selectPasskeyToReplace": "Select a passkey to replace:","createNewPasskey": "Create New Passkey","replacingPasskey": "Replacing passkey: {{displayName}}",@@ -562,7 +466,6 @@"daysRemaining": "{{count}} day remaining","daysRemaining_plural": "{{count}} days remaining","expiringSoon": "Expiring soon",- "untitledItem": "Untitled Item","confirmDeleteTitle": "Delete Permanently?","confirmDeleteMessage": "This item will be permanently deleted and cannot be recovered.","confirmEmptyAllTitle": "Empty Recently Deleted?",@@ -576,7 +479,6 @@"newVersion": "New available version:","upgrade": "Upgrade Vault","upgrading": "Upgrading...",- "logout": "Logout","whatsNew": "What's New","whatsNewDescription": "An upgrade is required to support the following changes:","noDescriptionAvailable": "No description available for this version.",