mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
feat(tools, client): add speaking tasks logic (#61906)
Co-authored-by: Huyen Nguyen <25715018+huyenltnguyen@users.noreply.github.com> Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
This commit is contained in:
@@ -53,6 +53,12 @@ export const languageSuperBlocks = [
|
||||
SuperBlocks.A2Chinese
|
||||
];
|
||||
|
||||
// Mapping from superblock to a speech recognition language (BCP-47)
|
||||
export const superBlockToSpeechLang: Partial<Record<SuperBlocks, string>> = {
|
||||
[SuperBlocks.A2English]: 'en-US',
|
||||
[SuperBlocks.B1English]: 'en-US'
|
||||
};
|
||||
|
||||
/*
|
||||
* SuperBlockStages.Upcoming = SHOW_UPCOMING_CHANGES === 'true'
|
||||
* 'Upcoming' is for development -> not shown on stag or prod anywhere
|
||||
|
||||
Reference in New Issue
Block a user