From 86f4ca5806fde2fff687dbc241b5b35cae7d0801 Mon Sep 17 00:00:00 2001 From: Eric Rosenbaum Date: Thu, 2 May 2019 16:21:08 -0400 Subject: [PATCH] Do not localize motor IDs --- src/extensions/scratch3_boost/index.js | 60 +++++--------------------- 1 file changed, 10 insertions(+), 50 deletions(-) diff --git a/src/extensions/scratch3_boost/index.js b/src/extensions/scratch3_boost/index.js index c59d2b55a..c14543e45 100644 --- a/src/extensions/scratch3_boost/index.js +++ b/src/extensions/scratch3_boost/index.js @@ -1415,85 +1415,45 @@ class Scratch3BoostBlocks { menus: { MOTOR_ID: [ { - text: formatMessage({ - id: 'boost.motorId.a', - default: BoostMotorLabel.A, - description: `label for motor A element in motor menu for LEGO Boost extension` - }), + text: 'A', value: BoostMotorLabel.A }, { - text: formatMessage({ - id: 'boost.motorId.b', - default: BoostMotorLabel.B, - description: `label for motor B element in motor menu for LEGO Boost extension` - }), + text: 'B', value: BoostMotorLabel.B }, { - text: formatMessage({ - id: 'boost.motorId.c', - default: BoostMotorLabel.C, - description: `label for motor C element in motor menu for LEGO Boost extension` - }), + text: 'C', value: BoostMotorLabel.C }, { - text: formatMessage({ - id: 'boost.motorId.d', - default: BoostMotorLabel.D, - description: `label for motor D element in motor menu for LEGO Boost extension` - }), + text: 'D', value: BoostMotorLabel.D }, { - text: formatMessage({ - id: 'boost.motorId.ab', - default: BoostMotorLabel.AB, - description: `label for motor A and B element in motor menu for LEGO Boost extension` - }), + text: 'AB', value: BoostMotorLabel.AB }, { - text: formatMessage({ - id: 'boost.motorId.all', - default: BoostMotorLabel.ALL, - description: 'label for all motors element in motor menu for LEGO Boost extension' - }), + text: 'ABCD', value: BoostMotorLabel.ALL } ], MOTOR_REPORTER_ID: [ { - text: formatMessage({ - id: 'boost.motorReporterId.a', - default: BoostMotorLabel.A, - description: 'label for motor A element in motor menu for LEGO Boost extension' - }), + text: 'A', value: BoostMotorLabel.A }, { - text: formatMessage({ - id: 'boost.motorReporterId.b', - default: BoostMotorLabel.B, - description: 'label for motor B element in motor menu for LEGO Boost extension' - }), + text: 'B', value: BoostMotorLabel.B }, { - text: formatMessage({ - id: 'boost.motorReporterId.c', - default: BoostMotorLabel.C, - description: 'label for motor C element in motor menu for LEGO Boost extension' - }), + text: 'C', value: BoostMotorLabel.C }, { - text: formatMessage({ - id: 'boost.motorReporterId.d', - default: BoostMotorLabel.D, - description: 'label for motor D element in motor menu for LEGO Boost extension' - }), + text: 'D', value: BoostMotorLabel.D } ],