Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Add verification code prompt translation #73

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v3.7.1 (unreleased)

### Added

- Add `VERIFICATION_CODE_PROMPT` translations.

## v3.7.0 (April 26, 2022)

### Added
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@brightlayer-ui/react-auth-shared",
"description": "Re-usable react logic for Authentication and Registration within Eaton applications. For use with @brightlayer-ui/react-native-auth-workflow and @brightlayer-ui/react-auth-workflow.",
"version": "3.7.0",
"version": "3.7.1-beta.0",
"license": "BSD-3-Clause",
"author": {
"name": "Brightlayer UI",
Expand Down Expand Up @@ -57,7 +57,7 @@
"@babel/preset-env": "^7.10.4",
"@babel/preset-react": "^7.10.4",
"@babel/runtime": "^7.9.2",
"@brightlayer-ui/eslint-config": "^2.0.4",
"@brightlayer-ui/eslint-config": "^3.0.1",
"@brightlayer-ui/prettier-config": "latest",
"@react-native-community/bob": "^0.10.0",
"@types/enzyme": "^3.10.5",
Expand Down
1 change: 1 addition & 0 deletions src/data/translations/chinese.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const resources: LanguageFile = {
MESSAGE:
'已向您的邮箱中发送了一封验证邮件。请点击邮件中的链接,或者在此输入邮件中的验证码。验证邮件在30分钟内有效。',
RESEND: '重新发送验证邮件',
VERIFICATION_CODE_PROMPT: '没有收到验证码?',
VERIFICATION: '验证码',
},
},
Expand Down
1 change: 1 addition & 0 deletions src/data/translations/english.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ const resources: LanguageFile = {
MESSAGE:
'A verification code has been sent to the email address you provided. Click the link or enter the code below to continue. This code is valid for 30 minutes.',
RESEND: 'Resend Verification Email',
VERIFICATION_CODE_PROMPT: "Didn't receive a code?",
VERIFICATION: 'Verification Code',
},
},
Expand Down
1 change: 1 addition & 0 deletions src/data/translations/french.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const resources: LanguageFile = {
VERIFY_EMAIL: {
MESSAGE: `Un code de vérification a été envoyé à l'adresse e-mail que vous avez fournie. Cliquez sur le lien ou entrez le code ci-dessous pour continuer. Ce code est valable 30 minutes.`,
RESEND: `Renvoyer l'e-mail de vérification`,
VERIFICATION_CODE_PROMPT: "Vous n'avez pas reçu de code ?",
VERIFICATION: 'Code de vérification',
},
},
Expand Down
1 change: 1 addition & 0 deletions src/data/translations/portuguese.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ const resources: LanguageFile = {
MESSAGE:
'Foi enviado um código de verificação para o e-mail que indicou. Clique no link ou preencha o campo com o código para continuar. Este código é válido durante 30 minutos.',
RESEND: 'Reenviar e-mail de verificação',
VERIFICATION_CODE_PROMPT: 'Não recebeu um código?',
VERIFICATION: 'Código de verificação',
},
},
Expand Down
1 change: 1 addition & 0 deletions src/data/translations/spanish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ const resources: LanguageFile = {
VERIFY_EMAIL: {
MESSAGE: `Se ha enviado un código de verificación a la dirección de correo electrónico que proporcionó. Haga clic en el enlace o ingrese el código abajo para continuar. Este código es válido por 30 minutos.`,
RESEND: 'Reenviar correo electrónico de verificación',
VERIFICATION_CODE_PROMPT: '¿No recibiste un código?',
VERIFICATION: 'Código de verificación',
},
},
Expand Down
1 change: 1 addition & 0 deletions src/data/translations/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ export type AuthTranslations = {
VERIFY_EMAIL: {
MESSAGE: string;
RESEND: string;
VERIFICATION_CODE_PROMPT: string;
VERIFICATION: string;
};
};
Expand Down
Loading