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:
committed by
GitHub
parent
f306361c6a
commit
bc7bb9adb8
@ -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
|
||||||
|
@ -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) {
|
||||||
|
Reference in New Issue
Block a user