feat(i18n, client): convert cert to big string (#40934)
This commit is contained in:
committed by
GitHub
parent
bc7bb9adb8
commit
e36a8e5cb6
@ -470,11 +470,9 @@
|
|||||||
"use-valid-url": "请使用有效的 URL"
|
"use-valid-url": "请使用有效的 URL"
|
||||||
},
|
},
|
||||||
"certification": {
|
"certification": {
|
||||||
"certifies": "This certifies that",
|
|
||||||
"completed": "has successfully completed the freeCodeCamp.org",
|
|
||||||
"developer": "Developer Certification, representing approximately",
|
|
||||||
"executive": "Executive Director, freeCodeCamp.org",
|
"executive": "Executive Director, freeCodeCamp.org",
|
||||||
"verify": "Verify this certification at {{certURL}}",
|
"verify": "Verify this certification at {{certURL}}",
|
||||||
"issued": "Issued"
|
"issued": "Issued",
|
||||||
|
"fulltext": "<0>This certifies that</0> <1>{{user}}</1> <2>has successfully completed the freeCodeCamp.org</2> <3>{{title}}</3> <4>Developer Certification, representing approximately {{time}} hours of coursework.</4>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -470,11 +470,9 @@
|
|||||||
"use-valid-url": "Please use a valid URL"
|
"use-valid-url": "Please use a valid URL"
|
||||||
},
|
},
|
||||||
"certification": {
|
"certification": {
|
||||||
"certifies": "This certifies that",
|
|
||||||
"completed": "has successfully completed the freeCodeCamp.org",
|
|
||||||
"developer": "Developer Certification, representing approximately",
|
|
||||||
"executive": "Executive Director, freeCodeCamp.org",
|
"executive": "Executive Director, freeCodeCamp.org",
|
||||||
"verify": "Verify this certification at {{certURL}}",
|
"verify": "Verify this certification at {{certURL}}",
|
||||||
"issued": "Issued"
|
"issued": "Issued",
|
||||||
|
"fulltext": "<0>This certifies that</0> <1>{{user}}</1> <2>has successfully completed the freeCodeCamp.org</2> <3>{{title}}</3> <4>Developer Certification, representing approximately {{time}} hours of coursework.</4>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -470,11 +470,9 @@
|
|||||||
"use-valid-url": "Utiliza un URL válido"
|
"use-valid-url": "Utiliza un URL válido"
|
||||||
},
|
},
|
||||||
"certification": {
|
"certification": {
|
||||||
"certifies": "This certifies that",
|
|
||||||
"completed": "has successfully completed the freeCodeCamp.org",
|
|
||||||
"developer": "Developer Certification, representing approximately",
|
|
||||||
"executive": "Executive Director, freeCodeCamp.org",
|
"executive": "Executive Director, freeCodeCamp.org",
|
||||||
"verify": "Verify this certification at {{certURL}}",
|
"verify": "Verify this certification at {{certURL}}",
|
||||||
"issued": "Issued"
|
"issued": "Issued",
|
||||||
|
"fulltext": "<0>This certifies that</0> <1>{{user}}</1> <2>has successfully completed the freeCodeCamp.org</2> <3>{{title}}</3> <4>Developer Certification, representing approximately {{time}} hours of coursework.</4>"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -570,12 +570,11 @@ const translationsSchema = {
|
|||||||
'use-valid-url': 'Please use a valid URL'
|
'use-valid-url': 'Please use a valid URL'
|
||||||
},
|
},
|
||||||
certification: {
|
certification: {
|
||||||
certifies: 'This certifies that',
|
|
||||||
completed: 'has successfully completed the freeCodeCamp.org',
|
|
||||||
developer: 'Developer Certification, representing approximately',
|
|
||||||
executive: 'Executive Director, freeCodeCamp.org',
|
executive: 'Executive Director, freeCodeCamp.org',
|
||||||
verify: 'Verify this certification at {{certURL}}',
|
verify: 'Verify this certification at {{certURL}}',
|
||||||
issued: 'Issued'
|
issued: 'Issued',
|
||||||
|
fulltext:
|
||||||
|
'<0>This certifies that</0> <1>{{user}}</1> <2>has successfully completed the freeCodeCamp.org</2> <3>{{title}}</3> <4>Developer Certification, representing approximately {{time}} hours of coursework.</4>'
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ import ShowProjectLinks from './ShowProjectLinks';
|
|||||||
import FreeCodeCampLogo from '../assets/icons/FreeCodeCampLogo';
|
import FreeCodeCampLogo from '../assets/icons/FreeCodeCampLogo';
|
||||||
// eslint-disable-next-line max-len
|
// eslint-disable-next-line max-len
|
||||||
import DonateForm from '../components/Donation/DonateForm';
|
import DonateForm from '../components/Donation/DonateForm';
|
||||||
import { useTranslation } from 'react-i18next';
|
import { Trans, useTranslation } from 'react-i18next';
|
||||||
|
|
||||||
import {
|
import {
|
||||||
showCertSelector,
|
showCertSelector,
|
||||||
@ -332,18 +332,22 @@ const ShowCertification = props => {
|
|||||||
|
|
||||||
<main className='information'>
|
<main className='information'>
|
||||||
<div className='information-container'>
|
<div className='information-container'>
|
||||||
<h3>{t('certification.certifies')}</h3>
|
<Trans
|
||||||
<h1>
|
user={displayName}
|
||||||
<strong>{displayName}</strong>
|
title={certTitle}
|
||||||
</h1>
|
time={completionTime}
|
||||||
<h3>{t('certification.completed')}</h3>
|
i18nKey='certification.fulltext'
|
||||||
<h1>
|
>
|
||||||
<strong>{certTitle}</strong>
|
<h3>placeholder</h3>
|
||||||
</h1>
|
<h1>
|
||||||
<h4>
|
<strong>{{ user: displayName }}</strong>
|
||||||
{t('certification.developer')} {completionTime} hours of
|
</h1>
|
||||||
coursework
|
<h3>placeholder</h3>
|
||||||
</h4>
|
<h1>
|
||||||
|
<strong>{{ title: certTitle }}</strong>
|
||||||
|
</h1>
|
||||||
|
<h4>{{ time: completionTime }}</h4>
|
||||||
|
</Trans>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
<footer>
|
<footer>
|
||||||
|
Reference in New Issue
Block a user