Commit a7532c49 authored by chrisgarrity's avatar chrisgarrity

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.
parent 57cc6f87
...@@ -133,3 +133,9 @@ file_filter = localizations/conference-index/<lang>.json ...@@ -133,3 +133,9 @@ file_filter = localizations/conference-index/<lang>.json
source_file = src/views/conference/2018/index/l10n.json source_file = src/views/conference/2018/index/l10n.json
source_lang = en source_lang = en
type = KEYVALUEJSON 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
\ No newline at end of file
{ {
"splash.featuredProjects": "Featured Projects", "splash.featuredProjects": "Featured Projects",
"splash.featuredStudios": "Featured Studios", "splash.featuredStudios": "Featured Studios",
"splash.projectsCuratedBy": "Projects Curated by", "splash.projectsCuratedBy": "Projects Curated by {curatorId}",
"splash.scratchDesignStudioTitle": "Scratch Design Studio", "splash.scratchDesignStudioTitle": "Scratch Design Studio",
"splash.visitTheStudio": "Visit the studio", "splash.visitTheStudio": "Visit the studio",
"splash.recentlySharedProjects": "Recently Shared Projects", "splash.recentlySharedProjects": "Recently Shared Projects",
......
...@@ -261,9 +261,10 @@ class SplashPresentation extends React.Component { // eslint-disable-line react/ ...@@ -261,9 +261,10 @@ class SplashPresentation extends React.Component { // eslint-disable-line react/
moreTitle={this.props.intl.formatMessage({ moreTitle={this.props.intl.formatMessage({
id: 'general.learnMore' id: 'general.learnMore'
})} })}
title={ title={this.props.intl.formatMessage(
`${this.props.intl.formatMessage({id: 'splash.projectsCuratedBy'})}' '${curatorName}` {id: 'splash.projectsCuratedBy'},
} {curatorId: curatorName}
)}
> >
<LegacyCarousel items={this.props.featuredGlobal.curator_top_projects} /> <LegacyCarousel items={this.props.featuredGlobal.curator_top_projects} />
</Box> </Box>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment