Merge pull request #10 from chrisgarrity/add-pen

Add pen extension
This commit is contained in:
chrisgarrity 2017-11-27 11:56:50 -05:00 committed by GitHub
commit 84b8809e97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 575 additions and 160 deletions

View file

@ -10,4 +10,9 @@ type = CHROME
file_filter = paint/<lang>.json file_filter = paint/<lang>.json
source_file = paint/en.json source_file = paint/en.json
source_lang = en source_lang = en
type = CHROME
[experimental-scratch.pen]
file_filter = pen/<lang>.json
source_file = pen/en.json
source_lang = en
type = CHROME type = CHROME

View file

@ -56,7 +56,7 @@
"description": "Button to add a sound in the editor tab" "description": "Button to add a sound in the editor tab"
}, },
"gui.spriteSelectorItem.contextMenuDuplicate": { "gui.spriteSelectorItem.contextMenuDuplicate": {
"message": "duplicate", "message": "مُكرَر",
"description": "Menu item to duplicate in the right click menu" "description": "Menu item to duplicate in the right click menu"
}, },
"gui.spriteSelectorItem.contextMenuDelete": { "gui.spriteSelectorItem.contextMenuDelete": {

View file

@ -36,7 +36,7 @@
"description": "Button to add a backdrop in the editor tab" "description": "Button to add a backdrop in the editor tab"
}, },
"gui.spriteSelector.addSprite": { "gui.spriteSelector.addSprite": {
"message": "Añadir objeto", "message": "Añadir sprite",
"description": "Button to add a sprite in the target pane" "description": "Button to add a sprite in the target pane"
}, },
"gui.soundEditor.slower": { "gui.soundEditor.slower": {
@ -48,7 +48,7 @@
"description": "Label indicating turbo mode is active" "description": "Label indicating turbo mode is active"
}, },
"gui.soundEditor.play": { "gui.soundEditor.play": {
"message": "Tocar", "message": "Reproducir",
"description": "Title of the button to start playing the sound" "description": "Title of the button to start playing the sound"
}, },
"gui.soundTab.addSound": { "gui.soundTab.addSound": {

View file

@ -1,62 +1,74 @@
{ {
"paint.paintEditor.redo": {
"message": "إعادة",
"description": "Alt to image for the button to redo an action"
},
"paint.paintEditor.fill": { "paint.paintEditor.fill": {
"message": "Fill", "message": "مُعَبأ",
"description": "Label for the color picker for the fill color" "description": "Label for the color picker for the fill color"
}, },
"paint.eraserMode.eraser": { "paint.modeTools.eraserSize": {
"message": "Eraser", "message": "حجم الممحاة",
"description": "Label for the eraser tool" "description": "Label for the eraser size input"
}, },
"paint.penMode.pen": { "paint.paintEditor.backward": {
"message": "Pen", "message": "إلى الخلف",
"description": "Label for the pen tool, which draws outlines" "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": { "paint.paintEditor.saturation": {
"message": "Saturation", "message": "تَشَبُع",
"description": "Label for the saturation component in the color picker" "description": "Label for the saturation component in the color picker"
}, },
"paint.roundedRectMode.roundedRect": { "paint.modeTools.brushSize": {
"message": "Rounded Rectangle", "message": "حجم الفرشاة",
"description": "Label for the rounded rectangle tool" "description": "Label for the brush size input"
}, },
"paint.brushMode.brush": { "paint.paintEditor.undo": {
"message": "Brush", "message": "تَراجع",
"description": "Label for the brush tool" "description": "Alt to image for the button to undo an action"
}, },
"paint.lineMode.line": { "paint.paintEditor.forward": {
"message": "Line", "message": "إلى الأمام",
"description": "Label for the line tool, which draws straight line segments" "description": "Label for the `Send forward on canvas` button"
},
"paint.reshapeMode.reshape": {
"message": "Reshape",
"description": "Label for the reshape tool, which allows changing the points in the lines of the vectors"
}, },
"paint.paintEditor.brightness": { "paint.paintEditor.brightness": {
"message": "Brightness", "message": "شدة الإضاءة",
"description": "Label for the brightness component in the color picker" "description": "Label for the brightness component in the color picker"
}, },
"paint.paintEditor.costume": { "paint.paintEditor.costume": {
"message": "Costume", "message": "المظهر",
"description": "Label for the name of a sound" "description": "Label for the name of a sound"
}, },
"paint.rectMode.rect": { "paint.paintEditor.back": {
"message": "Rectangle", "message": "الرُجُوع",
"description": "Label for the rectangle tool" "description": "Label for the `Send to back of canvas` button"
}, },
"paint.ovalMode.oval": { "paint.paintEditor.ungroup": {
"message": "Circle", "message": "فك تجميع",
"description": "Label for the oval-drawing tool" "description": "Label for the button to ungroup shapes"
}, },
"paint.paintEditor.hue": { "paint.paintEditor.hue": {
"message": "Hue", "message": "اللون",
"description": "Label for the hue component in the color picker" "description": "Label for the hue component in the color picker"
}, },
"paint.paintEditor.stroke": { "paint.modeTools.copy": {
"message": "Outline", "message": "نسخ",
"description": "Label for the color picker for the outline color" "description": "Label for the copy button"
}, },
"paint.selectMode.select": { "paint.paintEditor.front": {
"message": "Select", "message": "الأمام",
"description": "Label for the select tool, which allows selecting, moving, and resizing shapes" "description": "Label for the `Send to front of canvas` button"
},
"paint.paintEditor.stroke": {
"message": "الخطوط العريضة",
"description": "Label for the color picker for the outline color"
} }
} }

View file

@ -1,35 +1,43 @@
{ {
"paint.paintEditor.redo": {
"message": "Wiederherstellen",
"description": "Alt to image for the button to redo an action"
},
"paint.paintEditor.fill": { "paint.paintEditor.fill": {
"message": "Füllen", "message": "Füllen",
"description": "Label for the color picker for the fill color" "description": "Label for the color picker for the fill color"
}, },
"paint.eraserMode.eraser": { "paint.modeTools.eraserSize": {
"message": "Radierer", "message": "Eraser size",
"description": "Label for the eraser tool" "description": "Label for the eraser size input"
}, },
"paint.penMode.pen": { "paint.paintEditor.backward": {
"message": "Stift", "message": "Backward",
"description": "Label for the pen tool, which draws outlines" "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": { "paint.paintEditor.saturation": {
"message": "Sättigung", "message": "Sättigung",
"description": "Label for the saturation component in the color picker" "description": "Label for the saturation component in the color picker"
}, },
"paint.roundedRectMode.roundedRect": { "paint.modeTools.brushSize": {
"message": "Abgerundetes Rechteck", "message": "Brush size",
"description": "Label for the rounded rectangle tool" "description": "Label for the brush size input"
}, },
"paint.brushMode.brush": { "paint.paintEditor.undo": {
"message": "Pinsel", "message": "Rückgängig machen",
"description": "Label for the brush tool" "description": "Alt to image for the button to undo an action"
}, },
"paint.lineMode.line": { "paint.paintEditor.forward": {
"message": "Linie", "message": "Forward",
"description": "Label for the line tool, which draws straight line segments" "description": "Label for the `Send forward on canvas` button"
},
"paint.reshapeMode.reshape": {
"message": "Verformen",
"description": "Label for the reshape tool, which allows changing the points in the lines of the vectors"
}, },
"paint.paintEditor.brightness": { "paint.paintEditor.brightness": {
"message": "Helligkeit", "message": "Helligkeit",
@ -39,24 +47,28 @@
"message": "Kostüm", "message": "Kostüm",
"description": "Label for the name of a sound" "description": "Label for the name of a sound"
}, },
"paint.rectMode.rect": { "paint.paintEditor.back": {
"message": "Rechteck", "message": "Zurück",
"description": "Label for the rectangle tool" "description": "Label for the `Send to back of canvas` button"
}, },
"paint.ovalMode.oval": { "paint.paintEditor.ungroup": {
"message": "Kreis", "message": "Gruppierung aufheben",
"description": "Label for the oval-drawing tool" "description": "Label for the button to ungroup shapes"
}, },
"paint.paintEditor.hue": { "paint.paintEditor.hue": {
"message": "Farbton", "message": "Color",
"description": "Label for the hue component in the color picker" "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": { "paint.paintEditor.stroke": {
"message": "Umriss", "message": "Umriss",
"description": "Label for the color picker for the outline color" "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"
} }
} }

View file

@ -1,35 +1,43 @@
{ {
"paint.paintEditor.redo": {
"message": "Redo",
"description": "Alt to image for the button to redo an action"
},
"paint.paintEditor.fill": { "paint.paintEditor.fill": {
"message": "Fill", "message": "Fill",
"description": "Label for the color picker for the fill color" "description": "Label for the color picker for the fill color"
}, },
"paint.eraserMode.eraser": { "paint.modeTools.eraserSize": {
"message": "Eraser", "message": "Eraser size",
"description": "Label for the eraser tool" "description": "Label for the eraser size input"
}, },
"paint.penMode.pen": { "paint.paintEditor.backward": {
"message": "Pen", "message": "Backward",
"description": "Label for the pen tool, which draws outlines" "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": { "paint.paintEditor.saturation": {
"message": "Saturation", "message": "Saturation",
"description": "Label for the saturation component in the color picker" "description": "Label for the saturation component in the color picker"
}, },
"paint.roundedRectMode.roundedRect": { "paint.modeTools.brushSize": {
"message": "Rounded Rectangle", "message": "Brush size",
"description": "Label for the rounded rectangle tool" "description": "Label for the brush size input"
}, },
"paint.brushMode.brush": { "paint.paintEditor.undo": {
"message": "Brush", "message": "Undo",
"description": "Label for the brush tool" "description": "Alt to image for the button to undo an action"
}, },
"paint.lineMode.line": { "paint.paintEditor.forward": {
"message": "Line", "message": "Forward",
"description": "Label for the line tool, which draws straight line segments" "description": "Label for the `Send forward on canvas` button"
},
"paint.reshapeMode.reshape": {
"message": "Reshape",
"description": "Label for the reshape tool, which allows changing the points in the lines of the vectors"
}, },
"paint.paintEditor.brightness": { "paint.paintEditor.brightness": {
"message": "Brightness", "message": "Brightness",
@ -39,24 +47,28 @@
"message": "Costume", "message": "Costume",
"description": "Label for the name of a sound" "description": "Label for the name of a sound"
}, },
"paint.rectMode.rect": { "paint.paintEditor.back": {
"message": "Rectangle", "message": "Back",
"description": "Label for the rectangle tool" "description": "Label for the `Send to back of canvas` button"
}, },
"paint.ovalMode.oval": { "paint.paintEditor.ungroup": {
"message": "Circle", "message": "Ungroup",
"description": "Label for the oval-drawing tool" "description": "Label for the button to ungroup shapes"
}, },
"paint.paintEditor.hue": { "paint.paintEditor.hue": {
"message": "Hue", "message": "Color",
"description": "Label for the hue component in the color picker" "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": { "paint.paintEditor.stroke": {
"message": "Outline", "message": "Outline",
"description": "Label for the color picker for the outline color" "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"
} }
} }

View file

@ -1,35 +1,43 @@
{ {
"paint.paintEditor.redo": {
"message": "Rehacer",
"description": "Alt to image for the button to redo an action"
},
"paint.paintEditor.fill": { "paint.paintEditor.fill": {
"message": "Rellenar", "message": "Rellenar",
"description": "Label for the color picker for the fill color" "description": "Label for the color picker for the fill color"
}, },
"paint.eraserMode.eraser": { "paint.modeTools.eraserSize": {
"message": "Goma", "message": "Tamaño de la goma",
"description": "Label for the eraser tool" "description": "Label for the eraser size input"
}, },
"paint.penMode.pen": { "paint.paintEditor.backward": {
"message": "Bolígrafo", "message": "Atrás",
"description": "Label for the pen tool, which draws outlines" "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": { "paint.paintEditor.saturation": {
"message": "Saturación", "message": "Saturación",
"description": "Label for the saturation component in the color picker" "description": "Label for the saturation component in the color picker"
}, },
"paint.roundedRectMode.roundedRect": { "paint.modeTools.brushSize": {
"message": "Rectángulo con bordes circulares", "message": "Tamaño del pincel",
"description": "Label for the rounded rectangle tool" "description": "Label for the brush size input"
}, },
"paint.brushMode.brush": { "paint.paintEditor.undo": {
"message": "Pincel", "message": "Deshacer",
"description": "Label for the brush tool" "description": "Alt to image for the button to undo an action"
}, },
"paint.lineMode.line": { "paint.paintEditor.forward": {
"message": "Línea", "message": "Adelante",
"description": "Label for the line tool, which draws straight line segments" "description": "Label for the `Send forward on canvas` button"
},
"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.brightness": { "paint.paintEditor.brightness": {
"message": "Brillo", "message": "Brillo",
@ -39,24 +47,28 @@
"message": "Disfraz", "message": "Disfraz",
"description": "Label for the name of a sound" "description": "Label for the name of a sound"
}, },
"paint.rectMode.rect": { "paint.paintEditor.back": {
"message": "Rectángulo", "message": "Detrás del todo",
"description": "Label for the rectangle tool" "description": "Label for the `Send to back of canvas` button"
}, },
"paint.ovalMode.oval": { "paint.paintEditor.ungroup": {
"message": "Círculo", "message": "Desagrupar",
"description": "Label for the oval-drawing tool" "description": "Label for the button to ungroup shapes"
}, },
"paint.paintEditor.hue": { "paint.paintEditor.hue": {
"message": "Tono", "message": "Color",
"description": "Label for the hue component in the color picker" "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": { "paint.paintEditor.stroke": {
"message": "Contorno", "message": "Contorno",
"description": "Label for the color picker for the outline color" "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"
} }
} }

View file

@ -1,35 +1,43 @@
{ {
"paint.paintEditor.redo": {
"message": "Redo",
"description": "Alt to image for the button to redo an action"
},
"paint.paintEditor.fill": { "paint.paintEditor.fill": {
"message": "Fill", "message": "Fill",
"description": "Label for the color picker for the fill color" "description": "Label for the color picker for the fill color"
}, },
"paint.eraserMode.eraser": { "paint.modeTools.eraserSize": {
"message": "Eraser", "message": "Eraser size",
"description": "Label for the eraser tool" "description": "Label for the eraser size input"
}, },
"paint.penMode.pen": { "paint.paintEditor.backward": {
"message": "Pen", "message": "Backward",
"description": "Label for the pen tool, which draws outlines" "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": { "paint.paintEditor.saturation": {
"message": "Saturation", "message": "Saturation",
"description": "Label for the saturation component in the color picker" "description": "Label for the saturation component in the color picker"
}, },
"paint.roundedRectMode.roundedRect": { "paint.modeTools.brushSize": {
"message": "Rounded Rectangle", "message": "Brush size",
"description": "Label for the rounded rectangle tool" "description": "Label for the brush size input"
}, },
"paint.brushMode.brush": { "paint.paintEditor.undo": {
"message": "Brush", "message": "Undo",
"description": "Label for the brush tool" "description": "Alt to image for the button to undo an action"
}, },
"paint.lineMode.line": { "paint.paintEditor.forward": {
"message": "Line", "message": "Forward",
"description": "Label for the line tool, which draws straight line segments" "description": "Label for the `Send forward on canvas` button"
},
"paint.reshapeMode.reshape": {
"message": "Reshape",
"description": "Label for the reshape tool, which allows changing the points in the lines of the vectors"
}, },
"paint.paintEditor.brightness": { "paint.paintEditor.brightness": {
"message": "Brightness", "message": "Brightness",
@ -39,24 +47,28 @@
"message": "Costume", "message": "Costume",
"description": "Label for the name of a sound" "description": "Label for the name of a sound"
}, },
"paint.rectMode.rect": { "paint.paintEditor.back": {
"message": "Rectangle", "message": "Back",
"description": "Label for the rectangle tool" "description": "Label for the `Send to back of canvas` button"
}, },
"paint.ovalMode.oval": { "paint.paintEditor.ungroup": {
"message": "Circle", "message": "Ungroup",
"description": "Label for the oval-drawing tool" "description": "Label for the button to ungroup shapes"
}, },
"paint.paintEditor.hue": { "paint.paintEditor.hue": {
"message": "Hue", "message": "Color",
"description": "Label for the hue component in the color picker" "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": { "paint.paintEditor.stroke": {
"message": "Outline", "message": "Outline",
"description": "Label for the color picker for the outline color" "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"
} }
} }

70
pen/ar.json Normal file
View file

@ -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"
}
}

70
pen/de.json Normal file
View file

@ -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"
}
}

70
pen/en.json Normal file
View file

@ -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"
}
}

70
pen/es.json Normal file
View file

@ -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"
}
}

70
pen/he.json Normal file
View file

@ -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"
}
}

View file

@ -46,7 +46,7 @@ const MSGS_DIR = './locales/';
let missingLocales = []; let missingLocales = [];
// generate messages: // generate messages:
let components = ['gui', 'paint']; let components = ['gui', 'paint', 'pen'];
components.forEach((component) => { components.forEach((component) => {
let messages = Object.keys(locales).reduce((collection, lang) => { let messages = Object.keys(locales).reduce((collection, lang) => {
let langMessages = {}; let langMessages = {};