Skip to content

Commit

Permalink
Merge pull request #499 from creative-commoners/pulls/4.8/tx-1686724746
Browse files Browse the repository at this point in the history
ENH Update translations
  • Loading branch information
GuySartorelli authored Jun 15, 2023
2 parents 24cf514 + febbf9d commit a7f9d86
Show file tree
Hide file tree
Showing 11 changed files with 134 additions and 33 deletions.
2 changes: 1 addition & 1 deletion client/dist/js/bundle-cms.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion client/dist/js/bundle.js

Large diffs are not rendered by default.

87 changes: 57 additions & 30 deletions client/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,46 +6,73 @@ if (typeof(ss) === 'undefined' || typeof(ss.i18n) === 'undefined') {
}
} else {
ss.i18n.addDictionary('en', {
"MultiFactorAuthentication.HOW_MFA_WORKS": "How multi-factor authentication works",
"MultiFactorAuthentication.TITLE": "Add extra security to your account",
"MultiFactorAuthentication.HOW_IT_WORKS": "How it works",
"MultiFactorAuthentication.EXTRA_LAYER_IMAGE_ALT": "Shields indicating additional protection",
"MultiFactorAuthentication.EXTRA_LAYER_TITLE": "Extra layer of protection",
"MultiFactorAuthentication.EXTRA_LAYER_DESCRIPTION": "Every time you log into your account, you'll need your password and an additional form of verification.",
"MultiFactorAuthentication.UNIQUE_IMAGE_ALT": "Person with tick indicating uniqueness",
"MultiFactorAuthentication.UNIQUE_TITLE": "Unique to you",
"MultiFactorAuthentication.UNIQUE_DESCRIPTION": "This verification is only available to you. Even if someone gets your password, they will not be able to access your account.",
"MultiFactorAuthentication.GET_STARTED": "Get started",
"MultiFactorAuthentication.SETUP_LATER": "Setup later",
"MultiFactorAuthentication.ADD_ANOTHER_METHOD": "Add another MFA method",
"MultiFactorAuthentication.ADD_FIRST_METHOD": "Add an MFA method",
"MultiFactorAuthentication.REGISTERED": "{method}: Registered",
"MultiFactorAuthentication.DEFAULT_REGISTERED": "{method} (default): Registered",
"MultiFactorAuthentication.BACKUP_REGISTERED": "{method}: Created {date}",
"MultiFactorAuthentication.RESET_METHOD": "Reset",
"MultiFactorAuthentication.REMOVE_METHOD": "Remove",
"MultiFactorAuthentication.SET_AS_DEFAULT": "Set as default method",
"MultiFactorAuthentication.NO_METHODS_REGISTERED": "No MFA methods have been registered. Add one using the button below",
"MultiFactorAuthentication.NO_METHODS_REGISTERED_READONLY": "This member has not registered any MFA methods yet",
"MultiFactorAuthentication.SELECT_METHOD": "Select a verification method",
"MultiFactorAuthentication.SETUP_COMPLETE_TITLE": "Multi-factor authentication is now set up",
"MultiFactorAuthentication.ACCOUNT_RESET_TITLE": "Help user reset account",
"MultiFactorAuthentication.ACCOUNT_RESET_DESCRIPTION": "Ensure that the person requesting a reset is the real person associated with this account before proceeding. An email will be sent to the member's address with a link to reset both their password and multi-factor authentication methods.",
"MFABackupCodesRegister.COPY": "Copy codes",
"MFABackupCodesRegister.COPY_RECENT": "Copied!",
"MFABackupCodesRegister.DOWNLOAD": "Download",
"MFABackupCodesRegister.FINISH": "Finish",
"MFABackupCodesRegister.PRINT": "Print codes",
"MFABackupCodesVerify.DESCRIPTION": "Use one of the recovery codes you received",
"MFABackupCodesVerify.LABEL": "Enter recovery code",
"MFABackupCodesVerify.NEXT": "Next",
"MFALogin.SOMETHING_WENT_WRONG": "Something went wrong!",
"MFALogin.TRY_AGAIN": "Try again",
"MFAMethodTile.UNAVAILABLE": "Unsupported: ",
"MFARegister.BACK": "Back",
"MFARegister.HELP": "Find out more.",
"MFARegister.NEXT": "Next",
"MFARegister.RECOVERY_HELP": "How to use recovery codes.",
"MFARegister.REGISTER_WITH": "Register with {method}",
"MFARegister.SETUP_COMPLETE_CONTINUE": "Continue",
"MFARegister.SETUP_COMPLETE_DESCRIPTION": "You will be able to edit these settings later from your profile area.",
"MFARegister.TITLE": "Multi-factor authentication",
"MFASelectMethod.UNAVAILABLE": "unavailable",
"MFAVerify.BACK": "Back",
"MFAVerify.METHOD_UNAVAILABLE": "This authentication method is unavailable",
"MFAVerify.MORE_OPTIONS": "More options",
"MFAVerify.OTHER_METHODS_TITLE": "Try another way to verify",
"MFAVerify.TITLE": "Log in",
"MFAVerify.VERIFY_WITH": "Verify with {method}",
"MultiFactorAuthentication.ACCOUNT_RESET_ACTION": "Send account reset email",
"MultiFactorAuthentication.ACCOUNT_RESET_SENDING": "Sending...",
"MultiFactorAuthentication.ACCOUNT_RESET_SENDING_SUCCESS": "An email has been sent.",
"MultiFactorAuthentication.ACCOUNT_RESET_SENDING_FAILURE": "We were unable to send an email, please try again later.",
"MultiFactorAuthentication.ACCOUNT_RESET_CONFIRMATION": "You are about to reset this account. Their password and multi-factor authentication will be reset. Continue?",
"MultiFactorAuthentication.ACCOUNT_RESET_CONFIRMATION_BUTTON": "Yes, send reset email",
"MultiFactorAuthentication.ACCOUNT_RESET_DESCRIPTION": "Ensure that the person requesting a reset is the real person associated with this account before proceeding. An email will be sent to the member's address with a link to reset both their password and multi-factor authentication methods.",
"MultiFactorAuthentication.ACCOUNT_RESET_SENDING": "Sending...",
"MultiFactorAuthentication.ACCOUNT_RESET_SENDING_FAILURE": "We were unable to send an email, please try again later.",
"MultiFactorAuthentication.ACCOUNT_RESET_SENDING_SUCCESS": "An email has been sent.",
"MultiFactorAuthentication.ACCOUNT_RESET_TITLE": "Help user reset account",
"MultiFactorAuthentication.ADD_ANOTHER_METHOD": "Add another MFA method",
"MultiFactorAuthentication.ADD_FIRST_METHOD": "Add an MFA method",
"MultiFactorAuthentication.ADMIN_SETUP_COMPLETE_CONTINUE": "Your settings have been updated",
"MultiFactorAuthentication.BACKUP_REGISTERED": "{method}: Created {date}",
"MultiFactorAuthentication.CONFIRMATION_TITLE": "Are you sure?",
"MultiFactorAuthentication.DEFAULT_CONFIRM_BUTTON": "Confirm",
"MultiFactorAuthentication.DEFAULT_CONFIRM_DISMISS_BUTTON": "Cancel",
"MultiFactorAuthentication.DEFAULT_REGISTERED": "{method} (default): Registered",
"MultiFactorAuthentication.DELETE_CONFIRMATION": "Are you sure you want to remove this method",
"MultiFactorAuthentication.CONFIRMATION_TITLE": "Are you sure?",
"MultiFactorAuthentication.DELETE_CONFIRMATION_BUTTON": "Remove method",
"MultiFactorAuthentication.EXTRA_LAYER_DESCRIPTION": "Every time you log into your account, you'll need your password and an additional form of verification.",
"MultiFactorAuthentication.EXTRA_LAYER_IMAGE_ALT": "Shields indicating additional protection",
"MultiFactorAuthentication.EXTRA_LAYER_TITLE": "Extra layer of protection",
"MultiFactorAuthentication.GET_STARTED": "Get started",
"MultiFactorAuthentication.HOW_IT_WORKS": "How it works",
"MultiFactorAuthentication.HOW_MFA_WORKS": "How multi-factor authentication works",
"MultiFactorAuthentication.MORE_OPTIONS_IMAGE_ALT": "Graphic depicting various MFA options",
"MultiFactorAuthentication.NO_METHODS_REGISTERED": "No MFA methods have been registered. Add one using the button below",
"MultiFactorAuthentication.NO_METHODS_REGISTERED_READONLY": "This member has not registered any MFA methods yet",
"MultiFactorAuthentication.REGISTERED": "{method}: Registered",
"MultiFactorAuthentication.REMOVE_METHOD": "Remove",
"MultiFactorAuthentication.RESET_BACKUP_CONFIRMATION": "All existing codes will be made invalid and new codes will be created",
"MultiFactorAuthentication.RESET_BACKUP_CONFIRMATION_BUTTON": "Reset codes",
"MultiFactorAuthentication.ADMIN_SETUP_COMPLETE_CONTINUE": "Your settings have been updated",
"MultiFactorAuthentication.RESET_METHOD": "Reset",
"MultiFactorAuthentication.SELECT_METHOD": "Select a verification method",
"MultiFactorAuthentication.SETUP_COMPLETE_TITLE": "Multi-factor authentication is now set up",
"MultiFactorAuthentication.SETUP_LATER": "Setup later",
"MultiFactorAuthentication.SET_AS_DEFAULT": "Set as default method",
"MultiFactorAuthentication.TITLE": "Add extra security to your account",
"MultiFactorAuthentication.TRY_AGAIN_ERROR": "Something went wrong. Please try again.",
"MultiFactorAuthentication.UNIQUE_DESCRIPTION": "This verification is only available to you. Even if someone gets your password, they will not be able to access your account.",
"MultiFactorAuthentication.UNIQUE_IMAGE_ALT": "Person with tick indicating uniqueness",
"MultiFactorAuthentication.UNIQUE_TITLE": "Unique to you",
"MultiFactorAuthentication.UNKNOWN_ERROR": "An unknown error occurred."
});
}
2 changes: 1 addition & 1 deletion client/lang/src/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@
"MultiFactorAuthentication.TRY_AGAIN_ERROR": "Something went wrong. Please try again.",
"MultiFactorAuthentication.UNIQUE_DESCRIPTION": "This verification is only available to you. Even if someone gets your password, they will not be able to access your account.",
"MultiFactorAuthentication.UNIQUE_IMAGE_ALT": "Person with tick indicating uniqueness",
"MultiFactorAuthentication.UNIQUE_TITLE": "Unique to you AWAWAWAWA",
"MultiFactorAuthentication.UNIQUE_TITLE": "Unique to you",
"MultiFactorAuthentication.UNKNOWN_ERROR": "An unknown error occurred."
}
9 changes: 9 additions & 0 deletions lang/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,12 @@ de:
SilverStripe\MFA\Service\RegisteredMethodManager:
MFAADDED: 'Eine Multi-Faktor-Authentifizierungsmethode wurde zu Ihrem Konto hinzugefügt'
MFAREMOVED: 'Eine Multi-Faktor-Authentifizierungsmethode wurde aus Ihrem Konto entfernt'
SilverStripe\MFA\RequestHandler\RegistrationHandlerTrait:
CSRF_FAILURE: 'Ihre Anfrage wurde abgebrochen. Bitte aktualisieren und erneut versuchen'
METHOD_ALREADY_REGISTERED: 'Diese Methode ist bereits für dieses Mitglied registriert worden'
METHOD_MISMATCH: 'Methode stimmt nicht mit der aktuellen Registrierung überein'
NO_REGISTRATION_IN_PROGRESS: 'Keine Registrierung in Arbeit'
SilverStripe\MFA\RequestHandler\VerificationHandlerTrait:
CSRF_FAILURE: 'Ihre Anfrage wurde abgebrochen. Bitte aktualisieren und erneut versuchen'
METHOD_NOT_PROVIDED: 'Es wurde keine Methode für die Anmeldung angegeben und das Mitglied hat keinen Standard definiert'
METHOD_NOT_REGISTERED: 'Das Mitglied hat diese Methode nicht registriert'
20 changes: 20 additions & 0 deletions lang/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,19 +55,27 @@ en:
MFA_PERMISSION_DESCRIPTION: 'Ability to view and reset registered MFA methods for other members. Requires the "Access to ''Security'' section" permission.'
MFA_PERMISSION_LABEL: 'View/reset MFA configuration for other members'
MFA_SETTINGS_FIELD_LABEL: 'Multi-factor authentication settings (MFA)'
db_DefaultRegisteredMethodID: 'Default registered method ID'
db_HasSkippedMFARegistration: 'Has skippedMFA registration'
has_many_RegisteredMFAMethods: 'RegisteredMFA methods'
SilverStripe\MFA\Extension\SiteConfigExtension:
MFA_GRACE_DESCRIPTION: 'MFA setup will be optional prior to this date'
MFA_GRACE_TITLE: 'MFA will be required from (optional)'
MFA_LEARN_MORE: 'Learn about MFA'
MFA_OPTIONAL: 'MFA is optional for everyone'
MFA_REQUIRED: 'MFA is required for everyone'
MULTI_FACTOR_AUTHENTICATION: 'Multi-factor authentication (MFA)'
db_MFAGracePeriodExpires: 'MFA grace period expires'
db_MFARequired: 'MFA required'
SilverStripe\MFA\Model\RegisteredMethod:
PLURALNAME: 'Registered Methods'
PLURALS:
one: 'A Registered Method'
other: '{count} Registered Methods'
SINGULARNAME: 'Registered Method'
db_Data: Data
db_MethodClassName: 'Method class name'
has_one_Member: Member
SilverStripe\MFA\Report\EnabledMembers:
ANY_AT_LEAST_ONE: 'Any (at least one)'
COLUMN_METHODS_REGISTERED: 'Registered methods'
Expand All @@ -85,3 +93,15 @@ en:
SilverStripe\MFA\Service\RegisteredMethodManager:
MFAADDED: 'A multi-factor authentication method was added to your account'
MFAREMOVED: 'A multi-factor authentication method was removed from your account'
SilverStripe\MFA\Extension\AccountReset\MemberExtension:
db_AccountResetExpired: 'Account reset expired'
db_AccountResetHash: 'Account reset hash'
SilverStripe\MFA\RequestHandler\RegistrationHandlerTrait:
CSRF_FAILURE: 'Your request timed out. Please refresh and try again'
METHOD_ALREADY_REGISTERED: 'That method has already been registered against this Member'
METHOD_MISMATCH: 'Method does not match registration in progress'
NO_REGISTRATION_IN_PROGRESS: 'No registration in progress'
SilverStripe\MFA\RequestHandler\VerificationHandlerTrait:
CSRF_FAILURE: 'Your request timed out. Please refresh and try again'
METHOD_NOT_PROVIDED: 'No method was provided to login with and the Member has no default'
METHOD_NOT_REGISTERED: 'Member does not have this method registered'
9 changes: 9 additions & 0 deletions lang/eo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,12 @@ eo:
SilverStripe\MFA\Service\RegisteredMethodManager:
MFAADDED: 'Multfaktora aŭtentiga metodo aldoniĝis al via konto.'
MFAREMOVED: 'Multfaktora aŭtentiga metodo foriĝis el via konto'
SilverStripe\MFA\RequestHandler\RegistrationHandlerTrait:
CSRF_FAILURE: 'Via peto eltempiĝis. Bonvolu refreŝigi kaj reprovi.'
METHOD_ALREADY_REGISTERED: 'Tiu metodo jam estas registrita kontraŭ ĉi tiu membro.'
METHOD_MISMATCH: 'Metodo ne kongruas kun registrado okazanta.'
NO_REGISTRATION_IN_PROGRESS: 'Neniu registrado okazas'
SilverStripe\MFA\RequestHandler\VerificationHandlerTrait:
CSRF_FAILURE: 'Via peto eltempiĝis. Bonvolu refreŝigi kaj reprovi.'
METHOD_NOT_PROVIDED: 'Neniu metodo haveblas por ensaluti kaj la membro ne havas aprioran'
METHOD_NOT_REGISTERED: 'Metodo ne estas registrita por la membro'
9 changes: 9 additions & 0 deletions lang/fi_FI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,12 @@ fi_FI:
SilverStripe\MFA\Service\RegisteredMethodManager:
MFAADDED: 'Monivaiheinen tunnistautumistapa on lisätty käyttäjätillesi'
MFAREMOVED: 'Monivaiheinen tunnistautumistapa poistettiin käyttäjätililtäsi'
SilverStripe\MFA\RequestHandler\RegistrationHandlerTrait:
CSRF_FAILURE: 'Pyyntösi umpeutui. Ystävällisesti päivitä sivu ja kokeile uudelleen'
METHOD_ALREADY_REGISTERED: 'Tunnistusvaihtoehto on jo rekisteröity tälle käyttäjälle'
METHOD_MISMATCH: 'Tunnistusvaihtoehto ei ole sama joka on jo rekisteröinti prosessissa'
NO_REGISTRATION_IN_PROGRESS: 'Rekisteröinti prosessia ei ole käynnissä'
SilverStripe\MFA\RequestHandler\VerificationHandlerTrait:
CSRF_FAILURE: 'Pyyntösi umpeutui. Ystävällisesti päivitä sivu ja kokeile uudelleen'
METHOD_NOT_PROVIDED: 'Tunnistusvaihtoehtoa ei ole asetettu, eikä käyttäjällä ole oletusta asetettuna'
METHOD_NOT_REGISTERED: 'Käyttäjällä ei ole tätä tunnistusvaihtoehtoa rekisteröitynä'
9 changes: 9 additions & 0 deletions lang/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,3 +86,12 @@ fr:
SilverStripe\MFA\Service\RegisteredMethodManager:
MFAADDED: 'Une méthode d''authentification multi-facteur a été ajoutée à votre compte'
MFAREMOVED: 'Une méthode d''authentification multifactorielle a été supprimée de votre compte.'
SilverStripe\MFA\RequestHandler\RegistrationHandlerTrait:
CSRF_FAILURE: 'Votre demande a expiré. Veuillez rafraîchir et réessayer'
METHOD_ALREADY_REGISTERED: 'Cette méthode a déjà été enregistrée pour ce membre'
METHOD_MISMATCH: 'La méthode ne correspond pas à l''enregistrement en cours'
NO_REGISTRATION_IN_PROGRESS: 'Pas d''inscription en cours'
SilverStripe\MFA\RequestHandler\VerificationHandlerTrait:
CSRF_FAILURE: 'Votre demande a expiré. Veuillez rafraîchir et réessayer'
METHOD_NOT_PROVIDED: 'Aucune méthode n''a été fournie pour se connecter et le membre n''a pas de méthode par défaut.'
METHOD_NOT_REGISTERED: 'Le membre n''a pas enregistré cette méthode'
9 changes: 9 additions & 0 deletions lang/nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,12 @@ nl:
SilverStripe\MFA\Service\RegisteredMethodManager:
MFAADDED: 'Er is een tweestapsverificatie methode toegevoegd aan uw account'
MFAREMOVED: 'Er is een tweestapsverificatie methode verwijderd van uw account'
SilverStripe\MFA\RequestHandler\RegistrationHandlerTrait:
CSRF_FAILURE: 'De aanvraag duurde te lang om te verwerken. Ververs aub de pagina en probeer het nogmaals.'
METHOD_ALREADY_REGISTERED: 'Die methode is voor dit account al geregistreerd'
METHOD_MISMATCH: 'Deze methode komt niet overeen met het huidige loginproces.'
NO_REGISTRATION_IN_PROGRESS: 'Geen registratie bezig'
SilverStripe\MFA\RequestHandler\VerificationHandlerTrait:
CSRF_FAILURE: 'De aanvraag duurde te lang om te verwerken. Ververs aub de pagina en probeer het nogmaals.'
METHOD_NOT_PROVIDED: 'Het was niet duidelijk met welke methode moest worden ingelogd en er is geen standaard ingesteld.'
METHOD_NOT_REGISTERED: 'Deze methode is niet geregistreerd voor dit account'
9 changes: 9 additions & 0 deletions lang/sv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,12 @@ sv:
SilverStripe\MFA\Service\RegisteredMethodManager:
MFAADDED: 'En multifaktorautentiseringsmetod har lagts till ditt konto'
MFAREMOVED: 'En multifaktorautentiseringsmetod togs bort från ditt konto'
SilverStripe\MFA\RequestHandler\RegistrationHandlerTrait:
CSRF_FAILURE: 'Din begäran tog för lång tid. Vänligen ladda om sidan och försök igen'
METHOD_ALREADY_REGISTERED: 'Den metoden har redan registrerats mot detta konto'
METHOD_MISMATCH: 'Metoden matchar inte pågående registrering'
NO_REGISTRATION_IN_PROGRESS: 'Ingen registrering pågår'
SilverStripe\MFA\RequestHandler\VerificationHandlerTrait:
CSRF_FAILURE: 'Din begäran tog för lång tid. Vänligen ladda om sidan och försök igen'
METHOD_NOT_PROVIDED: 'Ingen metod gavs för att logga in med och kontot har ingen standardmetod'
METHOD_NOT_REGISTERED: 'Kontot har inte denna metod registrerad'

0 comments on commit a7f9d86

Please sign in to comment.