feat: locale specific help posts (#43290)
This commit is contained in:
committed by
GitHub
parent
673b1caa39
commit
b9d08f2fea
@ -18,6 +18,11 @@
|
||||
"nav": {
|
||||
"forum": "https://chinese.freecodecamp.org/forum/",
|
||||
"news": "https://chinese.freecodecamp.org/news/"
|
||||
},
|
||||
"help": {
|
||||
"HTML-CSS": "front-end",
|
||||
"JavaScript": "front-end",
|
||||
"Python": "curriculum",
|
||||
"Relational Databases": "curriculum"
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -18,6 +18,11 @@
|
||||
"nav": {
|
||||
"forum": "https://chinese.freecodecamp.org/forum/",
|
||||
"news": "https://chinese.freecodecamp.org/news/"
|
||||
},
|
||||
"help": {
|
||||
"HTML-CSS": "front-end",
|
||||
"JavaScript": "front-end",
|
||||
"Python": "curriculum",
|
||||
"Relational Databases": "curriculum"
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -18,5 +18,11 @@
|
||||
"nav": {
|
||||
"forum": "https://forum.freecodecamp.org/",
|
||||
"news": "https://freecodecamp.org/news/"
|
||||
},
|
||||
"help": {
|
||||
"HTML-CSS": "HTML-CSS",
|
||||
"JavaScript": "JavaScript",
|
||||
"Python": "Python",
|
||||
"Relational Databases": "Relational Databases"
|
||||
}
|
||||
}
|
||||
|
@ -18,5 +18,11 @@
|
||||
"nav": {
|
||||
"forum": "https://forum.freecodecamp.org/c/espanol/",
|
||||
"news": "https://freecodecamp.org/espanol/news/"
|
||||
},
|
||||
"help": {
|
||||
"HTML-CSS": "Espanol/HTML-CSS",
|
||||
"JavaScript": "Espanol/JavaScript",
|
||||
"Python": "Espanol/Python",
|
||||
"Relational Databases": "Espanol/Relational Databases"
|
||||
}
|
||||
}
|
||||
|
@ -18,5 +18,11 @@
|
||||
"nav": {
|
||||
"forum": "https://forum.freecodecamp.org/c/italiano/",
|
||||
"news": "https://freecodecamp.org/italian/news/"
|
||||
},
|
||||
"help": {
|
||||
"HTML-CSS": "Italiano/HTML-CSS",
|
||||
"JavaScript": "Italiano/JavaScript",
|
||||
"Python": "Italiano/Python",
|
||||
"Relational Databases": "Italiano/Relational Databases"
|
||||
}
|
||||
}
|
||||
|
@ -18,5 +18,11 @@
|
||||
"nav": {
|
||||
"forum": "https://forum.freecodecamp.org/c/portugues/",
|
||||
"news": "https://freecodecamp.org/portuguese/news/"
|
||||
},
|
||||
"help": {
|
||||
"HTML-CSS": "Portugues/HTML-CSS",
|
||||
"JavaScript": "Portugues/JavaScript",
|
||||
"Python": "Portugues/Python",
|
||||
"Relational Databases": "Portugues/Relational Databases"
|
||||
}
|
||||
}
|
||||
|
@ -81,7 +81,9 @@ function createQuestionEpic(action$, state$, { window }) {
|
||||
)}\n${i18next.t('forum-help.add-code-three')}\n\n\`\`\`\n${endingText}`
|
||||
);
|
||||
|
||||
const category = window.encodeURIComponent(helpCategory || 'Help');
|
||||
const category = window.encodeURIComponent(
|
||||
i18next.t('links:help.' + helpCategory || 'Help')
|
||||
);
|
||||
|
||||
const studentCode = window.encodeURIComponent(textMessage);
|
||||
const altStudentCode = window.encodeURIComponent(altTextMessage);
|
||||
|
Reference in New Issue
Block a user