From bc7bb9adb8b5517d80041c385e5c22858742d4f4 Mon Sep 17 00:00:00 2001 From: "Nicholas Carrigan (he/him)" Date: Sat, 6 Feb 2021 01:26:11 -0800 Subject: [PATCH] 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 --- client/i18n/allLangs.js | 2 +- utils/is-audited.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/i18n/allLangs.js b/client/i18n/allLangs.js index 3dc937fffd..1a76da60e1 100644 --- a/client/i18n/allLangs.js +++ b/client/i18n/allLangs.js @@ -3,7 +3,7 @@ */ const availableLangs = { client: ['english', 'espanol', 'chinese'], - curriculum: ['english', 'chinese'] + curriculum: ['english', 'espanol', 'chinese'] }; // Each client language needs an entry in the rest of the variables below diff --git a/utils/is-audited.js b/utils/is-audited.js index 8380e4a4d1..bad7d487d8 100644 --- a/utils/is-audited.js +++ b/utils/is-audited.js @@ -10,8 +10,8 @@ // to the arrays below const auditedCerts = { - espanol: [], - chinese: [] + espanol: ['responsive-web-design'], + chinese: ['responsive-web-design'] }; function isAuditedCert(lang, cert) {