feat(learn): enable ukrainian certifications (#44454)
* feat(learn): enable ukrainian certifications * fix: add algolia config * chore: apply suggestions from code review Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
This commit is contained in:
committed by
GitHub
parent
6fe6bab4a5
commit
a2f799866f
@ -29,6 +29,10 @@ const algoliaIndices = {
|
|||||||
portuguese: {
|
portuguese: {
|
||||||
name: 'news',
|
name: 'news',
|
||||||
searchPage: 'https://www.freecodecamp.org/news/search/'
|
searchPage: 'https://www.freecodecamp.org/news/search/'
|
||||||
|
},
|
||||||
|
ukrainian: {
|
||||||
|
name: 'news',
|
||||||
|
searchPage: 'https://www.freecodecamp.org/news/search/'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -15,7 +15,8 @@ export const availableLangs = {
|
|||||||
'chinese',
|
'chinese',
|
||||||
'chinese-traditional',
|
'chinese-traditional',
|
||||||
'italian',
|
'italian',
|
||||||
'portuguese'
|
'portuguese',
|
||||||
|
'ukrainian'
|
||||||
],
|
],
|
||||||
curriculum: [
|
curriculum: [
|
||||||
'english',
|
'english',
|
||||||
@ -23,7 +24,8 @@ export const availableLangs = {
|
|||||||
'chinese',
|
'chinese',
|
||||||
'chinese-traditional',
|
'chinese-traditional',
|
||||||
'italian',
|
'italian',
|
||||||
'portuguese'
|
'portuguese',
|
||||||
|
'ukrainian'
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -92,6 +94,20 @@ export const auditedCerts = {
|
|||||||
SuperBlocks.MachineLearningPy,
|
SuperBlocks.MachineLearningPy,
|
||||||
SuperBlocks.CodingInterviewPrep,
|
SuperBlocks.CodingInterviewPrep,
|
||||||
SuperBlocks.RelationalDb
|
SuperBlocks.RelationalDb
|
||||||
|
],
|
||||||
|
ukrainian: [
|
||||||
|
SuperBlocks.RespWebDesign,
|
||||||
|
SuperBlocks.JsAlgoDataStruct,
|
||||||
|
SuperBlocks.FrontEndDevLibs,
|
||||||
|
SuperBlocks.DataVis,
|
||||||
|
SuperBlocks.BackEndDevApis,
|
||||||
|
SuperBlocks.QualityAssurance,
|
||||||
|
SuperBlocks.SciCompPy,
|
||||||
|
SuperBlocks.DataAnalysisPy,
|
||||||
|
SuperBlocks.InfoSec,
|
||||||
|
SuperBlocks.MachineLearningPy,
|
||||||
|
SuperBlocks.CodingInterviewPrep,
|
||||||
|
SuperBlocks.RelationalDb
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -109,7 +125,8 @@ export const i18nextCodes = {
|
|||||||
chinese: 'zh',
|
chinese: 'zh',
|
||||||
'chinese-traditional': 'zh-Hant',
|
'chinese-traditional': 'zh-Hant',
|
||||||
italian: 'it',
|
italian: 'it',
|
||||||
portuguese: 'pt-BR'
|
portuguese: 'pt-BR',
|
||||||
|
ukrainian: 'uk'
|
||||||
};
|
};
|
||||||
|
|
||||||
// These are for the language selector dropdown menu in the footer
|
// These are for the language selector dropdown menu in the footer
|
||||||
@ -119,7 +136,8 @@ export const langDisplayNames = {
|
|||||||
chinese: '中文(简体字)',
|
chinese: '中文(简体字)',
|
||||||
'chinese-traditional': '中文(繁體字)',
|
'chinese-traditional': '中文(繁體字)',
|
||||||
italian: 'Italiano',
|
italian: 'Italiano',
|
||||||
portuguese: 'Português'
|
portuguese: 'Português',
|
||||||
|
ukrainian: 'Українська'
|
||||||
};
|
};
|
||||||
|
|
||||||
/* These are for formatting dates and numbers. Used with JS .toLocaleString().
|
/* These are for formatting dates and numbers. Used with JS .toLocaleString().
|
||||||
@ -132,5 +150,6 @@ export const langCodes = {
|
|||||||
chinese: 'zh',
|
chinese: 'zh',
|
||||||
'chinese-traditional': 'zh-Hant',
|
'chinese-traditional': 'zh-Hant',
|
||||||
italian: 'it',
|
italian: 'it',
|
||||||
portuguese: 'pt-BR'
|
portuguese: 'pt-BR',
|
||||||
|
ukrainian: 'uk'
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user