Skip to content

Commit b2fa57a

Browse files
authored
Update inline-images.js
1 parent 9f6bb36 commit b2fa57a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

static/example-extensions/inline-images.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ class InlineImagesExample {
88
getInfo() {
99
return {
1010
id: 'inlineimagesexample',
11-
name: 'Inline Images Example',
11+
name: Scratch.translate('Inline Images Example'),
1212
blocks: [
1313
{
1414
opcode: 'reporter',
1515
blockType: Scratch.BlockType.REPORTER,
1616
// highlight-start
17-
text: 'some text [IMAGE] more text',
17+
text: Scratch.translate('some text [IMAGE] more text'),
1818
arguments: {
1919
IMAGE: {
2020
type: Scratch.ArgumentType.IMAGE,
@@ -28,7 +28,7 @@ class InlineImagesExample {
2828
blockType: Scratch.BlockType.COMMAND,
2929
blockIconURI: colorIcon,
3030
// highlight-start
31-
text: 'some text [IMAGE] more text',
31+
text: Scratch.translate('some text [IMAGE] more text'),
3232
arguments: {
3333
IMAGE: {
3434
type: Scratch.ArgumentType.IMAGE,

0 commit comments

Comments
 (0)