Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.
Add and refactor translations (#2177)
Leendert de Borst0551b6dbde70
diff --git a/apps/browser-extension/src/entrypoints/contentScript/Popup.ts b/apps/browser-extension/src/entrypoints/contentScript/Popup.tsindex 101600d18..940bdea62 100644--- a/apps/browser-extension/src/entrypoints/contentScript/Popup.ts+++ b/apps/browser-extension/src/entrypoints/contentScript/Popup.ts@@ -1124,8 +1124,8 @@ export async function createAutofillPopup(input: HTMLInputElement, items: Item[]* When passkeys are offered, show the pill nav and the passkey section.*/if (passkeySection) {- const credentialsText = await t('content.credentials');- const passkeysText = await t('content.passkeys');+ const credentialsText = await t('common.credentials');+ const passkeysText = await t('common.passkeys');const credentialsLabel = items.length > 0 ? `${credentialsText} (${items.length})` : credentialsText;const passkeysLabel = `${passkeysText} (${passkeySection.count})`;diff --git a/apps/browser-extension/src/entrypoints/popup/components/Items/ItemFilterDropdown.tsx b/apps/browser-extension/src/entrypoints/popup/components/Items/ItemFilterDropdown.tsxindex 9e89ce6ac..e1c5ba584 100644--- a/apps/browser-extension/src/entrypoints/popup/components/Items/ItemFilterDropdown.tsx+++ b/apps/browser-extension/src/entrypoints/popup/components/Items/ItemFilterDropdown.tsx@@ -159,7 +159,7 @@ const ItemFilterDropdown: React.FC<ItemFilterDropdownProps> = ({onClick={() => handleSelectFilter('passkeys')}className={itemRowClass(activeFilter === 'passkeys')}>- {t('items.filters.passkeys')}+ {t('common.passkeys')}</button><buttononClick={() => handleSelectFilter('attachments')}diff --git a/apps/browser-extension/src/entrypoints/popup/pages/items/ItemsList.tsx b/apps/browser-extension/src/entrypoints/popup/pages/items/ItemsList.tsxindex 4ffb8a0b7..a4029c200 100644--- a/apps/browser-extension/src/entrypoints/popup/pages/items/ItemsList.tsx+++ b/apps/browser-extension/src/entrypoints/popup/pages/items/ItemsList.tsx@@ -456,7 +456,7 @@ const ItemsList: React.FC = () => {const getFilterTitle = () : string => {switch (filterType) {case 'passkeys':- return t('items.filters.passkeys');+ return t('common.passkeys');case 'attachments':return t('common.attachments');case 'totp':diff --git a/apps/browser-extension/src/i18n/locales/en.json b/apps/browser-extension/src/i18n/locales/en.jsonindex ae1c58ce0..16ba2b4cf 100644--- a/apps/browser-extension/src/i18n/locales/en.json+++ b/apps/browser-extension/src/i18n/locales/en.json@@ -76,6 +76,7 @@"settings": "Settings","recentEmails": "Recent emails","credentials": "Credentials",+ "passkeys": "Passkeys","customFields": "Custom Fields","twoFactorAuthentication": "Two-factor authentication","alias": "Alias",@@ -148,6 +149,7 @@"creatingNewAlias": "Creating new alias","creatingNewCredential": "Creating new credential","noMatchesFound": "No matches found",+ "loginWithPasskey": "Login with passkey","searchVault": "Search vault...","enterServiceName": "Enter service name","enterEmailAddress": "Enter email address",@@ -216,7 +218,6 @@"deleteFolderAndItemsDescription": "{{count}} item(s) will be moved to Recently Deleted.","filters": {"folders": "Folders",- "passkeys": "Passkeys","totp": "2FA Codes"},"sort": {