Merge pull request #9032 from MiroslavDionisiev/change-project-link

refactor: change project id and copies
This commit is contained in:
Miroslav Dionisiev 2024-12-11 11:13:30 +02:00 committed by GitHub
commit 927ccc71c1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 20 additions and 8 deletions

View file

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

View file

@ -114,7 +114,7 @@ const Ideas = () => {
<div>
<div className="banner-wrapper">
<iframe
src="https://scratch.mit.edu/projects/1093752362/embed"
src="https://scratch.mit.edu/projects/1108790117/embed"
width="485"
height="402"
allowfullscreen
@ -127,7 +127,7 @@ const Ideas = () => {
<p>
<FormattedMessage
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>
</div>

View file

@ -53,8 +53,11 @@
"welcome.welcomeToScratch": "Welcome to Scratch!",
"welcome.explore": "Explore Starter Projects",
"welcome.exploreAlt": "Starter Projects",
"welcome.community": "Learn about the community",
"welcome.communityAlt": "Community Guidelines",
"welcome.create": "Create a Project",
"welcome.createAlt": "Get Started",
"activity.seeUpdates": "This is where you will see updates from Scratchers you 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'}),
'welcome.welcomeToScratch': formatMessage({id: 'welcome.welcomeToScratch'}),
'welcome.explore': formatMessage({id: 'welcome.explore'}),
'welcome.exploreAlt': formatMessage({id: 'welcome.exploreAlt'}),
'welcome.community': formatMessage({id: 'welcome.community'}),
'welcome.communityAlt': formatMessage({id: 'welcome.communityAlt'}),
'welcome.create': formatMessage({id: 'welcome.create'}),
'welcome.createAlt': formatMessage({id: 'welcome.createAlt'}),
'intro.aboutScratch': formatMessage({id: 'intro.aboutScratch'}),
'intro.forEducators': formatMessage({id: 'intro.forEducators'}),
'intro.forParents': formatMessage({id: 'intro.forParents'}),