mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-23 19:30:34 -04:00
update static l10n
This commit is contained in:
parent
521a11e8a3
commit
c1e5b05a0f
3 changed files with 29 additions and 23 deletions
src/views/ideas
|
@ -47,13 +47,13 @@ class Ideas extends React.Component {
|
|||
renderTTTTiles () {
|
||||
return Tiles.map((tile, key) => {
|
||||
const translatedTile = {
|
||||
tutorialUrl: `/projects/editor/?tutorial=${tile.tutorialUrl}`,
|
||||
tutorialUrl: `/projects/editor/?tutorial=${tile.tutorialId}`,
|
||||
modalImage: tile.modalImage,
|
||||
description: this.props.intl.formatMessage({id: tile.description}),
|
||||
guideUrl: this.props.intl.formatMessage({id: tile.guideUrl}),
|
||||
thumbImage: tile.thumbImage,
|
||||
title: this.props.intl.formatMessage({id: tile.title}),
|
||||
cardsUrl: tile.cardsUrl
|
||||
cardsUrl: this.props.intl.formatMessage({id: tile.cardsUrl})
|
||||
};
|
||||
return (
|
||||
<TTTTile
|
||||
|
|
|
@ -1,9 +1,15 @@
|
|||
{
|
||||
"cards.ScratchCardsAllLink": "https://resources.scratch.mit.edu/www/cards/en/ScratchCardsAll.pdf",
|
||||
"cards.nameCardsLink": "https://resources.scratch.mit.edu/www/cards/en/nameCards.pdf",
|
||||
"cards.musicCardsLink": "https://resources.scratch.mit.edu/www/cards/en/musicCards.pdf",
|
||||
"cards.storyCardsLink": "https://resources.scratch.mit.edu/www/cards/en/storyCards.pdf",
|
||||
"cards.ScratchCardsAllLink": "https://resources.scratch.mit.edu/www/cards/en/scratch-cards-all.pdf",
|
||||
"cards.nameCardsLink": "https://resources.scratch.mit.edu/www/cards/en/name-cards.pdf",
|
||||
"cards.animateCardsLink": "https://resources.scratch.mit.edu/www/cards/en/animate-cards.pdf",
|
||||
"cards.musicCardsLink": "https://resources.scratch.mit.edu/www/cards/en/music-cards.pdf",
|
||||
"cards.storyCardsLink": "https://resources.scratch.mit.edu/www/cards/en/story-cards.pdf",
|
||||
"cards.chaseCardsLink": "https://resources.scratch.mit.edu/www/cards/en/chase-cards.pdf",
|
||||
"cards.videoCardsLink": "https://resources.scratch.mit.edu/www/cards/en/video-cards.pdf",
|
||||
"guides.nameGuideLink": "https://resources.scratch.mit.edu/www/guides/en/NameGuide.pdf",
|
||||
"guides.animateGuideLink": "https://resources.scratch.mit.edu/www/guides/en/AnimateGuide.pdf",
|
||||
"guides.musicGuideLink": "https://resources.scratch.mit.edu/www/guides/en/MusicGuide.pdf",
|
||||
"guides.storyGuideLink": "https://resources.scratch.mit.edu/www/guides/en/StoryGuide.pdf"
|
||||
"guides.storyGuideLink": "https://resources.scratch.mit.edu/www/guides/en/StoryGuide.pdf",
|
||||
"guides.chaseGuideLink": "https://resources.scratch.mit.edu/www/guides/en/ChaseGuide.pdf",
|
||||
"guides.videoGuideLink": "https://resources.scratch.mit.edu/www/guides/en/VideoGuide.pdf"
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"description": "ideas.animateANameDescription",
|
||||
"thumbImage": "/images/ideas/activities/animate-a-name-thumb.jpg",
|
||||
"modalImage": "/images/ideas/activities/animate-a-name-modal.jpg",
|
||||
"tutorialUrl": "name",
|
||||
"tutorialId": "name",
|
||||
"cardsUrl": "cards.nameCardsLink",
|
||||
"guideUrl": "guides.nameGuideLink"
|
||||
},
|
||||
|
@ -13,44 +13,44 @@
|
|||
"description": "ideas.animateACharacterDescription",
|
||||
"thumbImage": "/images/ideas/activities/animate-a-character-thumb.jpg",
|
||||
"modalImage": "/images/ideas/activities/animate-a-character-modal.jpg",
|
||||
"tutorialUrl": "animate-a-character",
|
||||
"cardsUrl": "cards.animateACharacterCardsLink",
|
||||
"guideUrl": "guides.animateACharacterGuideLink"
|
||||
"tutorialId": "animate-a-character",
|
||||
"cardsUrl": "cards.animateCardsLink",
|
||||
"guideUrl": "guides.animateGuideLink"
|
||||
},
|
||||
{
|
||||
"title": "ideas.makeMusicTitle",
|
||||
"description": "ideas.makeMusicDescription",
|
||||
"thumbImage": "/images/ideas/activities/make-music-thumb.jpg",
|
||||
"modalImage": "/images/ideas/activities/make-music-modal.jpg",
|
||||
"tutorialUrl": "music",
|
||||
"cardsUrl": "cards.makeMusicCardsLink",
|
||||
"guideUrl": "guides.makeMusicGuideLink"
|
||||
"tutorialId": "music",
|
||||
"cardsUrl": "cards.musicCardsLink",
|
||||
"guideUrl": "guides.musicGuideLink"
|
||||
},
|
||||
{
|
||||
"title": "ideas.createAStoryTitle",
|
||||
"description": "ideas.createAStoryDescription",
|
||||
"thumbImage": "/images/ideas/activities/create-a-story-thumb.jpg",
|
||||
"modalImage": "/images/ideas/activities/create-a-story-modal.jpg",
|
||||
"tutorialUrl": "tell-a-story",
|
||||
"cardsUrl": "cards.createAStoryCardsLink",
|
||||
"guideUrl": "guides.createAStoryGuideLink"
|
||||
"tutorialId": "tell-a-story",
|
||||
"cardsUrl": "cards.storyCardsLink",
|
||||
"guideUrl": "guides.storyGuideLink"
|
||||
},
|
||||
{
|
||||
"title": "ideas.chaseGameTitle",
|
||||
"description": "ideas.chaseGameDescription",
|
||||
"thumbImage": "/images/ideas/activities/chase-game-thumb.jpg",
|
||||
"modalImage": "/images/ideas/activities/chase-game-modal.jpg",
|
||||
"tutorialUrl": "chase-game",
|
||||
"cardsUrl": "cards.chaseGameCardsLink",
|
||||
"guideUrl": "guides.chaseGameGuideLink"
|
||||
"tutorialId": "chase-game",
|
||||
"cardsUrl": "cards.chaseCardsLink",
|
||||
"guideUrl": "guides.chaseGuideLink"
|
||||
},
|
||||
{
|
||||
"title": "ideas.videoSensingTitle",
|
||||
"description": "ideas.videoSensingDescription",
|
||||
"thumbImage": "/images/ideas/activities/video-sensing-thumb.jpg",
|
||||
"modalImage": "/images/ideas/activities/video-sensing-modal.jpg",
|
||||
"tutorialUrl": "video-sensing",
|
||||
"cardsUrl": "cards.videoSensingCardsLink",
|
||||
"guideUrl": "guides.videoSensingGuideLink"
|
||||
"tutorialId": "video-sensing",
|
||||
"cardsUrl": "cards.videoCardsLink",
|
||||
"guideUrl": "guides.videoGuideLink"
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Add table
Reference in a new issue