mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix: correct typo in documentation and localization files (#66704)
This commit is contained in:
@@ -535,7 +535,7 @@ async function postExamGeneratedExamHandler(
|
||||
* TODO: Consider validating req.user.id == lastAttempt.user_id?
|
||||
*
|
||||
* NOTE: Currently, questions can be _unanswered_ - taken away from a previous attempt submission.
|
||||
* Theorectically, this is fine. Practically, it is unclear when that would be useful.
|
||||
* Theoretically, this is fine. Practically, it is unclear when that would be useful.
|
||||
*/
|
||||
async function postExamAttemptHandler(
|
||||
this: FastifyInstance,
|
||||
|
||||
@@ -863,11 +863,11 @@
|
||||
"current-initiatives-2": "Creating English and math curricula",
|
||||
"current-initiatives-3": "Translating our curriculum and tutorials into 32 languages",
|
||||
"current-initiatives-4": "Creating a free accredited computer science bachelor's degree",
|
||||
"community-achivements-title": "Our Community Achievements This Year:",
|
||||
"community-achivements-1": "Published <0>193</0> full-length courses on YouTube.",
|
||||
"community-achivements-2": "Published <0>850</0> text-based coding tutorials and <0>5</0> free books through freeCodeCamp Press.",
|
||||
"community-achivements-3": "Merged <0>2,455</0> code contributions into our open source repositories on GitHub",
|
||||
"community-achivements-4": "Translated <0>1.5</0> million words to make our curriculum and tutorials more accessible to speakers of many world languages",
|
||||
"community-achievements-title": "Our Community Achievements This Year:",
|
||||
"community-achievements-1": "Published <0>193</0> full-length courses on YouTube.",
|
||||
"community-achievements-2": "Published <0>850</0> text-based coding tutorials and <0>5</0> free books through freeCodeCamp Press.",
|
||||
"community-achievements-3": "Merged <0>2,455</0> code contributions into our open source repositories on GitHub",
|
||||
"community-achievements-4": "Translated <0>1.5</0> million words to make our curriculum and tutorials more accessible to speakers of many world languages",
|
||||
"as-you-see": "As you can see, we're getting things done. So you can rest assured that we'll put your donations to good use.",
|
||||
"get-benefits": "Get the benefits and the knowledge that you’re helping our charity change education for the better. Become a supporter today.",
|
||||
"modal-benefits-title": "Support us",
|
||||
|
||||
@@ -39,10 +39,10 @@ export const CtaText = (): JSX.Element => {
|
||||
|
||||
export const ThankYouMessage = ({
|
||||
askForDonation,
|
||||
thankContributon
|
||||
thankContribution
|
||||
}: {
|
||||
askForDonation: boolean;
|
||||
thankContributon?: boolean;
|
||||
thankContribution?: boolean;
|
||||
}): JSX.Element => {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
@@ -50,7 +50,7 @@ export const ThankYouMessage = ({
|
||||
<h1 data-playwright-test-label='main-head'>
|
||||
{t('donate.thank-you-continued')}
|
||||
</h1>
|
||||
{(askForDonation || thankContributon) && (
|
||||
{(askForDonation || thankContribution) && (
|
||||
<>
|
||||
<Spacer size='m' />
|
||||
<p>{t('donate.crucial-contribution')}</p>
|
||||
@@ -268,25 +268,25 @@ export const CommunityAchievementsText = (): JSX.Element => {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<>
|
||||
<h2>{t('donate.community-achivements-title')}</h2>
|
||||
<h2>{t('donate.community-achievements-title')}</h2>
|
||||
<ul>
|
||||
<li>
|
||||
<Trans i18nKey='donate.community-achivements-1'>
|
||||
<Trans i18nKey='donate.community-achievements-1'>
|
||||
<b>placeholder</b>
|
||||
</Trans>
|
||||
</li>
|
||||
<li>
|
||||
<Trans i18nKey='donate.community-achivements-2'>
|
||||
<Trans i18nKey='donate.community-achievements-2'>
|
||||
<b>placeholder</b>
|
||||
</Trans>
|
||||
</li>
|
||||
<li>
|
||||
<Trans i18nKey='donate.community-achivements-3'>
|
||||
<Trans i18nKey='donate.community-achievements-3'>
|
||||
<b>placeholder</b>
|
||||
</Trans>
|
||||
</li>
|
||||
<li>
|
||||
<Trans i18nKey='donate.community-achivements-4'>
|
||||
<Trans i18nKey='donate.community-achievements-4'>
|
||||
<b>placeholder</b>
|
||||
</Trans>
|
||||
</li>
|
||||
|
||||
@@ -123,7 +123,7 @@ const InternetSettings = ({
|
||||
const handleSubmit = (e: React.FormEvent) => {
|
||||
e.preventDefault();
|
||||
if (!isFormPristine() && isFormValid()) {
|
||||
// Only submit the form if is has changed, and if it is valid
|
||||
// Only submit the form if it has changed, and if it is valid
|
||||
updateMySocials({ ...formValues });
|
||||
}
|
||||
setIsEditing(false);
|
||||
|
||||
@@ -77,7 +77,7 @@ function ConditionalContent({
|
||||
<div className='supporter-badge-container'>
|
||||
<SupporterBadge />
|
||||
</div>
|
||||
<ThankYouMessage askForDonation={false} thankContributon={true} />
|
||||
<ThankYouMessage askForDonation={false} thankContribution={true} />
|
||||
</Col>
|
||||
<Col lg={6} lgOffset={0} md={8} mdOffset={1} sm={12}>
|
||||
<CurrentInitiativesText isSupportersPage={true} />
|
||||
|
||||
+1
-1
@@ -66,7 +66,7 @@ Other examples:
|
||||
|
||||
- `This bedroom is smaller than ours at home.` – `Small` is a 1-syllable adjective, so the `-er` form, `smaller`, is used.
|
||||
|
||||
- `I think cell phones are more useful than tablets.` – `Useful` is a 2-syllable adjective, so you don't add `-er` in the end, but preceed it with `more` instead (`more prominent`).
|
||||
- `I think cell phones are more useful than tablets.` – `Useful` is a 2-syllable adjective, so you don't add `-er` in the end, but precede it with `more` instead (`more prominent`).
|
||||
|
||||
# --scene--
|
||||
|
||||
|
||||
Reference in New Issue
Block a user