From 5eaf5ecefe5e51f8c5e335e581872298c591911c Mon Sep 17 00:00:00 2001 From: chrisgarrity Date: Mon, 13 Nov 2017 11:29:29 -0500 Subject: [PATCH] Add pen extension Add the pen extension and update all the translations. --- .tx/config | 5 +++ gui/ar.json | 2 +- gui/es.json | 4 +-- paint/ar.json | 84 ++++++++++++++++++++++++------------------- paint/de.json | 72 +++++++++++++++++++++---------------- paint/en.json | 72 +++++++++++++++++++++---------------- paint/es.json | 72 +++++++++++++++++++++---------------- paint/he.json | 72 +++++++++++++++++++++---------------- pen/ar.json | 70 ++++++++++++++++++++++++++++++++++++ pen/de.json | 70 ++++++++++++++++++++++++++++++++++++ pen/en.json | 70 ++++++++++++++++++++++++++++++++++++ pen/es.json | 70 ++++++++++++++++++++++++++++++++++++ pen/he.json | 70 ++++++++++++++++++++++++++++++++++++ scripts/build-data.js | 2 +- 14 files changed, 575 insertions(+), 160 deletions(-) create mode 100644 pen/ar.json create mode 100644 pen/de.json create mode 100644 pen/en.json create mode 100644 pen/es.json create mode 100644 pen/he.json diff --git a/.tx/config b/.tx/config index b9dd2b53..869154d6 100644 --- a/.tx/config +++ b/.tx/config @@ -10,4 +10,9 @@ type = CHROME file_filter = paint/.json source_file = paint/en.json source_lang = en +type = CHROME +[experimental-scratch.pen] +file_filter = pen/.json +source_file = pen/en.json +source_lang = en type = CHROME \ No newline at end of file diff --git a/gui/ar.json b/gui/ar.json index dfc2eca0..f27baa29 100644 --- a/gui/ar.json +++ b/gui/ar.json @@ -56,7 +56,7 @@ "description": "Button to add a sound in the editor tab" }, "gui.spriteSelectorItem.contextMenuDuplicate": { - "message": "duplicate", + "message": "مُكرَر", "description": "Menu item to duplicate in the right click menu" }, "gui.spriteSelectorItem.contextMenuDelete": { diff --git a/gui/es.json b/gui/es.json index 158def26..781c8da8 100644 --- a/gui/es.json +++ b/gui/es.json @@ -36,7 +36,7 @@ "description": "Button to add a backdrop in the editor tab" }, "gui.spriteSelector.addSprite": { - "message": "Añadir objeto", + "message": "Añadir sprite", "description": "Button to add a sprite in the target pane" }, "gui.soundEditor.slower": { @@ -48,7 +48,7 @@ "description": "Label indicating turbo mode is active" }, "gui.soundEditor.play": { - "message": "Tocar", + "message": "Reproducir", "description": "Title of the button to start playing the sound" }, "gui.soundTab.addSound": { diff --git a/paint/ar.json b/paint/ar.json index 387e3522..51b084b7 100644 --- a/paint/ar.json +++ b/paint/ar.json @@ -1,62 +1,74 @@ { + "paint.paintEditor.redo": { + "message": "إعادة", + "description": "Alt to image for the button to redo an action" + }, "paint.paintEditor.fill": { - "message": "Fill", + "message": "مُعَبأ", "description": "Label for the color picker for the fill color" }, - "paint.eraserMode.eraser": { - "message": "Eraser", - "description": "Label for the eraser tool" + "paint.modeTools.eraserSize": { + "message": "حجم الممحاة", + "description": "Label for the eraser size input" }, - "paint.penMode.pen": { - "message": "Pen", - "description": "Label for the pen tool, which draws outlines" + "paint.paintEditor.backward": { + "message": "إلى الخلف", + "description": "Label for the `Send backward on canvas` button" + }, + "paint.paintEditor.group": { + "message": "تجميع", + "description": "Label for the button to group shapes" + }, + "paint.modeTools.paste": { + "message": "لصق", + "description": "Label for the paste button" }, "paint.paintEditor.saturation": { - "message": "Saturation", + "message": "تَشَبُع", "description": "Label for the saturation component in the color picker" }, - "paint.roundedRectMode.roundedRect": { - "message": "Rounded Rectangle", - "description": "Label for the rounded rectangle tool" + "paint.modeTools.brushSize": { + "message": "حجم الفرشاة", + "description": "Label for the brush size input" }, - "paint.brushMode.brush": { - "message": "Brush", - "description": "Label for the brush tool" + "paint.paintEditor.undo": { + "message": "تَراجع", + "description": "Alt to image for the button to undo an action" }, - "paint.lineMode.line": { - "message": "Line", - "description": "Label for the line tool, which draws straight line segments" - }, - "paint.reshapeMode.reshape": { - "message": "Reshape", - "description": "Label for the reshape tool, which allows changing the points in the lines of the vectors" + "paint.paintEditor.forward": { + "message": "إلى الأمام", + "description": "Label for the `Send forward on canvas` button" }, "paint.paintEditor.brightness": { - "message": "Brightness", + "message": "شدة الإضاءة", "description": "Label for the brightness component in the color picker" }, "paint.paintEditor.costume": { - "message": "Costume", + "message": "المظهر", "description": "Label for the name of a sound" }, - "paint.rectMode.rect": { - "message": "Rectangle", - "description": "Label for the rectangle tool" + "paint.paintEditor.back": { + "message": "الرُجُوع", + "description": "Label for the `Send to back of canvas` button" }, - "paint.ovalMode.oval": { - "message": "Circle", - "description": "Label for the oval-drawing tool" + "paint.paintEditor.ungroup": { + "message": "فك تجميع", + "description": "Label for the button to ungroup shapes" }, "paint.paintEditor.hue": { - "message": "Hue", + "message": "اللون", "description": "Label for the hue component in the color picker" }, - "paint.paintEditor.stroke": { - "message": "Outline", - "description": "Label for the color picker for the outline color" + "paint.modeTools.copy": { + "message": "نسخ", + "description": "Label for the copy button" }, - "paint.selectMode.select": { - "message": "Select", - "description": "Label for the select tool, which allows selecting, moving, and resizing shapes" + "paint.paintEditor.front": { + "message": "الأمام", + "description": "Label for the `Send to front of canvas` button" + }, + "paint.paintEditor.stroke": { + "message": "الخطوط العريضة", + "description": "Label for the color picker for the outline color" } } \ No newline at end of file diff --git a/paint/de.json b/paint/de.json index dc3571a0..eeccef27 100644 --- a/paint/de.json +++ b/paint/de.json @@ -1,35 +1,43 @@ { + "paint.paintEditor.redo": { + "message": "Wiederherstellen", + "description": "Alt to image for the button to redo an action" + }, "paint.paintEditor.fill": { "message": "Füllen", "description": "Label for the color picker for the fill color" }, - "paint.eraserMode.eraser": { - "message": "Radierer", - "description": "Label for the eraser tool" + "paint.modeTools.eraserSize": { + "message": "Eraser size", + "description": "Label for the eraser size input" }, - "paint.penMode.pen": { - "message": "Stift", - "description": "Label for the pen tool, which draws outlines" + "paint.paintEditor.backward": { + "message": "Backward", + "description": "Label for the `Send backward on canvas` button" + }, + "paint.paintEditor.group": { + "message": "Gruppieren", + "description": "Label for the button to group shapes" + }, + "paint.modeTools.paste": { + "message": "Paste", + "description": "Label for the paste button" }, "paint.paintEditor.saturation": { "message": "Sättigung", "description": "Label for the saturation component in the color picker" }, - "paint.roundedRectMode.roundedRect": { - "message": "Abgerundetes Rechteck", - "description": "Label for the rounded rectangle tool" + "paint.modeTools.brushSize": { + "message": "Brush size", + "description": "Label for the brush size input" }, - "paint.brushMode.brush": { - "message": "Pinsel", - "description": "Label for the brush tool" + "paint.paintEditor.undo": { + "message": "Rückgängig machen", + "description": "Alt to image for the button to undo an action" }, - "paint.lineMode.line": { - "message": "Linie", - "description": "Label for the line tool, which draws straight line segments" - }, - "paint.reshapeMode.reshape": { - "message": "Verformen", - "description": "Label for the reshape tool, which allows changing the points in the lines of the vectors" + "paint.paintEditor.forward": { + "message": "Forward", + "description": "Label for the `Send forward on canvas` button" }, "paint.paintEditor.brightness": { "message": "Helligkeit", @@ -39,24 +47,28 @@ "message": "Kostüm", "description": "Label for the name of a sound" }, - "paint.rectMode.rect": { - "message": "Rechteck", - "description": "Label for the rectangle tool" + "paint.paintEditor.back": { + "message": "Zurück", + "description": "Label for the `Send to back of canvas` button" }, - "paint.ovalMode.oval": { - "message": "Kreis", - "description": "Label for the oval-drawing tool" + "paint.paintEditor.ungroup": { + "message": "Gruppierung aufheben", + "description": "Label for the button to ungroup shapes" }, "paint.paintEditor.hue": { - "message": "Farbton", + "message": "Color", "description": "Label for the hue component in the color picker" }, + "paint.modeTools.copy": { + "message": "Copy", + "description": "Label for the copy button" + }, + "paint.paintEditor.front": { + "message": "Front", + "description": "Label for the `Send to front of canvas` button" + }, "paint.paintEditor.stroke": { "message": "Umriss", "description": "Label for the color picker for the outline color" - }, - "paint.selectMode.select": { - "message": "Auswählen", - "description": "Label for the select tool, which allows selecting, moving, and resizing shapes" } } \ No newline at end of file diff --git a/paint/en.json b/paint/en.json index 387e3522..fbbfc3d6 100644 --- a/paint/en.json +++ b/paint/en.json @@ -1,35 +1,43 @@ { + "paint.paintEditor.redo": { + "message": "Redo", + "description": "Alt to image for the button to redo an action" + }, "paint.paintEditor.fill": { "message": "Fill", "description": "Label for the color picker for the fill color" }, - "paint.eraserMode.eraser": { - "message": "Eraser", - "description": "Label for the eraser tool" + "paint.modeTools.eraserSize": { + "message": "Eraser size", + "description": "Label for the eraser size input" }, - "paint.penMode.pen": { - "message": "Pen", - "description": "Label for the pen tool, which draws outlines" + "paint.paintEditor.backward": { + "message": "Backward", + "description": "Label for the `Send backward on canvas` button" + }, + "paint.paintEditor.group": { + "message": "Group", + "description": "Label for the button to group shapes" + }, + "paint.modeTools.paste": { + "message": "Paste", + "description": "Label for the paste button" }, "paint.paintEditor.saturation": { "message": "Saturation", "description": "Label for the saturation component in the color picker" }, - "paint.roundedRectMode.roundedRect": { - "message": "Rounded Rectangle", - "description": "Label for the rounded rectangle tool" + "paint.modeTools.brushSize": { + "message": "Brush size", + "description": "Label for the brush size input" }, - "paint.brushMode.brush": { - "message": "Brush", - "description": "Label for the brush tool" + "paint.paintEditor.undo": { + "message": "Undo", + "description": "Alt to image for the button to undo an action" }, - "paint.lineMode.line": { - "message": "Line", - "description": "Label for the line tool, which draws straight line segments" - }, - "paint.reshapeMode.reshape": { - "message": "Reshape", - "description": "Label for the reshape tool, which allows changing the points in the lines of the vectors" + "paint.paintEditor.forward": { + "message": "Forward", + "description": "Label for the `Send forward on canvas` button" }, "paint.paintEditor.brightness": { "message": "Brightness", @@ -39,24 +47,28 @@ "message": "Costume", "description": "Label for the name of a sound" }, - "paint.rectMode.rect": { - "message": "Rectangle", - "description": "Label for the rectangle tool" + "paint.paintEditor.back": { + "message": "Back", + "description": "Label for the `Send to back of canvas` button" }, - "paint.ovalMode.oval": { - "message": "Circle", - "description": "Label for the oval-drawing tool" + "paint.paintEditor.ungroup": { + "message": "Ungroup", + "description": "Label for the button to ungroup shapes" }, "paint.paintEditor.hue": { - "message": "Hue", + "message": "Color", "description": "Label for the hue component in the color picker" }, + "paint.modeTools.copy": { + "message": "Copy", + "description": "Label for the copy button" + }, + "paint.paintEditor.front": { + "message": "Front", + "description": "Label for the `Send to front of canvas` button" + }, "paint.paintEditor.stroke": { "message": "Outline", "description": "Label for the color picker for the outline color" - }, - "paint.selectMode.select": { - "message": "Select", - "description": "Label for the select tool, which allows selecting, moving, and resizing shapes" } } \ No newline at end of file diff --git a/paint/es.json b/paint/es.json index 46cbab8c..e94248a6 100644 --- a/paint/es.json +++ b/paint/es.json @@ -1,35 +1,43 @@ { + "paint.paintEditor.redo": { + "message": "Rehacer", + "description": "Alt to image for the button to redo an action" + }, "paint.paintEditor.fill": { "message": "Rellenar", "description": "Label for the color picker for the fill color" }, - "paint.eraserMode.eraser": { - "message": "Goma", - "description": "Label for the eraser tool" + "paint.modeTools.eraserSize": { + "message": "Tamaño de la goma", + "description": "Label for the eraser size input" }, - "paint.penMode.pen": { - "message": "Bolígrafo", - "description": "Label for the pen tool, which draws outlines" + "paint.paintEditor.backward": { + "message": "Atrás", + "description": "Label for the `Send backward on canvas` button" + }, + "paint.paintEditor.group": { + "message": "Agrupar", + "description": "Label for the button to group shapes" + }, + "paint.modeTools.paste": { + "message": "Pegar", + "description": "Label for the paste button" }, "paint.paintEditor.saturation": { "message": "Saturación", "description": "Label for the saturation component in the color picker" }, - "paint.roundedRectMode.roundedRect": { - "message": "Rectángulo con bordes circulares", - "description": "Label for the rounded rectangle tool" + "paint.modeTools.brushSize": { + "message": "Tamaño del pincel", + "description": "Label for the brush size input" }, - "paint.brushMode.brush": { - "message": "Pincel", - "description": "Label for the brush tool" + "paint.paintEditor.undo": { + "message": "Deshacer", + "description": "Alt to image for the button to undo an action" }, - "paint.lineMode.line": { - "message": "Línea", - "description": "Label for the line tool, which draws straight line segments" - }, - "paint.reshapeMode.reshape": { - "message": "Dar forma de nuevo", - "description": "Label for the reshape tool, which allows changing the points in the lines of the vectors" + "paint.paintEditor.forward": { + "message": "Adelante", + "description": "Label for the `Send forward on canvas` button" }, "paint.paintEditor.brightness": { "message": "Brillo", @@ -39,24 +47,28 @@ "message": "Disfraz", "description": "Label for the name of a sound" }, - "paint.rectMode.rect": { - "message": "Rectángulo", - "description": "Label for the rectangle tool" + "paint.paintEditor.back": { + "message": "Detrás del todo", + "description": "Label for the `Send to back of canvas` button" }, - "paint.ovalMode.oval": { - "message": "Círculo", - "description": "Label for the oval-drawing tool" + "paint.paintEditor.ungroup": { + "message": "Desagrupar", + "description": "Label for the button to ungroup shapes" }, "paint.paintEditor.hue": { - "message": "Tono", + "message": "Color", "description": "Label for the hue component in the color picker" }, + "paint.modeTools.copy": { + "message": "Copiar", + "description": "Label for the copy button" + }, + "paint.paintEditor.front": { + "message": "Al frente", + "description": "Label for the `Send to front of canvas` button" + }, "paint.paintEditor.stroke": { "message": "Contorno", "description": "Label for the color picker for the outline color" - }, - "paint.selectMode.select": { - "message": "Seleccionar", - "description": "Label for the select tool, which allows selecting, moving, and resizing shapes" } } \ No newline at end of file diff --git a/paint/he.json b/paint/he.json index 387e3522..fbbfc3d6 100644 --- a/paint/he.json +++ b/paint/he.json @@ -1,35 +1,43 @@ { + "paint.paintEditor.redo": { + "message": "Redo", + "description": "Alt to image for the button to redo an action" + }, "paint.paintEditor.fill": { "message": "Fill", "description": "Label for the color picker for the fill color" }, - "paint.eraserMode.eraser": { - "message": "Eraser", - "description": "Label for the eraser tool" + "paint.modeTools.eraserSize": { + "message": "Eraser size", + "description": "Label for the eraser size input" }, - "paint.penMode.pen": { - "message": "Pen", - "description": "Label for the pen tool, which draws outlines" + "paint.paintEditor.backward": { + "message": "Backward", + "description": "Label for the `Send backward on canvas` button" + }, + "paint.paintEditor.group": { + "message": "Group", + "description": "Label for the button to group shapes" + }, + "paint.modeTools.paste": { + "message": "Paste", + "description": "Label for the paste button" }, "paint.paintEditor.saturation": { "message": "Saturation", "description": "Label for the saturation component in the color picker" }, - "paint.roundedRectMode.roundedRect": { - "message": "Rounded Rectangle", - "description": "Label for the rounded rectangle tool" + "paint.modeTools.brushSize": { + "message": "Brush size", + "description": "Label for the brush size input" }, - "paint.brushMode.brush": { - "message": "Brush", - "description": "Label for the brush tool" + "paint.paintEditor.undo": { + "message": "Undo", + "description": "Alt to image for the button to undo an action" }, - "paint.lineMode.line": { - "message": "Line", - "description": "Label for the line tool, which draws straight line segments" - }, - "paint.reshapeMode.reshape": { - "message": "Reshape", - "description": "Label for the reshape tool, which allows changing the points in the lines of the vectors" + "paint.paintEditor.forward": { + "message": "Forward", + "description": "Label for the `Send forward on canvas` button" }, "paint.paintEditor.brightness": { "message": "Brightness", @@ -39,24 +47,28 @@ "message": "Costume", "description": "Label for the name of a sound" }, - "paint.rectMode.rect": { - "message": "Rectangle", - "description": "Label for the rectangle tool" + "paint.paintEditor.back": { + "message": "Back", + "description": "Label for the `Send to back of canvas` button" }, - "paint.ovalMode.oval": { - "message": "Circle", - "description": "Label for the oval-drawing tool" + "paint.paintEditor.ungroup": { + "message": "Ungroup", + "description": "Label for the button to ungroup shapes" }, "paint.paintEditor.hue": { - "message": "Hue", + "message": "Color", "description": "Label for the hue component in the color picker" }, + "paint.modeTools.copy": { + "message": "Copy", + "description": "Label for the copy button" + }, + "paint.paintEditor.front": { + "message": "Front", + "description": "Label for the `Send to front of canvas` button" + }, "paint.paintEditor.stroke": { "message": "Outline", "description": "Label for the color picker for the outline color" - }, - "paint.selectMode.select": { - "message": "Select", - "description": "Label for the select tool, which allows selecting, moving, and resizing shapes" } } \ No newline at end of file diff --git a/pen/ar.json b/pen/ar.json new file mode 100644 index 00000000..69235229 --- /dev/null +++ b/pen/ar.json @@ -0,0 +1,70 @@ +{ + "pen.setColor": { + "message": "اجعل لون القلم مساويًا [COLOR] ", + "description": "set the pen color to a particular (RGB) value" + }, + "pen.setColorParam": { + "message": "تَعِيينْ القَلَم [COLOR_PARAM]إلى [VALUE]", + "description": "set the state for a pen color parameter e.g. saturation" + }, + "pen.colorMenu.brightness": { + "message": "شدة الإضاءة", + "description": "label for brightness element in color picker for pen extension" + }, + "pen.setSize": { + "message": "اجعل حجم القلم مساويًا [SIZE]", + "description": "set the diameter of a trail left by a sprite" + }, + "pen.changeHue": { + "message": "غيِّر ظل القلم بمقدار [HUE]", + "description": "legacy pen blocks - change pen color" + }, + "pen.stamp": { + "message": "اِطْبَع", + "description": "render current costume on the background" + }, + "pen.clear": { + "message": "امسح", + "description": "erase all pen trails and stamps" + }, + "pen.setHue": { + "message": "اجعل مساحة القلم مساويًا [HUE]", + "description": "legacy pen blocks - set pen color to number" + }, + "pen.setShade": { + "message": "اجعل ظل القلم مساويًا [SHADE]", + "description": "legacy pen blocks - set pen shade" + }, + "pen.colorMenu.color": { + "message": "اللون", + "description": "label for color element in color picker for pen extension" + }, + "pen.changeSize": { + "message": "غيِّر حجم القلم بمقدار [SIZE]", + "description": "change the diameter of the trail left by a sprite" + }, + "pen.colorMenu.transparency": { + "message": "شَفَافْ", + "description": "label for transparency element in color picker for pen extension" + }, + "pen.changeColorParam": { + "message": "غيِّر القَلَم [COLOR_PARAM] عن طريق [VALUE]", + "description": "change the state of a pen color parameter" + }, + "pen.penDown": { + "message": "أنزل القلم", + "description": "start leaving a trail when the sprite moves" + }, + "pen.penUp": { + "message": "ارْفَع القَلَم", + "description": "stop leaving a trail behind the sprite" + }, + "pen.colorMenu.saturation": { + "message": "تشبع", + "description": "label for saturation element in color picker for pen extension" + }, + "pen.changeShade": { + "message": "غيِّر ظل القلم بمقدار [SHADE]", + "description": "legacy pen blocks - change pen shade" + } +} \ No newline at end of file diff --git a/pen/de.json b/pen/de.json new file mode 100644 index 00000000..90c0229b --- /dev/null +++ b/pen/de.json @@ -0,0 +1,70 @@ +{ + "pen.setColor": { + "message": "set pen color to [COLOR]", + "description": "set the pen color to a particular (RGB) value" + }, + "pen.setColorParam": { + "message": "set pen [COLOR_PARAM] to [VALUE]", + "description": "set the state for a pen color parameter e.g. saturation" + }, + "pen.colorMenu.brightness": { + "message": "Helligkeit", + "description": "label for brightness element in color picker for pen extension" + }, + "pen.setSize": { + "message": "set pen size to [SIZE]", + "description": "set the diameter of a trail left by a sprite" + }, + "pen.changeHue": { + "message": "change pen hue by [HUE]", + "description": "legacy pen blocks - change pen color" + }, + "pen.stamp": { + "message": "hinterlasse Abdruck", + "description": "render current costume on the background" + }, + "pen.clear": { + "message": "wische Malspuren weg", + "description": "erase all pen trails and stamps" + }, + "pen.setHue": { + "message": "set pen hue to [HUE]", + "description": "legacy pen blocks - set pen color to number" + }, + "pen.setShade": { + "message": "set pen shade to [SHADE]", + "description": "legacy pen blocks - set pen shade" + }, + "pen.colorMenu.color": { + "message": "Farbe", + "description": "label for color element in color picker for pen extension" + }, + "pen.changeSize": { + "message": "change pen size by [SIZE]", + "description": "change the diameter of the trail left by a sprite" + }, + "pen.colorMenu.transparency": { + "message": "transparency", + "description": "label for transparency element in color picker for pen extension" + }, + "pen.changeColorParam": { + "message": "change pen [COLOR_PARAM] by [VALUE]", + "description": "change the state of a pen color parameter" + }, + "pen.penDown": { + "message": "schalte Stift ein", + "description": "start leaving a trail when the sprite moves" + }, + "pen.penUp": { + "message": "schalte Stift aus", + "description": "stop leaving a trail behind the sprite" + }, + "pen.colorMenu.saturation": { + "message": "saturation", + "description": "label for saturation element in color picker for pen extension" + }, + "pen.changeShade": { + "message": "change pen shade by [SHADE]", + "description": "legacy pen blocks - change pen shade" + } +} \ No newline at end of file diff --git a/pen/en.json b/pen/en.json new file mode 100644 index 00000000..a33d8ddf --- /dev/null +++ b/pen/en.json @@ -0,0 +1,70 @@ +{ + "pen.setColor": { + "message": "set pen color to [COLOR]", + "description": "set the pen color to a particular (RGB) value" + }, + "pen.setColorParam": { + "message": "set pen [COLOR_PARAM] to [VALUE]", + "description": "set the state for a pen color parameter e.g. saturation" + }, + "pen.colorMenu.brightness": { + "message": "brightness", + "description": "label for brightness element in color picker for pen extension" + }, + "pen.setSize": { + "message": "set pen size to [SIZE]", + "description": "set the diameter of a trail left by a sprite" + }, + "pen.changeHue": { + "message": "change pen hue by [HUE]", + "description": "legacy pen blocks - change pen color" + }, + "pen.stamp": { + "message": "stamp", + "description": "render current costume on the background" + }, + "pen.clear": { + "message": "clear", + "description": "erase all pen trails and stamps" + }, + "pen.setHue": { + "message": "set pen hue to [HUE]", + "description": "legacy pen blocks - set pen color to number" + }, + "pen.setShade": { + "message": "set pen shade to [SHADE]", + "description": "legacy pen blocks - set pen shade" + }, + "pen.colorMenu.color": { + "message": "color", + "description": "label for color element in color picker for pen extension" + }, + "pen.changeSize": { + "message": "change pen size by [SIZE]", + "description": "change the diameter of the trail left by a sprite" + }, + "pen.colorMenu.transparency": { + "message": "transparency", + "description": "label for transparency element in color picker for pen extension" + }, + "pen.changeColorParam": { + "message": "change pen [COLOR_PARAM] by [VALUE]", + "description": "change the state of a pen color parameter" + }, + "pen.penDown": { + "message": "pen down", + "description": "start leaving a trail when the sprite moves" + }, + "pen.penUp": { + "message": "pen up", + "description": "stop leaving a trail behind the sprite" + }, + "pen.colorMenu.saturation": { + "message": "saturation", + "description": "label for saturation element in color picker for pen extension" + }, + "pen.changeShade": { + "message": "change pen shade by [SHADE]", + "description": "legacy pen blocks - change pen shade" + } +} \ No newline at end of file diff --git a/pen/es.json b/pen/es.json new file mode 100644 index 00000000..ba30a175 --- /dev/null +++ b/pen/es.json @@ -0,0 +1,70 @@ +{ + "pen.setColor": { + "message": "fijar color del lápiz a [COLOR]", + "description": "set the pen color to a particular (RGB) value" + }, + "pen.setColorParam": { + "message": "fijar [COLOR_PARAM] del lápiz a [VALUE]", + "description": "set the state for a pen color parameter e.g. saturation" + }, + "pen.colorMenu.brightness": { + "message": "brillo", + "description": "label for brightness element in color picker for pen extension" + }, + "pen.setSize": { + "message": "fijar tamaño del lápiz a [SIZE]", + "description": "set the diameter of a trail left by a sprite" + }, + "pen.changeHue": { + "message": "cambiar tono del lápiz por [HUE]", + "description": "legacy pen blocks - change pen color" + }, + "pen.stamp": { + "message": "sellar", + "description": "render current costume on the background" + }, + "pen.clear": { + "message": "borrar", + "description": "erase all pen trails and stamps" + }, + "pen.setHue": { + "message": "fijar tono del lápiz a [HUE]", + "description": "legacy pen blocks - set pen color to number" + }, + "pen.setShade": { + "message": "fijar sombra del lápiz a [SHADE]", + "description": "legacy pen blocks - set pen shade" + }, + "pen.colorMenu.color": { + "message": "color", + "description": "label for color element in color picker for pen extension" + }, + "pen.changeSize": { + "message": "cambiar tamaño del lápiz a [SIZE]", + "description": "change the diameter of the trail left by a sprite" + }, + "pen.colorMenu.transparency": { + "message": "transparencia", + "description": "label for transparency element in color picker for pen extension" + }, + "pen.changeColorParam": { + "message": "cambiar [COLOR_PARAM] del lápiz a [VALUE]", + "description": "change the state of a pen color parameter" + }, + "pen.penDown": { + "message": "bajar lápiz", + "description": "start leaving a trail when the sprite moves" + }, + "pen.penUp": { + "message": "subir lápiz", + "description": "stop leaving a trail behind the sprite" + }, + "pen.colorMenu.saturation": { + "message": "saturación", + "description": "label for saturation element in color picker for pen extension" + }, + "pen.changeShade": { + "message": "cambiar sombra del lápiz por [SHADE]", + "description": "legacy pen blocks - change pen shade" + } +} \ No newline at end of file diff --git a/pen/he.json b/pen/he.json new file mode 100644 index 00000000..a33d8ddf --- /dev/null +++ b/pen/he.json @@ -0,0 +1,70 @@ +{ + "pen.setColor": { + "message": "set pen color to [COLOR]", + "description": "set the pen color to a particular (RGB) value" + }, + "pen.setColorParam": { + "message": "set pen [COLOR_PARAM] to [VALUE]", + "description": "set the state for a pen color parameter e.g. saturation" + }, + "pen.colorMenu.brightness": { + "message": "brightness", + "description": "label for brightness element in color picker for pen extension" + }, + "pen.setSize": { + "message": "set pen size to [SIZE]", + "description": "set the diameter of a trail left by a sprite" + }, + "pen.changeHue": { + "message": "change pen hue by [HUE]", + "description": "legacy pen blocks - change pen color" + }, + "pen.stamp": { + "message": "stamp", + "description": "render current costume on the background" + }, + "pen.clear": { + "message": "clear", + "description": "erase all pen trails and stamps" + }, + "pen.setHue": { + "message": "set pen hue to [HUE]", + "description": "legacy pen blocks - set pen color to number" + }, + "pen.setShade": { + "message": "set pen shade to [SHADE]", + "description": "legacy pen blocks - set pen shade" + }, + "pen.colorMenu.color": { + "message": "color", + "description": "label for color element in color picker for pen extension" + }, + "pen.changeSize": { + "message": "change pen size by [SIZE]", + "description": "change the diameter of the trail left by a sprite" + }, + "pen.colorMenu.transparency": { + "message": "transparency", + "description": "label for transparency element in color picker for pen extension" + }, + "pen.changeColorParam": { + "message": "change pen [COLOR_PARAM] by [VALUE]", + "description": "change the state of a pen color parameter" + }, + "pen.penDown": { + "message": "pen down", + "description": "start leaving a trail when the sprite moves" + }, + "pen.penUp": { + "message": "pen up", + "description": "stop leaving a trail behind the sprite" + }, + "pen.colorMenu.saturation": { + "message": "saturation", + "description": "label for saturation element in color picker for pen extension" + }, + "pen.changeShade": { + "message": "change pen shade by [SHADE]", + "description": "legacy pen blocks - change pen shade" + } +} \ No newline at end of file diff --git a/scripts/build-data.js b/scripts/build-data.js index f9be2741..cf7ca692 100755 --- a/scripts/build-data.js +++ b/scripts/build-data.js @@ -46,7 +46,7 @@ const MSGS_DIR = './locales/'; let missingLocales = []; // generate messages: -let components = ['gui', 'paint']; +let components = ['gui', 'paint', 'pen']; components.forEach((component) => { let messages = Object.keys(locales).reduce((collection, lang) => { let langMessages = {};