Merge pull request #2164 from ericrosenbaum/bugfix/dont-localize-motor-ids

Do not localize BOOST motor IDs
This commit is contained in:
Eric Rosenbaum 2019-05-06 14:40:20 -04:00 committed by GitHub
commit 61dcf1a58b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1415,85 +1415,45 @@ class Scratch3BoostBlocks {
menus: { menus: {
MOTOR_ID: [ MOTOR_ID: [
{ {
text: formatMessage({ text: 'A',
id: 'boost.motorId.a',
default: BoostMotorLabel.A,
description: `label for motor A element in motor menu for LEGO Boost extension`
}),
value: BoostMotorLabel.A value: BoostMotorLabel.A
}, },
{ {
text: formatMessage({ text: 'B',
id: 'boost.motorId.b',
default: BoostMotorLabel.B,
description: `label for motor B element in motor menu for LEGO Boost extension`
}),
value: BoostMotorLabel.B value: BoostMotorLabel.B
}, },
{ {
text: formatMessage({ text: 'C',
id: 'boost.motorId.c',
default: BoostMotorLabel.C,
description: `label for motor C element in motor menu for LEGO Boost extension`
}),
value: BoostMotorLabel.C value: BoostMotorLabel.C
}, },
{ {
text: formatMessage({ text: 'D',
id: 'boost.motorId.d',
default: BoostMotorLabel.D,
description: `label for motor D element in motor menu for LEGO Boost extension`
}),
value: BoostMotorLabel.D value: BoostMotorLabel.D
}, },
{ {
text: formatMessage({ text: 'AB',
id: 'boost.motorId.ab',
default: BoostMotorLabel.AB,
description: `label for motor A and B element in motor menu for LEGO Boost extension`
}),
value: BoostMotorLabel.AB value: BoostMotorLabel.AB
}, },
{ {
text: formatMessage({ text: 'ABCD',
id: 'boost.motorId.all',
default: BoostMotorLabel.ALL,
description: 'label for all motors element in motor menu for LEGO Boost extension'
}),
value: BoostMotorLabel.ALL value: BoostMotorLabel.ALL
} }
], ],
MOTOR_REPORTER_ID: [ MOTOR_REPORTER_ID: [
{ {
text: formatMessage({ text: 'A',
id: 'boost.motorReporterId.a',
default: BoostMotorLabel.A,
description: 'label for motor A element in motor menu for LEGO Boost extension'
}),
value: BoostMotorLabel.A value: BoostMotorLabel.A
}, },
{ {
text: formatMessage({ text: 'B',
id: 'boost.motorReporterId.b',
default: BoostMotorLabel.B,
description: 'label for motor B element in motor menu for LEGO Boost extension'
}),
value: BoostMotorLabel.B value: BoostMotorLabel.B
}, },
{ {
text: formatMessage({ text: 'C',
id: 'boost.motorReporterId.c',
default: BoostMotorLabel.C,
description: 'label for motor C element in motor menu for LEGO Boost extension'
}),
value: BoostMotorLabel.C value: BoostMotorLabel.C
}, },
{ {
text: formatMessage({ text: 'D',
id: 'boost.motorReporterId.d',
default: BoostMotorLabel.D,
description: 'label for motor D element in motor menu for LEGO Boost extension'
}),
value: BoostMotorLabel.D value: BoostMotorLabel.D
} }
], ],