Compare commits
216 Commits
open-relea
...
sajjad/aut
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
db75d5046d | ||
|
|
5aec091156 | ||
|
|
68993cc21f | ||
|
|
404fc2b36b | ||
|
|
7bb06d0bfa | ||
|
|
abbb64b9c7 | ||
|
|
99ca582c1a | ||
|
|
3e4cfc1573 | ||
|
|
5437e1b7e9 | ||
|
|
4d33cd7d69 | ||
|
|
cb82e94b53 | ||
|
|
dbe14ccedf | ||
|
|
841edf2d24 | ||
|
|
0c375cc50c | ||
|
|
50072887d0 | ||
|
|
976814d846 | ||
|
|
c22024cf66 | ||
|
|
829a219b9f | ||
|
|
13d572ab28 | ||
|
|
c0c2ffa122 | ||
|
|
84c563fda3 | ||
|
|
97720d6a46 | ||
|
|
386982d9c4 | ||
|
|
cb38a2a148 | ||
|
|
07f19209bf | ||
|
|
69c0ca13fc | ||
|
|
e49c50f55c | ||
|
|
f0105f0094 | ||
|
|
3c89afea4a | ||
|
|
848f574f3f | ||
|
|
ec9e34cea4 | ||
|
|
f9069df4e6 | ||
|
|
9035f3eb7e | ||
|
|
e197e788d1 | ||
|
|
49d33522a8 | ||
|
|
06f0ec3c0b | ||
|
|
54319c6949 | ||
|
|
86f875ec3e | ||
|
|
754a6ddb12 | ||
|
|
62e8f75b96 | ||
|
|
c0deb663a6 | ||
|
|
ce28add152 | ||
|
|
5f89315947 | ||
|
|
56dd194a1a | ||
|
|
adcdcc4c8b | ||
|
|
7fd45f089d | ||
|
|
65d82b2080 | ||
|
|
f771935e20 | ||
|
|
70c255fc4f | ||
|
|
bd1396fc54 | ||
|
|
cba5395d5c | ||
|
|
b42c09d919 | ||
|
|
b7af2356fa | ||
|
|
22d477e55f | ||
|
|
dfa69c27bb | ||
|
|
6b78158db2 | ||
|
|
c92cac0eed | ||
|
|
b2dce920fa | ||
|
|
44cec762fb | ||
|
|
a98188ead8 | ||
|
|
294b1a469f | ||
|
|
ebed588c1c | ||
|
|
46f8217e1a | ||
|
|
9ab23cf485 | ||
|
|
7790660fe8 | ||
|
|
1dd2726beb | ||
|
|
ba9ce89d1b | ||
|
|
c9082ac709 | ||
|
|
27c8fa8986 | ||
|
|
a04289d71b | ||
|
|
321859e0f5 | ||
|
|
4b4bf413c1 | ||
|
|
06c4f75b4a | ||
|
|
12dd97af61 | ||
|
|
8e77197459 | ||
|
|
3cc64cada6 | ||
|
|
3ac5874df1 | ||
|
|
107dd6f360 | ||
|
|
347e0cd336 | ||
|
|
2ba6058ec7 | ||
|
|
683aa258b8 | ||
|
|
d7ad7e314d | ||
|
|
ef66eb1c31 | ||
|
|
ec8b256852 | ||
|
|
5a715b2fb5 | ||
|
|
e80578e682 | ||
|
|
155a73dc39 | ||
|
|
f5d0b50d90 | ||
|
|
b0745de672 | ||
|
|
d54fdbf84f | ||
|
|
0a6432c393 | ||
|
|
9e91c382b3 | ||
|
|
2cf24761c0 | ||
|
|
c2bdc31a03 | ||
|
|
9d487d7b61 | ||
|
|
a2ab6c196a | ||
|
|
6a5b02e8ad | ||
|
|
e76f214024 | ||
|
|
cb47717b09 | ||
|
|
85dbc9a6ca | ||
|
|
4aebeaffa7 | ||
|
|
6a84e2d5b6 | ||
|
|
e26620e350 | ||
|
|
1cabd2a514 | ||
|
|
06dd70078e | ||
|
|
4b13866e1d | ||
|
|
11142fda25 | ||
|
|
b4057f9588 | ||
|
|
9524f030d1 | ||
|
|
3f10dce04f | ||
|
|
5f8802272d | ||
|
|
0d486c2774 | ||
|
|
e78a1583c0 | ||
|
|
ea966c48b9 | ||
|
|
810b8d46b9 | ||
|
|
8a00b74863 | ||
|
|
94fafe661d | ||
|
|
7d58a124ab | ||
|
|
378a8d95f9 | ||
|
|
3a2e39af97 | ||
|
|
6f6d725126 | ||
|
|
3d8eb34d80 | ||
|
|
2768fc02ea | ||
|
|
0902467fa6 | ||
|
|
1dc999070f | ||
|
|
7a169715ea | ||
|
|
361f6781ee | ||
|
|
42190a89dd | ||
|
|
2d4c6a1d3b | ||
|
|
1dd88795c3 | ||
|
|
7cff7311e1 | ||
|
|
bf93959350 | ||
|
|
94151c2668 | ||
|
|
bf650e6d4c | ||
|
|
575f195970 | ||
|
|
c6bf6c92c1 | ||
|
|
b86c31bff8 | ||
|
|
fc37bbec1d | ||
|
|
6525c66600 | ||
|
|
145234c5c3 | ||
|
|
a7f816f49a | ||
|
|
694b0a5381 | ||
|
|
8a0947faf3 | ||
|
|
d1c4b20160 | ||
|
|
d81d8419a0 | ||
|
|
c6acdab7c6 | ||
|
|
0374143148 | ||
|
|
2d3c5ed761 | ||
|
|
a611451233 | ||
|
|
93dcd8f16e | ||
|
|
294519c7a5 | ||
|
|
f11df1f513 | ||
|
|
563609e10a | ||
|
|
b4d4e36f72 | ||
|
|
f291efc428 | ||
|
|
1a61ba3cc7 | ||
|
|
3d10cea137 | ||
|
|
6c72e9dad4 | ||
|
|
c5d4f6b94d | ||
|
|
c52d7b6de5 | ||
|
|
6ade0a837f | ||
|
|
81d69c8e72 | ||
|
|
ca333e895f | ||
|
|
8e527efd07 | ||
|
|
c31c03f5a9 | ||
|
|
fe34acf314 | ||
|
|
1f21a874b8 | ||
|
|
ee6a6f0d2d | ||
|
|
8d0181ccca | ||
|
|
e8dba05920 | ||
|
|
6652e2f15c | ||
|
|
578eec8a2d | ||
|
|
8b116d2234 | ||
|
|
b9aa110440 | ||
|
|
9f50bbda79 | ||
|
|
6f2ce69b77 | ||
|
|
8ad2678ce2 | ||
|
|
49c91262fd | ||
|
|
15378682ab | ||
|
|
296861ce3a | ||
|
|
aa59acf0bc | ||
|
|
83e204f3f8 | ||
|
|
497d60e244 | ||
|
|
e8282d6d4a | ||
|
|
72510047d8 | ||
|
|
7dee21eb72 | ||
|
|
d06290642b | ||
|
|
525abe6b88 | ||
|
|
a7704edb9c | ||
|
|
78693f4fc6 | ||
|
|
186484defa | ||
|
|
f8fe704c42 | ||
|
|
82857db236 | ||
|
|
661914b0db | ||
|
|
057299de2b | ||
|
|
93db1a23e2 | ||
|
|
36ec03b24b | ||
|
|
1d6f47c49e | ||
|
|
10dfab7127 | ||
|
|
a8ebe2c096 | ||
|
|
b3dc1c1513 | ||
|
|
7cdae09a94 | ||
|
|
59c2c2fd5d | ||
|
|
70000aab75 | ||
|
|
059d79302d | ||
|
|
ee300466aa | ||
|
|
c4fb3f72e5 | ||
|
|
ed0da96076 | ||
|
|
85fbc54384 | ||
|
|
a6c282520a | ||
|
|
aa4faba4a3 | ||
|
|
5e864c4ff1 | ||
|
|
0c4e612e39 | ||
|
|
92faa846ac | ||
|
|
5bfdd8e1ef | ||
|
|
5af93a57c7 |
22
.env
22
.env
@@ -13,19 +13,23 @@ ORDER_HISTORY_URL=null
|
|||||||
REFRESH_ACCESS_TOKEN_ENDPOINT=null
|
REFRESH_ACCESS_TOKEN_ENDPOINT=null
|
||||||
SEGMENT_KEY=''
|
SEGMENT_KEY=''
|
||||||
SITE_NAME=null
|
SITE_NAME=null
|
||||||
USER_INFO_COOKIE_NAME=null
|
|
||||||
AUTHN_MINIMAL_HEADER=true
|
|
||||||
LOGIN_ISSUE_SUPPORT_LINK=''
|
|
||||||
USER_SURVEY_COOKIE_NAME=null
|
|
||||||
COOKIE_DOMAIN=null
|
|
||||||
WELCOME_PAGE_SUPPORT_LINK=null
|
|
||||||
INFO_EMAIL=''
|
INFO_EMAIL=''
|
||||||
DISABLE_ENTERPRISE_LOGIN=''
|
# ***** Cookies *****
|
||||||
REGISTER_CONVERSION_COOKIE_NAME=null
|
REGISTER_CONVERSION_COOKIE_NAME=null
|
||||||
ENABLE_PROGRESSIVE_PROFILING=''
|
USER_SURVEY_COOKIE_NAME=null
|
||||||
|
# ***** Links *****
|
||||||
|
LOGIN_ISSUE_SUPPORT_LINK=''
|
||||||
|
AUTHN_PROGRESSIVE_PROFILING_SUPPORT_LINK=null
|
||||||
|
# ***** Features flags *****
|
||||||
|
DISABLE_ENTERPRISE_LOGIN=''
|
||||||
|
ENABLE_DYNAMIC_REGISTRATION_FIELDS=''
|
||||||
|
ENABLE_PROGRESSIVE_PROFILING_ON_AUTHN=''
|
||||||
|
ENABLE_PERSONALIZED_RECOMMENDATIONS=''
|
||||||
MARKETING_EMAILS_OPT_IN=''
|
MARKETING_EMAILS_OPT_IN=''
|
||||||
ENABLE_COPPA_COMPLIANCE=''
|
SHOW_CONFIGURABLE_EDX_FIELDS=''
|
||||||
|
# ***** Zendesk related keys *****
|
||||||
ZENDESK_KEY=''
|
ZENDESK_KEY=''
|
||||||
ZENDESK_LOGO_URL=''
|
ZENDESK_LOGO_URL=''
|
||||||
|
# ***** Miscellaneous *****
|
||||||
APP_ID=''
|
APP_ID=''
|
||||||
MFE_CONFIG_API_URL=''
|
MFE_CONFIG_API_URL=''
|
||||||
|
|||||||
@@ -18,21 +18,20 @@ ORDER_HISTORY_URL='http://localhost:1996/orders'
|
|||||||
REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh'
|
REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh'
|
||||||
SEGMENT_KEY=''
|
SEGMENT_KEY=''
|
||||||
SITE_NAME='Your Platform Name Here'
|
SITE_NAME='Your Platform Name Here'
|
||||||
|
INFO_EMAIL='info@example.com'
|
||||||
|
# ***** Cookies *****
|
||||||
|
REGISTER_CONVERSION_COOKIE_NAME='openedx-user-register-conversion'
|
||||||
|
SESSION_COOKIE_DOMAIN='localhost'
|
||||||
USER_INFO_COOKIE_NAME='edx-user-info'
|
USER_INFO_COOKIE_NAME='edx-user-info'
|
||||||
AUTHN_MINIMAL_HEADER=true
|
USER_SURVEY_COOKIE_NAME='openedx-user-survey-type'
|
||||||
LOGIN_ISSUE_SUPPORT_LINK='/login-issue-support-url'
|
# ***** Links *****
|
||||||
|
LOGIN_ISSUE_SUPPORT_LINK='http://localhost:18000/login-issue-support-url'
|
||||||
TOS_AND_HONOR_CODE='http://localhost:18000/honor'
|
TOS_AND_HONOR_CODE='http://localhost:18000/honor'
|
||||||
TOS_LINK='http://localhost:18000/tos'
|
TOS_LINK='http://localhost:18000/tos'
|
||||||
PRIVACY_POLICY='http://localhost:18000/privacy'
|
PRIVACY_POLICY='http://localhost:18000/privacy'
|
||||||
USER_SURVEY_COOKIE_NAME='openedx-user-survey-type'
|
AUTHN_PROGRESSIVE_PROFILING_SUPPORT_LINK='http://localhost:1999/welcome'
|
||||||
COOKIE_DOMAIN='localhost'
|
# ***** Miscellaneous *****
|
||||||
WELCOME_PAGE_SUPPORT_LINK='http://localhost:1999/welcome'
|
|
||||||
INFO_EMAIL='info@edx.org'
|
|
||||||
DISABLE_ENTERPRISE_LOGIN=''
|
|
||||||
REGISTER_CONVERSION_COOKIE_NAME='openedx-user-register-conversion'
|
|
||||||
ENABLE_COPPA_COMPLIANCE=''
|
|
||||||
MARKETING_EMAILS_OPT_IN=''
|
|
||||||
ZENDESK_KEY=''
|
|
||||||
ZENDESK_LOGO_URL=''
|
|
||||||
APP_ID=''
|
APP_ID=''
|
||||||
MFE_CONFIG_API_URL=''
|
MFE_CONFIG_API_URL=''
|
||||||
|
ZENDESK_KEY=''
|
||||||
|
ZENDESK_LOGO_URL=''
|
||||||
|
|||||||
4
.env.private.example
Normal file
4
.env.private.example
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
# Copy these to the .env.private to enable edX specific functionality on local system
|
||||||
|
ENABLE_PROGRESSIVE_PROFILING_ON_AUTHN='true'
|
||||||
|
MARKETING_EMAILS_OPT_IN='true'
|
||||||
|
SHOW_CONFIGURABLE_EDX_FIELDS='true'
|
||||||
@@ -16,15 +16,7 @@ ORDER_HISTORY_URL='http://localhost:1996/orders'
|
|||||||
REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh'
|
REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh'
|
||||||
SEGMENT_KEY=''
|
SEGMENT_KEY=''
|
||||||
SITE_NAME='Your Platform Name Here'
|
SITE_NAME='Your Platform Name Here'
|
||||||
USER_INFO_COOKIE_NAME='edx-user-info'
|
|
||||||
LOGIN_ISSUE_SUPPORT_LINK='https://login-issue-support-url.com'
|
|
||||||
USER_SURVEY_COOKIE_NAME='openedx-user-survey-type'
|
USER_SURVEY_COOKIE_NAME='openedx-user-survey-type'
|
||||||
WELCOME_PAGE_SUPPORT_LINK='http://localhost:1999/welcome'
|
|
||||||
DISABLE_ENTERPRISE_LOGIN=''
|
|
||||||
REGISTER_CONVERSION_COOKIE_NAME='openedx-user-register-conversion'
|
REGISTER_CONVERSION_COOKIE_NAME='openedx-user-register-conversion'
|
||||||
MARKETING_EMAILS_OPT_IN=''
|
|
||||||
ENABLE_COPPA_COMPLIANCE=''
|
|
||||||
ZENDESK_KEY=''
|
|
||||||
ZENDESK_LOGO_URL=''
|
|
||||||
APP_ID=''
|
APP_ID=''
|
||||||
MFE_CONFIG_API_URL=''
|
MFE_CONFIG_API_URL=''
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
coverage/*
|
coverage/*
|
||||||
dist/
|
dist/
|
||||||
|
docs
|
||||||
node_modules/
|
node_modules/
|
||||||
__mocks__/
|
__mocks__/
|
||||||
__snapshots__/
|
__snapshots__/
|
||||||
|
|||||||
10
.eslintrc.js
10
.eslintrc.js
@@ -1,3 +1,4 @@
|
|||||||
|
// eslint-disable-next-line import/no-extraneous-dependencies
|
||||||
const { createConfig } = require('@edx/frontend-build');
|
const { createConfig } = require('@edx/frontend-build');
|
||||||
|
|
||||||
module.exports = createConfig('eslint', {
|
module.exports = createConfig('eslint', {
|
||||||
@@ -7,10 +8,10 @@ module.exports = createConfig('eslint', {
|
|||||||
// to fail for no apparent reason since upgrading
|
// to fail for no apparent reason since upgrading
|
||||||
// @edx/frontend-build from v3 to v5:
|
// @edx/frontend-build from v3 to v5:
|
||||||
// - TypeError: Cannot read property 'range' of null
|
// - TypeError: Cannot read property 'range' of null
|
||||||
'indent': [
|
indent: [
|
||||||
'error',
|
'error',
|
||||||
2,
|
2,
|
||||||
{ 'ignoredNodes': ['TemplateLiteral', 'SwitchCase'] }
|
{ ignoredNodes: ['TemplateLiteral', 'SwitchCase'] },
|
||||||
],
|
],
|
||||||
'template-curly-spacing': 'off',
|
'template-curly-spacing': 'off',
|
||||||
'jsx-a11y/label-has-associated-control': ['error', {
|
'jsx-a11y/label-has-associated-control': ['error', {
|
||||||
@@ -18,9 +19,9 @@ module.exports = createConfig('eslint', {
|
|||||||
labelAttributes: [],
|
labelAttributes: [],
|
||||||
controlComponents: [],
|
controlComponents: [],
|
||||||
assert: 'htmlFor',
|
assert: 'htmlFor',
|
||||||
depth: 25
|
depth: 25,
|
||||||
}],
|
}],
|
||||||
'sort-imports': ['error', {ignoreCase: true, ignoreDeclarationSort: true}],
|
'sort-imports': ['error', { ignoreCase: true, ignoreDeclarationSort: true }],
|
||||||
'import/order': [
|
'import/order': [
|
||||||
'error',
|
'error',
|
||||||
{
|
{
|
||||||
@@ -46,5 +47,6 @@ module.exports = createConfig('eslint', {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
'function-paren-newline': 'off',
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
5
.github/pull_request_template.md
vendored
5
.github/pull_request_template.md
vendored
@@ -2,11 +2,16 @@
|
|||||||
|
|
||||||
Include a description of your changes here, along with a link to any relevant Jira tickets and/or Github issues.
|
Include a description of your changes here, along with a link to any relevant Jira tickets and/or Github issues.
|
||||||
|
|
||||||
|
#### JIRA
|
||||||
|
|
||||||
|
[XXX-XXXX](https://2u-internal.atlassian.net/browse/XXX-XXXX)
|
||||||
|
|
||||||
#### How Has This Been Tested?
|
#### How Has This Been Tested?
|
||||||
|
|
||||||
Please describe in detail how you tested your changes.
|
Please describe in detail how you tested your changes.
|
||||||
|
|
||||||
#### Screenshots/sandbox (optional):
|
#### Screenshots/sandbox (optional):
|
||||||
|
|
||||||
Include a link to the sandbox for design changes or screenshot for before and after. **Remove this section if its not applicable.**
|
Include a link to the sandbox for design changes or screenshot for before and after. **Remove this section if its not applicable.**
|
||||||
|
|
||||||
|Before|After|
|
|Before|After|
|
||||||
|
|||||||
20
.github/workflows/add-remove-label-on-comment.yml
vendored
Normal file
20
.github/workflows/add-remove-label-on-comment.yml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# This workflow runs when a comment is made on the ticket
|
||||||
|
# If the comment starts with "label: " it tries to apply
|
||||||
|
# the label indicated in rest of comment.
|
||||||
|
# If the comment starts with "remove label: ", it tries
|
||||||
|
# to remove the indicated label.
|
||||||
|
# Note: Labels are allowed to have spaces and this script does
|
||||||
|
# not parse spaces (as often a space is legitimate), so the command
|
||||||
|
# "label: really long lots of words label" will apply the
|
||||||
|
# label "really long lots of words label"
|
||||||
|
|
||||||
|
name: Allows for the adding and removing of labels via comment
|
||||||
|
|
||||||
|
on:
|
||||||
|
issue_comment:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
add_remove_labels:
|
||||||
|
uses: openedx/.github/.github/workflows/add-remove-label-on-comment.yml@master
|
||||||
|
|
||||||
25
.github/workflows/autoupdate-pull-request.yml
vendored
Normal file
25
.github/workflows/autoupdate-pull-request.yml
vendored
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
name: autoupdate
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
pull_request:
|
||||||
|
types: [ labeled ]
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
jobs:
|
||||||
|
autoupdate:
|
||||||
|
name: autoupdate
|
||||||
|
runs-on: ubuntu-20.04
|
||||||
|
steps:
|
||||||
|
- uses: docker://chinthakagodawita/autoupdate-action:v1
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
DRY_RUN: "false"
|
||||||
|
PR_FILTER: "labelled"
|
||||||
|
PR_LABELS: "autoupdate"
|
||||||
|
EXCLUDED_LABELS: "dependencies,wontfix"
|
||||||
|
MERGE_MSG: "Branch was auto-updated."
|
||||||
|
RETRY_COUNT: "5"
|
||||||
|
RETRY_SLEEP: "300"
|
||||||
|
MERGE_CONFLICT_ACTION: "fail"
|
||||||
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
@@ -11,17 +11,16 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
tests:
|
tests:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-20.04
|
||||||
strategy:
|
|
||||||
matrix:
|
|
||||||
node: [16]
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
|
- name: Setup Nodejs Env
|
||||||
|
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
|
||||||
- name: Setup Nodejs
|
- name: Setup Nodejs
|
||||||
uses: actions/setup-node@v2
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ env.NODE_VER }}
|
||||||
|
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|||||||
2
.github/workflows/lockfileversion-check.yml
vendored
2
.github/workflows/lockfileversion-check.yml
vendored
@@ -10,4 +10,4 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
version-check:
|
version-check:
|
||||||
uses: openedx/.github/.github/workflows/lockfileversion-check.yml@master
|
uses: openedx/.github/.github/workflows/lockfileversion-check-v3.yml@master
|
||||||
|
|||||||
12
.github/workflows/self-assign-issue.yml
vendored
Normal file
12
.github/workflows/self-assign-issue.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
# This workflow runs when a comment is made on the ticket
|
||||||
|
# If the comment starts with "assign me" it assigns the author to the
|
||||||
|
# ticket (case insensitive)
|
||||||
|
|
||||||
|
name: Assign comment author to ticket if they say "assign me"
|
||||||
|
on:
|
||||||
|
issue_comment:
|
||||||
|
types: [created]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
self_assign_by_comment:
|
||||||
|
uses: openedx/.github/.github/workflows/self-assign-issue.yml@master
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,6 +5,7 @@ node_modules
|
|||||||
npm-debug.log
|
npm-debug.log
|
||||||
coverage
|
coverage
|
||||||
module.config.js
|
module.config.js
|
||||||
|
.env.private
|
||||||
|
|
||||||
dist/
|
dist/
|
||||||
src/i18n/transifex_input.json
|
src/i18n/transifex_input.json
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
# The following users are the owners of all frontend-app-authn files
|
# The following users are the owners of all frontend-app-authn files
|
||||||
* @edx/vanguards
|
* @openedx/vanguards
|
||||||
|
|||||||
31
Makefile
31
Makefile
@@ -1,6 +1,7 @@
|
|||||||
export TRANSIFEX_RESOURCE = frontend-app-authn
|
export TRANSIFEX_RESOURCE = frontend-app-authn
|
||||||
transifex_langs = "ar,fr,es_419,zh_CN,it_IT,pt_PT,de_DE,uk,ru,hi"
|
transifex_langs = "ar,fr,es_419,zh_CN,pt,it,de,uk,ru,hi,fr_CA,it_IT,pt_PT,de_DE"
|
||||||
|
|
||||||
|
intl_imports = ./node_modules/.bin/intl-imports.js
|
||||||
transifex_utils = ./node_modules/.bin/transifex-utils.js
|
transifex_utils = ./node_modules/.bin/transifex-utils.js
|
||||||
i18n = ./src/i18n
|
i18n = ./src/i18n
|
||||||
transifex_input = $(i18n)/transifex_input.json
|
transifex_input = $(i18n)/transifex_input.json
|
||||||
@@ -42,11 +43,37 @@ push_translations:
|
|||||||
# Pushing comments to Transifex...
|
# Pushing comments to Transifex...
|
||||||
./node_modules/@edx/reactifex/bash_scripts/put_comments_v3.sh
|
./node_modules/@edx/reactifex/bash_scripts/put_comments_v3.sh
|
||||||
|
|
||||||
|
ifeq ($(OPENEDX_ATLAS_PULL),)
|
||||||
# Pulls translations from Transifex.
|
# Pulls translations from Transifex.
|
||||||
pull_translations:
|
pull_translations:
|
||||||
tx pull -t -f --mode reviewed --languages=$(transifex_langs)
|
tx pull -t -f --mode reviewed --languages=$(transifex_langs)
|
||||||
|
else
|
||||||
|
# Experimental: OEP-58 Pulls translations using atlas
|
||||||
|
pull_translations:
|
||||||
|
rm -rf src/i18n/messages
|
||||||
|
mkdir src/i18n/messages
|
||||||
|
cd src/i18n/messages \
|
||||||
|
&& atlas pull --filter=$(transifex_langs) \
|
||||||
|
translations/paragon/src/i18n/messages:paragon \
|
||||||
|
translations/frontend-app-authn/src/i18n/messages:frontend-app-authn
|
||||||
|
|
||||||
# This target is used by CI.
|
$(intl_imports) paragon frontend-app-authn
|
||||||
|
endif
|
||||||
|
|
||||||
|
# This target is used by Travis.
|
||||||
validate-no-uncommitted-package-lock-changes:
|
validate-no-uncommitted-package-lock-changes:
|
||||||
# Checking for package-lock.json changes...
|
# Checking for package-lock.json changes...
|
||||||
git diff --exit-code package-lock.json
|
git diff --exit-code package-lock.json
|
||||||
|
|
||||||
|
.PHONY: validate
|
||||||
|
validate:
|
||||||
|
make validate-no-uncommitted-package-lock-changes
|
||||||
|
npm run i18n_extract
|
||||||
|
npm run lint -- --max-warnings 0
|
||||||
|
npm run test
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
.PHONY: validate.ci
|
||||||
|
validate.ci:
|
||||||
|
npm ci
|
||||||
|
make validate
|
||||||
|
|||||||
53
README.rst
53
README.rst
@@ -72,8 +72,8 @@ The authentication micro-frontend also requires the following additional variabl
|
|||||||
- The fully-qualified URL to the password reset support page in the target environment.
|
- The fully-qualified URL to the password reset support page in the target environment.
|
||||||
- ``https://support.example.com``
|
- ``https://support.example.com``
|
||||||
|
|
||||||
* - ``WELCOME_PAGE_SUPPORT_LINK``
|
* - ``AUTHN_PROGRESSIVE_PROFILING_SUPPORT_LINK``
|
||||||
- The fully-qualified URL to the welcome support page in the target environment.
|
- The fully-qualified URL to the progressive profiling support page in the target environment.
|
||||||
- ``https://support.example.com``
|
- ``https://support.example.com``
|
||||||
|
|
||||||
* - ``TOS_AND_HONOR_CODE``
|
* - ``TOS_AND_HONOR_CODE``
|
||||||
@@ -96,7 +96,7 @@ The authentication micro-frontend also requires the following additional variabl
|
|||||||
- Enables support for configurable registration fields on the MFE. This flag must be enabled to show any required registration field besides the default fields (name, email, username, password).
|
- Enables support for configurable registration fields on the MFE. This flag must be enabled to show any required registration field besides the default fields (name, email, username, password).
|
||||||
- ``true`` | ``''`` (empty strings are falsy)
|
- ``true`` | ``''`` (empty strings are falsy)
|
||||||
|
|
||||||
* - ``ENABLE_PROGRESSIVE_PROFILING``
|
* - ``ENABLE_PROGRESSIVE_PROFILING_ON_AUTHN``
|
||||||
- Enables support for progressive profiling. If enabled, users are redirected to a second page where data for optional registration fields can be collected.
|
- Enables support for progressive profiling. If enabled, users are redirected to a second page where data for optional registration fields can be collected.
|
||||||
- ``true`` | ``''`` (empty strings are falsy)
|
- ``true`` | ``''`` (empty strings are falsy)
|
||||||
|
|
||||||
@@ -104,6 +104,15 @@ The authentication micro-frontend also requires the following additional variabl
|
|||||||
- Disables the enterprise login from Authn MFE.
|
- Disables the enterprise login from Authn MFE.
|
||||||
- ``true`` | ``''`` (empty strings are falsy)
|
- ``true`` | ``''`` (empty strings are falsy)
|
||||||
|
|
||||||
|
* - ``MFE_CONFIG_API_URL``
|
||||||
|
- Link of the API to get runtime mfe configuration variables from the site configuration or django settings.
|
||||||
|
- ``/api/v1/mfe_config`` | ``''`` (empty strings are falsy)
|
||||||
|
|
||||||
|
* - ``APP_ID``
|
||||||
|
- Name of MFE, this will be used by the API to get runtime configurations for the specific micro frontend. For a frontend repo `frontend-app-appName`, use `appName` as APP_ID.
|
||||||
|
- ``authn`` | ``''``
|
||||||
|
|
||||||
|
|
||||||
edX-specific Environment Variables
|
edX-specific Environment Variables
|
||||||
**********************************
|
**********************************
|
||||||
|
|
||||||
@@ -121,14 +130,52 @@ Furthermore, there are several edX-specific environment variables that enable in
|
|||||||
- Enables support for opting in marketing emails that helps us getting user consent for sending marketing emails.
|
- Enables support for opting in marketing emails that helps us getting user consent for sending marketing emails.
|
||||||
- ``true`` | ``''`` (empty strings are falsy)
|
- ``true`` | ``''`` (empty strings are falsy)
|
||||||
|
|
||||||
|
* - ``SHOW_CONFIGURABLE_EDX_FIELDS``
|
||||||
|
- For edX, country and honor code fields are required by default. This flag enables edX specific required fields.
|
||||||
|
- ``true`` | ``''`` (empty strings are falsy)
|
||||||
|
|
||||||
For more information see the document: `Micro-frontend applications in Open
|
For more information see the document: `Micro-frontend applications in Open
|
||||||
edX <https://edx.readthedocs.io/projects/edx-developer-docs/en/latest/developers_guide/micro_frontends_in_open_edx.html#required-environment-variables>`__.
|
edX <https://edx.readthedocs.io/projects/edx-developer-docs/en/latest/developers_guide/micro_frontends_in_open_edx.html#required-environment-variables>`__.
|
||||||
|
|
||||||
|
How To Contribute
|
||||||
|
------------
|
||||||
|
Contributions are very welcome, and strongly encouraged! We've
|
||||||
|
put together `some documentation that describes our contribution process <https://edx.readthedocs.org/projects/edx-developer-guide/en/latest/process/index.html>`_.
|
||||||
|
|
||||||
|
Even though they were written with edx-platform in mind, the guidelines should be followed for Open edX code in general.
|
||||||
|
|
||||||
|
PR description template should be automatically applied if you are sending PR from github interface; otherwise you
|
||||||
|
can find it it at `PULL_REQUEST_TEMPLATE.md <https://github.com/openedx/frontend-app-authn/blob/master/.github/pull_request_template.md>`_
|
||||||
|
|
||||||
|
This project is currently accepting all types of contributions, bug fixes and security fixes.
|
||||||
|
|
||||||
|
Open edX Code of Conduct
|
||||||
|
------------------------
|
||||||
|
All community members are expected to follow the `Open edX Code of Conduct <https://openedx.org/code-of-conduct/>`_.
|
||||||
|
|
||||||
|
People
|
||||||
|
------
|
||||||
|
The assigned maintainers for this component and other project details may be
|
||||||
|
found in `Backstage <https://backstage.openedx.org/catalog/default/group/vanguards>`_. Backstage pulls this data from the ``catalog-info.yaml``
|
||||||
|
file in this repo.
|
||||||
|
|
||||||
|
Reporting Security Issues
|
||||||
|
-------------------------
|
||||||
|
|
||||||
|
Please do not report security issues in public. Please email security@edx.org.
|
||||||
|
|
||||||
Known Issues
|
Known Issues
|
||||||
------------
|
------------
|
||||||
|
|
||||||
None
|
None
|
||||||
|
|
||||||
|
License
|
||||||
|
-------
|
||||||
|
|
||||||
|
The code in this repository is licensed under the GNU Affero General Public License v3.0, unless
|
||||||
|
otherwise noted.
|
||||||
|
|
||||||
|
Please see `LICENSE <https://github.com/openedx/frontend-app-authn/blob/master/LICENSE>`_ for details.
|
||||||
|
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
|
|||||||
18
catalog-info.yaml
Normal file
18
catalog-info.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# This file records information about this repo. Its use is described in OEP-55:
|
||||||
|
# https://open-edx-proposals.readthedocs.io/en/latest/processes/oep-0055-proc-project-maintainers.html
|
||||||
|
|
||||||
|
apiVersion: backstage.io/v1alpha1
|
||||||
|
kind: Component
|
||||||
|
metadata:
|
||||||
|
name: 'frontend-app-authn'
|
||||||
|
description: "Micro-frontend for authentication service. It contains views for login, registration and password reset functionality."
|
||||||
|
links:
|
||||||
|
- url: 'https://github.com/openedx/frontend-app-authn/blob/master/README.rst'
|
||||||
|
title: 'Documentation'
|
||||||
|
icon: 'Article'
|
||||||
|
annotations:
|
||||||
|
openedx.org/arch-interest-groups: ""
|
||||||
|
spec:
|
||||||
|
owner: group:vanguards
|
||||||
|
type: 'service'
|
||||||
|
lifecycle: 'production'
|
||||||
@@ -91,7 +91,7 @@ In the data sub-directory, the file names describe what each piece of code does.
|
|||||||
/ProfilePhotoUploader.jsx // supporting view
|
/ProfilePhotoUploader.jsx // supporting view
|
||||||
/data // Note: most files here are named with a plural, as they contain many of the things in question.
|
/data // Note: most files here are named with a plural, as they contain many of the things in question.
|
||||||
/actions.js
|
/actions.js
|
||||||
/constants.js
|
/mockedData.js
|
||||||
/reducers.js
|
/reducers.js
|
||||||
/sagas.js
|
/sagas.js
|
||||||
/selectors.js
|
/selectors.js
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
|
|
||||||
nick: Authn MFE
|
nick: Authn MFE
|
||||||
oeps: {}
|
oeps: {}
|
||||||
owner: edx/vanguards
|
owner: openedx/vanguards
|
||||||
openedx-release:
|
openedx-release:
|
||||||
ref: master
|
ref: master
|
||||||
|
|||||||
37308
package-lock.json
generated
37308
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
45
package.json
45
package.json
@@ -32,57 +32,52 @@
|
|||||||
"url": "https://github.com/openedx/frontend-app-authn/issues"
|
"url": "https://github.com/openedx/frontend-app-authn/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@edx/brand": "npm:@edx/brand-openedx@1.1.0",
|
"@edx/brand": "npm:@edx/brand-openedx@1.2.0",
|
||||||
"@edx/frontend-component-cookie-policy-banner": "2.2.0",
|
"@edx/frontend-platform": "4.5.1",
|
||||||
"@edx/frontend-platform": "3.1.1",
|
"@edx/paragon": "20.40.2",
|
||||||
"@edx/paragon": "20.20.0",
|
"@fortawesome/fontawesome-svg-core": "6.4.0",
|
||||||
"@fortawesome/fontawesome-svg-core": "6.2.1",
|
"@fortawesome/free-brands-svg-icons": "6.4.0",
|
||||||
"@fortawesome/free-brands-svg-icons": "6.2.1",
|
"@fortawesome/free-solid-svg-icons": "6.4.0",
|
||||||
"@fortawesome/free-regular-svg-icons": "6.2.1",
|
|
||||||
"@fortawesome/free-solid-svg-icons": "6.2.1",
|
|
||||||
"@fortawesome/react-fontawesome": "0.2.0",
|
"@fortawesome/react-fontawesome": "0.2.0",
|
||||||
"@redux-devtools/extension": "3.2.3",
|
"@optimizely/react-sdk": "^2.9.1",
|
||||||
|
"@redux-devtools/extension": "3.2.5",
|
||||||
|
"algoliasearch": "^4.14.3",
|
||||||
"classnames": "2.3.2",
|
"classnames": "2.3.2",
|
||||||
"core-js": "3.26.1",
|
"core-js": "3.30.2",
|
||||||
"extract-react-intl-messages": "4.1.1",
|
|
||||||
"fastest-levenshtein": "1.0.16",
|
"fastest-levenshtein": "1.0.16",
|
||||||
"form-urlencoded": "4.2.1",
|
"form-urlencoded": "6.1.0",
|
||||||
"lodash.camelcase": "4.3.0",
|
|
||||||
"lodash.snakecase": "4.1.1",
|
|
||||||
"prop-types": "15.8.1",
|
"prop-types": "15.8.1",
|
||||||
"query-string": "5.1.1",
|
"query-string": "7.1.3",
|
||||||
"react": "16.14.0",
|
"react": "16.14.0",
|
||||||
"react-dom": "16.14.0",
|
"react-dom": "16.14.0",
|
||||||
"react-helmet": "6.1.0",
|
"react-helmet": "6.1.0",
|
||||||
"react-loading-skeleton": "2.2.0",
|
"react-loading-skeleton": "3.2.1",
|
||||||
"react-onclickoutside": "6.12.2",
|
|
||||||
"react-redux": "7.2.9",
|
"react-redux": "7.2.9",
|
||||||
"react-responsive": "8.2.0",
|
"react-responsive": "8.2.0",
|
||||||
"react-router": "5.3.4",
|
"react-router": "5.3.4",
|
||||||
"react-router-dom": "5.3.4",
|
"react-router-dom": "5.3.4",
|
||||||
|
"react-zendesk": "^0.1.13",
|
||||||
"redux": "4.2.0",
|
"redux": "4.2.0",
|
||||||
"redux-logger": "3.0.6",
|
"redux-logger": "3.0.6",
|
||||||
"redux-mock-store": "1.5.4",
|
"redux-mock-store": "1.5.4",
|
||||||
"redux-saga": "1.2.1",
|
"redux-saga": "1.2.3",
|
||||||
"redux-thunk": "2.4.2",
|
"redux-thunk": "2.4.2",
|
||||||
"regenerator-runtime": "0.13.11",
|
"regenerator-runtime": "0.13.11",
|
||||||
"reselect": "4.1.7",
|
"reselect": "4.1.8",
|
||||||
"sanitize-html": "2.7.3",
|
|
||||||
"semver-regex": "3.1.4",
|
|
||||||
"universal-cookie": "4.0.4"
|
"universal-cookie": "4.0.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@edx/browserslist-config": "^1.1.1",
|
"@edx/browserslist-config": "^1.1.1",
|
||||||
"@edx/frontend-build": "11.0.2",
|
"@edx/frontend-build": "12.8.38",
|
||||||
"@edx/reactifex": "1.1.0",
|
"@edx/reactifex": "1.1.0",
|
||||||
"babel-plugin-formatjs": "10.3.31",
|
"babel-plugin-formatjs": "10.5.1",
|
||||||
"enzyme": "3.11.0",
|
"enzyme": "3.11.0",
|
||||||
"enzyme-adapter-react-16": "1.15.7",
|
"enzyme-adapter-react-16": "1.15.7",
|
||||||
"eslint-plugin-import": "2.26.0",
|
"eslint-plugin-import": "2.27.5",
|
||||||
"glob": "7.2.3",
|
"glob": "7.2.3",
|
||||||
"history": "5.3.0",
|
"history": "5.3.0",
|
||||||
"husky": "7.0.4",
|
"husky": "7.0.4",
|
||||||
"jest": "27.5.1",
|
"jest": "29.5.0",
|
||||||
"react-test-renderer": "16.14.0"
|
"react-test-renderer": "16.14.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,67 +4,6 @@
|
|||||||
<title>Authn | <%= process.env.SITE_NAME %></title>
|
<title>Authn | <%= process.env.SITE_NAME %></title>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<% if (process.env.OPTIMIZELY_URL) { %>
|
|
||||||
<script
|
|
||||||
src="<%= process.env.OPTIMIZELY_URL %>"
|
|
||||||
></script>
|
|
||||||
<% } else if (process.env.OPTIMIZELY_PROJECT_ID) { %>
|
|
||||||
<script
|
|
||||||
src="<%= process.env.MARKETING_SITE_BASE_URL %>/optimizelyjs/<%= process.env.OPTIMIZELY_PROJECT_ID %>.js"
|
|
||||||
></script>
|
|
||||||
<% } %>
|
|
||||||
<% if (process.env.ZENDESK_KEY) { %>
|
|
||||||
<script
|
|
||||||
id="ze-snippet"
|
|
||||||
src="https://static.zdassets.com/ekr/snippet.js?key=<%= process.env.ZENDESK_KEY %>"
|
|
||||||
>
|
|
||||||
</script>
|
|
||||||
<script type="text/javascript">
|
|
||||||
window.zESettings = {
|
|
||||||
cookies: true,
|
|
||||||
webWidget: {
|
|
||||||
contactOptions: {
|
|
||||||
enabled: false,
|
|
||||||
},
|
|
||||||
chat: {
|
|
||||||
suppress: false,
|
|
||||||
},
|
|
||||||
contactForm: {
|
|
||||||
ticketForms: [
|
|
||||||
{
|
|
||||||
id: 360003368814,
|
|
||||||
subject: false,
|
|
||||||
fields: [
|
|
||||||
{
|
|
||||||
id: 'description',
|
|
||||||
prefill: {
|
|
||||||
'*': '',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
],
|
|
||||||
selectTicketForm: {
|
|
||||||
'*': 'Please choose your request type:',
|
|
||||||
},
|
|
||||||
attachments: true,
|
|
||||||
},
|
|
||||||
helpCenter: {
|
|
||||||
originalArticleButton: true,
|
|
||||||
},
|
|
||||||
answerBot: {
|
|
||||||
suppress: false,
|
|
||||||
contactOnlyAfterQuery: true,
|
|
||||||
title: { '*': 'edX Support' },
|
|
||||||
avatar: {
|
|
||||||
url: '<%= process.env.ZENDESK_LOGO_URL %>',
|
|
||||||
name: { '*': 'edX Support' },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
<% } %>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|||||||
@@ -6,16 +6,24 @@ import { Helmet } from 'react-helmet';
|
|||||||
import { Redirect, Route, Switch } from 'react-router-dom';
|
import { Redirect, Route, Switch } from 'react-router-dom';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
Logistration, NotFoundPage, registerIcons, UnAuthOnlyRoute,
|
NotFoundPage, registerIcons, UnAuthOnlyRoute, Zendesk,
|
||||||
} from './common-components';
|
} from './common-components';
|
||||||
import configureStore from './data/configureStore';
|
import configureStore from './data/configureStore';
|
||||||
import {
|
import {
|
||||||
LOGIN_PAGE, PAGE_NOT_FOUND, PASSWORD_RESET_CONFIRM, REGISTER_PAGE, RESET_PAGE, WELCOME_PAGE,
|
AUTHN_PROGRESSIVE_PROFILING,
|
||||||
|
LOGIN_PAGE,
|
||||||
|
PAGE_NOT_FOUND,
|
||||||
|
PASSWORD_RESET_CONFIRM,
|
||||||
|
RECOMMENDATIONS,
|
||||||
|
REGISTER_PAGE,
|
||||||
|
RESET_PAGE,
|
||||||
} from './data/constants';
|
} from './data/constants';
|
||||||
import { updatePathWithQueryParams } from './data/utils';
|
import { updatePathWithQueryParams } from './data/utils';
|
||||||
import ForgotPasswordPage from './forgot-password';
|
import { ForgotPasswordPage } from './forgot-password';
|
||||||
import ResetPasswordPage from './reset-password';
|
import Logistration from './logistration/Logistration';
|
||||||
import { ProgressiveProfiling } from './welcome';
|
import { ProgressiveProfiling } from './progressive-profiling';
|
||||||
|
import { RecommendationsPage } from './recommendations';
|
||||||
|
import { ResetPasswordPage } from './reset-password';
|
||||||
import './index.scss';
|
import './index.scss';
|
||||||
|
|
||||||
registerIcons();
|
registerIcons();
|
||||||
@@ -25,6 +33,7 @@ const MainApp = () => (
|
|||||||
<Helmet>
|
<Helmet>
|
||||||
<link rel="shortcut icon" href={getConfig().FAVICON_URL} type="image/x-icon" />
|
<link rel="shortcut icon" href={getConfig().FAVICON_URL} type="image/x-icon" />
|
||||||
</Helmet>
|
</Helmet>
|
||||||
|
{getConfig().ZENDESK_KEY && <Zendesk />}
|
||||||
<Switch>
|
<Switch>
|
||||||
<Route exact path="/">
|
<Route exact path="/">
|
||||||
<Redirect to={updatePathWithQueryParams(REGISTER_PAGE)} />
|
<Redirect to={updatePathWithQueryParams(REGISTER_PAGE)} />
|
||||||
@@ -33,7 +42,8 @@ const MainApp = () => (
|
|||||||
<UnAuthOnlyRoute exact path={REGISTER_PAGE} component={Logistration} />
|
<UnAuthOnlyRoute exact path={REGISTER_PAGE} component={Logistration} />
|
||||||
<UnAuthOnlyRoute exact path={RESET_PAGE} component={ForgotPasswordPage} />
|
<UnAuthOnlyRoute exact path={RESET_PAGE} component={ForgotPasswordPage} />
|
||||||
<Route exact path={PASSWORD_RESET_CONFIRM} component={ResetPasswordPage} />
|
<Route exact path={PASSWORD_RESET_CONFIRM} component={ResetPasswordPage} />
|
||||||
<Route exact path={WELCOME_PAGE} component={ProgressiveProfiling} />
|
<Route exact path={AUTHN_PROGRESSIVE_PROFILING} component={ProgressiveProfiling} />
|
||||||
|
<Route exact path={RECOMMENDATIONS} component={RecommendationsPage} />
|
||||||
<Route path={PAGE_NOT_FOUND} component={NotFoundPage} />
|
<Route path={PAGE_NOT_FOUND} component={NotFoundPage} />
|
||||||
<Route path="*">
|
<Route path="*">
|
||||||
<Redirect to={PAGE_NOT_FOUND} />
|
<Redirect to={PAGE_NOT_FOUND} />
|
||||||
|
|||||||
@@ -1,46 +1,49 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Hyperlink, Image } from '@edx/paragon';
|
import { Hyperlink, Image } from '@edx/paragon';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
|
||||||
const AuthLargeLayout = ({ intl, username }) => (
|
const AuthLargeLayout = ({ username }) => {
|
||||||
<div className="w-50 d-flex">
|
const { formatMessage } = useIntl();
|
||||||
<div className="col-md-10 bg-light-200 p-0">
|
|
||||||
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
return (
|
||||||
<Image className="logo position-absolute" alt={getConfig().SITE_NAME} src={getConfig().LOGO_URL} />
|
<div className="w-50 d-flex">
|
||||||
</Hyperlink>
|
<div className="col-md-10 bg-light-200 p-0">
|
||||||
<div className="min-vh-100 d-flex align-items-center">
|
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
||||||
<div className="large-screen-left-container mr-n4.5 large-yellow-line mt-5" />
|
<Image className="logo position-absolute" alt={getConfig().SITE_NAME} src={getConfig().LOGO_URL} />
|
||||||
<div>
|
</Hyperlink>
|
||||||
<h1 className="welcome-to-platform data-hj-suppress">
|
<div className="min-vh-100 d-flex align-items-center">
|
||||||
{intl.formatMessage(messages['welcome.to.platform'], { siteName: getConfig().SITE_NAME, username })}
|
<div className="large-screen-left-container mr-n4.5 large-yellow-line mt-5" />
|
||||||
</h1>
|
<div>
|
||||||
<h2 className="complete-your-profile">
|
<h1 className="welcome-to-platform data-hj-suppress">
|
||||||
{intl.formatMessage(messages['complete.your.profile.1'])}
|
{formatMessage(messages['welcome.to.platform'], { siteName: getConfig().SITE_NAME, username })}
|
||||||
<div className="text-accent-a">
|
</h1>
|
||||||
{intl.formatMessage(messages['complete.your.profile.2'])}
|
<h2 className="complete-your-profile">
|
||||||
</div>
|
{formatMessage(messages['complete.your.profile.1'])}
|
||||||
</h2>
|
<div className="text-accent-a">
|
||||||
|
{formatMessage(messages['complete.your.profile.2'])}
|
||||||
|
</div>
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="col-md-2 bg-white p-0">
|
||||||
|
<svg className="m1-n1 w-100 h-100 large-screen-svg-light" preserveAspectRatio="xMaxYMin meet">
|
||||||
|
<g transform="skewX(171.6)">
|
||||||
|
<rect x="0" y="0" height="100%" width="100%" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-md-2 bg-white p-0">
|
);
|
||||||
<svg className="m1-n1 w-100 h-100 large-screen-svg-light" preserveAspectRatio="xMaxYMin meet">
|
};
|
||||||
<g transform="skewX(171.6)">
|
|
||||||
<rect x="0" y="0" height="100%" width="100%" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
|
|
||||||
AuthLargeLayout.propTypes = {
|
AuthLargeLayout.propTypes = {
|
||||||
intl: intlShape.isRequired,
|
|
||||||
username: PropTypes.string.isRequired,
|
username: PropTypes.string.isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(AuthLargeLayout);
|
export default AuthLargeLayout;
|
||||||
|
|||||||
@@ -1,49 +1,52 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Hyperlink, Image } from '@edx/paragon';
|
import { Hyperlink, Image } from '@edx/paragon';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
|
||||||
const AuthMediumLayout = ({ intl, username }) => (
|
const AuthMediumLayout = ({ username }) => {
|
||||||
<>
|
const { formatMessage } = useIntl();
|
||||||
<div className="w-100 medium-screen-top-stripe" />
|
|
||||||
<div className="w-100 p-0 mb-3 d-flex">
|
return (
|
||||||
<div className="col-md-10 bg-light-200">
|
<>
|
||||||
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
<div className="w-100 medium-screen-top-stripe" />
|
||||||
<Image className="logo" alt={getConfig().SITE_NAME} src={getConfig().LOGO_URL} />
|
<div className="w-100 p-0 mb-3 d-flex">
|
||||||
</Hyperlink>
|
<div className="col-md-10 bg-light-200">
|
||||||
<div className="d-flex align-items-center justify-content-center mb-4 ml-5">
|
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
||||||
<div className="medium-yellow-line mt-5 mr-n2" />
|
<Image className="logo" alt={getConfig().SITE_NAME} src={getConfig().LOGO_URL} />
|
||||||
<div>
|
</Hyperlink>
|
||||||
<h1 className="h3 data-hj-suppress mw-320">
|
<div className="d-flex align-items-center justify-content-center mb-4 ml-5">
|
||||||
{intl.formatMessage(messages['welcome.to.platform'], { siteName: getConfig().SITE_NAME, username })}
|
<div className="medium-yellow-line mt-5 mr-n2" />
|
||||||
</h1>
|
<div>
|
||||||
<h2 className="display-1">
|
<h1 className="h3 data-hj-suppress mw-320">
|
||||||
{intl.formatMessage(messages['complete.your.profile.1'])}
|
{formatMessage(messages['welcome.to.platform'], { siteName: getConfig().SITE_NAME, username })}
|
||||||
<div className="text-accent-a">
|
</h1>
|
||||||
{intl.formatMessage(messages['complete.your.profile.2'])}
|
<h2 className="display-1">
|
||||||
</div>
|
{formatMessage(messages['complete.your.profile.1'])}
|
||||||
</h2>
|
<div className="text-accent-a">
|
||||||
|
{formatMessage(messages['complete.your.profile.2'])}
|
||||||
|
</div>
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="col-md-2 bg-white p-0">
|
||||||
|
<svg className="w-100 h-100 medium-screen-svg-light" preserveAspectRatio="xMaxYMin meet">
|
||||||
|
<g transform="skewX(168)">
|
||||||
|
<rect x="0" y="0" height="100%" width="100%" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-md-2 bg-white p-0">
|
</>
|
||||||
<svg className="w-100 h-100 medium-screen-svg-light" preserveAspectRatio="xMaxYMin meet">
|
);
|
||||||
<g transform="skewX(168)">
|
};
|
||||||
<rect x="0" y="0" height="100%" width="100%" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
|
|
||||||
AuthMediumLayout.propTypes = {
|
AuthMediumLayout.propTypes = {
|
||||||
intl: intlShape.isRequired,
|
|
||||||
username: PropTypes.string.isRequired,
|
username: PropTypes.string.isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(AuthMediumLayout);
|
export default AuthMediumLayout;
|
||||||
|
|||||||
@@ -1,38 +1,41 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Hyperlink, Image } from '@edx/paragon';
|
import { Hyperlink, Image } from '@edx/paragon';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
|
||||||
const AuthSmallLayout = ({ intl, username }) => (
|
const AuthSmallLayout = ({ username }) => {
|
||||||
<div className="min-vw-100 bg-light-200">
|
const { formatMessage } = useIntl();
|
||||||
<div className="col-md-12 small-screen-top-stripe" />
|
|
||||||
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
return (
|
||||||
<Image className="logo-small" alt={getConfig().SITE_NAME} src={getConfig().LOGO_URL} />
|
<div className="min-vw-100 bg-light-200">
|
||||||
</Hyperlink>
|
<div className="col-md-12 small-screen-top-stripe" />
|
||||||
<div className="d-flex align-items-center mb-3 mt-3 mr-3">
|
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
||||||
<div className="small-yellow-line mt-4.5" />
|
<Image className="logo-small" alt={getConfig().SITE_NAME} src={getConfig().LOGO_URL} />
|
||||||
<div>
|
</Hyperlink>
|
||||||
<h1 className="h5 data-hj-suppress">
|
<div className="d-flex align-items-center mb-3 mt-3 mr-3">
|
||||||
{intl.formatMessage(messages['welcome.to.platform'], { siteName: getConfig().SITE_NAME, username })}
|
<div className="small-yellow-line mt-4.5" />
|
||||||
</h1>
|
<div>
|
||||||
<h2 className="h1">
|
<h1 className="h5 data-hj-suppress">
|
||||||
{intl.formatMessage(messages['complete.your.profile.1'])}
|
{formatMessage(messages['welcome.to.platform'], { siteName: getConfig().SITE_NAME, username })}
|
||||||
<div className="text-accent-a">
|
</h1>
|
||||||
{intl.formatMessage(messages['complete.your.profile.2'])}
|
<h2 className="h1">
|
||||||
</div>
|
{formatMessage(messages['complete.your.profile.1'])}
|
||||||
</h2>
|
<div className="text-accent-a">
|
||||||
|
{formatMessage(messages['complete.your.profile.2'])}
|
||||||
|
</div>
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
);
|
||||||
);
|
};
|
||||||
|
|
||||||
AuthSmallLayout.propTypes = {
|
AuthSmallLayout.propTypes = {
|
||||||
intl: intlShape.isRequired,
|
|
||||||
username: PropTypes.string.isRequired,
|
username: PropTypes.string.isRequired,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(AuthSmallLayout);
|
export default AuthSmallLayout;
|
||||||
|
|||||||
@@ -1,8 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import CookiePolicyBanner from '@edx/frontend-component-cookie-policy-banner';
|
|
||||||
import { getAuthenticatedUser } from '@edx/frontend-platform/auth';
|
import { getAuthenticatedUser } from '@edx/frontend-platform/auth';
|
||||||
import { getLocale } from '@edx/frontend-platform/i18n';
|
|
||||||
import { breakpoints } from '@edx/paragon';
|
import { breakpoints } from '@edx/paragon';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
@@ -21,7 +19,6 @@ const BaseComponent = ({ children, showWelcomeBanner }) => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<CookiePolicyBanner languageCode={getLocale()} />
|
|
||||||
<div className="col-md-12 extra-large-screen-top-stripe" />
|
<div className="col-md-12 extra-large-screen-top-stripe" />
|
||||||
<div className="layout">
|
<div className="layout">
|
||||||
<MediaQuery maxWidth={breakpoints.small.maxWidth - 1}>
|
<MediaQuery maxWidth={breakpoints.small.maxWidth - 1}>
|
||||||
|
|||||||
@@ -1,45 +1,45 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Hyperlink, Image } from '@edx/paragon';
|
import { Hyperlink, Image } from '@edx/paragon';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
|
||||||
const LargeLayout = ({ intl }) => (
|
const LargeLayout = () => {
|
||||||
<div className="w-50 d-flex">
|
const { formatMessage } = useIntl();
|
||||||
<div className="col-md-9 bg-primary-400">
|
|
||||||
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
return (
|
||||||
<Image className="logo position-absolute" alt={getConfig().SITE_NAME} src={getConfig().LOGO_WHITE_URL} />
|
<div className="w-50 d-flex">
|
||||||
</Hyperlink>
|
<div className="col-md-9 bg-primary-400">
|
||||||
<div className="min-vh-100 d-flex align-items-center">
|
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
||||||
<div className={classNames({ 'large-yellow-line mr-n4.5': getConfig().SITE_NAME === 'edX' })} />
|
<Image className="logo position-absolute" alt={getConfig().SITE_NAME} src={getConfig().LOGO_WHITE_URL} />
|
||||||
<h1
|
</Hyperlink>
|
||||||
className={classNames(
|
<div className="min-vh-100 d-flex align-items-center">
|
||||||
'display-2 text-white mw-xs',
|
<div className={classNames({ 'large-yellow-line mr-n4.5': getConfig().SITE_NAME === 'edX' })} />
|
||||||
{ 'ml-6': getConfig().SITE_NAME !== 'edX' },
|
<h1
|
||||||
)}
|
className={classNames(
|
||||||
>
|
'display-2 text-white mw-xs',
|
||||||
{intl.formatMessage(messages['start.learning'])}
|
{ 'ml-6': getConfig().SITE_NAME !== 'edX' },
|
||||||
<div className="text-accent-a">
|
)}
|
||||||
{intl.formatMessage(messages['with.site.name'], { siteName: getConfig().SITE_NAME })}
|
>
|
||||||
</div>
|
{formatMessage(messages['start.learning'])}
|
||||||
</h1>
|
<div className="text-accent-a">
|
||||||
|
{formatMessage(messages['with.site.name'], { siteName: getConfig().SITE_NAME })}
|
||||||
|
</div>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div className="col-md-3 bg-white p-0">
|
||||||
|
<svg className="ml-n1 w-100 h-100 large-screen-svg-primary" preserveAspectRatio="xMaxYMin meet">
|
||||||
|
<g transform="skewX(171.6)">
|
||||||
|
<rect x="0" y="0" height="100%" width="100%" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-md-3 bg-white p-0">
|
);
|
||||||
<svg className="ml-n1 w-100 h-100 large-screen-svg-primary" preserveAspectRatio="xMaxYMin meet">
|
|
||||||
<g transform="skewX(171.6)">
|
|
||||||
<rect x="0" y="0" height="100%" width="100%" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
|
|
||||||
LargeLayout.propTypes = {
|
|
||||||
intl: intlShape.isRequired,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(LargeLayout);
|
export default LargeLayout;
|
||||||
|
|||||||
@@ -1,50 +1,50 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Hyperlink, Image } from '@edx/paragon';
|
import { Hyperlink, Image } from '@edx/paragon';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
|
||||||
const MediumLayout = ({ intl }) => (
|
const MediumLayout = () => {
|
||||||
<>
|
const { formatMessage } = useIntl();
|
||||||
<div className="w-100 medium-screen-top-stripe" />
|
|
||||||
<div className="w-100 p-0 mb-3 d-flex">
|
return (
|
||||||
<div className="col-md-10 bg-primary-400">
|
<>
|
||||||
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
<div className="w-100 medium-screen-top-stripe" />
|
||||||
<Image alt={getConfig().SITE_NAME} className="logo" src={getConfig().LOGO_WHITE_URL} />
|
<div className="w-100 p-0 mb-3 d-flex">
|
||||||
</Hyperlink>
|
<div className="col-md-10 bg-primary-400">
|
||||||
<div className="d-flex align-items-center justify-content-center mb-4 ">
|
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
||||||
<div className={classNames({ 'mt-1 medium-yellow-line': getConfig().SITE_NAME === 'edX' })} />
|
<Image alt={getConfig().SITE_NAME} className="logo" src={getConfig().LOGO_WHITE_URL} />
|
||||||
<div>
|
</Hyperlink>
|
||||||
<h1
|
<div className="d-flex align-items-center justify-content-center mb-4 ">
|
||||||
className={classNames(
|
<div className={classNames({ 'mt-1 medium-yellow-line': getConfig().SITE_NAME === 'edX' })} />
|
||||||
'display-1 text-white mt-5 mb-5 mr-2',
|
<div>
|
||||||
{ 'ml-4.5': getConfig().SITE_NAME !== 'edX' },
|
<h1
|
||||||
)}
|
className={classNames(
|
||||||
>
|
'display-1 text-white mt-5 mb-5 mr-2',
|
||||||
<span className="mr-2">{intl.formatMessage(messages['start.learning'])}</span>
|
{ 'ml-4.5': getConfig().SITE_NAME !== 'edX' },
|
||||||
<span className="text-accent-a d-inline-block">
|
)}
|
||||||
{intl.formatMessage(messages['with.site.name'], { siteName: getConfig().SITE_NAME })}
|
>
|
||||||
</span>
|
<span className="mr-2">{formatMessage(messages['start.learning'])}</span>
|
||||||
</h1>
|
<span className="text-accent-a d-inline-block">
|
||||||
|
{formatMessage(messages['with.site.name'], { siteName: getConfig().SITE_NAME })}
|
||||||
|
</span>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div className="col-md-2 bg-white p-0">
|
||||||
|
<svg className="w-100 h-100 medium-screen-svg-primary" preserveAspectRatio="xMaxYMin meet">
|
||||||
|
<g transform="skewX(168)">
|
||||||
|
<rect x="0" y="0" height="100%" width="100%" />
|
||||||
|
</g>
|
||||||
|
</svg>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-md-2 bg-white p-0">
|
</>
|
||||||
<svg className="w-100 h-100 medium-screen-svg-primary" preserveAspectRatio="xMaxYMin meet">
|
);
|
||||||
<g transform="skewX(168)">
|
|
||||||
<rect x="0" y="0" height="100%" width="100%" />
|
|
||||||
</g>
|
|
||||||
</svg>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</>
|
|
||||||
);
|
|
||||||
|
|
||||||
MediumLayout.propTypes = {
|
|
||||||
intl: intlShape.isRequired,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(MediumLayout);
|
export default MediumLayout;
|
||||||
|
|||||||
@@ -1,39 +1,39 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Hyperlink, Image } from '@edx/paragon';
|
import { Hyperlink, Image } from '@edx/paragon';
|
||||||
import classNames from 'classnames';
|
import classNames from 'classnames';
|
||||||
|
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
|
||||||
const SmallLayout = ({ intl }) => (
|
const SmallLayout = () => {
|
||||||
<span className="bg-primary-400 w-100">
|
const { formatMessage } = useIntl();
|
||||||
<div className="col-md-12 small-screen-top-stripe" />
|
|
||||||
<div>
|
|
||||||
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
|
||||||
<Image className="logo-small" alt={getConfig().SITE_NAME} src={getConfig().LOGO_WHITE_URL} />
|
|
||||||
</Hyperlink>
|
|
||||||
<div className="d-flex align-items-center mb-3 mt-3 mr-3">
|
|
||||||
<div className={classNames({ 'small-yellow-line mr-n2.5': getConfig().SITE_NAME === 'edX' })} />
|
|
||||||
<h1
|
|
||||||
className={classNames(
|
|
||||||
'text-white mt-3.5 mb-3.5',
|
|
||||||
{ 'ml-4.5': getConfig().SITE_NAME !== 'edX' },
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
<span className="mr-1">{intl.formatMessage(messages['start.learning'])}</span>
|
|
||||||
<span className="text-accent-a d-inline-block">
|
|
||||||
{intl.formatMessage(messages['with.site.name'], { siteName: getConfig().SITE_NAME })}
|
|
||||||
</span>
|
|
||||||
</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</span>
|
|
||||||
);
|
|
||||||
|
|
||||||
SmallLayout.propTypes = {
|
return (
|
||||||
intl: intlShape.isRequired,
|
<span className="bg-primary-400 w-100">
|
||||||
|
<div className="col-md-12 small-screen-top-stripe" />
|
||||||
|
<div>
|
||||||
|
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
||||||
|
<Image className="logo-small" alt={getConfig().SITE_NAME} src={getConfig().LOGO_WHITE_URL} />
|
||||||
|
</Hyperlink>
|
||||||
|
<div className="d-flex align-items-center mb-3 mt-3 mr-3">
|
||||||
|
<div className={classNames({ 'small-yellow-line mr-n2.5': getConfig().SITE_NAME === 'edX' })} />
|
||||||
|
<h1
|
||||||
|
className={classNames(
|
||||||
|
'text-white mt-3.5 mb-3.5',
|
||||||
|
{ 'ml-4.5': getConfig().SITE_NAME !== 'edX' },
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
<span className="mr-1">{formatMessage(messages['start.learning'])}</span>
|
||||||
|
<span className="text-accent-a d-inline-block">
|
||||||
|
{formatMessage(messages['with.site.name'], { siteName: getConfig().SITE_NAME })}
|
||||||
|
</span>
|
||||||
|
</h1>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</span>
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(SmallLayout);
|
export default SmallLayout;
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
export { default } from './BaseComponent';
|
/* eslint-disable import/prefer-default-export */
|
||||||
|
export { default as BaseComponent } from './BaseComponent';
|
||||||
|
|||||||
@@ -1,20 +1,25 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import {
|
import {
|
||||||
Button, Form,
|
Button, Form,
|
||||||
|
Icon,
|
||||||
} from '@edx/paragon';
|
} from '@edx/paragon';
|
||||||
import { faSignInAlt } from '@fortawesome/free-solid-svg-icons';
|
import { Login } from '@edx/paragon/icons';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
import { LOGIN_PAGE, SUPPORTED_ICON_CLASSES } from '../data/constants';
|
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
import { LOGIN_PAGE, SUPPORTED_ICON_CLASSES } from '../data/constants';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This component renders the Single sign-on (SSO) button only for the tpa provider passed
|
||||||
|
* */
|
||||||
const EnterpriseSSO = (props) => {
|
const EnterpriseSSO = (props) => {
|
||||||
const { intl } = props;
|
const { formatMessage } = useIntl();
|
||||||
const tpaProvider = props.provider;
|
const tpaProvider = props.provider;
|
||||||
|
const disablePublicAccountCreation = getConfig().ALLOW_PUBLIC_ACCOUNT_CREATION === false;
|
||||||
|
|
||||||
const handleSubmit = (e, url) => {
|
const handleSubmit = (e, url) => {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
@@ -32,7 +37,7 @@ const EnterpriseSSO = (props) => {
|
|||||||
<div className="d-flex flex-column">
|
<div className="d-flex flex-column">
|
||||||
<div className="mw-450">
|
<div className="mw-450">
|
||||||
<Form className="m-0">
|
<Form className="m-0">
|
||||||
<p>{intl.formatMessage(messages['enterprisetpa.title.heading'], { providerName: tpaProvider.name })}</p>
|
<p>{formatMessage(messages['enterprisetpa.title.heading'], { providerName: tpaProvider.name })}</p>
|
||||||
<Button
|
<Button
|
||||||
id={tpaProvider.id}
|
id={tpaProvider.id}
|
||||||
key={tpaProvider.id}
|
key={tpaProvider.id}
|
||||||
@@ -43,16 +48,18 @@ const EnterpriseSSO = (props) => {
|
|||||||
>
|
>
|
||||||
{tpaProvider.iconImage ? (
|
{tpaProvider.iconImage ? (
|
||||||
<div aria-hidden="true">
|
<div aria-hidden="true">
|
||||||
<img className="icon-image" src={tpaProvider.iconImage} alt={`icon ${tpaProvider.name}`} />
|
<img className="btn-tpa__image-icon" src={tpaProvider.iconImage} alt={`icon ${tpaProvider.name}`} />
|
||||||
<span className="pl-2" aria-hidden="true">{ tpaProvider.name }</span>
|
<span className="pl-2" aria-hidden="true">{ tpaProvider.name }</span>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
: (
|
: (
|
||||||
<>
|
<>
|
||||||
<div className="font-container" aria-hidden="true">
|
<div className="btn-tpa__font-container" aria-hidden="true">
|
||||||
<FontAwesomeIcon
|
{SUPPORTED_ICON_CLASSES.includes(tpaProvider.iconClass) ? (
|
||||||
icon={SUPPORTED_ICON_CLASSES.includes(tpaProvider.iconClass) ? ['fab', tpaProvider.iconClass] : faSignInAlt}
|
<FontAwesomeIcon icon={['fab', tpaProvider.iconClass]} />)
|
||||||
/>
|
: (
|
||||||
|
<Icon className="h-75" src={Login} />
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<span className="pl-2" aria-hidden="true">{ tpaProvider.name }</span>
|
<span className="pl-2" aria-hidden="true">{ tpaProvider.name }</span>
|
||||||
</>
|
</>
|
||||||
@@ -61,12 +68,15 @@ const EnterpriseSSO = (props) => {
|
|||||||
<div className="mb-4" />
|
<div className="mb-4" />
|
||||||
<Button
|
<Button
|
||||||
type="submit"
|
type="submit"
|
||||||
|
id="other-ways-to-sign-in"
|
||||||
variant="outline-primary"
|
variant="outline-primary"
|
||||||
state="Complete"
|
state="Complete"
|
||||||
className="w-100"
|
className="w-100"
|
||||||
onClick={(e) => handleClick(e)}
|
onClick={(e) => handleClick(e)}
|
||||||
>
|
>
|
||||||
{intl.formatMessage(messages['enterprisetpa.login.button.text'])}
|
{disablePublicAccountCreation
|
||||||
|
? formatMessage(messages['enterprisetpa.login.button.text.public.account.creation.disabled'])
|
||||||
|
: formatMessage(messages['enterprisetpa.login.button.text'])}
|
||||||
</Button>
|
</Button>
|
||||||
</Form>
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
@@ -97,7 +107,6 @@ EnterpriseSSO.propTypes = {
|
|||||||
loginUrl: PropTypes.string,
|
loginUrl: PropTypes.string,
|
||||||
registerUrl: PropTypes.string,
|
registerUrl: PropTypes.string,
|
||||||
}),
|
}),
|
||||||
intl: intlShape.isRequired,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(EnterpriseSSO);
|
export default EnterpriseSSO;
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ const FormGroup = (props) => {
|
|||||||
readOnly={props.readOnly}
|
readOnly={props.readOnly}
|
||||||
type={props.type}
|
type={props.type}
|
||||||
aria-invalid={props.errorMessage !== ''}
|
aria-invalid={props.errorMessage !== ''}
|
||||||
className="form-field"
|
className="form-group__form-field"
|
||||||
autoComplete={props.autoComplete}
|
autoComplete={props.autoComplete}
|
||||||
spellCheck={props.spellCheck}
|
spellCheck={props.spellCheck}
|
||||||
name={props.name}
|
name={props.name}
|
||||||
@@ -37,7 +37,6 @@ const FormGroup = (props) => {
|
|||||||
onClick={handleClick}
|
onClick={handleClick}
|
||||||
onChange={props.handleChange}
|
onChange={props.handleChange}
|
||||||
controlClassName={props.borderClass}
|
controlClassName={props.borderClass}
|
||||||
|
|
||||||
trailingElement={props.trailingElement}
|
trailingElement={props.trailingElement}
|
||||||
floatingLabel={props.floatingLabel}
|
floatingLabel={props.floatingLabel}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -1,13 +1,16 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Button, Hyperlink, Icon } from '@edx/paragon';
|
import { Button, Hyperlink, Icon } from '@edx/paragon';
|
||||||
import { Institution } from '@edx/paragon/icons';
|
import { Institution } from '@edx/paragon/icons';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This component renders the Institution login button
|
||||||
|
* */
|
||||||
export const RenderInstitutionButton = props => {
|
export const RenderInstitutionButton = props => {
|
||||||
const { onSubmitHandler, buttonTitle } = props;
|
const { onSubmitHandler, buttonTitle } = props;
|
||||||
|
|
||||||
@@ -24,10 +27,13 @@ export const RenderInstitutionButton = props => {
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This component renders the page list of available institutions for login
|
||||||
|
* */
|
||||||
const InstitutionLogistration = props => {
|
const InstitutionLogistration = props => {
|
||||||
const lmsBaseUrl = getConfig().LMS_BASE_URL;
|
const lmsBaseUrl = getConfig().LMS_BASE_URL;
|
||||||
|
const { formatMessage } = useIntl();
|
||||||
const {
|
const {
|
||||||
intl,
|
|
||||||
secondaryProviders,
|
secondaryProviders,
|
||||||
headingTitle,
|
headingTitle,
|
||||||
} = props;
|
} = props;
|
||||||
@@ -36,11 +42,11 @@ const InstitutionLogistration = props => {
|
|||||||
<>
|
<>
|
||||||
<div className="d-flex justify-content-left mb-4 mt-2">
|
<div className="d-flex justify-content-left mb-4 mt-2">
|
||||||
<div className="flex-column">
|
<div className="flex-column">
|
||||||
<h4 className="mb-2 font-weight-bold institute-heading">
|
<h4 className="mb-2 font-weight-bold institutions__heading">
|
||||||
{headingTitle}
|
{headingTitle}
|
||||||
</h4>
|
</h4>
|
||||||
<p className="mb-2">
|
<p className="mb-2">
|
||||||
{intl.formatMessage(messages['institution.login.page.sub.heading'])}
|
{formatMessage(messages['institution.login.page.sub.heading'])}
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -51,7 +57,7 @@ const InstitutionLogistration = props => {
|
|||||||
<tr key={provider} className="pgn__data-table-row">
|
<tr key={provider} className="pgn__data-table-row">
|
||||||
<td>
|
<td>
|
||||||
<Hyperlink
|
<Hyperlink
|
||||||
className="btn nav-item p-0 mb-1 secondary-provider-link"
|
className="btn nav-item p-0 mb-1 institutions--provider-link"
|
||||||
destination={lmsBaseUrl + provider.loginUrl}
|
destination={lmsBaseUrl + provider.loginUrl}
|
||||||
>
|
>
|
||||||
{provider.name}
|
{provider.name}
|
||||||
@@ -89,7 +95,6 @@ RenderInstitutionButton.defaultProps = {
|
|||||||
|
|
||||||
InstitutionLogistration.propTypes = {
|
InstitutionLogistration.propTypes = {
|
||||||
...LogistrationProps,
|
...LogistrationProps,
|
||||||
intl: intlShape.isRequired,
|
|
||||||
headingTitle: PropTypes.string,
|
headingTitle: PropTypes.string,
|
||||||
};
|
};
|
||||||
InstitutionLogistration.defaultProps = {
|
InstitutionLogistration.defaultProps = {
|
||||||
@@ -97,4 +102,4 @@ InstitutionLogistration.defaultProps = {
|
|||||||
headingTitle: '',
|
headingTitle: '',
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(InstitutionLogistration);
|
export default InstitutionLogistration;
|
||||||
|
|||||||
@@ -1,104 +0,0 @@
|
|||||||
import React, { useEffect, useState } from 'react';
|
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
|
||||||
import { sendPageEvent, sendTrackEvent } from '@edx/frontend-platform/analytics';
|
|
||||||
import { getAuthService } from '@edx/frontend-platform/auth';
|
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
|
||||||
import {
|
|
||||||
Icon,
|
|
||||||
Tab,
|
|
||||||
Tabs,
|
|
||||||
} from '@edx/paragon';
|
|
||||||
import { ChevronLeft } from '@edx/paragon/icons';
|
|
||||||
import PropTypes from 'prop-types';
|
|
||||||
import { Redirect } from 'react-router-dom';
|
|
||||||
|
|
||||||
import BaseComponent from '../base-component';
|
|
||||||
import { LOGIN_PAGE, REGISTER_PAGE } from '../data/constants';
|
|
||||||
import { getTpaHint, updatePathWithQueryParams } from '../data/utils';
|
|
||||||
import { LoginPage } from '../login';
|
|
||||||
import { RegistrationPage } from '../register';
|
|
||||||
import messages from './messages';
|
|
||||||
|
|
||||||
const Logistration = (props) => {
|
|
||||||
const { intl, selectedPage } = props;
|
|
||||||
const tpa = getTpaHint();
|
|
||||||
const [institutionLogin, setInstitutionLogin] = useState(false);
|
|
||||||
const [key, setKey] = useState('');
|
|
||||||
|
|
||||||
useEffect(() => {
|
|
||||||
const authService = getAuthService();
|
|
||||||
if (authService) {
|
|
||||||
authService.getCsrfTokenService().getCsrfToken(getConfig().LMS_BASE_URL);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
const handleInstitutionLogin = (e) => {
|
|
||||||
sendTrackEvent('edx.bi.institution_login_form.toggled', { category: 'user-engagement' });
|
|
||||||
if (typeof e === 'string') {
|
|
||||||
sendPageEvent('login_and_registration', e === '/login' ? 'login' : 'register');
|
|
||||||
} else {
|
|
||||||
sendPageEvent('login_and_registration', e.target.dataset.eventName);
|
|
||||||
}
|
|
||||||
|
|
||||||
setInstitutionLogin(!institutionLogin);
|
|
||||||
};
|
|
||||||
|
|
||||||
const handleOnSelect = (tabKey) => {
|
|
||||||
sendTrackEvent(`edx.bi.${tabKey.replace('/', '')}_form.toggled`, { category: 'user-engagement' });
|
|
||||||
setKey(tabKey);
|
|
||||||
};
|
|
||||||
|
|
||||||
const tabTitle = (
|
|
||||||
<div className="d-flex">
|
|
||||||
<Icon src={ChevronLeft} className="left-icon" />
|
|
||||||
<span className="ml-2">
|
|
||||||
{selectedPage === LOGIN_PAGE
|
|
||||||
? intl.formatMessage(messages['logistration.sign.in'])
|
|
||||||
: intl.formatMessage(messages['logistration.register'])}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
);
|
|
||||||
|
|
||||||
return (
|
|
||||||
<BaseComponent>
|
|
||||||
<div>
|
|
||||||
{institutionLogin
|
|
||||||
? (
|
|
||||||
<Tabs defaultActiveKey="" id="controlled-tab" onSelect={handleInstitutionLogin}>
|
|
||||||
<Tab title={tabTitle} eventKey={selectedPage === LOGIN_PAGE ? LOGIN_PAGE : REGISTER_PAGE} />
|
|
||||||
</Tabs>
|
|
||||||
)
|
|
||||||
: (
|
|
||||||
<>
|
|
||||||
{!tpa && (
|
|
||||||
<Tabs defaultActiveKey={selectedPage} id="controlled-tab" onSelect={handleOnSelect}>
|
|
||||||
<Tab title={intl.formatMessage(messages['logistration.register'])} eventKey={REGISTER_PAGE} />
|
|
||||||
<Tab title={intl.formatMessage(messages['logistration.sign.in'])} eventKey={LOGIN_PAGE} />
|
|
||||||
</Tabs>
|
|
||||||
)}
|
|
||||||
</>
|
|
||||||
)}
|
|
||||||
{ key && (
|
|
||||||
<Redirect to={updatePathWithQueryParams(key)} />
|
|
||||||
)}
|
|
||||||
<div id="main-content" className="main-content">
|
|
||||||
{selectedPage === LOGIN_PAGE
|
|
||||||
? <LoginPage institutionLogin={institutionLogin} handleInstitutionLogin={handleInstitutionLogin} />
|
|
||||||
: <RegistrationPage institutionLogin={institutionLogin} handleInstitutionLogin={handleInstitutionLogin} />}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</BaseComponent>
|
|
||||||
);
|
|
||||||
};
|
|
||||||
|
|
||||||
Logistration.propTypes = {
|
|
||||||
intl: intlShape.isRequired,
|
|
||||||
selectedPage: PropTypes.string,
|
|
||||||
};
|
|
||||||
|
|
||||||
Logistration.defaultProps = {
|
|
||||||
selectedPage: REGISTER_PAGE,
|
|
||||||
};
|
|
||||||
|
|
||||||
export default injectIntl(Logistration);
|
|
||||||
@@ -2,16 +2,16 @@ import React from 'react';
|
|||||||
|
|
||||||
import { FormattedMessage } from '@edx/frontend-platform/i18n';
|
import { FormattedMessage } from '@edx/frontend-platform/i18n';
|
||||||
|
|
||||||
export default function NotFoundPage() {
|
const NotFoundPage = () => (
|
||||||
return (
|
<div className="container-fluid d-flex py-5 justify-content-center align-items-start text-center">
|
||||||
<div className="container-fluid d-flex py-5 justify-content-center align-items-start text-center">
|
<p className="my-0 py-5 text-muted mw-32em">
|
||||||
<p className="my-0 py-5 text-muted mw-32em">
|
<FormattedMessage
|
||||||
<FormattedMessage
|
id="error.notfound.message"
|
||||||
id="error.notfound.message"
|
defaultMessage="The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again."
|
||||||
defaultMessage="The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again."
|
description="error message when a page does not exist"
|
||||||
description="error message when a page does not exist"
|
/>
|
||||||
/>
|
</p>
|
||||||
</p>
|
</div>
|
||||||
</div>
|
);
|
||||||
);
|
|
||||||
}
|
export default NotFoundPage;
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
|
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import {
|
import {
|
||||||
Form, Icon, IconButton, OverlayTrigger, Tooltip, useToggle,
|
Form, Icon, IconButton, OverlayTrigger, Tooltip, useToggle,
|
||||||
} from '@edx/paragon';
|
} from '@edx/paragon';
|
||||||
@@ -9,11 +9,11 @@ import {
|
|||||||
} from '@edx/paragon/icons';
|
} from '@edx/paragon/icons';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
import { LETTER_REGEX, NUMBER_REGEX } from '../data/constants';
|
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
import { LETTER_REGEX, NUMBER_REGEX } from '../data/constants';
|
||||||
|
|
||||||
const PasswordField = (props) => {
|
const PasswordField = (props) => {
|
||||||
const { formatMessage } = props.intl;
|
const { formatMessage } = useIntl();
|
||||||
const [isPasswordHidden, setHiddenTrue, setHiddenFalse] = useToggle(true);
|
const [isPasswordHidden, setHiddenTrue, setHiddenFalse] = useToggle(true);
|
||||||
const [showTooltip, setShowTooltip] = useState(false);
|
const [showTooltip, setShowTooltip] = useState(false);
|
||||||
|
|
||||||
@@ -30,11 +30,11 @@ const PasswordField = (props) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const HideButton = (
|
const HideButton = (
|
||||||
<IconButton onFocus={handleFocus} onBlur={handleBlur} name="passwordValidation" src={VisibilityOff} iconAs={Icon} onClick={setHiddenTrue} size="sm" variant="secondary" alt={formatMessage(messages['hide.password'])} />
|
<IconButton onFocus={handleFocus} onBlur={handleBlur} name="password" src={VisibilityOff} iconAs={Icon} onClick={setHiddenTrue} size="sm" variant="secondary" alt={formatMessage(messages['hide.password'])} />
|
||||||
);
|
);
|
||||||
|
|
||||||
const ShowButton = (
|
const ShowButton = (
|
||||||
<IconButton onFocus={handleFocus} onBlur={handleBlur} name="passwordValidation" src={Visibility} iconAs={Icon} onClick={setHiddenFalse} size="sm" variant="secondary" alt={formatMessage(messages['show.password'])} />
|
<IconButton onFocus={handleFocus} onBlur={handleBlur} name="password" src={Visibility} iconAs={Icon} onClick={setHiddenFalse} size="sm" variant="secondary" alt={formatMessage(messages['show.password'])} />
|
||||||
);
|
);
|
||||||
const placement = window.innerWidth < 768 ? 'top' : 'left';
|
const placement = window.innerWidth < 768 ? 'top' : 'left';
|
||||||
const tooltip = (
|
const tooltip = (
|
||||||
@@ -59,7 +59,7 @@ const PasswordField = (props) => {
|
|||||||
<OverlayTrigger key="tooltip" placement={placement} overlay={tooltip} show={showTooltip}>
|
<OverlayTrigger key="tooltip" placement={placement} overlay={tooltip} show={showTooltip}>
|
||||||
<Form.Control
|
<Form.Control
|
||||||
as="input"
|
as="input"
|
||||||
className="form-field"
|
className="form-group__form-field"
|
||||||
type={isPasswordHidden ? 'password' : 'text'}
|
type={isPasswordHidden ? 'password' : 'text'}
|
||||||
name={props.name}
|
name={props.name}
|
||||||
value={props.value}
|
value={props.value}
|
||||||
@@ -100,11 +100,10 @@ PasswordField.propTypes = {
|
|||||||
handleBlur: PropTypes.func,
|
handleBlur: PropTypes.func,
|
||||||
handleFocus: PropTypes.func,
|
handleFocus: PropTypes.func,
|
||||||
handleChange: PropTypes.func,
|
handleChange: PropTypes.func,
|
||||||
intl: intlShape.isRequired,
|
|
||||||
name: PropTypes.string.isRequired,
|
name: PropTypes.string.isRequired,
|
||||||
showRequirements: PropTypes.bool,
|
showRequirements: PropTypes.bool,
|
||||||
value: PropTypes.string.isRequired,
|
value: PropTypes.string.isRequired,
|
||||||
autoComplete: PropTypes.string,
|
autoComplete: PropTypes.string,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(PasswordField);
|
export default PasswordField;
|
||||||
|
|||||||
@@ -4,12 +4,19 @@ import { getConfig } from '@edx/frontend-platform';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Redirect } from 'react-router-dom';
|
import { Redirect } from 'react-router-dom';
|
||||||
|
|
||||||
import { WELCOME_PAGE } from '../data/constants';
|
import { AUTHN_PROGRESSIVE_PROFILING, RECOMMENDATIONS } from '../data/constants';
|
||||||
import { setCookie } from '../data/utils';
|
import { setCookie } from '../data/utils';
|
||||||
|
|
||||||
function RedirectLogistration(props) {
|
const RedirectLogistration = (props) => {
|
||||||
const {
|
const {
|
||||||
finishAuthUrl, redirectUrl, redirectToWelcomePage, success, optionalFields,
|
finishAuthUrl,
|
||||||
|
redirectUrl,
|
||||||
|
redirectToProgressiveProfilingPage,
|
||||||
|
success,
|
||||||
|
optionalFields,
|
||||||
|
redirectToRecommendationsPage,
|
||||||
|
educationLevel,
|
||||||
|
userId,
|
||||||
} = props;
|
} = props;
|
||||||
let finalRedirectUrl = '';
|
let finalRedirectUrl = '';
|
||||||
|
|
||||||
@@ -24,14 +31,14 @@ function RedirectLogistration(props) {
|
|||||||
finalRedirectUrl = redirectUrl;
|
finalRedirectUrl = redirectUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (redirectToWelcomePage) {
|
// Redirect to Progressive Profiling after successful registration
|
||||||
|
if (redirectToProgressiveProfilingPage) {
|
||||||
|
// TODO: Do we still need this cookie?
|
||||||
setCookie('van-504-returning-user', true);
|
setCookie('van-504-returning-user', true);
|
||||||
// use this component to redirect WelcomePage after successful registration
|
|
||||||
// return <Redirect to={WELCOME_PAGE} />;
|
|
||||||
const registrationResult = { redirectUrl: finalRedirectUrl, success };
|
const registrationResult = { redirectUrl: finalRedirectUrl, success };
|
||||||
return (
|
return (
|
||||||
<Redirect to={{
|
<Redirect to={{
|
||||||
pathname: WELCOME_PAGE,
|
pathname: AUTHN_PROGRESSIVE_PROFILING,
|
||||||
state: {
|
state: {
|
||||||
registrationResult,
|
registrationResult,
|
||||||
optionalFields,
|
optionalFields,
|
||||||
@@ -41,25 +48,48 @@ function RedirectLogistration(props) {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Redirect to Recommendation page
|
||||||
|
if (redirectToRecommendationsPage) {
|
||||||
|
const registrationResult = { redirectUrl: finalRedirectUrl, success };
|
||||||
|
return (
|
||||||
|
<Redirect to={{
|
||||||
|
pathname: RECOMMENDATIONS,
|
||||||
|
state: {
|
||||||
|
registrationResult,
|
||||||
|
educationLevel,
|
||||||
|
userId,
|
||||||
|
},
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
window.location.href = finalRedirectUrl;
|
window.location.href = finalRedirectUrl;
|
||||||
}
|
}
|
||||||
return <></>;
|
|
||||||
}
|
return null;
|
||||||
|
};
|
||||||
|
|
||||||
RedirectLogistration.defaultProps = {
|
RedirectLogistration.defaultProps = {
|
||||||
|
educationLevel: null,
|
||||||
finishAuthUrl: null,
|
finishAuthUrl: null,
|
||||||
success: false,
|
success: false,
|
||||||
redirectUrl: '',
|
redirectUrl: '',
|
||||||
redirectToWelcomePage: false,
|
redirectToProgressiveProfilingPage: false,
|
||||||
optionalFields: {},
|
optionalFields: {},
|
||||||
|
redirectToRecommendationsPage: false,
|
||||||
|
userId: null,
|
||||||
};
|
};
|
||||||
|
|
||||||
RedirectLogistration.propTypes = {
|
RedirectLogistration.propTypes = {
|
||||||
|
educationLevel: PropTypes.string,
|
||||||
finishAuthUrl: PropTypes.string,
|
finishAuthUrl: PropTypes.string,
|
||||||
success: PropTypes.bool,
|
success: PropTypes.bool,
|
||||||
redirectUrl: PropTypes.string,
|
redirectUrl: PropTypes.string,
|
||||||
redirectToWelcomePage: PropTypes.bool,
|
redirectToProgressiveProfilingPage: PropTypes.bool,
|
||||||
optionalFields: PropTypes.shape({}),
|
optionalFields: PropTypes.shape({}),
|
||||||
|
redirectToRecommendationsPage: PropTypes.bool,
|
||||||
|
userId: PropTypes.number,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default RedirectLogistration;
|
export default RedirectLogistration;
|
||||||
|
|||||||
@@ -1,16 +1,18 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { faSignInAlt } from '@fortawesome/free-solid-svg-icons';
|
import { Icon } from '@edx/paragon';
|
||||||
|
import { Login } from '@edx/paragon/icons';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
import { LOGIN_PAGE, SUPPORTED_ICON_CLASSES } from '../data/constants';
|
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
import { LOGIN_PAGE, SUPPORTED_ICON_CLASSES } from '../data/constants';
|
||||||
|
|
||||||
function SocialAuthProviders(props) {
|
const SocialAuthProviders = (props) => {
|
||||||
const { intl, referrer, socialAuthProviders } = props;
|
const { formatMessage } = useIntl();
|
||||||
|
const { referrer, socialAuthProviders } = props;
|
||||||
|
|
||||||
function handleSubmit(e) {
|
function handleSubmit(e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
@@ -30,29 +32,30 @@ function SocialAuthProviders(props) {
|
|||||||
>
|
>
|
||||||
{provider.iconImage ? (
|
{provider.iconImage ? (
|
||||||
<div aria-hidden="true">
|
<div aria-hidden="true">
|
||||||
<img className="icon-image" src={provider.iconImage} alt={`icon ${provider.name}`} />
|
<img className="btn-tpa__image-icon" src={provider.iconImage} alt={`icon ${provider.name}`} />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
: (
|
: (
|
||||||
<>
|
<div className="btn-tpa__font-container" aria-hidden="true">
|
||||||
<div className="font-container" aria-hidden="true">
|
{SUPPORTED_ICON_CLASSES.includes(provider.iconClass) ? (
|
||||||
<FontAwesomeIcon
|
<FontAwesomeIcon icon={['fab', provider.iconClass]} />)
|
||||||
icon={SUPPORTED_ICON_CLASSES.includes(provider.iconClass) ? ['fab', provider.iconClass] : faSignInAlt}
|
: (
|
||||||
/>
|
<Icon className="h-75" src={Login} />
|
||||||
</div>
|
)}
|
||||||
</>
|
</div>
|
||||||
)}
|
)}
|
||||||
<span id="provider-name" className="notranslate mr-auto pl-2" aria-hidden="true">{provider.name}</span>
|
<span id="provider-name" className="notranslate mr-auto pl-2" aria-hidden="true">{provider.name}</span>
|
||||||
<span className="sr-only">
|
<span className="sr-only">
|
||||||
{referrer === LOGIN_PAGE
|
{referrer === LOGIN_PAGE
|
||||||
? intl.formatMessage(messages['sso.sign.in.with'], { providerName: provider.name })
|
? formatMessage(messages['sso.sign.in.with'], { providerName: provider.name })
|
||||||
: intl.formatMessage(messages['sso.create.account.using'], { providerName: provider.name })}
|
: formatMessage(messages['sso.create.account.using'], { providerName: provider.name })}
|
||||||
</span>
|
</span>
|
||||||
</button>
|
</button>
|
||||||
));
|
));
|
||||||
|
|
||||||
|
// eslint-disable-next-line react/jsx-no-useless-fragment
|
||||||
return <>{socialAuth}</>;
|
return <>{socialAuth}</>;
|
||||||
}
|
};
|
||||||
|
|
||||||
SocialAuthProviders.defaultProps = {
|
SocialAuthProviders.defaultProps = {
|
||||||
referrer: LOGIN_PAGE,
|
referrer: LOGIN_PAGE,
|
||||||
@@ -60,7 +63,6 @@ SocialAuthProviders.defaultProps = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
SocialAuthProviders.propTypes = {
|
SocialAuthProviders.propTypes = {
|
||||||
intl: intlShape.isRequired,
|
|
||||||
referrer: PropTypes.string,
|
referrer: PropTypes.string,
|
||||||
socialAuthProviders: PropTypes.arrayOf(PropTypes.shape({
|
socialAuthProviders: PropTypes.arrayOf(PropTypes.shape({
|
||||||
id: PropTypes.string,
|
id: PropTypes.string,
|
||||||
@@ -69,7 +71,8 @@ SocialAuthProviders.propTypes = {
|
|||||||
iconImage: PropTypes.string,
|
iconImage: PropTypes.string,
|
||||||
loginUrl: PropTypes.string,
|
loginUrl: PropTypes.string,
|
||||||
registerUrl: PropTypes.string,
|
registerUrl: PropTypes.string,
|
||||||
|
skipRegistrationForm: PropTypes.bool,
|
||||||
})),
|
})),
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(SocialAuthProviders);
|
export default SocialAuthProviders;
|
||||||
|
|||||||
@@ -1,62 +0,0 @@
|
|||||||
import React from 'react';
|
|
||||||
|
|
||||||
import { TransitionReplace } from '@edx/paragon';
|
|
||||||
import PropTypes from 'prop-types';
|
|
||||||
|
|
||||||
const onChildExit = (htmlNode) => {
|
|
||||||
// If the leaving child has focus, take control and redirect it
|
|
||||||
if (htmlNode.contains(document.activeElement)) {
|
|
||||||
// Get the newly entering sibling.
|
|
||||||
// It's the previousSibling, but not for any explicit reason. So checking for both.
|
|
||||||
const enteringChild = htmlNode.previousSibling || htmlNode.nextSibling;
|
|
||||||
|
|
||||||
// There's no replacement, do nothing.
|
|
||||||
if (!enteringChild) return; // eslint-disable-line curly
|
|
||||||
|
|
||||||
// Get all the focusable elements in the entering child and focus the first one
|
|
||||||
const focusableElements = enteringChild.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');
|
|
||||||
if (focusableElements.length) {
|
|
||||||
focusableElements[0].focus();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
function SwitchContent({ expression, cases, className }) {
|
|
||||||
const getContent = (caseKey) => {
|
|
||||||
if (cases[caseKey]) {
|
|
||||||
if (typeof cases[caseKey] === 'string') {
|
|
||||||
return getContent(cases[caseKey]);
|
|
||||||
}
|
|
||||||
return React.cloneElement(cases[caseKey], { key: caseKey });
|
|
||||||
} else if (cases.default) { // eslint-disable-line no-else-return
|
|
||||||
if (typeof cases.default === 'string') {
|
|
||||||
return getContent(cases.default);
|
|
||||||
}
|
|
||||||
React.cloneElement(cases.default, { key: 'default' });
|
|
||||||
}
|
|
||||||
|
|
||||||
return null;
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
|
||||||
<TransitionReplace
|
|
||||||
className={className}
|
|
||||||
onChildExit={onChildExit}
|
|
||||||
>
|
|
||||||
{getContent(expression)}
|
|
||||||
</TransitionReplace>
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
SwitchContent.propTypes = {
|
|
||||||
expression: PropTypes.string,
|
|
||||||
cases: PropTypes.objectOf(PropTypes.node).isRequired,
|
|
||||||
className: PropTypes.string,
|
|
||||||
};
|
|
||||||
|
|
||||||
SwitchContent.defaultProps = {
|
|
||||||
expression: null,
|
|
||||||
className: null,
|
|
||||||
};
|
|
||||||
|
|
||||||
export default SwitchContent;
|
|
||||||
@@ -1,42 +1,52 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Alert } from '@edx/paragon';
|
import { Alert } from '@edx/paragon';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
import { LOGIN_PAGE, REGISTER_PAGE } from '../data/constants';
|
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
import { LOGIN_PAGE, REGISTER_PAGE } from '../data/constants';
|
||||||
|
|
||||||
const ThirdPartyAuthAlert = (props) => {
|
const ThirdPartyAuthAlert = (props) => {
|
||||||
const { currentProvider, intl, referrer } = props;
|
const { formatMessage } = useIntl();
|
||||||
|
const { currentProvider, referrer } = props;
|
||||||
const platformName = getConfig().SITE_NAME;
|
const platformName = getConfig().SITE_NAME;
|
||||||
let message;
|
let message;
|
||||||
|
|
||||||
if (referrer === LOGIN_PAGE) {
|
if (referrer === LOGIN_PAGE) {
|
||||||
message = intl.formatMessage(messages['login.third.party.auth.account.not.linked'], { currentProvider, platformName });
|
message = formatMessage(messages['login.third.party.auth.account.not.linked'], { currentProvider, platformName });
|
||||||
} else {
|
} else {
|
||||||
message = intl.formatMessage(messages['register.third.party.auth.account.not.linked'], { currentProvider, platformName });
|
message = formatMessage(messages['register.third.party.auth.account.not.linked'], { currentProvider, platformName });
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!currentProvider) {
|
||||||
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Alert id="tpa-alert" className={referrer === REGISTER_PAGE ? 'alert-success mt-n2' : 'alert-warning mt-n2'}>
|
<>
|
||||||
|
<Alert id="tpa-alert" className={referrer === REGISTER_PAGE ? 'alert-success mt-n2 mb-5' : 'alert-warning mt-n2 mb-5'}>
|
||||||
|
{referrer === REGISTER_PAGE ? (
|
||||||
|
<Alert.Heading>{formatMessage(messages['tpa.alert.heading'])}</Alert.Heading>
|
||||||
|
) : null}
|
||||||
|
<p>{ message }</p>
|
||||||
|
</Alert>
|
||||||
{referrer === REGISTER_PAGE ? (
|
{referrer === REGISTER_PAGE ? (
|
||||||
<Alert.Heading>{intl.formatMessage(messages['tpa.alert.heading'])}</Alert.Heading>
|
<h4 className="mt-4 mb-4">{formatMessage(messages['registration.using.tpa.form.heading'])}</h4>
|
||||||
) : null}
|
) : null}
|
||||||
<p>{ message }</p>
|
</>
|
||||||
</Alert>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
ThirdPartyAuthAlert.defaultProps = {
|
ThirdPartyAuthAlert.defaultProps = {
|
||||||
|
currentProvider: '',
|
||||||
referrer: LOGIN_PAGE,
|
referrer: LOGIN_PAGE,
|
||||||
};
|
};
|
||||||
|
|
||||||
ThirdPartyAuthAlert.propTypes = {
|
ThirdPartyAuthAlert.propTypes = {
|
||||||
currentProvider: PropTypes.string.isRequired,
|
currentProvider: PropTypes.string,
|
||||||
intl: intlShape.isRequired,
|
|
||||||
referrer: PropTypes.string,
|
referrer: PropTypes.string,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(ThirdPartyAuthAlert);
|
export default ThirdPartyAuthAlert;
|
||||||
|
|||||||
@@ -23,6 +23,9 @@ const UnAuthOnlyRoute = (props) => {
|
|||||||
|
|
||||||
if (isReady) {
|
if (isReady) {
|
||||||
if (authUser && authUser.username) {
|
if (authUser && authUser.username) {
|
||||||
|
if (true) { // check for query param
|
||||||
|
window.parent.postMessage({ authenticated: true }, 'https://discover.edx.org/social-reg');
|
||||||
|
}
|
||||||
global.location.href = getConfig().LMS_BASE_URL.concat(DEFAULT_REDIRECT_URL);
|
global.location.href = getConfig().LMS_BASE_URL.concat(DEFAULT_REDIRECT_URL);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
@@ -30,7 +33,7 @@ const UnAuthOnlyRoute = (props) => {
|
|||||||
return <Route {...props} />;
|
return <Route {...props} />;
|
||||||
}
|
}
|
||||||
|
|
||||||
return <></>;
|
return null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export default UnAuthOnlyRoute;
|
export default UnAuthOnlyRoute;
|
||||||
|
|||||||
56
src/common-components/Zendesk.jsx
Normal file
56
src/common-components/Zendesk.jsx
Normal file
@@ -0,0 +1,56 @@
|
|||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
|
import Zendesk from 'react-zendesk';
|
||||||
|
|
||||||
|
import messages from './messages';
|
||||||
|
|
||||||
|
const ZendeskHelp = () => {
|
||||||
|
const { formatMessage } = useIntl();
|
||||||
|
const setting = {
|
||||||
|
cookies: true,
|
||||||
|
webWidget: {
|
||||||
|
contactOptions: {
|
||||||
|
enabled: false,
|
||||||
|
},
|
||||||
|
chat: {
|
||||||
|
suppress: false,
|
||||||
|
departments: {
|
||||||
|
enabled: ['account settings', 'billing and payments', 'certificates', 'deadlines', 'errors and technical issues', 'other', 'proctoring'],
|
||||||
|
},
|
||||||
|
},
|
||||||
|
contactForm: {
|
||||||
|
ticketForms: [
|
||||||
|
{
|
||||||
|
id: 360003368814,
|
||||||
|
subject: false,
|
||||||
|
fields: [{ id: 'description', prefill: { '*': '' } }],
|
||||||
|
},
|
||||||
|
],
|
||||||
|
selectTicketForm: {
|
||||||
|
'*': formatMessage(messages.selectTicketForm),
|
||||||
|
},
|
||||||
|
attachments: true,
|
||||||
|
},
|
||||||
|
helpCenter: {
|
||||||
|
originalArticleButton: true,
|
||||||
|
},
|
||||||
|
answerBot: {
|
||||||
|
suppress: false,
|
||||||
|
contactOnlyAfterQuery: true,
|
||||||
|
title: { '*': formatMessage(messages.supportTitle) },
|
||||||
|
avatar: {
|
||||||
|
url: getConfig().ZENDESK_LOGO_URL,
|
||||||
|
name: { '*': formatMessage(messages.supportTitle) },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<Zendesk defer zendeskKey={getConfig().ZENDESK_KEY} {...setting} />
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default ZendeskHelp;
|
||||||
@@ -1,6 +1,7 @@
|
|||||||
import { AsyncActionType } from '../../data/utils';
|
import { AsyncActionType } from '../../data/utils';
|
||||||
|
|
||||||
export const THIRD_PARTY_AUTH_CONTEXT = new AsyncActionType('THIRD_PARTY_AUTH', 'GET_THIRD_PARTY_AUTH_CONTEXT');
|
export const THIRD_PARTY_AUTH_CONTEXT = new AsyncActionType('THIRD_PARTY_AUTH', 'GET_THIRD_PARTY_AUTH_CONTEXT');
|
||||||
|
export const THIRD_PARTY_AUTH_CONTEXT_CLEAR_ERROR_MSG = 'THIRD_PARTY_AUTH_CONTEXT_CLEAR_ERROR_MSG';
|
||||||
|
|
||||||
// Third party auth context
|
// Third party auth context
|
||||||
export const getThirdPartyAuthContext = (urlParams) => ({
|
export const getThirdPartyAuthContext = (urlParams) => ({
|
||||||
@@ -20,3 +21,7 @@ export const getThirdPartyAuthContextSuccess = (fieldDescriptions, optionalField
|
|||||||
export const getThirdPartyAuthContextFailure = () => ({
|
export const getThirdPartyAuthContextFailure = () => ({
|
||||||
type: THIRD_PARTY_AUTH_CONTEXT.FAILURE,
|
type: THIRD_PARTY_AUTH_CONTEXT.FAILURE,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
export const clearThirdPartyAuthContextErrorMessage = () => ({
|
||||||
|
type: THIRD_PARTY_AUTH_CONTEXT_CLEAR_ERROR_MSG,
|
||||||
|
});
|
||||||
|
|||||||
@@ -1,34 +1,51 @@
|
|||||||
|
import { THIRD_PARTY_AUTH_CONTEXT, THIRD_PARTY_AUTH_CONTEXT_CLEAR_ERROR_MSG } from './actions';
|
||||||
import { COMPLETE_STATE, PENDING_STATE } from '../../data/constants';
|
import { COMPLETE_STATE, PENDING_STATE } from '../../data/constants';
|
||||||
import { THIRD_PARTY_AUTH_CONTEXT } from './actions';
|
|
||||||
|
|
||||||
export const defaultState = {
|
export const defaultState = {
|
||||||
extendedProfile: [],
|
|
||||||
fieldDescriptions: {},
|
fieldDescriptions: {},
|
||||||
optionalFields: {},
|
optionalFields: {},
|
||||||
thirdPartyAuthApiStatus: null,
|
thirdPartyAuthApiStatus: null,
|
||||||
|
thirdPartyAuthContext: {
|
||||||
|
currentProvider: null,
|
||||||
|
finishAuthUrl: null,
|
||||||
|
countryCode: null,
|
||||||
|
providers: [],
|
||||||
|
secondaryProviders: [],
|
||||||
|
pipelineUserDetails: null,
|
||||||
|
errorMessage: null,
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const reducer = (state = defaultState, action) => {
|
const reducer = (state = defaultState, action = {}) => {
|
||||||
switch (action.type) {
|
switch (action.type) {
|
||||||
case THIRD_PARTY_AUTH_CONTEXT.BEGIN:
|
case THIRD_PARTY_AUTH_CONTEXT.BEGIN:
|
||||||
return {
|
return {
|
||||||
...state,
|
...state,
|
||||||
thirdPartyAuthApiStatus: PENDING_STATE,
|
thirdPartyAuthApiStatus: PENDING_STATE,
|
||||||
};
|
};
|
||||||
case THIRD_PARTY_AUTH_CONTEXT.SUCCESS:
|
case THIRD_PARTY_AUTH_CONTEXT.SUCCESS: {
|
||||||
return {
|
return {
|
||||||
...state,
|
...state,
|
||||||
extendedProfile: action.payload.fieldDescriptions.extendedProfile,
|
|
||||||
fieldDescriptions: action.payload.fieldDescriptions.fields,
|
fieldDescriptions: action.payload.fieldDescriptions.fields,
|
||||||
optionalFields: action.payload.optionalFields,
|
optionalFields: action.payload.optionalFields,
|
||||||
thirdPartyAuthContext: action.payload.thirdPartyAuthContext,
|
thirdPartyAuthContext: action.payload.thirdPartyAuthContext,
|
||||||
thirdPartyAuthApiStatus: COMPLETE_STATE,
|
thirdPartyAuthApiStatus: COMPLETE_STATE,
|
||||||
};
|
};
|
||||||
|
}
|
||||||
case THIRD_PARTY_AUTH_CONTEXT.FAILURE:
|
case THIRD_PARTY_AUTH_CONTEXT.FAILURE:
|
||||||
return {
|
return {
|
||||||
...state,
|
...state,
|
||||||
thirdPartyAuthApiStatus: COMPLETE_STATE,
|
thirdPartyAuthApiStatus: COMPLETE_STATE,
|
||||||
};
|
};
|
||||||
|
case THIRD_PARTY_AUTH_CONTEXT_CLEAR_ERROR_MSG:
|
||||||
|
return {
|
||||||
|
...state,
|
||||||
|
thirdPartyAuthApiStatus: PENDING_STATE,
|
||||||
|
thirdPartyAuthContext: {
|
||||||
|
...state.thirdPartyAuthContext,
|
||||||
|
errorMessage: null,
|
||||||
|
},
|
||||||
|
};
|
||||||
default:
|
default:
|
||||||
return state;
|
return state;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { logError } from '@edx/frontend-platform/logging';
|
import { logError } from '@edx/frontend-platform/logging';
|
||||||
import { call, put, takeEvery } from 'redux-saga/effects';
|
import { call, put, takeEvery } from 'redux-saga/effects';
|
||||||
|
|
||||||
import { setCountryFromThirdPartyAuthContext } from '../../register/data/actions';
|
|
||||||
import {
|
import {
|
||||||
getThirdPartyAuthContextBegin,
|
getThirdPartyAuthContextBegin,
|
||||||
getThirdPartyAuthContextFailure,
|
getThirdPartyAuthContextFailure,
|
||||||
@@ -11,18 +10,17 @@ import {
|
|||||||
import {
|
import {
|
||||||
getThirdPartyAuthContext,
|
getThirdPartyAuthContext,
|
||||||
} from './service';
|
} from './service';
|
||||||
|
import { setCountryFromThirdPartyAuthContext } from '../../register/data/actions';
|
||||||
|
|
||||||
export function* fetchThirdPartyAuthContext(action) {
|
export function* fetchThirdPartyAuthContext(action) {
|
||||||
try {
|
try {
|
||||||
yield put(getThirdPartyAuthContextBegin());
|
yield put(getThirdPartyAuthContextBegin());
|
||||||
const { fieldDescriptions, optionalFields, thirdPartyAuthContext } = yield call(
|
const {
|
||||||
getThirdPartyAuthContext, action.payload.urlParams,
|
fieldDescriptions, optionalFields, thirdPartyAuthContext,
|
||||||
);
|
} = yield call(getThirdPartyAuthContext, action.payload.urlParams);
|
||||||
|
|
||||||
yield put(setCountryFromThirdPartyAuthContext(thirdPartyAuthContext.countryCode));
|
yield put(setCountryFromThirdPartyAuthContext(thirdPartyAuthContext.countryCode));
|
||||||
yield put(getThirdPartyAuthContextSuccess(
|
yield put(getThirdPartyAuthContextSuccess(fieldDescriptions, optionalFields, thirdPartyAuthContext));
|
||||||
fieldDescriptions, optionalFields, thirdPartyAuthContext,
|
|
||||||
));
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
yield put(getThirdPartyAuthContextFailure());
|
yield put(getThirdPartyAuthContextFailure());
|
||||||
logError(e);
|
logError(e);
|
||||||
|
|||||||
@@ -14,12 +14,15 @@ export const fieldDescriptionSelector = createSelector(
|
|||||||
commonComponents => commonComponents.fieldDescriptions,
|
commonComponents => commonComponents.fieldDescriptions,
|
||||||
);
|
);
|
||||||
|
|
||||||
export const extendedProfileSelector = createSelector(
|
|
||||||
commonComponentsSelector,
|
|
||||||
commonComponents => commonComponents.extendedProfile,
|
|
||||||
);
|
|
||||||
|
|
||||||
export const optionalFieldsSelector = createSelector(
|
export const optionalFieldsSelector = createSelector(
|
||||||
commonComponentsSelector,
|
commonComponentsSelector,
|
||||||
commonComponents => commonComponents.optionalFields,
|
commonComponents => commonComponents.optionalFields,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
export const tpaProvidersSelector = createSelector(
|
||||||
|
commonComponentsSelector,
|
||||||
|
commonComponents => ({
|
||||||
|
providers: commonComponents.thirdPartyAuthContext.providers,
|
||||||
|
secondaryProviders: commonComponents.thirdPartyAuthContext.secondaryProviders,
|
||||||
|
}),
|
||||||
|
);
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { camelCaseObject, convertKeyNames, getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { getAuthenticatedHttpClient } from '@edx/frontend-platform/auth';
|
import { getAuthenticatedHttpClient } from '@edx/frontend-platform/auth';
|
||||||
|
|
||||||
// eslint-disable-next-line import/prefer-default-export
|
// eslint-disable-next-line import/prefer-default-export
|
||||||
@@ -18,12 +18,8 @@ export async function getThirdPartyAuthContext(urlParams) {
|
|||||||
throw (e);
|
throw (e);
|
||||||
});
|
});
|
||||||
return {
|
return {
|
||||||
fieldDescriptions: data.registration_fields || {},
|
fieldDescriptions: data.registrationFields || {},
|
||||||
optionalFields: data.optional_fields || {},
|
optionalFields: data.optionalFields || {},
|
||||||
// For backward compatibility with the API, once https://github.com/openedx/edx-platform/pull/30198 is merged
|
thirdPartyAuthContext: data.contextData || {},
|
||||||
// and deployed update it to use data.context_data
|
|
||||||
thirdPartyAuthContext: camelCaseObject(
|
|
||||||
convertKeyNames(data.context_data || data, { fullname: 'name' }),
|
|
||||||
),
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
82
src/common-components/data/tests/reducer.test.js
Normal file
82
src/common-components/data/tests/reducer.test.js
Normal file
@@ -0,0 +1,82 @@
|
|||||||
|
import { PENDING_STATE } from '../../../data/constants';
|
||||||
|
import { THIRD_PARTY_AUTH_CONTEXT, THIRD_PARTY_AUTH_CONTEXT_CLEAR_ERROR_MSG } from '../actions';
|
||||||
|
import reducer from '../reducers';
|
||||||
|
|
||||||
|
describe('common components reducer', () => {
|
||||||
|
it('test mfe context response', () => {
|
||||||
|
const state = {
|
||||||
|
fieldDescriptions: {},
|
||||||
|
optionalFields: {},
|
||||||
|
thirdPartyAuthApiStatus: null,
|
||||||
|
thirdPartyAuthContext: {
|
||||||
|
currentProvider: null,
|
||||||
|
finishAuthUrl: null,
|
||||||
|
countryCode: null,
|
||||||
|
providers: [],
|
||||||
|
secondaryProviders: [],
|
||||||
|
pipelineUserDetails: null,
|
||||||
|
errorMessage: null,
|
||||||
|
},
|
||||||
|
};
|
||||||
|
const fieldDescriptions = {
|
||||||
|
fields: [],
|
||||||
|
};
|
||||||
|
const optionalFields = {
|
||||||
|
fields: [],
|
||||||
|
extended_profile: {},
|
||||||
|
};
|
||||||
|
const thirdPartyAuthContext = { ...state.thirdPartyAuthContext };
|
||||||
|
const action = {
|
||||||
|
type: THIRD_PARTY_AUTH_CONTEXT.SUCCESS,
|
||||||
|
payload: { fieldDescriptions, optionalFields, thirdPartyAuthContext },
|
||||||
|
};
|
||||||
|
|
||||||
|
expect(
|
||||||
|
reducer(state, action),
|
||||||
|
).toEqual(
|
||||||
|
{
|
||||||
|
...state,
|
||||||
|
fieldDescriptions: [],
|
||||||
|
optionalFields: {
|
||||||
|
fields: [],
|
||||||
|
extended_profile: {},
|
||||||
|
},
|
||||||
|
thirdPartyAuthApiStatus: 'complete',
|
||||||
|
},
|
||||||
|
);
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should clear tpa context error message', () => {
|
||||||
|
const state = {
|
||||||
|
fieldDescriptions: {},
|
||||||
|
optionalFields: {},
|
||||||
|
thirdPartyAuthApiStatus: null,
|
||||||
|
thirdPartyAuthContext: {
|
||||||
|
currentProvider: null,
|
||||||
|
finishAuthUrl: null,
|
||||||
|
countryCode: null,
|
||||||
|
providers: [],
|
||||||
|
secondaryProviders: [],
|
||||||
|
pipelineUserDetails: null,
|
||||||
|
errorMessage: 'An error occured',
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
const action = {
|
||||||
|
type: THIRD_PARTY_AUTH_CONTEXT_CLEAR_ERROR_MSG,
|
||||||
|
};
|
||||||
|
|
||||||
|
expect(
|
||||||
|
reducer(state, action),
|
||||||
|
).toEqual(
|
||||||
|
{
|
||||||
|
...state,
|
||||||
|
thirdPartyAuthApiStatus: PENDING_STATE,
|
||||||
|
thirdPartyAuthContext: {
|
||||||
|
...state.thirdPartyAuthContext,
|
||||||
|
errorMessage: null,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
);
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -11,4 +11,4 @@ export { default as saga } from './data/sagas';
|
|||||||
export { storeName } from './data/selectors';
|
export { storeName } from './data/selectors';
|
||||||
export { default as FormGroup } from './FormGroup';
|
export { default as FormGroup } from './FormGroup';
|
||||||
export { default as PasswordField } from './PasswordField';
|
export { default as PasswordField } from './PasswordField';
|
||||||
export { default as Logistration } from './Logistration';
|
export { default as Zendesk } from './Zendesk';
|
||||||
|
|||||||
@@ -1,29 +1,13 @@
|
|||||||
import { defineMessages } from '@edx/frontend-platform/i18n';
|
import { defineMessages } from '@edx/frontend-platform/i18n';
|
||||||
|
|
||||||
const messages = defineMessages({
|
const messages = defineMessages({
|
||||||
|
// institution login strings
|
||||||
'institution.login.page.sub.heading': {
|
'institution.login.page.sub.heading': {
|
||||||
id: 'institution.login.page.sub.heading',
|
id: 'institution.login.page.sub.heading',
|
||||||
defaultMessage: 'Choose your institution from the list below',
|
defaultMessage: 'Choose your institution from the list below',
|
||||||
description: 'Heading of the institutions list',
|
description: 'Heading of the institutions list',
|
||||||
},
|
},
|
||||||
// Confirmation Alert Message
|
// logistration strings
|
||||||
'forgot.password.confirmation.title': {
|
|
||||||
id: 'forgot.password.confirmation.title',
|
|
||||||
defaultMessage: 'Check your email',
|
|
||||||
description: 'Forgot password confirmation message title',
|
|
||||||
},
|
|
||||||
'forgot.password.confirmation.support.link': {
|
|
||||||
id: 'forgot.password.confirmation.support.link',
|
|
||||||
defaultMessage: 'contact technical support',
|
|
||||||
description: 'Technical support link text',
|
|
||||||
},
|
|
||||||
'forgot.password.confirmation.info': {
|
|
||||||
id: 'forgot.password.confirmation.info',
|
|
||||||
defaultMessage: 'If you do not receive a password reset message after 1 minute, verify that you entered the correct '
|
|
||||||
+ 'email address, or check your spam folder.',
|
|
||||||
description: 'Part of message that appears after user requests password change',
|
|
||||||
},
|
|
||||||
// Logistration strinsg
|
|
||||||
'logistration.sign.in': {
|
'logistration.sign.in': {
|
||||||
id: 'logistration.sign.in',
|
id: 'logistration.sign.in',
|
||||||
defaultMessage: 'Sign in',
|
defaultMessage: 'Sign in',
|
||||||
@@ -34,32 +18,22 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'Register',
|
defaultMessage: 'Register',
|
||||||
description: 'Text that appears on the tab to switch between login and register',
|
description: 'Text that appears on the tab to switch between login and register',
|
||||||
},
|
},
|
||||||
'internal.server.error.message': {
|
|
||||||
id: 'internal.server.error.message',
|
|
||||||
defaultMessage: 'An error has occurred. Try refreshing the page, or check your internet connection.',
|
|
||||||
description: 'Error message that appears when server responds with 500 error code',
|
|
||||||
},
|
|
||||||
'server.ratelimit.error.message': {
|
|
||||||
id: 'server.ratelimit.error.message',
|
|
||||||
defaultMessage: 'An error has occurred because of too many requests. Please try again after some time.',
|
|
||||||
description: 'Error message that appears when server responds with 429 error code',
|
|
||||||
},
|
|
||||||
// enterprise sso strings
|
// enterprise sso strings
|
||||||
'enterprisetpa.title.heading': {
|
'enterprisetpa.title.heading': {
|
||||||
id: 'enterprisetpa.title.heading',
|
id: 'enterprisetpa.title.heading',
|
||||||
defaultMessage: 'Would you like to sign in using your {providerName} credentials?',
|
defaultMessage: 'Would you like to sign in using your {providerName} credentials?',
|
||||||
description: 'Header text used in enterprise third party authentication',
|
description: 'Header text used in enterprise third party authentication',
|
||||||
},
|
},
|
||||||
'enterprisetpa.sso.button.title': {
|
|
||||||
id: 'enterprisetpa.sso.button.title',
|
|
||||||
defaultMessage: 'Sign in using {providerName}',
|
|
||||||
description: 'Text for third party auth provider buttons',
|
|
||||||
},
|
|
||||||
'enterprisetpa.login.button.text': {
|
'enterprisetpa.login.button.text': {
|
||||||
id: 'enterprisetpa.login.button.text',
|
id: 'enterprisetpa.login.button.text',
|
||||||
defaultMessage: 'Show me other ways to sign in or register',
|
defaultMessage: 'Show me other ways to sign in or register',
|
||||||
description: 'Button text for login',
|
description: 'Button text for login',
|
||||||
},
|
},
|
||||||
|
'enterprisetpa.login.button.text.public.account.creation.disabled': {
|
||||||
|
id: 'enterprisetpa.login.button.text.public.account.creation.disabled',
|
||||||
|
defaultMessage: 'Show me other ways to sign in',
|
||||||
|
description: 'Button text for login when account creation is disabled',
|
||||||
|
},
|
||||||
// social auth providers
|
// social auth providers
|
||||||
'sso.sign.in.with': {
|
'sso.sign.in.with': {
|
||||||
id: 'sso.sign.in.with',
|
id: 'sso.sign.in.with',
|
||||||
@@ -123,6 +97,21 @@ const messages = defineMessages({
|
|||||||
description: 'Message that appears on register page if user has successfully authenticated with TPA '
|
description: 'Message that appears on register page if user has successfully authenticated with TPA '
|
||||||
+ 'but no associated platform account exists',
|
+ 'but no associated platform account exists',
|
||||||
},
|
},
|
||||||
|
'registration.using.tpa.form.heading': {
|
||||||
|
id: 'registration.using.tpa.form.heading',
|
||||||
|
defaultMessage: 'Finish creating your account',
|
||||||
|
description: 'Heading that appears above form when user is trying to create account using social auth',
|
||||||
|
},
|
||||||
|
supportTitle: {
|
||||||
|
id: 'zendesk.supportTitle',
|
||||||
|
description: 'Title for the support button',
|
||||||
|
defaultMessage: 'edX Support',
|
||||||
|
},
|
||||||
|
selectTicketForm: {
|
||||||
|
id: 'zendesk.selectTicketForm',
|
||||||
|
description: 'Select ticket form',
|
||||||
|
defaultMessage: 'Please choose your request type:',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
export default messages;
|
export default messages;
|
||||||
|
|||||||
@@ -1,13 +1,20 @@
|
|||||||
|
/* eslint-disable import/no-import-module-exports */
|
||||||
|
/* eslint-disable react/function-component-definition */
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import * as auth from '@edx/frontend-platform/auth';
|
import { fetchAuthenticatedUser, getAuthenticatedUser } from '@edx/frontend-platform/auth';
|
||||||
import { mount } from 'enzyme';
|
import { mount } from 'enzyme';
|
||||||
import { MemoryRouter, BrowserRouter as Router, Switch } from 'react-router-dom';
|
import { act } from 'react-dom/test-utils';
|
||||||
|
|
||||||
import { UnAuthOnlyRoute } from '..';
|
import { UnAuthOnlyRoute } from '..';
|
||||||
import { LOGIN_PAGE } from '../../data/constants';
|
import { LOGIN_PAGE } from '../../data/constants';
|
||||||
|
|
||||||
jest.mock('@edx/frontend-platform/auth');
|
import { MemoryRouter, BrowserRouter as Router, Switch } from 'react-router-dom';
|
||||||
|
|
||||||
|
jest.mock('@edx/frontend-platform/auth', () => ({
|
||||||
|
getAuthenticatedUser: jest.fn(),
|
||||||
|
fetchAuthenticatedUser: jest.fn(),
|
||||||
|
}));
|
||||||
|
|
||||||
const RRD = require('react-router-dom');
|
const RRD = require('react-router-dom');
|
||||||
// Just render plain div with its children
|
// Just render plain div with its children
|
||||||
@@ -36,25 +43,30 @@ describe('UnAuthOnlyRoute', () => {
|
|||||||
jest.clearAllMocks();
|
jest.clearAllMocks();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should have called with forceRefresh true', () => {
|
it('should have called with forceRefresh true', async () => {
|
||||||
const user = {
|
const user = {
|
||||||
username: 'gonzo',
|
username: 'gonzo',
|
||||||
other: 'data',
|
other: 'data',
|
||||||
};
|
};
|
||||||
auth.getAuthenticatedUser = jest.fn(() => user);
|
|
||||||
auth.fetchAuthenticatedUser = jest.fn(() => ({ then: () => auth.getAuthenticatedUser() }));
|
|
||||||
|
|
||||||
mount(routerWrapper());
|
getAuthenticatedUser.mockReturnValue(user);
|
||||||
|
fetchAuthenticatedUser.mockReturnValueOnce(Promise.resolve(user));
|
||||||
|
|
||||||
expect(auth.fetchAuthenticatedUser).toBeCalledWith({ forceRefresh: true });
|
await act(async () => {
|
||||||
|
await mount(routerWrapper());
|
||||||
|
});
|
||||||
|
|
||||||
|
expect(fetchAuthenticatedUser).toBeCalledWith({ forceRefresh: true });
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should have called with forceRefresh false', () => {
|
it('should have called with forceRefresh false', async () => {
|
||||||
auth.getAuthenticatedUser = jest.fn(() => null);
|
getAuthenticatedUser.mockReturnValue(null);
|
||||||
auth.fetchAuthenticatedUser = jest.fn(() => ({ then: () => auth.getAuthenticatedUser() }));
|
fetchAuthenticatedUser.mockReturnValueOnce(Promise.resolve(null));
|
||||||
|
|
||||||
mount(routerWrapper());
|
await act(async () => {
|
||||||
|
await mount(routerWrapper());
|
||||||
|
});
|
||||||
|
|
||||||
expect(auth.fetchAuthenticatedUser).toBeCalledWith({ forceRefresh: false });
|
expect(fetchAuthenticatedUser).toBeCalledWith({ forceRefresh: false });
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
17
src/common-components/tests/Zendesk.test.jsx
Normal file
17
src/common-components/tests/Zendesk.test.jsx
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
import { IntlProvider } from '@edx/frontend-platform/i18n';
|
||||||
|
import renderer from 'react-test-renderer';
|
||||||
|
|
||||||
|
import Zendesk from '../Zendesk';
|
||||||
|
|
||||||
|
jest.mock('react-zendesk', () => 'Zendesk');
|
||||||
|
|
||||||
|
describe('Zendesk Help', () => {
|
||||||
|
it('should match login page third party auth alert message snapshot', () => {
|
||||||
|
const tree = renderer.create(
|
||||||
|
<IntlProvider locale="en">
|
||||||
|
<Zendesk />
|
||||||
|
</IntlProvider>,
|
||||||
|
).toJSON();
|
||||||
|
expect(tree).toMatchSnapshot();
|
||||||
|
});
|
||||||
|
});
|
||||||
@@ -10,25 +10,27 @@ exports[`SocialAuthProviders should match social auth provider with default icon
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
className="font-container"
|
className="btn-tpa__font-container"
|
||||||
>
|
>
|
||||||
<svg
|
<span
|
||||||
aria-hidden="true"
|
className="pgn__icon h-75"
|
||||||
className="svg-inline--fa fa-right-to-bracket "
|
|
||||||
data-icon="right-to-bracket"
|
|
||||||
data-prefix="fas"
|
|
||||||
focusable="false"
|
|
||||||
role="img"
|
|
||||||
style={Object {}}
|
|
||||||
viewBox="0 0 512 512"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
>
|
>
|
||||||
<path
|
<svg
|
||||||
d="M352 96h64c17.7 0 32 14.3 32 32V384c0 17.7-14.3 32-32 32H352c-17.7 0-32 14.3-32 32s14.3 32 32 32h64c53 0 96-43 96-96V128c0-53-43-96-96-96H352c-17.7 0-32 14.3-32 32s14.3 32 32 32zm-7.5 177.4c4.8-4.5 7.5-10.8 7.5-17.4s-2.7-12.9-7.5-17.4l-144-136c-7-6.6-17.2-8.4-26-4.6s-14.5 12.5-14.5 22v72H32c-17.7 0-32 14.3-32 32v64c0 17.7 14.3 32 32 32H160v72c0 9.6 5.7 18.2 14.5 22s19 2 26-4.6l144-136z"
|
aria-hidden={true}
|
||||||
fill="currentColor"
|
fill="none"
|
||||||
style={Object {}}
|
focusable={false}
|
||||||
/>
|
height={24}
|
||||||
</svg>
|
role="img"
|
||||||
|
viewBox="0 0 24 24"
|
||||||
|
width={24}
|
||||||
|
xmlns="http://www.w3.org/2000/svg"
|
||||||
|
>
|
||||||
|
<path
|
||||||
|
d="M11 7L9.6 8.4l2.6 2.6H2v2h10.2l-2.6 2.6L11 17l5-5-5-5zm9 12h-8v2h10V3H12v2h8v14z"
|
||||||
|
fill="currentColor"
|
||||||
|
/>
|
||||||
|
</svg>
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<span
|
<span
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
@@ -55,7 +57,7 @@ exports[`SocialAuthProviders should match social auth provider with iconClass sn
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
className="font-container"
|
className="btn-tpa__font-container"
|
||||||
>
|
>
|
||||||
<svg
|
<svg
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
@@ -104,7 +106,7 @@ Array [
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="icon Apple"
|
alt="icon Apple"
|
||||||
className="icon-image"
|
className="btn-tpa__image-icon"
|
||||||
src="https://edx.devstack.lms/logo.png"
|
src="https://edx.devstack.lms/logo.png"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -133,7 +135,7 @@ Array [
|
|||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
alt="icon Facebook"
|
alt="icon Facebook"
|
||||||
className="icon-image"
|
className="btn-tpa__image-icon"
|
||||||
src="https://edx.devstack.lms/facebook-logo.png"
|
src="https://edx.devstack.lms/facebook-logo.png"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
exports[`ThirdPartyAuthAlert should match login page third party auth alert message snapshot 1`] = `
|
exports[`ThirdPartyAuthAlert should match login page third party auth alert message snapshot 1`] = `
|
||||||
<div
|
<div
|
||||||
className="fade alert-content alert-warning mt-n2 alert show"
|
className="fade alert-content alert-warning mt-n2 mb-5 alert show"
|
||||||
id="tpa-alert"
|
id="tpa-alert"
|
||||||
role="alert"
|
role="alert"
|
||||||
>
|
>
|
||||||
@@ -21,26 +21,33 @@ exports[`ThirdPartyAuthAlert should match login page third party auth alert mess
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`ThirdPartyAuthAlert should match register page third party auth alert message snapshot 1`] = `
|
exports[`ThirdPartyAuthAlert should match register page third party auth alert message snapshot 1`] = `
|
||||||
<div
|
Array [
|
||||||
className="fade alert-content alert-success mt-n2 alert show"
|
|
||||||
id="tpa-alert"
|
|
||||||
role="alert"
|
|
||||||
>
|
|
||||||
<div
|
<div
|
||||||
className="pgn__alert-message-wrapper"
|
className="fade alert-content alert-success mt-n2 mb-5 alert show"
|
||||||
|
id="tpa-alert"
|
||||||
|
role="alert"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="alert-message-content"
|
className="pgn__alert-message-wrapper"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="alert-heading h4"
|
className="alert-message-content"
|
||||||
>
|
>
|
||||||
Almost done!
|
<div
|
||||||
|
className="alert-heading h4"
|
||||||
|
>
|
||||||
|
Almost done!
|
||||||
|
</div>
|
||||||
|
<p>
|
||||||
|
You've successfully signed into Google! We just need a little more information before you start learning with Your Platform Name Here.
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
|
||||||
You've successfully signed into Google! We just need a little more information before you start learning with Your Platform Name Here.
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>,
|
||||||
</div>
|
<h4
|
||||||
|
className="mt-4 mb-4"
|
||||||
|
>
|
||||||
|
Finish creating your account
|
||||||
|
</h4>,
|
||||||
|
]
|
||||||
`;
|
`;
|
||||||
|
|||||||
@@ -0,0 +1,65 @@
|
|||||||
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||||
|
|
||||||
|
exports[`Zendesk Help should match login page third party auth alert message snapshot 1`] = `
|
||||||
|
<Zendesk
|
||||||
|
cookies={true}
|
||||||
|
defer={true}
|
||||||
|
webWidget={
|
||||||
|
Object {
|
||||||
|
"answerBot": Object {
|
||||||
|
"avatar": Object {
|
||||||
|
"name": Object {
|
||||||
|
"*": "edX Support",
|
||||||
|
},
|
||||||
|
"url": undefined,
|
||||||
|
},
|
||||||
|
"contactOnlyAfterQuery": true,
|
||||||
|
"suppress": false,
|
||||||
|
"title": Object {
|
||||||
|
"*": "edX Support",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
"chat": Object {
|
||||||
|
"departments": Object {
|
||||||
|
"enabled": Array [
|
||||||
|
"account settings",
|
||||||
|
"billing and payments",
|
||||||
|
"certificates",
|
||||||
|
"deadlines",
|
||||||
|
"errors and technical issues",
|
||||||
|
"other",
|
||||||
|
"proctoring",
|
||||||
|
],
|
||||||
|
},
|
||||||
|
"suppress": false,
|
||||||
|
},
|
||||||
|
"contactForm": Object {
|
||||||
|
"attachments": true,
|
||||||
|
"selectTicketForm": Object {
|
||||||
|
"*": "Please choose your request type:",
|
||||||
|
},
|
||||||
|
"ticketForms": Array [
|
||||||
|
Object {
|
||||||
|
"fields": Array [
|
||||||
|
Object {
|
||||||
|
"id": "description",
|
||||||
|
"prefill": Object {
|
||||||
|
"*": "",
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
"id": 360003368814,
|
||||||
|
"subject": false,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
"contactOptions": Object {
|
||||||
|
"enabled": false,
|
||||||
|
},
|
||||||
|
"helpCenter": Object {
|
||||||
|
"originalArticleButton": true,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
}
|
||||||
|
/>
|
||||||
|
`;
|
||||||
28
src/config/index.js
Normal file
28
src/config/index.js
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
const configuration = {
|
||||||
|
// Cookies related configs
|
||||||
|
SESSION_COOKIE_DOMAIN: process.env.SESSION_COOKIE_DOMAIN,
|
||||||
|
REGISTER_CONVERSION_COOKIE_NAME: process.env.REGISTER_CONVERSION_COOKIE_NAME || null,
|
||||||
|
USER_SURVEY_COOKIE_NAME: process.env.USER_SURVEY_COOKIE_NAME || null,
|
||||||
|
// Features
|
||||||
|
DISABLE_ENTERPRISE_LOGIN: process.env.DISABLE_ENTERPRISE_LOGIN || '',
|
||||||
|
ENABLE_DYNAMIC_REGISTRATION_FIELDS: process.env.ENABLE_DYNAMIC_REGISTRATION_FIELDS || false,
|
||||||
|
ENABLE_PROGRESSIVE_PROFILING_ON_AUTHN: process.env.ENABLE_PROGRESSIVE_PROFILING_ON_AUTHN || false,
|
||||||
|
ENABLE_PERSONALIZED_RECOMMENDATIONS: process.env.ENABLE_PERSONALIZED_RECOMMENDATIONS || false,
|
||||||
|
MARKETING_EMAILS_OPT_IN: process.env.MARKETING_EMAILS_OPT_IN || '',
|
||||||
|
SHOW_CONFIGURABLE_EDX_FIELDS: process.env.SHOW_CONFIGURABLE_EDX_FIELDS || false,
|
||||||
|
// Links
|
||||||
|
ACTIVATION_EMAIL_SUPPORT_LINK: process.env.ACTIVATION_EMAIL_SUPPORT_LINK || null,
|
||||||
|
AUTHN_PROGRESSIVE_PROFILING_SUPPORT_LINK: process.env.AUTHN_PROGRESSIVE_PROFILING_SUPPORT_LINK || null,
|
||||||
|
LOGIN_ISSUE_SUPPORT_LINK: process.env.LOGIN_ISSUE_SUPPORT_LINK || null,
|
||||||
|
PASSWORD_RESET_SUPPORT_LINK: process.env.PASSWORD_RESET_SUPPORT_LINK || null,
|
||||||
|
PRIVACY_POLICY: process.env.PRIVACY_POLICY || null,
|
||||||
|
TOS_AND_HONOR_CODE: process.env.TOS_AND_HONOR_CODE || null,
|
||||||
|
TOS_LINK: process.env.TOS_LINK || null,
|
||||||
|
// Miscellaneous
|
||||||
|
GENERAL_RECOMMENDATIONS: process.env.GENERAL_RECOMMENDATIONS || '[]',
|
||||||
|
INFO_EMAIL: process.env.INFO_EMAIL || '',
|
||||||
|
ZENDESK_KEY: process.env.ZENDESK_KEY,
|
||||||
|
ZENDESK_LOGO_URL: process.env.ZENDESK_LOGO_URL,
|
||||||
|
};
|
||||||
|
|
||||||
|
export default configuration;
|
||||||
@@ -2,8 +2,9 @@
|
|||||||
export const LOGIN_PAGE = '/login';
|
export const LOGIN_PAGE = '/login';
|
||||||
export const REGISTER_PAGE = '/register';
|
export const REGISTER_PAGE = '/register';
|
||||||
export const RESET_PAGE = '/reset';
|
export const RESET_PAGE = '/reset';
|
||||||
export const WELCOME_PAGE = '/welcome';
|
export const AUTHN_PROGRESSIVE_PROFILING = '/welcome';
|
||||||
export const DEFAULT_REDIRECT_URL = '/dashboard';
|
export const DEFAULT_REDIRECT_URL = '/dashboard';
|
||||||
|
export const RECOMMENDATIONS = '/recommendations';
|
||||||
export const PASSWORD_RESET_CONFIRM = '/password_reset_confirm/:token/';
|
export const PASSWORD_RESET_CONFIRM = '/password_reset_confirm/:token/';
|
||||||
export const PAGE_NOT_FOUND = '/notfound';
|
export const PAGE_NOT_FOUND = '/notfound';
|
||||||
export const ENTERPRISE_LOGIN_URL = '/enterprise/login';
|
export const ENTERPRISE_LOGIN_URL = '/enterprise/login';
|
||||||
@@ -30,8 +31,8 @@ export const VALID_EMAIL_REGEX = '(^[-!#$%&\'*+/=?^_`{}|~0-9A-Z]+(\\.[-!#$%&\'*+
|
|||||||
+ '|\\[(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}\\]$';
|
+ '|\\[(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}\\]$';
|
||||||
export const LETTER_REGEX = /[a-zA-Z]/;
|
export const LETTER_REGEX = /[a-zA-Z]/;
|
||||||
export const NUMBER_REGEX = /\d/;
|
export const NUMBER_REGEX = /\d/;
|
||||||
export const VALID_NAME_REGEX = /[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)?/gi; // eslint-disable-line no-useless-escape
|
export const INVALID_NAME_REGEX = /[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b([-a-zA-Z0-9()@:%_\+.~#?&//=]*)?/gi; // eslint-disable-line no-useless-escape
|
||||||
|
|
||||||
// Query string parameters that can be passed to LMS to manage
|
// Query string parameters that can be passed to LMS to manage
|
||||||
// things like auto-enrollment upon login and registration.
|
// things like auto-enrollment upon login and registration.
|
||||||
export const AUTH_PARAMS = ['course_id', 'enrollment_action', 'course_mode', 'email_opt_in', 'purchase_workflow', 'next', 'save_for_later', 'register_for_free'];
|
export const AUTH_PARAMS = ['course_id', 'enrollment_action', 'course_mode', 'email_opt_in', 'purchase_workflow', 'next', 'save_for_later', 'register_for_free', 'track', 'is_account_recovery'];
|
||||||
|
|||||||
17
src/data/optimizely.js
Normal file
17
src/data/optimizely.js
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
import {
|
||||||
|
createInstance,
|
||||||
|
} from '@optimizely/react-sdk';
|
||||||
|
|
||||||
|
const OPTIMIZELY_SDK_KEY = process.env.OPTIMIZELY_FULL_STACK_SDK_KEY;
|
||||||
|
|
||||||
|
const getOptimizelyInstance = () => {
|
||||||
|
if (OPTIMIZELY_SDK_KEY) {
|
||||||
|
return createInstance({
|
||||||
|
sdkKey: OPTIMIZELY_SDK_KEY,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
return null;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default getOptimizelyInstance();
|
||||||
@@ -12,6 +12,10 @@ import {
|
|||||||
reducer as loginReducer,
|
reducer as loginReducer,
|
||||||
storeName as loginStoreName,
|
storeName as loginStoreName,
|
||||||
} from '../login';
|
} from '../login';
|
||||||
|
import {
|
||||||
|
reducer as authnProgressiveProfilingReducers,
|
||||||
|
storeName as authnProgressiveProfilingStoreName,
|
||||||
|
} from '../progressive-profiling';
|
||||||
import {
|
import {
|
||||||
reducer as registerReducer,
|
reducer as registerReducer,
|
||||||
storeName as registerStoreName,
|
storeName as registerStoreName,
|
||||||
@@ -20,10 +24,6 @@ import {
|
|||||||
reducer as resetPasswordReducer,
|
reducer as resetPasswordReducer,
|
||||||
storeName as resetPasswordStoreName,
|
storeName as resetPasswordStoreName,
|
||||||
} from '../reset-password';
|
} from '../reset-password';
|
||||||
import {
|
|
||||||
reducer as welcomePageReducers,
|
|
||||||
storeName as welcomePageStoreName,
|
|
||||||
} from '../welcome';
|
|
||||||
|
|
||||||
const createRootReducer = () => combineReducers({
|
const createRootReducer = () => combineReducers({
|
||||||
[loginStoreName]: loginReducer,
|
[loginStoreName]: loginReducer,
|
||||||
@@ -31,6 +31,6 @@ const createRootReducer = () => combineReducers({
|
|||||||
[commonComponentsStoreName]: commonComponentsReducer,
|
[commonComponentsStoreName]: commonComponentsReducer,
|
||||||
[forgotPasswordStoreName]: forgotPasswordReducer,
|
[forgotPasswordStoreName]: forgotPasswordReducer,
|
||||||
[resetPasswordStoreName]: resetPasswordReducer,
|
[resetPasswordStoreName]: resetPasswordReducer,
|
||||||
[welcomePageStoreName]: welcomePageReducers,
|
[authnProgressiveProfilingStoreName]: authnProgressiveProfilingReducers,
|
||||||
});
|
});
|
||||||
export default createRootReducer;
|
export default createRootReducer;
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ import { all } from 'redux-saga/effects';
|
|||||||
import { saga as commonComponentsSaga } from '../common-components';
|
import { saga as commonComponentsSaga } from '../common-components';
|
||||||
import { saga as forgotPasswordSaga } from '../forgot-password';
|
import { saga as forgotPasswordSaga } from '../forgot-password';
|
||||||
import { saga as loginSaga } from '../login';
|
import { saga as loginSaga } from '../login';
|
||||||
|
import { saga as authnProgressiveProfilingSaga } from '../progressive-profiling';
|
||||||
import { saga as registrationSaga } from '../register';
|
import { saga as registrationSaga } from '../register';
|
||||||
import { saga as resetPasswordSaga } from '../reset-password';
|
import { saga as resetPasswordSaga } from '../reset-password';
|
||||||
import { saga as welcomePageSaga } from '../welcome';
|
|
||||||
|
|
||||||
export default function* rootSaga() {
|
export default function* rootSaga() {
|
||||||
yield all([
|
yield all([
|
||||||
@@ -14,6 +14,6 @@ export default function* rootSaga() {
|
|||||||
commonComponentsSaga(),
|
commonComponentsSaga(),
|
||||||
forgotPasswordSaga(),
|
forgotPasswordSaga(),
|
||||||
resetPasswordSaga(),
|
resetPasswordSaga(),
|
||||||
welcomePageSaga(),
|
authnProgressiveProfilingSaga(),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import Cookies from 'universal-cookie';
|
|||||||
|
|
||||||
export function setCookie(cookieName, cookieValue, cookieExpiry) {
|
export function setCookie(cookieName, cookieValue, cookieExpiry) {
|
||||||
const cookies = new Cookies();
|
const cookies = new Cookies();
|
||||||
const options = { domain: getConfig().COOKIE_DOMAIN, path: '/' };
|
const options = { domain: getConfig().SESSION_COOKIE_DOMAIN, path: '/' };
|
||||||
if (cookieExpiry) {
|
if (cookieExpiry) {
|
||||||
options.expires = cookieExpiry;
|
options.expires = cookieExpiry;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -49,8 +49,8 @@ export const updatePathWithQueryParams = (path) => {
|
|||||||
return `${path}${queryParams}`;
|
return `${path}${queryParams}`;
|
||||||
};
|
};
|
||||||
|
|
||||||
export const getAllPossibleQueryParam = () => {
|
export const getAllPossibleQueryParams = (locationURl = null) => {
|
||||||
const urlParams = QueryString.parse(window.location.search);
|
const urlParams = locationURl ? QueryString.parseUrl(locationURl).query : QueryString.parse(window.location.search);
|
||||||
const params = {};
|
const params = {};
|
||||||
Object.entries(urlParams).forEach(([key, value]) => {
|
Object.entries(urlParams).forEach(([key, value]) => {
|
||||||
if (AUTH_PARAMS.indexOf(key) > -1) {
|
if (AUTH_PARAMS.indexOf(key) > -1) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { LOGIN_PAGE } from '../constants';
|
|
||||||
import { updatePathWithQueryParams } from './dataUtils';
|
import { updatePathWithQueryParams } from './dataUtils';
|
||||||
|
import { LOGIN_PAGE } from '../constants';
|
||||||
|
|
||||||
describe('updatePathWithQueryParams', () => {
|
describe('updatePathWithQueryParams', () => {
|
||||||
it('should append query params into the path', () => {
|
it('should append query params into the path', () => {
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ export {
|
|||||||
getTpaProvider,
|
getTpaProvider,
|
||||||
getTpaHint,
|
getTpaHint,
|
||||||
updatePathWithQueryParams,
|
updatePathWithQueryParams,
|
||||||
getAllPossibleQueryParam,
|
getAllPossibleQueryParams,
|
||||||
getActivationStatus,
|
getActivationStatus,
|
||||||
windowScrollTo,
|
windowScrollTo,
|
||||||
} from './dataUtils';
|
} from './dataUtils';
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ import PropTypes from 'prop-types';
|
|||||||
const FormFieldRenderer = (props) => {
|
const FormFieldRenderer = (props) => {
|
||||||
let formField = null;
|
let formField = null;
|
||||||
const {
|
const {
|
||||||
errorMessage, fieldData, onChangeHandler, isRequired, value,
|
className, errorMessage, fieldData, onChangeHandler, isRequired, value,
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
const handleFocus = (e) => {
|
const handleFocus = (e) => {
|
||||||
@@ -26,6 +26,7 @@ const FormFieldRenderer = (props) => {
|
|||||||
formField = (
|
formField = (
|
||||||
<Form.Group controlId={fieldData.name} isInvalid={!!(isRequired && errorMessage)}>
|
<Form.Group controlId={fieldData.name} isInvalid={!!(isRequired && errorMessage)}>
|
||||||
<Form.Control
|
<Form.Control
|
||||||
|
className={className}
|
||||||
as="select"
|
as="select"
|
||||||
name={fieldData.name}
|
name={fieldData.name}
|
||||||
value={value}
|
value={value}
|
||||||
@@ -54,6 +55,7 @@ const FormFieldRenderer = (props) => {
|
|||||||
formField = (
|
formField = (
|
||||||
<Form.Group controlId={fieldData.name} isInvalid={!!(isRequired && errorMessage)}>
|
<Form.Group controlId={fieldData.name} isInvalid={!!(isRequired && errorMessage)}>
|
||||||
<Form.Control
|
<Form.Control
|
||||||
|
className={className}
|
||||||
as="textarea"
|
as="textarea"
|
||||||
name={fieldData.name}
|
name={fieldData.name}
|
||||||
value={value}
|
value={value}
|
||||||
@@ -76,6 +78,7 @@ const FormFieldRenderer = (props) => {
|
|||||||
formField = (
|
formField = (
|
||||||
<Form.Group controlId={fieldData.name} isInvalid={!!(isRequired && errorMessage)}>
|
<Form.Group controlId={fieldData.name} isInvalid={!!(isRequired && errorMessage)}>
|
||||||
<Form.Control
|
<Form.Control
|
||||||
|
className={className}
|
||||||
name={fieldData.name}
|
name={fieldData.name}
|
||||||
value={value}
|
value={value}
|
||||||
aria-invalid={isRequired && Boolean(errorMessage)}
|
aria-invalid={isRequired && Boolean(errorMessage)}
|
||||||
@@ -97,6 +100,7 @@ const FormFieldRenderer = (props) => {
|
|||||||
formField = (
|
formField = (
|
||||||
<Form.Group isInvalid={!!(isRequired && errorMessage)}>
|
<Form.Group isInvalid={!!(isRequired && errorMessage)}>
|
||||||
<Form.Checkbox
|
<Form.Checkbox
|
||||||
|
className={className}
|
||||||
id={fieldData.name}
|
id={fieldData.name}
|
||||||
checked={!!value}
|
checked={!!value}
|
||||||
name={fieldData.name}
|
name={fieldData.name}
|
||||||
@@ -124,6 +128,7 @@ const FormFieldRenderer = (props) => {
|
|||||||
return formField;
|
return formField;
|
||||||
};
|
};
|
||||||
FormFieldRenderer.defaultProps = {
|
FormFieldRenderer.defaultProps = {
|
||||||
|
className: '',
|
||||||
value: '',
|
value: '',
|
||||||
handleBlur: null,
|
handleBlur: null,
|
||||||
handleFocus: null,
|
handleFocus: null,
|
||||||
@@ -132,17 +137,22 @@ FormFieldRenderer.defaultProps = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
FormFieldRenderer.propTypes = {
|
FormFieldRenderer.propTypes = {
|
||||||
|
className: PropTypes.string,
|
||||||
fieldData: PropTypes.shape({
|
fieldData: PropTypes.shape({
|
||||||
type: PropTypes.string,
|
type: PropTypes.string,
|
||||||
label: PropTypes.string,
|
label: PropTypes.string,
|
||||||
name: PropTypes.string,
|
name: PropTypes.string,
|
||||||
|
options: PropTypes.arrayOf(PropTypes.arrayOf(PropTypes.string)),
|
||||||
}).isRequired,
|
}).isRequired,
|
||||||
onChangeHandler: PropTypes.func.isRequired,
|
onChangeHandler: PropTypes.func.isRequired,
|
||||||
handleBlur: PropTypes.func,
|
handleBlur: PropTypes.func,
|
||||||
handleFocus: PropTypes.func,
|
handleFocus: PropTypes.func,
|
||||||
errorMessage: PropTypes.string,
|
errorMessage: PropTypes.string,
|
||||||
isRequired: PropTypes.bool,
|
isRequired: PropTypes.bool,
|
||||||
value: PropTypes.string,
|
value: PropTypes.oneOfType([
|
||||||
|
PropTypes.string,
|
||||||
|
PropTypes.bool,
|
||||||
|
]),
|
||||||
};
|
};
|
||||||
|
|
||||||
export default FormFieldRenderer;
|
export default FormFieldRenderer;
|
||||||
|
|||||||
@@ -1 +1,2 @@
|
|||||||
export { default } from './FieldRenderer';
|
/* eslint-disable import/prefer-default-export */
|
||||||
|
export { default as FormFieldRenderer } from './FieldRenderer';
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { mount } from 'enzyme';
|
import { mount } from 'enzyme';
|
||||||
|
|
||||||
import FieldRenderer from '../FieldRenderer';
|
import FieldRenderer from '../FieldRenderer';
|
||||||
@@ -24,7 +25,7 @@ describe('FieldRendererTests', () => {
|
|||||||
type: 'select',
|
type: 'select',
|
||||||
label: 'Year of Birth',
|
label: 'Year of Birth',
|
||||||
name: 'yob-field',
|
name: 'yob-field',
|
||||||
options: [['1997', 1997], ['1998', 1998]],
|
options: [['1997', '1997'], ['1998', '1998']],
|
||||||
};
|
};
|
||||||
|
|
||||||
const fieldRenderer = mount(<FieldRenderer value={value} fieldData={fieldData} onChangeHandler={changeHandler} />);
|
const fieldRenderer = mount(<FieldRenderer value={value} fieldData={fieldData} onChangeHandler={changeHandler} />);
|
||||||
@@ -82,7 +83,7 @@ describe('FieldRendererTests', () => {
|
|||||||
it('should render checkbox field', () => {
|
it('should render checkbox field', () => {
|
||||||
const fieldData = {
|
const fieldData = {
|
||||||
type: 'checkbox',
|
type: 'checkbox',
|
||||||
label: 'I agree that edX may send me marketing messages.',
|
label: `I agree that ${getConfig().SITE_NAME} may send me marketing messages.`,
|
||||||
name: 'marketing-emails-opt-in-field',
|
name: 'marketing-emails-opt-in-field',
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -91,7 +92,7 @@ describe('FieldRendererTests', () => {
|
|||||||
field.simulate('change', { target: { checked: true, type: 'checkbox' } });
|
field.simulate('change', { target: { checked: true, type: 'checkbox' } });
|
||||||
|
|
||||||
expect(field.prop('type')).toEqual('checkbox');
|
expect(field.prop('type')).toEqual('checkbox');
|
||||||
expect(fieldRenderer.find('label').text()).toEqual('I agree that edX may send me marketing messages.');
|
expect(fieldRenderer.find('label').text()).toEqual(fieldData.label);
|
||||||
expect(value).toEqual(true);
|
expect(value).toEqual(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -1,21 +1,22 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { FormattedMessage, useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Alert } from '@edx/paragon';
|
import { Alert } from '@edx/paragon';
|
||||||
import { CheckCircle, Error } from '@edx/paragon/icons';
|
import { CheckCircle, Error } from '@edx/paragon/icons';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
|
||||||
|
import messages from './messages';
|
||||||
import {
|
import {
|
||||||
COMPLETE_STATE, FORBIDDEN_STATE, FORM_SUBMISSION_ERROR, INTERNAL_SERVER_ERROR,
|
COMPLETE_STATE, FORBIDDEN_STATE, FORM_SUBMISSION_ERROR, INTERNAL_SERVER_ERROR,
|
||||||
} from '../data/constants';
|
} from '../data/constants';
|
||||||
import { PASSWORD_RESET } from '../reset-password/data/constants';
|
import { PASSWORD_RESET } from '../reset-password/data/constants';
|
||||||
import messages from './messages';
|
|
||||||
|
|
||||||
const ForgotPasswordAlert = (props) => {
|
const ForgotPasswordAlert = (props) => {
|
||||||
const { email, emailError, intl } = props;
|
const { formatMessage } = useIntl();
|
||||||
|
const { email, emailError } = props;
|
||||||
let message = '';
|
let message = '';
|
||||||
let heading = intl.formatMessage(messages['forgot.password.error.alert.title']);
|
let heading = formatMessage(messages['forgot.password.error.alert.title']);
|
||||||
let { status } = props;
|
let { status } = props;
|
||||||
|
|
||||||
if (emailError) {
|
if (emailError) {
|
||||||
@@ -24,7 +25,7 @@ const ForgotPasswordAlert = (props) => {
|
|||||||
|
|
||||||
switch (status) {
|
switch (status) {
|
||||||
case COMPLETE_STATE:
|
case COMPLETE_STATE:
|
||||||
heading = intl.formatMessage(messages['confirmation.message.title']);
|
heading = formatMessage(messages['confirmation.message.title']);
|
||||||
message = (
|
message = (
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="forgot.password.confirmation.message"
|
id="forgot.password.confirmation.message"
|
||||||
@@ -36,7 +37,7 @@ const ForgotPasswordAlert = (props) => {
|
|||||||
email: <span className="data-hj-suppress">{email}</span>,
|
email: <span className="data-hj-suppress">{email}</span>,
|
||||||
supportLink: (
|
supportLink: (
|
||||||
<Alert.Link href={getConfig().PASSWORD_RESET_SUPPORT_LINK} target="_blank">
|
<Alert.Link href={getConfig().PASSWORD_RESET_SUPPORT_LINK} target="_blank">
|
||||||
{intl.formatMessage(messages['confirmation.support.link'])}
|
{formatMessage(messages['confirmation.support.link'])}
|
||||||
</Alert.Link>
|
</Alert.Link>
|
||||||
),
|
),
|
||||||
}}
|
}}
|
||||||
@@ -44,26 +45,26 @@ const ForgotPasswordAlert = (props) => {
|
|||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
case INTERNAL_SERVER_ERROR:
|
case INTERNAL_SERVER_ERROR:
|
||||||
message = intl.formatMessage(messages['internal.server.error']);
|
message = formatMessage(messages['internal.server.error']);
|
||||||
break;
|
break;
|
||||||
case FORBIDDEN_STATE:
|
case FORBIDDEN_STATE:
|
||||||
heading = intl.formatMessage(messages['forgot.password.error.message.title']);
|
heading = formatMessage(messages['forgot.password.error.message.title']);
|
||||||
message = intl.formatMessage(messages['forgot.password.request.in.progress.message']);
|
message = formatMessage(messages['forgot.password.request.in.progress.message']);
|
||||||
break;
|
break;
|
||||||
case FORM_SUBMISSION_ERROR:
|
case FORM_SUBMISSION_ERROR:
|
||||||
message = intl.formatMessage(messages['extend.field.errors'], { emailError });
|
message = formatMessage(messages['extend.field.errors'], { emailError });
|
||||||
break;
|
break;
|
||||||
case PASSWORD_RESET.INVALID_TOKEN:
|
case PASSWORD_RESET.INVALID_TOKEN:
|
||||||
heading = intl.formatMessage(messages['invalid.token.heading']);
|
heading = formatMessage(messages['invalid.token.heading']);
|
||||||
message = intl.formatMessage(messages['invalid.token.error.message']);
|
message = formatMessage(messages['invalid.token.error.message']);
|
||||||
break;
|
break;
|
||||||
case PASSWORD_RESET.FORBIDDEN_REQUEST:
|
case PASSWORD_RESET.FORBIDDEN_REQUEST:
|
||||||
heading = intl.formatMessage(messages['token.validation.rate.limit.error.heading']);
|
heading = formatMessage(messages['token.validation.rate.limit.error.heading']);
|
||||||
message = intl.formatMessage(messages['token.validation.rate.limit.error']);
|
message = formatMessage(messages['token.validation.rate.limit.error']);
|
||||||
break;
|
break;
|
||||||
case PASSWORD_RESET.INTERNAL_SERVER_ERROR:
|
case PASSWORD_RESET.INTERNAL_SERVER_ERROR:
|
||||||
heading = intl.formatMessage(messages['token.validation.internal.sever.error.heading']);
|
heading = formatMessage(messages['token.validation.internal.sever.error.heading']);
|
||||||
message = intl.formatMessage(messages['token.validation.internal.sever.error']);
|
message = formatMessage(messages['token.validation.internal.sever.error']);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
@@ -93,8 +94,7 @@ ForgotPasswordAlert.defaultProps = {
|
|||||||
ForgotPasswordAlert.propTypes = {
|
ForgotPasswordAlert.propTypes = {
|
||||||
status: PropTypes.string.isRequired,
|
status: PropTypes.string.isRequired,
|
||||||
email: PropTypes.string,
|
email: PropTypes.string,
|
||||||
intl: intlShape.isRequired,
|
|
||||||
emailError: PropTypes.string,
|
emailError: PropTypes.string,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(ForgotPasswordAlert);
|
export default ForgotPasswordAlert;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { connect } from 'react-redux';
|
|||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { sendPageEvent, sendTrackEvent } from '@edx/frontend-platform/analytics';
|
import { sendPageEvent, sendTrackEvent } from '@edx/frontend-platform/analytics';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import {
|
import {
|
||||||
Form,
|
Form,
|
||||||
Hyperlink,
|
Hyperlink,
|
||||||
@@ -17,22 +17,23 @@ import PropTypes from 'prop-types';
|
|||||||
import { Helmet } from 'react-helmet';
|
import { Helmet } from 'react-helmet';
|
||||||
import { Redirect } from 'react-router-dom';
|
import { Redirect } from 'react-router-dom';
|
||||||
|
|
||||||
import BaseComponent from '../base-component';
|
|
||||||
import { FormGroup } from '../common-components';
|
|
||||||
import { DEFAULT_STATE, LOGIN_PAGE, VALID_EMAIL_REGEX } from '../data/constants';
|
|
||||||
import { updatePathWithQueryParams, windowScrollTo } from '../data/utils';
|
|
||||||
import { forgotPassword, setForgotPasswordFormData } from './data/actions';
|
import { forgotPassword, setForgotPasswordFormData } from './data/actions';
|
||||||
import { forgotPasswordResultSelector } from './data/selectors';
|
import { forgotPasswordResultSelector } from './data/selectors';
|
||||||
import ForgotPasswordAlert from './ForgotPasswordAlert';
|
import ForgotPasswordAlert from './ForgotPasswordAlert';
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
import { BaseComponent } from '../base-component';
|
||||||
|
import { FormGroup } from '../common-components';
|
||||||
|
import { DEFAULT_STATE, LOGIN_PAGE, VALID_EMAIL_REGEX } from '../data/constants';
|
||||||
|
import { updatePathWithQueryParams, windowScrollTo } from '../data/utils';
|
||||||
|
|
||||||
const ForgotPasswordPage = (props) => {
|
const ForgotPasswordPage = (props) => {
|
||||||
const platformName = getConfig().SITE_NAME;
|
const platformName = getConfig().SITE_NAME;
|
||||||
const emailRegex = new RegExp(VALID_EMAIL_REGEX, 'i');
|
const emailRegex = new RegExp(VALID_EMAIL_REGEX, 'i');
|
||||||
const {
|
const {
|
||||||
intl, status, submitState, emailValidationError,
|
status, submitState, emailValidationError,
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
|
const { formatMessage } = useIntl();
|
||||||
const [email, setEmail] = useState(props.email);
|
const [email, setEmail] = useState(props.email);
|
||||||
const [bannerEmail, setBannerEmail] = useState('');
|
const [bannerEmail, setBannerEmail] = useState('');
|
||||||
const [formErrors, setFormErrors] = useState('');
|
const [formErrors, setFormErrors] = useState('');
|
||||||
@@ -58,9 +59,9 @@ const ForgotPasswordPage = (props) => {
|
|||||||
let error = '';
|
let error = '';
|
||||||
|
|
||||||
if (value === '') {
|
if (value === '') {
|
||||||
error = intl.formatMessage(messages['forgot.password.empty.email.field.error']);
|
error = formatMessage(messages['forgot.password.empty.email.field.error']);
|
||||||
} else if (!emailRegex.test(value)) {
|
} else if (!emailRegex.test(value)) {
|
||||||
error = intl.formatMessage(messages['forgot.password.page.invalid.email.message']);
|
error = formatMessage(messages['forgot.password.page.invalid.email.message']);
|
||||||
}
|
}
|
||||||
|
|
||||||
return error;
|
return error;
|
||||||
@@ -89,14 +90,14 @@ const ForgotPasswordPage = (props) => {
|
|||||||
const tabTitle = (
|
const tabTitle = (
|
||||||
<div className="d-inline-flex flex-wrap align-items-center">
|
<div className="d-inline-flex flex-wrap align-items-center">
|
||||||
<Icon src={ChevronLeft} />
|
<Icon src={ChevronLeft} />
|
||||||
<span className="ml-2">{intl.formatMessage(messages['sign.in.text'])}</span>
|
<span className="ml-2">{formatMessage(messages['sign.in.text'])}</span>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<BaseComponent>
|
<BaseComponent>
|
||||||
<Helmet>
|
<Helmet>
|
||||||
<title>{intl.formatMessage(messages['forgot.password.page.title'],
|
<title>{formatMessage(messages['forgot.password.page.title'],
|
||||||
{ siteName: getConfig().SITE_NAME })}
|
{ siteName: getConfig().SITE_NAME })}
|
||||||
</title>
|
</title>
|
||||||
</Helmet>
|
</Helmet>
|
||||||
@@ -111,13 +112,13 @@ const ForgotPasswordPage = (props) => {
|
|||||||
<Form id="forget-password-form" name="forget-password-form" className="mw-xs">
|
<Form id="forget-password-form" name="forget-password-form" className="mw-xs">
|
||||||
<ForgotPasswordAlert email={bannerEmail} emailError={formErrors} status={status} />
|
<ForgotPasswordAlert email={bannerEmail} emailError={formErrors} status={status} />
|
||||||
<h2 className="h4">
|
<h2 className="h4">
|
||||||
{intl.formatMessage(messages['forgot.password.page.heading'])}
|
{formatMessage(messages['forgot.password.page.heading'])}
|
||||||
</h2>
|
</h2>
|
||||||
<p className="mb-4">
|
<p className="mb-4">
|
||||||
{intl.formatMessage(messages['forgot.password.page.instructions'])}
|
{formatMessage(messages['forgot.password.page.instructions'])}
|
||||||
</p>
|
</p>
|
||||||
<FormGroup
|
<FormGroup
|
||||||
floatingLabel={intl.formatMessage(messages['forgot.password.page.email.field.label'])}
|
floatingLabel={formatMessage(messages['forgot.password.page.email.field.label'])}
|
||||||
name="email"
|
name="email"
|
||||||
value={email}
|
value={email}
|
||||||
autoComplete="on"
|
autoComplete="on"
|
||||||
@@ -125,34 +126,36 @@ const ForgotPasswordPage = (props) => {
|
|||||||
handleChange={(e) => setEmail(e.target.value)}
|
handleChange={(e) => setEmail(e.target.value)}
|
||||||
handleBlur={handleBlur}
|
handleBlur={handleBlur}
|
||||||
handleFocus={handleFocus}
|
handleFocus={handleFocus}
|
||||||
helpText={[intl.formatMessage(messages['forgot.password.email.help.text'], { platformName })]}
|
helpText={[formatMessage(messages['forgot.password.email.help.text'], { platformName })]}
|
||||||
/>
|
/>
|
||||||
<StatefulButton
|
<StatefulButton
|
||||||
id="submit-forget-password"
|
id="submit-forget-password"
|
||||||
name="submit-forget-password"
|
name="submit-forget-password"
|
||||||
type="submit"
|
type="submit"
|
||||||
variant="brand"
|
variant="brand"
|
||||||
className="forgot-password-button-width"
|
className="forgot-password--button"
|
||||||
state={submitState}
|
state={submitState}
|
||||||
labels={{
|
labels={{
|
||||||
default: intl.formatMessage(messages['forgot.password.page.submit.button']),
|
default: formatMessage(messages['forgot.password.page.submit.button']),
|
||||||
pending: '',
|
pending: '',
|
||||||
}}
|
}}
|
||||||
onClick={handleSubmit}
|
onClick={handleSubmit}
|
||||||
onMouseDown={(e) => e.preventDefault()}
|
onMouseDown={(e) => e.preventDefault()}
|
||||||
/>
|
/>
|
||||||
<Hyperlink
|
{(getConfig().LOGIN_ISSUE_SUPPORT_LINK) && (
|
||||||
id="forgot-password"
|
<Hyperlink
|
||||||
name="forgot-password"
|
id="forgot-password"
|
||||||
className="ml-4 font-weight-500 text-body"
|
name="forgot-password"
|
||||||
destination={getConfig().LOGIN_ISSUE_SUPPORT_LINK}
|
className="ml-4 font-weight-500 text-body"
|
||||||
target="_blank"
|
destination={getConfig().LOGIN_ISSUE_SUPPORT_LINK}
|
||||||
showLaunchIcon={false}
|
target="_blank"
|
||||||
>
|
showLaunchIcon={false}
|
||||||
{intl.formatMessage(messages['need.help.sign.in.text'])}
|
>
|
||||||
</Hyperlink>
|
{formatMessage(messages['need.help.sign.in.text'])}
|
||||||
|
</Hyperlink>
|
||||||
|
)}
|
||||||
<p className="mt-5.5 small text-gray-700">
|
<p className="mt-5.5 small text-gray-700">
|
||||||
{intl.formatMessage(messages['additional.help.text'], { platformName })}
|
{formatMessage(messages['additional.help.text'], { platformName })}
|
||||||
<span>
|
<span>
|
||||||
<Hyperlink isInline destination={`mailto:${getConfig().INFO_EMAIL}`}>{getConfig().INFO_EMAIL}</Hyperlink>
|
<Hyperlink isInline destination={`mailto:${getConfig().INFO_EMAIL}`}>{getConfig().INFO_EMAIL}</Hyperlink>
|
||||||
</span>
|
</span>
|
||||||
@@ -168,7 +171,6 @@ ForgotPasswordPage.propTypes = {
|
|||||||
email: PropTypes.string,
|
email: PropTypes.string,
|
||||||
emailValidationError: PropTypes.string,
|
emailValidationError: PropTypes.string,
|
||||||
forgotPassword: PropTypes.func.isRequired,
|
forgotPassword: PropTypes.func.isRequired,
|
||||||
intl: intlShape.isRequired,
|
|
||||||
setForgotPasswordFormData: PropTypes.func.isRequired,
|
setForgotPasswordFormData: PropTypes.func.isRequired,
|
||||||
status: PropTypes.string,
|
status: PropTypes.string,
|
||||||
submitState: PropTypes.string,
|
submitState: PropTypes.string,
|
||||||
@@ -187,4 +189,4 @@ export default connect(
|
|||||||
forgotPassword,
|
forgotPassword,
|
||||||
setForgotPasswordFormData,
|
setForgotPasswordFormData,
|
||||||
},
|
},
|
||||||
)(injectIntl(ForgotPasswordPage));
|
)(ForgotPasswordPage);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
|
import { FORGOT_PASSWORD, FORGOT_PASSWORD_PERSIST_FORM_DATA } from './actions';
|
||||||
import { INTERNAL_SERVER_ERROR, PENDING_STATE } from '../../data/constants';
|
import { INTERNAL_SERVER_ERROR, PENDING_STATE } from '../../data/constants';
|
||||||
import { PASSWORD_RESET_FAILURE } from '../../reset-password/data/actions';
|
import { PASSWORD_RESET_FAILURE } from '../../reset-password/data/actions';
|
||||||
import { FORGOT_PASSWORD, FORGOT_PASSWORD_PERSIST_FORM_DATA } from './actions';
|
|
||||||
|
|
||||||
export const defaultState = {
|
export const defaultState = {
|
||||||
status: '',
|
status: '',
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
export { default } from './ForgotPasswordPage';
|
export { default as ForgotPasswordPage } from './ForgotPasswordPage';
|
||||||
export { default as reducer } from './data/reducers';
|
export { default as reducer } from './data/reducers';
|
||||||
export { FORGOT_PASSWORD } from './data/actions';
|
export { FORGOT_PASSWORD } from './data/actions';
|
||||||
export { default as saga } from './data/sagas';
|
export { default as saga } from './data/sagas';
|
||||||
|
|||||||
@@ -51,11 +51,6 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'Enter your email',
|
defaultMessage: 'Enter your email',
|
||||||
description: 'Error message that appears when user tries to submit empty email field',
|
description: 'Error message that appears when user tries to submit empty email field',
|
||||||
},
|
},
|
||||||
'forgot.password.invalid.email.message': {
|
|
||||||
id: 'forgot.password.invalid.email.message',
|
|
||||||
defaultMessage: "The email address you've provided isn't formatted correctly.",
|
|
||||||
description: 'message for invalid email',
|
|
||||||
},
|
|
||||||
'forgot.password.email.help.text': {
|
'forgot.password.email.help.text': {
|
||||||
id: 'forgot.password.email.help.text',
|
id: 'forgot.password.email.help.text',
|
||||||
defaultMessage: 'The email address you used to register with {platformName}',
|
defaultMessage: 'The email address you used to register with {platformName}',
|
||||||
@@ -129,10 +124,5 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'An error has occurred. Try refreshing the page, or check your internet connection.',
|
defaultMessage: 'An error has occurred. Try refreshing the page, or check your internet connection.',
|
||||||
description: 'Error message that appears when server responds with 500 error code',
|
description: 'Error message that appears when server responds with 500 error code',
|
||||||
},
|
},
|
||||||
'rate.limit.error': {
|
|
||||||
id: 'rate.limit.error',
|
|
||||||
defaultMessage: 'An error has occurred because of too many requests. Please try again after some time.',
|
|
||||||
description: 'Error message that appears when server responds with 429 error code',
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
export default messages;
|
export default messages;
|
||||||
|
|||||||
@@ -1,10 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Provider } from 'react-redux';
|
import { Provider } from 'react-redux';
|
||||||
|
|
||||||
import CookiePolicyBanner from '@edx/frontend-component-cookie-policy-banner';
|
|
||||||
import { mergeConfig } from '@edx/frontend-platform';
|
import { mergeConfig } from '@edx/frontend-platform';
|
||||||
import * as analytics from '@edx/frontend-platform/analytics';
|
|
||||||
import * as auth from '@edx/frontend-platform/auth';
|
|
||||||
import { configure, injectIntl, IntlProvider } from '@edx/frontend-platform/i18n';
|
import { configure, injectIntl, IntlProvider } from '@edx/frontend-platform/i18n';
|
||||||
import { mount } from 'enzyme';
|
import { mount } from 'enzyme';
|
||||||
import { createMemoryHistory } from 'history';
|
import { createMemoryHistory } from 'history';
|
||||||
@@ -17,11 +14,12 @@ import { PASSWORD_RESET } from '../../reset-password/data/constants';
|
|||||||
import { setForgotPasswordFormData } from '../data/actions';
|
import { setForgotPasswordFormData } from '../data/actions';
|
||||||
import ForgotPasswordPage from '../ForgotPasswordPage';
|
import ForgotPasswordPage from '../ForgotPasswordPage';
|
||||||
|
|
||||||
jest.mock('@edx/frontend-platform/analytics');
|
jest.mock('@edx/frontend-platform/analytics', () => ({
|
||||||
|
sendPageEvent: jest.fn(),
|
||||||
|
sendTrackEvent: jest.fn(),
|
||||||
|
}));
|
||||||
jest.mock('@edx/frontend-platform/auth');
|
jest.mock('@edx/frontend-platform/auth');
|
||||||
|
|
||||||
analytics.sendPageEvent = jest.fn();
|
|
||||||
|
|
||||||
const IntlForgotPasswordPage = injectIntl(ForgotPasswordPage);
|
const IntlForgotPasswordPage = injectIntl(ForgotPasswordPage);
|
||||||
const mockStore = configureStore();
|
const mockStore = configureStore();
|
||||||
const history = createMemoryHistory();
|
const history = createMemoryHistory();
|
||||||
@@ -51,7 +49,12 @@ describe('ForgotPasswordPage', () => {
|
|||||||
|
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
store = mockStore(initialState);
|
store = mockStore(initialState);
|
||||||
auth.getAuthenticatedUser = jest.fn(() => ({ userId: 3, username: 'edX' }));
|
jest.mock('@edx/frontend-platform/auth', () => ({
|
||||||
|
getAuthenticatedUser: jest.fn(() => ({
|
||||||
|
userId: 3,
|
||||||
|
username: 'test-user',
|
||||||
|
})),
|
||||||
|
}));
|
||||||
configure({
|
configure({
|
||||||
loggingService: { logError: jest.fn() },
|
loggingService: { logError: jest.fn() },
|
||||||
config: {
|
config: {
|
||||||
@@ -66,7 +69,15 @@ describe('ForgotPasswordPage', () => {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('not should display need other help signing in button', () => {
|
||||||
|
const wrapper = mount(reduxWrapper(<IntlForgotPasswordPage {...props} />));
|
||||||
|
expect(wrapper.find('#forgot-password').exists()).toBeFalsy();
|
||||||
|
});
|
||||||
|
|
||||||
it('should display need other help signing in button', () => {
|
it('should display need other help signing in button', () => {
|
||||||
|
mergeConfig({
|
||||||
|
LOGIN_ISSUE_SUPPORT_LINK: '/support',
|
||||||
|
});
|
||||||
const wrapper = mount(reduxWrapper(<IntlForgotPasswordPage {...props} />));
|
const wrapper = mount(reduxWrapper(<IntlForgotPasswordPage {...props} />));
|
||||||
expect(wrapper.find('#forgot-password').first().text()).toEqual('Need help signing in?');
|
expect(wrapper.find('#forgot-password').first().text()).toEqual('Need help signing in?');
|
||||||
});
|
});
|
||||||
@@ -183,11 +194,6 @@ describe('ForgotPasswordPage', () => {
|
|||||||
expect(forgotPasswordPage.find('#email-invalid-feedback').exists()).toEqual(false);
|
expect(forgotPasswordPage.find('#email-invalid-feedback').exists()).toEqual(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('check cookie rendered', () => {
|
|
||||||
const forgotPage = mount(reduxWrapper(<IntlForgotPasswordPage {...props} />));
|
|
||||||
expect(forgotPage.find(<CookiePolicyBanner />)).toBeTruthy();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('should display success message after email is sent', () => {
|
it('should display success message after email is sent', () => {
|
||||||
store = mockStore({
|
store = mockStore({
|
||||||
...initialState,
|
...initialState,
|
||||||
|
|||||||
@@ -1,41 +1,39 @@
|
|||||||
|
import { messages as paragonMessages } from '@edx/paragon';
|
||||||
|
|
||||||
import arMessages from './messages/ar.json';
|
import arMessages from './messages/ar.json';
|
||||||
import caMessages from './messages/ca.json';
|
import deMessages from './messages/de.json';
|
||||||
// no need to import en messages-- they are in the defaultMessage field
|
import dedeCAMessages from './messages/de_DE.json';
|
||||||
import dedeMessages from './messages/de_DE.json';
|
|
||||||
import es419Messages from './messages/es_419.json';
|
import es419Messages from './messages/es_419.json';
|
||||||
import frMessages from './messages/fr.json';
|
import frMessages from './messages/fr.json';
|
||||||
import heMessages from './messages/he.json';
|
import frCAMessages from './messages/fr_CA.json';
|
||||||
import hiMessages from './messages/hi.json';
|
import hiMessages from './messages/hi.json';
|
||||||
import idMessages from './messages/id.json';
|
import itMessages from './messages/it.json';
|
||||||
import ititMessages from './messages/it_IT.json';
|
import ititCAMessages from './messages/it_IT.json';
|
||||||
import kokrMessages from './messages/ko_kr.json';
|
import ptMessages from './messages/pt.json';
|
||||||
import plMessages from './messages/pl.json';
|
import ptptCAMessages from './messages/pt_PT.json';
|
||||||
import ptbrMessages from './messages/pt_br.json';
|
|
||||||
import ptptMessages from './messages/pt_PT.json';
|
|
||||||
import ruMessages from './messages/ru.json';
|
import ruMessages from './messages/ru.json';
|
||||||
import thMessages from './messages/th.json';
|
|
||||||
import ukMessages from './messages/uk.json';
|
import ukMessages from './messages/uk.json';
|
||||||
import zhcnMessages from './messages/zh_CN.json';
|
import zhcnMessages from './messages/zh_CN.json';
|
||||||
|
// no need to import en messages-- they are in the defaultMessage field
|
||||||
|
|
||||||
const messages = {
|
const appMessages = {
|
||||||
ar: arMessages,
|
ar: arMessages,
|
||||||
es: es419Messages, // Prospectus uses es language code for spanish, added `es` option and pointed to es-419 strings.
|
|
||||||
'es-419': es419Messages,
|
'es-419': es419Messages,
|
||||||
fr: frMessages,
|
fr: frMessages,
|
||||||
'zh-cn': zhcnMessages,
|
'zh-cn': zhcnMessages,
|
||||||
'it-it': ititMessages,
|
pt: ptMessages,
|
||||||
'pt-pt': ptptMessages,
|
it: itMessages,
|
||||||
'de-de': dedeMessages,
|
de: deMessages,
|
||||||
ca: caMessages,
|
|
||||||
he: heMessages,
|
|
||||||
id: idMessages,
|
|
||||||
'ko-kr': kokrMessages,
|
|
||||||
pl: plMessages,
|
|
||||||
'pt-br': ptbrMessages,
|
|
||||||
ru: ruMessages,
|
|
||||||
th: thMessages,
|
|
||||||
uk: ukMessages,
|
|
||||||
hi: hiMessages,
|
hi: hiMessages,
|
||||||
|
'fr-ca': frCAMessages,
|
||||||
|
ru: ruMessages,
|
||||||
|
uk: ukMessages,
|
||||||
|
'de-de': dedeCAMessages,
|
||||||
|
'it-it': ititCAMessages,
|
||||||
|
'pt-pt': ptptCAMessages,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default messages;
|
export default [
|
||||||
|
paragonMessages,
|
||||||
|
appMessages,
|
||||||
|
];
|
||||||
|
|||||||
@@ -5,16 +5,11 @@
|
|||||||
"complete.your.profile.2": "ملفك الشخصي",
|
"complete.your.profile.2": "ملفك الشخصي",
|
||||||
"welcome.to.platform": "أهلا بك {username} في {siteName}",
|
"welcome.to.platform": "أهلا بك {username} في {siteName}",
|
||||||
"institution.login.page.sub.heading": "اختر مؤسستك من القائمة أدناه",
|
"institution.login.page.sub.heading": "اختر مؤسستك من القائمة أدناه",
|
||||||
"forgot.password.confirmation.title": "تفقّد بريدك الإلكتروني",
|
|
||||||
"forgot.password.confirmation.support.link": "اتصل بالدعم الفني",
|
|
||||||
"forgot.password.confirmation.info": "إن لم تستلم رسالة إعادة تعيين كلمة المرور بعد دقيقة واحدة، فتحقق من أنك أدخلت عنوان البريد الإلكتروني الصحيح، أو تفقّد مجلد الرسائل غير المرغوب فيها في بريدك الإلكتروني.",
|
|
||||||
"logistration.sign.in": "تسجيل الدخول",
|
"logistration.sign.in": "تسجيل الدخول",
|
||||||
"logistration.register": "التسجيل",
|
"logistration.register": "التسجيل",
|
||||||
"internal.server.error.message": "حدث خطأ ما. جرّب تحديث الصفحة أو تحقق من اتصالك بالانترنت.",
|
|
||||||
"server.ratelimit.error.message": "حدث خطأ بسبب كثرة الطلبات. رجاءً حاول مرة أخرى بعد مضي بعض الوقت.",
|
|
||||||
"enterprisetpa.title.heading": "هل ترغب في تسجيل الدخول باستخدام بيانات {providerName} الخاصة بك؟",
|
"enterprisetpa.title.heading": "هل ترغب في تسجيل الدخول باستخدام بيانات {providerName} الخاصة بك؟",
|
||||||
"enterprisetpa.sso.button.title": "تسجيل الدخول باستخدام {providerName}",
|
|
||||||
"enterprisetpa.login.button.text": "أرِني وسائل أخرى لتسجيل الدخول أو للتسجيل",
|
"enterprisetpa.login.button.text": "أرِني وسائل أخرى لتسجيل الدخول أو للتسجيل",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "أرني طرقًا أخرى لتسجيل الدخول",
|
||||||
"sso.sign.in.with": "تسجيل الدخول باستخدام {providerName}",
|
"sso.sign.in.with": "تسجيل الدخول باستخدام {providerName}",
|
||||||
"sso.create.account.using": "إنشاء حساب باستخدام {providerName}",
|
"sso.create.account.using": "إنشاء حساب باستخدام {providerName}",
|
||||||
"show.password": "إظهار كلمة المرور",
|
"show.password": "إظهار كلمة المرور",
|
||||||
@@ -26,6 +21,9 @@
|
|||||||
"tpa.alert.heading": "انتهينا تقريبا!",
|
"tpa.alert.heading": "انتهينا تقريبا!",
|
||||||
"login.third.party.auth.account.not.linked": "لقد نجحت في تسجيل الدخول إلى {currentProvider}، لكن حسابك على {currentProvider} غير موصول بأي حساب على {platformName}. لوصل حساباتك، سجّل الدخول الآن باستخدام كلمة مرورك على {platformName}.",
|
"login.third.party.auth.account.not.linked": "لقد نجحت في تسجيل الدخول إلى {currentProvider}، لكن حسابك على {currentProvider} غير موصول بأي حساب على {platformName}. لوصل حساباتك، سجّل الدخول الآن باستخدام كلمة مرورك على {platformName}.",
|
||||||
"register.third.party.auth.account.not.linked": "لقد سجلت دخولك بنجاح إلى {currentProvider}! نحتاج فقط قليلاً بعدُ من المعلومات قبل أن تبدأ التعلم مع {platformName}.",
|
"register.third.party.auth.account.not.linked": "لقد سجلت دخولك بنجاح إلى {currentProvider}! نحتاج فقط قليلاً بعدُ من المعلومات قبل أن تبدأ التعلم مع {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "إتمام إنشاء حسابك",
|
||||||
|
"zendesk.supportTitle": "edX Support",
|
||||||
|
"zendesk.selectTicketForm": "الرجاء اختيار نوع الطلب الخاص بك:",
|
||||||
"error.notfound.message": "الصفحة التي تبحث عنها غير متوفرة أو هناك خطأ في العنوان. رجاءً تحقق من العنوان و حاول مجددًا.",
|
"error.notfound.message": "الصفحة التي تبحث عنها غير متوفرة أو هناك خطأ في العنوان. رجاءً تحقق من العنوان و حاول مجددًا.",
|
||||||
"forgot.password.confirmation.message": "لقد أرسلنا بريدًا إلكترونيًا إلى {email} به إرشادات لإعادة ضبط كلمة المرور الخاصة بك. إن لم تستلم رسالة إعادة ضبط كلمة المرور بعد دقيقة واحدة، فتحقق من إدخال عنوان البريد الإلكتروني الصحيح، أو تفقد مجلد الرسائل غير المرغوب فيها. إن احتجت مزيدًا من المساعدة، {supportLink}.",
|
"forgot.password.confirmation.message": "لقد أرسلنا بريدًا إلكترونيًا إلى {email} به إرشادات لإعادة ضبط كلمة المرور الخاصة بك. إن لم تستلم رسالة إعادة ضبط كلمة المرور بعد دقيقة واحدة، فتحقق من إدخال عنوان البريد الإلكتروني الصحيح، أو تفقد مجلد الرسائل غير المرغوب فيها. إن احتجت مزيدًا من المساعدة، {supportLink}.",
|
||||||
"forgot.password.page.title": "نسيت كلمة المرور | {siteName}",
|
"forgot.password.page.title": "نسيت كلمة المرور | {siteName}",
|
||||||
@@ -38,7 +36,6 @@
|
|||||||
"forgot.password.error.message.title": "حدث خطأ ما.",
|
"forgot.password.error.message.title": "حدث خطأ ما.",
|
||||||
"forgot.password.request.in.progress.message": "طلبك السابق قيد التنفيذ، يرجى المحاولة مرة أخرى بعد لحظات قليلة.",
|
"forgot.password.request.in.progress.message": "طلبك السابق قيد التنفيذ، يرجى المحاولة مرة أخرى بعد لحظات قليلة.",
|
||||||
"forgot.password.empty.email.field.error": "أدخل بريدك الإلكتروني",
|
"forgot.password.empty.email.field.error": "أدخل بريدك الإلكتروني",
|
||||||
"forgot.password.invalid.email.message": "صيغة عنوان البريد الإلكتروني الذي أدخلته غير صحيحة",
|
|
||||||
"forgot.password.email.help.text": "عنوان البريد الإلكتروني الذي استخدمته للتسجيل في {platformName}",
|
"forgot.password.email.help.text": "عنوان البريد الإلكتروني الذي استخدمته للتسجيل في {platformName}",
|
||||||
"confirmation.message.title": "تفقّد بريدك الإلكتروني",
|
"confirmation.message.title": "تفقّد بريدك الإلكتروني",
|
||||||
"confirmation.support.link": "اتصل بالدعم الفني",
|
"confirmation.support.link": "اتصل بالدعم الفني",
|
||||||
@@ -53,7 +50,6 @@
|
|||||||
"token.validation.internal.sever.error.heading": "فشل في التحقق من صحة الشارة",
|
"token.validation.internal.sever.error.heading": "فشل في التحقق من صحة الشارة",
|
||||||
"token.validation.internal.sever.error": "حدث خطأ ما. جرب تحديث الصفحة أو تحقق من اتصالك بالإنترنت.",
|
"token.validation.internal.sever.error": "حدث خطأ ما. جرب تحديث الصفحة أو تحقق من اتصالك بالإنترنت.",
|
||||||
"internal.server.error": "حدث خطأ ما. جرب تحديث الصفحة أو تحقق من اتصالك بالإنترنت.",
|
"internal.server.error": "حدث خطأ ما. جرب تحديث الصفحة أو تحقق من اتصالك بالإنترنت.",
|
||||||
"rate.limit.error": "حدث خطأ بسبب كثرة الطلبات. رجاءً حاول مرة أخرى بعد مضي بعض الوقت.",
|
|
||||||
"account.activation.error.message": "شي ما لم يسر على ما يرام، يرجى {supportLink} لحل هذه المشكلة.",
|
"account.activation.error.message": "شي ما لم يسر على ما يرام، يرجى {supportLink} لحل هذه المشكلة.",
|
||||||
"login.inactive.user.error": "أنت بحاجة لتفعيل حسابك من أجل تسجيل الدخول{lineBreak}\n{lineBreak}لقد أرسلنا للتو رابطًا للتفعيل إلى {email}. إن لم تتلقّ بريدًا إلكترونيا، تفقّد مجلدات الرسائل غير المرغوب فيها أو {supportLink}.",
|
"login.inactive.user.error": "أنت بحاجة لتفعيل حسابك من أجل تسجيل الدخول{lineBreak}\n{lineBreak}لقد أرسلنا للتو رابطًا للتفعيل إلى {email}. إن لم تتلقّ بريدًا إلكترونيا، تفقّد مجلدات الرسائل غير المرغوب فيها أو {supportLink}.",
|
||||||
"allowed.domain.login.error": "كونك مستخدمًا على {allowedDomain}، فإن عليك تسجيل الدخول باستخدام {tpaLink} الخاص بـ {allowedDomain} .",
|
"allowed.domain.login.error": "كونك مستخدمًا على {allowedDomain}، فإن عليك تسجيل الدخول باستخدام {tpaLink} الخاص بـ {allowedDomain} .",
|
||||||
@@ -65,45 +61,32 @@
|
|||||||
"login.user.identity.label": "اسم المستخدم أو البريد الإلكتروني",
|
"login.user.identity.label": "اسم المستخدم أو البريد الإلكتروني",
|
||||||
"login.password.label": "كلمة المرور",
|
"login.password.label": "كلمة المرور",
|
||||||
"sign.in.button": "تسجيل الدخول",
|
"sign.in.button": "تسجيل الدخول",
|
||||||
"sign.in.btn.pending.state": "التحميل جارٍ",
|
|
||||||
"need.help.signing.in.collapsible.menu": "هل تحتاج مساعدة في تسجيل الدخول؟",
|
|
||||||
"forgot.password.link": "نسيت كلمة مروري",
|
|
||||||
"forgot.password": "نسيت كلمة المرور",
|
"forgot.password": "نسيت كلمة المرور",
|
||||||
"other.sign.in.issues": "مشاكل أخرى عند تسجيل الدخول",
|
|
||||||
"need.other.help.signing.in.collapsible.menu": "هل تحتاج مساعدة أخرى في تسجيل الدخول؟",
|
|
||||||
"institution.login.button": "بيانات المؤسسة / الجامعة",
|
"institution.login.button": "بيانات المؤسسة / الجامعة",
|
||||||
"institution.login.page.title": "تسجيل الدخول باستخدام بيانات المؤسسة / الجامعة",
|
"institution.login.page.title": "تسجيل الدخول باستخدام بيانات المؤسسة / الجامعة",
|
||||||
"institution.login.page.back.button": "العودة إلى تسجيل الدخول",
|
|
||||||
"create.an.account": " أنشئ حساباً جديداً.",
|
|
||||||
"login.other.options.heading": "أو قم بتسجيل الدخول باستخدام:",
|
"login.other.options.heading": "أو قم بتسجيل الدخول باستخدام:",
|
||||||
"non.compliant.password.title": "لقد غيرنا متطلبات أمان كلمة المرور مؤخرًا",
|
"non.compliant.password.title": "لقد غيرنا متطلبات أمان كلمة المرور مؤخرًا",
|
||||||
"non.compliant.password.message": "كلمة مرورك الحالية لا تستسجيب لمتطلبات الأمان الجديدة. لقد أرسلنا للتو رسالة لإعادة ضبط كلمة المرور إلى عنوان البريد الإلكتروني المرتبط بهذا الحساب. شكرًا لك على مساعدتنا في الحفاظ على سلامة بياناتك.",
|
"non.compliant.password.message": "كلمة مرورك الحالية لا تستسجيب لمتطلبات الأمان الجديدة. لقد أرسلنا للتو رسالة لإعادة ضبط كلمة المرور إلى عنوان البريد الإلكتروني المرتبط بهذا الحساب. شكرًا لك على مساعدتنا في الحفاظ على سلامة بياناتك.",
|
||||||
"account.locked.out.message.1": "لحماية حسابك، تم إقفاله مؤقتًا. حاول مرة أخرى بعد 30 دقيقة.",
|
"account.locked.out.message.1": "لحماية حسابك، تم إقفاله مؤقتًا. حاول مرة أخرى بعد 30 دقيقة.",
|
||||||
"first.time.here": "أول مرة لك هنا؟",
|
|
||||||
"email.help.message": "عنوان البريد الإلكتروني الذي استخدمته للتسجيل في edX.",
|
|
||||||
"enterprise.login.btn.text": "بيانات الشركة أو المدرسة",
|
"enterprise.login.btn.text": "بيانات الشركة أو المدرسة",
|
||||||
"email.format.validation.message": "صيغة عنوان البريد الإلكتروني الذي أدخلته غير صحيحة",
|
|
||||||
"username.or.email.format.validation.less.chars.message": "يجب أن يحتوي اسم المستخدم أو البريد الإلكتروني على 3 أحرف على الأقل.",
|
"username.or.email.format.validation.less.chars.message": "يجب أن يحتوي اسم المستخدم أو البريد الإلكتروني على 3 أحرف على الأقل.",
|
||||||
"email.validation.message": "أدخل اسم المستخدم أو البريد الإلكتروني الخاص بك",
|
"email.validation.message": "أدخل اسم المستخدم أو البريد الإلكتروني الخاص بك",
|
||||||
"password.validation.message": "لم يتم استيفاء معايير كلمة المرور",
|
"password.validation.message": "لم يتم استيفاء معايير كلمة المرور",
|
||||||
"register.link": " أنشئ حساباً",
|
|
||||||
"sign.in.heading": "تسجيل الدخول",
|
|
||||||
"account.activation.success.message.title": "نجح الأمر! لقد قمت بتفعيل حسابك.",
|
"account.activation.success.message.title": "نجح الأمر! لقد قمت بتفعيل حسابك.",
|
||||||
"account.activation.success.message": "ستصلك الآن تحديثات وتنبيهات عبر البريد الإلكتروني منا تتعلق بالمساقات التي قمت بالتسجيل فيها. قم بتسجيل الدخول للمتابعة.",
|
"account.activation.success.message": "ستصلك الآن تحديثات وتنبيهات عبر البريد الإلكتروني منا تتعلق بالمساقات التي قمت بالتسجيل فيها. قم بتسجيل الدخول للمتابعة.",
|
||||||
"account.activation.info.message": "هذا الحساب مفعَّل من قبل.",
|
"account.activation.info.message": "هذا الحساب مفعَّل من قبل.",
|
||||||
"account.activation.error.message.title": "لا يمكن تفعيل حسابك",
|
"account.activation.error.message.title": "لا يمكن تفعيل حسابك",
|
||||||
"account.activation.support.link": "الاتصال بالدعم",
|
"account.activation.support.link": "الاتصال بالدعم",
|
||||||
"tpa.account.link": "حساب {provider}",
|
|
||||||
"account.confirmation.success.message.title": "نجحت العملية! لقد أكدت بريدك الإلكتروني.",
|
"account.confirmation.success.message.title": "نجحت العملية! لقد أكدت بريدك الإلكتروني.",
|
||||||
"account.confirmation.success.message": "سجل دخولك للمتابعة.",
|
"account.confirmation.success.message": "سجل دخولك للمتابعة.",
|
||||||
"account.confirmation.info.message": "هذا البريد الإلكتروني مؤكد من قبل.",
|
"account.confirmation.info.message": "هذا البريد الإلكتروني مؤكد من قبل.",
|
||||||
"account.confirmation.error.message.title": "لا يمكن تأكيد بريدك الإلكتروني",
|
"account.confirmation.error.message.title": "لا يمكن تأكيد بريدك الإلكتروني",
|
||||||
|
"tpa.account.link": "حساب {provider}",
|
||||||
|
"internal.server.error.message": "حدث خطأ ما. جرّب تحديث الصفحة أو تحقق من اتصالك بالانترنت.",
|
||||||
"login.rate.limit.reached.message": "كثرت محاولات تسجيل الدخول الفاشلة. رجاءً أعد المحاولة لاحقًا.",
|
"login.rate.limit.reached.message": "كثرت محاولات تسجيل الدخول الفاشلة. رجاءً أعد المحاولة لاحقًا.",
|
||||||
"login.failure.header.title": "لم نتمكّن من تسجيل دخولك.",
|
"login.failure.header.title": "لم نتمكّن من تسجيل دخولك.",
|
||||||
"contact.support.link": "اتصل بدعم {platformName}",
|
"contact.support.link": "اتصل بدعم {platformName}",
|
||||||
"login.incorrect.credentials.error": "اسم المستخدم أو البريد الإلكتروني أو كلمة المرور التي أدخلتها غير صحيحة. حاول مرة اخرى.",
|
"login.incorrect.credentials.error": "اسم المستخدم أو البريد الإلكتروني أو كلمة المرور التي أدخلتها غير صحيحة. حاول مرة اخرى.",
|
||||||
"login.failed.attempt.error": "لديك {remainingAttempts, plural,\none {محاولة واحدة}\ntwo {محاولتان}\nfew {# محاولات}\nmany {# محاولة}\nother {# محاولة}\n} أخرى لتسجيل الدخول قبل أن يتم إقفال حسابك مؤقتًا.",
|
|
||||||
"login.locked.out.error.message": "لحماية حسابك، تم إقفاله مؤقتًا. حاول مرة أخرى بعد {lockedOutPeriod, plural,\n one {دقيقة واحدة}\n two {دقيقتين}\n few {# دقائق}\n many {# دقيقة}\n other {# دقيقة}\n}.",
|
|
||||||
"login.form.invalid.error.message": "رجاءً املأ الحقول أدناه.",
|
"login.form.invalid.error.message": "رجاءً املأ الحقول أدناه.",
|
||||||
"login.incorrect.credentials.error.reset.link.text": "إعادة ضبط كلمه المرور",
|
"login.incorrect.credentials.error.reset.link.text": "إعادة ضبط كلمه المرور",
|
||||||
"login.incorrect.credentials.error.before.account.blocked.text": "انقر هنا لإعادة ضبطها.",
|
"login.incorrect.credentials.error.before.account.blocked.text": "انقر هنا لإعادة ضبطها.",
|
||||||
@@ -113,8 +96,21 @@
|
|||||||
"password.security.block.body": "اكتشف نظامنا أن كلمة مرورك صعيفة. غيّر كلمة مرورك حتى يظل حسابك آمنًا.",
|
"password.security.block.body": "اكتشف نظامنا أن كلمة مرورك صعيفة. غيّر كلمة مرورك حتى يظل حسابك آمنًا.",
|
||||||
"password.security.close.button": "إغلاق",
|
"password.security.close.button": "إغلاق",
|
||||||
"password.security.redirect.to.reset.password.button": "إعادة ضبط كلمة المرور",
|
"password.security.redirect.to.reset.password.button": "إعادة ضبط كلمة المرور",
|
||||||
"register.page.terms.of.service.and.honor.code": "بإنشاءك حسابًا، فإنك توافق على {tosAndHonorCode} و تقر بأن {platformName} و كل عضو يعالج بياناتك الشخصية وفقًا لـ{privacyPolicy}.",
|
"login.tpa.authentication.failure": "عذرًا ، غير مصرح لك بالوصول إلى {platform_name} عبر هذه القناة. يرجى الاتصال بمسؤول التعلم أو المدير من أجل الوصول إلى {platform_name}. {lineBreak} {lineBreak} تفاصيل الخطأ: {lineBreak} {errorMessage}",
|
||||||
"register.page.honor.code": "أوافق على {tosAndHonorCode} الخاصة بـ{platformName}",
|
"progressive.profiling.page.title": "مرحبا بكم | {siteName}",
|
||||||
|
"progressive.profiling.page.heading": "بعض الأسئلة الموجهة لك ستساعدنا كي نزداد ذكاءً.",
|
||||||
|
"optional.fields.information.link": "معرفة المزيد عن كيفية استخدامنا لهذه المعلومات.",
|
||||||
|
"optional.fields.submit.button": "إرسال",
|
||||||
|
"optional.fields.skip.button": "التخطي مؤقتا",
|
||||||
|
"optional.fields.next.button": "التالي",
|
||||||
|
"continue.to.platform": "المواصلة إلى {platformName}",
|
||||||
|
"modal.title": "شكرا لإعلامنا.",
|
||||||
|
"modal.description": "إن غيرت رأيك، قيمكنك إكمال ملفك الشخصي ضمن الإعدادات في أي وقت.",
|
||||||
|
"welcome.page.error.heading": "لم نتمكن من تحديث ملفك الشخصي",
|
||||||
|
"welcome.page.error.message": "حدث خطأ ما. يمكنك إكمال ملفك الشخصي ضمن الإعدادات في أي وقت.",
|
||||||
|
"recommendation.page.title": "التوصيات | {siteName}",
|
||||||
|
"recommendation.page.heading": "لدينا بعض التوصيات لكي تبدأ.",
|
||||||
|
"recommendation.skip.button": "التخطي مؤقتا",
|
||||||
"register.page.title": "التسجيل | {siteName}",
|
"register.page.title": "التسجيل | {siteName}",
|
||||||
"registration.fullname.label": "الاسم الكامل",
|
"registration.fullname.label": "الاسم الكامل",
|
||||||
"registration.email.label": "البريد الإلكتروني",
|
"registration.email.label": "البريد الإلكتروني",
|
||||||
@@ -127,51 +123,34 @@
|
|||||||
"help.text.username.2": "لا يمكن تغيير هذا لاحقًا.",
|
"help.text.username.2": "لا يمكن تغيير هذا لاحقًا.",
|
||||||
"help.text.email": "لتفعيل الحساب و التحديثات الهامة",
|
"help.text.email": "لتفعيل الحساب و التحديثات الهامة",
|
||||||
"create.account.for.free.button": "إنشاء حساب مجانا",
|
"create.account.for.free.button": "إنشاء حساب مجانا",
|
||||||
"create.an.account.btn.pending.state": "التحميل جارٍ",
|
|
||||||
"registration.other.options.heading": "أو سجل باستخدام:",
|
"registration.other.options.heading": "أو سجل باستخدام:",
|
||||||
"register.institution.login.button": "بيانات المؤسسة / الجامعة",
|
"register.institution.login.button": "بيانات المؤسسة / الجامعة",
|
||||||
"register.institution.login.page.title": "التسجيل باستخدام بيانات المؤسسة / الجامعة",
|
"register.institution.login.page.title": "التسجيل باستخدام بيانات المؤسسة / الجامعة",
|
||||||
"empty.name.field.error": "أدخل اسمك الكامل",
|
"empty.name.field.error": "أدخل اسمك الكامل",
|
||||||
"empty.email.field.error": "أدخل بريدك الإلكتروني",
|
"empty.email.field.error": "أدخل بريدك الإلكتروني",
|
||||||
"email.do.not.match": "عناوين البريد الإلكتروني غير متطابقة.",
|
|
||||||
"empty.username.field.error": "يجب أن يتكون اسم المستخدم من 2 إلى 30 حرفًا",
|
"empty.username.field.error": "يجب أن يتكون اسم المستخدم من 2 إلى 30 حرفًا",
|
||||||
"empty.password.field.error": "لم يتم استيفاء معايير كلمة المرور",
|
"empty.password.field.error": "لم يتم استيفاء معايير كلمة المرور",
|
||||||
"empty.country.field.error": "حدد بلدك أو منطقة إقامتك",
|
"empty.country.field.error": "حدد بلدك أو منطقة إقامتك",
|
||||||
|
"email.do.not.match": "عناوين البريد الإلكتروني غير متطابقة.",
|
||||||
"email.invalid.format.error": "أدخل بريدا إلكترونيا صحيحا",
|
"email.invalid.format.error": "أدخل بريدا إلكترونيا صحيحا",
|
||||||
"email.ratelimit.less.chars.validation.message": "يجب أن يتكون البريد الإلكتروني من 3 أحرف على الأقل.",
|
|
||||||
"username.validation.message": "يجب أن يتكون اسم المستخدم من 2 إلى 30 حرفًا",
|
"username.validation.message": "يجب أن يتكون اسم المستخدم من 2 إلى 30 حرفًا",
|
||||||
"name.validation.message": "أدخل اسمًا صحيحا",
|
"name.validation.message": "أدخل اسمًا صحيحا",
|
||||||
"username.format.validation.message": "يمكن أن تحتوي أسماء المستخدمين فقط على أحرف (A-Z، a-z)، و أرقام (0-9)، و أسطر سفلية (_)، و واصلات (-). لا يمكن أن تحتوي أسماء المستخدمين على مسافات",
|
"username.format.validation.message": "يمكن أن تحتوي أسماء المستخدمين فقط على أحرف (A-Z، a-z)، و أرقام (0-9)، و أسطر سفلية (_)، و واصلات (-). لا يمكن أن تحتوي أسماء المستخدمين على مسافات",
|
||||||
"support.education.research": "دعم الأبحاث التربوية من خلال توفير معلومات إضافية. (اختياري)",
|
|
||||||
"registration.request.failure.header": "لم نتمكّن من إنشاء حسابك.",
|
"registration.request.failure.header": "لم نتمكّن من إنشاء حسابك.",
|
||||||
"registration.empty.form.submission.error": "رجاءً تحقّق من أجوبتك و حاول مجددا.",
|
"registration.empty.form.submission.error": "رجاءً تحقّق من أجوبتك و حاول مجددا.",
|
||||||
"registration.request.server.error": "حدث خطأ ما. جرب تحديث الصفحة أو تحقق من اتصالك بالإنترنت.",
|
"registration.request.server.error": "حدث خطأ ما. جرب تحديث الصفحة أو تحقق من اتصالك بالإنترنت.",
|
||||||
"registration.rate.limit.error": "كثرت محاولات التسجيل الفاشلة. أعد المحاولة لاحقًا.",
|
"registration.rate.limit.error": "كثرت محاولات التسجيل الفاشلة. أعد المحاولة لاحقًا.",
|
||||||
"registration.tpa.session.expired": "نفد وقت التسجيل باستخدام {provider}.",
|
"registration.tpa.session.expired": "نفد وقت التسجيل باستخدام {provider}.",
|
||||||
|
"registration.tpa.authentication.failure": "عذرًا، غير مصرح لك بالوصول إلى {platform_name} عبر هذه القناة. يرجى الاتصال بمسؤول التعلم أو المدير من أجل الوصول إلى {platform_name}. {lineBreak} {lineBreak} تفاصيل الخطأ: {lineBreak} {errorMessage}",
|
||||||
"terms.of.service.and.honor.code": "شروط الخدمة وميثاق الشرف الأكاديمي",
|
"terms.of.service.and.honor.code": "شروط الخدمة وميثاق الشرف الأكاديمي",
|
||||||
"privacy.policy": "سياسة الخصوصية",
|
"privacy.policy": "سياسة الخصوصية",
|
||||||
"honor.code": "ميثاق الشرف الأكاديمي",
|
"honor.code": "ميثاق الشرف الأكاديمي",
|
||||||
"terms.of.service": "شروط الخدمة",
|
"terms.of.service": "شروط الخدمة",
|
||||||
"registration.year.of.birth.label": "سنة الميلاد (اختياري)",
|
|
||||||
"registration.field.gender.options.label": "الجنس (اختياري)",
|
|
||||||
"registration.goals.label": "أخبرنا عن سبب اهتمامك بـ edX (اختياري)",
|
|
||||||
"registration.field.gender.options.f": "أنثى",
|
|
||||||
"registration.field.gender.options.m": "ذكر",
|
|
||||||
"registration.field.gender.options.o": "آخر / أفضل عدم التصريح",
|
|
||||||
"registration.field.education.levels.label": "أعلى مستوى تعليمي مكتمل (اختياري)",
|
|
||||||
"registration.field.education.levels.p": "دكتوراه",
|
|
||||||
"registration.field.education.levels.m": "ماجستير / ماستر أو شهادة مهنيّة",
|
|
||||||
"registration.field.education.levels.b": "بكالوريوس / ليسانس",
|
|
||||||
"registration.field.education.levels.a": "درجة الزمالة / دبلوم الدراسات الجامعية",
|
|
||||||
"registration.field.education.levels.hs": "الثانوية العامة / البكالوريا",
|
|
||||||
"registration.field.education.levels.jhs": "المدرسة الإعدادية / المتوسطة",
|
|
||||||
"registration.field.education.levels.el": "المدرسة الابتدائية / الأساسية",
|
|
||||||
"registration.field.education.levels.none": "دون تعليم رسمي",
|
|
||||||
"registration.field.education.levels.other": "نوع آخر من التعليم",
|
|
||||||
"registration.username.suggestion.label": "مقترح:",
|
"registration.username.suggestion.label": "مقترح:",
|
||||||
"registration.using.tpa.form.heading": "إتمام إنشاء حسابك",
|
|
||||||
"did.you.mean.alert.text": "هل تقصد",
|
"did.you.mean.alert.text": "هل تقصد",
|
||||||
"register.page.terms.of.service": "أوافق على {termsOfService} الخاصة بـ{platformName} ",
|
"register.page.terms.of.service.and.honor.code": "بإنشاءك حسابًا، فإنك توافق على {tosAndHonorCode} و تقر بأن {platformName} و كل عضو يعالج بياناتك الشخصية وفقًا لـ{privacyPolicy}.",
|
||||||
|
"register.page.honor.code": "اوافق على شروط {platformName} {tosAndHonorCode}",
|
||||||
|
"register.page.terms.of.service": "اوافق على {platformName} {termsOfService}",
|
||||||
"sign.in": "تسجيل الدخول",
|
"sign.in": "تسجيل الدخول",
|
||||||
"reset.password.page.title": "إعادة ضبط كلمة المرور | {siteName}",
|
"reset.password.page.title": "إعادة ضبط كلمة المرور | {siteName}",
|
||||||
"reset.password": "إعادة ضبط كلمة المرور",
|
"reset.password": "إعادة ضبط كلمة المرور",
|
||||||
@@ -180,40 +159,10 @@
|
|||||||
"confirm.password.label": "تأكيد كلمة المرور",
|
"confirm.password.label": "تأكيد كلمة المرور",
|
||||||
"passwords.do.not.match": "كلمتا المرور غير متطابقتين",
|
"passwords.do.not.match": "كلمتا المرور غير متطابقتين",
|
||||||
"confirm.your.password": "تأكيد كلمة مرورك",
|
"confirm.your.password": "تأكيد كلمة مرورك",
|
||||||
"forgot.password.confirmation.sign.in.link": "تسجيل الدخول",
|
|
||||||
"reset.password.request.forgot.password.text": "نسيت كلمة المرور",
|
|
||||||
"reset.password.request.invalid.token.header": "رابط إعادة ضبط كلمة المرور غير صالح",
|
|
||||||
"reset.password.empty.new.password.field.error": "رجاءً أدخل كلمة مرورك الجديدة.",
|
|
||||||
"reset.password.failure.heading": "لم نتمكن من إعادة ضبط كلمة مرورك.",
|
"reset.password.failure.heading": "لم نتمكن من إعادة ضبط كلمة مرورك.",
|
||||||
"reset.password.form.submission.error": "رجاءً تحقق من أجوبتك وحاول مجددًا.",
|
"reset.password.form.submission.error": "رجاءً تحقق من أجوبتك وحاول مجددًا.",
|
||||||
"reset.password.request.server.error": "فشلت إعادة ضبط كلمة المرور",
|
|
||||||
"reset.password.token.validation.sever.error": "فشل التحقق من صحة الشارة",
|
|
||||||
"reset.server.rate.limit.error": "طلبات أكثر مما ينبغي.",
|
"reset.server.rate.limit.error": "طلبات أكثر مما ينبغي.",
|
||||||
"reset.password.success.heading": "تمت إعادة ضبط كلمة المرور.",
|
"reset.password.success.heading": "تمت إعادة ضبط كلمة المرور.",
|
||||||
"reset.password.success": "تمت إعادة ضبط كلمة مرورك. سجل الدخول إلى حسابك.",
|
"reset.password.success": "تمت إعادة ضبط كلمة مرورك. سجل الدخول إلى حسابك.",
|
||||||
"progressive.profiling.page.title": "الحقول الاختيارية | {siteName}",
|
"rate.limit.error": "حدث خطأ بسبب كثرة الطلبات. رجاءً حاول مرة أخرى بعد مضي بعض الوقت."
|
||||||
"progressive.profiling.page.heading": "بعض الأسئلة الموجهة لك ستساعدنا كي نزداد ذكاءً.",
|
|
||||||
"gender.options.label": "الجنس (اختياري)",
|
|
||||||
"gender.options.f": "أنثى",
|
|
||||||
"gender.options.m": "ذكر",
|
|
||||||
"gender.options.o": "آخر / أفضل عدم التصريح",
|
|
||||||
"education.levels.label": "أعلى مستوى تعليمي مكتمل (اختياري)",
|
|
||||||
"education.levels.p": "دكتوراه",
|
|
||||||
"education.levels.m": "ماجستير / ماستر أو شهادة مهنيّة",
|
|
||||||
"education.levels.b": "بكالوريوس / ليسانس",
|
|
||||||
"education.levels.a": "درجة الزمالة / دبلوم الدراسات الجامعية",
|
|
||||||
"education.levels.hs": "الثانوية العامة / البكالوريا",
|
|
||||||
"education.levels.jhs": "المدرسة الإعدادية / المتوسطة",
|
|
||||||
"education.levels.el": "المدرسة الابتدائية / الأساسية",
|
|
||||||
"education.levels.none": "دون تعليم رسمي",
|
|
||||||
"education.levels.other": "نوع آخر من التعليم",
|
|
||||||
"year.of.birth.label": "سنة الميلاد (اختياري)",
|
|
||||||
"optional.fields.information.link": "معرفة المزيد عن كيفية استخدامنا لهذه المعلومات.",
|
|
||||||
"optional.fields.submit.button": "إرسال",
|
|
||||||
"optional.fields.skip.button": "التخطي مؤقتا",
|
|
||||||
"continue.to.platform": "المواصلة إلى {platformName}",
|
|
||||||
"modal.title": "شكرا لإعلامنا.",
|
|
||||||
"modal.description": "إن غيرت رأيك، قيمكنك إكمال ملفك الشخصي ضمن الإعدادات في أي وقت.",
|
|
||||||
"welcome.page.error.heading": "لم نتمكن من تحديث ملفك الشخصي",
|
|
||||||
"welcome.page.error.message": "حدث خطأ ما. يمكنك إكمال ملفك الشخصي ضمن الإعدادات في أي وقت."
|
|
||||||
}
|
}
|
||||||
168
src/i18n/messages/de.json
Normal file
168
src/i18n/messages/de.json
Normal file
@@ -0,0 +1,168 @@
|
|||||||
|
{
|
||||||
|
"start.learning": "Start learning",
|
||||||
|
"with.site.name": "with {siteName}",
|
||||||
|
"complete.your.profile.1": "Complete",
|
||||||
|
"complete.your.profile.2": "your profile",
|
||||||
|
"welcome.to.platform": "Welcome to {siteName}, {username}!",
|
||||||
|
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
||||||
|
"logistration.sign.in": "Sign in",
|
||||||
|
"logistration.register": "Register",
|
||||||
|
"enterprisetpa.title.heading": "Would you like to sign in using your {providerName} credentials?",
|
||||||
|
"enterprisetpa.login.button.text": "Show me other ways to sign in or register",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Show me other ways to sign in",
|
||||||
|
"sso.sign.in.with": "Sign in with {providerName}",
|
||||||
|
"sso.create.account.using": "Create account using {providerName}",
|
||||||
|
"show.password": "Show password",
|
||||||
|
"hide.password": "Hide password",
|
||||||
|
"one.letter": "1 letter",
|
||||||
|
"one.number": "1 number",
|
||||||
|
"eight.characters": "8 characters",
|
||||||
|
"password.sr.only.helping.text": "Password must contain at least 8 characters, at least one letter, and at least one number",
|
||||||
|
"tpa.alert.heading": "Almost done!",
|
||||||
|
"login.third.party.auth.account.not.linked": "You have successfully signed into {currentProvider}, but your {currentProvider} account does not have a linked {platformName} account. To link your accounts, sign in now using your {platformName} password.",
|
||||||
|
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "Finish creating your account",
|
||||||
|
"zendesk.supportTitle": "edX Support",
|
||||||
|
"zendesk.selectTicketForm": "Please choose your request type:",
|
||||||
|
"error.notfound.message": "The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again.",
|
||||||
|
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
||||||
|
"forgot.password.page.title": "Forgot Password | {siteName}",
|
||||||
|
"forgot.password.page.heading": "Reset password",
|
||||||
|
"forgot.password.page.instructions": "Please enter your email address below and we will send you an email with instructions on how to reset your password.",
|
||||||
|
"forgot.password.page.invalid.email.message": "Enter a valid email address",
|
||||||
|
"forgot.password.page.email.field.label": "Email",
|
||||||
|
"forgot.password.page.submit.button": "Submit",
|
||||||
|
"forgot.password.error.alert.title.": "We were unable to contact you.",
|
||||||
|
"forgot.password.error.message.title": "An error occurred.",
|
||||||
|
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
||||||
|
"forgot.password.empty.email.field.error": "Enter your email",
|
||||||
|
"forgot.password.email.help.text": "The email address you used to register with {platformName}",
|
||||||
|
"confirmation.message.title": "Check your email",
|
||||||
|
"confirmation.support.link": "contact technical support",
|
||||||
|
"need.help.sign.in.text": "Need help signing in?",
|
||||||
|
"additional.help.text": "For additional help, contact {platformName} support at ",
|
||||||
|
"sign.in.text": "Sign in",
|
||||||
|
"extend.field.errors": "{emailError} below.",
|
||||||
|
"invalid.token.heading": "Invalid password reset link",
|
||||||
|
"invalid.token.error.message": "This password reset link is invalid. It may have been used already. Enter your email below to receive a new link.",
|
||||||
|
"token.validation.rate.limit.error.heading": "Too many requests",
|
||||||
|
"token.validation.rate.limit.error": "An error has occurred because of too many requests. Please try again after some time.",
|
||||||
|
"token.validation.internal.sever.error.heading": "Token validation failure",
|
||||||
|
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
|
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
|
"account.activation.error.message": "Something went wrong, please {supportLink} to resolve this issue.",
|
||||||
|
"login.inactive.user.error": "In order to sign in, you need to activate your account.{lineBreak}\n {lineBreak}We just sent an activation link to {email}. If you do not receive an email,\n check your spam folders or {supportLink}.",
|
||||||
|
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
||||||
|
"login.incorrect.credentials.error.attempts.text.1": "The username, email or password you entered is incorrect. You have {remainingAttempts} more sign in\n attempts before your account is temporarily locked.",
|
||||||
|
"login.incorrect.credentials.error.attempts.text.2": "If you've forgotten your password, {resetLink}",
|
||||||
|
"account.locked.out.message.2": "To be on the safe side, you can {resetLink} before trying again.",
|
||||||
|
"login.incorrect.credentials.error.with.reset.link": "The username, email, or password you entered is incorrect. Please try again or {resetLink}.",
|
||||||
|
"login.page.title": "Login | {siteName}",
|
||||||
|
"login.user.identity.label": "Username or email",
|
||||||
|
"login.password.label": "Password",
|
||||||
|
"sign.in.button": "Sign in",
|
||||||
|
"forgot.password": "Forgot password",
|
||||||
|
"institution.login.button": "Institution/campus credentials",
|
||||||
|
"institution.login.page.title": "Sign in with institution/campus credentials",
|
||||||
|
"login.other.options.heading": "Or sign in with:",
|
||||||
|
"non.compliant.password.title": "We recently changed our password requirements",
|
||||||
|
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
||||||
|
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
||||||
|
"enterprise.login.btn.text": "Company or school credentials",
|
||||||
|
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
||||||
|
"email.validation.message": "Enter your username or email",
|
||||||
|
"password.validation.message": "Password criteria has not been met",
|
||||||
|
"account.activation.success.message.title": "Success! You have activated your account.",
|
||||||
|
"account.activation.success.message": "You will now receive email updates and alerts from us related to the courses you are enrolled in. Sign in to continue.",
|
||||||
|
"account.activation.info.message": "This account has already been activated.",
|
||||||
|
"account.activation.error.message.title": "Your account could not be activated",
|
||||||
|
"account.activation.support.link": "contact support",
|
||||||
|
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
||||||
|
"account.confirmation.success.message": "Sign in to continue.",
|
||||||
|
"account.confirmation.info.message": "This email has already been confirmed.",
|
||||||
|
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
||||||
|
"tpa.account.link": "{provider} account",
|
||||||
|
"internal.server.error.message": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
|
"login.rate.limit.reached.message": "Too many failed login attempts. Try again later.",
|
||||||
|
"login.failure.header.title": "We couldn't sign you in.",
|
||||||
|
"contact.support.link": "contact {platformName} support",
|
||||||
|
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
||||||
|
"login.form.invalid.error.message": "Please fill in the fields below.",
|
||||||
|
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
||||||
|
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
||||||
|
"password.security.nudge.title": "Password security",
|
||||||
|
"password.security.block.title": "Password change required",
|
||||||
|
"password.security.nudge.body": "Our system detected that your password is vulnerable. We recommend you change it so that your account stays secure.",
|
||||||
|
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
||||||
|
"password.security.close.button": "Close",
|
||||||
|
"password.security.redirect.to.reset.password.button": "Reset your password",
|
||||||
|
"login.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
|
"progressive.profiling.page.title": "Welcome | {siteName}",
|
||||||
|
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
||||||
|
"optional.fields.information.link": "Learn more about how we use this information.",
|
||||||
|
"optional.fields.submit.button": "Submit",
|
||||||
|
"optional.fields.skip.button": "Skip for now",
|
||||||
|
"optional.fields.next.button": "Next",
|
||||||
|
"continue.to.platform": "Continue to {platformName}",
|
||||||
|
"modal.title": "Thanks for letting us know.",
|
||||||
|
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
||||||
|
"welcome.page.error.heading": "We couldn't update your profile",
|
||||||
|
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time.",
|
||||||
|
"recommendation.page.title": "Recommendations | {siteName}",
|
||||||
|
"recommendation.page.heading": "We have a few recommendations to get you started.",
|
||||||
|
"recommendation.skip.button": "Skip for now",
|
||||||
|
"register.page.title": "Register | {siteName}",
|
||||||
|
"registration.fullname.label": "Full name",
|
||||||
|
"registration.email.label": "Email",
|
||||||
|
"registration.username.label": "Public username",
|
||||||
|
"registration.password.label": "Password",
|
||||||
|
"registration.country.label": "Country/Region",
|
||||||
|
"registration.opt.in.label": "I agree that {siteName} may send me marketing messages.",
|
||||||
|
"help.text.name": "This name will be used by any certificates that you earn.",
|
||||||
|
"help.text.username.1": "The name that will identify you in your courses.",
|
||||||
|
"help.text.username.2": "This can not be changed later.",
|
||||||
|
"help.text.email": "For account activation and important updates",
|
||||||
|
"create.account.for.free.button": "Create an account for free",
|
||||||
|
"registration.other.options.heading": "Or register with:",
|
||||||
|
"register.institution.login.button": "Institution/campus credentials",
|
||||||
|
"register.institution.login.page.title": "Register with institution/campus credentials",
|
||||||
|
"empty.name.field.error": "Enter your full name",
|
||||||
|
"empty.email.field.error": "Enter your email",
|
||||||
|
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
||||||
|
"empty.password.field.error": "Password criteria has not been met",
|
||||||
|
"empty.country.field.error": "Select your country or region of residence",
|
||||||
|
"email.do.not.match": "The email addresses do not match.",
|
||||||
|
"email.invalid.format.error": "Enter a valid email address",
|
||||||
|
"username.validation.message": "Username must be between 2 and 30 characters",
|
||||||
|
"name.validation.message": "Enter a valid name",
|
||||||
|
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
||||||
|
"registration.request.failure.header": "We couldn't create your account.",
|
||||||
|
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
||||||
|
"registration.request.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
|
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
||||||
|
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
||||||
|
"registration.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
|
"terms.of.service.and.honor.code": "Terms of Service and Honor Code",
|
||||||
|
"privacy.policy": "Privacy Policy",
|
||||||
|
"honor.code": "Honor Code",
|
||||||
|
"terms.of.service": "Terms of Service",
|
||||||
|
"registration.username.suggestion.label": "Suggested:",
|
||||||
|
"did.you.mean.alert.text": "Did you mean",
|
||||||
|
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
||||||
|
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
||||||
|
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
||||||
|
"sign.in": "Sign in",
|
||||||
|
"reset.password.page.title": "Reset Password | {siteName}",
|
||||||
|
"reset.password": "Reset password",
|
||||||
|
"reset.password.page.instructions": "Enter and confirm your new password.",
|
||||||
|
"new.password.label": "New password",
|
||||||
|
"confirm.password.label": "Confirm password",
|
||||||
|
"passwords.do.not.match": "Passwords do not match",
|
||||||
|
"confirm.your.password": "Confirm your password",
|
||||||
|
"reset.password.failure.heading": "We couldn't reset your password.",
|
||||||
|
"reset.password.form.submission.error": "Please check your responses and try again.",
|
||||||
|
"reset.server.rate.limit.error": "Too many requests.",
|
||||||
|
"reset.password.success.heading": "Password reset complete.",
|
||||||
|
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
||||||
|
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time."
|
||||||
|
}
|
||||||
@@ -1,219 +1,168 @@
|
|||||||
{
|
{
|
||||||
"start.learning": "Start learning",
|
"start.learning": "Beginne zu lernen",
|
||||||
"with.site.name": "with {siteName}",
|
"with.site.name": "mit {siteName}",
|
||||||
"complete.your.profile.1": "Complete",
|
"complete.your.profile.1": "Vervollständige",
|
||||||
"complete.your.profile.2": "your profile",
|
"complete.your.profile.2": "dein Profil",
|
||||||
"welcome.to.platform": "Welcome to {siteName}, {username}!",
|
"welcome.to.platform": "Willkommen bei {siteName}, {username}!",
|
||||||
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
"institution.login.page.sub.heading": "Wählen Sie Ihre Institution aus der folgenden Liste aus",
|
||||||
"forgot.password.confirmation.title": "Check your email",
|
"logistration.sign.in": "Anmelden",
|
||||||
"forgot.password.confirmation.support.link": "contact technical support",
|
"logistration.register": "Registrieren",
|
||||||
"forgot.password.confirmation.info": "If you do not receive a password reset message after 1 minute, verify that you entered the correct email address, or check your spam folder.",
|
"enterprisetpa.title.heading": "Möchten Sie sich mit Ihren {providerName}-Anmeldedaten anmelden?",
|
||||||
"logistration.sign.in": "Sign in",
|
"enterprisetpa.login.button.text": "Andere Möglichkeiten für die Anmeldung oder Registrierung",
|
||||||
"logistration.register": "Register",
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Show me other ways to sign in",
|
||||||
"internal.server.error.message": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"sso.sign.in.with": "Melden Sie sich mit {providerName} an",
|
||||||
"server.ratelimit.error.message": "An error has occurred because of too many requests. Please try again after some time.",
|
"sso.create.account.using": "Erstellen Sie ein Konto mit {providerName}",
|
||||||
"enterprisetpa.title.heading": "Would you like to sign in using your {providerName} credentials?",
|
"show.password": "Passwort anzeigen",
|
||||||
"enterprisetpa.sso.button.title": "Sign in using {providerName}",
|
"hide.password": "Passwort verbergen",
|
||||||
"enterprisetpa.login.button.text": "Show me other ways to sign in or register",
|
"one.letter": "1 Buchstabe",
|
||||||
"sso.sign.in.with": "Sign in with {providerName}",
|
"one.number": "1 Nummer",
|
||||||
"sso.create.account.using": "Create account using {providerName}",
|
"eight.characters": "8 Charaktere",
|
||||||
"show.password": "Show password",
|
"password.sr.only.helping.text": "Das Passwort muss mindestens 8 Zeichen, mindestens einen Buchstaben und mindestens eine Zahl enthalten",
|
||||||
"hide.password": "Hide password",
|
"tpa.alert.heading": "Fast fertig!",
|
||||||
"one.letter": "1 letter",
|
"login.third.party.auth.account.not.linked": "Sie haben sich erfolgreich bei {currentProvider} angemeldet, aber Ihr {currentProvider}-Konto hat kein verknüpftes {platformName}-Konto. Um Ihre Konten zu verknüpfen, melden Sie sich jetzt mit Ihrem {platformName}-Passwort an.",
|
||||||
"one.number": "1 number",
|
"register.third.party.auth.account.not.linked": "Sie haben sich erfolgreich bei {currentProvider} angemeldet! Wir brauchen nur ein paar mehr Informationen, bevor Sie anfangen, mit {platformName} zu lernen.",
|
||||||
"eight.characters": "8 characters",
|
"registration.using.tpa.form.heading": "Beenden Sie die Erstellung Ihres Kontos",
|
||||||
"password.sr.only.helping.text": "Password must contain at least 8 characters, at least one letter, and at least one number",
|
"zendesk.supportTitle": "edX Support",
|
||||||
"tpa.alert.heading": "Almost done!",
|
"zendesk.selectTicketForm": "Please choose your request type:",
|
||||||
"login.third.party.auth.account.not.linked": "You have successfully signed into {currentProvider}, but your {currentProvider} account does not have a linked {platformName} account. To link your accounts, sign in now using your {platformName} password.",
|
"error.notfound.message": "Die gesuchte Seite ist nicht verfügbar oder es liegt ein Fehler in der URL vor. Bitte überprüfen Sie die URL und versuchen Sie es erneut.",
|
||||||
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
"forgot.password.confirmation.message": "Wir haben eine E-Mail mit Anweisungen zum Zurücksetzen Ihres Passworts an {email} gesendet. Wenn Sie nach 1 Minute keine Nachricht zum Zurücksetzen des Passworts erhalten, überprüfen Sie, ob Sie die richtige E-Mail-Adresse eingegeben haben, oder überprüfen Sie Ihren Spam-Ordner. Wenn Sie weitere Hilfe benötigen, {supportLink}.",
|
||||||
"error.notfound.message": "The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again.",
|
"forgot.password.page.title": "Passwort vergessen | {siteName}",
|
||||||
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
"forgot.password.page.heading": "Passwort zurücksetzen",
|
||||||
"forgot.password.page.title": "Forgot Password | {siteName}",
|
"forgot.password.page.instructions": "Bitte geben Sie unten Ihre E-Mail-Adresse ein und wir senden Ihnen eine E-Mail mit Anweisungen zum Zurücksetzen Ihres Passworts.",
|
||||||
"forgot.password.page.heading": "Reset password",
|
"forgot.password.page.invalid.email.message": "Geben sie eine gültige E-Mail-Adresse an",
|
||||||
"forgot.password.page.instructions": "Please enter your email address below and we will send you an email with instructions on how to reset your password.",
|
"forgot.password.page.email.field.label": "E-Mail Adresse",
|
||||||
"forgot.password.page.invalid.email.message": "Enter a valid email address",
|
"forgot.password.page.submit.button": "Einreichen",
|
||||||
"forgot.password.page.email.field.label": "Email",
|
"forgot.password.error.alert.title.": "Wir konnten Sie nicht kontaktieren.",
|
||||||
"forgot.password.page.submit.button": "Submit",
|
"forgot.password.error.message.title": "Ein Fehler ist aufgetreten.",
|
||||||
"forgot.password.error.alert.title.": "We were unable to contact you.",
|
"forgot.password.request.in.progress.message": "Ihre vorherige Anfrage ist in Bearbeitung, bitte versuchen Sie es in wenigen Augenblicken erneut.",
|
||||||
"forgot.password.error.message.title": "An error occurred.",
|
"forgot.password.empty.email.field.error": "Geben sie ihre E-Mail Adresse ein",
|
||||||
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
"forgot.password.email.help.text": "Die E-Mail-Adresse, mit der Sie sich bei {platformName} registriert haben",
|
||||||
"forgot.password.empty.email.field.error": "Enter your email",
|
"confirmation.message.title": "Prüfen Sie Ihr E-Mail-Postfach",
|
||||||
"forgot.password.invalid.email.message": "The email address you've provided isn't formatted correctly.",
|
"confirmation.support.link": "wenden Sie sich an den technischen Support",
|
||||||
"forgot.password.email.help.text": "The email address you used to register with {platformName}",
|
"need.help.sign.in.text": "Brauchen Sie Hilfe bei der Anmeldung?",
|
||||||
"confirmation.message.title": "Check your email",
|
"additional.help.text": "Wenden Sie sich für weitere Hilfe an den {platformName}-Support unter",
|
||||||
"confirmation.support.link": "contact technical support",
|
"sign.in.text": "Anmelden",
|
||||||
"need.help.sign.in.text": "Need help signing in?",
|
"extend.field.errors": "{emailError} unten.",
|
||||||
"additional.help.text": "For additional help, contact {platformName} support at ",
|
"invalid.token.heading": "Ungültiger Link zum Zurücksetzen des Passworts",
|
||||||
"sign.in.text": "Sign in",
|
"invalid.token.error.message": "Dieser Link zum Zurücksetzen des Passwortes ist ungültig. Möglicherweise wurde es bereits verwendet. Geben Sie unten Ihre E-Mail-Adresse ein, um einen neuen Link zu erhalten.",
|
||||||
"extend.field.errors": "{emailError} below.",
|
"token.validation.rate.limit.error.heading": "Zu viele Anfragen",
|
||||||
"invalid.token.heading": "Invalid password reset link",
|
"token.validation.rate.limit.error": "Aufgrund von zu vieler Anfragen ist ein Fehler aufgetreten. Bitte versuchen Sie es nach einiger Zeit erneut.",
|
||||||
"invalid.token.error.message": "This password reset link is invalid. It may have been used already. Enter your email below to receive a new link.",
|
"token.validation.internal.sever.error.heading": "Token-Validierungsfehler",
|
||||||
"token.validation.rate.limit.error.heading": "Too many requests",
|
"token.validation.internal.sever.error": "Ein Fehler ist aufgetreten. Versuchen Sie, die Seite zu aktualisieren, oder überprüfen Sie Ihre Internetverbindung.",
|
||||||
"token.validation.rate.limit.error": "An error has occurred because of too many requests. Please try again after some time.",
|
"internal.server.error": "Ein Fehler ist aufgetreten. Versuchen Sie, die Seite zu aktualisieren, oder überprüfen Sie Ihre Internetverbindung.",
|
||||||
"token.validation.internal.sever.error.heading": "Token validation failure",
|
"account.activation.error.message": "Etwas ist schief gelaufen, bitte {supportLink} um dieses Problem zu lösen.",
|
||||||
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"login.inactive.user.error": "Um sich anzumelden, müssen Sie Ihr Konto aktivieren.{lineBreak} {lineBreak}Wir haben gerade einen Aktivierungslink an {email} gesendet. Wenn Sie keine E-Mail erhalten, überprüfen Sie Ihre Spam-Ordner oder {supportLink}.",
|
||||||
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"allowed.domain.login.error": "Als {allowedDomain}-Benutzer müssen Sie sich mit Ihrem {allowedDomain} {tpaLink} anmelden.",
|
||||||
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time.",
|
"login.incorrect.credentials.error.attempts.text.1": "Der eingegebene Benutzername, die E-Mail oder das Passwort ist falsch. Sie haben {remainingAttempts} weitere Anmeldeversuche, bevor Ihr Konto vorübergehend gesperrt wird.",
|
||||||
"account.activation.error.message": "Something went wrong, please {supportLink} to resolve this issue.",
|
"login.incorrect.credentials.error.attempts.text.2": "Wenn Sie Ihr Passwort vergessen haben, {resetLink}",
|
||||||
"login.inactive.user.error": "In order to sign in, you need to activate your account.{lineBreak}\n {lineBreak}We just sent an activation link to {email}. If you do not receive an email,\n check your spam folders or {supportLink}.",
|
"account.locked.out.message.2": "Um auf der sicheren Seite zu sein, können Sie {resetLink} tun, bevor Sie es erneut versuchen.",
|
||||||
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
"login.incorrect.credentials.error.with.reset.link": "Der eingegebene Benutzername, die E-Mail-Adresse oder das Passwort ist falsch. Bitte versuchen Sie es erneut oder {resetLink}.",
|
||||||
"login.incorrect.credentials.error.attempts.text.1": "The username, email or password you entered is incorrect. You have {remainingAttempts} more sign in\n attempts before your account is temporarily locked.",
|
"login.page.title": "Anmelden | {siteName}",
|
||||||
"login.incorrect.credentials.error.attempts.text.2": "If you've forgotten your password, {resetLink}",
|
"login.user.identity.label": "Benutzername oder E-Mail-Adresse",
|
||||||
"account.locked.out.message.2": "To be on the safe side, you can {resetLink} before trying again.",
|
"login.password.label": "Passwort",
|
||||||
"login.incorrect.credentials.error.with.reset.link": "The username, email, or password you entered is incorrect. Please try again or {resetLink}.",
|
"sign.in.button": "Anmelden",
|
||||||
"login.page.title": "Login | {siteName}",
|
"forgot.password": "Passwort vergessen",
|
||||||
"login.user.identity.label": "Username or email",
|
"institution.login.button": "Zeugnisse der Institution/des Campus",
|
||||||
"login.password.label": "Password",
|
"institution.login.page.title": "Melden Sie sich mit Institutions-/Campus-Anmeldeinformationen an",
|
||||||
"sign.in.button": "Sign in",
|
"login.other.options.heading": "Oder melden Sie sich an mit:",
|
||||||
"sign.in.btn.pending.state": "Loading",
|
"non.compliant.password.title": "Wir haben kürzlich unsere Passwortanforderungen geändert",
|
||||||
"need.help.signing.in.collapsible.menu": "Need help signing in?",
|
"non.compliant.password.message": "Ihr aktuelles Passwort entspricht nicht den neuen Sicherheitsanforderungen. Wir haben gerade eine Nachricht zum Zurücksetzen des Passworts an die mit diesem Konto verknüpfte E-Mail-Adresse gesendet. Vielen Dank, dass Sie uns helfen, Ihre Daten zu schützen.",
|
||||||
"forgot.password.link": "Forgot my password",
|
"account.locked.out.message.1": "Um Ihr Konto zu schützen, wurde es vorübergehend gesperrt. Versuchen Sie es in 30 Minuten erneut.",
|
||||||
"forgot.password": "Forgot password",
|
"enterprise.login.btn.text": "Arbeits- oder Schulzeugnisse",
|
||||||
"other.sign.in.issues": "Other sign in issues",
|
"username.or.email.format.validation.less.chars.message": "Benutzername oder E-Mail müssen mindestens 3 Zeichen lang sein.",
|
||||||
"need.other.help.signing.in.collapsible.menu": "Need other help signing in?",
|
"email.validation.message": "Geben Sie Ihren Benutzernamen oder Ihre E-Mail-Adresse ein",
|
||||||
"institution.login.button": "Institution/campus credentials",
|
"password.validation.message": "Die Passwortkriterien wurden nicht erfüllt",
|
||||||
"institution.login.page.title": "Sign in with institution/campus credentials",
|
"account.activation.success.message.title": "Super! Sie haben Ihr Konto aktiviert.",
|
||||||
"institution.login.page.back.button": "Back to sign in",
|
"account.activation.success.message": "Sie erhalten jetzt E-Mail-Updates und Benachrichtigungen von uns in Bezug auf die Kurse, für die Sie eingeschrieben sind. Melden Sie sich an, um fortzufahren.",
|
||||||
"create.an.account": "Create an account",
|
"account.activation.info.message": "Dieses Konto wurde bereits aktiviert.",
|
||||||
"login.other.options.heading": "Or sign in with:",
|
"account.activation.error.message.title": "Ihr Konto konnte nicht aktiviert werden",
|
||||||
"non.compliant.password.title": "We recently changed our password requirements",
|
"account.activation.support.link": "kontaktieren Sie den Support",
|
||||||
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
"account.confirmation.success.message.title": "Super! Sie haben Ihre E-Mail bestätigt.",
|
||||||
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
"account.confirmation.success.message": "Melden Sie sich an, um fortzufahren.",
|
||||||
"first.time.here": "First time here?",
|
"account.confirmation.info.message": "Diese E-Mail-Adresse wurde bereits bestätigt.",
|
||||||
"email.help.message": "The email address you used to register with edX.",
|
"account.confirmation.error.message.title": "Ihre E-Mail-Adresse konnte nicht bestätigt werden",
|
||||||
"enterprise.login.btn.text": "Company or school credentials",
|
"tpa.account.link": "{provider}-Konto",
|
||||||
"email.format.validation.message": "The email address you've provided isn't formatted correctly.",
|
"internal.server.error.message": "Ein Fehler ist aufgetreten. Versuchen Sie, die Seite zu aktualisieren, oder überprüfen Sie Ihre Internetverbindung.",
|
||||||
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
"login.rate.limit.reached.message": "Zu viele fehlgeschlagene Anmeldeversuche. Bitte versuche es später noch einmal.",
|
||||||
"email.validation.message": "Enter your username or email",
|
"login.failure.header.title": "Wir konnten Sie leider nicht einloggen.",
|
||||||
"password.validation.message": "Password criteria has not been met",
|
"contact.support.link": "Wenden Sie sich an den Support der {platformName}",
|
||||||
"register.link": "Create an account",
|
"login.incorrect.credentials.error": "Der eingegebene Benutzername, die E-Mail-Adresse oder das Passwort ist falsch. Bitte versuche es erneut.",
|
||||||
"sign.in.heading": "Sign in",
|
"login.form.invalid.error.message": "Bitte füllen Sie die unten stehenden Felder aus.",
|
||||||
"account.activation.success.message.title": "Success! You have activated your account.",
|
"login.incorrect.credentials.error.reset.link.text": "Setzen Sie Ihr Passwort zurück",
|
||||||
"account.activation.success.message": "You will now receive email updates and alerts from us related to the courses you are enrolled in. Sign in to continue.",
|
"login.incorrect.credentials.error.before.account.blocked.text": "Klicken Sie hier, um es zurückzusetzen.",
|
||||||
"account.activation.info.message": "This account has already been activated.",
|
"password.security.nudge.title": "Passwortsicherheit",
|
||||||
"account.activation.error.message.title": "Your account could not be activated",
|
"password.security.block.title": "Passwortänderung erforderlich",
|
||||||
"account.activation.support.link": "contact support",
|
"password.security.nudge.body": "Unser System hat festgestellt, dass Ihr Passwort angreifbar ist. Wir empfehlen Ihnen, es zu ändern, damit Ihr Konto sicher bleibt.",
|
||||||
"tpa.account.link": "{provider} account",
|
"password.security.block.body": "Unser System hat festgestellt, dass Ihr Passwort angreifbar ist. Ändern Sie Ihr Passwort, damit Ihr Konto sicher bleibt.",
|
||||||
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
"password.security.close.button": "Schließen",
|
||||||
"account.confirmation.success.message": "Sign in to continue.",
|
"password.security.redirect.to.reset.password.button": "Setzen Sie Ihr Passwort zurück",
|
||||||
"account.confirmation.info.message": "This email has already been confirmed.",
|
"login.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
"progressive.profiling.page.title": "Welcome | {siteName}",
|
||||||
"login.rate.limit.reached.message": "Too many failed login attempts. Try again later.",
|
"progressive.profiling.page.heading": "Ein paar Fragen an Sie helfen uns, schlauer zu werden.",
|
||||||
"login.failure.header.title": "We couldn't sign you in.",
|
"optional.fields.information.link": "Erfahren Sie mehr darüber, wie wir diese Informationen verwenden.",
|
||||||
"contact.support.link": "contact {platformName} support",
|
"optional.fields.submit.button": "Einreichen",
|
||||||
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
"optional.fields.skip.button": "Überspringen",
|
||||||
"login.failed.attempt.error": "You have {remainingAttempts} more sign in attempts before your account is temporarily locked.",
|
"optional.fields.next.button": "Weiter",
|
||||||
"login.locked.out.error.message": "To protect your account, it’s been temporarily locked. Try again in {lockedOutPeriod} minutes.",
|
"continue.to.platform": "Weiter zu {platformName}",
|
||||||
"login.form.invalid.error.message": "Please fill in the fields below.",
|
"modal.title": "Danke, dass Sie uns das mitteilen.",
|
||||||
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
"modal.description": "Sie können Ihr Profil jederzeit in den Einstellungen vervollständigen, wenn Sie Ihre Meinung ändern.",
|
||||||
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
"welcome.page.error.heading": "Wir konnten Ihr Profil nicht aktualisieren",
|
||||||
"password.security.nudge.title": "Password security",
|
"welcome.page.error.message": "Ein Fehler ist aufgetreten. Sie können Ihr Profil jederzeit in den Einstellungen vervollständigen.",
|
||||||
"password.security.block.title": "Password change required",
|
"recommendation.page.title": "Empfehlungen | {siteName}",
|
||||||
"password.security.nudge.body": "Our system detected that your password is vulnerable. We recommend you change it so that your account stays secure.",
|
"recommendation.page.heading": "Wir haben ein paar Empfehlungen für den Einstieg.",
|
||||||
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
"recommendation.skip.button": "Überspringen",
|
||||||
"password.security.close.button": "Close",
|
"register.page.title": "Registrieren | {siteName}",
|
||||||
"password.security.redirect.to.reset.password.button": "Reset your password",
|
"registration.fullname.label": "Vollständiger Name",
|
||||||
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
"registration.email.label": "E-Mail-Adresse",
|
||||||
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
"registration.username.label": "Öffentlicher Benutzername",
|
||||||
"register.page.title": "Register | {siteName}",
|
"registration.password.label": "Passwort",
|
||||||
"registration.fullname.label": "Full name",
|
"registration.country.label": "Land/Region",
|
||||||
"registration.email.label": "Email",
|
"registration.opt.in.label": "Ich stimme zu, dass {siteName} mir Marketingmitteilungen senden darf.",
|
||||||
"registration.username.label": "Public username",
|
"help.text.name": "Dieser Name wird von allen Zertifikaten verwendet, die Sie erwerben.",
|
||||||
"registration.password.label": "Password",
|
"help.text.username.1": "Der Name, der Sie in Ihren Kursen identifiziert.",
|
||||||
"registration.country.label": "Country/Region",
|
"help.text.username.2": "Dies kann später nicht mehr geändert werden.",
|
||||||
"registration.opt.in.label": "I agree that {siteName} may send me marketing messages.",
|
"help.text.email": "Für die Kontoaktivierung und wichtige Updates",
|
||||||
"help.text.name": "This name will be used by any certificates that you earn.",
|
"create.account.for.free.button": "Erstellen Sie kostenlos ein Benutzerkonto",
|
||||||
"help.text.username.1": "The name that will identify you in your courses.",
|
"registration.other.options.heading": "Oder registrieren Sie sich bei:",
|
||||||
"help.text.username.2": "This can not be changed later.",
|
"register.institution.login.button": "Zeugnisse der Institution/des Campus",
|
||||||
"help.text.email": "For account activation and important updates",
|
"register.institution.login.page.title": "Registrieren Sie sich mit Institutions-/Campus-Anmeldeinformationen",
|
||||||
"create.account.for.free.button": "Create an account for free",
|
"empty.name.field.error": "Geben Sie Ihren vollständigen Namen ein",
|
||||||
"create.an.account.btn.pending.state": "Loading",
|
"empty.email.field.error": "Geben Sie Ihre E-Mail-Adresse ein",
|
||||||
"registration.other.options.heading": "Or register with:",
|
"empty.username.field.error": "Der Benutzername muss zwischen 2 und 30 Zeichen lang sein",
|
||||||
"register.institution.login.button": "Institution/campus credentials",
|
"empty.password.field.error": "Kennwortkriterien wurden nicht erfüllt",
|
||||||
"register.institution.login.page.title": "Register with institution/campus credentials",
|
"empty.country.field.error": "Wählen Sie das Land oder die Region Ihres Wohnsitzes aus",
|
||||||
"empty.name.field.error": "Enter your full name",
|
"email.do.not.match": "Die E-Mail-Adressen stimmen nicht überein.",
|
||||||
"empty.email.field.error": "Enter your email",
|
"email.invalid.format.error": "Geben sie eine gültige E-Mail-Adresse an",
|
||||||
"email.do.not.match": "The email addresses do not match.",
|
"username.validation.message": "Der Benutzername muss zwischen 2 und 30 Zeichen lang sein",
|
||||||
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
"name.validation.message": "Geben Sie einen gültigen Namen ein",
|
||||||
"empty.password.field.error": "Password criteria has not been met",
|
"username.format.validation.message": "Benutzernamen dürfen nur Buchstaben (AZ, az), Ziffern (0-9), Unterstriche (_) und Bindestriche (-) enthalten. Benutzernamen dürfen keine Leerzeichen enthalten",
|
||||||
"empty.country.field.error": "Select your country or region of residence",
|
"registration.request.failure.header": "Wir konnten Ihr Konto leider nicht erstellen.",
|
||||||
"email.invalid.format.error": "Enter a valid email address",
|
"registration.empty.form.submission.error": "Bitte überprüfen Sie Ihre Antworten und versuchen Sie es erneut.",
|
||||||
"email.ratelimit.less.chars.validation.message": "Email must have 3 characters.",
|
"registration.request.server.error": "Ein Fehler ist aufgetreten. Versuchen Sie, die Seite zu aktualisieren, oder überprüfen Sie Ihre Internetverbindung.",
|
||||||
"username.validation.message": "Username must be between 2 and 30 characters",
|
"registration.rate.limit.error": "Zu viele fehlgeschlagene Registrierungsversuche. Versuchen Sie es später noch einmal.",
|
||||||
"name.validation.message": "Enter a valid name",
|
"registration.tpa.session.expired": "Die Registrierung mit {provider} ist abgelaufen.",
|
||||||
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
"registration.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"support.education.research": "Support education research by providing additional information. (Optional)",
|
"terms.of.service.and.honor.code": "Nutzungsbedingungen und Verhaltenskodex",
|
||||||
"registration.request.failure.header": "We couldn't create your account.",
|
"privacy.policy": "Datenschutzbestimmungen",
|
||||||
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
"honor.code": "Verhaltenskodex",
|
||||||
"registration.request.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"terms.of.service": "Nutzungsbedingungen",
|
||||||
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
"registration.username.suggestion.label": "Empfohlen:",
|
||||||
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
"did.you.mean.alert.text": "Meinten Sie",
|
||||||
"terms.of.service.and.honor.code": "Terms of Service and Honor Code",
|
"register.page.terms.of.service.and.honor.code": "Wenn Sie ein Konto erstellen, stimmen Sie den {tosAndHonorCode} zu und erkennen an, dass {platformName} und jedes \nMitglied Ihre personenbezogenen Daten in Übereinstimmung mit den {privacyPolicy} verarbeitet.",
|
||||||
"privacy.policy": "Privacy Policy",
|
"register.page.honor.code": "Ich stimme den {platformName} {tosAndHonorCode} zu",
|
||||||
"honor.code": "Honor Code",
|
"register.page.terms.of.service": "Ich stimme den {platformName} {termsOfService} zu",
|
||||||
"terms.of.service": "Terms of Service",
|
"sign.in": "Anmelden",
|
||||||
"registration.year.of.birth.label": "Year of birth (optional)",
|
"reset.password.page.title": "Passwort zurücksetzen | {siteName}",
|
||||||
"registration.field.gender.options.label": "Gender (optional)",
|
"reset.password": "Passwort zurücksetzen",
|
||||||
"registration.goals.label": "Tell us why you're interested in edX (optional)",
|
"reset.password.page.instructions": "Neues Passwort eingeben und bestätigen",
|
||||||
"registration.field.gender.options.f": "Female",
|
"new.password.label": "Neues Passwort",
|
||||||
"registration.field.gender.options.m": "Male",
|
"confirm.password.label": "Kennwort bestätigen",
|
||||||
"registration.field.gender.options.o": "Other/Prefer not to say",
|
"passwords.do.not.match": "Passwörter stimmen nicht überein",
|
||||||
"registration.field.education.levels.label": "Highest level of education completed (optional)",
|
"confirm.your.password": "Bestätigen Sie Ihr Passwort",
|
||||||
"registration.field.education.levels.p": "Doctorate",
|
"reset.password.failure.heading": "Wir konnten Ihr Passwort nicht zurücksetzen.",
|
||||||
"registration.field.education.levels.m": "Master's or professional degree",
|
"reset.password.form.submission.error": "Bitte überprüfen Sie Ihre Antworten und versuchen Sie es erneut.",
|
||||||
"registration.field.education.levels.b": "Bachelor's degree",
|
"reset.server.rate.limit.error": "Zu viele Anfragen.",
|
||||||
"registration.field.education.levels.a": "Associate's degree",
|
"reset.password.success.heading": "Zurücksetzen des Passworts abgeschlossen.",
|
||||||
"registration.field.education.levels.hs": "Secondary/high school",
|
"reset.password.success": "Ihr Passwort wurde zurückgesetzt. Melden Sie sich bei Ihrem Konto an.",
|
||||||
"registration.field.education.levels.jhs": "Junior secondary/junior high/middle school",
|
"rate.limit.error": "Aufgrund zu vieler Anfragen ist ein Fehler aufgetreten. Bitte versuchen Sie es nach einiger Zeit erneut."
|
||||||
"registration.field.education.levels.el": "Elementary/primary school",
|
|
||||||
"registration.field.education.levels.none": "No formal education",
|
|
||||||
"registration.field.education.levels.other": "Other education",
|
|
||||||
"registration.username.suggestion.label": "Suggested:",
|
|
||||||
"registration.using.tpa.form.heading": "Finish creating your account",
|
|
||||||
"did.you.mean.alert.text": "Did you mean",
|
|
||||||
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
|
||||||
"sign.in": "Sign in",
|
|
||||||
"reset.password.page.title": "Reset Password | {siteName}",
|
|
||||||
"reset.password": "Reset password",
|
|
||||||
"reset.password.page.instructions": "Enter and confirm your new password.",
|
|
||||||
"new.password.label": "New password",
|
|
||||||
"confirm.password.label": "Confirm password",
|
|
||||||
"passwords.do.not.match": "Passwords do not match",
|
|
||||||
"confirm.your.password": "Confirm your password",
|
|
||||||
"forgot.password.confirmation.sign.in.link": "sign in",
|
|
||||||
"reset.password.request.forgot.password.text": "Forgot password",
|
|
||||||
"reset.password.request.invalid.token.header": "Invalid password reset link",
|
|
||||||
"reset.password.empty.new.password.field.error": "Please enter your new password.",
|
|
||||||
"reset.password.failure.heading": "We couldn't reset your password.",
|
|
||||||
"reset.password.form.submission.error": "Please check your responses and try again.",
|
|
||||||
"reset.password.request.server.error": "Failed to reset password",
|
|
||||||
"reset.password.token.validation.sever.error": "Token validation failure",
|
|
||||||
"reset.server.rate.limit.error": "Too many requests.",
|
|
||||||
"reset.password.success.heading": "Password reset complete.",
|
|
||||||
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
|
||||||
"progressive.profiling.page.title": "Optional Fields | {siteName}",
|
|
||||||
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
|
||||||
"gender.options.label": "Gender (optional)",
|
|
||||||
"gender.options.f": "Female",
|
|
||||||
"gender.options.m": "Male",
|
|
||||||
"gender.options.o": "Other/Prefer not to say",
|
|
||||||
"education.levels.label": "Highest level of education completed (optional)",
|
|
||||||
"education.levels.p": "Doctorate",
|
|
||||||
"education.levels.m": "Master's or professional degree",
|
|
||||||
"education.levels.b": "Bachelor's degree",
|
|
||||||
"education.levels.a": "Associate's degree",
|
|
||||||
"education.levels.hs": "Secondary/high school",
|
|
||||||
"education.levels.jhs": "Junior secondary/junior high/middle school",
|
|
||||||
"education.levels.el": "Elementary/primary school",
|
|
||||||
"education.levels.none": "No formal education",
|
|
||||||
"education.levels.other": "Other education",
|
|
||||||
"year.of.birth.label": "Year of birth (optional)",
|
|
||||||
"optional.fields.information.link": "Learn more about how we use this information.",
|
|
||||||
"optional.fields.submit.button": "Submit",
|
|
||||||
"optional.fields.skip.button": "Skip for now",
|
|
||||||
"continue.to.platform": "Continue to {platformName}",
|
|
||||||
"modal.title": "Thanks for letting us know.",
|
|
||||||
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
|
||||||
"welcome.page.error.heading": "We couldn't update your profile",
|
|
||||||
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time."
|
|
||||||
}
|
}
|
||||||
@@ -5,16 +5,11 @@
|
|||||||
"complete.your.profile.2": "tu perfil ",
|
"complete.your.profile.2": "tu perfil ",
|
||||||
"welcome.to.platform": "¡Bienvenido a {siteName}, {username}!",
|
"welcome.to.platform": "¡Bienvenido a {siteName}, {username}!",
|
||||||
"institution.login.page.sub.heading": "Selecciona tu institución de la lista siguiente",
|
"institution.login.page.sub.heading": "Selecciona tu institución de la lista siguiente",
|
||||||
"forgot.password.confirmation.title": "Verifica tu correo electrónico",
|
|
||||||
"forgot.password.confirmation.support.link": "contacta con el equipo de soporte técnico",
|
|
||||||
"forgot.password.confirmation.info": "Si no recibes un mensaje de recuperación de tu contraseña en un minuto, verifica que introduciste la dirección de correo electrónico correcta, o verifica tu carpeta de correo no deseado.",
|
|
||||||
"logistration.sign.in": "Iniciar sesión",
|
"logistration.sign.in": "Iniciar sesión",
|
||||||
"logistration.register": "Registrarse",
|
"logistration.register": "Registrarse",
|
||||||
"internal.server.error.message": "Se ha producido un error. Intenta actualizar la página o comprueba tu conexión a Internet.",
|
|
||||||
"server.ratelimit.error.message": "Se ha producido un error debido a demasiadas solicitudes. Por favor, inténtalo de nuevo después de algún tiempo.",
|
|
||||||
"enterprisetpa.title.heading": "¿Deseas iniciar sesión con tus credenciales de {providerName}?",
|
"enterprisetpa.title.heading": "¿Deseas iniciar sesión con tus credenciales de {providerName}?",
|
||||||
"enterprisetpa.sso.button.title": "Inicio de sesión con {providerName}",
|
|
||||||
"enterprisetpa.login.button.text": "Mostrar otras formas de iniciar sesión o de registrarme",
|
"enterprisetpa.login.button.text": "Mostrar otras formas de iniciar sesión o de registrarme",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Show me other ways to sign in",
|
||||||
"sso.sign.in.with": "Inicio de sesión con {providerName}",
|
"sso.sign.in.with": "Inicio de sesión con {providerName}",
|
||||||
"sso.create.account.using": "Crear una cuenta con {providerName}",
|
"sso.create.account.using": "Crear una cuenta con {providerName}",
|
||||||
"show.password": "Mostrar contraseña",
|
"show.password": "Mostrar contraseña",
|
||||||
@@ -26,6 +21,9 @@
|
|||||||
"tpa.alert.heading": "¡Ya casi has terminado!",
|
"tpa.alert.heading": "¡Ya casi has terminado!",
|
||||||
"login.third.party.auth.account.not.linked": "Te has registrado correctamente en {currentProvider}, pero tu cuenta de {currentProvider} no tiene una cuenta de {platformName} asociada. Para asociar tus cuentas, inicia sesión ahora usando tu contraseña de {platformName}.",
|
"login.third.party.auth.account.not.linked": "Te has registrado correctamente en {currentProvider}, pero tu cuenta de {currentProvider} no tiene una cuenta de {platformName} asociada. Para asociar tus cuentas, inicia sesión ahora usando tu contraseña de {platformName}.",
|
||||||
"register.third.party.auth.account.not.linked": "¡Has iniciado sesión con éxito en {currentProvider}! Sólo necesitamos un poco más de información antes de que empieces a aprender con {platformName}.",
|
"register.third.party.auth.account.not.linked": "¡Has iniciado sesión con éxito en {currentProvider}! Sólo necesitamos un poco más de información antes de que empieces a aprender con {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "Termina de crear tu cuenta",
|
||||||
|
"zendesk.supportTitle": "edX Support",
|
||||||
|
"zendesk.selectTicketForm": "Please choose your request type:",
|
||||||
"error.notfound.message": "La página que estas buscando no está disponible o hay un error en la URL. Por favor, verifica la URL y vuelve a intentarlo.",
|
"error.notfound.message": "La página que estas buscando no está disponible o hay un error en la URL. Por favor, verifica la URL y vuelve a intentarlo.",
|
||||||
"forgot.password.confirmation.message": "Hemos enviado un correo electrónico a {email} con instrucciones para restablecer tu contraseña.\n Si no recibes un mensaje de restablecimiento de contraseña después de 1 minuto, verifica que has introducido\n la dirección de correo electrónico correcta, o comprueba tu carpeta de correo no deseado. Si necesitas más ayuda, {supportLink}.",
|
"forgot.password.confirmation.message": "Hemos enviado un correo electrónico a {email} con instrucciones para restablecer tu contraseña.\n Si no recibes un mensaje de restablecimiento de contraseña después de 1 minuto, verifica que has introducido\n la dirección de correo electrónico correcta, o comprueba tu carpeta de correo no deseado. Si necesitas más ayuda, {supportLink}.",
|
||||||
"forgot.password.page.title": "Olvidé la contraseña | {siteName}",
|
"forgot.password.page.title": "Olvidé la contraseña | {siteName}",
|
||||||
@@ -38,7 +36,6 @@
|
|||||||
"forgot.password.error.message.title": "Ha ocurrido un error.",
|
"forgot.password.error.message.title": "Ha ocurrido un error.",
|
||||||
"forgot.password.request.in.progress.message": "Su solicitud anterior está en progreso, por favor inténtalo de nuevo en unos minutos.",
|
"forgot.password.request.in.progress.message": "Su solicitud anterior está en progreso, por favor inténtalo de nuevo en unos minutos.",
|
||||||
"forgot.password.empty.email.field.error": "Introduce tu email",
|
"forgot.password.empty.email.field.error": "Introduce tu email",
|
||||||
"forgot.password.invalid.email.message": "La dirección de correo que has ingresado no está en el formato correcto.",
|
|
||||||
"forgot.password.email.help.text": "El correo electrónico que utilizaste para registrarte en {platformName}",
|
"forgot.password.email.help.text": "El correo electrónico que utilizaste para registrarte en {platformName}",
|
||||||
"confirmation.message.title": "Verifica tu correo electrónico",
|
"confirmation.message.title": "Verifica tu correo electrónico",
|
||||||
"confirmation.support.link": "entra en contacto con el equipo de soporte técnico",
|
"confirmation.support.link": "entra en contacto con el equipo de soporte técnico",
|
||||||
@@ -53,7 +50,6 @@
|
|||||||
"token.validation.internal.sever.error.heading": "Fallo de validación del token",
|
"token.validation.internal.sever.error.heading": "Fallo de validación del token",
|
||||||
"token.validation.internal.sever.error": "Se ha producido un error. Intenta actualizar la página o verifica tu conexión a Internet.",
|
"token.validation.internal.sever.error": "Se ha producido un error. Intenta actualizar la página o verifica tu conexión a Internet.",
|
||||||
"internal.server.error": "Se ha producido un error. Intenta actualizar la página o verifica tu conexión a Internet.",
|
"internal.server.error": "Se ha producido un error. Intenta actualizar la página o verifica tu conexión a Internet.",
|
||||||
"rate.limit.error": "Se ha producido un error debido a demasiadas solicitudes. Por favor, inténtalo de nuevo después de algún tiempo.",
|
|
||||||
"account.activation.error.message": "Algo no funcionó correctamente, por favor {supportLink} para resolver este problema.",
|
"account.activation.error.message": "Algo no funcionó correctamente, por favor {supportLink} para resolver este problema.",
|
||||||
"login.inactive.user.error": "Para iniciar sesión, debes activar tu cuenta..{lineBreak}\n {lineBreak} Acabamos de enviar un enlace de activación a {email}. Si no recibes un correo electrónico,\n revisa tus carpetas de spam o {supportLink}.",
|
"login.inactive.user.error": "Para iniciar sesión, debes activar tu cuenta..{lineBreak}\n {lineBreak} Acabamos de enviar un enlace de activación a {email}. Si no recibes un correo electrónico,\n revisa tus carpetas de spam o {supportLink}.",
|
||||||
"allowed.domain.login.error": "Como usuario {allowedDomain}, debe iniciar sesión con su {allowedDomain} {tpaLink}.",
|
"allowed.domain.login.error": "Como usuario {allowedDomain}, debe iniciar sesión con su {allowedDomain} {tpaLink}.",
|
||||||
@@ -65,45 +61,32 @@
|
|||||||
"login.user.identity.label": "Nombre de usuario o correo electrónico",
|
"login.user.identity.label": "Nombre de usuario o correo electrónico",
|
||||||
"login.password.label": "Contraseña",
|
"login.password.label": "Contraseña",
|
||||||
"sign.in.button": "Iniciar sesión",
|
"sign.in.button": "Iniciar sesión",
|
||||||
"sign.in.btn.pending.state": "Cargando",
|
|
||||||
"need.help.signing.in.collapsible.menu": "¿Necesitas ayuda para iniciar sesión?",
|
|
||||||
"forgot.password.link": "Olvidé mi contraseña",
|
|
||||||
"forgot.password": "Olvidé mi contraseña",
|
"forgot.password": "Olvidé mi contraseña",
|
||||||
"other.sign.in.issues": "Otros problemas de inicio de sesión ",
|
|
||||||
"need.other.help.signing.in.collapsible.menu": "¿Necesitas más ayuda para iniciar sesión?",
|
|
||||||
"institution.login.button": "Credenciales de la institución/campus",
|
"institution.login.button": "Credenciales de la institución/campus",
|
||||||
"institution.login.page.title": "Iniciar sesión con las credenciales de la institución/campus",
|
"institution.login.page.title": "Iniciar sesión con las credenciales de la institución/campus",
|
||||||
"institution.login.page.back.button": "Volver al inicio",
|
|
||||||
"create.an.account": "Crear una cuenta",
|
|
||||||
"login.other.options.heading": "O bien, inicia sesión con:",
|
"login.other.options.heading": "O bien, inicia sesión con:",
|
||||||
"non.compliant.password.title": "Recientemente hemos cambiado los requisitos de las contraseñas",
|
"non.compliant.password.title": "Recientemente hemos cambiado los requisitos de las contraseñas",
|
||||||
"non.compliant.password.message": "Tu contraseña actual no cumple con los nuevos requisitos de seguridad. Acabamos de enviar un mensaje de restablecimiento de contraseña a la dirección de correo electrónico asociada a esta cuenta. Gracias por ayudarnos a mantener tus datos seguros.",
|
"non.compliant.password.message": "Tu contraseña actual no cumple con los nuevos requisitos de seguridad. Acabamos de enviar un mensaje de restablecimiento de contraseña a la dirección de correo electrónico asociada a esta cuenta. Gracias por ayudarnos a mantener tus datos seguros.",
|
||||||
"account.locked.out.message.1": "Para proteger tu cuenta, se ha bloqueado temporalmente. Inténtalo de nuevo en 30 minutos.",
|
"account.locked.out.message.1": "Para proteger tu cuenta, se ha bloqueado temporalmente. Inténtalo de nuevo en 30 minutos.",
|
||||||
"first.time.here": "Primera vez aquí?",
|
|
||||||
"email.help.message": "La dirección de correo electrónico que usaste para registrarte en edX.",
|
|
||||||
"enterprise.login.btn.text": "Credenciales de la empresa o de la institución ",
|
"enterprise.login.btn.text": "Credenciales de la empresa o de la institución ",
|
||||||
"email.format.validation.message": "La dirección de correo que has ingresado no está en el formato correcto.",
|
|
||||||
"username.or.email.format.validation.less.chars.message": "El nombre de usuario o el correo electrónico deben tener al menos 3 caracteres.",
|
"username.or.email.format.validation.less.chars.message": "El nombre de usuario o el correo electrónico deben tener al menos 3 caracteres.",
|
||||||
"email.validation.message": "Introduce tu nombre de usuario o correo electrónico",
|
"email.validation.message": "Introduce tu nombre de usuario o correo electrónico",
|
||||||
"password.validation.message": "No se han cumplido los criterios de la contraseña",
|
"password.validation.message": "No se han cumplido los criterios de la contraseña",
|
||||||
"register.link": "Crear una cuenta",
|
|
||||||
"sign.in.heading": "Iniciar sesión",
|
|
||||||
"account.activation.success.message.title": "Ha sido un éxito. Has activado tu cuenta.",
|
"account.activation.success.message.title": "Ha sido un éxito. Has activado tu cuenta.",
|
||||||
"account.activation.success.message": "Ahora recibirás por correo electrónico actualizaciones y alertas relacionadas con los cursos en los que estás inscrito. Inicia sesión para continuar.",
|
"account.activation.success.message": "Ahora recibirás por correo electrónico actualizaciones y alertas relacionadas con los cursos en los que estás inscrito. Inicia sesión para continuar.",
|
||||||
"account.activation.info.message": "La cuenta ya ha sido activada.",
|
"account.activation.info.message": "La cuenta ya ha sido activada.",
|
||||||
"account.activation.error.message.title": "Tu cuenta no ha podido ser activada",
|
"account.activation.error.message.title": "Tu cuenta no ha podido ser activada",
|
||||||
"account.activation.support.link": "contacta al equipo de soporte de edX",
|
"account.activation.support.link": "contacta al equipo de soporte de edX",
|
||||||
"tpa.account.link": "{provider} cuenta",
|
|
||||||
"account.confirmation.success.message.title": "¡Éxito! Has confirmado tu correo electrónico.",
|
"account.confirmation.success.message.title": "¡Éxito! Has confirmado tu correo electrónico.",
|
||||||
"account.confirmation.success.message": "Inicia sesión para continuar.",
|
"account.confirmation.success.message": "Inicia sesión para continuar.",
|
||||||
"account.confirmation.info.message": "Este correo electrónico ya ha sido confirmado.",
|
"account.confirmation.info.message": "Este correo electrónico ya ha sido confirmado.",
|
||||||
"account.confirmation.error.message.title": "Tu correo electrónico no pudo ser confirmado",
|
"account.confirmation.error.message.title": "Tu correo electrónico no pudo ser confirmado",
|
||||||
|
"tpa.account.link": "{provider} cuenta",
|
||||||
|
"internal.server.error.message": "Se ha producido un error. Intenta actualizar la página o comprueba tu conexión a Internet.",
|
||||||
"login.rate.limit.reached.message": "Demasiados intentos fallidos de inicio de sesión. Inténtelo de nuevo más tarde.",
|
"login.rate.limit.reached.message": "Demasiados intentos fallidos de inicio de sesión. Inténtelo de nuevo más tarde.",
|
||||||
"login.failure.header.title": "No se ha podido iniciar tu sesión.",
|
"login.failure.header.title": "No se ha podido iniciar tu sesión.",
|
||||||
"contact.support.link": "entrar en contacto con el soporte de {platformName}",
|
"contact.support.link": "entrar en contacto con el soporte de {platformName}",
|
||||||
"login.incorrect.credentials.error": "El nombre de usuario, el correo electrónico o la contraseña que has introducido son incorrectos. Por favor, inténtalo de nuevo.",
|
"login.incorrect.credentials.error": "El nombre de usuario, el correo electrónico o la contraseña que has introducido son incorrectos. Por favor, inténtalo de nuevo.",
|
||||||
"login.failed.attempt.error": "Tienes {remainAttempts} más intentos de inicio de sesión antes de que tu cuenta se bloquee temporalmente.",
|
|
||||||
"login.locked.out.error.message": "Para proteger tu cuenta, se ha bloqueado temporalmente. Inténtalo de nuevo en {lockedOutPeriod} minutos.",
|
|
||||||
"login.form.invalid.error.message": "Por favor, complete los siguientes campos.",
|
"login.form.invalid.error.message": "Por favor, complete los siguientes campos.",
|
||||||
"login.incorrect.credentials.error.reset.link.text": "restablecer la contraseña",
|
"login.incorrect.credentials.error.reset.link.text": "restablecer la contraseña",
|
||||||
"login.incorrect.credentials.error.before.account.blocked.text": "Pulse aquí para restablecerla.",
|
"login.incorrect.credentials.error.before.account.blocked.text": "Pulse aquí para restablecerla.",
|
||||||
@@ -113,8 +96,21 @@
|
|||||||
"password.security.block.body": "Nuestro sistema detectó que su contraseña es vulnerable. Cambie su contraseña para que su cuenta permanezca segura.",
|
"password.security.block.body": "Nuestro sistema detectó que su contraseña es vulnerable. Cambie su contraseña para que su cuenta permanezca segura.",
|
||||||
"password.security.close.button": "Cerrar",
|
"password.security.close.button": "Cerrar",
|
||||||
"password.security.redirect.to.reset.password.button": "Restablece tu contraseña",
|
"password.security.redirect.to.reset.password.button": "Restablece tu contraseña",
|
||||||
"register.page.terms.of.service.and.honor.code": "Al crear una cuenta, aceptas el {tosAndHonorCode} y reconoces que {platformName} y cada\n Miembro procesa tus datos personales de acuerdo con la {privacyPolicy}.",
|
"login.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"register.page.honor.code": "Acepto las {platformName} {tosAndHonorCode}",
|
"progressive.profiling.page.title": "Welcome | {siteName}",
|
||||||
|
"progressive.profiling.page.heading": "Unas cuantas preguntas para ti nos ayudarán a mejorar.",
|
||||||
|
"optional.fields.information.link": "Aprende más sobre cómo usamos esta información.",
|
||||||
|
"optional.fields.submit.button": "Enviar",
|
||||||
|
"optional.fields.skip.button": "Saltar por ahora ",
|
||||||
|
"optional.fields.next.button": "Siguiente",
|
||||||
|
"continue.to.platform": "Continuar a {platformName}",
|
||||||
|
"modal.title": "Gracias por informarnos.",
|
||||||
|
"modal.description": "Puedes completar tu perfil en los ajustes en cualquier momento si cambias de opinión.",
|
||||||
|
"welcome.page.error.heading": "No hemos podido actualizar tu perfil",
|
||||||
|
"welcome.page.error.message": "Se ha producido un error. Puedes completar tu perfil en los ajustes en cualquier momento.",
|
||||||
|
"recommendation.page.title": "Recomendaciones | {siteName}",
|
||||||
|
"recommendation.page.heading": "Tenemos algunas recomendaciones para empezar.",
|
||||||
|
"recommendation.skip.button": "Saltar por ahora ",
|
||||||
"register.page.title": "Register | {siteName}",
|
"register.page.title": "Register | {siteName}",
|
||||||
"registration.fullname.label": "Nombre completo",
|
"registration.fullname.label": "Nombre completo",
|
||||||
"registration.email.label": "Correo electrónico",
|
"registration.email.label": "Correo electrónico",
|
||||||
@@ -127,51 +123,34 @@
|
|||||||
"help.text.username.2": "Esto no puede modificarse posteriormente.",
|
"help.text.username.2": "Esto no puede modificarse posteriormente.",
|
||||||
"help.text.email": "Para la activación de la cuenta y las actualizaciones importantes",
|
"help.text.email": "Para la activación de la cuenta y las actualizaciones importantes",
|
||||||
"create.account.for.free.button": "Crea una cuenta gratis",
|
"create.account.for.free.button": "Crea una cuenta gratis",
|
||||||
"create.an.account.btn.pending.state": "Cargando",
|
|
||||||
"registration.other.options.heading": "O regístrese con:",
|
"registration.other.options.heading": "O regístrese con:",
|
||||||
"register.institution.login.button": "Credenciales de la institución/campus",
|
"register.institution.login.button": "Credenciales de la institución/campus",
|
||||||
"register.institution.login.page.title": "Registro con credenciales de la institución/campus",
|
"register.institution.login.page.title": "Registro con credenciales de la institución/campus",
|
||||||
"empty.name.field.error": "Introduce tu nombre completo",
|
"empty.name.field.error": "Introduce tu nombre completo",
|
||||||
"empty.email.field.error": "Introduce tu email",
|
"empty.email.field.error": "Introduce tu email",
|
||||||
"email.do.not.match": "Los correos electrónicos no son iguales.",
|
|
||||||
"empty.username.field.error": "El nombre de usuario debe tener entre 2 y 30 caracteres",
|
"empty.username.field.error": "El nombre de usuario debe tener entre 2 y 30 caracteres",
|
||||||
"empty.password.field.error": "No se han cumplido los criterios de la contraseña",
|
"empty.password.field.error": "No se han cumplido los criterios de la contraseña",
|
||||||
"empty.country.field.error": "Selecciona tu país o región de residencia",
|
"empty.country.field.error": "Selecciona tu país o región de residencia",
|
||||||
|
"email.do.not.match": "Los correos electrónicos no son iguales.",
|
||||||
"email.invalid.format.error": "Introduce una dirección de correo electrónico válida",
|
"email.invalid.format.error": "Introduce una dirección de correo electrónico válida",
|
||||||
"email.ratelimit.less.chars.validation.message": "El correo electrónico debe tener 3 caracteres.",
|
|
||||||
"username.validation.message": "El nombre de usuario debe tener entre 2 y 30 caracteres",
|
"username.validation.message": "El nombre de usuario debe tener entre 2 y 30 caracteres",
|
||||||
"name.validation.message": "Introduce un nombre válido",
|
"name.validation.message": "Introduce un nombre válido",
|
||||||
"username.format.validation.message": "Los nombres de usuario solo pueden contener letras (A-Z, a-z), números (0-9), guiones bajos (_) y guiones (-). Los nombres de usuario no pueden contener espacios",
|
"username.format.validation.message": "Los nombres de usuario solo pueden contener letras (A-Z, a-z), números (0-9), guiones bajos (_) y guiones (-). Los nombres de usuario no pueden contener espacios",
|
||||||
"support.education.research": "Apoya la investigación sobre educación proporcionando información adicional. (Opcional)",
|
|
||||||
"registration.request.failure.header": "No pudimos crear tu cuenta.",
|
"registration.request.failure.header": "No pudimos crear tu cuenta.",
|
||||||
"registration.empty.form.submission.error": "Por favor, verifica tus respuestas y vuelve a intentarlo.",
|
"registration.empty.form.submission.error": "Por favor, verifica tus respuestas y vuelve a intentarlo.",
|
||||||
"registration.request.server.error": "Se ha producido un error. Intenta actualizar la página o comprueba tu conexión a Internet.",
|
"registration.request.server.error": "Se ha producido un error. Intenta actualizar la página o comprueba tu conexión a Internet.",
|
||||||
"registration.rate.limit.error": "Demasiados intentos de registro fallidos. Vuelve a intentarlo más tarde.",
|
"registration.rate.limit.error": "Demasiados intentos de registro fallidos. Vuelve a intentarlo más tarde.",
|
||||||
"registration.tpa.session.expired": "Inscripción usando {provider} ha expirado.",
|
"registration.tpa.session.expired": "Inscripción usando {provider} ha expirado.",
|
||||||
|
"registration.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"terms.of.service.and.honor.code": "Condiciones de servicio y código de honor",
|
"terms.of.service.and.honor.code": "Condiciones de servicio y código de honor",
|
||||||
"privacy.policy": "Política de privacidad ",
|
"privacy.policy": "Política de privacidad ",
|
||||||
"honor.code": "Código de Honor",
|
"honor.code": "Código de Honor",
|
||||||
"terms.of.service": "Términos de servicio",
|
"terms.of.service": "Términos de servicio",
|
||||||
"registration.year.of.birth.label": "Año de nacimiento (opcional)",
|
|
||||||
"registration.field.gender.options.label": "Género (opcional)",
|
|
||||||
"registration.goals.label": "Díganos por qué estás interesado en edX (opcional)",
|
|
||||||
"registration.field.gender.options.f": "Femenino ",
|
|
||||||
"registration.field.gender.options.m": "Masculino",
|
|
||||||
"registration.field.gender.options.o": "Otro/Prefiero no decir",
|
|
||||||
"registration.field.education.levels.label": "Nivel más alto de educación completado (opcional)",
|
|
||||||
"registration.field.education.levels.p": "Doctorado",
|
|
||||||
"registration.field.education.levels.m": "Maestría o magíster",
|
|
||||||
"registration.field.education.levels.b": "Pregrado o Licenciatura",
|
|
||||||
"registration.field.education.levels.a": "Grado técnico - tecnológico",
|
|
||||||
"registration.field.education.levels.hs": "Enseñanza secundaria",
|
|
||||||
"registration.field.education.levels.jhs": "Formación media",
|
|
||||||
"registration.field.education.levels.el": "Enseñanza primaria",
|
|
||||||
"registration.field.education.levels.none": "Ninguna educación formal",
|
|
||||||
"registration.field.education.levels.other": "Otra educación",
|
|
||||||
"registration.username.suggestion.label": "Se recomienda:",
|
"registration.username.suggestion.label": "Se recomienda:",
|
||||||
"registration.using.tpa.form.heading": "Termina de crear tu cuenta",
|
|
||||||
"did.you.mean.alert.text": "¿Quieres decir",
|
"did.you.mean.alert.text": "¿Quieres decir",
|
||||||
"register.page.terms.of.service": "Acepto lo siguiente: {platformName} {termsOfService}",
|
"register.page.terms.of.service.and.honor.code": "Al crear una cuenta, aceptas el {tosAndHonorCode} y reconoces que {platformName} y cada\n Miembro procesa tus datos personales de acuerdo con la {privacyPolicy}.",
|
||||||
|
"register.page.honor.code": "Acepto las {platformName} {tosAndHonorCode}",
|
||||||
|
"register.page.terms.of.service": "Acepto las {platformName} {termsOfService}",
|
||||||
"sign.in": "Iniciar sesión",
|
"sign.in": "Iniciar sesión",
|
||||||
"reset.password.page.title": "Restablecer contraseña | {siteName}",
|
"reset.password.page.title": "Restablecer contraseña | {siteName}",
|
||||||
"reset.password": "Restablecer mi contraseña",
|
"reset.password": "Restablecer mi contraseña",
|
||||||
@@ -180,40 +159,10 @@
|
|||||||
"confirm.password.label": "Confirmar contraseña",
|
"confirm.password.label": "Confirmar contraseña",
|
||||||
"passwords.do.not.match": "Las contraseñas no coinciden",
|
"passwords.do.not.match": "Las contraseñas no coinciden",
|
||||||
"confirm.your.password": "Confirma tu contraseña",
|
"confirm.your.password": "Confirma tu contraseña",
|
||||||
"forgot.password.confirmation.sign.in.link": "iniciar sesión",
|
|
||||||
"reset.password.request.forgot.password.text": "Olvidé mi contraseña",
|
|
||||||
"reset.password.request.invalid.token.header": "Enlace de restablecimiento de contraseña inválido",
|
|
||||||
"reset.password.empty.new.password.field.error": "Por favor, introduce tu nueva contraseña.",
|
|
||||||
"reset.password.failure.heading": "No hemos podido restablecer tu contraseña.",
|
"reset.password.failure.heading": "No hemos podido restablecer tu contraseña.",
|
||||||
"reset.password.form.submission.error": "Por favor, verifica tus respuestas y vuelve a intentarlo.",
|
"reset.password.form.submission.error": "Por favor, verifica tus respuestas y vuelve a intentarlo.",
|
||||||
"reset.password.request.server.error": "No se ha podido restablecer la contraseña",
|
|
||||||
"reset.password.token.validation.sever.error": "Fallo de validación del token",
|
|
||||||
"reset.server.rate.limit.error": "Demasiadas solicitudes.",
|
"reset.server.rate.limit.error": "Demasiadas solicitudes.",
|
||||||
"reset.password.success.heading": "Restablecimiento de la contraseña completado.",
|
"reset.password.success.heading": "Restablecimiento de la contraseña completado.",
|
||||||
"reset.password.success": "Tu contraseña ha sido restablecida. Acceda a tu cuenta.",
|
"reset.password.success": "Tu contraseña ha sido restablecida. Acceda a tu cuenta.",
|
||||||
"progressive.profiling.page.title": "Campos opcionales | {siteName}",
|
"rate.limit.error": "Se ha producido un error debido a demasiadas solicitudes. Por favor, inténtalo de nuevo después de algún tiempo."
|
||||||
"progressive.profiling.page.heading": "Unas cuantas preguntas para ti nos ayudarán a mejorar.",
|
|
||||||
"gender.options.label": "Género (opcional)",
|
|
||||||
"gender.options.f": "Femenino ",
|
|
||||||
"gender.options.m": "Masculino",
|
|
||||||
"gender.options.o": "Otro/Prefiero no decir",
|
|
||||||
"education.levels.label": "Nivel más alto de educación completado (opcional)",
|
|
||||||
"education.levels.p": "Doctorado",
|
|
||||||
"education.levels.m": "Maestría o magíster",
|
|
||||||
"education.levels.b": "Pregrado o Licenciatura",
|
|
||||||
"education.levels.a": "Grado técnico - tecnológico",
|
|
||||||
"education.levels.hs": "Enseñanza secundaria",
|
|
||||||
"education.levels.jhs": "Formación media",
|
|
||||||
"education.levels.el": "Enseñanza primaria",
|
|
||||||
"education.levels.none": "Ninguna educación formal",
|
|
||||||
"education.levels.other": "Otra educación",
|
|
||||||
"year.of.birth.label": "Año de nacimiento (opcional)",
|
|
||||||
"optional.fields.information.link": "Aprende más sobre cómo usamos esta información.",
|
|
||||||
"optional.fields.submit.button": "Enviar",
|
|
||||||
"optional.fields.skip.button": "Saltar por ahora ",
|
|
||||||
"continue.to.platform": "Continuar a {platformName}",
|
|
||||||
"modal.title": "Gracias por informarnos.",
|
|
||||||
"modal.description": "Puedes completar tu perfil en los ajustes en cualquier momento si cambias de opinión.",
|
|
||||||
"welcome.page.error.heading": "No hemos podido actualizar tu perfil",
|
|
||||||
"welcome.page.error.message": "Se ha producido un error. Puedes completar tu perfil en los ajustes en cualquier momento."
|
|
||||||
}
|
}
|
||||||
@@ -5,16 +5,11 @@
|
|||||||
"complete.your.profile.2": "votre profil",
|
"complete.your.profile.2": "votre profil",
|
||||||
"welcome.to.platform": "Bienvenue sur {siteName}, {username}!",
|
"welcome.to.platform": "Bienvenue sur {siteName}, {username}!",
|
||||||
"institution.login.page.sub.heading": "Sélectionner votre institution dans la liste ci-dessous",
|
"institution.login.page.sub.heading": "Sélectionner votre institution dans la liste ci-dessous",
|
||||||
"forgot.password.confirmation.title": "Vérifiez votre email",
|
|
||||||
"forgot.password.confirmation.support.link": "contacter le support technique",
|
|
||||||
"forgot.password.confirmation.info": "Si vous ne recevez pas de message de réinitialisation de mot de passe après 1 minute, vérifiez que vous avez entré la bonne adresse courriel ou vérifiez votre dossier de pourriels.",
|
|
||||||
"logistration.sign.in": "Connectez-vous",
|
"logistration.sign.in": "Connectez-vous",
|
||||||
"logistration.register": "S'inscrire",
|
"logistration.register": "S'inscrire",
|
||||||
"internal.server.error.message": "Une erreur est survenue. Essayer de rafraîchir la page, ou vérifier votre connexion Internet.",
|
|
||||||
"server.ratelimit.error.message": "Une erreur s'est produite en raison d'un trop grand nombre de demandes. Veuillez réessayer après un certain temps.",
|
|
||||||
"enterprisetpa.title.heading": "Souhaitez-vous vous connecter à l'aide de vos identifiants {providerName} ?",
|
"enterprisetpa.title.heading": "Souhaitez-vous vous connecter à l'aide de vos identifiants {providerName} ?",
|
||||||
"enterprisetpa.sso.button.title": "Connectez-vous avec {providerName}",
|
|
||||||
"enterprisetpa.login.button.text": "Montrez-moi d'autres méthodes pour me connecter ou m'inscrire",
|
"enterprisetpa.login.button.text": "Montrez-moi d'autres méthodes pour me connecter ou m'inscrire",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Show me other ways to sign in",
|
||||||
"sso.sign.in.with": "Connectez-vous avec {providerName}",
|
"sso.sign.in.with": "Connectez-vous avec {providerName}",
|
||||||
"sso.create.account.using": "Créer un compte avec {providerName}",
|
"sso.create.account.using": "Créer un compte avec {providerName}",
|
||||||
"show.password": "Afficher le mot de passe",
|
"show.password": "Afficher le mot de passe",
|
||||||
@@ -26,6 +21,9 @@
|
|||||||
"tpa.alert.heading": "Presque fini !",
|
"tpa.alert.heading": "Presque fini !",
|
||||||
"login.third.party.auth.account.not.linked": "Vous vous êtes connecté avec succès à {currentProvider}, mais votre compte {currentProvider} n'a pas de compte relié à {platformName}. Pour lier vos comptes, connectez-vous en utilisant votre mot de passe {platformName}.",
|
"login.third.party.auth.account.not.linked": "Vous vous êtes connecté avec succès à {currentProvider}, mais votre compte {currentProvider} n'a pas de compte relié à {platformName}. Pour lier vos comptes, connectez-vous en utilisant votre mot de passe {platformName}.",
|
||||||
"register.third.party.auth.account.not.linked": "Vous vous êtes connecté avec succès à {currentProvider} ! Nous avons juste besoin d'un peu plus d'informations avant que vous commenciez à apprendre avec {platformName}.",
|
"register.third.party.auth.account.not.linked": "Vous vous êtes connecté avec succès à {currentProvider} ! Nous avons juste besoin d'un peu plus d'informations avant que vous commenciez à apprendre avec {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "Terminer la création de votre compte",
|
||||||
|
"zendesk.supportTitle": "edX Support",
|
||||||
|
"zendesk.selectTicketForm": "Please choose your request type:",
|
||||||
"error.notfound.message": "La page que vous recherchez n'est pas disponible ou il y a une erreur dans l'URL. Veuillez vérifier l'URL et réessayer.",
|
"error.notfound.message": "La page que vous recherchez n'est pas disponible ou il y a une erreur dans l'URL. Veuillez vérifier l'URL et réessayer.",
|
||||||
"forgot.password.confirmation.message": "Nous avons envoyé un courriel à {email} avec des instructions pour réinitialiser votre mot de passe.\n Si vous ne recevez pas de message de réinitialisation de mot de passe après 1 minute, vérifiez que vous avez saisi\nl'adresse courriel correctement, ou vérifiez votre dossier de courriel indésirable. Si vous avez besoin d'aide supplémentaire, {supportLink}.",
|
"forgot.password.confirmation.message": "Nous avons envoyé un courriel à {email} avec des instructions pour réinitialiser votre mot de passe.\n Si vous ne recevez pas de message de réinitialisation de mot de passe après 1 minute, vérifiez que vous avez saisi\nl'adresse courriel correctement, ou vérifiez votre dossier de courriel indésirable. Si vous avez besoin d'aide supplémentaire, {supportLink}.",
|
||||||
"forgot.password.page.title": " Mot de passe oublié | {siteName}",
|
"forgot.password.page.title": " Mot de passe oublié | {siteName}",
|
||||||
@@ -38,7 +36,6 @@
|
|||||||
"forgot.password.error.message.title": "Une erreur est survenue.",
|
"forgot.password.error.message.title": "Une erreur est survenue.",
|
||||||
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
||||||
"forgot.password.empty.email.field.error": "Saisissez votre courriel",
|
"forgot.password.empty.email.field.error": "Saisissez votre courriel",
|
||||||
"forgot.password.invalid.email.message": "L'adresse email que vous avez fournie est incorrecte.",
|
|
||||||
"forgot.password.email.help.text": "L'adresse courriel que vous avez utilisée pour vous inscrire sur {platformName}",
|
"forgot.password.email.help.text": "L'adresse courriel que vous avez utilisée pour vous inscrire sur {platformName}",
|
||||||
"confirmation.message.title": "Vérifiez votre email",
|
"confirmation.message.title": "Vérifiez votre email",
|
||||||
"confirmation.support.link": "contacter le support technique",
|
"confirmation.support.link": "contacter le support technique",
|
||||||
@@ -53,7 +50,6 @@
|
|||||||
"token.validation.internal.sever.error.heading": "Échec de la validation du jeton",
|
"token.validation.internal.sever.error.heading": "Échec de la validation du jeton",
|
||||||
"token.validation.internal.sever.error": "Une erreur est survenue. Essayer de rafraîchir la page, ou vérifier votre connexion Internet.",
|
"token.validation.internal.sever.error": "Une erreur est survenue. Essayer de rafraîchir la page, ou vérifier votre connexion Internet.",
|
||||||
"internal.server.error": "Une erreur est survenue. Essayer de rafraîchir la page, ou vérifier votre connexion Internet.",
|
"internal.server.error": "Une erreur est survenue. Essayer de rafraîchir la page, ou vérifier votre connexion Internet.",
|
||||||
"rate.limit.error": "Une erreur s'est produite en raison d'un trop grand nombre de demandes. Veuillez réessayer après un certain temps.",
|
|
||||||
"account.activation.error.message": "Une erreur s'est produite, veuillez {supportLink} pour résoudre ce problème.",
|
"account.activation.error.message": "Une erreur s'est produite, veuillez {supportLink} pour résoudre ce problème.",
|
||||||
"login.inactive.user.error": "Pour vous connecter, vous devez activer votre compte.{lineBreak}\n {lineBreak}Nous venons d'envoyer un lien d'activation à {email}. Si vous ne recevez pas de courriel,\n vérifiez vos dossiers de spam ou {supportLink}.",
|
"login.inactive.user.error": "Pour vous connecter, vous devez activer votre compte.{lineBreak}\n {lineBreak}Nous venons d'envoyer un lien d'activation à {email}. Si vous ne recevez pas de courriel,\n vérifiez vos dossiers de spam ou {supportLink}.",
|
||||||
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
||||||
@@ -65,45 +61,32 @@
|
|||||||
"login.user.identity.label": "Nom d'utilisateur ou courriel",
|
"login.user.identity.label": "Nom d'utilisateur ou courriel",
|
||||||
"login.password.label": "Mot de passe",
|
"login.password.label": "Mot de passe",
|
||||||
"sign.in.button": "Connectez-vous",
|
"sign.in.button": "Connectez-vous",
|
||||||
"sign.in.btn.pending.state": "Chargement en cours",
|
|
||||||
"need.help.signing.in.collapsible.menu": "Besoin d'aide pour vous enregistrer?",
|
|
||||||
"forgot.password.link": "J'ai oublié mon mot de passe",
|
|
||||||
"forgot.password": "Mot de passe oublié",
|
"forgot.password": "Mot de passe oublié",
|
||||||
"other.sign.in.issues": "Autres problèmes de connexion",
|
|
||||||
"need.other.help.signing.in.collapsible.menu": "Encore besoin d'aide pour vous enregistrer?",
|
|
||||||
"institution.login.button": "Identifiants de l'établissement/du campus",
|
"institution.login.button": "Identifiants de l'établissement/du campus",
|
||||||
"institution.login.page.title": "Connectez vous avec les crédentiels d'institution ou de campus",
|
"institution.login.page.title": "Connectez vous avec les crédentiels d'institution ou de campus",
|
||||||
"institution.login.page.back.button": "Retour à la connexion",
|
|
||||||
"create.an.account": "Créer un compte",
|
|
||||||
"login.other.options.heading": "Ou se connecter avec :",
|
"login.other.options.heading": "Ou se connecter avec :",
|
||||||
"non.compliant.password.title": "Nous avons récemment modifié nos exigences en matière de mot de passe",
|
"non.compliant.password.title": "Nous avons récemment modifié nos exigences en matière de mot de passe",
|
||||||
"non.compliant.password.message": "Votre mot de passe actuel ne répond pas aux nouvelles exigences de sécurité. Nous venons d'envoyer un message de réinitialisation de mot de passe à l'adresse courriel associée à ce compte. Merci de nous aider à protéger vos données.",
|
"non.compliant.password.message": "Votre mot de passe actuel ne répond pas aux nouvelles exigences de sécurité. Nous venons d'envoyer un message de réinitialisation de mot de passe à l'adresse courriel associée à ce compte. Merci de nous aider à protéger vos données.",
|
||||||
"account.locked.out.message.1": "Pour protéger votre compte, il a été temporairement verrouillé. Réessayez dans 30 minutes.",
|
"account.locked.out.message.1": "Pour protéger votre compte, il a été temporairement verrouillé. Réessayez dans 30 minutes.",
|
||||||
"first.time.here": "C'est votre première visite ?",
|
|
||||||
"email.help.message": "L'adresse électronique que vous avez utilisée pour vous inscrire à edX.",
|
|
||||||
"enterprise.login.btn.text": "Identifiants de la compagnie ou de l'école",
|
"enterprise.login.btn.text": "Identifiants de la compagnie ou de l'école",
|
||||||
"email.format.validation.message": "L'adresse email que vous avez fournie est incorrecte.",
|
|
||||||
"username.or.email.format.validation.less.chars.message": "Le nom d'utilisateur ou l'adresse courriel doit comporter au moins 3 caractères.",
|
"username.or.email.format.validation.less.chars.message": "Le nom d'utilisateur ou l'adresse courriel doit comporter au moins 3 caractères.",
|
||||||
"email.validation.message": "Entrez votre nom d'utilisateur ou votre adresse courriel",
|
"email.validation.message": "Entrez votre nom d'utilisateur ou votre adresse courriel",
|
||||||
"password.validation.message": "Les critères de mot de passe n'ont pas été remplis",
|
"password.validation.message": "Les critères de mot de passe n'ont pas été remplis",
|
||||||
"register.link": "Créer un compte",
|
|
||||||
"sign.in.heading": "Connectez-vous",
|
|
||||||
"account.activation.success.message.title": "Succès! Vous avez activé votre compte.",
|
"account.activation.success.message.title": "Succès! Vous avez activé votre compte.",
|
||||||
"account.activation.success.message": "Vous recevrez maintenant des mises à jour par courriel et des alertes de notre part concernant les cours auxquels vous êtes inscrit. Connectez-vous pour continuer.",
|
"account.activation.success.message": "Vous recevrez maintenant des mises à jour par courriel et des alertes de notre part concernant les cours auxquels vous êtes inscrit. Connectez-vous pour continuer.",
|
||||||
"account.activation.info.message": "Ce compte a déjà été activé.",
|
"account.activation.info.message": "Ce compte a déjà été activé.",
|
||||||
"account.activation.error.message.title": "Votre compte n'a pas pu être activé",
|
"account.activation.error.message.title": "Votre compte n'a pas pu être activé",
|
||||||
"account.activation.support.link": "contacter le support",
|
"account.activation.support.link": "contacter le support",
|
||||||
"tpa.account.link": "{provider} account",
|
|
||||||
"account.confirmation.success.message.title": "Succès ! Vous avez confirmé votre courriel.",
|
"account.confirmation.success.message.title": "Succès ! Vous avez confirmé votre courriel.",
|
||||||
"account.confirmation.success.message": "Se connecter pour continuer.",
|
"account.confirmation.success.message": "Se connecter pour continuer.",
|
||||||
"account.confirmation.info.message": "Ce courriel a déjà été confirmé.",
|
"account.confirmation.info.message": "Ce courriel a déjà été confirmé.",
|
||||||
"account.confirmation.error.message.title": "Votre courriel ne peut pas être confirmé.",
|
"account.confirmation.error.message.title": "Votre courriel ne peut pas être confirmé.",
|
||||||
|
"tpa.account.link": "{provider} account",
|
||||||
|
"internal.server.error.message": "Une erreur est survenue. Essayer de rafraîchir la page, ou vérifier votre connexion Internet.",
|
||||||
"login.rate.limit.reached.message": "Trop de tentatives de connexion échouées. Réessayez plus tard.",
|
"login.rate.limit.reached.message": "Trop de tentatives de connexion échouées. Réessayez plus tard.",
|
||||||
"login.failure.header.title": "Nous n'avons pas pu vous connecter.",
|
"login.failure.header.title": "Nous n'avons pas pu vous connecter.",
|
||||||
"contact.support.link": "veuillez contacter le support {platformName}",
|
"contact.support.link": "veuillez contacter le support {platformName}",
|
||||||
"login.incorrect.credentials.error": "Le nom d'utilisateur, l'adresse courriel ou le mot de passe que vous avez saisis sont incorrects. Veuillez réessayer.",
|
"login.incorrect.credentials.error": "Le nom d'utilisateur, l'adresse courriel ou le mot de passe que vous avez saisis sont incorrects. Veuillez réessayer.",
|
||||||
"login.failed.attempt.error": "Il vous reste {remainingAttempts} tentatives de connexion supplémentaires avant que votre compte ne soit temporairement verrouillé.",
|
|
||||||
"login.locked.out.error.message": "Pour protéger votre compte, il a été temporairement verrouillé. Réessayez dans {lockedOutPeriod} minutes.",
|
|
||||||
"login.form.invalid.error.message": "Veuillez remplir les champs ci-dessous.",
|
"login.form.invalid.error.message": "Veuillez remplir les champs ci-dessous.",
|
||||||
"login.incorrect.credentials.error.reset.link.text": "réinitialiser votre mot de passe",
|
"login.incorrect.credentials.error.reset.link.text": "réinitialiser votre mot de passe",
|
||||||
"login.incorrect.credentials.error.before.account.blocked.text": "cliquez ici pour le réinitialiser.",
|
"login.incorrect.credentials.error.before.account.blocked.text": "cliquez ici pour le réinitialiser.",
|
||||||
@@ -113,8 +96,21 @@
|
|||||||
"password.security.block.body": "Notre système a détecté que votre mot de passe est vulnérable. Changez votre mot de passe afin que votre compte reste sécurisé.",
|
"password.security.block.body": "Notre système a détecté que votre mot de passe est vulnérable. Changez votre mot de passe afin que votre compte reste sécurisé.",
|
||||||
"password.security.close.button": "Fermer",
|
"password.security.close.button": "Fermer",
|
||||||
"password.security.redirect.to.reset.password.button": "Réinitialiser votre mot de passe",
|
"password.security.redirect.to.reset.password.button": "Réinitialiser votre mot de passe",
|
||||||
"register.page.terms.of.service.and.honor.code": "En créant un compte, vous acceptez le {tosAndHonorCode} et vous reconnaissez que {platformName} et chaque\n membre peut traiter vos données personnelles conformément à la {privacyPolicy}.",
|
"login.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"register.page.honor.code": "J'accepte le {tosAndHonorCode} {platformName}",
|
"progressive.profiling.page.title": "Welcome | {siteName}",
|
||||||
|
"progressive.profiling.page.heading": "Quelques questions pour vous nous aideront à devenir plus intelligents.",
|
||||||
|
"optional.fields.information.link": "En savoir plus sur la façon dont nous utilisons ces informations.",
|
||||||
|
"optional.fields.submit.button": "Envoyez",
|
||||||
|
"optional.fields.skip.button": "Ignorer pour l'instant",
|
||||||
|
"optional.fields.next.button": "Next",
|
||||||
|
"continue.to.platform": "Continuer vers {platformName}",
|
||||||
|
"modal.title": "Merci de nous en informer.",
|
||||||
|
"modal.description": "Vous pouvez compléter votre profil dans les paramètres à tout moment si vous changez d'avis.",
|
||||||
|
"welcome.page.error.heading": "Nous n'avons pas pu mettre à jour votre profil",
|
||||||
|
"welcome.page.error.message": "Une erreur s'est produite. Vous pouvez compléter votre profil dans les paramètres à tout moment.",
|
||||||
|
"recommendation.page.title": "Recommendations | {siteName}",
|
||||||
|
"recommendation.page.heading": "We have a few recommendations to get you started.",
|
||||||
|
"recommendation.skip.button": "Skip for now",
|
||||||
"register.page.title": "S'inscrire | {siteName}",
|
"register.page.title": "S'inscrire | {siteName}",
|
||||||
"registration.fullname.label": "Nom complet",
|
"registration.fullname.label": "Nom complet",
|
||||||
"registration.email.label": "Email",
|
"registration.email.label": "Email",
|
||||||
@@ -127,51 +123,34 @@
|
|||||||
"help.text.username.2": "Cela ne peut pas être modifié ultérieurement.",
|
"help.text.username.2": "Cela ne peut pas être modifié ultérieurement.",
|
||||||
"help.text.email": "Pour l'activation du compte et les mises à jour importantes",
|
"help.text.email": "Pour l'activation du compte et les mises à jour importantes",
|
||||||
"create.account.for.free.button": "Créer un compte gratuitement",
|
"create.account.for.free.button": "Créer un compte gratuitement",
|
||||||
"create.an.account.btn.pending.state": "Chargement en cours",
|
|
||||||
"registration.other.options.heading": "Ou inscrivez-vous avec :",
|
"registration.other.options.heading": "Ou inscrivez-vous avec :",
|
||||||
"register.institution.login.button": "Identifiants de l'établissement/du campus",
|
"register.institution.login.button": "Identifiants de l'établissement/du campus",
|
||||||
"register.institution.login.page.title": "Inscription avec les crédentiels d'institution ou de campus",
|
"register.institution.login.page.title": "Inscription avec les crédentiels d'institution ou de campus",
|
||||||
"empty.name.field.error": "Saisissez votre nom complet",
|
"empty.name.field.error": "Saisissez votre nom complet",
|
||||||
"empty.email.field.error": "Saisissez votre courriel",
|
"empty.email.field.error": "Saisissez votre courriel",
|
||||||
"email.do.not.match": "The email addresses do not match.",
|
|
||||||
"empty.username.field.error": "Le nom d'utilisateur doit comporter entre 2 et 30 caractères",
|
"empty.username.field.error": "Le nom d'utilisateur doit comporter entre 2 et 30 caractères",
|
||||||
"empty.password.field.error": "Les critères de mot de passe n'ont pas été remplis",
|
"empty.password.field.error": "Les critères de mot de passe n'ont pas été remplis",
|
||||||
"empty.country.field.error": "Sélectionnez votre pays ou région de résidence",
|
"empty.country.field.error": "Sélectionnez votre pays ou région de résidence",
|
||||||
|
"email.do.not.match": "The email addresses do not match.",
|
||||||
"email.invalid.format.error": "Enter a valid email address",
|
"email.invalid.format.error": "Enter a valid email address",
|
||||||
"email.ratelimit.less.chars.validation.message": "Le courriel doit comporter 3 caractères.",
|
|
||||||
"username.validation.message": "Le nom d'utilisateur doit comporter entre 2 et 30 caractères",
|
"username.validation.message": "Le nom d'utilisateur doit comporter entre 2 et 30 caractères",
|
||||||
"name.validation.message": "Enter a valid name",
|
"name.validation.message": "Enter a valid name",
|
||||||
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
||||||
"support.education.research": "Soutenez la recherche en éducation en fournissant des informations additionnelles. (Optionel)",
|
|
||||||
"registration.request.failure.header": "Nous n'avons pas pu créer votre compte.",
|
"registration.request.failure.header": "Nous n'avons pas pu créer votre compte.",
|
||||||
"registration.empty.form.submission.error": "Veuillez vérifier vos réponses et réessayer.",
|
"registration.empty.form.submission.error": "Veuillez vérifier vos réponses et réessayer.",
|
||||||
"registration.request.server.error": "Une erreur est survenue. Essayer de rafraîchir la page, ou vérifier votre connexion Internet.",
|
"registration.request.server.error": "Une erreur est survenue. Essayer de rafraîchir la page, ou vérifier votre connexion Internet.",
|
||||||
"registration.rate.limit.error": "Trop de tentatives d'inscriptions ont échoué. Réessayez plus tard.",
|
"registration.rate.limit.error": "Trop de tentatives d'inscriptions ont échoué. Réessayez plus tard.",
|
||||||
"registration.tpa.session.expired": "L'inscription avec {provider} a échouée.",
|
"registration.tpa.session.expired": "L'inscription avec {provider} a échouée.",
|
||||||
|
"registration.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"terms.of.service.and.honor.code": "Conditions d'utilisation et Code d'honneur",
|
"terms.of.service.and.honor.code": "Conditions d'utilisation et Code d'honneur",
|
||||||
"privacy.policy": "Politique de confidentialité",
|
"privacy.policy": "Politique de confidentialité",
|
||||||
"honor.code": "Code d'honneur",
|
"honor.code": "Code d'honneur",
|
||||||
"terms.of.service": " Conditions d'utilisation",
|
"terms.of.service": " Conditions d'utilisation",
|
||||||
"registration.year.of.birth.label": "Année de naissance (facultatif)",
|
|
||||||
"registration.field.gender.options.label": "Sexe (facultatif)",
|
|
||||||
"registration.goals.label": "Dites-nous pourquoi vous êtes intéressé par edX (facultatif)",
|
|
||||||
"registration.field.gender.options.f": "Femme",
|
|
||||||
"registration.field.gender.options.m": "Homme",
|
|
||||||
"registration.field.gender.options.o": "Autre / Préfère ne pas répondre",
|
|
||||||
"registration.field.education.levels.label": "Plus haut niveau de scolarité atteint (facultatif)",
|
|
||||||
"registration.field.education.levels.p": "Doctorat",
|
|
||||||
"registration.field.education.levels.m": "Master ou diplôme professionnel",
|
|
||||||
"registration.field.education.levels.b": "Diplôme de premier cycle supérieur",
|
|
||||||
"registration.field.education.levels.a": "Grade de l'associé",
|
|
||||||
"registration.field.education.levels.hs": "Lycée / enseignement secondaire",
|
|
||||||
"registration.field.education.levels.jhs": "Collège / enseignement secondaire inférieur",
|
|
||||||
"registration.field.education.levels.el": "Enseignement primaire",
|
|
||||||
"registration.field.education.levels.none": "Sans diplôme",
|
|
||||||
"registration.field.education.levels.other": "Autre niveau d'étude",
|
|
||||||
"registration.username.suggestion.label": "Suggéré :",
|
"registration.username.suggestion.label": "Suggéré :",
|
||||||
"registration.using.tpa.form.heading": "Terminer la création de votre compte",
|
|
||||||
"did.you.mean.alert.text": "Vouliez-vous dire",
|
"did.you.mean.alert.text": "Vouliez-vous dire",
|
||||||
"register.page.terms.of.service": "J'accepte les {termsOfService} {platformName}",
|
"register.page.terms.of.service.and.honor.code": "En créant un compte, vous acceptez le {tosAndHonorCode} et vous reconnaissez que {platformName} et chaque\n membre peut traiter vos données personnelles conformément à la {privacyPolicy}.",
|
||||||
|
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
||||||
|
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
||||||
"sign.in": "Connectez-vous",
|
"sign.in": "Connectez-vous",
|
||||||
"reset.password.page.title": "Réinitialiser le mot de passe | {siteName}",
|
"reset.password.page.title": "Réinitialiser le mot de passe | {siteName}",
|
||||||
"reset.password": "Réinitialiser le mot de passe",
|
"reset.password": "Réinitialiser le mot de passe",
|
||||||
@@ -180,40 +159,10 @@
|
|||||||
"confirm.password.label": "Confirmer le mot de passe",
|
"confirm.password.label": "Confirmer le mot de passe",
|
||||||
"passwords.do.not.match": "Les mots de passe ne correspondent pas",
|
"passwords.do.not.match": "Les mots de passe ne correspondent pas",
|
||||||
"confirm.your.password": "Confirmer votre mot de passe",
|
"confirm.your.password": "Confirmer votre mot de passe",
|
||||||
"forgot.password.confirmation.sign.in.link": "connexion",
|
|
||||||
"reset.password.request.forgot.password.text": "Mot de passe oublié",
|
|
||||||
"reset.password.request.invalid.token.header": "Lien de réinitialisation du mot de passe non valide",
|
|
||||||
"reset.password.empty.new.password.field.error": "Veuillez entrer votre nouveau mot de passe.",
|
|
||||||
"reset.password.failure.heading": "Nous n'avons pas pu réinitialiser votre mot de passe.",
|
"reset.password.failure.heading": "Nous n'avons pas pu réinitialiser votre mot de passe.",
|
||||||
"reset.password.form.submission.error": "Veuillez vérifier vos réponses et réessayer.",
|
"reset.password.form.submission.error": "Veuillez vérifier vos réponses et réessayer.",
|
||||||
"reset.password.request.server.error": "Échec de la réinitialisation du mot de passe",
|
|
||||||
"reset.password.token.validation.sever.error": "Échec de la validation du jeton",
|
|
||||||
"reset.server.rate.limit.error": "Trop de demandes.",
|
"reset.server.rate.limit.error": "Trop de demandes.",
|
||||||
"reset.password.success.heading": "Réinitialisation du mot de passe complétée.",
|
"reset.password.success.heading": "Réinitialisation du mot de passe complétée.",
|
||||||
"reset.password.success": "Votre mot de passe a été réinitialisé. Connectez-vous à votre compte.",
|
"reset.password.success": "Votre mot de passe a été réinitialisé. Connectez-vous à votre compte.",
|
||||||
"progressive.profiling.page.title": "Champs optionnels | {siteName}",
|
"rate.limit.error": "Une erreur s'est produite en raison d'un trop grand nombre de demandes. Veuillez réessayer après un certain temps."
|
||||||
"progressive.profiling.page.heading": "Quelques questions pour vous nous aideront à devenir plus intelligents.",
|
|
||||||
"gender.options.label": "Sexe (facultatif)",
|
|
||||||
"gender.options.f": "Femme",
|
|
||||||
"gender.options.m": "Homme",
|
|
||||||
"gender.options.o": "Autre / Préfère ne pas répondre",
|
|
||||||
"education.levels.label": "Plus haut niveau de scolarité atteint (facultatif)",
|
|
||||||
"education.levels.p": "Doctorat",
|
|
||||||
"education.levels.m": "Master ou diplôme professionnel",
|
|
||||||
"education.levels.b": "Diplôme de premier cycle supérieur",
|
|
||||||
"education.levels.a": "Grade de l'associé",
|
|
||||||
"education.levels.hs": "Lycée / enseignement secondaire",
|
|
||||||
"education.levels.jhs": "Collège / enseignement secondaire inférieur",
|
|
||||||
"education.levels.el": "Enseignement primaire",
|
|
||||||
"education.levels.none": "Sans diplôme",
|
|
||||||
"education.levels.other": "Autre niveau d'étude",
|
|
||||||
"year.of.birth.label": "Année de naissance (facultatif)",
|
|
||||||
"optional.fields.information.link": "En savoir plus sur la façon dont nous utilisons ces informations.",
|
|
||||||
"optional.fields.submit.button": "Envoyez",
|
|
||||||
"optional.fields.skip.button": "Ignorer pour l'instant",
|
|
||||||
"continue.to.platform": "Continuer vers {platformName}",
|
|
||||||
"modal.title": "Merci de nous en informer.",
|
|
||||||
"modal.description": "Vous pouvez compléter votre profil dans les paramètres à tout moment si vous changez d'avis.",
|
|
||||||
"welcome.page.error.heading": "Nous n'avons pas pu mettre à jour votre profil",
|
|
||||||
"welcome.page.error.message": "Une erreur s'est produite. Vous pouvez compléter votre profil dans les paramètres à tout moment."
|
|
||||||
}
|
}
|
||||||
168
src/i18n/messages/fr_CA.json
Normal file
168
src/i18n/messages/fr_CA.json
Normal file
@@ -0,0 +1,168 @@
|
|||||||
|
{
|
||||||
|
"start.learning": "Démarrer l'apprentissage",
|
||||||
|
"with.site.name": "avec {siteName}",
|
||||||
|
"complete.your.profile.1": "Complet",
|
||||||
|
"complete.your.profile.2": "votre profil",
|
||||||
|
"welcome.to.platform": "Bienvenue sur {siteName}, {username}!",
|
||||||
|
"institution.login.page.sub.heading": "Sélectionner votre institution dans la liste ci-dessous",
|
||||||
|
"logistration.sign.in": "Connexion",
|
||||||
|
"logistration.register": "Inscription",
|
||||||
|
"enterprisetpa.title.heading": "Souhaitez-vous vous connecter à l'aide de vos identifiants {providerName}?",
|
||||||
|
"enterprisetpa.login.button.text": "Affichez moi d'autres façons de se connecter ou de s'inscrire",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Montrez-moi d'autres façons de me connecter",
|
||||||
|
"sso.sign.in.with": "Connectez-vous avec {providerName}",
|
||||||
|
"sso.create.account.using": "Créer un compte avec {providerName}",
|
||||||
|
"show.password": "Afficher le mot de passe",
|
||||||
|
"hide.password": "Cacher le mot de passe",
|
||||||
|
"one.letter": "1 lettre",
|
||||||
|
"one.number": "1 numéro",
|
||||||
|
"eight.characters": "8 caractères",
|
||||||
|
"password.sr.only.helping.text": "Le mot de passe doit contenir au moins 8 caractères, au moins une lettre et au moins un chiffre",
|
||||||
|
"tpa.alert.heading": "Presque terminé!",
|
||||||
|
"login.third.party.auth.account.not.linked": "Vous vous êtes connecté avec succès à {currentProvider}, mais votre compte {currentProvider} n'a pas de compte relié à {platformName}. Pour lier vos comptes, connectez-vous en utilisant votre mot de passe {platformName}.",
|
||||||
|
"register.third.party.auth.account.not.linked": "Vous vous êtes connecté avec succès à {currentProvider}! Nous avons juste besoin d'un peu plus d'informations avant que vous commenciez à apprendre avec {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "Terminer la création de votre compte",
|
||||||
|
"zendesk.supportTitle": "Prise en charge d'edX",
|
||||||
|
"zendesk.selectTicketForm": "Veuillez choisir votre type de demande :",
|
||||||
|
"error.notfound.message": "La page que vous recherchez n'est pas disponible ou il y a une erreur dans l'URL. Veuillez vérifier l'URL et réessayer.",
|
||||||
|
"forgot.password.confirmation.message": "Nous avons envoyé un courriel à {email} avec des instructions pour réinitialiser votre mot de passe.\n Si vous ne recevez pas de message de réinitialisation de mot de passe après 1 minute, vérifiez que vous avez saisi\nl'adresse courriel correctement, ou vérifiez votre dossier de pourriels. Si vous avez besoin d'aide supplémentaire, {supportLink}.",
|
||||||
|
"forgot.password.page.title": "Mot de passe oublié | {siteName}",
|
||||||
|
"forgot.password.page.heading": "Réinitialiser le mot de passe",
|
||||||
|
"forgot.password.page.instructions": "Veuillez entrer votre adresse courriel ci-dessous et nous vous enverrons un courriel avec les instructions pour réinitialiser votre mot de passe.",
|
||||||
|
"forgot.password.page.invalid.email.message": "Entrez une adresse de courriel valide",
|
||||||
|
"forgot.password.page.email.field.label": "Courriel",
|
||||||
|
"forgot.password.page.submit.button": "Soumettre",
|
||||||
|
"forgot.password.error.alert.title.": "Nous n'avons pas pu vous contacter.",
|
||||||
|
"forgot.password.error.message.title": "Une erreur est survenue.",
|
||||||
|
"forgot.password.request.in.progress.message": "Votre demande précédente est en cours, veuillez réessayer dans quelques instants.",
|
||||||
|
"forgot.password.empty.email.field.error": "Saisissez votre courriel",
|
||||||
|
"forgot.password.email.help.text": "L'adresse courriel que vous avez utilisée pour vous inscrire sur {platformName}",
|
||||||
|
"confirmation.message.title": "Vérifiez votre courriel",
|
||||||
|
"confirmation.support.link": "contacter le support technique",
|
||||||
|
"need.help.sign.in.text": "Besoin d'aide pour vous connecter?",
|
||||||
|
"additional.help.text": "Pour obtenir une aide supplémentaire, contactez l'assistance {platformName} à l'adresse",
|
||||||
|
"sign.in.text": "Connexion",
|
||||||
|
"extend.field.errors": "{emailError} ci-dessous.",
|
||||||
|
"invalid.token.heading": "Lien de réinitialisation du mot de passe non valide",
|
||||||
|
"invalid.token.error.message": "Ce lien de réinitialisation de mot de passe n'est pas valide. Il a peut-être déjà été utilisé. Entrez votre courriel ci-dessous pour recevoir un nouveau lien.",
|
||||||
|
"token.validation.rate.limit.error.heading": "Trop de demandes",
|
||||||
|
"token.validation.rate.limit.error": "Une erreur s'est produite en raison d'un trop grand nombre de demandes. Veuillez réessayer après un certain temps.",
|
||||||
|
"token.validation.internal.sever.error.heading": "Échec de la validation du jeton",
|
||||||
|
"token.validation.internal.sever.error": "Une erreur est survenue. Essayer de rafraîchir la page, ou vérifier votre connexion Internet.",
|
||||||
|
"internal.server.error": "Une erreur est survenue. Essayer de rafraîchir la page, ou vérifier votre connexion Internet.",
|
||||||
|
"account.activation.error.message": "Une erreur s'est produite, veuillez {supportLink} pour résoudre ce problème.",
|
||||||
|
"login.inactive.user.error": "Pour vous connecter, vous devez activer votre compte.{lineBreak}\n {lineBreak}Nous venons d'envoyer un lien d'activation à {email}. Si vous ne recevez pas de courriel,\n vérifiez vos dossiers de pourriels ou {supportLink}.",
|
||||||
|
"allowed.domain.login.error": "En tant qu'utilisateur {allowedDomain}, vous devez vous connecter avec votre {allowedDomain} {tpaLink}.",
|
||||||
|
"login.incorrect.credentials.error.attempts.text.1": "Le nom d'utilisateur, le courriel ou le mot de passe que vous avez entré sont incorrects. Vous avez {remainingAttempts} tentatives\n de connexion avant que votre compte soit temporairement verrouillé.",
|
||||||
|
"login.incorrect.credentials.error.attempts.text.2": "Si vous avez oublié votre mot de passe, {resetLink}",
|
||||||
|
"account.locked.out.message.2": "Par mesure de sécurité, vous pouvez {resetLink} avant de réessayer.",
|
||||||
|
"login.incorrect.credentials.error.with.reset.link": "Le nom d'utilisateur, l'adresse courriel ou le mot de passe que vous avez saisis sont incorrects. Veuillez réessayer ou {resetLink}.",
|
||||||
|
"login.page.title": "Connexion | {siteName}",
|
||||||
|
"login.user.identity.label": "Nom d'utilisateur ou courriel",
|
||||||
|
"login.password.label": "Mot de passe",
|
||||||
|
"sign.in.button": "Connexion",
|
||||||
|
"forgot.password": "Mot de passe oublié",
|
||||||
|
"institution.login.button": "Identifiants de l'établissement/du campus",
|
||||||
|
"institution.login.page.title": "Connectez vous avec les crédentiels d'institution ou de campus",
|
||||||
|
"login.other.options.heading": "Ou se connecter avec :",
|
||||||
|
"non.compliant.password.title": "Nous avons récemment modifié nos exigences en matière de mot de passe",
|
||||||
|
"non.compliant.password.message": "Votre mot de passe actuel ne répond pas aux nouvelles exigences de sécurité. Nous venons d'envoyer un message de réinitialisation de mot de passe à l'adresse courriel associée à ce compte. Merci de nous aider à protéger vos données.",
|
||||||
|
"account.locked.out.message.1": "Pour protéger votre compte, il a été temporairement verrouillé. Réessayez dans 30 minutes.",
|
||||||
|
"enterprise.login.btn.text": "Identifiants de la compagnie ou de l'école",
|
||||||
|
"username.or.email.format.validation.less.chars.message": "Le nom d'utilisateur ou l'adresse courriel doit comporter au moins 3 caractères.",
|
||||||
|
"email.validation.message": "Entrez votre nom d'utilisateur ou votre adresse courriel",
|
||||||
|
"password.validation.message": "Les critères de mot de passe n'ont pas été remplis",
|
||||||
|
"account.activation.success.message.title": "Succès! Vous avez activé votre compte.",
|
||||||
|
"account.activation.success.message": "Vous recevrez maintenant des mises à jour par courriel et des alertes de notre part concernant les cours auxquels vous êtes inscrit. Connectez-vous pour continuer.",
|
||||||
|
"account.activation.info.message": "Ce compte a déjà été activé.",
|
||||||
|
"account.activation.error.message.title": "Votre compte n'a pas pu être activé",
|
||||||
|
"account.activation.support.link": "contacter le support",
|
||||||
|
"account.confirmation.success.message.title": "Bravo! Vous avez confirmé votre courriel.",
|
||||||
|
"account.confirmation.success.message": "Se connecter pour continuer.",
|
||||||
|
"account.confirmation.info.message": "Ce courriel a déjà été confirmé.",
|
||||||
|
"account.confirmation.error.message.title": "Votre courriel ne peut pas être confirmé",
|
||||||
|
"tpa.account.link": "compte {provider}",
|
||||||
|
"internal.server.error.message": "Une erreur est survenue. Essayer de rafraîchir la page, ou vérifier votre connexion Internet.",
|
||||||
|
"login.rate.limit.reached.message": "Trop de tentatives d'accès refusées. Essayer plus tard.",
|
||||||
|
"login.failure.header.title": "Nous n'avons pas pu vous connecter.",
|
||||||
|
"contact.support.link": "veuillez contacter le support {platformName}",
|
||||||
|
"login.incorrect.credentials.error": "Le nom d'utilisateur, l'adresse courriel ou le mot de passe que vous avez saisis sont incorrects. Veuillez réessayer.",
|
||||||
|
"login.form.invalid.error.message": "Veuillez remplir les champs ci-dessous.",
|
||||||
|
"login.incorrect.credentials.error.reset.link.text": "réinitialiser votre mot de passe",
|
||||||
|
"login.incorrect.credentials.error.before.account.blocked.text": "cliquez ici pour le réinitialiser.",
|
||||||
|
"password.security.nudge.title": "Sécurité du mot de passe",
|
||||||
|
"password.security.block.title": "Changement de mot de passe requis",
|
||||||
|
"password.security.nudge.body": "Notre système a détecté que votre mot de passe est vulnérable. Nous vous recommandons de le modifier afin que votre compte reste sécurisé.",
|
||||||
|
"password.security.block.body": "Notre système a détecté que votre mot de passe est vulnérable. Changez votre mot de passe afin que votre compte reste sécurisé.",
|
||||||
|
"password.security.close.button": "Fermer",
|
||||||
|
"password.security.redirect.to.reset.password.button": "Réinitialiser votre mot de passe",
|
||||||
|
"login.tpa.authentication.failure": "Nous sommes désolés, vous n'êtes pas autorisé à accéder à {platform_name} via ce canal. Veuillez contacter votre administrateur ou responsable de formation pour accéder à {platform_name}.{lineBreak}{lineBreak}Détails de l'erreur :{lineBreak}{errorMessage}",
|
||||||
|
"progressive.profiling.page.title": "Bienvenue | {siteName}",
|
||||||
|
"progressive.profiling.page.heading": "Quelques questions pour vous nous aideront à devenir plus intelligents.",
|
||||||
|
"optional.fields.information.link": "En savoir plus sur la façon dont nous utilisons ces informations.",
|
||||||
|
"optional.fields.submit.button": "Soumettre",
|
||||||
|
"optional.fields.skip.button": "Ignorer pour l'instant",
|
||||||
|
"optional.fields.next.button": "Suivant",
|
||||||
|
"continue.to.platform": "Continuer vers {platformName}",
|
||||||
|
"modal.title": "Merci de nous en informer.",
|
||||||
|
"modal.description": "Vous pouvez compléter votre profil dans les paramètres à tout moment si vous changez d'avis.",
|
||||||
|
"welcome.page.error.heading": "Nous n'avons pas pu mettre à jour votre profil",
|
||||||
|
"welcome.page.error.message": "Une erreur s'est produite. Vous pouvez compléter votre profil dans les paramètres à tout moment.",
|
||||||
|
"recommendation.page.title": "Recommandations | {siteName}",
|
||||||
|
"recommendation.page.heading": "Nous avons quelques recommandations pour vous aider à démarrer.",
|
||||||
|
"recommendation.skip.button": "Ignorer pour l'instant",
|
||||||
|
"register.page.title": "S'inscrire | {siteName}",
|
||||||
|
"registration.fullname.label": "Nom complet",
|
||||||
|
"registration.email.label": "Courriel",
|
||||||
|
"registration.username.label": "Nom d'utilisateur",
|
||||||
|
"registration.password.label": "Mot de passe",
|
||||||
|
"registration.country.label": "Pays/Région",
|
||||||
|
"registration.opt.in.label": "{siteName} peux m'envoyer des messages de marketing.",
|
||||||
|
"help.text.name": "Ce nom sera utilisé pour toutes les attestations que vous obtiendrez.",
|
||||||
|
"help.text.username.1": "Le nom qui vous identifiera dans vos cours.",
|
||||||
|
"help.text.username.2": "Cela ne peut pas être modifié ultérieurement.",
|
||||||
|
"help.text.email": "Pour l'activation du compte et les mises à jour importantes",
|
||||||
|
"create.account.for.free.button": "Créer un compte gratuitement",
|
||||||
|
"registration.other.options.heading": "Ou inscrivez-vous avec :",
|
||||||
|
"register.institution.login.button": "Identifiants de l'établissement/du campus",
|
||||||
|
"register.institution.login.page.title": "Inscription avec les crédentiels d'institution ou de campus",
|
||||||
|
"empty.name.field.error": "Saisissez votre nom complet",
|
||||||
|
"empty.email.field.error": "Saisissez votre courriel",
|
||||||
|
"empty.username.field.error": "Le nom d'utilisateur doit comporter entre 2 et 30 caractères",
|
||||||
|
"empty.password.field.error": "Les critères de mot de passe n'ont pas été remplis",
|
||||||
|
"empty.country.field.error": "Sélectionnez votre pays ou région de résidence",
|
||||||
|
"email.do.not.match": "Les adresses courriel ne correspondent pas.",
|
||||||
|
"email.invalid.format.error": "Entrez une adresse de courriel valide",
|
||||||
|
"username.validation.message": "Le nom d'utilisateur doit comporter entre 2 et 30 caractères",
|
||||||
|
"name.validation.message": "Entrez un nom valide",
|
||||||
|
"username.format.validation.message": "Les noms d'utilisateur ne peuvent contenir que des lettres (AZ, az), des chiffres (0-9), des traits de soulignement (_) et des traits d'union (-). Les noms d'utilisateur ne peuvent pas contenir d'espaces",
|
||||||
|
"registration.request.failure.header": "Nous n'avons pas pu créer votre compte.",
|
||||||
|
"registration.empty.form.submission.error": "Veuillez vérifier vos réponses et réessayer.",
|
||||||
|
"registration.request.server.error": "Une erreur est survenue. Essayer de rafraîchir la page, ou vérifier votre connexion Internet.",
|
||||||
|
"registration.rate.limit.error": "Trop de tentatives d'inscriptions ont échoué. Réessayez plus tard.",
|
||||||
|
"registration.tpa.session.expired": "L'inscription à l'aide de {provider} a expiré.",
|
||||||
|
"registration.tpa.authentication.failure": "Nous sommes désolés, vous n'êtes pas autorisé à accéder à {platform_name} via ce canal. Veuillez contacter votre administrateur ou responsable de formation pour accéder à {platform_name}.{lineBreak}{lineBreak}Détails de l'erreur :{lineBreak}{errorMessage}",
|
||||||
|
"terms.of.service.and.honor.code": "Conditions générales du service et code d'honneur",
|
||||||
|
"privacy.policy": "Politique de confidentialité",
|
||||||
|
"honor.code": "Code d'honneur",
|
||||||
|
"terms.of.service": "Conditions générales du service",
|
||||||
|
"registration.username.suggestion.label": "Suggéré :",
|
||||||
|
"did.you.mean.alert.text": "Vouliez-vous dire",
|
||||||
|
"register.page.terms.of.service.and.honor.code": "En créant un compte, vous acceptez le {tosAndHonorCode} et vous reconnaissez que {platformName} et chaque\n membre peut traiter vos données personnelles conformément à la {privacyPolicy}.",
|
||||||
|
"register.page.honor.code": "J'accepte le {tosAndHonorCode} {platformName}",
|
||||||
|
"register.page.terms.of.service": "J'accepte les {termsOfService} {platformName}",
|
||||||
|
"sign.in": "Connexion",
|
||||||
|
"reset.password.page.title": "Réinitialiser le mot de passe | {siteName}",
|
||||||
|
"reset.password": "Réinitialiser le mot de passe",
|
||||||
|
"reset.password.page.instructions": "Saisir et confirmer votre nouveau mot de passe.",
|
||||||
|
"new.password.label": "Nouveau mot de passe",
|
||||||
|
"confirm.password.label": "Confirmer le mot de passe",
|
||||||
|
"passwords.do.not.match": "Les mots de passe ne correspondent pas",
|
||||||
|
"confirm.your.password": "Confirmer votre mot de passe",
|
||||||
|
"reset.password.failure.heading": "Nous n'avons pas pu réinitialiser votre mot de passe.",
|
||||||
|
"reset.password.form.submission.error": "Veuillez vérifier vos réponses et réessayer.",
|
||||||
|
"reset.server.rate.limit.error": "Trop de demandes.",
|
||||||
|
"reset.password.success.heading": "Réinitialisation du mot de passe complétée.",
|
||||||
|
"reset.password.success": "Votre mot de passe a été réinitialisé. Connectez-vous à votre compte.",
|
||||||
|
"rate.limit.error": "Une erreur s'est produite en raison d'un trop grand nombre de demandes. Veuillez réessayer après un certain temps."
|
||||||
|
}
|
||||||
@@ -5,16 +5,11 @@
|
|||||||
"complete.your.profile.2": "your profile",
|
"complete.your.profile.2": "your profile",
|
||||||
"welcome.to.platform": "Welcome to {siteName}, {username}!",
|
"welcome.to.platform": "Welcome to {siteName}, {username}!",
|
||||||
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
||||||
"forgot.password.confirmation.title": "Check your email",
|
|
||||||
"forgot.password.confirmation.support.link": "contact technical support",
|
|
||||||
"forgot.password.confirmation.info": "If you do not receive a password reset message after 1 minute, verify that you entered the correct email address, or check your spam folder.",
|
|
||||||
"logistration.sign.in": "Sign in",
|
"logistration.sign.in": "Sign in",
|
||||||
"logistration.register": "Register",
|
"logistration.register": "Register",
|
||||||
"internal.server.error.message": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
|
||||||
"server.ratelimit.error.message": "An error has occurred because of too many requests. Please try again after some time.",
|
|
||||||
"enterprisetpa.title.heading": "Would you like to sign in using your {providerName} credentials?",
|
"enterprisetpa.title.heading": "Would you like to sign in using your {providerName} credentials?",
|
||||||
"enterprisetpa.sso.button.title": "Sign in using {providerName}",
|
|
||||||
"enterprisetpa.login.button.text": "Show me other ways to sign in or register",
|
"enterprisetpa.login.button.text": "Show me other ways to sign in or register",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Show me other ways to sign in",
|
||||||
"sso.sign.in.with": "Sign in with {providerName}",
|
"sso.sign.in.with": "Sign in with {providerName}",
|
||||||
"sso.create.account.using": "Create account using {providerName}",
|
"sso.create.account.using": "Create account using {providerName}",
|
||||||
"show.password": "Show password",
|
"show.password": "Show password",
|
||||||
@@ -26,6 +21,9 @@
|
|||||||
"tpa.alert.heading": "Almost done!",
|
"tpa.alert.heading": "Almost done!",
|
||||||
"login.third.party.auth.account.not.linked": "You have successfully signed into {currentProvider}, but your {currentProvider} account does not have a linked {platformName} account. To link your accounts, sign in now using your {platformName} password.",
|
"login.third.party.auth.account.not.linked": "You have successfully signed into {currentProvider}, but your {currentProvider} account does not have a linked {platformName} account. To link your accounts, sign in now using your {platformName} password.",
|
||||||
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "Finish creating your account",
|
||||||
|
"zendesk.supportTitle": "edX Support",
|
||||||
|
"zendesk.selectTicketForm": "Please choose your request type:",
|
||||||
"error.notfound.message": "The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again.",
|
"error.notfound.message": "The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again.",
|
||||||
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
||||||
"forgot.password.page.title": "Forgot Password | {siteName}",
|
"forgot.password.page.title": "Forgot Password | {siteName}",
|
||||||
@@ -38,7 +36,6 @@
|
|||||||
"forgot.password.error.message.title": "An error occurred.",
|
"forgot.password.error.message.title": "An error occurred.",
|
||||||
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
||||||
"forgot.password.empty.email.field.error": "Enter your email",
|
"forgot.password.empty.email.field.error": "Enter your email",
|
||||||
"forgot.password.invalid.email.message": "The email address you've provided isn't formatted correctly.",
|
|
||||||
"forgot.password.email.help.text": "The email address you used to register with {platformName}",
|
"forgot.password.email.help.text": "The email address you used to register with {platformName}",
|
||||||
"confirmation.message.title": "Check your email",
|
"confirmation.message.title": "Check your email",
|
||||||
"confirmation.support.link": "contact technical support",
|
"confirmation.support.link": "contact technical support",
|
||||||
@@ -53,7 +50,6 @@
|
|||||||
"token.validation.internal.sever.error.heading": "Token validation failure",
|
"token.validation.internal.sever.error.heading": "Token validation failure",
|
||||||
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time.",
|
|
||||||
"account.activation.error.message": "Something went wrong, please {supportLink} to resolve this issue.",
|
"account.activation.error.message": "Something went wrong, please {supportLink} to resolve this issue.",
|
||||||
"login.inactive.user.error": "In order to sign in, you need to activate your account.{lineBreak}\n {lineBreak}We just sent an activation link to {email}. If you do not receive an email,\n check your spam folders or {supportLink}.",
|
"login.inactive.user.error": "In order to sign in, you need to activate your account.{lineBreak}\n {lineBreak}We just sent an activation link to {email}. If you do not receive an email,\n check your spam folders or {supportLink}.",
|
||||||
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
||||||
@@ -65,45 +61,32 @@
|
|||||||
"login.user.identity.label": "Username or email",
|
"login.user.identity.label": "Username or email",
|
||||||
"login.password.label": "Password",
|
"login.password.label": "Password",
|
||||||
"sign.in.button": "Sign in",
|
"sign.in.button": "Sign in",
|
||||||
"sign.in.btn.pending.state": "Loading",
|
|
||||||
"need.help.signing.in.collapsible.menu": "Need help signing in?",
|
|
||||||
"forgot.password.link": "Forgot my password",
|
|
||||||
"forgot.password": "Forgot password",
|
"forgot.password": "Forgot password",
|
||||||
"other.sign.in.issues": "Other sign in issues",
|
|
||||||
"need.other.help.signing.in.collapsible.menu": "Need other help signing in?",
|
|
||||||
"institution.login.button": "Institution/campus credentials",
|
"institution.login.button": "Institution/campus credentials",
|
||||||
"institution.login.page.title": "Sign in with institution/campus credentials",
|
"institution.login.page.title": "Sign in with institution/campus credentials",
|
||||||
"institution.login.page.back.button": "Back to sign in",
|
|
||||||
"create.an.account": "Create an account",
|
|
||||||
"login.other.options.heading": "Or sign in with:",
|
"login.other.options.heading": "Or sign in with:",
|
||||||
"non.compliant.password.title": "We recently changed our password requirements",
|
"non.compliant.password.title": "We recently changed our password requirements",
|
||||||
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
||||||
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
||||||
"first.time.here": "First time here?",
|
|
||||||
"email.help.message": "The email address you used to register with edX.",
|
|
||||||
"enterprise.login.btn.text": "Company or school credentials",
|
"enterprise.login.btn.text": "Company or school credentials",
|
||||||
"email.format.validation.message": "The email address you've provided isn't formatted correctly.",
|
|
||||||
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
||||||
"email.validation.message": "Enter your username or email",
|
"email.validation.message": "Enter your username or email",
|
||||||
"password.validation.message": "Password criteria has not been met",
|
"password.validation.message": "Password criteria has not been met",
|
||||||
"register.link": "Create an account",
|
|
||||||
"sign.in.heading": "Sign in",
|
|
||||||
"account.activation.success.message.title": "Success! You have activated your account.",
|
"account.activation.success.message.title": "Success! You have activated your account.",
|
||||||
"account.activation.success.message": "You will now receive email updates and alerts from us related to the courses you are enrolled in. Sign in to continue.",
|
"account.activation.success.message": "You will now receive email updates and alerts from us related to the courses you are enrolled in. Sign in to continue.",
|
||||||
"account.activation.info.message": "This account has already been activated.",
|
"account.activation.info.message": "This account has already been activated.",
|
||||||
"account.activation.error.message.title": "Your account could not be activated",
|
"account.activation.error.message.title": "Your account could not be activated",
|
||||||
"account.activation.support.link": "contact support",
|
"account.activation.support.link": "contact support",
|
||||||
"tpa.account.link": "{provider} account",
|
|
||||||
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
||||||
"account.confirmation.success.message": "Sign in to continue.",
|
"account.confirmation.success.message": "Sign in to continue.",
|
||||||
"account.confirmation.info.message": "This email has already been confirmed.",
|
"account.confirmation.info.message": "This email has already been confirmed.",
|
||||||
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
||||||
|
"tpa.account.link": "{provider} account",
|
||||||
|
"internal.server.error.message": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"login.rate.limit.reached.message": "Too many failed login attempts. Try again later.",
|
"login.rate.limit.reached.message": "Too many failed login attempts. Try again later.",
|
||||||
"login.failure.header.title": "We couldn't sign you in.",
|
"login.failure.header.title": "We couldn't sign you in.",
|
||||||
"contact.support.link": "contact {platformName} support",
|
"contact.support.link": "contact {platformName} support",
|
||||||
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
||||||
"login.failed.attempt.error": "You have {remainingAttempts} more sign in attempts before your account is temporarily locked.",
|
|
||||||
"login.locked.out.error.message": "To protect your account, it’s been temporarily locked. Try again in {lockedOutPeriod} minutes.",
|
|
||||||
"login.form.invalid.error.message": "Please fill in the fields below.",
|
"login.form.invalid.error.message": "Please fill in the fields below.",
|
||||||
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
||||||
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
||||||
@@ -113,8 +96,21 @@
|
|||||||
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
||||||
"password.security.close.button": "Close",
|
"password.security.close.button": "Close",
|
||||||
"password.security.redirect.to.reset.password.button": "Reset your password",
|
"password.security.redirect.to.reset.password.button": "Reset your password",
|
||||||
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
"login.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
"progressive.profiling.page.title": "Welcome | {siteName}",
|
||||||
|
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
||||||
|
"optional.fields.information.link": "Learn more about how we use this information.",
|
||||||
|
"optional.fields.submit.button": "Submit",
|
||||||
|
"optional.fields.skip.button": "Skip for now",
|
||||||
|
"optional.fields.next.button": "Next",
|
||||||
|
"continue.to.platform": "Continue to {platformName}",
|
||||||
|
"modal.title": "Thanks for letting us know.",
|
||||||
|
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
||||||
|
"welcome.page.error.heading": "We couldn't update your profile",
|
||||||
|
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time.",
|
||||||
|
"recommendation.page.title": "Recommendations | {siteName}",
|
||||||
|
"recommendation.page.heading": "We have a few recommendations to get you started.",
|
||||||
|
"recommendation.skip.button": "Skip for now",
|
||||||
"register.page.title": "Register | {siteName}",
|
"register.page.title": "Register | {siteName}",
|
||||||
"registration.fullname.label": "Full name",
|
"registration.fullname.label": "Full name",
|
||||||
"registration.email.label": "Email",
|
"registration.email.label": "Email",
|
||||||
@@ -127,51 +123,34 @@
|
|||||||
"help.text.username.2": "This can not be changed later.",
|
"help.text.username.2": "This can not be changed later.",
|
||||||
"help.text.email": "For account activation and important updates",
|
"help.text.email": "For account activation and important updates",
|
||||||
"create.account.for.free.button": "Create an account for free",
|
"create.account.for.free.button": "Create an account for free",
|
||||||
"create.an.account.btn.pending.state": "Loading",
|
|
||||||
"registration.other.options.heading": "Or register with:",
|
"registration.other.options.heading": "Or register with:",
|
||||||
"register.institution.login.button": "Institution/campus credentials",
|
"register.institution.login.button": "Institution/campus credentials",
|
||||||
"register.institution.login.page.title": "Register with institution/campus credentials",
|
"register.institution.login.page.title": "Register with institution/campus credentials",
|
||||||
"empty.name.field.error": "Enter your full name",
|
"empty.name.field.error": "Enter your full name",
|
||||||
"empty.email.field.error": "Enter your email",
|
"empty.email.field.error": "Enter your email",
|
||||||
"email.do.not.match": "The email addresses do not match.",
|
|
||||||
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
||||||
"empty.password.field.error": "Password criteria has not been met",
|
"empty.password.field.error": "Password criteria has not been met",
|
||||||
"empty.country.field.error": "Select your country or region of residence",
|
"empty.country.field.error": "Select your country or region of residence",
|
||||||
|
"email.do.not.match": "The email addresses do not match.",
|
||||||
"email.invalid.format.error": "Enter a valid email address",
|
"email.invalid.format.error": "Enter a valid email address",
|
||||||
"email.ratelimit.less.chars.validation.message": "Email must have 3 characters.",
|
|
||||||
"username.validation.message": "Username must be between 2 and 30 characters",
|
"username.validation.message": "Username must be between 2 and 30 characters",
|
||||||
"name.validation.message": "Enter a valid name",
|
"name.validation.message": "Enter a valid name",
|
||||||
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
||||||
"support.education.research": "Support education research by providing additional information. (Optional)",
|
|
||||||
"registration.request.failure.header": "We couldn't create your account.",
|
"registration.request.failure.header": "We couldn't create your account.",
|
||||||
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
||||||
"registration.request.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"registration.request.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
||||||
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
||||||
|
"registration.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"terms.of.service.and.honor.code": "Terms of Service and Honor Code",
|
"terms.of.service.and.honor.code": "Terms of Service and Honor Code",
|
||||||
"privacy.policy": "Privacy Policy",
|
"privacy.policy": "Privacy Policy",
|
||||||
"honor.code": "Honor Code",
|
"honor.code": "Honor Code",
|
||||||
"terms.of.service": "Terms of Service",
|
"terms.of.service": "Terms of Service",
|
||||||
"registration.year.of.birth.label": "Year of birth (optional)",
|
|
||||||
"registration.field.gender.options.label": "Gender (optional)",
|
|
||||||
"registration.goals.label": "Tell us why you're interested in edX (optional)",
|
|
||||||
"registration.field.gender.options.f": "Female",
|
|
||||||
"registration.field.gender.options.m": "Male",
|
|
||||||
"registration.field.gender.options.o": "Other/Prefer not to say",
|
|
||||||
"registration.field.education.levels.label": "Highest level of education completed (optional)",
|
|
||||||
"registration.field.education.levels.p": "Doctorate",
|
|
||||||
"registration.field.education.levels.m": "Master's or professional degree",
|
|
||||||
"registration.field.education.levels.b": "Bachelor's degree",
|
|
||||||
"registration.field.education.levels.a": "Associate's degree",
|
|
||||||
"registration.field.education.levels.hs": "Secondary/high school",
|
|
||||||
"registration.field.education.levels.jhs": "Junior secondary/junior high/middle school",
|
|
||||||
"registration.field.education.levels.el": "Elementary/primary school",
|
|
||||||
"registration.field.education.levels.none": "No formal education",
|
|
||||||
"registration.field.education.levels.other": "Other education",
|
|
||||||
"registration.username.suggestion.label": "Suggested:",
|
"registration.username.suggestion.label": "Suggested:",
|
||||||
"registration.using.tpa.form.heading": "Finish creating your account",
|
|
||||||
"did.you.mean.alert.text": "Did you mean",
|
"did.you.mean.alert.text": "Did you mean",
|
||||||
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
||||||
|
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
||||||
|
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
||||||
"sign.in": "Sign in",
|
"sign.in": "Sign in",
|
||||||
"reset.password.page.title": "Reset Password | {siteName}",
|
"reset.password.page.title": "Reset Password | {siteName}",
|
||||||
"reset.password": "Reset password",
|
"reset.password": "Reset password",
|
||||||
@@ -180,40 +159,10 @@
|
|||||||
"confirm.password.label": "Confirm password",
|
"confirm.password.label": "Confirm password",
|
||||||
"passwords.do.not.match": "Passwords do not match",
|
"passwords.do.not.match": "Passwords do not match",
|
||||||
"confirm.your.password": "Confirm your password",
|
"confirm.your.password": "Confirm your password",
|
||||||
"forgot.password.confirmation.sign.in.link": "sign in",
|
|
||||||
"reset.password.request.forgot.password.text": "Forgot password",
|
|
||||||
"reset.password.request.invalid.token.header": "Invalid password reset link",
|
|
||||||
"reset.password.empty.new.password.field.error": "Please enter your new password.",
|
|
||||||
"reset.password.failure.heading": "We couldn't reset your password.",
|
"reset.password.failure.heading": "We couldn't reset your password.",
|
||||||
"reset.password.form.submission.error": "Please check your responses and try again.",
|
"reset.password.form.submission.error": "Please check your responses and try again.",
|
||||||
"reset.password.request.server.error": "Failed to reset password",
|
|
||||||
"reset.password.token.validation.sever.error": "Token validation failure",
|
|
||||||
"reset.server.rate.limit.error": "Too many requests.",
|
"reset.server.rate.limit.error": "Too many requests.",
|
||||||
"reset.password.success.heading": "Password reset complete.",
|
"reset.password.success.heading": "Password reset complete.",
|
||||||
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
||||||
"progressive.profiling.page.title": "Optional Fields | {siteName}",
|
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time."
|
||||||
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
|
||||||
"gender.options.label": "Gender (optional)",
|
|
||||||
"gender.options.f": "Female",
|
|
||||||
"gender.options.m": "Male",
|
|
||||||
"gender.options.o": "Other/Prefer not to say",
|
|
||||||
"education.levels.label": "Highest level of education completed (optional)",
|
|
||||||
"education.levels.p": "Doctorate",
|
|
||||||
"education.levels.m": "Master's or professional degree",
|
|
||||||
"education.levels.b": "Bachelor's degree",
|
|
||||||
"education.levels.a": "Associate's degree",
|
|
||||||
"education.levels.hs": "Secondary/high school",
|
|
||||||
"education.levels.jhs": "Junior secondary/junior high/middle school",
|
|
||||||
"education.levels.el": "Elementary/primary school",
|
|
||||||
"education.levels.none": "No formal education",
|
|
||||||
"education.levels.other": "Other education",
|
|
||||||
"year.of.birth.label": "Year of birth (optional)",
|
|
||||||
"optional.fields.information.link": "Learn more about how we use this information.",
|
|
||||||
"optional.fields.submit.button": "Submit",
|
|
||||||
"optional.fields.skip.button": "Skip for now",
|
|
||||||
"continue.to.platform": "Continue to {platformName}",
|
|
||||||
"modal.title": "Thanks for letting us know.",
|
|
||||||
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
|
||||||
"welcome.page.error.heading": "We couldn't update your profile",
|
|
||||||
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time."
|
|
||||||
}
|
}
|
||||||
168
src/i18n/messages/it.json
Normal file
168
src/i18n/messages/it.json
Normal file
@@ -0,0 +1,168 @@
|
|||||||
|
{
|
||||||
|
"start.learning": "Start learning",
|
||||||
|
"with.site.name": "with {siteName}",
|
||||||
|
"complete.your.profile.1": "Complete",
|
||||||
|
"complete.your.profile.2": "your profile",
|
||||||
|
"welcome.to.platform": "Welcome to {siteName}, {username}!",
|
||||||
|
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
||||||
|
"logistration.sign.in": "Sign in",
|
||||||
|
"logistration.register": "Register",
|
||||||
|
"enterprisetpa.title.heading": "Would you like to sign in using your {providerName} credentials?",
|
||||||
|
"enterprisetpa.login.button.text": "Show me other ways to sign in or register",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Show me other ways to sign in",
|
||||||
|
"sso.sign.in.with": "Sign in with {providerName}",
|
||||||
|
"sso.create.account.using": "Create account using {providerName}",
|
||||||
|
"show.password": "Show password",
|
||||||
|
"hide.password": "Hide password",
|
||||||
|
"one.letter": "1 letter",
|
||||||
|
"one.number": "1 number",
|
||||||
|
"eight.characters": "8 characters",
|
||||||
|
"password.sr.only.helping.text": "Password must contain at least 8 characters, at least one letter, and at least one number",
|
||||||
|
"tpa.alert.heading": "Almost done!",
|
||||||
|
"login.third.party.auth.account.not.linked": "You have successfully signed into {currentProvider}, but your {currentProvider} account does not have a linked {platformName} account. To link your accounts, sign in now using your {platformName} password.",
|
||||||
|
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "Finish creating your account",
|
||||||
|
"zendesk.supportTitle": "edX Support",
|
||||||
|
"zendesk.selectTicketForm": "Please choose your request type:",
|
||||||
|
"error.notfound.message": "The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again.",
|
||||||
|
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
||||||
|
"forgot.password.page.title": "Forgot Password | {siteName}",
|
||||||
|
"forgot.password.page.heading": "Reset password",
|
||||||
|
"forgot.password.page.instructions": "Please enter your email address below and we will send you an email with instructions on how to reset your password.",
|
||||||
|
"forgot.password.page.invalid.email.message": "Enter a valid email address",
|
||||||
|
"forgot.password.page.email.field.label": "Email",
|
||||||
|
"forgot.password.page.submit.button": "Submit",
|
||||||
|
"forgot.password.error.alert.title.": "We were unable to contact you.",
|
||||||
|
"forgot.password.error.message.title": "An error occurred.",
|
||||||
|
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
||||||
|
"forgot.password.empty.email.field.error": "Enter your email",
|
||||||
|
"forgot.password.email.help.text": "The email address you used to register with {platformName}",
|
||||||
|
"confirmation.message.title": "Check your email",
|
||||||
|
"confirmation.support.link": "contact technical support",
|
||||||
|
"need.help.sign.in.text": "Need help signing in?",
|
||||||
|
"additional.help.text": "For additional help, contact {platformName} support at ",
|
||||||
|
"sign.in.text": "Sign in",
|
||||||
|
"extend.field.errors": "{emailError} below.",
|
||||||
|
"invalid.token.heading": "Invalid password reset link",
|
||||||
|
"invalid.token.error.message": "This password reset link is invalid. It may have been used already. Enter your email below to receive a new link.",
|
||||||
|
"token.validation.rate.limit.error.heading": "Too many requests",
|
||||||
|
"token.validation.rate.limit.error": "An error has occurred because of too many requests. Please try again after some time.",
|
||||||
|
"token.validation.internal.sever.error.heading": "Token validation failure",
|
||||||
|
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
|
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
|
"account.activation.error.message": "Something went wrong, please {supportLink} to resolve this issue.",
|
||||||
|
"login.inactive.user.error": "In order to sign in, you need to activate your account.{lineBreak}\n {lineBreak}We just sent an activation link to {email}. If you do not receive an email,\n check your spam folders or {supportLink}.",
|
||||||
|
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
||||||
|
"login.incorrect.credentials.error.attempts.text.1": "The username, email or password you entered is incorrect. You have {remainingAttempts} more sign in\n attempts before your account is temporarily locked.",
|
||||||
|
"login.incorrect.credentials.error.attempts.text.2": "If you've forgotten your password, {resetLink}",
|
||||||
|
"account.locked.out.message.2": "To be on the safe side, you can {resetLink} before trying again.",
|
||||||
|
"login.incorrect.credentials.error.with.reset.link": "The username, email, or password you entered is incorrect. Please try again or {resetLink}.",
|
||||||
|
"login.page.title": "Login | {siteName}",
|
||||||
|
"login.user.identity.label": "Username or email",
|
||||||
|
"login.password.label": "Password",
|
||||||
|
"sign.in.button": "Sign in",
|
||||||
|
"forgot.password": "Forgot password",
|
||||||
|
"institution.login.button": "Institution/campus credentials",
|
||||||
|
"institution.login.page.title": "Sign in with institution/campus credentials",
|
||||||
|
"login.other.options.heading": "Or sign in with:",
|
||||||
|
"non.compliant.password.title": "We recently changed our password requirements",
|
||||||
|
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
||||||
|
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
||||||
|
"enterprise.login.btn.text": "Company or school credentials",
|
||||||
|
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
||||||
|
"email.validation.message": "Enter your username or email",
|
||||||
|
"password.validation.message": "Password criteria has not been met",
|
||||||
|
"account.activation.success.message.title": "Success! You have activated your account.",
|
||||||
|
"account.activation.success.message": "You will now receive email updates and alerts from us related to the courses you are enrolled in. Sign in to continue.",
|
||||||
|
"account.activation.info.message": "This account has already been activated.",
|
||||||
|
"account.activation.error.message.title": "Your account could not be activated",
|
||||||
|
"account.activation.support.link": "contact support",
|
||||||
|
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
||||||
|
"account.confirmation.success.message": "Sign in to continue.",
|
||||||
|
"account.confirmation.info.message": "This email has already been confirmed.",
|
||||||
|
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
||||||
|
"tpa.account.link": "{provider} account",
|
||||||
|
"internal.server.error.message": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
|
"login.rate.limit.reached.message": "Too many failed login attempts. Try again later.",
|
||||||
|
"login.failure.header.title": "We couldn't sign you in.",
|
||||||
|
"contact.support.link": "contact {platformName} support",
|
||||||
|
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
||||||
|
"login.form.invalid.error.message": "Please fill in the fields below.",
|
||||||
|
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
||||||
|
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
||||||
|
"password.security.nudge.title": "Password security",
|
||||||
|
"password.security.block.title": "Password change required",
|
||||||
|
"password.security.nudge.body": "Our system detected that your password is vulnerable. We recommend you change it so that your account stays secure.",
|
||||||
|
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
||||||
|
"password.security.close.button": "Close",
|
||||||
|
"password.security.redirect.to.reset.password.button": "Reset your password",
|
||||||
|
"login.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
|
"progressive.profiling.page.title": "Welcome | {siteName}",
|
||||||
|
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
||||||
|
"optional.fields.information.link": "Learn more about how we use this information.",
|
||||||
|
"optional.fields.submit.button": "Submit",
|
||||||
|
"optional.fields.skip.button": "Skip for now",
|
||||||
|
"optional.fields.next.button": "Next",
|
||||||
|
"continue.to.platform": "Continue to {platformName}",
|
||||||
|
"modal.title": "Thanks for letting us know.",
|
||||||
|
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
||||||
|
"welcome.page.error.heading": "We couldn't update your profile",
|
||||||
|
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time.",
|
||||||
|
"recommendation.page.title": "Recommendations | {siteName}",
|
||||||
|
"recommendation.page.heading": "We have a few recommendations to get you started.",
|
||||||
|
"recommendation.skip.button": "Skip for now",
|
||||||
|
"register.page.title": "Register | {siteName}",
|
||||||
|
"registration.fullname.label": "Full name",
|
||||||
|
"registration.email.label": "Email",
|
||||||
|
"registration.username.label": "Public username",
|
||||||
|
"registration.password.label": "Password",
|
||||||
|
"registration.country.label": "Country/Region",
|
||||||
|
"registration.opt.in.label": "I agree that {siteName} may send me marketing messages.",
|
||||||
|
"help.text.name": "This name will be used by any certificates that you earn.",
|
||||||
|
"help.text.username.1": "The name that will identify you in your courses.",
|
||||||
|
"help.text.username.2": "This can not be changed later.",
|
||||||
|
"help.text.email": "For account activation and important updates",
|
||||||
|
"create.account.for.free.button": "Create an account for free",
|
||||||
|
"registration.other.options.heading": "Or register with:",
|
||||||
|
"register.institution.login.button": "Institution/campus credentials",
|
||||||
|
"register.institution.login.page.title": "Register with institution/campus credentials",
|
||||||
|
"empty.name.field.error": "Enter your full name",
|
||||||
|
"empty.email.field.error": "Enter your email",
|
||||||
|
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
||||||
|
"empty.password.field.error": "Password criteria has not been met",
|
||||||
|
"empty.country.field.error": "Select your country or region of residence",
|
||||||
|
"email.do.not.match": "The email addresses do not match.",
|
||||||
|
"email.invalid.format.error": "Enter a valid email address",
|
||||||
|
"username.validation.message": "Username must be between 2 and 30 characters",
|
||||||
|
"name.validation.message": "Enter a valid name",
|
||||||
|
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
||||||
|
"registration.request.failure.header": "We couldn't create your account.",
|
||||||
|
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
||||||
|
"registration.request.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
|
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
||||||
|
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
||||||
|
"registration.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
|
"terms.of.service.and.honor.code": "Terms of Service and Honor Code",
|
||||||
|
"privacy.policy": "Privacy Policy",
|
||||||
|
"honor.code": "Honor Code",
|
||||||
|
"terms.of.service": "Terms of Service",
|
||||||
|
"registration.username.suggestion.label": "Suggested:",
|
||||||
|
"did.you.mean.alert.text": "Did you mean",
|
||||||
|
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
||||||
|
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
||||||
|
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
||||||
|
"sign.in": "Sign in",
|
||||||
|
"reset.password.page.title": "Reset Password | {siteName}",
|
||||||
|
"reset.password": "Reset password",
|
||||||
|
"reset.password.page.instructions": "Enter and confirm your new password.",
|
||||||
|
"new.password.label": "New password",
|
||||||
|
"confirm.password.label": "Confirm password",
|
||||||
|
"passwords.do.not.match": "Passwords do not match",
|
||||||
|
"confirm.your.password": "Confirm your password",
|
||||||
|
"reset.password.failure.heading": "We couldn't reset your password.",
|
||||||
|
"reset.password.form.submission.error": "Please check your responses and try again.",
|
||||||
|
"reset.server.rate.limit.error": "Too many requests.",
|
||||||
|
"reset.password.success.heading": "Password reset complete.",
|
||||||
|
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
||||||
|
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time."
|
||||||
|
}
|
||||||
@@ -5,16 +5,11 @@
|
|||||||
"complete.your.profile.2": "Il tuo profilo",
|
"complete.your.profile.2": "Il tuo profilo",
|
||||||
"welcome.to.platform": "Benvenuto in {siteName}, {username}!",
|
"welcome.to.platform": "Benvenuto in {siteName}, {username}!",
|
||||||
"institution.login.page.sub.heading": "Scegli il tuo istituto dall'elenco sottostante",
|
"institution.login.page.sub.heading": "Scegli il tuo istituto dall'elenco sottostante",
|
||||||
"forgot.password.confirmation.title": "Controlla la tua casella di posta",
|
|
||||||
"forgot.password.confirmation.support.link": "contatta il supporto tecnico",
|
|
||||||
"forgot.password.confirmation.info": "Se non ricevi un messaggio di reimpostazione della password entro 1 minuto, verifica di aver inserito l'indirizzo e-mail corretto o controlla la cartella della posta indesiderata.",
|
|
||||||
"logistration.sign.in": "Accedi",
|
"logistration.sign.in": "Accedi",
|
||||||
"logistration.register": "Registrazione",
|
"logistration.register": "Registrazione",
|
||||||
"internal.server.error.message": "Si è verificato un errore. Prova ad aggiornare la pagina oppure verifica la connessione internet.",
|
|
||||||
"server.ratelimit.error.message": "Si è verificato un errore dovuto alle troppe richieste. Prova di nuovo più tardi.",
|
|
||||||
"enterprisetpa.title.heading": "Vuoi accedere utilizzando le credenziali {providerName}?",
|
"enterprisetpa.title.heading": "Vuoi accedere utilizzando le credenziali {providerName}?",
|
||||||
"enterprisetpa.sso.button.title": "Accedi utilizzando {providerName}",
|
|
||||||
"enterprisetpa.login.button.text": "Mostrami altre modalità di accesso o registrazione",
|
"enterprisetpa.login.button.text": "Mostrami altre modalità di accesso o registrazione",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Show me other ways to sign in",
|
||||||
"sso.sign.in.with": "Accedi con {providerName}",
|
"sso.sign.in.with": "Accedi con {providerName}",
|
||||||
"sso.create.account.using": "Crea un account utilizzando {providerName}",
|
"sso.create.account.using": "Crea un account utilizzando {providerName}",
|
||||||
"show.password": "Mostra password",
|
"show.password": "Mostra password",
|
||||||
@@ -26,6 +21,9 @@
|
|||||||
"tpa.alert.heading": "Quasi fatto!",
|
"tpa.alert.heading": "Quasi fatto!",
|
||||||
"login.third.party.auth.account.not.linked": "Hai correttamente effettuato l'accesso in {currentProvider}, ma il tuo account {currentProvider} non ha un account {platformName} ad esso abbinato. Per collegare i tuoi account accesi utilizzando la password {platformName}. ",
|
"login.third.party.auth.account.not.linked": "Hai correttamente effettuato l'accesso in {currentProvider}, ma il tuo account {currentProvider} non ha un account {platformName} ad esso abbinato. Per collegare i tuoi account accesi utilizzando la password {platformName}. ",
|
||||||
"register.third.party.auth.account.not.linked": "Hai eseguito correttamente l'accesso a {a03f0f8cfb85cz0}! Abbiamo solo bisogno di un po' più di informazioni prima di iniziare a imparare con {platformName}.",
|
"register.third.party.auth.account.not.linked": "Hai eseguito correttamente l'accesso a {a03f0f8cfb85cz0}! Abbiamo solo bisogno di un po' più di informazioni prima di iniziare a imparare con {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "Completa la creazione del tuo account",
|
||||||
|
"zendesk.supportTitle": "edX Support",
|
||||||
|
"zendesk.selectTicketForm": "Please choose your request type:",
|
||||||
"error.notfound.message": "La pagina che stai cercando non è disponibile o si è verificato un errore nell'URL. Controlla l'URL e riprova. ",
|
"error.notfound.message": "La pagina che stai cercando non è disponibile o si è verificato un errore nell'URL. Controlla l'URL e riprova. ",
|
||||||
"forgot.password.confirmation.message": "Abbiamo inviato un'email a {email} con le istruzioni per reimpostare la password. Se non ricevi un messaggio di reimpostazione della password dopo 1 minuto, verifica di aver inserito l'indirizzo e-mail corretto o controlla la cartella spam. Se hai bisogno di ulteriore assistenza, {supportLink}.",
|
"forgot.password.confirmation.message": "Abbiamo inviato un'email a {email} con le istruzioni per reimpostare la password. Se non ricevi un messaggio di reimpostazione della password dopo 1 minuto, verifica di aver inserito l'indirizzo e-mail corretto o controlla la cartella spam. Se hai bisogno di ulteriore assistenza, {supportLink}.",
|
||||||
"forgot.password.page.title": "Dimenticato la password | {siteName}",
|
"forgot.password.page.title": "Dimenticato la password | {siteName}",
|
||||||
@@ -38,7 +36,6 @@
|
|||||||
"forgot.password.error.message.title": "Si è verificato un errore. ",
|
"forgot.password.error.message.title": "Si è verificato un errore. ",
|
||||||
"forgot.password.request.in.progress.message": "La tua richiesta precedente è in corso di elaborazione, riprova tra qualche istante. ",
|
"forgot.password.request.in.progress.message": "La tua richiesta precedente è in corso di elaborazione, riprova tra qualche istante. ",
|
||||||
"forgot.password.empty.email.field.error": "Inserisci il tuo indirizzo email",
|
"forgot.password.empty.email.field.error": "Inserisci il tuo indirizzo email",
|
||||||
"forgot.password.invalid.email.message": "L'indirizzo email che hai fornito non è formattato correttamente. ",
|
|
||||||
"forgot.password.email.help.text": "L'indirizzo email che hai utilizzato per registrarti con {platformName}",
|
"forgot.password.email.help.text": "L'indirizzo email che hai utilizzato per registrarti con {platformName}",
|
||||||
"confirmation.message.title": "Controlla la tua casella di posta",
|
"confirmation.message.title": "Controlla la tua casella di posta",
|
||||||
"confirmation.support.link": "contatta il supporto tecnico",
|
"confirmation.support.link": "contatta il supporto tecnico",
|
||||||
@@ -53,7 +50,6 @@
|
|||||||
"token.validation.internal.sever.error.heading": "Errore di convalida del token",
|
"token.validation.internal.sever.error.heading": "Errore di convalida del token",
|
||||||
"token.validation.internal.sever.error": "Si è verificato un errore. Prova ad aggiornare la pagina oppure verifica la connessione internet.",
|
"token.validation.internal.sever.error": "Si è verificato un errore. Prova ad aggiornare la pagina oppure verifica la connessione internet.",
|
||||||
"internal.server.error": "Si è verificato un errore. Prova ad aggiornare la pagina oppure verifica la connessione internet.",
|
"internal.server.error": "Si è verificato un errore. Prova ad aggiornare la pagina oppure verifica la connessione internet.",
|
||||||
"rate.limit.error": "Si è verificato un errore dovuto alle troppe richieste. Prova di nuovo più tardi.",
|
|
||||||
"account.activation.error.message": "Si è verificato un errore, seleziona {supportLink} per risolvere il problema. ",
|
"account.activation.error.message": "Si è verificato un errore, seleziona {supportLink} per risolvere il problema. ",
|
||||||
"login.inactive.user.error": "Per accedere, devi attivare il tuo account.{lineBreak} {lineBreak}Abbiamo appena inviato un link di attivazione a {email}. Se non ricevi un'email, controlla la cartella della posta indesiderata oppure seleziona {supportLink}.",
|
"login.inactive.user.error": "Per accedere, devi attivare il tuo account.{lineBreak} {lineBreak}Abbiamo appena inviato un link di attivazione a {email}. Se non ricevi un'email, controlla la cartella della posta indesiderata oppure seleziona {supportLink}.",
|
||||||
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
||||||
@@ -65,45 +61,32 @@
|
|||||||
"login.user.identity.label": "Nome utente o email ",
|
"login.user.identity.label": "Nome utente o email ",
|
||||||
"login.password.label": "Password",
|
"login.password.label": "Password",
|
||||||
"sign.in.button": "Accedi",
|
"sign.in.button": "Accedi",
|
||||||
"sign.in.btn.pending.state": "Caricamento",
|
|
||||||
"need.help.signing.in.collapsible.menu": "Hai bisogno di aiuto per l'accesso?",
|
|
||||||
"forgot.password.link": "Ho dimenticato la mia password",
|
|
||||||
"forgot.password": "Password dimenticata",
|
"forgot.password": "Password dimenticata",
|
||||||
"other.sign.in.issues": "Altri problemi legati all'accesso",
|
|
||||||
"need.other.help.signing.in.collapsible.menu": "Hai bisogno di ulteriore aiuto per l'accesso?",
|
|
||||||
"institution.login.button": "Credenziali dell'istituto/campus",
|
"institution.login.button": "Credenziali dell'istituto/campus",
|
||||||
"institution.login.page.title": "Accedi con le credenziali dell'istituzione/campus",
|
"institution.login.page.title": "Accedi con le credenziali dell'istituzione/campus",
|
||||||
"institution.login.page.back.button": "Torna all'accesso",
|
|
||||||
"create.an.account": "Crea un account",
|
|
||||||
"login.other.options.heading": "Oppure accedi con:",
|
"login.other.options.heading": "Oppure accedi con:",
|
||||||
"non.compliant.password.title": "Abbiamo di recente modificato i requisiti per la password ",
|
"non.compliant.password.title": "Abbiamo di recente modificato i requisiti per la password ",
|
||||||
"non.compliant.password.message": "La tua password attuale non soddisfa i nuovi requisiti di sicurezza. Abbiamo appena inviato un messaggio di reimpostazione della password all'indirizzo e-mail associato a questo account. Grazie per averci aiutato a mantenere i tuoi dati al sicuro.",
|
"non.compliant.password.message": "La tua password attuale non soddisfa i nuovi requisiti di sicurezza. Abbiamo appena inviato un messaggio di reimpostazione della password all'indirizzo e-mail associato a questo account. Grazie per averci aiutato a mantenere i tuoi dati al sicuro.",
|
||||||
"account.locked.out.message.1": "Per proteggere il tuo account, è stato temporaneamente bloccato. Riprova tra 30 minuti.",
|
"account.locked.out.message.1": "Per proteggere il tuo account, è stato temporaneamente bloccato. Riprova tra 30 minuti.",
|
||||||
"first.time.here": "È la prima volta che ci visiti?",
|
|
||||||
"email.help.message": "L'indirizzo email che hai utilizzato per registrarti con edX.",
|
|
||||||
"enterprise.login.btn.text": "Credenziali aziendali o scolastiche",
|
"enterprise.login.btn.text": "Credenziali aziendali o scolastiche",
|
||||||
"email.format.validation.message": "L'indirizzo email che hai fornito non è formattato correttamente. ",
|
|
||||||
"username.or.email.format.validation.less.chars.message": "Il nome utente o l'e-mail deve contenere almeno 3 caratteri.",
|
"username.or.email.format.validation.less.chars.message": "Il nome utente o l'e-mail deve contenere almeno 3 caratteri.",
|
||||||
"email.validation.message": "Inserisci il tuo nome utente o e-mail",
|
"email.validation.message": "Inserisci il tuo nome utente o e-mail",
|
||||||
"password.validation.message": "I criteri della password non sono stati soddisfatti",
|
"password.validation.message": "I criteri della password non sono stati soddisfatti",
|
||||||
"register.link": "Crea un account",
|
|
||||||
"sign.in.heading": "Accedi",
|
|
||||||
"account.activation.success.message.title": "Completato correttamente! Hai attivato il tuo account. ",
|
"account.activation.success.message.title": "Completato correttamente! Hai attivato il tuo account. ",
|
||||||
"account.activation.success.message": "A breve ti invieremo avvisi e aggiornamenti via email relativi al corso a cui ti sei iscritto. Accedi per proseguire.",
|
"account.activation.success.message": "A breve ti invieremo avvisi e aggiornamenti via email relativi al corso a cui ti sei iscritto. Accedi per proseguire.",
|
||||||
"account.activation.info.message": "Questo account è già stato attivato.",
|
"account.activation.info.message": "Questo account è già stato attivato.",
|
||||||
"account.activation.error.message.title": "Impossibile attivare il tuo account.",
|
"account.activation.error.message.title": "Impossibile attivare il tuo account.",
|
||||||
"account.activation.support.link": "contatta il supporto",
|
"account.activation.support.link": "contatta il supporto",
|
||||||
"tpa.account.link": "{provider} account",
|
|
||||||
"account.confirmation.success.message.title": "Successo! Hai confermato la tua email.",
|
"account.confirmation.success.message.title": "Successo! Hai confermato la tua email.",
|
||||||
"account.confirmation.success.message": "Accedi per continuare.",
|
"account.confirmation.success.message": "Accedi per continuare.",
|
||||||
"account.confirmation.info.message": "Questa email è già stata confermata.",
|
"account.confirmation.info.message": "Questa email è già stata confermata.",
|
||||||
"account.confirmation.error.message.title": "Impossibile confermare la tua email",
|
"account.confirmation.error.message.title": "Impossibile confermare la tua email",
|
||||||
|
"tpa.account.link": "{provider} account",
|
||||||
|
"internal.server.error.message": "Si è verificato un errore. Prova ad aggiornare la pagina oppure verifica la connessione internet.",
|
||||||
"login.rate.limit.reached.message": "Troppi tentativi di login falliti. Riprova più tardi.",
|
"login.rate.limit.reached.message": "Troppi tentativi di login falliti. Riprova più tardi.",
|
||||||
"login.failure.header.title": "Impossibile autorizzare il tuo accesso.",
|
"login.failure.header.title": "Impossibile autorizzare il tuo accesso.",
|
||||||
"contact.support.link": "contatta il supporto {platformName} ",
|
"contact.support.link": "contatta il supporto {platformName} ",
|
||||||
"login.incorrect.credentials.error": "Il nome utente, l'e-mail o la password inseriti non sono corretti. Per favore riprova.",
|
"login.incorrect.credentials.error": "Il nome utente, l'e-mail o la password inseriti non sono corretti. Per favore riprova.",
|
||||||
"login.failed.attempt.error": "Hai a disposizione altri {remainingAttempts} tentativi di accesso prima che il tuo account venga temporaneamente bloccato.",
|
|
||||||
"login.locked.out.error.message": "Il tuo account è stato temporaneamente bloccato per motivi di sicurezza. Riprova tra {lockedOutPeriod} minuti.",
|
|
||||||
"login.form.invalid.error.message": "Si prega di compilare i campi sottostanti.",
|
"login.form.invalid.error.message": "Si prega di compilare i campi sottostanti.",
|
||||||
"login.incorrect.credentials.error.reset.link.text": "reimposta la tua password",
|
"login.incorrect.credentials.error.reset.link.text": "reimposta la tua password",
|
||||||
"login.incorrect.credentials.error.before.account.blocked.text": "clicca qui per ripristinarlo.",
|
"login.incorrect.credentials.error.before.account.blocked.text": "clicca qui per ripristinarlo.",
|
||||||
@@ -113,8 +96,21 @@
|
|||||||
"password.security.block.body": "Il nostro sistema ha rilevato che la tua password è vulnerabile. Cambia la tua password in modo che il tuo account rimanga sicuro.",
|
"password.security.block.body": "Il nostro sistema ha rilevato che la tua password è vulnerabile. Cambia la tua password in modo che il tuo account rimanga sicuro.",
|
||||||
"password.security.close.button": "Chiudi",
|
"password.security.close.button": "Chiudi",
|
||||||
"password.security.redirect.to.reset.password.button": "Ripristina la tua password",
|
"password.security.redirect.to.reset.password.button": "Ripristina la tua password",
|
||||||
"register.page.terms.of.service.and.honor.code": "Creando un account, accetti il {tosAndHonorCode} e riconosci che {platformName} e ciascun Membro trattano i tuoi dati personali in conformità con l' {privacyPolicy}.",
|
"login.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"register.page.honor.code": "Accetto il {platformName} {tosAndHonorCode}",
|
"progressive.profiling.page.title": "Welcome | {siteName}",
|
||||||
|
"progressive.profiling.page.heading": "Alcune domande per te ci aiuteranno a diventare più intelligenti.",
|
||||||
|
"optional.fields.information.link": "Ulteriori informazioni su come utilizziamo queste informazioni.",
|
||||||
|
"optional.fields.submit.button": "Invia",
|
||||||
|
"optional.fields.skip.button": "Salta per ora",
|
||||||
|
"optional.fields.next.button": "Next",
|
||||||
|
"continue.to.platform": "Continua con {platformName}",
|
||||||
|
"modal.title": "Grazie per averci fatto sapere.",
|
||||||
|
"modal.description": "Puoi completare il tuo profilo nelle impostazioni in qualsiasi momento se cambi idea.",
|
||||||
|
"welcome.page.error.heading": "Impossibile aggiornare il tuo profilo",
|
||||||
|
"welcome.page.error.message": "Si è verificato un errore. Puoi completare il tuo profilo nelle impostazioni in qualsiasi momento.",
|
||||||
|
"recommendation.page.title": "Recommendations | {siteName}",
|
||||||
|
"recommendation.page.heading": "We have a few recommendations to get you started.",
|
||||||
|
"recommendation.skip.button": "Skip for now",
|
||||||
"register.page.title": "Registrazione | {siteName}",
|
"register.page.title": "Registrazione | {siteName}",
|
||||||
"registration.fullname.label": "Nome e Cognome",
|
"registration.fullname.label": "Nome e Cognome",
|
||||||
"registration.email.label": "Email",
|
"registration.email.label": "Email",
|
||||||
@@ -127,51 +123,34 @@
|
|||||||
"help.text.username.2": "Questo non può essere modificato in seguito.",
|
"help.text.username.2": "Questo non può essere modificato in seguito.",
|
||||||
"help.text.email": "Per l'attivazione dell'account e aggiornamenti importanti",
|
"help.text.email": "Per l'attivazione dell'account e aggiornamenti importanti",
|
||||||
"create.account.for.free.button": "Crea un account gratis",
|
"create.account.for.free.button": "Crea un account gratis",
|
||||||
"create.an.account.btn.pending.state": "Caricamento",
|
|
||||||
"registration.other.options.heading": "Oppure registrati con:",
|
"registration.other.options.heading": "Oppure registrati con:",
|
||||||
"register.institution.login.button": "Credenziali dell'istituto/campus",
|
"register.institution.login.button": "Credenziali dell'istituto/campus",
|
||||||
"register.institution.login.page.title": "Registrati con le credenziali dell'istituzione/campus",
|
"register.institution.login.page.title": "Registrati con le credenziali dell'istituzione/campus",
|
||||||
"empty.name.field.error": "Inserisci il tuo nome e cognome",
|
"empty.name.field.error": "Inserisci il tuo nome e cognome",
|
||||||
"empty.email.field.error": "Inserisci il tuo indirizzo email",
|
"empty.email.field.error": "Inserisci il tuo indirizzo email",
|
||||||
"email.do.not.match": "Gli indirizzi email non corrispondono.",
|
|
||||||
"empty.username.field.error": "Il nome utente deve essere compreso tra 2 e 30 caratteri",
|
"empty.username.field.error": "Il nome utente deve essere compreso tra 2 e 30 caratteri",
|
||||||
"empty.password.field.error": "I criteri della password non sono stati soddisfatti",
|
"empty.password.field.error": "I criteri della password non sono stati soddisfatti",
|
||||||
"empty.country.field.error": "Seleziona il tuo paese o regione di residenza",
|
"empty.country.field.error": "Seleziona il tuo paese o regione di residenza",
|
||||||
|
"email.do.not.match": "Gli indirizzi email non corrispondono.",
|
||||||
"email.invalid.format.error": "Inserisci un indirizzo email valido",
|
"email.invalid.format.error": "Inserisci un indirizzo email valido",
|
||||||
"email.ratelimit.less.chars.validation.message": "Email deve avere 3 caratteri.",
|
|
||||||
"username.validation.message": "Il nome utente deve essere compreso tra 2 e 30 caratteri",
|
"username.validation.message": "Il nome utente deve essere compreso tra 2 e 30 caratteri",
|
||||||
"name.validation.message": "Inserisci un nome valido",
|
"name.validation.message": "Inserisci un nome valido",
|
||||||
"username.format.validation.message": "I nomi utente possono contenere solo lettere (AZ, az), numeri (0-9), trattini bassi (_) e trattini (-). I nomi utente non possono contenere spazi",
|
"username.format.validation.message": "I nomi utente possono contenere solo lettere (AZ, az), numeri (0-9), trattini bassi (_) e trattini (-). I nomi utente non possono contenere spazi",
|
||||||
"support.education.research": "Supportare la ricerca del livello di istruzione fornendo informazioni aggiuntive. (Facoltativo)",
|
|
||||||
"registration.request.failure.header": "Impossibile creare il tuo account.",
|
"registration.request.failure.header": "Impossibile creare il tuo account.",
|
||||||
"registration.empty.form.submission.error": "Controlla le tue risposte e riprova.",
|
"registration.empty.form.submission.error": "Controlla le tue risposte e riprova.",
|
||||||
"registration.request.server.error": "Si è verificato un errore. Prova ad aggiornare la pagina oppure verifica la connessione internet.",
|
"registration.request.server.error": "Si è verificato un errore. Prova ad aggiornare la pagina oppure verifica la connessione internet.",
|
||||||
"registration.rate.limit.error": "Troppi tentativi di registrazione non riusciti. Prova di nuovo più tardi.",
|
"registration.rate.limit.error": "Troppi tentativi di registrazione non riusciti. Prova di nuovo più tardi.",
|
||||||
"registration.tpa.session.expired": "La registrazione mediante {provider} è andata in timeout.",
|
"registration.tpa.session.expired": "La registrazione mediante {provider} è andata in timeout.",
|
||||||
|
"registration.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"terms.of.service.and.honor.code": "Termini e Condizioni del Servizio",
|
"terms.of.service.and.honor.code": "Termini e Condizioni del Servizio",
|
||||||
"privacy.policy": "Informativa sulla privacy",
|
"privacy.policy": "Informativa sulla privacy",
|
||||||
"honor.code": "Codice d'Onore",
|
"honor.code": "Codice d'Onore",
|
||||||
"terms.of.service": "Termini di Servizio",
|
"terms.of.service": "Termini di Servizio",
|
||||||
"registration.year.of.birth.label": "Anno di nascita (facoltativo)",
|
|
||||||
"registration.field.gender.options.label": "Genere (facoltativo)",
|
|
||||||
"registration.goals.label": "Dicci perché sei interessato a edX (facoltativo)",
|
|
||||||
"registration.field.gender.options.f": "Femmina",
|
|
||||||
"registration.field.gender.options.m": "Maschio",
|
|
||||||
"registration.field.gender.options.o": "Altro/Preferisco non dire",
|
|
||||||
"registration.field.education.levels.label": "Livello di istruzione più elevato raggiunto (opzionale) ",
|
|
||||||
"registration.field.education.levels.p": "Dottorato",
|
|
||||||
"registration.field.education.levels.m": "Laurea magistrale o titolo accademico professionale",
|
|
||||||
"registration.field.education.levels.b": "Laurea di primo livello ",
|
|
||||||
"registration.field.education.levels.a": "Diploma Professionale",
|
|
||||||
"registration.field.education.levels.hs": "Scuola Superiore/Liceo",
|
|
||||||
"registration.field.education.levels.jhs": "Scuola Media",
|
|
||||||
"registration.field.education.levels.el": "Scuola Primaria/Elementare",
|
|
||||||
"registration.field.education.levels.none": "Nessun livello educativo formale",
|
|
||||||
"registration.field.education.levels.other": "Altro tipo di formazione",
|
|
||||||
"registration.username.suggestion.label": "Suggerito:",
|
"registration.username.suggestion.label": "Suggerito:",
|
||||||
"registration.using.tpa.form.heading": "Completa la creazione del tuo account",
|
|
||||||
"did.you.mean.alert.text": "Intendevi",
|
"did.you.mean.alert.text": "Intendevi",
|
||||||
"register.page.terms.of.service": "Accetto il {platformName} {termsOfService}",
|
"register.page.terms.of.service.and.honor.code": "Creando un account, accetti il {tosAndHonorCode} e riconosci che {platformName} e ciascun Membro trattano i tuoi dati personali in conformità con l' {privacyPolicy}.",
|
||||||
|
"register.page.honor.code": "Accetto {platformName} {tosAndHonorCode}",
|
||||||
|
"register.page.terms.of.service": "Accetto {platformName} {termsOfService}",
|
||||||
"sign.in": "Accedi",
|
"sign.in": "Accedi",
|
||||||
"reset.password.page.title": "Ripristina password | {siteName}",
|
"reset.password.page.title": "Ripristina password | {siteName}",
|
||||||
"reset.password": "Resetta la password",
|
"reset.password": "Resetta la password",
|
||||||
@@ -180,40 +159,10 @@
|
|||||||
"confirm.password.label": "Conferma password",
|
"confirm.password.label": "Conferma password",
|
||||||
"passwords.do.not.match": "le passwords non corrispondono",
|
"passwords.do.not.match": "le passwords non corrispondono",
|
||||||
"confirm.your.password": "Conferma la tua password",
|
"confirm.your.password": "Conferma la tua password",
|
||||||
"forgot.password.confirmation.sign.in.link": "accedi",
|
|
||||||
"reset.password.request.forgot.password.text": "Dimenticato la password",
|
|
||||||
"reset.password.request.invalid.token.header": "Link di ripristino della password non valido",
|
|
||||||
"reset.password.empty.new.password.field.error": "Immetti la nuova password.",
|
|
||||||
"reset.password.failure.heading": "Impossibile ripristinare la tua password.",
|
"reset.password.failure.heading": "Impossibile ripristinare la tua password.",
|
||||||
"reset.password.form.submission.error": "Controlla le tue risposte e riprova.",
|
"reset.password.form.submission.error": "Controlla le tue risposte e riprova.",
|
||||||
"reset.password.request.server.error": "Ripristino della password non riuscito",
|
|
||||||
"reset.password.token.validation.sever.error": "Errore di convalida del token",
|
|
||||||
"reset.server.rate.limit.error": "Troppe richieste.",
|
"reset.server.rate.limit.error": "Troppe richieste.",
|
||||||
"reset.password.success.heading": "Ripristino della password completato.",
|
"reset.password.success.heading": "Ripristino della password completato.",
|
||||||
"reset.password.success": "La tua password è stata resettata. Accedi al tuo account.",
|
"reset.password.success": "La tua password è stata resettata. Accedi al tuo account.",
|
||||||
"progressive.profiling.page.title": "Campi facoltativi | {siteName}",
|
"rate.limit.error": "Si è verificato un errore dovuto alle troppe richieste. Prova di nuovo più tardi."
|
||||||
"progressive.profiling.page.heading": "Alcune domande per te ci aiuteranno a diventare più intelligenti.",
|
|
||||||
"gender.options.label": "Genere (facoltativo)",
|
|
||||||
"gender.options.f": "Femmina",
|
|
||||||
"gender.options.m": "Maschio",
|
|
||||||
"gender.options.o": "Altro/Preferisco non dire",
|
|
||||||
"education.levels.label": "Livello di istruzione più elevato raggiunto (opzionale) ",
|
|
||||||
"education.levels.p": "Dottorato",
|
|
||||||
"education.levels.m": "Laurea magistrale o titolo accademico professionale",
|
|
||||||
"education.levels.b": "Laurea di primo livello ",
|
|
||||||
"education.levels.a": "Diploma Professionale",
|
|
||||||
"education.levels.hs": "Scuola Superiore/Liceo",
|
|
||||||
"education.levels.jhs": "Scuola Media",
|
|
||||||
"education.levels.el": "Scuola Primaria/Elementare",
|
|
||||||
"education.levels.none": "Nessun livello educativo formale",
|
|
||||||
"education.levels.other": "Altro livello educativo",
|
|
||||||
"year.of.birth.label": "Anno di nascita (facoltativo)",
|
|
||||||
"optional.fields.information.link": "Ulteriori informazioni su come utilizziamo queste informazioni.",
|
|
||||||
"optional.fields.submit.button": "Invia",
|
|
||||||
"optional.fields.skip.button": "Salta per ora",
|
|
||||||
"continue.to.platform": "Continua con {platformName}",
|
|
||||||
"modal.title": "Grazie per averci fatto sapere.",
|
|
||||||
"modal.description": "Puoi completare il tuo profilo nelle impostazioni in qualsiasi momento se cambi idea.",
|
|
||||||
"welcome.page.error.heading": "Impossibile aggiornare il tuo profilo",
|
|
||||||
"welcome.page.error.message": "Si è verificato un errore. Puoi completare il tuo profilo nelle impostazioni in qualsiasi momento."
|
|
||||||
}
|
}
|
||||||
168
src/i18n/messages/pt.json
Normal file
168
src/i18n/messages/pt.json
Normal file
@@ -0,0 +1,168 @@
|
|||||||
|
{
|
||||||
|
"start.learning": "Start learning",
|
||||||
|
"with.site.name": "with {siteName}",
|
||||||
|
"complete.your.profile.1": "Complete",
|
||||||
|
"complete.your.profile.2": "your profile",
|
||||||
|
"welcome.to.platform": "Welcome to {siteName}, {username}!",
|
||||||
|
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
||||||
|
"logistration.sign.in": "Sign in",
|
||||||
|
"logistration.register": "Register",
|
||||||
|
"enterprisetpa.title.heading": "Would you like to sign in using your {providerName} credentials?",
|
||||||
|
"enterprisetpa.login.button.text": "Show me other ways to sign in or register",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Show me other ways to sign in",
|
||||||
|
"sso.sign.in.with": "Sign in with {providerName}",
|
||||||
|
"sso.create.account.using": "Create account using {providerName}",
|
||||||
|
"show.password": "Show password",
|
||||||
|
"hide.password": "Hide password",
|
||||||
|
"one.letter": "1 letter",
|
||||||
|
"one.number": "1 number",
|
||||||
|
"eight.characters": "8 characters",
|
||||||
|
"password.sr.only.helping.text": "Password must contain at least 8 characters, at least one letter, and at least one number",
|
||||||
|
"tpa.alert.heading": "Almost done!",
|
||||||
|
"login.third.party.auth.account.not.linked": "You have successfully signed into {currentProvider}, but your {currentProvider} account does not have a linked {platformName} account. To link your accounts, sign in now using your {platformName} password.",
|
||||||
|
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "Finish creating your account",
|
||||||
|
"zendesk.supportTitle": "edX Support",
|
||||||
|
"zendesk.selectTicketForm": "Please choose your request type:",
|
||||||
|
"error.notfound.message": "The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again.",
|
||||||
|
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
||||||
|
"forgot.password.page.title": "Forgot Password | {siteName}",
|
||||||
|
"forgot.password.page.heading": "Reset password",
|
||||||
|
"forgot.password.page.instructions": "Please enter your email address below and we will send you an email with instructions on how to reset your password.",
|
||||||
|
"forgot.password.page.invalid.email.message": "Enter a valid email address",
|
||||||
|
"forgot.password.page.email.field.label": "Email",
|
||||||
|
"forgot.password.page.submit.button": "Submit",
|
||||||
|
"forgot.password.error.alert.title.": "We were unable to contact you.",
|
||||||
|
"forgot.password.error.message.title": "An error occurred.",
|
||||||
|
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
||||||
|
"forgot.password.empty.email.field.error": "Enter your email",
|
||||||
|
"forgot.password.email.help.text": "The email address you used to register with {platformName}",
|
||||||
|
"confirmation.message.title": "Check your email",
|
||||||
|
"confirmation.support.link": "contact technical support",
|
||||||
|
"need.help.sign.in.text": "Need help signing in?",
|
||||||
|
"additional.help.text": "For additional help, contact {platformName} support at ",
|
||||||
|
"sign.in.text": "Sign in",
|
||||||
|
"extend.field.errors": "{emailError} below.",
|
||||||
|
"invalid.token.heading": "Invalid password reset link",
|
||||||
|
"invalid.token.error.message": "This password reset link is invalid. It may have been used already. Enter your email below to receive a new link.",
|
||||||
|
"token.validation.rate.limit.error.heading": "Too many requests",
|
||||||
|
"token.validation.rate.limit.error": "An error has occurred because of too many requests. Please try again after some time.",
|
||||||
|
"token.validation.internal.sever.error.heading": "Token validation failure",
|
||||||
|
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
|
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
|
"account.activation.error.message": "Something went wrong, please {supportLink} to resolve this issue.",
|
||||||
|
"login.inactive.user.error": "In order to sign in, you need to activate your account.{lineBreak}\n {lineBreak}We just sent an activation link to {email}. If you do not receive an email,\n check your spam folders or {supportLink}.",
|
||||||
|
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
||||||
|
"login.incorrect.credentials.error.attempts.text.1": "The username, email or password you entered is incorrect. You have {remainingAttempts} more sign in\n attempts before your account is temporarily locked.",
|
||||||
|
"login.incorrect.credentials.error.attempts.text.2": "If you've forgotten your password, {resetLink}",
|
||||||
|
"account.locked.out.message.2": "To be on the safe side, you can {resetLink} before trying again.",
|
||||||
|
"login.incorrect.credentials.error.with.reset.link": "The username, email, or password you entered is incorrect. Please try again or {resetLink}.",
|
||||||
|
"login.page.title": "Login | {siteName}",
|
||||||
|
"login.user.identity.label": "Username or email",
|
||||||
|
"login.password.label": "Password",
|
||||||
|
"sign.in.button": "Sign in",
|
||||||
|
"forgot.password": "Forgot password",
|
||||||
|
"institution.login.button": "Institution/campus credentials",
|
||||||
|
"institution.login.page.title": "Sign in with institution/campus credentials",
|
||||||
|
"login.other.options.heading": "Or sign in with:",
|
||||||
|
"non.compliant.password.title": "We recently changed our password requirements",
|
||||||
|
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
||||||
|
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
||||||
|
"enterprise.login.btn.text": "Company or school credentials",
|
||||||
|
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
||||||
|
"email.validation.message": "Enter your username or email",
|
||||||
|
"password.validation.message": "Password criteria has not been met",
|
||||||
|
"account.activation.success.message.title": "Success! You have activated your account.",
|
||||||
|
"account.activation.success.message": "You will now receive email updates and alerts from us related to the courses you are enrolled in. Sign in to continue.",
|
||||||
|
"account.activation.info.message": "This account has already been activated.",
|
||||||
|
"account.activation.error.message.title": "Your account could not be activated",
|
||||||
|
"account.activation.support.link": "contact support",
|
||||||
|
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
||||||
|
"account.confirmation.success.message": "Sign in to continue.",
|
||||||
|
"account.confirmation.info.message": "This email has already been confirmed.",
|
||||||
|
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
||||||
|
"tpa.account.link": "{provider} account",
|
||||||
|
"internal.server.error.message": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
|
"login.rate.limit.reached.message": "Too many failed login attempts. Try again later.",
|
||||||
|
"login.failure.header.title": "We couldn't sign you in.",
|
||||||
|
"contact.support.link": "contact {platformName} support",
|
||||||
|
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
||||||
|
"login.form.invalid.error.message": "Please fill in the fields below.",
|
||||||
|
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
||||||
|
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
||||||
|
"password.security.nudge.title": "Password security",
|
||||||
|
"password.security.block.title": "Password change required",
|
||||||
|
"password.security.nudge.body": "Our system detected that your password is vulnerable. We recommend you change it so that your account stays secure.",
|
||||||
|
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
||||||
|
"password.security.close.button": "Close",
|
||||||
|
"password.security.redirect.to.reset.password.button": "Reset your password",
|
||||||
|
"login.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
|
"progressive.profiling.page.title": "Welcome | {siteName}",
|
||||||
|
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
||||||
|
"optional.fields.information.link": "Learn more about how we use this information.",
|
||||||
|
"optional.fields.submit.button": "Submit",
|
||||||
|
"optional.fields.skip.button": "Skip for now",
|
||||||
|
"optional.fields.next.button": "Next",
|
||||||
|
"continue.to.platform": "Continue to {platformName}",
|
||||||
|
"modal.title": "Thanks for letting us know.",
|
||||||
|
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
||||||
|
"welcome.page.error.heading": "We couldn't update your profile",
|
||||||
|
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time.",
|
||||||
|
"recommendation.page.title": "Recommendations | {siteName}",
|
||||||
|
"recommendation.page.heading": "We have a few recommendations to get you started.",
|
||||||
|
"recommendation.skip.button": "Skip for now",
|
||||||
|
"register.page.title": "Register | {siteName}",
|
||||||
|
"registration.fullname.label": "Full name",
|
||||||
|
"registration.email.label": "Email",
|
||||||
|
"registration.username.label": "Public username",
|
||||||
|
"registration.password.label": "Password",
|
||||||
|
"registration.country.label": "Country/Region",
|
||||||
|
"registration.opt.in.label": "I agree that {siteName} may send me marketing messages.",
|
||||||
|
"help.text.name": "This name will be used by any certificates that you earn.",
|
||||||
|
"help.text.username.1": "The name that will identify you in your courses.",
|
||||||
|
"help.text.username.2": "This can not be changed later.",
|
||||||
|
"help.text.email": "For account activation and important updates",
|
||||||
|
"create.account.for.free.button": "Create an account for free",
|
||||||
|
"registration.other.options.heading": "Or register with:",
|
||||||
|
"register.institution.login.button": "Institution/campus credentials",
|
||||||
|
"register.institution.login.page.title": "Register with institution/campus credentials",
|
||||||
|
"empty.name.field.error": "Enter your full name",
|
||||||
|
"empty.email.field.error": "Enter your email",
|
||||||
|
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
||||||
|
"empty.password.field.error": "Password criteria has not been met",
|
||||||
|
"empty.country.field.error": "Select your country or region of residence",
|
||||||
|
"email.do.not.match": "The email addresses do not match.",
|
||||||
|
"email.invalid.format.error": "Enter a valid email address",
|
||||||
|
"username.validation.message": "Username must be between 2 and 30 characters",
|
||||||
|
"name.validation.message": "Enter a valid name",
|
||||||
|
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
||||||
|
"registration.request.failure.header": "We couldn't create your account.",
|
||||||
|
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
||||||
|
"registration.request.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
|
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
||||||
|
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
||||||
|
"registration.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
|
"terms.of.service.and.honor.code": "Terms of Service and Honor Code",
|
||||||
|
"privacy.policy": "Privacy Policy",
|
||||||
|
"honor.code": "Honor Code",
|
||||||
|
"terms.of.service": "Terms of Service",
|
||||||
|
"registration.username.suggestion.label": "Suggested:",
|
||||||
|
"did.you.mean.alert.text": "Did you mean",
|
||||||
|
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
||||||
|
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
||||||
|
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
||||||
|
"sign.in": "Sign in",
|
||||||
|
"reset.password.page.title": "Reset Password | {siteName}",
|
||||||
|
"reset.password": "Reset password",
|
||||||
|
"reset.password.page.instructions": "Enter and confirm your new password.",
|
||||||
|
"new.password.label": "New password",
|
||||||
|
"confirm.password.label": "Confirm password",
|
||||||
|
"passwords.do.not.match": "Passwords do not match",
|
||||||
|
"confirm.your.password": "Confirm your password",
|
||||||
|
"reset.password.failure.heading": "We couldn't reset your password.",
|
||||||
|
"reset.password.form.submission.error": "Please check your responses and try again.",
|
||||||
|
"reset.server.rate.limit.error": "Too many requests.",
|
||||||
|
"reset.password.success.heading": "Password reset complete.",
|
||||||
|
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
||||||
|
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time."
|
||||||
|
}
|
||||||
@@ -1,219 +1,168 @@
|
|||||||
{
|
{
|
||||||
"start.learning": "Começar a aprender",
|
"start.learning": "Começar a aprender",
|
||||||
"with.site.name": "with {siteName}",
|
"with.site.name": "com {siteName}",
|
||||||
"complete.your.profile.1": "Concluído",
|
"complete.your.profile.1": "Concluído",
|
||||||
"complete.your.profile.2": "o seu perfil",
|
"complete.your.profile.2": "o seu perfil",
|
||||||
"welcome.to.platform": "Bem vindo a {siteName}, {username}!",
|
"welcome.to.platform": "Bem vindo a {siteName}, {username}!",
|
||||||
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
"institution.login.page.sub.heading": "Escolha a sua instituição a partir da lista abaixo",
|
||||||
"forgot.password.confirmation.title": "Verifique o seu email",
|
|
||||||
"forgot.password.confirmation.support.link": "contacto o suporte técnico",
|
|
||||||
"forgot.password.confirmation.info": "Se não receber uma mensagem para alterar a palavra-passe após 1 minuto, verifique se introduziu o endereço de correio electrónico correcto, ou verifique a sua pasta de spam.",
|
|
||||||
"logistration.sign.in": "Iniciar sessão",
|
"logistration.sign.in": "Iniciar sessão",
|
||||||
"logistration.register": "Registe-se",
|
"logistration.register": "Registe-se",
|
||||||
"internal.server.error.message": "Ocorreu um erro. Tente actualizar a página, ou verifique a sua ligação à Internet.",
|
|
||||||
"server.ratelimit.error.message": "Ocorreu um erro devido a demasiados pedidos. Por favor, tente novamente após algum tempo.",
|
|
||||||
"enterprisetpa.title.heading": "Gostaria de iniciar sessão usando as suas {providerName} credenciais?",
|
"enterprisetpa.title.heading": "Gostaria de iniciar sessão usando as suas {providerName} credenciais?",
|
||||||
"enterprisetpa.sso.button.title": "Inicie a sessão utilizando {providerName}",
|
|
||||||
"enterprisetpa.login.button.text": "Mostre-me outras formas de iniciar sessão ou registar-se",
|
"enterprisetpa.login.button.text": "Mostre-me outras formas de iniciar sessão ou registar-se",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Mostre-me outras formas de iniciar sessão",
|
||||||
"sso.sign.in.with": "Inicie sessão com {providerName}",
|
"sso.sign.in.with": "Inicie sessão com {providerName}",
|
||||||
"sso.create.account.using": "Criar conta usando {providerName}",
|
"sso.create.account.using": "Criar conta usando {providerName}",
|
||||||
"show.password": "Show password",
|
"show.password": "Mostrar palavra-passe",
|
||||||
"hide.password": "Hide password",
|
"hide.password": "Ocultar palavra-passe",
|
||||||
"one.letter": "1 letter",
|
"one.letter": "1 letra",
|
||||||
"one.number": "1 number",
|
"one.number": "1 número",
|
||||||
"eight.characters": "8 characters",
|
"eight.characters": "8 caracteres",
|
||||||
"password.sr.only.helping.text": "Password must contain at least 8 characters, at least one letter, and at least one number",
|
"password.sr.only.helping.text": "A palavra-passe deve conter pelo menos 8 carateres, pelo menos uma letra, e pelo menos um número",
|
||||||
"tpa.alert.heading": "Almost done!",
|
"tpa.alert.heading": "Quase pronto!",
|
||||||
"login.third.party.auth.account.not.linked": "Iniciou sessão com sucesso em {currentProvider}, mas a sua conta {currentProvider} não está vinculada a uma conta {platformName}. Para vincular as suas contas, inicie sessão através da sua palavra-passe em {platformName}.",
|
"login.third.party.auth.account.not.linked": "Iniciou sessão com sucesso em {currentProvider}, mas a sua conta {currentProvider} não está vinculada a uma conta {platformName}. Para vincular as suas contas, inicie sessão através da sua palavra-passe em {platformName}.",
|
||||||
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
"register.third.party.auth.account.not.linked": "Entrou com sucesso em {currentProvider}! Só precisamos de um pouco mais de informação antes de começar a aprender com {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "Acabe de criar a sua conta",
|
||||||
|
"zendesk.supportTitle": "Apoio edX",
|
||||||
|
"zendesk.selectTicketForm": "Por favor, escolha o seu tipo de pedido:",
|
||||||
"error.notfound.message": "A página que procura não está disponível ou há um erro no URL. Por favor, verifique o URL e tente novamente.",
|
"error.notfound.message": "A página que procura não está disponível ou há um erro no URL. Por favor, verifique o URL e tente novamente.",
|
||||||
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
"forgot.password.confirmation.message": "Enviámos um email para {email} com instruções para redefinir a sua palavra-passe.\n Se não receber uma mensagem de redefinição de palavra-passe após 1 minuto, verifique se introduziu\n o endereço de correio electrónico correto, ou verifique a sua pasta de spam. Se precisar de mais assistência, {supportLink}.",
|
||||||
"forgot.password.page.title": "Esqueceu a Senha | {siteName}",
|
"forgot.password.page.title": "Esqueceu a Senha | {siteName}",
|
||||||
"forgot.password.page.heading": "Reset password",
|
"forgot.password.page.heading": "Redefinir palavra-passe",
|
||||||
"forgot.password.page.instructions": "Please enter your email address below and we will send you an email with instructions on how to reset your password.",
|
"forgot.password.page.instructions": "Por favor introduza o seu endereço de email abaixo e enviar-lhe-emos um email com instruções sobre como redefinir a sua palavra-passe.",
|
||||||
"forgot.password.page.invalid.email.message": "Introduzir um endereço de correio electrónico válido",
|
"forgot.password.page.invalid.email.message": "Introduzir um endereço de correio electrónico válido",
|
||||||
"forgot.password.page.email.field.label": "Email",
|
"forgot.password.page.email.field.label": "Email",
|
||||||
"forgot.password.page.submit.button": "Submeter",
|
"forgot.password.page.submit.button": "Submeter",
|
||||||
"forgot.password.error.alert.title.": "We were unable to contact you.",
|
"forgot.password.error.alert.title.": "Não nos foi possível contactá-lo.",
|
||||||
"forgot.password.error.message.title": "Ocorreu um erro.",
|
"forgot.password.error.message.title": "Ocorreu um erro.",
|
||||||
"forgot.password.request.in.progress.message": "O seu pedido anterior está a ser processado, por favor tente novamente dentro de momentos.",
|
"forgot.password.request.in.progress.message": "O seu pedido anterior está a ser processado, por favor tente novamente dentro de momentos.",
|
||||||
"forgot.password.empty.email.field.error": "Enter your email",
|
"forgot.password.empty.email.field.error": "Digite o seu email",
|
||||||
"forgot.password.invalid.email.message": "O endereço de email fornecido não está formatado correctamente.",
|
|
||||||
"forgot.password.email.help.text": "O endereço de e-mail que usou para se registar em {platformName}",
|
"forgot.password.email.help.text": "O endereço de e-mail que usou para se registar em {platformName}",
|
||||||
"confirmation.message.title": "Verifique o seu email",
|
"confirmation.message.title": "Verifique o seu email",
|
||||||
"confirmation.support.link": "contact technical support",
|
"confirmation.support.link": "contacto o suporte técnico",
|
||||||
"need.help.sign.in.text": "Need help signing in?",
|
"need.help.sign.in.text": "Precisa de ajuda para entrar?",
|
||||||
"additional.help.text": "For additional help, contact {platformName} support at ",
|
"additional.help.text": "Para ajuda adicional, contacte o apoio {platformName} em",
|
||||||
"sign.in.text": "Sign in",
|
"sign.in.text": "Iniciar sessão",
|
||||||
"extend.field.errors": "{emailError} below.",
|
"extend.field.errors": "{emailError} abaixo.",
|
||||||
"invalid.token.heading": "Invalid password reset link",
|
"invalid.token.heading": "Link para Redefinir Palavra-passe inválido",
|
||||||
"invalid.token.error.message": "This password reset link is invalid. It may have been used already. Enter your email below to receive a new link.",
|
"invalid.token.error.message": "Este link de redefinição de palavra-passe é inválido. Pode já ter sido utilizada. Introduza o seu email abaixo para receber um novo link.",
|
||||||
"token.validation.rate.limit.error.heading": "Too many requests",
|
"token.validation.rate.limit.error.heading": "Demasiados pedidos",
|
||||||
"token.validation.rate.limit.error": "An error has occurred because of too many requests. Please try again after some time.",
|
"token.validation.rate.limit.error": "Ocorreu um erro devido a demasiados pedidos. Por favor, tente novamente após algum tempo.",
|
||||||
"token.validation.internal.sever.error.heading": "Token validation failure",
|
"token.validation.internal.sever.error.heading": "Falha na validação do Token",
|
||||||
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"token.validation.internal.sever.error": "Ocorreu um erro. Tente actualizar a página, ou verifique a sua ligação à Internet.",
|
||||||
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"internal.server.error": "Ocorreu um erro. Tente actualizar a página, ou verifique a sua ligação à Internet.",
|
||||||
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time.",
|
|
||||||
"account.activation.error.message": "Alguma coisa correu mal, siga {supportLink} para resolver esta questão.",
|
"account.activation.error.message": "Alguma coisa correu mal, siga {supportLink} para resolver esta questão.",
|
||||||
"login.inactive.user.error": "Para iniciar sessão, precisa ativar a sua conta. {lineBreak}\n {lineBreak} Acabámos de enviar um link de ativação para {email}. Se não receber um e-mail,\n verifique as suas pastas de spam ou {supportLink}.",
|
"login.inactive.user.error": "Para iniciar sessão, precisa ativar a sua conta. {lineBreak}\n {lineBreak} Acabámos de enviar um link de ativação para {email}. Se não receber um e-mail,\n verifique as suas pastas de spam ou {supportLink}.",
|
||||||
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
"allowed.domain.login.error": "Como utilizador do {allowedDomain}, deve iniciar sessão com o seu {allowedDomain} {tpaLink}.",
|
||||||
"login.incorrect.credentials.error.attempts.text.1": "The username, email or password you entered is incorrect. You have {remainingAttempts} more sign in\n attempts before your account is temporarily locked.",
|
"login.incorrect.credentials.error.attempts.text.1": "O nome de utilizador, email ou palavra-passe que introduziu está incorreto. Tem {remainingAttempts} mais tentativas\n de login antes da sua conta ser temporariamente bloqueada.",
|
||||||
"login.incorrect.credentials.error.attempts.text.2": "If you've forgotten your password, {resetLink}",
|
"login.incorrect.credentials.error.attempts.text.2": "Se esqueceu a sua palavra-passe, {resetLink}",
|
||||||
"account.locked.out.message.2": "To be on the safe side, you can {resetLink} before trying again.",
|
"account.locked.out.message.2": "Por precaução, pode {resetLink} antes de tentar novamente.",
|
||||||
"login.incorrect.credentials.error.with.reset.link": "The username, email, or password you entered is incorrect. Please try again or {resetLink}.",
|
"login.incorrect.credentials.error.with.reset.link": "O nome de utilizador, email ou senha que introduziu está incorreto. Por favor, tente novamente ou {resetLink}.",
|
||||||
"login.page.title": "Iniciar sessão | {siteName}",
|
"login.page.title": "Iniciar sessão | {siteName}",
|
||||||
"login.user.identity.label": "Username or email",
|
"login.user.identity.label": "Nome de utilizador ou e-mail",
|
||||||
"login.password.label": "Password",
|
"login.password.label": "Palavra-passe",
|
||||||
"sign.in.button": "Iniciar Sessão",
|
"sign.in.button": "Iniciar Sessão",
|
||||||
"sign.in.btn.pending.state": "Loading",
|
"forgot.password": "Esqueci-me da palavra-passe",
|
||||||
"need.help.signing.in.collapsible.menu": "Precisa de ajuda para entrar?",
|
"institution.login.button": "Credenciais da instituição/campus",
|
||||||
"forgot.password.link": "Esqueci-me da minha palavra-passe",
|
|
||||||
"forgot.password": "Forgot password",
|
|
||||||
"other.sign.in.issues": "Outros problemas de inicio de sessão",
|
|
||||||
"need.other.help.signing.in.collapsible.menu": "Precisa de outra ajuda para entrar?",
|
|
||||||
"institution.login.button": "Institution/campus credentials",
|
|
||||||
"institution.login.page.title": "Inicie sessão com credenciais de instituição/campus",
|
"institution.login.page.title": "Inicie sessão com credenciais de instituição/campus",
|
||||||
"institution.login.page.back.button": "Voltar para iniciar sessão",
|
"login.other.options.heading": "Ou faça login com:",
|
||||||
"create.an.account": "Criar uma conta",
|
|
||||||
"login.other.options.heading": "Or sign in with:",
|
|
||||||
"non.compliant.password.title": "Recentemente mudámos os nossos requisitos de palavra-passe",
|
"non.compliant.password.title": "Recentemente mudámos os nossos requisitos de palavra-passe",
|
||||||
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
"non.compliant.password.message": "A sua palavra-passe atual não satisfaz os novos requisitos de segurança. Acabámos de enviar uma mensagem de redefinição da palavra-passe para o endereço de email associado a esta conta. Obrigado por nos ajudar a manter os seus dados em segurança.",
|
||||||
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
"account.locked.out.message.1": "Para proteger sua conta, esta foi temporariamente bloqueada. Tente novamente dentro de 30 minutos.",
|
||||||
"first.time.here": "Está a entrar pela primeira vez?",
|
"enterprise.login.btn.text": "Credenciais da empresa ou escola",
|
||||||
"email.help.message": "O endereço de e-mail que usou para se registrar no edX.",
|
"username.or.email.format.validation.less.chars.message": "O nome de utilizador ou email deve ter pelo menos 3 carateres.",
|
||||||
"enterprise.login.btn.text": "Company or school credentials",
|
"email.validation.message": "Insira o seu nome de utilizador ou email",
|
||||||
"email.format.validation.message": "O endereço de e-mail fornecido não está formatado correctamente.",
|
"password.validation.message": "Os critérios de palavra-passe não foram cumpridos",
|
||||||
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
|
||||||
"email.validation.message": "Enter your username or email",
|
|
||||||
"password.validation.message": "Password criteria has not been met",
|
|
||||||
"register.link": "Criar uma conta",
|
|
||||||
"sign.in.heading": "Iniciar Sessão",
|
|
||||||
"account.activation.success.message.title": "Sucesso! Você ativou a sua conta.",
|
"account.activation.success.message.title": "Sucesso! Você ativou a sua conta.",
|
||||||
"account.activation.success.message": "Receberá agora actualizações por e-mail e alertas nossos relacionados com os cursos em que está inscrito. Inicie a sessão para continuar.",
|
"account.activation.success.message": "Receberá agora actualizações por e-mail e alertas nossos relacionados com os cursos em que está inscrito. Inicie a sessão para continuar.",
|
||||||
"account.activation.info.message": "This account has already been activated.",
|
"account.activation.info.message": "Esta conta já foi ativada.",
|
||||||
"account.activation.error.message.title": "A sua conta não pôde ser ativada",
|
"account.activation.error.message.title": "A sua conta não pôde ser ativada",
|
||||||
"account.activation.support.link": "contato de suporte",
|
"account.activation.support.link": "contato de suporte",
|
||||||
"tpa.account.link": "{provider} account",
|
"account.confirmation.success.message.title": "Sucesso! Confirmou o seu email.",
|
||||||
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
"account.confirmation.success.message": "Inicie sessão para continuar.",
|
||||||
"account.confirmation.success.message": "Sign in to continue.",
|
"account.confirmation.info.message": "Este email já foi confirmado.",
|
||||||
"account.confirmation.info.message": "This email has already been confirmed.",
|
"account.confirmation.error.message.title": "Não foi possível confirmar o seu email",
|
||||||
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
"tpa.account.link": "Conta {provider}",
|
||||||
|
"internal.server.error.message": "Ocorreu um erro. Tente actualizar a página, ou verifique a sua ligação à Internet.",
|
||||||
"login.rate.limit.reached.message": "Muitas tentativas de login sem sucesso. Tente novamente mais tarde.",
|
"login.rate.limit.reached.message": "Muitas tentativas de login sem sucesso. Tente novamente mais tarde.",
|
||||||
"login.failure.header.title": "O seu acesso não foi possível.",
|
"login.failure.header.title": "O seu acesso não foi possível.",
|
||||||
"contact.support.link": "contactar o suporte {platformName}",
|
"contact.support.link": "contactar o suporte {platformName}",
|
||||||
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
"login.incorrect.credentials.error": "O nome de utilizador, email, ou palavra-passe que introduziu está incorreto. Por favor, tente novamente.",
|
||||||
"login.failed.attempt.error": "Tem mais {remainingAttempts} tentativas de inicio sessão antes que a sua conta seja temporariamente bloqueada.",
|
"login.form.invalid.error.message": "Por favor, preencha os campos abaixo.",
|
||||||
"login.locked.out.error.message": "Para proteger a sua conta, esta foi temporariamente bloqueada. Tente novamente em {lockedOutPeriod} minutos.",
|
"login.incorrect.credentials.error.reset.link.text": "redefinir a sua palavra-passe",
|
||||||
"login.form.invalid.error.message": "Please fill in the fields below.",
|
"login.incorrect.credentials.error.before.account.blocked.text": "clique aqui para a redefinir.",
|
||||||
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
"password.security.nudge.title": "Segurança da palavra-passe",
|
||||||
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
"password.security.block.title": "Alteração de palavra-passe necessária",
|
||||||
"password.security.nudge.title": "Password security",
|
"password.security.nudge.body": "O nosso sistema detectou que a sua palavra-passe é vulnerável. Recomendamos que a altere para que a sua conta permaneça segura.",
|
||||||
"password.security.block.title": "Password change required",
|
"password.security.block.body": "O nosso sistema detectou que a sua palavra-passe é vulnerável. Altere a sua palavra-passe para que a sua conta permaneça segura.",
|
||||||
"password.security.nudge.body": "Our system detected that your password is vulnerable. We recommend you change it so that your account stays secure.",
|
"password.security.close.button": "Fechar",
|
||||||
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
"password.security.redirect.to.reset.password.button": "Redefinir a sua palavra-passe",
|
||||||
"password.security.close.button": "Close",
|
"login.tpa.authentication.failure": "Lamentamos, mas não tem autorização para aceder à plataforma {platform_name} através deste canal. Pedimos-lhe que entre em contacto com o administrador ou gestor do curso para aceder à plataforma {platform_name}. {line_break}{line_break}Detalhes do erro: {line_break}{error_message}",
|
||||||
"password.security.redirect.to.reset.password.button": "Reset your password",
|
"progressive.profiling.page.title": "Welcome | {siteName}",
|
||||||
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
"progressive.profiling.page.heading": "Algumas perguntas para si vão ajudar a tornar-nos mais espertos.",
|
||||||
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
"optional.fields.information.link": "Saiba mais sobre a forma como utilizamos esta informação.",
|
||||||
|
"optional.fields.submit.button": "Submeter",
|
||||||
|
"optional.fields.skip.button": "Saltar por enquanto",
|
||||||
|
"optional.fields.next.button": "Seguinte",
|
||||||
|
"continue.to.platform": "Continue para {platformName}",
|
||||||
|
"modal.title": "Obrigado por nos informar.",
|
||||||
|
"modal.description": "Pode completar o seu perfil nas configurações em qualquer altura se mudar de ideias.",
|
||||||
|
"welcome.page.error.heading": "Não foi possível atualizar o seu perfil",
|
||||||
|
"welcome.page.error.message": "Ocorreu um erro. Pode completar o seu perfil nas configurações em qualquer altura.",
|
||||||
|
"recommendation.page.title": "Recomendações | {siteName}",
|
||||||
|
"recommendation.page.heading": "Temos algumas recomendações para o ajudar a começar.",
|
||||||
|
"recommendation.skip.button": "Saltar por enquanto",
|
||||||
"register.page.title": "Registar | {siteName}",
|
"register.page.title": "Registar | {siteName}",
|
||||||
"registration.fullname.label": "Full name",
|
"registration.fullname.label": "Nome completo",
|
||||||
"registration.email.label": "Email",
|
"registration.email.label": "E-mail",
|
||||||
"registration.username.label": "Public username",
|
"registration.username.label": "Nome de utilizador público",
|
||||||
"registration.password.label": "Password",
|
"registration.password.label": "Palavra-passe",
|
||||||
"registration.country.label": "Country/Region",
|
"registration.country.label": "País/Região",
|
||||||
"registration.opt.in.label": "I agree that {siteName} may send me marketing messages.",
|
"registration.opt.in.label": "Concordo que {siteName} pode enviar-me mensagens de marketing.",
|
||||||
"help.text.name": "This name will be used by any certificates that you earn.",
|
"help.text.name": "Este nome será usado por quaisquer certificados que conseguir obter.",
|
||||||
"help.text.username.1": "The name that will identify you in your courses.",
|
"help.text.username.1": "O nome que o irá identificar nos seus cursos.",
|
||||||
"help.text.username.2": "This can not be changed later.",
|
"help.text.username.2": "Isto não pode ser alterado mais tarde.",
|
||||||
"help.text.email": "For account activation and important updates",
|
"help.text.email": "Para ativação de contas e atualizações importantes",
|
||||||
"create.account.for.free.button": "Create an account for free",
|
"create.account.for.free.button": "Criar uma conta gratuitamente",
|
||||||
"create.an.account.btn.pending.state": "Loading",
|
"registration.other.options.heading": "Ou registe-se com:",
|
||||||
"registration.other.options.heading": "Or register with:",
|
"register.institution.login.button": "Credenciais da instituição/campus",
|
||||||
"register.institution.login.button": "Institution/campus credentials",
|
|
||||||
"register.institution.login.page.title": "Registo com credenciais da instituição/campus",
|
"register.institution.login.page.title": "Registo com credenciais da instituição/campus",
|
||||||
"empty.name.field.error": "Enter your full name",
|
"empty.name.field.error": "Insira o seu nome completo",
|
||||||
"empty.email.field.error": "Enter your email",
|
"empty.email.field.error": "Insira o seu email",
|
||||||
"email.do.not.match": "The email addresses do not match.",
|
"empty.username.field.error": "O nome de utilizador deve ter entre 2 e 30 carateres",
|
||||||
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
"empty.password.field.error": "Os critérios de palavra-passe não foram cumpridos",
|
||||||
"empty.password.field.error": "Password criteria has not been met",
|
"empty.country.field.error": "Selecione o seu país ou região de residência",
|
||||||
"empty.country.field.error": "Select your country or region of residence",
|
"email.do.not.match": "Os endereços de email não correspondem.",
|
||||||
"email.invalid.format.error": "Enter a valid email address",
|
"email.invalid.format.error": "Introduzir um endereço de correio electrónico válido",
|
||||||
"email.ratelimit.less.chars.validation.message": "O e-mail deve ter 3 carateres.",
|
"username.validation.message": "O nome de utilizador deve ter entre 2 e 30 carateres",
|
||||||
"username.validation.message": "Username must be between 2 and 30 characters",
|
"name.validation.message": "Introduza um nome válido",
|
||||||
"name.validation.message": "Enter a valid name",
|
"username.format.validation.message": "Os nomes de utilizador só podem conter letras (A-Z, a-z), numerais (0-9), sublinhados (_), e hífenes (-). Os nomes de utilizador não podem conter espaços",
|
||||||
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
|
||||||
"support.education.research": "Apoie a pesquisa em educação fornecendo informações adicionais. (Opcional)",
|
|
||||||
"registration.request.failure.header": "Não foi possível criar a sua conta.",
|
"registration.request.failure.header": "Não foi possível criar a sua conta.",
|
||||||
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
"registration.empty.form.submission.error": "Verifique as suas respostas e tente novamente.",
|
||||||
"registration.request.server.error": "Ocorreu um erro. Tente actualizar a página, ou verifique a sua ligação à Internet.",
|
"registration.request.server.error": "Ocorreu um erro. Tente actualizar a página, ou verifique a sua ligação à Internet.",
|
||||||
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
"registration.rate.limit.error": "Demasiadas tentativas de registo falhadas. Tente novamente mais tarde.",
|
||||||
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
"registration.tpa.session.expired": "O tempo para registo utilizando {provider} expirou.",
|
||||||
|
"registration.tpa.authentication.failure": "Lamentamos, mas não tem autorização para aceder à plataforma {platform_name} através deste canal. Pedimos-lhe que entre em contacto com o administrador ou gestor do curso para aceder à plataforma {platform_name}. {line_break}{line_break}Detalhes do erro: {line_break}{error_message}",
|
||||||
"terms.of.service.and.honor.code": "Termos de Serviço e Código de Honra",
|
"terms.of.service.and.honor.code": "Termos de Serviço e Código de Honra",
|
||||||
"privacy.policy": "Política de Privacidade",
|
"privacy.policy": "Política de Privacidade",
|
||||||
"honor.code": "Honor Code",
|
"honor.code": "Código de Honra",
|
||||||
"terms.of.service": "Terms of Service",
|
"terms.of.service": "Termos do Serviço",
|
||||||
"registration.year.of.birth.label": "Ano de Nascimento (opcional)",
|
"registration.username.suggestion.label": "Sugerido:",
|
||||||
"registration.field.gender.options.label": "Género (opcional)",
|
"did.you.mean.alert.text": "Quis dizer",
|
||||||
"registration.goals.label": "Diga-nos porque está interessado no edX (opcional)",
|
"register.page.terms.of.service.and.honor.code": "Ao criar uma conta, concorda com o {tosAndHonorCode} e reconhece que {platformName} e cada\n Membro processa os seus dados pessoais em conformidade com a {privacyPolicy}.",
|
||||||
"registration.field.gender.options.f": "Feminino",
|
"register.page.honor.code": "Concordo com a {tosAndHonorCode} {platformName}",
|
||||||
"registration.field.gender.options.m": "Masculino",
|
"register.page.terms.of.service": "Concordo com os {termsOfService} {platformName}",
|
||||||
"registration.field.gender.options.o": "Outros/Prefere não dizer",
|
"sign.in": "Iniciar sessão",
|
||||||
"registration.field.education.levels.label": "Nível mais elevado de escolaridade concluído (opcional)",
|
|
||||||
"registration.field.education.levels.p": "Doutoramento",
|
|
||||||
"registration.field.education.levels.m": "Mestrado ou Grau Profissional",
|
|
||||||
"registration.field.education.levels.b": "Licenciatura",
|
|
||||||
"registration.field.education.levels.a": "Pós-graduação",
|
|
||||||
"registration.field.education.levels.hs": "Secundário",
|
|
||||||
"registration.field.education.levels.jhs": "2ªciclo/3ºciclo",
|
|
||||||
"registration.field.education.levels.el": "Primária",
|
|
||||||
"registration.field.education.levels.none": "Sem estudos",
|
|
||||||
"registration.field.education.levels.other": "Outra educação",
|
|
||||||
"registration.username.suggestion.label": "Suggested:",
|
|
||||||
"registration.using.tpa.form.heading": "Finish creating your account",
|
|
||||||
"did.you.mean.alert.text": "Did you mean",
|
|
||||||
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
|
||||||
"sign.in": "Sign in",
|
|
||||||
"reset.password.page.title": "Redefinir Palavra-passe | {siteName}",
|
"reset.password.page.title": "Redefinir Palavra-passe | {siteName}",
|
||||||
"reset.password": "Reset password",
|
"reset.password": "Redefinir palavra-passe",
|
||||||
"reset.password.page.instructions": "Insira e confirme a sua nova palavra-passe.",
|
"reset.password.page.instructions": "Insira e confirme a sua nova palavra-passe.",
|
||||||
"new.password.label": "New password",
|
"new.password.label": "Nova palavra-passe",
|
||||||
"confirm.password.label": "Confirm password",
|
"confirm.password.label": "Confirmar palavra-passe",
|
||||||
"passwords.do.not.match": "Passwords do not match",
|
"passwords.do.not.match": "As palavras-passe não coincidem",
|
||||||
"confirm.your.password": "Confirm your password",
|
"confirm.your.password": "Confirme a sua palavra-passe",
|
||||||
"forgot.password.confirmation.sign.in.link": "inicie a sessão",
|
"reset.password.failure.heading": "Não conseguimos redefinir sua palavra-passe.",
|
||||||
"reset.password.request.forgot.password.text": "Esqueci-me da palavra-passe",
|
"reset.password.form.submission.error": "Por favor, verifique as suas respostas e tente novamente.",
|
||||||
"reset.password.request.invalid.token.header": "Link para Redefinir Palavra-passe inválido",
|
"reset.server.rate.limit.error": "Demasiados pedidos.",
|
||||||
"reset.password.empty.new.password.field.error": "Por favor, introduza a sua nova palavra-passe.",
|
"reset.password.success.heading": "Redefinição de palavra-passe concluída",
|
||||||
"reset.password.failure.heading": "We couldn't reset your password.",
|
"reset.password.success": "A sua palavra-passe foi redefinida. Inicie sessão na sua conta.",
|
||||||
"reset.password.form.submission.error": "Please check your responses and try again.",
|
"rate.limit.error": "Ocorreu um erro devido a demasiados pedidos. Por favor, tente novamente após algum tempo."
|
||||||
"reset.password.request.server.error": "Falha na redefinição da palavra-passe",
|
|
||||||
"reset.password.token.validation.sever.error": "Falha na validação do Token",
|
|
||||||
"reset.server.rate.limit.error": "Too many requests.",
|
|
||||||
"reset.password.success.heading": "Password reset complete.",
|
|
||||||
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
|
||||||
"progressive.profiling.page.title": "Optional Fields | {siteName}",
|
|
||||||
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
|
||||||
"gender.options.label": "Gender (optional)",
|
|
||||||
"gender.options.f": "Female",
|
|
||||||
"gender.options.m": "Male",
|
|
||||||
"gender.options.o": "Other/Prefer not to say",
|
|
||||||
"education.levels.label": "Highest level of education completed (optional)",
|
|
||||||
"education.levels.p": "Doctorate",
|
|
||||||
"education.levels.m": "Master's or professional degree",
|
|
||||||
"education.levels.b": "Bachelor's degree",
|
|
||||||
"education.levels.a": "Associate's degree",
|
|
||||||
"education.levels.hs": "Secondary/high school",
|
|
||||||
"education.levels.jhs": "Junior secondary/junior high/middle school",
|
|
||||||
"education.levels.el": "Elementary/primary school",
|
|
||||||
"education.levels.none": "No formal education",
|
|
||||||
"education.levels.other": "Other education",
|
|
||||||
"year.of.birth.label": "Year of birth (optional)",
|
|
||||||
"optional.fields.information.link": "Learn more about how we use this information.",
|
|
||||||
"optional.fields.submit.button": "Submit",
|
|
||||||
"optional.fields.skip.button": "Skip for now",
|
|
||||||
"continue.to.platform": "Continue to {platformName}",
|
|
||||||
"modal.title": "Thanks for letting us know.",
|
|
||||||
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
|
||||||
"welcome.page.error.heading": "We couldn't update your profile",
|
|
||||||
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time."
|
|
||||||
}
|
}
|
||||||
@@ -5,16 +5,11 @@
|
|||||||
"complete.your.profile.2": "your profile",
|
"complete.your.profile.2": "your profile",
|
||||||
"welcome.to.platform": "Welcome to {siteName}, {username}!",
|
"welcome.to.platform": "Welcome to {siteName}, {username}!",
|
||||||
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
||||||
"forgot.password.confirmation.title": "Check your email",
|
|
||||||
"forgot.password.confirmation.support.link": "contact technical support",
|
|
||||||
"forgot.password.confirmation.info": "If you do not receive a password reset message after 1 minute, verify that you entered the correct email address, or check your spam folder.",
|
|
||||||
"logistration.sign.in": "Sign in",
|
"logistration.sign.in": "Sign in",
|
||||||
"logistration.register": "Register",
|
"logistration.register": "Register",
|
||||||
"internal.server.error.message": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
|
||||||
"server.ratelimit.error.message": "An error has occurred because of too many requests. Please try again after some time.",
|
|
||||||
"enterprisetpa.title.heading": "Would you like to sign in using your {providerName} credentials?",
|
"enterprisetpa.title.heading": "Would you like to sign in using your {providerName} credentials?",
|
||||||
"enterprisetpa.sso.button.title": "Sign in using {providerName}",
|
|
||||||
"enterprisetpa.login.button.text": "Show me other ways to sign in or register",
|
"enterprisetpa.login.button.text": "Show me other ways to sign in or register",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Show me other ways to sign in",
|
||||||
"sso.sign.in.with": "Sign in with {providerName}",
|
"sso.sign.in.with": "Sign in with {providerName}",
|
||||||
"sso.create.account.using": "Create account using {providerName}",
|
"sso.create.account.using": "Create account using {providerName}",
|
||||||
"show.password": "Show password",
|
"show.password": "Show password",
|
||||||
@@ -26,6 +21,9 @@
|
|||||||
"tpa.alert.heading": "Almost done!",
|
"tpa.alert.heading": "Almost done!",
|
||||||
"login.third.party.auth.account.not.linked": "You have successfully signed into {currentProvider}, but your {currentProvider} account does not have a linked {platformName} account. To link your accounts, sign in now using your {platformName} password.",
|
"login.third.party.auth.account.not.linked": "You have successfully signed into {currentProvider}, but your {currentProvider} account does not have a linked {platformName} account. To link your accounts, sign in now using your {platformName} password.",
|
||||||
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "Finish creating your account",
|
||||||
|
"zendesk.supportTitle": "edX Support",
|
||||||
|
"zendesk.selectTicketForm": "Please choose your request type:",
|
||||||
"error.notfound.message": "The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again.",
|
"error.notfound.message": "The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again.",
|
||||||
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
||||||
"forgot.password.page.title": "Forgot Password | {siteName}",
|
"forgot.password.page.title": "Forgot Password | {siteName}",
|
||||||
@@ -38,7 +36,6 @@
|
|||||||
"forgot.password.error.message.title": "An error occurred.",
|
"forgot.password.error.message.title": "An error occurred.",
|
||||||
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
||||||
"forgot.password.empty.email.field.error": "Enter your email",
|
"forgot.password.empty.email.field.error": "Enter your email",
|
||||||
"forgot.password.invalid.email.message": "The email address you've provided isn't formatted correctly.",
|
|
||||||
"forgot.password.email.help.text": "The email address you used to register with {platformName}",
|
"forgot.password.email.help.text": "The email address you used to register with {platformName}",
|
||||||
"confirmation.message.title": "Check your email",
|
"confirmation.message.title": "Check your email",
|
||||||
"confirmation.support.link": "contact technical support",
|
"confirmation.support.link": "contact technical support",
|
||||||
@@ -53,7 +50,6 @@
|
|||||||
"token.validation.internal.sever.error.heading": "Token validation failure",
|
"token.validation.internal.sever.error.heading": "Token validation failure",
|
||||||
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time.",
|
|
||||||
"account.activation.error.message": "Something went wrong, please {supportLink} to resolve this issue.",
|
"account.activation.error.message": "Something went wrong, please {supportLink} to resolve this issue.",
|
||||||
"login.inactive.user.error": "In order to sign in, you need to activate your account.{lineBreak}\n {lineBreak}We just sent an activation link to {email}. If you do not receive an email,\n check your spam folders or {supportLink}.",
|
"login.inactive.user.error": "In order to sign in, you need to activate your account.{lineBreak}\n {lineBreak}We just sent an activation link to {email}. If you do not receive an email,\n check your spam folders or {supportLink}.",
|
||||||
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
||||||
@@ -65,45 +61,32 @@
|
|||||||
"login.user.identity.label": "Username or email",
|
"login.user.identity.label": "Username or email",
|
||||||
"login.password.label": "Password",
|
"login.password.label": "Password",
|
||||||
"sign.in.button": "Sign in",
|
"sign.in.button": "Sign in",
|
||||||
"sign.in.btn.pending.state": "Loading",
|
|
||||||
"need.help.signing.in.collapsible.menu": "Need help signing in?",
|
|
||||||
"forgot.password.link": "Forgot my password",
|
|
||||||
"forgot.password": "Forgot password",
|
"forgot.password": "Forgot password",
|
||||||
"other.sign.in.issues": "Other sign in issues",
|
|
||||||
"need.other.help.signing.in.collapsible.menu": "Need other help signing in?",
|
|
||||||
"institution.login.button": "Institution/campus credentials",
|
"institution.login.button": "Institution/campus credentials",
|
||||||
"institution.login.page.title": "Sign in with institution/campus credentials",
|
"institution.login.page.title": "Sign in with institution/campus credentials",
|
||||||
"institution.login.page.back.button": "Back to sign in",
|
|
||||||
"create.an.account": "Create an account",
|
|
||||||
"login.other.options.heading": "Or sign in with:",
|
"login.other.options.heading": "Or sign in with:",
|
||||||
"non.compliant.password.title": "We recently changed our password requirements",
|
"non.compliant.password.title": "We recently changed our password requirements",
|
||||||
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
||||||
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
||||||
"first.time.here": "First time here?",
|
|
||||||
"email.help.message": "The email address you used to register with edX.",
|
|
||||||
"enterprise.login.btn.text": "Company or school credentials",
|
"enterprise.login.btn.text": "Company or school credentials",
|
||||||
"email.format.validation.message": "The email address you've provided isn't formatted correctly.",
|
|
||||||
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
||||||
"email.validation.message": "Enter your username or email",
|
"email.validation.message": "Enter your username or email",
|
||||||
"password.validation.message": "Password criteria has not been met",
|
"password.validation.message": "Password criteria has not been met",
|
||||||
"register.link": "Create an account",
|
|
||||||
"sign.in.heading": "Sign in",
|
|
||||||
"account.activation.success.message.title": "Success! You have activated your account.",
|
"account.activation.success.message.title": "Success! You have activated your account.",
|
||||||
"account.activation.success.message": "You will now receive email updates and alerts from us related to the courses you are enrolled in. Sign in to continue.",
|
"account.activation.success.message": "You will now receive email updates and alerts from us related to the courses you are enrolled in. Sign in to continue.",
|
||||||
"account.activation.info.message": "This account has already been activated.",
|
"account.activation.info.message": "This account has already been activated.",
|
||||||
"account.activation.error.message.title": "Your account could not be activated",
|
"account.activation.error.message.title": "Your account could not be activated",
|
||||||
"account.activation.support.link": "contact support",
|
"account.activation.support.link": "contact support",
|
||||||
"tpa.account.link": "{provider} account",
|
|
||||||
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
||||||
"account.confirmation.success.message": "Sign in to continue.",
|
"account.confirmation.success.message": "Sign in to continue.",
|
||||||
"account.confirmation.info.message": "This email has already been confirmed.",
|
"account.confirmation.info.message": "This email has already been confirmed.",
|
||||||
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
||||||
|
"tpa.account.link": "{provider} account",
|
||||||
|
"internal.server.error.message": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"login.rate.limit.reached.message": "Too many failed login attempts. Try again later.",
|
"login.rate.limit.reached.message": "Too many failed login attempts. Try again later.",
|
||||||
"login.failure.header.title": "We couldn't sign you in.",
|
"login.failure.header.title": "We couldn't sign you in.",
|
||||||
"contact.support.link": "contact {platformName} support",
|
"contact.support.link": "contact {platformName} support",
|
||||||
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
||||||
"login.failed.attempt.error": "You have {remainingAttempts} more sign in attempts before your account is temporarily locked.",
|
|
||||||
"login.locked.out.error.message": "To protect your account, it’s been temporarily locked. Try again in {lockedOutPeriod} minutes.",
|
|
||||||
"login.form.invalid.error.message": "Please fill in the fields below.",
|
"login.form.invalid.error.message": "Please fill in the fields below.",
|
||||||
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
||||||
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
||||||
@@ -113,8 +96,21 @@
|
|||||||
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
||||||
"password.security.close.button": "Close",
|
"password.security.close.button": "Close",
|
||||||
"password.security.redirect.to.reset.password.button": "Reset your password",
|
"password.security.redirect.to.reset.password.button": "Reset your password",
|
||||||
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
"login.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
"progressive.profiling.page.title": "Welcome | {siteName}",
|
||||||
|
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
||||||
|
"optional.fields.information.link": "Learn more about how we use this information.",
|
||||||
|
"optional.fields.submit.button": "Submit",
|
||||||
|
"optional.fields.skip.button": "Skip for now",
|
||||||
|
"optional.fields.next.button": "Next",
|
||||||
|
"continue.to.platform": "Continue to {platformName}",
|
||||||
|
"modal.title": "Thanks for letting us know.",
|
||||||
|
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
||||||
|
"welcome.page.error.heading": "We couldn't update your profile",
|
||||||
|
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time.",
|
||||||
|
"recommendation.page.title": "Recommendations | {siteName}",
|
||||||
|
"recommendation.page.heading": "We have a few recommendations to get you started.",
|
||||||
|
"recommendation.skip.button": "Skip for now",
|
||||||
"register.page.title": "Register | {siteName}",
|
"register.page.title": "Register | {siteName}",
|
||||||
"registration.fullname.label": "Full name",
|
"registration.fullname.label": "Full name",
|
||||||
"registration.email.label": "Email",
|
"registration.email.label": "Email",
|
||||||
@@ -127,51 +123,34 @@
|
|||||||
"help.text.username.2": "This can not be changed later.",
|
"help.text.username.2": "This can not be changed later.",
|
||||||
"help.text.email": "For account activation and important updates",
|
"help.text.email": "For account activation and important updates",
|
||||||
"create.account.for.free.button": "Create an account for free",
|
"create.account.for.free.button": "Create an account for free",
|
||||||
"create.an.account.btn.pending.state": "Loading",
|
|
||||||
"registration.other.options.heading": "Or register with:",
|
"registration.other.options.heading": "Or register with:",
|
||||||
"register.institution.login.button": "Institution/campus credentials",
|
"register.institution.login.button": "Institution/campus credentials",
|
||||||
"register.institution.login.page.title": "Register with institution/campus credentials",
|
"register.institution.login.page.title": "Register with institution/campus credentials",
|
||||||
"empty.name.field.error": "Enter your full name",
|
"empty.name.field.error": "Enter your full name",
|
||||||
"empty.email.field.error": "Enter your email",
|
"empty.email.field.error": "Enter your email",
|
||||||
"email.do.not.match": "The email addresses do not match.",
|
|
||||||
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
||||||
"empty.password.field.error": "Password criteria has not been met",
|
"empty.password.field.error": "Password criteria has not been met",
|
||||||
"empty.country.field.error": "Select your country or region of residence",
|
"empty.country.field.error": "Select your country or region of residence",
|
||||||
|
"email.do.not.match": "The email addresses do not match.",
|
||||||
"email.invalid.format.error": "Enter a valid email address",
|
"email.invalid.format.error": "Enter a valid email address",
|
||||||
"email.ratelimit.less.chars.validation.message": "Email must have 3 characters.",
|
|
||||||
"username.validation.message": "Username must be between 2 and 30 characters",
|
"username.validation.message": "Username must be between 2 and 30 characters",
|
||||||
"name.validation.message": "Enter a valid name",
|
"name.validation.message": "Enter a valid name",
|
||||||
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
||||||
"support.education.research": "Support education research by providing additional information. (Optional)",
|
|
||||||
"registration.request.failure.header": "We couldn't create your account.",
|
"registration.request.failure.header": "We couldn't create your account.",
|
||||||
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
||||||
"registration.request.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"registration.request.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
||||||
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
||||||
|
"registration.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"terms.of.service.and.honor.code": "Terms of Service and Honor Code",
|
"terms.of.service.and.honor.code": "Terms of Service and Honor Code",
|
||||||
"privacy.policy": "Privacy Policy",
|
"privacy.policy": "Privacy Policy",
|
||||||
"honor.code": "Honor Code",
|
"honor.code": "Honor Code",
|
||||||
"terms.of.service": "Terms of Service",
|
"terms.of.service": "Terms of Service",
|
||||||
"registration.year.of.birth.label": "Year of birth (optional)",
|
|
||||||
"registration.field.gender.options.label": "Gender (optional)",
|
|
||||||
"registration.goals.label": "Tell us why you're interested in edX (optional)",
|
|
||||||
"registration.field.gender.options.f": "Female",
|
|
||||||
"registration.field.gender.options.m": "Male",
|
|
||||||
"registration.field.gender.options.o": "Other/Prefer not to say",
|
|
||||||
"registration.field.education.levels.label": "Highest level of education completed (optional)",
|
|
||||||
"registration.field.education.levels.p": "Doctorate",
|
|
||||||
"registration.field.education.levels.m": "Master's or professional degree",
|
|
||||||
"registration.field.education.levels.b": "Bachelor's degree",
|
|
||||||
"registration.field.education.levels.a": "Associate's degree",
|
|
||||||
"registration.field.education.levels.hs": "Secondary/high school",
|
|
||||||
"registration.field.education.levels.jhs": "Junior secondary/junior high/middle school",
|
|
||||||
"registration.field.education.levels.el": "Elementary/primary school",
|
|
||||||
"registration.field.education.levels.none": "No formal education",
|
|
||||||
"registration.field.education.levels.other": "Other education",
|
|
||||||
"registration.username.suggestion.label": "Suggested:",
|
"registration.username.suggestion.label": "Suggested:",
|
||||||
"registration.using.tpa.form.heading": "Finish creating your account",
|
|
||||||
"did.you.mean.alert.text": "Did you mean",
|
"did.you.mean.alert.text": "Did you mean",
|
||||||
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
||||||
|
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
||||||
|
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
||||||
"sign.in": "Sign in",
|
"sign.in": "Sign in",
|
||||||
"reset.password.page.title": "Reset Password | {siteName}",
|
"reset.password.page.title": "Reset Password | {siteName}",
|
||||||
"reset.password": "Reset password",
|
"reset.password": "Reset password",
|
||||||
@@ -180,40 +159,10 @@
|
|||||||
"confirm.password.label": "Confirm password",
|
"confirm.password.label": "Confirm password",
|
||||||
"passwords.do.not.match": "Passwords do not match",
|
"passwords.do.not.match": "Passwords do not match",
|
||||||
"confirm.your.password": "Confirm your password",
|
"confirm.your.password": "Confirm your password",
|
||||||
"forgot.password.confirmation.sign.in.link": "sign in",
|
|
||||||
"reset.password.request.forgot.password.text": "Forgot password",
|
|
||||||
"reset.password.request.invalid.token.header": "Invalid password reset link",
|
|
||||||
"reset.password.empty.new.password.field.error": "Please enter your new password.",
|
|
||||||
"reset.password.failure.heading": "We couldn't reset your password.",
|
"reset.password.failure.heading": "We couldn't reset your password.",
|
||||||
"reset.password.form.submission.error": "Please check your responses and try again.",
|
"reset.password.form.submission.error": "Please check your responses and try again.",
|
||||||
"reset.password.request.server.error": "Failed to reset password",
|
|
||||||
"reset.password.token.validation.sever.error": "Token validation failure",
|
|
||||||
"reset.server.rate.limit.error": "Too many requests.",
|
"reset.server.rate.limit.error": "Too many requests.",
|
||||||
"reset.password.success.heading": "Password reset complete.",
|
"reset.password.success.heading": "Password reset complete.",
|
||||||
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
||||||
"progressive.profiling.page.title": "Optional Fields | {siteName}",
|
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time."
|
||||||
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
|
||||||
"gender.options.label": "Gender (optional)",
|
|
||||||
"gender.options.f": "Female",
|
|
||||||
"gender.options.m": "Male",
|
|
||||||
"gender.options.o": "Other/Prefer not to say",
|
|
||||||
"education.levels.label": "Highest level of education completed (optional)",
|
|
||||||
"education.levels.p": "Doctorate",
|
|
||||||
"education.levels.m": "Master's or professional degree",
|
|
||||||
"education.levels.b": "Bachelor's degree",
|
|
||||||
"education.levels.a": "Associate's degree",
|
|
||||||
"education.levels.hs": "Secondary/high school",
|
|
||||||
"education.levels.jhs": "Junior secondary/junior high/middle school",
|
|
||||||
"education.levels.el": "Elementary/primary school",
|
|
||||||
"education.levels.none": "No formal education",
|
|
||||||
"education.levels.other": "Other education",
|
|
||||||
"year.of.birth.label": "Year of birth (optional)",
|
|
||||||
"optional.fields.information.link": "Learn more about how we use this information.",
|
|
||||||
"optional.fields.submit.button": "Submit",
|
|
||||||
"optional.fields.skip.button": "Skip for now",
|
|
||||||
"continue.to.platform": "Continue to {platformName}",
|
|
||||||
"modal.title": "Thanks for letting us know.",
|
|
||||||
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
|
||||||
"welcome.page.error.heading": "We couldn't update your profile",
|
|
||||||
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time."
|
|
||||||
}
|
}
|
||||||
@@ -5,16 +5,11 @@
|
|||||||
"complete.your.profile.2": "your profile",
|
"complete.your.profile.2": "your profile",
|
||||||
"welcome.to.platform": "Welcome to {siteName}, {username}!",
|
"welcome.to.platform": "Welcome to {siteName}, {username}!",
|
||||||
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
||||||
"forgot.password.confirmation.title": "Check your email",
|
|
||||||
"forgot.password.confirmation.support.link": "contact technical support",
|
|
||||||
"forgot.password.confirmation.info": "If you do not receive a password reset message after 1 minute, verify that you entered the correct email address, or check your spam folder.",
|
|
||||||
"logistration.sign.in": "Sign in",
|
"logistration.sign.in": "Sign in",
|
||||||
"logistration.register": "Register",
|
"logistration.register": "Register",
|
||||||
"internal.server.error.message": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
|
||||||
"server.ratelimit.error.message": "An error has occurred because of too many requests. Please try again after some time.",
|
|
||||||
"enterprisetpa.title.heading": "Would you like to sign in using your {providerName} credentials?",
|
"enterprisetpa.title.heading": "Would you like to sign in using your {providerName} credentials?",
|
||||||
"enterprisetpa.sso.button.title": "Sign in using {providerName}",
|
|
||||||
"enterprisetpa.login.button.text": "Show me other ways to sign in or register",
|
"enterprisetpa.login.button.text": "Show me other ways to sign in or register",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Show me other ways to sign in",
|
||||||
"sso.sign.in.with": "Sign in with {providerName}",
|
"sso.sign.in.with": "Sign in with {providerName}",
|
||||||
"sso.create.account.using": "Create account using {providerName}",
|
"sso.create.account.using": "Create account using {providerName}",
|
||||||
"show.password": "Show password",
|
"show.password": "Show password",
|
||||||
@@ -26,6 +21,9 @@
|
|||||||
"tpa.alert.heading": "Almost done!",
|
"tpa.alert.heading": "Almost done!",
|
||||||
"login.third.party.auth.account.not.linked": "You have successfully signed into {currentProvider}, but your {currentProvider} account does not have a linked {platformName} account. To link your accounts, sign in now using your {platformName} password.",
|
"login.third.party.auth.account.not.linked": "You have successfully signed into {currentProvider}, but your {currentProvider} account does not have a linked {platformName} account. To link your accounts, sign in now using your {platformName} password.",
|
||||||
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "Finish creating your account",
|
||||||
|
"zendesk.supportTitle": "edX Support",
|
||||||
|
"zendesk.selectTicketForm": "Please choose your request type:",
|
||||||
"error.notfound.message": "The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again.",
|
"error.notfound.message": "The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again.",
|
||||||
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
||||||
"forgot.password.page.title": "Forgot Password | {siteName}",
|
"forgot.password.page.title": "Forgot Password | {siteName}",
|
||||||
@@ -38,7 +36,6 @@
|
|||||||
"forgot.password.error.message.title": "An error occurred.",
|
"forgot.password.error.message.title": "An error occurred.",
|
||||||
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
||||||
"forgot.password.empty.email.field.error": "Enter your email",
|
"forgot.password.empty.email.field.error": "Enter your email",
|
||||||
"forgot.password.invalid.email.message": "The email address you've provided isn't formatted correctly.",
|
|
||||||
"forgot.password.email.help.text": "The email address you used to register with {platformName}",
|
"forgot.password.email.help.text": "The email address you used to register with {platformName}",
|
||||||
"confirmation.message.title": "Check your email",
|
"confirmation.message.title": "Check your email",
|
||||||
"confirmation.support.link": "contact technical support",
|
"confirmation.support.link": "contact technical support",
|
||||||
@@ -53,7 +50,6 @@
|
|||||||
"token.validation.internal.sever.error.heading": "Token validation failure",
|
"token.validation.internal.sever.error.heading": "Token validation failure",
|
||||||
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time.",
|
|
||||||
"account.activation.error.message": "Something went wrong, please {supportLink} to resolve this issue.",
|
"account.activation.error.message": "Something went wrong, please {supportLink} to resolve this issue.",
|
||||||
"login.inactive.user.error": "In order to sign in, you need to activate your account.{lineBreak}\n {lineBreak}We just sent an activation link to {email}. If you do not receive an email,\n check your spam folders or {supportLink}.",
|
"login.inactive.user.error": "In order to sign in, you need to activate your account.{lineBreak}\n {lineBreak}We just sent an activation link to {email}. If you do not receive an email,\n check your spam folders or {supportLink}.",
|
||||||
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
||||||
@@ -65,45 +61,32 @@
|
|||||||
"login.user.identity.label": "Username or email",
|
"login.user.identity.label": "Username or email",
|
||||||
"login.password.label": "Password",
|
"login.password.label": "Password",
|
||||||
"sign.in.button": "Sign in",
|
"sign.in.button": "Sign in",
|
||||||
"sign.in.btn.pending.state": "Loading",
|
|
||||||
"need.help.signing.in.collapsible.menu": "Need help signing in?",
|
|
||||||
"forgot.password.link": "Forgot my password",
|
|
||||||
"forgot.password": "Forgot password",
|
"forgot.password": "Forgot password",
|
||||||
"other.sign.in.issues": "Other sign in issues",
|
|
||||||
"need.other.help.signing.in.collapsible.menu": "Need other help signing in?",
|
|
||||||
"institution.login.button": "Institution/campus credentials",
|
"institution.login.button": "Institution/campus credentials",
|
||||||
"institution.login.page.title": "Sign in with institution/campus credentials",
|
"institution.login.page.title": "Sign in with institution/campus credentials",
|
||||||
"institution.login.page.back.button": "Back to sign in",
|
|
||||||
"create.an.account": "Create an account",
|
|
||||||
"login.other.options.heading": "Or sign in with:",
|
"login.other.options.heading": "Or sign in with:",
|
||||||
"non.compliant.password.title": "We recently changed our password requirements",
|
"non.compliant.password.title": "We recently changed our password requirements",
|
||||||
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
||||||
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
||||||
"first.time.here": "First time here?",
|
|
||||||
"email.help.message": "The email address you used to register with edX.",
|
|
||||||
"enterprise.login.btn.text": "Company or school credentials",
|
"enterprise.login.btn.text": "Company or school credentials",
|
||||||
"email.format.validation.message": "The email address you've provided isn't formatted correctly.",
|
|
||||||
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
||||||
"email.validation.message": "Enter your username or email",
|
"email.validation.message": "Enter your username or email",
|
||||||
"password.validation.message": "Password criteria has not been met",
|
"password.validation.message": "Password criteria has not been met",
|
||||||
"register.link": "Create an account",
|
|
||||||
"sign.in.heading": "Sign in",
|
|
||||||
"account.activation.success.message.title": "Success! You have activated your account.",
|
"account.activation.success.message.title": "Success! You have activated your account.",
|
||||||
"account.activation.success.message": "You will now receive email updates and alerts from us related to the courses you are enrolled in. Sign in to continue.",
|
"account.activation.success.message": "You will now receive email updates and alerts from us related to the courses you are enrolled in. Sign in to continue.",
|
||||||
"account.activation.info.message": "This account has already been activated.",
|
"account.activation.info.message": "This account has already been activated.",
|
||||||
"account.activation.error.message.title": "Your account could not be activated",
|
"account.activation.error.message.title": "Your account could not be activated",
|
||||||
"account.activation.support.link": "contact support",
|
"account.activation.support.link": "contact support",
|
||||||
"tpa.account.link": "{provider} account",
|
|
||||||
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
||||||
"account.confirmation.success.message": "Sign in to continue.",
|
"account.confirmation.success.message": "Sign in to continue.",
|
||||||
"account.confirmation.info.message": "This email has already been confirmed.",
|
"account.confirmation.info.message": "This email has already been confirmed.",
|
||||||
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
||||||
|
"tpa.account.link": "{provider} account",
|
||||||
|
"internal.server.error.message": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"login.rate.limit.reached.message": "Too many failed login attempts. Try again later.",
|
"login.rate.limit.reached.message": "Too many failed login attempts. Try again later.",
|
||||||
"login.failure.header.title": "We couldn't sign you in.",
|
"login.failure.header.title": "We couldn't sign you in.",
|
||||||
"contact.support.link": "contact {platformName} support",
|
"contact.support.link": "contact {platformName} support",
|
||||||
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
||||||
"login.failed.attempt.error": "You have {remainingAttempts} more sign in attempts before your account is temporarily locked.",
|
|
||||||
"login.locked.out.error.message": "To protect your account, it’s been temporarily locked. Try again in {lockedOutPeriod} minutes.",
|
|
||||||
"login.form.invalid.error.message": "Please fill in the fields below.",
|
"login.form.invalid.error.message": "Please fill in the fields below.",
|
||||||
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
||||||
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
||||||
@@ -113,8 +96,21 @@
|
|||||||
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
||||||
"password.security.close.button": "Close",
|
"password.security.close.button": "Close",
|
||||||
"password.security.redirect.to.reset.password.button": "Reset your password",
|
"password.security.redirect.to.reset.password.button": "Reset your password",
|
||||||
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
"login.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
"progressive.profiling.page.title": "Welcome | {siteName}",
|
||||||
|
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
||||||
|
"optional.fields.information.link": "Learn more about how we use this information.",
|
||||||
|
"optional.fields.submit.button": "Submit",
|
||||||
|
"optional.fields.skip.button": "Skip for now",
|
||||||
|
"optional.fields.next.button": "Next",
|
||||||
|
"continue.to.platform": "Continue to {platformName}",
|
||||||
|
"modal.title": "Thanks for letting us know.",
|
||||||
|
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
||||||
|
"welcome.page.error.heading": "We couldn't update your profile",
|
||||||
|
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time.",
|
||||||
|
"recommendation.page.title": "Recommendations | {siteName}",
|
||||||
|
"recommendation.page.heading": "We have a few recommendations to get you started.",
|
||||||
|
"recommendation.skip.button": "Skip for now",
|
||||||
"register.page.title": "Register | {siteName}",
|
"register.page.title": "Register | {siteName}",
|
||||||
"registration.fullname.label": "Full name",
|
"registration.fullname.label": "Full name",
|
||||||
"registration.email.label": "Email",
|
"registration.email.label": "Email",
|
||||||
@@ -127,51 +123,34 @@
|
|||||||
"help.text.username.2": "This can not be changed later.",
|
"help.text.username.2": "This can not be changed later.",
|
||||||
"help.text.email": "For account activation and important updates",
|
"help.text.email": "For account activation and important updates",
|
||||||
"create.account.for.free.button": "Create an account for free",
|
"create.account.for.free.button": "Create an account for free",
|
||||||
"create.an.account.btn.pending.state": "Loading",
|
|
||||||
"registration.other.options.heading": "Or register with:",
|
"registration.other.options.heading": "Or register with:",
|
||||||
"register.institution.login.button": "Institution/campus credentials",
|
"register.institution.login.button": "Institution/campus credentials",
|
||||||
"register.institution.login.page.title": "Register with institution/campus credentials",
|
"register.institution.login.page.title": "Register with institution/campus credentials",
|
||||||
"empty.name.field.error": "Enter your full name",
|
"empty.name.field.error": "Enter your full name",
|
||||||
"empty.email.field.error": "Enter your email",
|
"empty.email.field.error": "Enter your email",
|
||||||
"email.do.not.match": "The email addresses do not match.",
|
|
||||||
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
||||||
"empty.password.field.error": "Password criteria has not been met",
|
"empty.password.field.error": "Password criteria has not been met",
|
||||||
"empty.country.field.error": "Select your country or region of residence",
|
"empty.country.field.error": "Select your country or region of residence",
|
||||||
|
"email.do.not.match": "The email addresses do not match.",
|
||||||
"email.invalid.format.error": "Enter a valid email address",
|
"email.invalid.format.error": "Enter a valid email address",
|
||||||
"email.ratelimit.less.chars.validation.message": "Email must have 3 characters.",
|
|
||||||
"username.validation.message": "Username must be between 2 and 30 characters",
|
"username.validation.message": "Username must be between 2 and 30 characters",
|
||||||
"name.validation.message": "Enter a valid name",
|
"name.validation.message": "Enter a valid name",
|
||||||
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
||||||
"support.education.research": "Support education research by providing additional information. (Optional)",
|
|
||||||
"registration.request.failure.header": "We couldn't create your account.",
|
"registration.request.failure.header": "We couldn't create your account.",
|
||||||
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
||||||
"registration.request.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"registration.request.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
||||||
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
||||||
|
"registration.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"terms.of.service.and.honor.code": "Terms of Service and Honor Code",
|
"terms.of.service.and.honor.code": "Terms of Service and Honor Code",
|
||||||
"privacy.policy": "Privacy Policy",
|
"privacy.policy": "Privacy Policy",
|
||||||
"honor.code": "Honor Code",
|
"honor.code": "Honor Code",
|
||||||
"terms.of.service": "Terms of Service",
|
"terms.of.service": "Terms of Service",
|
||||||
"registration.year.of.birth.label": "Year of birth (optional)",
|
|
||||||
"registration.field.gender.options.label": "Gender (optional)",
|
|
||||||
"registration.goals.label": "Tell us why you're interested in edX (optional)",
|
|
||||||
"registration.field.gender.options.f": "Female",
|
|
||||||
"registration.field.gender.options.m": "Male",
|
|
||||||
"registration.field.gender.options.o": "Other/Prefer not to say",
|
|
||||||
"registration.field.education.levels.label": "Highest level of education completed (optional)",
|
|
||||||
"registration.field.education.levels.p": "Doctorate",
|
|
||||||
"registration.field.education.levels.m": "Master's or professional degree",
|
|
||||||
"registration.field.education.levels.b": "Bachelor's degree",
|
|
||||||
"registration.field.education.levels.a": "Associate's degree",
|
|
||||||
"registration.field.education.levels.hs": "Secondary/high school",
|
|
||||||
"registration.field.education.levels.jhs": "Junior secondary/junior high/middle school",
|
|
||||||
"registration.field.education.levels.el": "Elementary/primary school",
|
|
||||||
"registration.field.education.levels.none": "No formal education",
|
|
||||||
"registration.field.education.levels.other": "Other education",
|
|
||||||
"registration.username.suggestion.label": "Suggested:",
|
"registration.username.suggestion.label": "Suggested:",
|
||||||
"registration.using.tpa.form.heading": "Finish creating your account",
|
|
||||||
"did.you.mean.alert.text": "Did you mean",
|
"did.you.mean.alert.text": "Did you mean",
|
||||||
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
||||||
|
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
||||||
|
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
||||||
"sign.in": "Sign in",
|
"sign.in": "Sign in",
|
||||||
"reset.password.page.title": "Reset Password | {siteName}",
|
"reset.password.page.title": "Reset Password | {siteName}",
|
||||||
"reset.password": "Reset password",
|
"reset.password": "Reset password",
|
||||||
@@ -180,40 +159,10 @@
|
|||||||
"confirm.password.label": "Confirm password",
|
"confirm.password.label": "Confirm password",
|
||||||
"passwords.do.not.match": "Passwords do not match",
|
"passwords.do.not.match": "Passwords do not match",
|
||||||
"confirm.your.password": "Confirm your password",
|
"confirm.your.password": "Confirm your password",
|
||||||
"forgot.password.confirmation.sign.in.link": "sign in",
|
|
||||||
"reset.password.request.forgot.password.text": "Forgot password",
|
|
||||||
"reset.password.request.invalid.token.header": "Invalid password reset link",
|
|
||||||
"reset.password.empty.new.password.field.error": "Please enter your new password.",
|
|
||||||
"reset.password.failure.heading": "We couldn't reset your password.",
|
"reset.password.failure.heading": "We couldn't reset your password.",
|
||||||
"reset.password.form.submission.error": "Please check your responses and try again.",
|
"reset.password.form.submission.error": "Please check your responses and try again.",
|
||||||
"reset.password.request.server.error": "Failed to reset password",
|
|
||||||
"reset.password.token.validation.sever.error": "Token validation failure",
|
|
||||||
"reset.server.rate.limit.error": "Too many requests.",
|
"reset.server.rate.limit.error": "Too many requests.",
|
||||||
"reset.password.success.heading": "Password reset complete.",
|
"reset.password.success.heading": "Password reset complete.",
|
||||||
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
||||||
"progressive.profiling.page.title": "Optional Fields | {siteName}",
|
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time."
|
||||||
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
|
||||||
"gender.options.label": "Gender (optional)",
|
|
||||||
"gender.options.f": "Female",
|
|
||||||
"gender.options.m": "Male",
|
|
||||||
"gender.options.o": "Other/Prefer not to say",
|
|
||||||
"education.levels.label": "Highest level of education completed (optional)",
|
|
||||||
"education.levels.p": "Doctorate",
|
|
||||||
"education.levels.m": "Master's or professional degree",
|
|
||||||
"education.levels.b": "Bachelor's degree",
|
|
||||||
"education.levels.a": "Associate's degree",
|
|
||||||
"education.levels.hs": "Secondary/high school",
|
|
||||||
"education.levels.jhs": "Junior secondary/junior high/middle school",
|
|
||||||
"education.levels.el": "Elementary/primary school",
|
|
||||||
"education.levels.none": "No formal education",
|
|
||||||
"education.levels.other": "Other education",
|
|
||||||
"year.of.birth.label": "Year of birth (optional)",
|
|
||||||
"optional.fields.information.link": "Learn more about how we use this information.",
|
|
||||||
"optional.fields.submit.button": "Submit",
|
|
||||||
"optional.fields.skip.button": "Skip for now",
|
|
||||||
"continue.to.platform": "Continue to {platformName}",
|
|
||||||
"modal.title": "Thanks for letting us know.",
|
|
||||||
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
|
||||||
"welcome.page.error.heading": "We couldn't update your profile",
|
|
||||||
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time."
|
|
||||||
}
|
}
|
||||||
@@ -5,16 +5,11 @@
|
|||||||
"complete.your.profile.2": "your profile",
|
"complete.your.profile.2": "your profile",
|
||||||
"welcome.to.platform": "Welcome to {siteName}, {username}!",
|
"welcome.to.platform": "Welcome to {siteName}, {username}!",
|
||||||
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
"institution.login.page.sub.heading": "Choose your institution from the list below",
|
||||||
"forgot.password.confirmation.title": "Check your email",
|
|
||||||
"forgot.password.confirmation.support.link": "contact technical support",
|
|
||||||
"forgot.password.confirmation.info": "If you do not receive a password reset message after 1 minute, verify that you entered the correct email address, or check your spam folder.",
|
|
||||||
"logistration.sign.in": "Sign in",
|
"logistration.sign.in": "Sign in",
|
||||||
"logistration.register": "Register",
|
"logistration.register": "Register",
|
||||||
"internal.server.error.message": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
|
||||||
"server.ratelimit.error.message": "An error has occurred because of too many requests. Please try again after some time.",
|
|
||||||
"enterprisetpa.title.heading": "Would you like to sign in using your {providerName} credentials?",
|
"enterprisetpa.title.heading": "Would you like to sign in using your {providerName} credentials?",
|
||||||
"enterprisetpa.sso.button.title": "Sign in using {providerName}",
|
|
||||||
"enterprisetpa.login.button.text": "Show me other ways to sign in or register",
|
"enterprisetpa.login.button.text": "Show me other ways to sign in or register",
|
||||||
|
"enterprisetpa.login.button.text.public.account.creation.disabled": "Show me other ways to sign in",
|
||||||
"sso.sign.in.with": "Sign in with {providerName}",
|
"sso.sign.in.with": "Sign in with {providerName}",
|
||||||
"sso.create.account.using": "Create account using {providerName}",
|
"sso.create.account.using": "Create account using {providerName}",
|
||||||
"show.password": "Show password",
|
"show.password": "Show password",
|
||||||
@@ -26,6 +21,9 @@
|
|||||||
"tpa.alert.heading": "Almost done!",
|
"tpa.alert.heading": "Almost done!",
|
||||||
"login.third.party.auth.account.not.linked": "You have successfully signed into {currentProvider}, but your {currentProvider} account does not have a linked {platformName} account. To link your accounts, sign in now using your {platformName} password.",
|
"login.third.party.auth.account.not.linked": "You have successfully signed into {currentProvider}, but your {currentProvider} account does not have a linked {platformName} account. To link your accounts, sign in now using your {platformName} password.",
|
||||||
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
"register.third.party.auth.account.not.linked": "You've successfully signed into {currentProvider}! We just need a little more information before you start learning with {platformName}.",
|
||||||
|
"registration.using.tpa.form.heading": "Finish creating your account",
|
||||||
|
"zendesk.supportTitle": "edX Support",
|
||||||
|
"zendesk.selectTicketForm": "Please choose your request type:",
|
||||||
"error.notfound.message": "The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again.",
|
"error.notfound.message": "The page you're looking for is unavailable or there's an error in the URL. Please check the URL and try again.",
|
||||||
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
"forgot.password.confirmation.message": "We sent an email to {email} with instructions to reset your password.\n If you do not receive a password reset message after 1 minute, verify that you entered\n the correct email address, or check your spam folder. If you need further assistance, {supportLink}.",
|
||||||
"forgot.password.page.title": "Forgot Password | {siteName}",
|
"forgot.password.page.title": "Forgot Password | {siteName}",
|
||||||
@@ -38,7 +36,6 @@
|
|||||||
"forgot.password.error.message.title": "An error occurred.",
|
"forgot.password.error.message.title": "An error occurred.",
|
||||||
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
"forgot.password.request.in.progress.message": "Your previous request is in progress, please try again in a few moments.",
|
||||||
"forgot.password.empty.email.field.error": "Enter your email",
|
"forgot.password.empty.email.field.error": "Enter your email",
|
||||||
"forgot.password.invalid.email.message": "The email address you've provided isn't formatted correctly.",
|
|
||||||
"forgot.password.email.help.text": "The email address you used to register with {platformName}",
|
"forgot.password.email.help.text": "The email address you used to register with {platformName}",
|
||||||
"confirmation.message.title": "Check your email",
|
"confirmation.message.title": "Check your email",
|
||||||
"confirmation.support.link": "contact technical support",
|
"confirmation.support.link": "contact technical support",
|
||||||
@@ -53,7 +50,6 @@
|
|||||||
"token.validation.internal.sever.error.heading": "Token validation failure",
|
"token.validation.internal.sever.error.heading": "Token validation failure",
|
||||||
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"token.validation.internal.sever.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"internal.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time.",
|
|
||||||
"account.activation.error.message": "Something went wrong, please {supportLink} to resolve this issue.",
|
"account.activation.error.message": "Something went wrong, please {supportLink} to resolve this issue.",
|
||||||
"login.inactive.user.error": "In order to sign in, you need to activate your account.{lineBreak}\n {lineBreak}We just sent an activation link to {email}. If you do not receive an email,\n check your spam folders or {supportLink}.",
|
"login.inactive.user.error": "In order to sign in, you need to activate your account.{lineBreak}\n {lineBreak}We just sent an activation link to {email}. If you do not receive an email,\n check your spam folders or {supportLink}.",
|
||||||
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
"allowed.domain.login.error": "As {allowedDomain} user, You must login with your {allowedDomain} {tpaLink}.",
|
||||||
@@ -65,45 +61,32 @@
|
|||||||
"login.user.identity.label": "Username or email",
|
"login.user.identity.label": "Username or email",
|
||||||
"login.password.label": "Password",
|
"login.password.label": "Password",
|
||||||
"sign.in.button": "Sign in",
|
"sign.in.button": "Sign in",
|
||||||
"sign.in.btn.pending.state": "Loading",
|
|
||||||
"need.help.signing.in.collapsible.menu": "Need help signing in?",
|
|
||||||
"forgot.password.link": "Forgot my password",
|
|
||||||
"forgot.password": "Forgot password",
|
"forgot.password": "Forgot password",
|
||||||
"other.sign.in.issues": "Other sign in issues",
|
|
||||||
"need.other.help.signing.in.collapsible.menu": "Need other help signing in?",
|
|
||||||
"institution.login.button": "Institution/campus credentials",
|
"institution.login.button": "Institution/campus credentials",
|
||||||
"institution.login.page.title": "Sign in with institution/campus credentials",
|
"institution.login.page.title": "Sign in with institution/campus credentials",
|
||||||
"institution.login.page.back.button": "Back to sign in",
|
|
||||||
"create.an.account": "Create an account",
|
|
||||||
"login.other.options.heading": "Or sign in with:",
|
"login.other.options.heading": "Or sign in with:",
|
||||||
"non.compliant.password.title": "We recently changed our password requirements",
|
"non.compliant.password.title": "We recently changed our password requirements",
|
||||||
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
"non.compliant.password.message": "Your current password does not meet the new security requirements. We just sent a password-reset message to the email address associated with this account. Thank you for helping us keep your data safe.",
|
||||||
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
"account.locked.out.message.1": "To protect your account, it's been temporarily locked. Try again in 30 minutes.",
|
||||||
"first.time.here": "First time here?",
|
|
||||||
"email.help.message": "The email address you used to register with edX.",
|
|
||||||
"enterprise.login.btn.text": "Company or school credentials",
|
"enterprise.login.btn.text": "Company or school credentials",
|
||||||
"email.format.validation.message": "The email address you've provided isn't formatted correctly.",
|
|
||||||
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
"username.or.email.format.validation.less.chars.message": "Username or email must have at least 3 characters.",
|
||||||
"email.validation.message": "Enter your username or email",
|
"email.validation.message": "Enter your username or email",
|
||||||
"password.validation.message": "Password criteria has not been met",
|
"password.validation.message": "Password criteria has not been met",
|
||||||
"register.link": "Create an account",
|
|
||||||
"sign.in.heading": "Sign in",
|
|
||||||
"account.activation.success.message.title": "Success! You have activated your account.",
|
"account.activation.success.message.title": "Success! You have activated your account.",
|
||||||
"account.activation.success.message": "You will now receive email updates and alerts from us related to the courses you are enrolled in. Sign in to continue.",
|
"account.activation.success.message": "You will now receive email updates and alerts from us related to the courses you are enrolled in. Sign in to continue.",
|
||||||
"account.activation.info.message": "This account has already been activated.",
|
"account.activation.info.message": "This account has already been activated.",
|
||||||
"account.activation.error.message.title": "Your account could not be activated",
|
"account.activation.error.message.title": "Your account could not be activated",
|
||||||
"account.activation.support.link": "contact support",
|
"account.activation.support.link": "contact support",
|
||||||
"tpa.account.link": "{provider} account",
|
|
||||||
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
"account.confirmation.success.message.title": "Success! You have confirmed your email.",
|
||||||
"account.confirmation.success.message": "Sign in to continue.",
|
"account.confirmation.success.message": "Sign in to continue.",
|
||||||
"account.confirmation.info.message": "This email has already been confirmed.",
|
"account.confirmation.info.message": "This email has already been confirmed.",
|
||||||
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
"account.confirmation.error.message.title": "Your email could not be confirmed",
|
||||||
|
"tpa.account.link": "{provider} account",
|
||||||
|
"internal.server.error.message": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"login.rate.limit.reached.message": "Too many failed login attempts. Try again later.",
|
"login.rate.limit.reached.message": "Too many failed login attempts. Try again later.",
|
||||||
"login.failure.header.title": "We couldn't sign you in.",
|
"login.failure.header.title": "We couldn't sign you in.",
|
||||||
"contact.support.link": "contact {platformName} support",
|
"contact.support.link": "contact {platformName} support",
|
||||||
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
"login.incorrect.credentials.error": "The username, email, or password you entered is incorrect. Please try again.",
|
||||||
"login.failed.attempt.error": "You have {remainingAttempts} more sign in attempts before your account is temporarily locked.",
|
|
||||||
"login.locked.out.error.message": "To protect your account, it’s been temporarily locked. Try again in {lockedOutPeriod} minutes.",
|
|
||||||
"login.form.invalid.error.message": "Please fill in the fields below.",
|
"login.form.invalid.error.message": "Please fill in the fields below.",
|
||||||
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
"login.incorrect.credentials.error.reset.link.text": "reset your password",
|
||||||
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
"login.incorrect.credentials.error.before.account.blocked.text": "click here to reset it.",
|
||||||
@@ -113,8 +96,21 @@
|
|||||||
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
"password.security.block.body": "Our system detected that your password is vulnerable. Change your password so that your account stays secure.",
|
||||||
"password.security.close.button": "Close",
|
"password.security.close.button": "Close",
|
||||||
"password.security.redirect.to.reset.password.button": "Reset your password",
|
"password.security.redirect.to.reset.password.button": "Reset your password",
|
||||||
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
"login.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
"progressive.profiling.page.title": "Welcome | {siteName}",
|
||||||
|
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
||||||
|
"optional.fields.information.link": "Learn more about how we use this information.",
|
||||||
|
"optional.fields.submit.button": "Submit",
|
||||||
|
"optional.fields.skip.button": "Skip for now",
|
||||||
|
"optional.fields.next.button": "Next",
|
||||||
|
"continue.to.platform": "Continue to {platformName}",
|
||||||
|
"modal.title": "Thanks for letting us know.",
|
||||||
|
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
||||||
|
"welcome.page.error.heading": "We couldn't update your profile",
|
||||||
|
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time.",
|
||||||
|
"recommendation.page.title": "Recommendations | {siteName}",
|
||||||
|
"recommendation.page.heading": "We have a few recommendations to get you started.",
|
||||||
|
"recommendation.skip.button": "Skip for now",
|
||||||
"register.page.title": "Register | {siteName}",
|
"register.page.title": "Register | {siteName}",
|
||||||
"registration.fullname.label": "Full name",
|
"registration.fullname.label": "Full name",
|
||||||
"registration.email.label": "Email",
|
"registration.email.label": "Email",
|
||||||
@@ -127,51 +123,34 @@
|
|||||||
"help.text.username.2": "This can not be changed later.",
|
"help.text.username.2": "This can not be changed later.",
|
||||||
"help.text.email": "For account activation and important updates",
|
"help.text.email": "For account activation and important updates",
|
||||||
"create.account.for.free.button": "Create an account for free",
|
"create.account.for.free.button": "Create an account for free",
|
||||||
"create.an.account.btn.pending.state": "Loading",
|
|
||||||
"registration.other.options.heading": "Or register with:",
|
"registration.other.options.heading": "Or register with:",
|
||||||
"register.institution.login.button": "Institution/campus credentials",
|
"register.institution.login.button": "Institution/campus credentials",
|
||||||
"register.institution.login.page.title": "Register with institution/campus credentials",
|
"register.institution.login.page.title": "Register with institution/campus credentials",
|
||||||
"empty.name.field.error": "Enter your full name",
|
"empty.name.field.error": "Enter your full name",
|
||||||
"empty.email.field.error": "Enter your email",
|
"empty.email.field.error": "Enter your email",
|
||||||
"email.do.not.match": "The email addresses do not match.",
|
|
||||||
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
"empty.username.field.error": "Username must be between 2 and 30 characters",
|
||||||
"empty.password.field.error": "Password criteria has not been met",
|
"empty.password.field.error": "Password criteria has not been met",
|
||||||
"empty.country.field.error": "Select your country or region of residence",
|
"empty.country.field.error": "Select your country or region of residence",
|
||||||
|
"email.do.not.match": "The email addresses do not match.",
|
||||||
"email.invalid.format.error": "Enter a valid email address",
|
"email.invalid.format.error": "Enter a valid email address",
|
||||||
"email.ratelimit.less.chars.validation.message": "Email must have 3 characters.",
|
|
||||||
"username.validation.message": "Username must be between 2 and 30 characters",
|
"username.validation.message": "Username must be between 2 and 30 characters",
|
||||||
"name.validation.message": "Enter a valid name",
|
"name.validation.message": "Enter a valid name",
|
||||||
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
"username.format.validation.message": "Usernames can only contain letters (A-Z, a-z), numerals (0-9), underscores (_), and hyphens (-). Usernames cannot contain spaces",
|
||||||
"support.education.research": "Support education research by providing additional information. (Optional)",
|
|
||||||
"registration.request.failure.header": "We couldn't create your account.",
|
"registration.request.failure.header": "We couldn't create your account.",
|
||||||
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
"registration.empty.form.submission.error": "Please check your responses and try again.",
|
||||||
"registration.request.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
"registration.request.server.error": "An error has occurred. Try refreshing the page, or check your internet connection.",
|
||||||
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
"registration.rate.limit.error": "Too many failed registration attempts. Try again later.",
|
||||||
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
"registration.tpa.session.expired": "Registration using {provider} has timed out.",
|
||||||
|
"registration.tpa.authentication.failure": "We are sorry, you are not authorized to access {platform_name} via this channel. Please contact your learning administrator or manager in order to access {platform_name}.{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}",
|
||||||
"terms.of.service.and.honor.code": "Terms of Service and Honor Code",
|
"terms.of.service.and.honor.code": "Terms of Service and Honor Code",
|
||||||
"privacy.policy": "Privacy Policy",
|
"privacy.policy": "Privacy Policy",
|
||||||
"honor.code": "Honor Code",
|
"honor.code": "Honor Code",
|
||||||
"terms.of.service": "Terms of Service",
|
"terms.of.service": "Terms of Service",
|
||||||
"registration.year.of.birth.label": "Year of birth (optional)",
|
|
||||||
"registration.field.gender.options.label": "Gender (optional)",
|
|
||||||
"registration.goals.label": "Tell us why you're interested in edX (optional)",
|
|
||||||
"registration.field.gender.options.f": "Female",
|
|
||||||
"registration.field.gender.options.m": "Male",
|
|
||||||
"registration.field.gender.options.o": "Other/Prefer not to say",
|
|
||||||
"registration.field.education.levels.label": "Highest level of education completed (optional)",
|
|
||||||
"registration.field.education.levels.p": "Doctorate",
|
|
||||||
"registration.field.education.levels.m": "Master's or professional degree",
|
|
||||||
"registration.field.education.levels.b": "Bachelor's degree",
|
|
||||||
"registration.field.education.levels.a": "Associate's degree",
|
|
||||||
"registration.field.education.levels.hs": "Secondary/high school",
|
|
||||||
"registration.field.education.levels.jhs": "Junior secondary/junior high/middle school",
|
|
||||||
"registration.field.education.levels.el": "Elementary/primary school",
|
|
||||||
"registration.field.education.levels.none": "No formal education",
|
|
||||||
"registration.field.education.levels.other": "Other education",
|
|
||||||
"registration.username.suggestion.label": "Suggested:",
|
"registration.username.suggestion.label": "Suggested:",
|
||||||
"registration.using.tpa.form.heading": "Finish creating your account",
|
|
||||||
"did.you.mean.alert.text": "Did you mean",
|
"did.you.mean.alert.text": "Did you mean",
|
||||||
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
"register.page.terms.of.service.and.honor.code": "By creating an account, you agree to the {tosAndHonorCode} and you acknowledge that {platformName} and each\n Member process your personal data in accordance with the {privacyPolicy}.",
|
||||||
|
"register.page.honor.code": "I agree to the {platformName} {tosAndHonorCode}",
|
||||||
|
"register.page.terms.of.service": "I agree to the {platformName} {termsOfService}",
|
||||||
"sign.in": "Sign in",
|
"sign.in": "Sign in",
|
||||||
"reset.password.page.title": "Reset Password | {siteName}",
|
"reset.password.page.title": "Reset Password | {siteName}",
|
||||||
"reset.password": "Reset password",
|
"reset.password": "Reset password",
|
||||||
@@ -180,40 +159,10 @@
|
|||||||
"confirm.password.label": "Confirm password",
|
"confirm.password.label": "Confirm password",
|
||||||
"passwords.do.not.match": "Passwords do not match",
|
"passwords.do.not.match": "Passwords do not match",
|
||||||
"confirm.your.password": "Confirm your password",
|
"confirm.your.password": "Confirm your password",
|
||||||
"forgot.password.confirmation.sign.in.link": "sign in",
|
|
||||||
"reset.password.request.forgot.password.text": "Forgot password",
|
|
||||||
"reset.password.request.invalid.token.header": "Invalid password reset link",
|
|
||||||
"reset.password.empty.new.password.field.error": "Please enter your new password.",
|
|
||||||
"reset.password.failure.heading": "We couldn't reset your password.",
|
"reset.password.failure.heading": "We couldn't reset your password.",
|
||||||
"reset.password.form.submission.error": "Please check your responses and try again.",
|
"reset.password.form.submission.error": "Please check your responses and try again.",
|
||||||
"reset.password.request.server.error": "Failed to reset password",
|
|
||||||
"reset.password.token.validation.sever.error": "Token validation failure",
|
|
||||||
"reset.server.rate.limit.error": "Too many requests.",
|
"reset.server.rate.limit.error": "Too many requests.",
|
||||||
"reset.password.success.heading": "Password reset complete.",
|
"reset.password.success.heading": "Password reset complete.",
|
||||||
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
"reset.password.success": "Your password has been reset. Sign in to your account.",
|
||||||
"progressive.profiling.page.title": "Optional Fields | {siteName}",
|
"rate.limit.error": "An error has occurred because of too many requests. Please try again after some time."
|
||||||
"progressive.profiling.page.heading": "A few questions for you will help us get smarter.",
|
|
||||||
"gender.options.label": "Gender (optional)",
|
|
||||||
"gender.options.f": "Female",
|
|
||||||
"gender.options.m": "Male",
|
|
||||||
"gender.options.o": "Other/Prefer not to say",
|
|
||||||
"education.levels.label": "Highest level of education completed (optional)",
|
|
||||||
"education.levels.p": "Doctorate",
|
|
||||||
"education.levels.m": "Master's or professional degree",
|
|
||||||
"education.levels.b": "Bachelor's degree",
|
|
||||||
"education.levels.a": "Associate's degree",
|
|
||||||
"education.levels.hs": "Secondary/high school",
|
|
||||||
"education.levels.jhs": "Junior secondary/junior high/middle school",
|
|
||||||
"education.levels.el": "Elementary/primary school",
|
|
||||||
"education.levels.none": "No formal education",
|
|
||||||
"education.levels.other": "Other education",
|
|
||||||
"year.of.birth.label": "Year of birth (optional)",
|
|
||||||
"optional.fields.information.link": "Learn more about how we use this information.",
|
|
||||||
"optional.fields.submit.button": "Submit",
|
|
||||||
"optional.fields.skip.button": "Skip for now",
|
|
||||||
"continue.to.platform": "Continue to {platformName}",
|
|
||||||
"modal.title": "Thanks for letting us know.",
|
|
||||||
"modal.description": "You can complete your profile in settings at any time if you change your mind.",
|
|
||||||
"welcome.page.error.heading": "We couldn't update your profile",
|
|
||||||
"welcome.page.error.message": "An error occurred. You can complete your profile in settings at any time."
|
|
||||||
}
|
}
|
||||||
@@ -8,9 +8,9 @@ import {
|
|||||||
APP_INIT_ERROR, APP_READY, initialize, mergeConfig, subscribe,
|
APP_INIT_ERROR, APP_READY, initialize, mergeConfig, subscribe,
|
||||||
} from '@edx/frontend-platform';
|
} from '@edx/frontend-platform';
|
||||||
import { ErrorPage } from '@edx/frontend-platform/react';
|
import { ErrorPage } from '@edx/frontend-platform/react';
|
||||||
import { messages as paragonMessages } from '@edx/paragon';
|
|
||||||
|
|
||||||
import appMessages from './i18n';
|
import configuration from './config';
|
||||||
|
import messages from './i18n';
|
||||||
import MainApp from './MainApp';
|
import MainApp from './MainApp';
|
||||||
|
|
||||||
subscribe(APP_READY, () => {
|
subscribe(APP_READY, () => {
|
||||||
@@ -27,28 +27,8 @@ subscribe(APP_INIT_ERROR, (error) => {
|
|||||||
initialize({
|
initialize({
|
||||||
handlers: {
|
handlers: {
|
||||||
config: () => {
|
config: () => {
|
||||||
mergeConfig({
|
mergeConfig(configuration);
|
||||||
LOGIN_ISSUE_SUPPORT_LINK: process.env.LOGIN_ISSUE_SUPPORT_LINK || null,
|
|
||||||
ACTIVATION_EMAIL_SUPPORT_LINK: process.env.ACTIVATION_EMAIL_SUPPORT_LINK || null,
|
|
||||||
PASSWORD_RESET_SUPPORT_LINK: process.env.PASSWORD_RESET_SUPPORT_LINK || null,
|
|
||||||
TOS_AND_HONOR_CODE: process.env.TOS_AND_HONOR_CODE || null,
|
|
||||||
TOS_LINK: process.env.TOS_LINK || null,
|
|
||||||
PRIVACY_POLICY: process.env.PRIVACY_POLICY || null,
|
|
||||||
USER_SURVEY_COOKIE_NAME: process.env.USER_SURVEY_COOKIE_NAME || null,
|
|
||||||
COOKIE_DOMAIN: process.env.COOKIE_DOMAIN,
|
|
||||||
WELCOME_PAGE_SUPPORT_LINK: process.env.WELCOME_PAGE_SUPPORT_LINK || null,
|
|
||||||
DISABLE_ENTERPRISE_LOGIN: process.env.DISABLE_ENTERPRISE_LOGIN || '',
|
|
||||||
INFO_EMAIL: process.env.INFO_EMAIL || '',
|
|
||||||
REGISTER_CONVERSION_COOKIE_NAME: process.env.REGISTER_CONVERSION_COOKIE_NAME || null,
|
|
||||||
ENABLE_PROGRESSIVE_PROFILING: process.env.ENABLE_PROGRESSIVE_PROFILING || false,
|
|
||||||
MARKETING_EMAILS_OPT_IN: process.env.MARKETING_EMAILS_OPT_IN || '',
|
|
||||||
ENABLE_COPPA_COMPLIANCE: process.env.ENABLE_COPPA_COMPLIANCE || '',
|
|
||||||
ENABLE_DYNAMIC_REGISTRATION_FIELDS: process.env.ENABLE_DYNAMIC_REGISTRATION_FIELDS || false,
|
|
||||||
});
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
messages: [
|
messages,
|
||||||
appMessages,
|
|
||||||
paragonMessages,
|
|
||||||
],
|
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -3,5 +3,4 @@
|
|||||||
@import "~@edx/paragon/scss/core/core";
|
@import "~@edx/paragon/scss/core/core";
|
||||||
@import "~@edx/brand/paragon/overrides";
|
@import "~@edx/brand/paragon/overrides";
|
||||||
|
|
||||||
@import "@edx/frontend-component-cookie-policy-banner/build/_cookie-policy-banner";
|
|
||||||
@import "sass/style";
|
@import "sass/style";
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { FormattedMessage, useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Alert } from '@edx/paragon';
|
import { Alert } from '@edx/paragon';
|
||||||
import { CheckCircle, Error } from '@edx/paragon/icons';
|
import { CheckCircle, Error } from '@edx/paragon/icons';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
@@ -10,7 +10,8 @@ import { ACCOUNT_ACTIVATION_MESSAGE } from './data/constants';
|
|||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
|
||||||
const AccountActivationMessage = (props) => {
|
const AccountActivationMessage = (props) => {
|
||||||
const { intl, messageType } = props;
|
const { formatMessage } = useIntl();
|
||||||
|
const { messageType } = props;
|
||||||
const variant = messageType === ACCOUNT_ACTIVATION_MESSAGE.ERROR ? 'danger' : messageType;
|
const variant = messageType === ACCOUNT_ACTIVATION_MESSAGE.ERROR ? 'danger' : messageType;
|
||||||
|
|
||||||
const activationOrVerification = getConfig().MARKETING_EMAILS_OPT_IN ? 'confirmation' : 'activation';
|
const activationOrVerification = getConfig().MARKETING_EMAILS_OPT_IN ? 'confirmation' : 'activation';
|
||||||
@@ -25,22 +26,22 @@ const AccountActivationMessage = (props) => {
|
|||||||
|
|
||||||
switch (messageType) {
|
switch (messageType) {
|
||||||
case ACCOUNT_ACTIVATION_MESSAGE.SUCCESS: {
|
case ACCOUNT_ACTIVATION_MESSAGE.SUCCESS: {
|
||||||
heading = intl.formatMessage(messages[`account.${activationOrVerification}.success.message.title`]);
|
heading = formatMessage(messages[`account.${activationOrVerification}.success.message.title`]);
|
||||||
activationMessage = <span>{intl.formatMessage(messages[`account.${activationOrVerification}.success.message`])}</span>;
|
activationMessage = <span>{formatMessage(messages[`account.${activationOrVerification}.success.message`])}</span>;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ACCOUNT_ACTIVATION_MESSAGE.INFO: {
|
case ACCOUNT_ACTIVATION_MESSAGE.INFO: {
|
||||||
activationMessage = intl.formatMessage(messages[`account.${activationOrVerification}.info.message`]);
|
activationMessage = formatMessage(messages[`account.${activationOrVerification}.info.message`]);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case ACCOUNT_ACTIVATION_MESSAGE.ERROR: {
|
case ACCOUNT_ACTIVATION_MESSAGE.ERROR: {
|
||||||
const supportLink = (
|
const supportLink = (
|
||||||
<Alert.Link href={getConfig().ACTIVATION_EMAIL_SUPPORT_LINK}>
|
<Alert.Link href={getConfig().ACTIVATION_EMAIL_SUPPORT_LINK}>
|
||||||
{intl.formatMessage(messages['account.activation.support.link'])}
|
{formatMessage(messages['account.activation.support.link'])}
|
||||||
</Alert.Link>
|
</Alert.Link>
|
||||||
);
|
);
|
||||||
|
|
||||||
heading = intl.formatMessage(messages[`account.${activationOrVerification}.error.message.title`]);
|
heading = formatMessage(messages[`account.${activationOrVerification}.error.message.title`]);
|
||||||
activationMessage = (
|
activationMessage = (
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="account.activation.error.message"
|
id="account.activation.error.message"
|
||||||
@@ -70,7 +71,6 @@ const AccountActivationMessage = (props) => {
|
|||||||
|
|
||||||
AccountActivationMessage.propTypes = {
|
AccountActivationMessage.propTypes = {
|
||||||
messageType: PropTypes.string.isRequired,
|
messageType: PropTypes.string.isRequired,
|
||||||
intl: intlShape.isRequired,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(AccountActivationMessage);
|
export default AccountActivationMessage;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import React, { useState } from 'react';
|
import React, { useState } from 'react';
|
||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import {
|
import {
|
||||||
ActionRow, ModalDialog, useToggle,
|
ActionRow, ModalDialog, useToggle,
|
||||||
} from '@edx/paragon';
|
} from '@edx/paragon';
|
||||||
@@ -9,12 +9,12 @@ import classNames from 'classnames';
|
|||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { Link, Redirect } from 'react-router-dom';
|
import { Link, Redirect } from 'react-router-dom';
|
||||||
|
|
||||||
|
import messages from './messages';
|
||||||
import { DEFAULT_REDIRECT_URL, RESET_PAGE } from '../data/constants';
|
import { DEFAULT_REDIRECT_URL, RESET_PAGE } from '../data/constants';
|
||||||
import { updatePathWithQueryParams } from '../data/utils';
|
import { updatePathWithQueryParams } from '../data/utils';
|
||||||
import useMobileResponsive from '../data/utils/useMobileResponsive';
|
import useMobileResponsive from '../data/utils/useMobileResponsive';
|
||||||
import messages from './messages';
|
|
||||||
|
|
||||||
const ChangePasswordPrompt = ({ intl, variant, redirectUrl }) => {
|
const ChangePasswordPrompt = ({ variant, redirectUrl }) => {
|
||||||
const isMobileView = useMobileResponsive();
|
const isMobileView = useMobileResponsive();
|
||||||
const [redirectToResetPasswordPage, setRedirectToResetPasswordPage] = useState(false);
|
const [redirectToResetPasswordPage, setRedirectToResetPasswordPage] = useState(false);
|
||||||
const handlers = {
|
const handlers = {
|
||||||
@@ -28,6 +28,7 @@ const ChangePasswordPrompt = ({ intl, variant, redirectUrl }) => {
|
|||||||
};
|
};
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
const [isOpen, open, close] = useToggle(true, handlers);
|
const [isOpen, open, close] = useToggle(true, handlers);
|
||||||
|
const { formatMessage } = useIntl();
|
||||||
|
|
||||||
if (redirectToResetPasswordPage) {
|
if (redirectToResetPasswordPage) {
|
||||||
return <Redirect to={updatePathWithQueryParams(RESET_PAGE)} />;
|
return <Redirect to={updatePathWithQueryParams(RESET_PAGE)} />;
|
||||||
@@ -42,11 +43,11 @@ const ChangePasswordPrompt = ({ intl, variant, redirectUrl }) => {
|
|||||||
>
|
>
|
||||||
<ModalDialog.Header>
|
<ModalDialog.Header>
|
||||||
<ModalDialog.Title>
|
<ModalDialog.Title>
|
||||||
{intl.formatMessage(messages[`password.security.${variant}.title`])}
|
{formatMessage(messages[`password.security.${variant}.title`])}
|
||||||
</ModalDialog.Title>
|
</ModalDialog.Title>
|
||||||
</ModalDialog.Header>
|
</ModalDialog.Header>
|
||||||
<ModalDialog.Body>
|
<ModalDialog.Body>
|
||||||
{intl.formatMessage(messages[`password.security.${variant}.body`])}
|
{formatMessage(messages[`password.security.${variant}.body`])}
|
||||||
</ModalDialog.Body>
|
</ModalDialog.Body>
|
||||||
<ModalDialog.Footer>
|
<ModalDialog.Footer>
|
||||||
<ActionRow className={classNames(
|
<ActionRow className={classNames(
|
||||||
@@ -55,7 +56,7 @@ const ChangePasswordPrompt = ({ intl, variant, redirectUrl }) => {
|
|||||||
>
|
>
|
||||||
{variant === 'nudge' ? (
|
{variant === 'nudge' ? (
|
||||||
<ModalDialog.CloseButton id="password-security-close" variant="tertiary">
|
<ModalDialog.CloseButton id="password-security-close" variant="tertiary">
|
||||||
{intl.formatMessage(messages['password.security.close.button'])}
|
{formatMessage(messages['password.security.close.button'])}
|
||||||
</ModalDialog.CloseButton>
|
</ModalDialog.CloseButton>
|
||||||
) : null}
|
) : null}
|
||||||
<Link
|
<Link
|
||||||
@@ -66,7 +67,7 @@ const ChangePasswordPrompt = ({ intl, variant, redirectUrl }) => {
|
|||||||
)}
|
)}
|
||||||
to={updatePathWithQueryParams(RESET_PAGE)}
|
to={updatePathWithQueryParams(RESET_PAGE)}
|
||||||
>
|
>
|
||||||
{intl.formatMessage(messages['password.security.redirect.to.reset.password.button'])}
|
{formatMessage(messages['password.security.redirect.to.reset.password.button'])}
|
||||||
</Link>
|
</Link>
|
||||||
</ActionRow>
|
</ActionRow>
|
||||||
</ModalDialog.Footer>
|
</ModalDialog.Footer>
|
||||||
@@ -80,9 +81,8 @@ ChangePasswordPrompt.defaultProps = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
ChangePasswordPrompt.propTypes = {
|
ChangePasswordPrompt.propTypes = {
|
||||||
intl: intlShape.isRequired,
|
|
||||||
variant: PropTypes.oneOf(['nudge', 'block']),
|
variant: PropTypes.oneOf(['nudge', 'block']),
|
||||||
redirectUrl: PropTypes.string,
|
redirectUrl: PropTypes.string,
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(ChangePasswordPrompt);
|
export default ChangePasswordPrompt;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import React from 'react';
|
|||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { getAuthService } from '@edx/frontend-platform/auth';
|
import { getAuthService } from '@edx/frontend-platform/auth';
|
||||||
import { FormattedMessage, injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { FormattedMessage, useIntl } from '@edx/frontend-platform/i18n';
|
||||||
import { Alert, Hyperlink } from '@edx/paragon';
|
import { Alert, Hyperlink } from '@edx/paragon';
|
||||||
import { Error } from '@edx/paragon/icons';
|
import { Error } from '@edx/paragon/icons';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
@@ -20,17 +20,19 @@ import {
|
|||||||
NON_COMPLIANT_PASSWORD_EXCEPTION,
|
NON_COMPLIANT_PASSWORD_EXCEPTION,
|
||||||
NUDGE_PASSWORD_CHANGE,
|
NUDGE_PASSWORD_CHANGE,
|
||||||
REQUIRE_PASSWORD_CHANGE,
|
REQUIRE_PASSWORD_CHANGE,
|
||||||
|
TPA_AUTHENTICATION_FAILURE,
|
||||||
} from './data/constants';
|
} from './data/constants';
|
||||||
import messages from './messages';
|
import messages from './messages';
|
||||||
|
|
||||||
const LoginFailureMessage = (props) => {
|
const LoginFailureMessage = (props) => {
|
||||||
const { intl } = props;
|
const { formatMessage } = useIntl();
|
||||||
const { context, errorCode } = props.loginError;
|
const { context, errorCode } = props.loginError;
|
||||||
|
|
||||||
const authService = getAuthService();
|
const authService = getAuthService();
|
||||||
let errorList;
|
let errorList;
|
||||||
let resetLink = (
|
let resetLink = (
|
||||||
<Hyperlink destination="/reset" isInline>
|
<Hyperlink destination="reset" isInline>
|
||||||
{intl.formatMessage(messages['login.incorrect.credentials.error.reset.link.text'])}
|
{formatMessage(messages['login.incorrect.credentials.error.reset.link.text'])}
|
||||||
</Hyperlink>
|
</Hyperlink>
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -38,19 +40,19 @@ const LoginFailureMessage = (props) => {
|
|||||||
case NON_COMPLIANT_PASSWORD_EXCEPTION: {
|
case NON_COMPLIANT_PASSWORD_EXCEPTION: {
|
||||||
errorList = (
|
errorList = (
|
||||||
<>
|
<>
|
||||||
<strong>{intl.formatMessage(messages['non.compliant.password.title'])}</strong>
|
<strong>{formatMessage(messages['non.compliant.password.title'])}</strong>
|
||||||
<p>{intl.formatMessage(messages['non.compliant.password.message'])}</p>
|
<p>{formatMessage(messages['non.compliant.password.message'])}</p>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case FORBIDDEN_REQUEST:
|
case FORBIDDEN_REQUEST:
|
||||||
errorList = <p>{intl.formatMessage(messages['login.rate.limit.reached.message'])}</p>;
|
errorList = <p>{formatMessage(messages['login.rate.limit.reached.message'])}</p>;
|
||||||
break;
|
break;
|
||||||
case INACTIVE_USER: {
|
case INACTIVE_USER: {
|
||||||
const supportLink = (
|
const supportLink = (
|
||||||
<a href={context.supportLink}>
|
<a href={context.supportLink}>
|
||||||
{intl.formatMessage(messages['contact.support.link'], { platformName: context.platformName })}
|
{formatMessage(messages['contact.support.link'], { platformName: context.platformName })}
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
errorList = (
|
errorList = (
|
||||||
@@ -74,7 +76,7 @@ const LoginFailureMessage = (props) => {
|
|||||||
const url = `${getConfig().LMS_BASE_URL}/dashboard/?tpa_hint=${context.tpaHint}`;
|
const url = `${getConfig().LMS_BASE_URL}/dashboard/?tpa_hint=${context.tpaHint}`;
|
||||||
const tpaLink = (
|
const tpaLink = (
|
||||||
<a href={url}>
|
<a href={url}>
|
||||||
{intl.formatMessage(messages['tpa.account.link'], { provider: context.provider })}
|
{formatMessage(messages['tpa.account.link'], { provider: context.provider })}
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
errorList = (
|
errorList = (
|
||||||
@@ -90,12 +92,12 @@ const LoginFailureMessage = (props) => {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case INVALID_FORM:
|
case INVALID_FORM:
|
||||||
errorList = <p>{intl.formatMessage(messages['login.form.invalid.error.message'])}</p>;
|
errorList = <p>{formatMessage(messages['login.form.invalid.error.message'])}</p>;
|
||||||
break;
|
break;
|
||||||
case FAILED_LOGIN_ATTEMPT: {
|
case FAILED_LOGIN_ATTEMPT: {
|
||||||
resetLink = (
|
resetLink = (
|
||||||
<Hyperlink destination="/reset" isInline>
|
<Hyperlink destination="reset" isInline>
|
||||||
{intl.formatMessage(messages['login.incorrect.credentials.error.before.account.blocked.text'])}
|
{formatMessage(messages['login.incorrect.credentials.error.before.account.blocked.text'])}
|
||||||
</Hyperlink>
|
</Hyperlink>
|
||||||
);
|
);
|
||||||
errorList = (
|
errorList = (
|
||||||
@@ -124,7 +126,7 @@ const LoginFailureMessage = (props) => {
|
|||||||
case ACCOUNT_LOCKED_OUT: {
|
case ACCOUNT_LOCKED_OUT: {
|
||||||
errorList = (
|
errorList = (
|
||||||
<>
|
<>
|
||||||
<p>{intl.formatMessage(messages['account.locked.out.message.1'])}</p>
|
<p>{formatMessage(messages['account.locked.out.message.1'])}</p>
|
||||||
<p>
|
<p>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="account.locked.out.message.2"
|
id="account.locked.out.message.2"
|
||||||
@@ -139,7 +141,7 @@ const LoginFailureMessage = (props) => {
|
|||||||
}
|
}
|
||||||
case INCORRECT_EMAIL_PASSWORD:
|
case INCORRECT_EMAIL_PASSWORD:
|
||||||
if (context.failureCount <= 1) {
|
if (context.failureCount <= 1) {
|
||||||
errorList = <p>{intl.formatMessage(messages['login.incorrect.credentials.error'])}</p>;
|
errorList = <p>{formatMessage(messages['login.incorrect.credentials.error'])}</p>;
|
||||||
} else if (context.failureCount === 2) {
|
} else if (context.failureCount === 2) {
|
||||||
errorList = (
|
errorList = (
|
||||||
<p>
|
<p>
|
||||||
@@ -165,15 +167,25 @@ const LoginFailureMessage = (props) => {
|
|||||||
);
|
);
|
||||||
case REQUIRE_PASSWORD_CHANGE:
|
case REQUIRE_PASSWORD_CHANGE:
|
||||||
return <ChangePasswordPrompt />;
|
return <ChangePasswordPrompt />;
|
||||||
|
case TPA_AUTHENTICATION_FAILURE:
|
||||||
|
errorList = (
|
||||||
|
<p>{formatMessage(messages['login.tpa.authentication.failure'], {
|
||||||
|
platform_name: getConfig().SITE_NAME,
|
||||||
|
lineBreak: <br />,
|
||||||
|
errorMessage: context.errorMessage,
|
||||||
|
})}
|
||||||
|
</p>
|
||||||
|
);
|
||||||
|
break;
|
||||||
case INTERNAL_SERVER_ERROR:
|
case INTERNAL_SERVER_ERROR:
|
||||||
default:
|
default:
|
||||||
errorList = <p>{intl.formatMessage(messages['internal.server.error.message'])}</p>;
|
errorList = <p>{formatMessage(messages['internal.server.error.message'])}</p>;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Alert id="login-failure-alert" className="mb-5" variant="danger" icon={Error}>
|
<Alert id="login-failure-alert" className="mb-5" variant="danger" icon={Error}>
|
||||||
<Alert.Heading>{intl.formatMessage(messages['login.failure.header.title'])}</Alert.Heading>
|
<Alert.Heading>{formatMessage(messages['login.failure.header.title'])}</Alert.Heading>
|
||||||
{ errorList }
|
{ errorList }
|
||||||
</Alert>
|
</Alert>
|
||||||
);
|
);
|
||||||
@@ -183,17 +195,26 @@ LoginFailureMessage.defaultProps = {
|
|||||||
loginError: {
|
loginError: {
|
||||||
redirectUrl: null,
|
redirectUrl: null,
|
||||||
errorCode: null,
|
errorCode: null,
|
||||||
|
errorMessage: null,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
LoginFailureMessage.propTypes = {
|
LoginFailureMessage.propTypes = {
|
||||||
loginError: PropTypes.shape({
|
loginError: PropTypes.shape({
|
||||||
context: PropTypes.object,
|
context: PropTypes.shape({
|
||||||
|
supportLink: PropTypes.string,
|
||||||
|
platformName: PropTypes.string,
|
||||||
|
tpaHint: PropTypes.string,
|
||||||
|
provider: PropTypes.string,
|
||||||
|
allowedDomain: PropTypes.string,
|
||||||
|
remainingAttempts: PropTypes.number,
|
||||||
|
failureCount: PropTypes.number,
|
||||||
|
errorMessage: PropTypes.string,
|
||||||
|
}),
|
||||||
email: PropTypes.string,
|
email: PropTypes.string,
|
||||||
errorCode: PropTypes.string,
|
errorCode: PropTypes.string,
|
||||||
redirectUrl: PropTypes.string,
|
redirectUrl: PropTypes.string,
|
||||||
}),
|
}),
|
||||||
intl: intlShape.isRequired,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
export default injectIntl(LoginFailureMessage);
|
export default LoginFailureMessage;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import { connect } from 'react-redux';
|
|||||||
|
|
||||||
import { getConfig } from '@edx/frontend-platform';
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { sendPageEvent, sendTrackEvent } from '@edx/frontend-platform/analytics';
|
import { sendPageEvent, sendTrackEvent } from '@edx/frontend-platform/analytics';
|
||||||
import { injectIntl, intlShape } from '@edx/frontend-platform/i18n';
|
import { injectIntl } from '@edx/frontend-platform/i18n';
|
||||||
import {
|
import {
|
||||||
Form, Hyperlink, Icon, StatefulButton,
|
Form, Hyperlink, Icon, StatefulButton,
|
||||||
} from '@edx/paragon';
|
} from '@edx/paragon';
|
||||||
@@ -13,6 +13,14 @@ import { Helmet } from 'react-helmet';
|
|||||||
import Skeleton from 'react-loading-skeleton';
|
import Skeleton from 'react-loading-skeleton';
|
||||||
import { Link } from 'react-router-dom';
|
import { Link } from 'react-router-dom';
|
||||||
|
|
||||||
|
import AccountActivationMessage from './AccountActivationMessage';
|
||||||
|
import {
|
||||||
|
loginRemovePasswordResetBanner, loginRequest, loginRequestFailure, loginRequestReset, setLoginFormData,
|
||||||
|
} from './data/actions';
|
||||||
|
import { INVALID_FORM, TPA_AUTHENTICATION_FAILURE } from './data/constants';
|
||||||
|
import { loginErrorSelector, loginFormDataSelector, loginRequestSelector } from './data/selectors';
|
||||||
|
import LoginFailureMessage from './LoginFailure';
|
||||||
|
import messages from './messages';
|
||||||
import {
|
import {
|
||||||
FormGroup, InstitutionLogistration, PasswordField, RedirectLogistration,
|
FormGroup, InstitutionLogistration, PasswordField, RedirectLogistration,
|
||||||
RenderInstitutionButton, SocialAuthProviders, ThirdPartyAuthAlert,
|
RenderInstitutionButton, SocialAuthProviders, ThirdPartyAuthAlert,
|
||||||
@@ -25,7 +33,7 @@ import {
|
|||||||
} from '../data/constants';
|
} from '../data/constants';
|
||||||
import {
|
import {
|
||||||
getActivationStatus,
|
getActivationStatus,
|
||||||
getAllPossibleQueryParam,
|
getAllPossibleQueryParams,
|
||||||
getTpaHint,
|
getTpaHint,
|
||||||
getTpaProvider,
|
getTpaProvider,
|
||||||
setSurveyCookie,
|
setSurveyCookie,
|
||||||
@@ -33,14 +41,6 @@ import {
|
|||||||
windowScrollTo,
|
windowScrollTo,
|
||||||
} from '../data/utils';
|
} from '../data/utils';
|
||||||
import ResetPasswordSuccess from '../reset-password/ResetPasswordSuccess';
|
import ResetPasswordSuccess from '../reset-password/ResetPasswordSuccess';
|
||||||
import AccountActivationMessage from './AccountActivationMessage';
|
|
||||||
import {
|
|
||||||
loginRemovePasswordResetBanner, loginRequest, loginRequestFailure, loginRequestReset, setLoginFormData,
|
|
||||||
} from './data/actions';
|
|
||||||
import { INVALID_FORM } from './data/constants';
|
|
||||||
import { loginErrorSelector, loginFormDataSelector, loginRequestSelector } from './data/selectors';
|
|
||||||
import LoginFailureMessage from './LoginFailure';
|
|
||||||
import messages from './messages';
|
|
||||||
|
|
||||||
class LoginPage extends React.Component {
|
class LoginPage extends React.Component {
|
||||||
constructor(props, context) {
|
constructor(props, context) {
|
||||||
@@ -54,7 +54,7 @@ class LoginPage extends React.Component {
|
|||||||
},
|
},
|
||||||
isSubmitted: false,
|
isSubmitted: false,
|
||||||
};
|
};
|
||||||
this.queryParams = getAllPossibleQueryParam();
|
this.queryParams = getAllPossibleQueryParams();
|
||||||
this.tpaHint = getTpaHint();
|
this.tpaHint = getTpaHint();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -122,7 +122,7 @@ class LoginPage extends React.Component {
|
|||||||
email_or_username: emailOrUsername, password, ...this.queryParams,
|
email_or_username: emailOrUsername, password, ...this.queryParams,
|
||||||
};
|
};
|
||||||
this.props.loginRequest(payload);
|
this.props.loginRequest(payload);
|
||||||
}
|
};
|
||||||
|
|
||||||
handleOnFocus = (e) => {
|
handleOnFocus = (e) => {
|
||||||
const { errors } = this.state;
|
const { errors } = this.state;
|
||||||
@@ -130,14 +130,14 @@ class LoginPage extends React.Component {
|
|||||||
this.props.setLoginFormData({
|
this.props.setLoginFormData({
|
||||||
errors,
|
errors,
|
||||||
});
|
});
|
||||||
}
|
};
|
||||||
|
|
||||||
handleOnBlur = (e) => {
|
handleOnBlur = (e) => {
|
||||||
const payload = {
|
const payload = {
|
||||||
[e.target.name]: e.target.value,
|
[e.target.name]: e.target.value,
|
||||||
};
|
};
|
||||||
this.props.setLoginFormData(payload);
|
this.props.setLoginFormData(payload);
|
||||||
}
|
};
|
||||||
|
|
||||||
handleForgotPasswordLinkClickEvent = () => {
|
handleForgotPasswordLinkClickEvent = () => {
|
||||||
sendTrackEvent('edx.bi.password-reset_form.toggled', { category: 'user-engagement' });
|
sendTrackEvent('edx.bi.password-reset_form.toggled', { category: 'user-engagement' });
|
||||||
@@ -170,12 +170,12 @@ class LoginPage extends React.Component {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{((!isEnterpriseLoginDisabled && isSocialAuthActive) || (isEnterpriseLoginDisabled && isInstitutionAuthActive))
|
{(isSocialAuthActive || (isEnterpriseLoginDisabled && isInstitutionAuthActive))
|
||||||
&& (
|
&& (
|
||||||
<div className="mt-4 mb-3 h4">
|
<div className="mt-4 mb-3 h4">
|
||||||
{intl.formatMessage(messages['login.other.options.heading'])}
|
{intl.formatMessage(messages['login.other.options.heading'])}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{(!isEnterpriseLoginDisabled && isSocialAuthActive) && (
|
{(!isEnterpriseLoginDisabled && isSocialAuthActive) && (
|
||||||
<Hyperlink className="btn btn-link btn-sm text-body p-0 mb-4" destination={this.getEnterPriseLoginURL()}>
|
<Hyperlink className="btn btn-link btn-sm text-body p-0 mb-4" destination={this.getEnterPriseLoginURL()}>
|
||||||
@@ -223,16 +223,17 @@ class LoginPage extends React.Component {
|
|||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
const tpaAuthenticationError = {};
|
||||||
|
if (thirdPartyAuthContext.errorMessage) {
|
||||||
|
tpaAuthenticationError.context = {
|
||||||
|
errorMessage: thirdPartyAuthContext.errorMessage,
|
||||||
|
};
|
||||||
|
tpaAuthenticationError.errorCode = TPA_AUTHENTICATION_FAILURE;
|
||||||
|
}
|
||||||
if (this.props.loginResult.success) {
|
if (this.props.loginResult.success) {
|
||||||
|
window.parent.postMessage({ loggedin: true, redirectUrl: this.props.loginResult.redirectUrl }, 'https://discover.edx.org/social-reg');
|
||||||
setSurveyCookie('login');
|
setSurveyCookie('login');
|
||||||
|
return null;
|
||||||
// Fire optimizely events
|
|
||||||
window.optimizely = window.optimizely || [];
|
|
||||||
window.optimizely.push({
|
|
||||||
type: 'event',
|
|
||||||
eventName: 'authn-login-coversion',
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -242,20 +243,18 @@ class LoginPage extends React.Component {
|
|||||||
{ siteName: getConfig().SITE_NAME })}
|
{ siteName: getConfig().SITE_NAME })}
|
||||||
</title>
|
</title>
|
||||||
</Helmet>
|
</Helmet>
|
||||||
<RedirectLogistration
|
{/*<RedirectLogistration*/}
|
||||||
success={this.props.loginResult.success}
|
{/* success={this.props.loginResult.success}*/}
|
||||||
redirectUrl={this.props.loginResult.redirectUrl}
|
{/* redirectUrl={this.props.loginResult.redirectUrl}*/}
|
||||||
finishAuthUrl={thirdPartyAuthContext.finishAuthUrl}
|
{/* finishAuthUrl={thirdPartyAuthContext.finishAuthUrl}*/}
|
||||||
/>
|
{/*/>*/}
|
||||||
<div className="mw-xs mt-3">
|
<div className="mw-xs mt-3">
|
||||||
{thirdPartyAuthContext.currentProvider
|
<ThirdPartyAuthAlert
|
||||||
&& (
|
currentProvider={thirdPartyAuthContext.currentProvider}
|
||||||
<ThirdPartyAuthAlert
|
platformName={thirdPartyAuthContext.platformName}
|
||||||
currentProvider={thirdPartyAuthContext.currentProvider}
|
/>
|
||||||
platformName={thirdPartyAuthContext.platformName}
|
|
||||||
/>
|
|
||||||
)}
|
|
||||||
{this.props.loginError ? <LoginFailureMessage loginError={this.props.loginError} /> : null}
|
{this.props.loginError ? <LoginFailureMessage loginError={this.props.loginError} /> : null}
|
||||||
|
{thirdPartyAuthContext.errorMessage ? <LoginFailureMessage loginError={tpaAuthenticationError} /> : null}
|
||||||
{submitState === DEFAULT_STATE && this.state.isSubmitted ? windowScrollTo({ left: 0, top: 0, behavior: 'smooth' }) : null}
|
{submitState === DEFAULT_STATE && this.state.isSubmitted ? windowScrollTo({ left: 0, top: 0, behavior: 'smooth' }) : null}
|
||||||
{activationMsgType && <AccountActivationMessage messageType={activationMsgType} />}
|
{activationMsgType && <AccountActivationMessage messageType={activationMsgType} />}
|
||||||
{this.props.resetPassword && !this.props.loginError ? <ResetPasswordSuccess /> : null}
|
{this.props.resetPassword && !this.props.loginError ? <ResetPasswordSuccess /> : null}
|
||||||
@@ -295,16 +294,16 @@ class LoginPage extends React.Component {
|
|||||||
onClick={this.handleSubmit}
|
onClick={this.handleSubmit}
|
||||||
onMouseDown={(e) => e.preventDefault()}
|
onMouseDown={(e) => e.preventDefault()}
|
||||||
/>
|
/>
|
||||||
<Link
|
{/*<Link*/}
|
||||||
id="forgot-password"
|
{/* id="forgot-password"*/}
|
||||||
name="forgot-password"
|
{/* name="forgot-password"*/}
|
||||||
className="btn btn-link font-weight-500 text-body"
|
{/* className="btn btn-link font-weight-500 text-body"*/}
|
||||||
to={updatePathWithQueryParams(RESET_PAGE)}
|
{/* to={updatePathWithQueryParams(RESET_PAGE)}*/}
|
||||||
onClick={this.handleForgotPasswordLinkClickEvent}
|
{/* onClick={this.handleForgotPasswordLinkClickEvent}*/}
|
||||||
>
|
{/*>*/}
|
||||||
{intl.formatMessage(messages['forgot.password'])}
|
{/* {intl.formatMessage(messages['forgot.password'])}*/}
|
||||||
</Link>
|
{/*</Link>*/}
|
||||||
{this.renderThirdPartyAuth(providers, secondaryProviders, currentProvider, thirdPartyAuthApiStatus, intl)}
|
{/*{this.renderThirdPartyAuth(providers, secondaryProviders, currentProvider, thirdPartyAuthApiStatus, intl)}*/}
|
||||||
</Form>
|
</Form>
|
||||||
</div>
|
</div>
|
||||||
</>
|
</>
|
||||||
@@ -364,6 +363,7 @@ LoginPage.defaultProps = {
|
|||||||
thirdPartyAuthApiStatus: 'pending',
|
thirdPartyAuthApiStatus: 'pending',
|
||||||
thirdPartyAuthContext: {
|
thirdPartyAuthContext: {
|
||||||
currentProvider: null,
|
currentProvider: null,
|
||||||
|
errorMessage: null,
|
||||||
finishAuthUrl: null,
|
finishAuthUrl: null,
|
||||||
providers: [],
|
providers: [],
|
||||||
secondaryProviders: [],
|
secondaryProviders: [],
|
||||||
@@ -372,8 +372,10 @@ LoginPage.defaultProps = {
|
|||||||
|
|
||||||
LoginPage.propTypes = {
|
LoginPage.propTypes = {
|
||||||
getThirdPartyAuthContext: PropTypes.func.isRequired,
|
getThirdPartyAuthContext: PropTypes.func.isRequired,
|
||||||
intl: intlShape.isRequired,
|
intl: PropTypes.shape({
|
||||||
loginError: PropTypes.objectOf(PropTypes.any),
|
formatMessage: PropTypes.func,
|
||||||
|
}).isRequired,
|
||||||
|
loginError: PropTypes.shape({}),
|
||||||
loginRequest: PropTypes.func.isRequired,
|
loginRequest: PropTypes.func.isRequired,
|
||||||
loginRequestFailure: PropTypes.func.isRequired,
|
loginRequestFailure: PropTypes.func.isRequired,
|
||||||
loginRequestReset: PropTypes.func.isRequired,
|
loginRequestReset: PropTypes.func.isRequired,
|
||||||
@@ -396,9 +398,10 @@ LoginPage.propTypes = {
|
|||||||
thirdPartyAuthApiStatus: PropTypes.string,
|
thirdPartyAuthApiStatus: PropTypes.string,
|
||||||
thirdPartyAuthContext: PropTypes.shape({
|
thirdPartyAuthContext: PropTypes.shape({
|
||||||
currentProvider: PropTypes.string,
|
currentProvider: PropTypes.string,
|
||||||
|
errorMessage: PropTypes.string,
|
||||||
platformName: PropTypes.string,
|
platformName: PropTypes.string,
|
||||||
providers: PropTypes.array,
|
providers: PropTypes.arrayOf(PropTypes.shape({})),
|
||||||
secondaryProviders: PropTypes.array,
|
secondaryProviders: PropTypes.arrayOf(PropTypes.shape({})),
|
||||||
finishAuthUrl: PropTypes.string,
|
finishAuthUrl: PropTypes.string,
|
||||||
}),
|
}),
|
||||||
institutionLogin: PropTypes.bool.isRequired,
|
institutionLogin: PropTypes.bool.isRequired,
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ export const INCORRECT_EMAIL_PASSWORD = 'incorrect-email-or-password';
|
|||||||
export const NUDGE_PASSWORD_CHANGE = 'nudge-password-change';
|
export const NUDGE_PASSWORD_CHANGE = 'nudge-password-change';
|
||||||
export const REQUIRE_PASSWORD_CHANGE = 'require-password-change';
|
export const REQUIRE_PASSWORD_CHANGE = 'require-password-change';
|
||||||
export const ALLOWED_DOMAIN_LOGIN_ERROR = 'allowed-domain-login-error';
|
export const ALLOWED_DOMAIN_LOGIN_ERROR = 'allowed-domain-login-error';
|
||||||
|
export const TPA_AUTHENTICATION_FAILURE = 'tpa-authentication-failure';
|
||||||
|
|
||||||
// Account Activation Message
|
// Account Activation Message
|
||||||
export const ACCOUNT_ACTIVATION_MESSAGE = {
|
export const ACCOUNT_ACTIVATION_MESSAGE = {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
|
import { LOGIN_PERSIST_FORM_DATA, LOGIN_REMOVE_PASSWORD_RESET_BANNER, LOGIN_REQUEST } from './actions';
|
||||||
import { DEFAULT_STATE, PENDING_STATE } from '../../data/constants';
|
import { DEFAULT_STATE, PENDING_STATE } from '../../data/constants';
|
||||||
import { RESET_PASSWORD } from '../../reset-password';
|
import { RESET_PASSWORD } from '../../reset-password';
|
||||||
import { LOGIN_PERSIST_FORM_DATA, LOGIN_REMOVE_PASSWORD_RESET_BANNER, LOGIN_REQUEST } from './actions';
|
|
||||||
|
|
||||||
export const defaultState = {
|
export const defaultState = {
|
||||||
loginError: null,
|
loginError: null,
|
||||||
@@ -16,7 +16,7 @@ export const defaultState = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const reducer = (state = defaultState, action) => {
|
const reducer = (state = defaultState, action = {}) => {
|
||||||
switch (action.type) {
|
switch (action.type) {
|
||||||
case LOGIN_REQUEST.BEGIN:
|
case LOGIN_REQUEST.BEGIN:
|
||||||
return {
|
return {
|
||||||
|
|||||||
@@ -22,36 +22,11 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'Sign in',
|
defaultMessage: 'Sign in',
|
||||||
description: 'Sign in button label that appears on login page',
|
description: 'Sign in button label that appears on login page',
|
||||||
},
|
},
|
||||||
'sign.in.btn.pending.state': {
|
|
||||||
id: 'sign.in.btn.pending.state',
|
|
||||||
defaultMessage: 'Loading',
|
|
||||||
description: 'Title of icon that appears when button is in pending state',
|
|
||||||
},
|
|
||||||
'need.help.signing.in.collapsible.menu': {
|
|
||||||
id: 'need.help.signing.in.collapsible.menu',
|
|
||||||
defaultMessage: 'Need help signing in?',
|
|
||||||
description: 'A button for collapsible need help signing in menu on login page',
|
|
||||||
},
|
|
||||||
'forgot.password.link': {
|
|
||||||
id: 'forgot.password.link',
|
|
||||||
defaultMessage: 'Forgot my password',
|
|
||||||
description: 'Forgot password link',
|
|
||||||
},
|
|
||||||
'forgot.password': {
|
'forgot.password': {
|
||||||
id: 'forgot.password',
|
id: 'forgot.password',
|
||||||
defaultMessage: 'Forgot password',
|
defaultMessage: 'Forgot password',
|
||||||
description: 'Button text for forgot password',
|
description: 'Button text for forgot password',
|
||||||
},
|
},
|
||||||
'other.sign.in.issues': {
|
|
||||||
id: 'other.sign.in.issues',
|
|
||||||
defaultMessage: 'Other sign in issues',
|
|
||||||
description: 'A link that redirects to sign-in issues help',
|
|
||||||
},
|
|
||||||
'need.other.help.signing.in.collapsible.menu': {
|
|
||||||
id: 'need.other.help.signing.in.collapsible.menu',
|
|
||||||
defaultMessage: 'Need other help signing in?',
|
|
||||||
description: 'A button for collapsible need other help signing in menu on forgot password page',
|
|
||||||
},
|
|
||||||
'institution.login.button': {
|
'institution.login.button': {
|
||||||
id: 'institution.login.button',
|
id: 'institution.login.button',
|
||||||
defaultMessage: 'Institution/campus credentials',
|
defaultMessage: 'Institution/campus credentials',
|
||||||
@@ -67,16 +42,6 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'Choose your institution from the list below',
|
defaultMessage: 'Choose your institution from the list below',
|
||||||
description: 'Heading of the institutions list',
|
description: 'Heading of the institutions list',
|
||||||
},
|
},
|
||||||
'institution.login.page.back.button': {
|
|
||||||
id: 'institution.login.page.back.button',
|
|
||||||
defaultMessage: 'Back to sign in',
|
|
||||||
description: 'return to login page',
|
|
||||||
},
|
|
||||||
'create.an.account': {
|
|
||||||
id: 'create.an.account',
|
|
||||||
defaultMessage: 'Create an account',
|
|
||||||
description: 'Message on button to return to register page',
|
|
||||||
},
|
|
||||||
'login.other.options.heading': {
|
'login.other.options.heading': {
|
||||||
id: 'login.other.options.heading',
|
id: 'login.other.options.heading',
|
||||||
defaultMessage: 'Or sign in with:',
|
defaultMessage: 'Or sign in with:',
|
||||||
@@ -99,26 +64,11 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'To protect your account, it\'s been temporarily locked. Try again in 30 minutes.',
|
defaultMessage: 'To protect your account, it\'s been temporarily locked. Try again in 30 minutes.',
|
||||||
description: 'Part of message for when user account has been locked out after multiple failed login attempts',
|
description: 'Part of message for when user account has been locked out after multiple failed login attempts',
|
||||||
},
|
},
|
||||||
'first.time.here': {
|
|
||||||
id: 'first.time.here',
|
|
||||||
defaultMessage: 'First time here?',
|
|
||||||
description: 'A question that appears before sign up link',
|
|
||||||
},
|
|
||||||
'email.help.message': {
|
|
||||||
id: 'email.help.message',
|
|
||||||
defaultMessage: 'The email address you used to register with edX.',
|
|
||||||
description: 'Message that appears below email field on login page',
|
|
||||||
},
|
|
||||||
'enterprise.login.btn.text': {
|
'enterprise.login.btn.text': {
|
||||||
id: 'enterprise.login.btn.text',
|
id: 'enterprise.login.btn.text',
|
||||||
defaultMessage: 'Company or school credentials',
|
defaultMessage: 'Company or school credentials',
|
||||||
description: 'Company or school login link text.',
|
description: 'Company or school login link text.',
|
||||||
},
|
},
|
||||||
'email.format.validation.message': {
|
|
||||||
id: 'email.format.validation.message',
|
|
||||||
defaultMessage: 'The email address you\'ve provided isn\'t formatted correctly.',
|
|
||||||
description: 'Validation message that appears when email address format is incorrect',
|
|
||||||
},
|
|
||||||
'username.or.email.format.validation.less.chars.message': {
|
'username.or.email.format.validation.less.chars.message': {
|
||||||
id: 'username.or.email.format.validation.less.chars.message',
|
id: 'username.or.email.format.validation.less.chars.message',
|
||||||
defaultMessage: 'Username or email must have at least 3 characters.',
|
defaultMessage: 'Username or email must have at least 3 characters.',
|
||||||
@@ -134,16 +84,6 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'Enter your password',
|
defaultMessage: 'Enter your password',
|
||||||
description: 'Validation message that appears when password is empty',
|
description: 'Validation message that appears when password is empty',
|
||||||
},
|
},
|
||||||
'register.link': {
|
|
||||||
id: 'register.link',
|
|
||||||
defaultMessage: 'Create an account',
|
|
||||||
description: 'Register page link',
|
|
||||||
},
|
|
||||||
'sign.in.heading': {
|
|
||||||
id: 'sign.in.heading',
|
|
||||||
defaultMessage: 'Sign in',
|
|
||||||
description: 'Sign in text',
|
|
||||||
},
|
|
||||||
// Account Activation Strings
|
// Account Activation Strings
|
||||||
'account.activation.success.message.title': {
|
'account.activation.success.message.title': {
|
||||||
id: 'account.activation.success.message.title',
|
id: 'account.activation.success.message.title',
|
||||||
@@ -170,11 +110,6 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'contact support',
|
defaultMessage: 'contact support',
|
||||||
description: 'Link text used in account activation error message to go to learner help center',
|
description: 'Link text used in account activation error message to go to learner help center',
|
||||||
},
|
},
|
||||||
'tpa.account.link': {
|
|
||||||
id: 'tpa.account.link',
|
|
||||||
defaultMessage: '{provider} account',
|
|
||||||
description: 'Link text error message used to go to SSO when staff user try to login through password.',
|
|
||||||
},
|
|
||||||
// Email Confirmation Strings
|
// Email Confirmation Strings
|
||||||
'account.confirmation.success.message.title': {
|
'account.confirmation.success.message.title': {
|
||||||
id: 'account.confirmation.success.message.title',
|
id: 'account.confirmation.success.message.title',
|
||||||
@@ -196,6 +131,11 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'Your email could not be confirmed',
|
defaultMessage: 'Your email could not be confirmed',
|
||||||
description: 'Account verification error message title',
|
description: 'Account verification error message title',
|
||||||
},
|
},
|
||||||
|
'tpa.account.link': {
|
||||||
|
id: 'tpa.account.link',
|
||||||
|
defaultMessage: '{provider} account',
|
||||||
|
description: 'Link text error message used to go to SSO when staff user try to login through password.',
|
||||||
|
},
|
||||||
'internal.server.error.message': {
|
'internal.server.error.message': {
|
||||||
id: 'internal.server.error.message',
|
id: 'internal.server.error.message',
|
||||||
defaultMessage: 'An error has occurred. Try refreshing the page, or check your internet connection.',
|
defaultMessage: 'An error has occurred. Try refreshing the page, or check your internet connection.',
|
||||||
@@ -221,16 +161,6 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'The username, email, or password you entered is incorrect. Please try again.',
|
defaultMessage: 'The username, email, or password you entered is incorrect. Please try again.',
|
||||||
description: 'Error message for incorrect email or password',
|
description: 'Error message for incorrect email or password',
|
||||||
},
|
},
|
||||||
'login.failed.attempt.error': {
|
|
||||||
id: 'login.failed.attempt.error',
|
|
||||||
defaultMessage: 'You have {remainingAttempts} more sign in attempts before your account is temporarily locked.',
|
|
||||||
description: 'Failed login attempts error message',
|
|
||||||
},
|
|
||||||
'login.locked.out.error.message': {
|
|
||||||
id: 'login.locked.out.error.message',
|
|
||||||
defaultMessage: 'To protect your account, it’s been temporarily locked. Try again in {lockedOutPeriod} minutes.',
|
|
||||||
description: 'Account locked out user message',
|
|
||||||
},
|
|
||||||
'login.form.invalid.error.message': {
|
'login.form.invalid.error.message': {
|
||||||
id: 'login.form.invalid.error.message',
|
id: 'login.form.invalid.error.message',
|
||||||
defaultMessage: 'Please fill in the fields below.',
|
defaultMessage: 'Please fill in the fields below.',
|
||||||
@@ -279,6 +209,13 @@ const messages = defineMessages({
|
|||||||
defaultMessage: 'Reset your password',
|
defaultMessage: 'Reset your password',
|
||||||
description: 'Button to redirect users to Reset Password page',
|
description: 'Button to redirect users to Reset Password page',
|
||||||
},
|
},
|
||||||
|
'login.tpa.authentication.failure': {
|
||||||
|
id: 'login.tpa.authentication.failure',
|
||||||
|
defaultMessage: 'We are sorry, you are not authorized to access {platform_name} via this channel. '
|
||||||
|
+ 'Please contact your learning administrator or manager in order to access {platform_name}.'
|
||||||
|
+ '{lineBreak}{lineBreak}Error Details:{lineBreak}{errorMessage}',
|
||||||
|
description: 'Error message third party authentication pipeline fails',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
export default messages;
|
export default messages;
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
import * as auth from '@edx/frontend-platform/auth';
|
|
||||||
import { injectIntl, IntlProvider } from '@edx/frontend-platform/i18n';
|
import { injectIntl, IntlProvider } from '@edx/frontend-platform/i18n';
|
||||||
import { mount } from 'enzyme';
|
import { mount } from 'enzyme';
|
||||||
import { MemoryRouter } from 'react-router-dom';
|
import { MemoryRouter } from 'react-router-dom';
|
||||||
@@ -16,11 +15,13 @@ import {
|
|||||||
NON_COMPLIANT_PASSWORD_EXCEPTION,
|
NON_COMPLIANT_PASSWORD_EXCEPTION,
|
||||||
NUDGE_PASSWORD_CHANGE,
|
NUDGE_PASSWORD_CHANGE,
|
||||||
REQUIRE_PASSWORD_CHANGE,
|
REQUIRE_PASSWORD_CHANGE,
|
||||||
|
TPA_AUTHENTICATION_FAILURE,
|
||||||
} from '../data/constants';
|
} from '../data/constants';
|
||||||
import LoginFailureMessage from '../LoginFailure';
|
import LoginFailureMessage from '../LoginFailure';
|
||||||
|
|
||||||
jest.mock('@edx/frontend-platform/auth');
|
jest.mock('@edx/frontend-platform/auth', () => ({
|
||||||
auth.getAuthService = jest.fn();
|
getAuthService: jest.fn(),
|
||||||
|
}));
|
||||||
|
|
||||||
const IntlLoginFailureMessage = injectIntl(LoginFailureMessage);
|
const IntlLoginFailureMessage = injectIntl(LoginFailureMessage);
|
||||||
|
|
||||||
@@ -64,7 +65,7 @@ describe('LoginFailureMessage', () => {
|
|||||||
errorCode: INACTIVE_USER,
|
errorCode: INACTIVE_USER,
|
||||||
context: {
|
context: {
|
||||||
platformName: 'openedX',
|
platformName: 'openedX',
|
||||||
supportLink: 'https://support.edx.org/',
|
supportLink: 'http://support.openedx.test',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@@ -80,7 +81,7 @@ describe('LoginFailureMessage', () => {
|
|||||||
+ 'check your spam folders or contact openedX support.';
|
+ 'check your spam folders or contact openedX support.';
|
||||||
|
|
||||||
expect(loginFailureMessage.find('#login-failure-alert').first().text()).toEqual(expectedMessage);
|
expect(loginFailureMessage.find('#login-failure-alert').first().text()).toEqual(expectedMessage);
|
||||||
expect(loginFailureMessage.find('#login-failure-alert').find('a').props().href).toEqual('https://support.edx.org/');
|
expect(loginFailureMessage.find('#login-failure-alert').find('a').props().href).toEqual('http://support.openedx.test');
|
||||||
});
|
});
|
||||||
|
|
||||||
it('test match failed login attempt error', () => {
|
it('test match failed login attempt error', () => {
|
||||||
@@ -219,6 +220,28 @@ describe('LoginFailureMessage', () => {
|
|||||||
expect(loginFailureMessage.find('#login-failure-alert').first().text()).toEqual(expectedMessage);
|
expect(loginFailureMessage.find('#login-failure-alert').first().text()).toEqual(expectedMessage);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('should match tpa authentication failed error message', () => {
|
||||||
|
props = {
|
||||||
|
loginError: {
|
||||||
|
errorCode: TPA_AUTHENTICATION_FAILURE,
|
||||||
|
context: {
|
||||||
|
errorMessage: 'An error occured',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
const loginFailureMessage = mount(
|
||||||
|
<IntlProvider locale="en">
|
||||||
|
<IntlLoginFailureMessage {...props} />
|
||||||
|
</IntlProvider>,
|
||||||
|
);
|
||||||
|
|
||||||
|
const expectedMessageSubstring = 'We are sorry, you are not authorized to access';
|
||||||
|
|
||||||
|
expect(loginFailureMessage.find('#login-failure-alert').first().text()).toContain(expectedMessageSubstring);
|
||||||
|
expect(loginFailureMessage.find('#login-failure-alert').first().text()).toContain('An error occured');
|
||||||
|
});
|
||||||
|
|
||||||
it('should show modal that nudges users to change password', () => {
|
it('should show modal that nudges users to change password', () => {
|
||||||
props = {
|
props = {
|
||||||
loginError: {
|
loginError: {
|
||||||
@@ -269,7 +292,7 @@ describe('LoginFailureMessage', () => {
|
|||||||
email: 'text@example.com',
|
email: 'text@example.com',
|
||||||
errorCode: ALLOWED_DOMAIN_LOGIN_ERROR,
|
errorCode: ALLOWED_DOMAIN_LOGIN_ERROR,
|
||||||
context: {
|
context: {
|
||||||
allowedDomain: 'edx.org',
|
allowedDomain: 'test.com',
|
||||||
provider: 'Google',
|
provider: 'Google',
|
||||||
tpaHint: 'google-auth2',
|
tpaHint: 'google-auth2',
|
||||||
},
|
},
|
||||||
@@ -282,7 +305,7 @@ describe('LoginFailureMessage', () => {
|
|||||||
</IntlProvider>,
|
</IntlProvider>,
|
||||||
);
|
);
|
||||||
|
|
||||||
const errorMessage = "We couldn't sign you in.As edx.org user, You must login with your edx.org Google account.";
|
const errorMessage = "We couldn't sign you in.As test.com user, You must login with your test.com Google account.";
|
||||||
const url = 'http://localhost:18000/dashboard/?tpa_hint=google-auth2';
|
const url = 'http://localhost:18000/dashboard/?tpa_hint=google-auth2';
|
||||||
|
|
||||||
expect(loginFailureMessage.find('#login-failure-alert').first().text()).toEqual(errorMessage);
|
expect(loginFailureMessage.find('#login-failure-alert').first().text()).toEqual(errorMessage);
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user