feat: enable i18n (#40937)

Enables the selection of `espanol` for the curriculum build, and sets
`responsive-web-design` as audited for both languages.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>
This commit is contained in:
Nicholas Carrigan (he/him)
2021-02-06 01:26:11 -08:00
committed by GitHub
parent f306361c6a
commit bc7bb9adb8
2 changed files with 3 additions and 3 deletions

View File

@ -3,7 +3,7 @@
*/ */
const availableLangs = { const availableLangs = {
client: ['english', 'espanol', 'chinese'], client: ['english', 'espanol', 'chinese'],
curriculum: ['english', 'chinese'] curriculum: ['english', 'espanol', 'chinese']
}; };
// Each client language needs an entry in the rest of the variables below // Each client language needs an entry in the rest of the variables below

View File

@ -10,8 +10,8 @@
// to the arrays below // to the arrays below
const auditedCerts = { const auditedCerts = {
espanol: [], espanol: ['responsive-web-design'],
chinese: [] chinese: ['responsive-web-design']
}; };
function isAuditedCert(lang, cert) { function isAuditedCert(lang, cert) {