refactor: change project id and copies

This commit is contained in:
MiroslavDionisiev 2024-12-11 11:06:44 +02:00
parent 200c43c930
commit 1a7bc8093d
5 changed files with 20 additions and 8 deletions

View file

@ -26,7 +26,7 @@ const Welcome = props => (
> >
{props.messages['welcome.explore']} {props.messages['welcome.explore']}
<img <img
alt="Starter Projects" alt={props.messages['welcome.exploreAlt']}
src="/images/explore_starter_projects.svg" src="/images/explore_starter_projects.svg"
/> />
</a> </a>
@ -37,7 +37,7 @@ const Welcome = props => (
> >
{props.messages['welcome.community']} {props.messages['welcome.community']}
<img <img
alt="Community Guidelines" alt={props.messages['welcome.communityAlt']}
src="/images/learn_about_the_community.svg" src="/images/learn_about_the_community.svg"
/> />
</a> </a>
@ -52,7 +52,7 @@ const Welcome = props => (
> >
{props.messages['welcome.create']} {props.messages['welcome.create']}
<img <img
alt="Get Started" alt={props.messages['welcome.createAlt']}
src="/images/create_a_project.svg" src="/images/create_a_project.svg"
/> />
</a> </a>
@ -64,8 +64,11 @@ Welcome.propTypes = {
messages: PropTypes.shape({ messages: PropTypes.shape({
'welcome.welcomeToScratch': PropTypes.string, 'welcome.welcomeToScratch': PropTypes.string,
'welcome.explore': PropTypes.string, 'welcome.explore': PropTypes.string,
'welcome.exploreAlt': PropTypes.string,
'welcome.community': PropTypes.string, 'welcome.community': PropTypes.string,
'welcome.create': PropTypes.string 'welcome.communityAlt': PropTypes.string,
'welcome.create': PropTypes.string,
'welcome.createAlt': PropTypes.string
}), }),
onDismiss: PropTypes.func, onDismiss: PropTypes.func,
permissions: PropTypes.object, permissions: PropTypes.object,
@ -76,8 +79,11 @@ Welcome.defaultProps = {
messages: { messages: {
'welcome.welcomeToScratch': 'Welcome to Scratch!', 'welcome.welcomeToScratch': 'Welcome to Scratch!',
'welcome.explore': 'Explore Starter Projects', 'welcome.explore': 'Explore Starter Projects',
'welcome.exploreAlt': 'Starter Projects',
'welcome.community': 'Learn about the community', 'welcome.community': 'Learn about the community',
'welcome.create': 'Create a Project' 'welcome.communityAlt': 'Community Guidelines',
'welcome.create': 'Create a Project',
'welcome.createAlt': 'Get Started'
} }
}; };

View file

@ -1,5 +1,5 @@
{ {
"guidelines.title": "The Purpose of Scratch Community", "guidelines.title": "Scratch Community Guidelines",
"guidelines.header1": "Scratch is a friendly and welcoming community for everyone, where people create, share, and learn together.", "guidelines.header1": "Scratch is a friendly and welcoming community for everyone, where people create, share, and learn together.",
"guidelines.header2": "We welcome people of all ages, races, ethnicities, religions, abilities, sexual orientations, and gender identities.", "guidelines.header2": "We welcome people of all ages, races, ethnicities, religions, abilities, sexual orientations, and gender identities.",
"guidelines.header3": "Help keep Scratch a welcoming, supportive, and creative space for all by following these Community Guidelines:", "guidelines.header3": "Help keep Scratch a welcoming, supportive, and creative space for all by following these Community Guidelines:",

View file

@ -114,7 +114,7 @@ const Ideas = () => {
<div> <div>
<div className="banner-wrapper"> <div className="banner-wrapper">
<iframe <iframe
src="https://scratch.mit.edu/projects/1093752362/embed" src="https://scratch.mit.edu/projects/1108790117/embed"
width="485" width="485"
height="402" height="402"
allowfullscreen allowfullscreen
@ -127,7 +127,7 @@ const Ideas = () => {
<p> <p>
<FormattedMessage <FormattedMessage
id="ideas.headerDescription" id="ideas.headerDescription"
values={{a: chunks => <a href="https://scratch.mit.edu/projects/1093752362/">{chunks}</a>}} values={{a: chunks => <a href="https://scratch.mit.edu/projects/1108790117/">{chunks}</a>}}
/> />
</p> </p>
</div> </div>

View file

@ -53,8 +53,11 @@
"welcome.welcomeToScratch": "Welcome to Scratch!", "welcome.welcomeToScratch": "Welcome to Scratch!",
"welcome.explore": "Explore Starter Projects", "welcome.explore": "Explore Starter Projects",
"welcome.exploreAlt": "Starter Projects",
"welcome.community": "Learn about the community", "welcome.community": "Learn about the community",
"welcome.communityAlt": "Community Guidelines",
"welcome.create": "Create a Project", "welcome.create": "Create a Project",
"welcome.createAlt": "Get Started",
"activity.seeUpdates": "This is where you will see updates from Scratchers you follow", "activity.seeUpdates": "This is where you will see updates from Scratchers you follow",
"activity.checkOutScratchers": "Check out some Scratchers you might like to follow", "activity.checkOutScratchers": "Check out some Scratchers you might like to follow",

View file

@ -336,8 +336,11 @@ class SplashPresentation extends React.Component { // eslint-disable-line react/
'news.scratchNews': formatMessage({id: 'news.scratchNews'}), 'news.scratchNews': formatMessage({id: 'news.scratchNews'}),
'welcome.welcomeToScratch': formatMessage({id: 'welcome.welcomeToScratch'}), 'welcome.welcomeToScratch': formatMessage({id: 'welcome.welcomeToScratch'}),
'welcome.explore': formatMessage({id: 'welcome.explore'}), 'welcome.explore': formatMessage({id: 'welcome.explore'}),
'welcome.exploreAlt': formatMessage({id: 'welcome.exploreAlt'}),
'welcome.community': formatMessage({id: 'welcome.community'}), 'welcome.community': formatMessage({id: 'welcome.community'}),
'welcome.communityAlt': formatMessage({id: 'welcome.communityAlt'}),
'welcome.create': formatMessage({id: 'welcome.create'}), 'welcome.create': formatMessage({id: 'welcome.create'}),
'welcome.createAlt': formatMessage({id: 'welcome.createAlt'}),
'intro.aboutScratch': formatMessage({id: 'intro.aboutScratch'}), 'intro.aboutScratch': formatMessage({id: 'intro.aboutScratch'}),
'intro.forEducators': formatMessage({id: 'intro.forEducators'}), 'intro.forEducators': formatMessage({id: 'intro.forEducators'}),
'intro.forParents': formatMessage({id: 'intro.forParents'}), 'intro.forParents': formatMessage({id: 'intro.forParents'}),