File tree 5 files changed +41
-7
lines changed
5 files changed +41
-7
lines changed Original file line number Diff line number Diff line change 468
468
"invalid-protocol" : " URL 必须以 http 或 https 开头" ,
469
469
"url-not-image" : " URL 必须直接链接到图片文件" ,
470
470
"use-valid-url" : " 请使用有效的 URL"
471
+ },
472
+ "certification" : {
473
+ "certifies" : " Chinese: This certifies that" ,
474
+ "completed" : " Chinese: has successfully completed the freeCodeCamp.org" ,
475
+ "developer" : " Chinese: Developer Certification, representing approximately" ,
476
+ "executive" : " Chinese: Executive Director, freeCodeCamp.org" ,
477
+ "verify" : " Chinese: Verify this certification at {{certURL}}" ,
478
+ "issued" : " Chinese: Issued"
471
479
}
472
480
}
Original file line number Diff line number Diff line change 468
468
"invalid-protocol" : " URL must start with http or https" ,
469
469
"url-not-image" : " URL must link directly to an image file" ,
470
470
"use-valid-url" : " Please use a valid URL"
471
+ },
472
+ "certification" : {
473
+ "certifies" : " This certifies that" ,
474
+ "completed" : " has successfully completed the freeCodeCamp.org" ,
475
+ "developer" : " Developer Certification, representing approximately" ,
476
+ "executive" : " Executive Director, freeCodeCamp.org" ,
477
+ "verify" : " Verify this certification at {{certURL}}" ,
478
+ "issued" : " Issued"
471
479
}
472
480
}
Original file line number Diff line number Diff line change 468
468
"invalid-protocol" : " La URL debe comenzar con http o https" ,
469
469
"url-not-image" : " URL debes enlazar directamente a un archivo de imagen" ,
470
470
"use-valid-url" : " Utiliza un URL válido"
471
+ },
472
+ "certification" : {
473
+ "certifies" : " Spanish: This certifies that" ,
474
+ "completed" : " Spanish: has successfully completed the freeCodeCamp.org" ,
475
+ "developer" : " Spanish: Developer Certification, representing approximately" ,
476
+ "executive" : " Spanish: Executive Director, freeCodeCamp.org" ,
477
+ "verify" : " Spanish: Verify this certification at {{certURL}}" ,
478
+ "issued" : " Spanish: Issued"
471
479
}
472
480
}
Original file line number Diff line number Diff line change @@ -568,6 +568,14 @@ const translationsSchema = {
568
568
'invalid-protocol' : 'URL must start with http or https' ,
569
569
'url-not-image' : 'URL must link directly to an image file' ,
570
570
'use-valid-url' : 'Please use a valid URL'
571
+ } ,
572
+ certification : {
573
+ certifies : 'This certifies that' ,
574
+ completed : 'has successfully completed the freeCodeCamp.org' ,
575
+ developer : 'Developer Certification, representing approximately' ,
576
+ executive : 'Executive Director, freeCodeCamp.org' ,
577
+ verify : 'Verify this certification at {{certURL}}' ,
578
+ issued : 'Issued'
571
579
}
572
580
} ;
573
581
Original file line number Diff line number Diff line change @@ -324,25 +324,25 @@ const ShowCertification = props => {
324
324
</ Col >
325
325
< Col md = { 7 } sm = { 12 } >
326
326
< div data-cy = 'issue-date' className = 'issue-date' >
327
- Issued
327
+ { t ( 'certification.issued' ) }
328
328
< strong > { format ( certDate , 'MMMM d, y' ) } </ strong >
329
329
</ div >
330
330
</ Col >
331
331
</ header >
332
332
333
333
< main className = 'information' >
334
334
< div className = 'information-container' >
335
- < h3 > This certifies that </ h3 >
335
+ < h3 > { t ( 'certification. certifies' ) } </ h3 >
336
336
< h1 >
337
337
< strong > { displayName } </ strong >
338
338
</ h1 >
339
- < h3 > has successfully completed the freeCodeCamp.org </ h3 >
339
+ < h3 > { t ( 'certification.completed' ) } </ h3 >
340
340
< h1 >
341
341
< strong > { certTitle } </ strong >
342
342
</ h1 >
343
343
< h4 >
344
- Developer Certification, representing approximately { ' ' }
345
- { completionTime } hours of coursework
344
+ { t ( 'certification.developer' ) } { completionTime } hours of
345
+ coursework
346
346
</ h4 >
347
347
</ div >
348
348
</ main >
@@ -358,10 +358,12 @@ const ShowCertification = props => {
358
358
< p >
359
359
< strong > Quincy Larson</ strong >
360
360
</ p >
361
- < p > Executive Director, freeCodeCamp.org </ p >
361
+ < p > { t ( 'certification.executive' ) } </ p >
362
362
</ div >
363
363
< Row >
364
- < p className = 'verify' > Verify this certification at { certURL } </ p >
364
+ < p className = 'verify' >
365
+ { t ( 'certification.verify' , { certURL : certURL } ) }
366
+ </ p >
365
367
</ Row >
366
368
</ footer >
367
369
</ Row >
You can’t perform that action at this time.
0 commit comments