mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Fix projects curated row
Changed the localization string to use a placeholder to allow translators to re-order if needed. Also added preview-faq to the transifex config.
This commit is contained in:
parent
57cc6f8770
commit
a7532c49db
3 changed files with 11 additions and 4 deletions
|
@ -133,3 +133,9 @@ file_filter = localizations/conference-index/<lang>.json
|
|||
source_file = src/views/conference/2018/index/l10n.json
|
||||
source_lang = en
|
||||
type = KEYVALUEJSON
|
||||
|
||||
[scratch-website.preview-faq-l10njson]
|
||||
file_filter = localizations/preview-faq/<lang>.json
|
||||
source_file = src/views/preview-faq/l10n.json
|
||||
source_lang = en
|
||||
type = KEYVALUEJSON
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"splash.featuredProjects": "Featured Projects",
|
||||
"splash.featuredStudios": "Featured Studios",
|
||||
"splash.projectsCuratedBy": "Projects Curated by",
|
||||
"splash.projectsCuratedBy": "Projects Curated by {curatorId}",
|
||||
"splash.scratchDesignStudioTitle": "Scratch Design Studio",
|
||||
"splash.visitTheStudio": "Visit the studio",
|
||||
"splash.recentlySharedProjects": "Recently Shared Projects",
|
||||
|
|
|
@ -261,9 +261,10 @@ class SplashPresentation extends React.Component { // eslint-disable-line react/
|
|||
moreTitle={this.props.intl.formatMessage({
|
||||
id: 'general.learnMore'
|
||||
})}
|
||||
title={
|
||||
`${this.props.intl.formatMessage({id: 'splash.projectsCuratedBy'})}' '${curatorName}`
|
||||
}
|
||||
title={this.props.intl.formatMessage(
|
||||
{id: 'splash.projectsCuratedBy'},
|
||||
{curatorId: curatorName}
|
||||
)}
|
||||
>
|
||||
<LegacyCarousel items={this.props.featuredGlobal.curator_top_projects} />
|
||||
</Box>
|
||||
|
|
Loading…
Reference in a new issue