Skip to content

Commit 2561128

Browse files
authored
Merge pull request scratchfoundation#5103 from zoebentley/imagine-if-video
Added the Imagine If video to Imagine If tutorial, and changed last step
2 parents ebc91ad + 4a19260 commit 2561128

File tree

3 files changed

+146
-142
lines changed

3 files changed

+146
-142
lines changed

src/lib/libraries/decks/index.jsx

Lines changed: 143 additions & 142 deletions
Original file line numberDiff line numberDiff line change
@@ -184,148 +184,149 @@ export default {
184184
),
185185
tags: ['imagine-if'],
186186
img: libraryImagineIf,
187-
steps: [
188-
{
189-
title: (
190-
<FormattedMessage
191-
defaultMessage="Type What You Want to Say"
192-
description="Step name for 'Type What You Want to Say' step"
193-
id="gui.howtos.imagine-if.step_imagineTypeWhatYouWant"
194-
/>
195-
),
196-
image: 'imagineTypeWhatYouWant'
197-
}, {
198-
title: (
199-
<FormattedMessage
200-
defaultMessage="Click the Green Flag to Start"
201-
description="Step name for 'Click the Green Flag to Start' step"
202-
id="gui.howtos.imagine-if.step_imagineClickGreenFlag"
203-
/>
204-
),
205-
image: 'imagineClickGreenFlag'
206-
}, {
207-
title: (
208-
<FormattedMessage
209-
defaultMessage="Choose Any Backdrop"
210-
description="Step name for 'Choose Any Backdrop' step"
211-
id="gui.howtos.imagine-if.step_imagineChooseBackdrop"
212-
/>
213-
),
214-
image: 'imagineChooseBackdrop'
215-
}, {
216-
title: (
217-
<FormattedMessage
218-
defaultMessage="Choose Any Sprite"
219-
description="Step name for 'Choose Any Sprite' step"
220-
id="gui.howtos.imagine-if.step_imagineChooseSprite"
221-
/>
222-
),
223-
image: 'imagineChooseSprite'
224-
}, {
225-
title: (
226-
<FormattedMessage
227-
defaultMessage="Press the Space Key to Glide"
228-
description="Step name for 'Press the Space Key to Glide' step"
229-
id="gui.howtos.imagine-if.step_imagineFlyAround"
230-
/>
231-
),
232-
image: 'imagineFlyAround'
233-
}, {
234-
title: (
235-
<FormattedMessage
236-
defaultMessage="Choose Another Sprite"
237-
description="Step name for 'Choose Another Sprite' step"
238-
id="gui.howtos.imagine-if.step_imagineChooseAnotherSprite"
239-
/>
240-
),
241-
image: 'imagineChooseAnotherSprite'
242-
}, {
243-
title: (
244-
<FormattedMessage
245-
defaultMessage="Move Left-Right"
246-
description="Step name for 'Move Left-Right' step"
247-
id="gui.howtos.imagine-if.step_imagineLeftRight"
248-
/>
249-
),
250-
image: 'imagineLeftRight'
251-
}, {
252-
title: (
253-
<FormattedMessage
254-
defaultMessage="Move Up-Down"
255-
description="Step name for 'Move Up-Down' step"
256-
id="gui.howtos.imagine-if.step_imagineUpDown"
257-
/>
258-
),
259-
image: 'imagineUpDown'
260-
}, {
261-
title: (
262-
<FormattedMessage
263-
defaultMessage="Change Costumes"
264-
description="Step name for 'Change Costumes' step"
265-
id="gui.howtos.imagine-if.step_imagineChangeCostumes"
266-
/>
267-
),
268-
image: 'imagineChangeCostumes'
269-
}, {
270-
title: (
271-
<FormattedMessage
272-
defaultMessage="Glide to a Point"
273-
description="Step name for 'Glide to a Point' step"
274-
id="gui.howtos.imagine-if.step_imagineGlideToPoint"
275-
/>
276-
),
277-
image: 'imagineGlideToPoint'
278-
}, {
279-
title: (
280-
<FormattedMessage
281-
defaultMessage="Grow and Shrink"
282-
description="Step name for 'Grow and Shrink' step"
283-
id="gui.howtos.imagine-if.step_imagineGrowShrink"
284-
/>
285-
),
286-
image: 'imagineGrowShrink'
287-
}, {
288-
title: (
289-
<FormattedMessage
290-
defaultMessage="Choose Another Backdrop"
291-
description="Step name for 'Choose Another Backdrop' step"
292-
id="gui.howtos.imagine-if.step_imagineChooseAnotherBackdrop"
293-
/>
294-
),
295-
image: 'imagineChooseAnotherBackdrop'
296-
}, {
297-
title: (
298-
<FormattedMessage
299-
defaultMessage="Switch Backdrops"
300-
description="Step name for 'Switch Backdrops' step"
301-
id="gui.howtos.imagine-if.step_imagineSwitchBackdrops"
302-
/>
303-
),
304-
image: 'imagineSwitchBackdrops'
305-
}, {
306-
title: (
307-
<FormattedMessage
308-
defaultMessage="Add a Sound"
309-
description="Step name for 'Add a Sound' step"
310-
id="gui.howtos.imagine-if.step_imagineRecordASound"
311-
/>
312-
),
313-
image: 'imagineRecordASound'
314-
}, {
315-
title: (
316-
<FormattedMessage
317-
defaultMessage="Choose Your Sound"
318-
description="Step name for 'Choose Your Sound' step"
319-
id="gui.howtos.imagine-if.step_imagineChooseSound"
320-
/>
321-
),
322-
image: 'imagineChooseSound'
323-
}, {
324-
deckIds: [
325-
'hide-and-show',
326-
'Chase-Game'
327-
]
328-
}
187+
steps: [{
188+
video: 'imagine-if'
189+
}, {
190+
title: (
191+
<FormattedMessage
192+
defaultMessage="Type What You Want to Say"
193+
description="Step name for 'Type What You Want to Say' step"
194+
id="gui.howtos.imagine-if.step_imagineTypeWhatYouWant"
195+
/>
196+
),
197+
image: 'imagineTypeWhatYouWant'
198+
}, {
199+
title: (
200+
<FormattedMessage
201+
defaultMessage="Click the Green Flag to Start"
202+
description="Step name for 'Click the Green Flag to Start' step"
203+
id="gui.howtos.imagine-if.step_imagineClickGreenFlag"
204+
/>
205+
),
206+
image: 'imagineClickGreenFlag'
207+
}, {
208+
title: (
209+
<FormattedMessage
210+
defaultMessage="Choose Any Backdrop"
211+
description="Step name for 'Choose Any Backdrop' step"
212+
id="gui.howtos.imagine-if.step_imagineChooseBackdrop"
213+
/>
214+
),
215+
image: 'imagineChooseBackdrop'
216+
}, {
217+
title: (
218+
<FormattedMessage
219+
defaultMessage="Choose Any Sprite"
220+
description="Step name for 'Choose Any Sprite' step"
221+
id="gui.howtos.imagine-if.step_imagineChooseSprite"
222+
/>
223+
),
224+
image: 'imagineChooseSprite'
225+
}, {
226+
title: (
227+
<FormattedMessage
228+
defaultMessage="Press the Space Key to Glide"
229+
description="Step name for 'Press the Space Key to Glide' step"
230+
id="gui.howtos.imagine-if.step_imagineFlyAround"
231+
/>
232+
),
233+
image: 'imagineFlyAround'
234+
}, {
235+
title: (
236+
<FormattedMessage
237+
defaultMessage="Choose Another Sprite"
238+
description="Step name for 'Choose Another Sprite' step"
239+
id="gui.howtos.imagine-if.step_imagineChooseAnotherSprite"
240+
/>
241+
),
242+
image: 'imagineChooseAnotherSprite'
243+
}, {
244+
title: (
245+
<FormattedMessage
246+
defaultMessage="Move Left-Right"
247+
description="Step name for 'Move Left-Right' step"
248+
id="gui.howtos.imagine-if.step_imagineLeftRight"
249+
/>
250+
),
251+
image: 'imagineLeftRight'
252+
}, {
253+
title: (
254+
<FormattedMessage
255+
defaultMessage="Move Up-Down"
256+
description="Step name for 'Move Up-Down' step"
257+
id="gui.howtos.imagine-if.step_imagineUpDown"
258+
/>
259+
),
260+
image: 'imagineUpDown'
261+
}, {
262+
title: (
263+
<FormattedMessage
264+
defaultMessage="Change Costumes"
265+
description="Step name for 'Change Costumes' step"
266+
id="gui.howtos.imagine-if.step_imagineChangeCostumes"
267+
/>
268+
),
269+
image: 'imagineChangeCostumes'
270+
}, {
271+
title: (
272+
<FormattedMessage
273+
defaultMessage="Glide to a Point"
274+
description="Step name for 'Glide to a Point' step"
275+
id="gui.howtos.imagine-if.step_imagineGlideToPoint"
276+
/>
277+
),
278+
image: 'imagineGlideToPoint'
279+
}, {
280+
title: (
281+
<FormattedMessage
282+
defaultMessage="Grow and Shrink"
283+
description="Step name for 'Grow and Shrink' step"
284+
id="gui.howtos.imagine-if.step_imagineGrowShrink"
285+
/>
286+
),
287+
image: 'imagineGrowShrink'
288+
}, {
289+
title: (
290+
<FormattedMessage
291+
defaultMessage="Choose Another Backdrop"
292+
description="Step name for 'Choose Another Backdrop' step"
293+
id="gui.howtos.imagine-if.step_imagineChooseAnotherBackdrop"
294+
/>
295+
),
296+
image: 'imagineChooseAnotherBackdrop'
297+
}, {
298+
title: (
299+
<FormattedMessage
300+
defaultMessage="Switch Backdrops"
301+
description="Step name for 'Switch Backdrops' step"
302+
id="gui.howtos.imagine-if.step_imagineSwitchBackdrops"
303+
/>
304+
),
305+
image: 'imagineSwitchBackdrops'
306+
}, {
307+
title: (
308+
<FormattedMessage
309+
defaultMessage="Add a Sound"
310+
description="Step name for 'Add a Sound' step"
311+
id="gui.howtos.imagine-if.step_imagineRecordASound"
312+
/>
313+
),
314+
image: 'imagineRecordASound'
315+
}, {
316+
title: (
317+
<FormattedMessage
318+
defaultMessage="Choose Your Sound"
319+
description="Step name for 'Choose Your Sound' step"
320+
id="gui.howtos.imagine-if.step_imagineChooseSound"
321+
/>
322+
),
323+
image: 'imagineChooseSound'
324+
}, {
325+
deckIds: [
326+
'hide-and-show',
327+
'Chase-Game'
328+
]
329+
}
329330
],
330331
urlId: 'imagine-if'
331332
},
1.41 KB
Loading

src/lib/libraries/decks/translate-video.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ const videos = {
120120
},
121121
'pong-game': {
122122
en: '8m48dv0ens'
123+
},
124+
'imagine-if': {
125+
en: '1ndh08yiso'
123126
}
124127
};
125128

0 commit comments

Comments
 (0)