Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
feat(translations): add 2FA wording in `en-US`
Rudy B.2428f292a114
diff --git a/public/intl/messages/en-US.json b/public/intl/messages/en-US.jsonindex 38a7460d3..f88f90959 100644--- a/public/intl/messages/en-US.json+++ b/public/intl/messages/en-US.json@@ -378,7 +378,35 @@"website-id": "Website ID","websites": "Websites","window": "Window",- "yesterday": "Yesterday"+ "yesterday": "Yesterday",+ "security": "Security",+ "two-factor-setup-title": "Setup two-factor authentication",+ "two-factor-step1": "Step 1",+ "two-factor-step2": "Step 2",+ "two-factor-scan-qr": "Scan QR code",+ "two-factor-cant-scan": "Can't scan QR code?",+ "two-factor-manual-entry": "Enter this secret instead:",+ "two-factor-copy-code": "Copy code",+ "two-factor-code-copied": "Copied!",+ "two-factor-get-code": "Get verification code",+ "two-factor-enter-code": "Enter verification code",+ "two-factor-use-backup": "Use a backup code instead",+ "two-factor-save-backup-codes": "Save your backup codes",+ "two-factor-download-codes": "Download codes",+ "two-factor-saved-codes": "I have saved my backup codes",+ "two-factor-success-title": "Two-factor authentication enabled",+ "two-factor-enable": "Enable 2FA",+ "two-factor-disable": "Disable 2FA",+ "two-factor-disable-title": "Disable two-factor authentication",+ "two-factor-status-not-configured": "Not configured",+ "two-factor-active": "Active",+ "two-factor-require-global": "Require 2FA for all users",+ "two-factor-require-user": "Require 2FA for this user",+ "two-factor-require-team": "Require 2FA for all members of this team",+ "two-factor-global-active-tooltip": "Global 2FA is enabled",+ "two-factor-verify": "Verify",+ "two-factor-login": "Two-factor authentication",+ "close": "Close"},"message": {"action-confirmation": "Type {confirmation} in the box below to confirm.",@@ -431,6 +459,28 @@"user-deleted": "User deleted.","viewed-page": "Viewed page","upgrade-required": "This feature requires a {plan} plan subscription.",- "visitor-log": "Visitor from <b>{country}</b> using <b>{browser}</b> on <b>{os}</b> <b>{device}</b>"+ "visitor-log": "Visitor from <b>{country}</b> using <b>{browser}</b> on <b>{os}</b> <b>{device}</b>",+ "two-factor-setup-description": "Each time you log in, in addition to your password, you'll use an authenticator app to generate and use a one-time code.",+ "two-factor-setup-required-description": "Two-factor authentication (2FA) is required to access Umami.",+ "two-factor-step1-description": "Scan the QR code below or manually enter the secret key into your authenticator app.",+ "two-factor-step2-description": "Enter the 6-digit code you see in your authenticator app.",+ "two-factor-enabled-description": "Your account is now protected with two-factor authentication. From now on, you will need to enter a code from your authenticator app each time you log in.",+ "two-factor-backup-description": "If you lose access to your authenticator app, you can use one of these one-time backup codes to sign in. Save them somewhere safe; they will not be shown again.",+ "two-factor-login-description": "Enter the 6-digit code from your authenticator app.",+ "two-factor-disable-description": "To confirm, enter your password and a verification code from your authenticator app.",+ "two-factor-required-message": "Two-factor authentication is required for your account and cannot be disabled. Contact your administrator for help.",+ "two-factor-override-note": "Per-user and per-team 2FA settings are overridden while global 2FA is enabled.",+ "two-factor-admin-global-description": "Require all users to set up two-factor authentication when they next log in. Users who have not yet configured 2FA will be prompted to do so before they can access Umami.",+ "two-factor-require-user-description": "When enabled, this user will be prompted to set up 2FA on their next login if they haven't already.",+ "two-factor-require-team-description": "When enabled, all members of this team will be prompted to set up 2FA on their next login if they haven't already.",+ "two-factor-user-description": "Add an extra layer of security to your account. Each time you log in, you will need your password and a code from your authenticator app.",+ "two-factor-error-invalid-code": "Invalid verification code. Please try again.",+ "two-factor-error-code-used": "This code has already been used. Wait for the next code.",+ "two-factor-error-too-many-attempts": "Too many failed attempts. Your account is temporarily locked.",+ "two-factor-error-disable-not-allowed": "Two-factor authentication is required and cannot be disabled.",+ "two-factor-error-incorrect-password": "Incorrect password.",+ "two-factor-error-not-enabled": "Two-factor authentication is not enabled.",+ "two-factor-locked-message": "Too many failed attempts. Try again at {time}.",+ "two-factor-active-description": "Your account is protected with two-factor authentication. Each login requires a code from your authenticator app."}}diff --git a/src/components/messages.ts b/src/components/messages.tsindex 79adab814..8809d0310 100644--- a/src/components/messages.ts+++ b/src/components/messages.ts@@ -382,6 +382,34 @@ export const labels: Record<string, string> = {duration: 'label.duration',recorded: 'label.recorded',upgrade: 'label.upgrade',+ security: 'label.security',+ close: 'label.close',+ twoFactorSetupTitle: 'label.two-factor-setup-title',+ twoFactorStep1: 'label.two-factor-step1',+ twoFactorStep2: 'label.two-factor-step2',+ twoFactorScanQr: 'label.two-factor-scan-qr',+ twoFactorCantScan: 'label.two-factor-cant-scan',+ twoFactorManualEntry: 'label.two-factor-manual-entry',+ twoFactorCopyCode: 'label.two-factor-copy-code',+ twoFactorCodeCopied: 'label.two-factor-code-copied',+ twoFactorGetCode: 'label.two-factor-get-code',+ twoFactorEnterCode: 'label.two-factor-enter-code',+ twoFactorUseBackup: 'label.two-factor-use-backup',+ twoFactorSaveBackupCodes: 'label.two-factor-save-backup-codes',+ twoFactorDownloadCodes: 'label.two-factor-download-codes',+ twoFactorSavedCodes: 'label.two-factor-saved-codes',+ twoFactorSuccessTitle: 'label.two-factor-success-title',+ twoFactorEnable: 'label.two-factor-enable',+ twoFactorDisable: 'label.two-factor-disable',+ twoFactorDisableTitle: 'label.two-factor-disable-title',+ twoFactorStatusNotConfigured: 'label.two-factor-status-not-configured',+ twoFactorActive: 'label.two-factor-active',+ twoFactorRequireGlobal: 'label.two-factor-require-global',+ twoFactorRequireUser: 'label.two-factor-require-user',+ twoFactorRequireTeam: 'label.two-factor-require-team',+ twoFactorGlobalActiveTooltip: 'label.two-factor-global-active-tooltip',+ twoFactorVerify: 'label.two-factor-verify',+ twoFactorLogin: 'label.two-factor-login',};export const messages: Record<string, string> = {@@ -432,4 +460,20 @@ export const messages: Record<string, string> = {notFound: 'message.not-found',serverError: 'message.sever-error',upgradeRequired: 'message.upgrade-required',+ twoFactorSetupDescription: 'message.two-factor-setup-description',+ twoFactorSetupRequiredDescription: 'message.two-factor-setup-required-description',+ twoFactorStep1Description: 'message.two-factor-step1-description',+ twoFactorStep2Description: 'message.two-factor-step2-description',+ twoFactorEnabledDescription: 'message.two-factor-enabled-description',+ twoFactorBackupDescription: 'message.two-factor-backup-description',+ twoFactorLoginDescription: 'message.two-factor-login-description',+ twoFactorDisableDescription: 'message.two-factor-disable-description',+ twoFactorRequiredMessage: 'message.two-factor-required-message',+ twoFactorOverrideNote: 'message.two-factor-override-note',+ twoFactorAdminGlobalDescription: 'message.two-factor-admin-global-description',+ twoFactorRequireUserDescription: 'message.two-factor-require-user-description',+ twoFactorRequireTeamDescription: 'message.two-factor-require-team-description',+ twoFactorUserDescription: 'message.two-factor-user-description',+ twoFactorLockedMessage: 'message.two-factor-locked-message',+ twoFactorActiveDescription: 'message.two-factor-active-description',};