Skip to content
Open
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
8 changes: 8 additions & 0 deletions codemagic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ workflows:
scripts:
- name: Create .env file
script: |
if [ -z "${AUTH0_DOMAIN:-}" ] || [ -z "${AUTH0_CLIENT_ID:-}" ]; then
echo "AUTH0_DOMAIN and AUTH0_CLIENT_ID must be configured in the Mobile environment group."
exit 1
fi
echo "HASHNODE_PUBLICATION_ID=$HASHNODE_PUBLICATION_ID" > .env
echo "ALGOLIAAPPID=$ALGOLIAAPPID" >> .env
echo "ALGOLIAKEY=$ALGOLIAKEY" >> .env
Expand Down Expand Up @@ -110,6 +114,10 @@ workflows:
scripts:
- name: Create .env file
script: |
if [ -z "${AUTH0_DOMAIN:-}" ] || [ -z "${AUTH0_CLIENT_ID:-}" ]; then
echo "AUTH0_DOMAIN and AUTH0_CLIENT_ID must be configured in the Mobile environment group."
exit 1
fi
echo "HASHNODE_PUBLICATION_ID=$HASHNODE_PUBLICATION_ID" > .env
echo "ALGOLIAAPPID=$ALGOLIAAPPID" >> .env
echo "ALGOLIAKEY=$ALGOLIAKEY" >> .env
Expand Down
4 changes: 4 additions & 0 deletions mobile-app/lib/l10n/app_en.arb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@
"@email_invalid_code": {
"description": "login view (when failing to login with email)"
},
"email_code_not_sent": "We couldn't send a sign-in code. Please try again.",
"@email_code_not_sent": {
"description": "login view (when sending an email sign-in code fails)"
},
"login_data_message": "freeCodeCamp is free and your account is private by default. We use your email address to connect you to your account.",
"@login_data_message": {
"description": "login view"
Expand Down
6 changes: 5 additions & 1 deletion mobile-app/lib/l10n/app_es.arb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@
},
"email_invalid_code": "The code you entered is not valid. Please check the last OTP you received and try again.",
"@email_invalid_code": {
"description": "login view (when failing to login with email)"
"description": "login view (when failing to login with email)"
},
"email_code_not_sent": "We couldn't send a sign-in code. Please try again.",
"@email_code_not_sent": {
"description": "login view (when sending an email sign-in code fails)"
},
"login_data_message": "freeCodeCamp is free and your account is private by default. We use your email address to connect you to your account.",
"@login_data_message": {
Expand Down
6 changes: 6 additions & 0 deletions mobile-app/lib/l10n/app_localizations.dart
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ abstract class AppLocalizations {
/// **'The code you entered is not valid. Please check the last OTP you received and try again.'**
String get email_invalid_code;

/// login view (when sending an email sign-in code fails)
///
/// In en, this message translates to:
/// **'We couldn\'t send a sign-in code. Please try again.'**
String get email_code_not_sent;

/// login view
///
/// In en, this message translates to:
Expand Down
4 changes: 4 additions & 0 deletions mobile-app/lib/l10n/app_localizations_en.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ class AppLocalizationsEn extends AppLocalizations {
String get email_invalid_code =>
'The code you entered is not valid. Please check the last OTP you received and try again.';

@override
String get email_code_not_sent =>
'We couldn\'t send a sign-in code. Please try again.';

@override
String get login_data_message =>
'freeCodeCamp is free and your account is private by default. We use your email address to connect you to your account.';
Expand Down
4 changes: 4 additions & 0 deletions mobile-app/lib/l10n/app_localizations_es.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ class AppLocalizationsEs extends AppLocalizations {
String get email_invalid_code =>
'The code you entered is not valid. Please check the last OTP you received and try again.';

@override
String get email_code_not_sent =>
'We couldn\'t send a sign-in code. Please try again.';

@override
String get login_data_message =>
'freeCodeCamp is free and your account is private by default. We use your email address to connect you to your account.';
Expand Down
4 changes: 4 additions & 0 deletions mobile-app/lib/l10n/app_localizations_pt.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@ class AppLocalizationsPt extends AppLocalizations {
String get email_invalid_code =>
'The code you entered is not valid. Please check the last OTP you received and try again.';

@override
String get email_code_not_sent =>
'We couldn\'t send a sign-in code. Please try again.';

@override
String get login_data_message =>
'freeCodeCamp is free and your account is private by default. We use your email address to connect you to your account.';
Expand Down
6 changes: 5 additions & 1 deletion mobile-app/lib/l10n/app_pt.arb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@
},
"email_invalid_code": "The code you entered is not valid. Please check the last OTP you received and try again.",
"@email_invalid_code": {
"description": "login view (when failing to login with email)"
"description": "login view (when failing to login with email)"
},
"email_code_not_sent": "We couldn't send a sign-in code. Please try again.",
"@email_code_not_sent": {
"description": "login view (when sending an email sign-in code fails)"
},
"login_data_message": "freeCodeCamp is free and your account is private by default. We use your email address to connect you to your account.",
"@login_data_message": {
Expand Down
Loading
Loading