diff --git a/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/components/ConfigurationAst.java b/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/components/ConfigurationAst.java index c4a1f0b208..6a3904a621 100644 --- a/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/components/ConfigurationAst.java +++ b/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/components/ConfigurationAst.java @@ -2,12 +2,17 @@ import java.util.ArrayList; import java.util.Collection; +import java.util.Comparator; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; +import org.apache.commons.lang3.StringUtils; + +import com.ibm.icu.text.UTF16.StringComparator; + import de.fhg.iais.roberta.syntax.configuration.ConfigurationComponent; import de.fhg.iais.roberta.util.dbc.Assert; import de.fhg.iais.roberta.util.dbc.DbcException; @@ -170,6 +175,16 @@ public ConfigurationComponent optConfigurationComponentByType(String type) { public Collection getActors() { return new HashMap<>(this.configurationComponents).values().stream().filter(ConfigurationComponent::isActor).collect(Collectors.toList()); } + + public Collection getActors(String type) { + return configurationComponents + .values() + .stream() + .filter(ConfigurationComponent::isActor) + .filter(actor -> type.equals(actor.componentType)) + .sorted((actor1, actor2) -> StringUtils.compare(actor1.internalPortName, actor2.internalPortName)) + .collect(Collectors.toList()); + } /** * Returns all sensors in the configuration component map. While insertion order is preserved internally, it is unnecessary for code generation and similar diff --git a/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/util/syntax/SC.java b/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/util/syntax/SC.java index 426d07b512..e591f352ae 100644 --- a/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/util/syntax/SC.java +++ b/OpenRobertaRobot/src/main/java/de/fhg/iais/roberta/util/syntax/SC.java @@ -138,5 +138,7 @@ public interface SC { String HTS221 = "HTS221"; String OLEDSSD1306I2C = "OLEDSSD1306I2C"; + + String DCMOTOR = "DCMOTOR"; } diff --git a/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/astGenerated/calliope2016/actors_dcmotor.ast b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/astGenerated/calliope2016/actors_dcmotor.ast new file mode 100644 index 0000000000..4191c954de --- /dev/null +++ b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/astGenerated/calliope2016/actors_dcmotor.ast @@ -0,0 +1,18 @@ +DcMotorSetAction [DCM0, NumConst[value: 1], Backward, NumConst[value: 50]] +DcMotorSetAction [DCM0, NumConst[value: 1], Backward, NumConst[value: 120]] +DcMotorSetAction [DCM0, NumConst[value: 1], Backward, NumConst[value: -50]] +DcMotorSetAction [DCM0, NumConst[value: 2], Stop, NumConst[value: 75]] +DcMotorSetAction [DCM0, NumConst[value: 3], Forward, NumConst[value: 100]] +DcMotorSetAction [DCM0, NumConst[value: 3], Numeric, NumConst[value: -100]] +DcMotorSetAction [DCM0, NumConst[value: 3], Numeric, NumConst[value: 0]] +DcMotorSetAction [DCM0, NumConst[value: 3], Numeric, NumConst[value: 80]] +DcMotorSetAction [DCM0, NumConst[value: 1], Numeric, NumConst[value: 200]] +DcMotorSetAction [DCM0, Binary [ADD, Var [motor2], NumConst[value: 1]], Numeric, Var [speed]] +WaitTimeStmt[time: NumConst[value: 500]] +DcMotorSetAction [DCM1, NumConst[value: 2], Backward, NumConst[value: 50]] +DcMotorSetAction [DCM1, NumConst[value: 2], Stop, NumConst[value: 75]] +DcMotorSetAction [DCM1, NumConst[value: 2], Forward, NumConst[value: 75]] +WaitTimeStmt[time: NumConst[value: 500]] +DcMotorSetAction [DCM2, NumConst[value: 3], Backward, NumConst[value: 50]] +DcMotorSetAction [DCM2, NumConst[value: 3], Stop, NumConst[value: 80]] +DcMotorSetAction [DCM2, NumConst[value: 3], Forward, NumConst[value: 80]] diff --git a/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/astGenerated/calliope2017/actors_dcmotor.ast b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/astGenerated/calliope2017/actors_dcmotor.ast new file mode 100644 index 0000000000..4191c954de --- /dev/null +++ b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/astGenerated/calliope2017/actors_dcmotor.ast @@ -0,0 +1,18 @@ +DcMotorSetAction [DCM0, NumConst[value: 1], Backward, NumConst[value: 50]] +DcMotorSetAction [DCM0, NumConst[value: 1], Backward, NumConst[value: 120]] +DcMotorSetAction [DCM0, NumConst[value: 1], Backward, NumConst[value: -50]] +DcMotorSetAction [DCM0, NumConst[value: 2], Stop, NumConst[value: 75]] +DcMotorSetAction [DCM0, NumConst[value: 3], Forward, NumConst[value: 100]] +DcMotorSetAction [DCM0, NumConst[value: 3], Numeric, NumConst[value: -100]] +DcMotorSetAction [DCM0, NumConst[value: 3], Numeric, NumConst[value: 0]] +DcMotorSetAction [DCM0, NumConst[value: 3], Numeric, NumConst[value: 80]] +DcMotorSetAction [DCM0, NumConst[value: 1], Numeric, NumConst[value: 200]] +DcMotorSetAction [DCM0, Binary [ADD, Var [motor2], NumConst[value: 1]], Numeric, Var [speed]] +WaitTimeStmt[time: NumConst[value: 500]] +DcMotorSetAction [DCM1, NumConst[value: 2], Backward, NumConst[value: 50]] +DcMotorSetAction [DCM1, NumConst[value: 2], Stop, NumConst[value: 75]] +DcMotorSetAction [DCM1, NumConst[value: 2], Forward, NumConst[value: 75]] +WaitTimeStmt[time: NumConst[value: 500]] +DcMotorSetAction [DCM2, NumConst[value: 3], Backward, NumConst[value: 50]] +DcMotorSetAction [DCM2, NumConst[value: 3], Stop, NumConst[value: 80]] +DcMotorSetAction [DCM2, NumConst[value: 3], Forward, NumConst[value: 80]] diff --git a/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/astGenerated/calliope2017NoBlue/actors_dcmotor.ast b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/astGenerated/calliope2017NoBlue/actors_dcmotor.ast new file mode 100644 index 0000000000..4191c954de --- /dev/null +++ b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/astGenerated/calliope2017NoBlue/actors_dcmotor.ast @@ -0,0 +1,18 @@ +DcMotorSetAction [DCM0, NumConst[value: 1], Backward, NumConst[value: 50]] +DcMotorSetAction [DCM0, NumConst[value: 1], Backward, NumConst[value: 120]] +DcMotorSetAction [DCM0, NumConst[value: 1], Backward, NumConst[value: -50]] +DcMotorSetAction [DCM0, NumConst[value: 2], Stop, NumConst[value: 75]] +DcMotorSetAction [DCM0, NumConst[value: 3], Forward, NumConst[value: 100]] +DcMotorSetAction [DCM0, NumConst[value: 3], Numeric, NumConst[value: -100]] +DcMotorSetAction [DCM0, NumConst[value: 3], Numeric, NumConst[value: 0]] +DcMotorSetAction [DCM0, NumConst[value: 3], Numeric, NumConst[value: 80]] +DcMotorSetAction [DCM0, NumConst[value: 1], Numeric, NumConst[value: 200]] +DcMotorSetAction [DCM0, Binary [ADD, Var [motor2], NumConst[value: 1]], Numeric, Var [speed]] +WaitTimeStmt[time: NumConst[value: 500]] +DcMotorSetAction [DCM1, NumConst[value: 2], Backward, NumConst[value: 50]] +DcMotorSetAction [DCM1, NumConst[value: 2], Stop, NumConst[value: 75]] +DcMotorSetAction [DCM1, NumConst[value: 2], Forward, NumConst[value: 75]] +WaitTimeStmt[time: NumConst[value: 500]] +DcMotorSetAction [DCM2, NumConst[value: 3], Backward, NumConst[value: 50]] +DcMotorSetAction [DCM2, NumConst[value: 3], Stop, NumConst[value: 80]] +DcMotorSetAction [DCM2, NumConst[value: 3], Forward, NumConst[value: 80]] diff --git a/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/collectorResults/calliope2016/actors_dcmotor.txt b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/collectorResults/calliope2016/actors_dcmotor.txt new file mode 100644 index 0000000000..05e107e300 --- /dev/null +++ b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/collectorResults/calliope2016/actors_dcmotor.txt @@ -0,0 +1,6 @@ +Sensors: +[] +Actors: +[UsedActor [, DCMOTOR]] +Methods: +[] \ No newline at end of file diff --git a/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/collectorResults/calliope2017/actors_dcmotor.txt b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/collectorResults/calliope2017/actors_dcmotor.txt new file mode 100644 index 0000000000..05e107e300 --- /dev/null +++ b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/collectorResults/calliope2017/actors_dcmotor.txt @@ -0,0 +1,6 @@ +Sensors: +[] +Actors: +[UsedActor [, DCMOTOR]] +Methods: +[] \ No newline at end of file diff --git a/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/collectorResults/calliope2017NoBlue/actors_dcmotor.txt b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/collectorResults/calliope2017NoBlue/actors_dcmotor.txt new file mode 100644 index 0000000000..05e107e300 --- /dev/null +++ b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/collectorResults/calliope2017NoBlue/actors_dcmotor.txt @@ -0,0 +1,6 @@ +Sensors: +[] +Actors: +[UsedActor [, DCMOTOR]] +Methods: +[] \ No newline at end of file diff --git a/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/targetLanguage/calliope2016/actors_dcmotor.cpp b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/targetLanguage/calliope2016/actors_dcmotor.cpp new file mode 100644 index 0000000000..b2c455cb09 --- /dev/null +++ b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/targetLanguage/calliope2016/actors_dcmotor.cpp @@ -0,0 +1,53 @@ +#define _GNU_SOURCE + +#include "MicroBit.h" +#include "NEPODefs.h" +#include +#include +#include +MicroBit _uBit; + +#include "DcMotor.h" +DcMotor dcMotor_DCM0(0x60); +DcMotor dcMotor_DCM1(0x61); +DcMotor dcMotor_DCM2(0x62); + + +double ___speed; +double ___motor2; + +int main() +{ + _uBit.init(); + ___speed = 9.5; + ___motor2 = 4; + + dcMotor_DCM0.init(); + dcMotor_DCM1.init(); + dcMotor_DCM2.init(); + + dcMotor_DCM0.setPercent(1, Direction::Backward, 50); + dcMotor_DCM0.setPercent(1, Direction::Backward, 120); + dcMotor_DCM0.setPercent(1, Direction::Backward, -50); + dcMotor_DCM0.setPercent(2, Direction::Stop, 0); + dcMotor_DCM0.setPercent(3, Direction::Forward, 100); + dcMotor_DCM0.setPercent(3, -100); + dcMotor_DCM0.setPercent(3, 0); + dcMotor_DCM0.setPercent(3, 80); + dcMotor_DCM0.setPercent(1, 200); + dcMotor_DCM0.setPercent(___motor2 + 1, ___speed); + _uBit.sleep(500); + dcMotor_DCM1.setPercent(2, Direction::Backward, 50); + dcMotor_DCM1.setPercent(2, Direction::Stop, 0); + dcMotor_DCM1.setPercent(2, Direction::Forward, 75); + _uBit.sleep(500); + dcMotor_DCM2.setPercent(3, Direction::Backward, 50); + dcMotor_DCM2.setPercent(3, Direction::Stop, 0); + dcMotor_DCM2.setPercent(3, Direction::Forward, 80); + + dcMotor_DCM0.release(); + dcMotor_DCM1.release(); + dcMotor_DCM2.release(); + + release_fiber(); +} diff --git a/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/targetLanguage/calliope2017/actors_dcmotor.cpp b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/targetLanguage/calliope2017/actors_dcmotor.cpp new file mode 100644 index 0000000000..b2c455cb09 --- /dev/null +++ b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/targetLanguage/calliope2017/actors_dcmotor.cpp @@ -0,0 +1,53 @@ +#define _GNU_SOURCE + +#include "MicroBit.h" +#include "NEPODefs.h" +#include +#include +#include +MicroBit _uBit; + +#include "DcMotor.h" +DcMotor dcMotor_DCM0(0x60); +DcMotor dcMotor_DCM1(0x61); +DcMotor dcMotor_DCM2(0x62); + + +double ___speed; +double ___motor2; + +int main() +{ + _uBit.init(); + ___speed = 9.5; + ___motor2 = 4; + + dcMotor_DCM0.init(); + dcMotor_DCM1.init(); + dcMotor_DCM2.init(); + + dcMotor_DCM0.setPercent(1, Direction::Backward, 50); + dcMotor_DCM0.setPercent(1, Direction::Backward, 120); + dcMotor_DCM0.setPercent(1, Direction::Backward, -50); + dcMotor_DCM0.setPercent(2, Direction::Stop, 0); + dcMotor_DCM0.setPercent(3, Direction::Forward, 100); + dcMotor_DCM0.setPercent(3, -100); + dcMotor_DCM0.setPercent(3, 0); + dcMotor_DCM0.setPercent(3, 80); + dcMotor_DCM0.setPercent(1, 200); + dcMotor_DCM0.setPercent(___motor2 + 1, ___speed); + _uBit.sleep(500); + dcMotor_DCM1.setPercent(2, Direction::Backward, 50); + dcMotor_DCM1.setPercent(2, Direction::Stop, 0); + dcMotor_DCM1.setPercent(2, Direction::Forward, 75); + _uBit.sleep(500); + dcMotor_DCM2.setPercent(3, Direction::Backward, 50); + dcMotor_DCM2.setPercent(3, Direction::Stop, 0); + dcMotor_DCM2.setPercent(3, Direction::Forward, 80); + + dcMotor_DCM0.release(); + dcMotor_DCM1.release(); + dcMotor_DCM2.release(); + + release_fiber(); +} diff --git a/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/targetLanguage/calliope2017NoBlue/actors_dcmotor.cpp b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/targetLanguage/calliope2017NoBlue/actors_dcmotor.cpp new file mode 100644 index 0000000000..b2c455cb09 --- /dev/null +++ b/OpenRobertaServer/src/test/resources/crossCompilerTests/_expected/robotSpecific/targetLanguage/calliope2017NoBlue/actors_dcmotor.cpp @@ -0,0 +1,53 @@ +#define _GNU_SOURCE + +#include "MicroBit.h" +#include "NEPODefs.h" +#include +#include +#include +MicroBit _uBit; + +#include "DcMotor.h" +DcMotor dcMotor_DCM0(0x60); +DcMotor dcMotor_DCM1(0x61); +DcMotor dcMotor_DCM2(0x62); + + +double ___speed; +double ___motor2; + +int main() +{ + _uBit.init(); + ___speed = 9.5; + ___motor2 = 4; + + dcMotor_DCM0.init(); + dcMotor_DCM1.init(); + dcMotor_DCM2.init(); + + dcMotor_DCM0.setPercent(1, Direction::Backward, 50); + dcMotor_DCM0.setPercent(1, Direction::Backward, 120); + dcMotor_DCM0.setPercent(1, Direction::Backward, -50); + dcMotor_DCM0.setPercent(2, Direction::Stop, 0); + dcMotor_DCM0.setPercent(3, Direction::Forward, 100); + dcMotor_DCM0.setPercent(3, -100); + dcMotor_DCM0.setPercent(3, 0); + dcMotor_DCM0.setPercent(3, 80); + dcMotor_DCM0.setPercent(1, 200); + dcMotor_DCM0.setPercent(___motor2 + 1, ___speed); + _uBit.sleep(500); + dcMotor_DCM1.setPercent(2, Direction::Backward, 50); + dcMotor_DCM1.setPercent(2, Direction::Stop, 0); + dcMotor_DCM1.setPercent(2, Direction::Forward, 75); + _uBit.sleep(500); + dcMotor_DCM2.setPercent(3, Direction::Backward, 50); + dcMotor_DCM2.setPercent(3, Direction::Stop, 0); + dcMotor_DCM2.setPercent(3, Direction::Forward, 80); + + dcMotor_DCM0.release(); + dcMotor_DCM1.release(); + dcMotor_DCM2.release(); + + release_fiber(); +} diff --git a/OpenRobertaServer/src/test/resources/crossCompilerTests/robotSpecific/calliope/actors_dcmotor.xml b/OpenRobertaServer/src/test/resources/crossCompilerTests/robotSpecific/calliope/actors_dcmotor.xml new file mode 100644 index 0000000000..70d4511e6c --- /dev/null +++ b/OpenRobertaServer/src/test/resources/crossCompilerTests/robotSpecific/calliope/actors_dcmotor.xml @@ -0,0 +1,443 @@ + + + + + + + + + + + speed + Number + + + 9.5 + + + + + + motor2 + Number + + + 4 + + + + + + + DCM0 + Backward + + + 1 + + + + + 50 + + + + + DCM0 + Backward + + + 1 + + + + + 120 + + + + + DCM0 + Backward + + + 1 + + + + + -50 + + + + + DCM0 + Stop + + + 2 + + + + + 75 + + + + + DCM0 + Forward + + + 3 + + + + + 100 + + + + + DCM0 + Numeric + + + 3 + + + + + -100 + + + + + DCM0 + Numeric + + + 3 + + + + + 0 + + + + + DCM0 + Numeric + + + 3 + + + + + 80 + + + + + DCM0 + Numeric + + + 1 + + + + + 200 + + + + + DCM0 + Numeric + + + ADD + + + + motor2 + + + + + 1 + + + + + + + + speed + + + + + + + 500 + + + + + DCM1 + Backward + + + 2 + + + + + 50 + + + + + DCM1 + Stop + + + 2 + + + + + 75 + + + + + DCM1 + Forward + + + 2 + + + + + 75 + + + + + + + 500 + + + + + DCM2 + Backward + + + 3 + + + + + 50 + + + + + DCM2 + Stop + + + 3 + + + + + 80 + + + + + DCM2 + Forward + + + 3 + + + + + 80 + + + + + + + + + + + A + A + + + + + B + B + + + + + _A + + + + + _B + + + + + _C + + + + + _G + + + + + _L + + + + + undefined + + + + + _R + + + + + _S + + + + + _T + + + + + DCM2 + 0x62 + A0 + + + + + DCM1 + 0x61 + A0 + + + + + DCM0 + 0x60 + A0 + + + + + \ No newline at end of file diff --git a/OpenRobertaServer/staticResources/blockly/blockly_compressed.js b/OpenRobertaServer/staticResources/blockly/blockly_compressed.js index 667303ff41..ea67bb88cf 100644 --- a/OpenRobertaServer/staticResources/blockly/blockly_compressed.js +++ b/OpenRobertaServer/staticResources/blockly/blockly_compressed.js @@ -830,10 +830,10 @@ Blockly.Options=function(a){var b=!!a.readOnly;if(b)var c=null,d=!1,e=!1,f=!1,g= l?Blockly.TOOLBOX_AT_RIGHT:Blockly.TOOLBOX_AT_LEFT;var p=a.scrollbars;void 0===p&&(p=d);var r=a.css;void 0===r&&(r=!0);var t="https://blockly-demo.appspot.com/static/media/";a.media?t=a.media:a.path&&(t=a.path+"media/");this.RTL=l;this.collapse=f;this.comments=g;this.disable=h;this.readOnly=b;this.maxBlocks=a.maxBlocks||Infinity;this.pathToMedia=t;this.hasCategories=d;this.hasScrollbars=p;this.hasTrashcan=e;this.hasSounds=k;this.hasCss=r;this.horizontalLayout=m;this.languageTree=c;this.gridOptions= Blockly.Options.parseGridOptions_(a);this.zoomOptions=Blockly.Options.parseZoomOptions_(a);this.toolboxPosition=n;this.checkInTask=a.checkInTask||!1;this.variableDeclaration=!!a.variableDeclaration;this.robControls=!!a.robControls;this.theme=a.theme||"default"};Blockly.Options.prototype.parentWorkspace=null;Blockly.Options.prototype.setMetrics=function(a){};Blockly.Options.prototype.getMetrics=function(){return null}; Blockly.Options.parseZoomOptions_=function(a){a=a.zoom||{};var b={};b.controls=void 0===a.controls?!1:!!a.controls;b.wheel=void 0===a.wheel?!1:!!a.wheel;b.startScale=void 0===a.startScale?1:parseFloat(a.startScale);b.maxScale=void 0===a.maxScale?3:parseFloat(a.maxScale);b.minScale=void 0===a.minScale?.3:parseFloat(a.minScale);b.scaleSpeed=void 0===a.scaleSpeed?1.2:parseFloat(a.scaleSpeed);return b}; -Blockly.Options.parseGridOptions_=function(a){a=a.grid||{};var b={};b.spacing=parseFloat(a.spacing)||0;b.colour=a.colour||"#888";b.length=parseFloat(a.length)||1;b.snap=0b||b>this.getChildCount())throw Error(goog.ui.Component.Error.CHILD_INDEX_OUT_OF_BOUNDS);this.childIndex_&&this.children_||(this.childIndex_={},this.children_=[]);a.getParent()==this?(goog.object.set(this.childIndex_,a.getId(),a),goog.array.remove(this.children_,a)):goog.object.add(this.childIndex_, -a.getId(),a);a.setParent(this);goog.array.insertAt(this.children_,a,b);a.inDocument_&&this.inDocument_&&a.getParent()==this?(c=this.getContentElement(),c.contains(a.getElement())&&c.removeChild(a.getElement()),b=c.childNodes[b]||null,c.insertBefore(a.getElement(),b)):c?(this.element_||this.createDom(),b=this.getChildAt(b+1),a.render_(this.getContentElement(),b?b.element_:null)):this.inDocument_&&!a.inDocument_&&a.element_&&a.element_.parentNode&&a.element_.parentNode.nodeType==goog.dom.NodeType.ELEMENT&& -a.enterDocument()};goog.ui.Component.prototype.getContentElement=function(){return this.element_};goog.ui.Component.prototype.isRightToLeft=function(){null==this.rightToLeft_&&(this.rightToLeft_=goog.style.isRightToLeft(this.inDocument_?this.element_:this.dom_.getDocument().body));return this.rightToLeft_};goog.ui.Component.prototype.setRightToLeft=function(a){if(this.inDocument_)throw Error(goog.ui.Component.Error.ALREADY_RENDERED);this.rightToLeft_=a}; +a.getId(),a);a.setParent(this);goog.array.insertAt(this.children_,a,b);a.inDocument_&&this.inDocument_&&a.getParent()==this?(c=this.getContentElement(),b=c.childNodes[b]||null,b!=a.getElement()&&c.insertBefore(a.getElement(),b)):c?(this.element_||this.createDom(),b=this.getChildAt(b+1),a.render_(this.getContentElement(),b?b.element_:null)):this.inDocument_&&!a.inDocument_&&a.element_&&a.element_.parentNode&&a.element_.parentNode.nodeType==goog.dom.NodeType.ELEMENT&&a.enterDocument()}; +goog.ui.Component.prototype.getContentElement=function(){return this.element_};goog.ui.Component.prototype.isRightToLeft=function(){null==this.rightToLeft_&&(this.rightToLeft_=goog.style.isRightToLeft(this.inDocument_?this.element_:this.dom_.getDocument().body));return this.rightToLeft_};goog.ui.Component.prototype.setRightToLeft=function(a){if(this.inDocument_)throw Error(goog.ui.Component.Error.ALREADY_RENDERED);this.rightToLeft_=a}; goog.ui.Component.prototype.hasChildren=function(){return!!this.children_&&0!=this.children_.length};goog.ui.Component.prototype.getChildCount=function(){return this.children_?this.children_.length:0};goog.ui.Component.prototype.getChildIds=function(){var a=[];this.forEachChild(function(b){a.push(b.getId())});return a};goog.ui.Component.prototype.getChild=function(a){return this.childIndex_&&a?goog.object.get(this.childIndex_,a)||null:null}; goog.ui.Component.prototype.getChildAt=function(a){return this.children_?this.children_[a]||null:null};goog.ui.Component.prototype.forEachChild=function(a,b){this.children_&&goog.array.forEach(this.children_,a,b)};goog.ui.Component.prototype.indexOfChild=function(a){return this.children_&&a?goog.array.indexOf(this.children_,a):-1}; goog.ui.Component.prototype.removeChild=function(a,b){if(a){var c="string"===typeof a?a:a.getId();a=this.getChild(c);c&&a&&(goog.object.remove(this.childIndex_,c),goog.array.remove(this.children_,a),b&&(a.exitDocument(),a.element_&&goog.dom.removeNode(a.element_)),a.setParent(null))}if(!a)throw Error(goog.ui.Component.Error.NOT_OUR_CHILD);return a};goog.ui.Component.prototype.removeChildAt=function(a,b){return this.removeChild(this.getChildAt(a),b)}; @@ -1701,7 +1701,8 @@ Blockly.Msg.CONTROLS_IF_TOOLTIP_2="If a value is true, then do the first block o Blockly.Msg.CONTROLS_REPEAT_HELPURL="https://en.wikipedia.org/wiki/For_loop";Blockly.Msg.CONTROLS_REPEAT_INPUT_DO="do";Blockly.Msg.CONTROLS_REPEAT_TITLE="repeat %1 times";Blockly.Msg.CONTROLS_REPEAT_TOOLTIP="Do some statements several times.";Blockly.Msg.CONTROLS_WHILEUNTIL_HELPURL="https://github.com/google/blockly/wiki/Loops#repeat";Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_UNTIL="repeat until";Blockly.Msg.CONTROLS_WHILEUNTIL_OPERATOR_WHILE="repeat while"; Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_UNTIL="While a value is false, then do some statements.";Blockly.Msg.CONTROLS_WHILEUNTIL_TOOLTIP_WHILE="While a value is true, then do some statements.";Blockly.Msg.DATATABLE_ACTUALIZATION="Modification date";Blockly.Msg.DATATABLE_CONFIGURATIONS="configurations";Blockly.Msg.DATATABLE_CONFIGURATION_NAME="Configuration name";Blockly.Msg.DATATABLE_CREATED_BY="Creator";Blockly.Msg.DATATABLE_CREATED_ON="Creation date";Blockly.Msg.DATATABLE_MEMBERS="members"; Blockly.Msg.DATATABLE_PROGRAMS="programs";Blockly.Msg.DATATABLE_PROGRAM_NAME="Program name";Blockly.Msg.DATATABLE_SHARED="Shared";Blockly.Msg.DATATABLE_SHARED_PROGRAMS="shared programs";Blockly.Msg.DATATABLE_SHARED_WITH="Shared with";Blockly.Msg.DATATABLE_USERGROUP="user group";Blockly.Msg.DATATABLE_USERGROUPS="user groups";Blockly.Msg.DATATABLE_USERGROUP_NAME="Name of the user group";Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT="The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; -Blockly.Msg.DATATABLE_USERGROUP_OWNER="Name of the owner of the user group";Blockly.Msg.DELETE_ALL_BLOCKS="Delete all %1 blocks?";Blockly.Msg.DELETE_BLOCK="Delete Block";Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING="A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?";Blockly.Msg.DELETE_USERGROUP_MEMBER_WARNING="Are you sure that you want to delete the selected member(s)?"; +Blockly.Msg.DATATABLE_USERGROUP_OWNER="Name of the owner of the user group";Blockly.Msg.DCMOTOR="DC Motor";Blockly.Msg.DCMOTOR_BACKWARD="backward";Blockly.Msg.DCMOTOR_BOARD="DC Motor board";Blockly.Msg.DCMOTOR_FORWARD="forward";Blockly.Msg.DCMOTOR_M1="motor port 1";Blockly.Msg.DCMOTOR_M2="motor port 2";Blockly.Msg.DCMOTOR_M3="motor port 3";Blockly.Msg.DCMOTOR_M4="motor port 4";Blockly.Msg.DCMOTOR_MOTOR="motor port";Blockly.Msg.DCMOTOR_NUMERIC="numeric";Blockly.Msg.DCMOTOR_SPEED="speed"; +Blockly.Msg.DCMOTOR_STOP="stop";Blockly.Msg.DCMOTOR_TOOLTIP="DC Motor extention";Blockly.Msg.DELETE_ALL_BLOCKS="Delete all %1 blocks?";Blockly.Msg.DELETE_BLOCK="Delete Block";Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING="A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?";Blockly.Msg.DELETE_USERGROUP_MEMBER_WARNING="Are you sure that you want to delete the selected member(s)?"; Blockly.Msg.DELETE_X_BLOCKS="Delete %1 Blocks";Blockly.Msg.DIFFERENTIALDRIVE_TOOLTIP="Represents two motors on a common axis controlled independetly.";Blockly.Msg.DIGITAL="digital";Blockly.Msg.DIGITALIN_TOOLTIP="Represents any actuator connected to a digital pin.";Blockly.Msg.DIGITALOUT_TOOLTIP="Represents any sensor connected to a digital.";Blockly.Msg.DISABLE_BLOCK="Disable Block";Blockly.Msg.DISPLAY_ANIMATION="animation";Blockly.Msg.DISPLAY_CHARACTER="character";Blockly.Msg.DISPLAY_CLEAR="clear display"; Blockly.Msg.DISPLAY_CLEAR_TOOLTIP="Clears the display.";Blockly.Msg.DISPLAY_COL="in column";Blockly.Msg.DISPLAY_GET_BRIGHTNESS_TOOLTIP="Returns the brightness for all leds of the display. 0 means all leds are turned off, 9 is the brightest value.";Blockly.Msg.DISPLAY_GET_PIXEL_TOOLTIP="Returns the brightness for this led. 0 means the led is turned off, 9 is the brightest value.";Blockly.Msg.DISPLAY_IMAGE="image";Blockly.Msg.DISPLAY_NEW_ROW="in new row";Blockly.Msg.DISPLAY_PICTURE="picture"; Blockly.Msg.DISPLAY_PICTURE_EYES_CLOSED="eyes closed";Blockly.Msg.DISPLAY_PICTURE_EYES_OPEN="eyes open";Blockly.Msg.DISPLAY_PICTURE_FLOWERS="flowers";Blockly.Msg.DISPLAY_PICTURE_GLASSES="glasses";Blockly.Msg.DISPLAY_PICTURE_TACHO="speedo";Blockly.Msg.DISPLAY_PICTURE_TOOLTIP="Displays a picture on the screen.";Blockly.Msg.DISPLAY_PIXEL_BRIGHTNESS="brightness";Blockly.Msg.DISPLAY_PIXEL_TITLE="LED";Blockly.Msg.DISPLAY_PRINTLN_TOOLTIP="Displays a text on the screen in a new line."; @@ -1714,19 +1715,19 @@ Blockly.Msg.GALLERY_DATE="created";Blockly.Msg.GALLERY_DISLIKE="dislike";Blockly Blockly.Msg.GET_CODE_TOOLTIP="Returns the value of the solderable code pad in the head piece. Values are in range 0-31.";Blockly.Msg.GO_TO_GROUPS="Go to groups";Blockly.Msg.GPS_TOOLTIP="Represents a GPS receiver.";Blockly.Msg.GROUP_CREATE_NAME_HINT="Please keep in mind, that all members of a group have to enter the group name on each login. It should neither be complicated nor long.";Blockly.Msg.GYRO_GETSAMPLE_TOOLTIP="Gets the current reading from the gyro sensor."; Blockly.Msg.GYRO_RESET_TOOLTIP="Resets the gyro sensor.";Blockly.Msg.GYRO_TOOLTIP="Represents a gyro sensor.";Blockly.Msg.GYRO_TOOLTIP_WEDO="Represents a tilt sensor.";Blockly.Msg.HELP="Help";Blockly.Msg.HINT_USERGROUP_MEMBER="Enter the member id of your user here.";Blockly.Msg.HINT_USERGROUP_OWNER="Do not enter the real name of the owner of the user group here, but his username instead.";Blockly.Msg.HINT_USER_ACCOUNT="\u00bbIAmBotman\u00ab or \u00bbRobellaStracciatella\u00ab? Not everyone needs to know your real name. Think of a cool nickname that you can easily remember."; Blockly.Msg.HINT_USER_AGE="Are you under 16? Then please ask your parents to help you. They can specify their e-mail address to confirm your account.";Blockly.Msg.HINT_USER_EMAIL="This is voluntary! However, some functions of the lab are only available if you have verified your account by e-mail. You are younger than 16? Please ask your parents to help you out with one of their e-mail addresses.
Further information ..."; -Blockly.Msg.HINT_USER_NAME="Enter your real name here if you like. This is just for you, no one else will see it.";Blockly.Msg.HINT_USER_PASSWORT="12345 is no secure password. Rather think of a safe combination of numbers and letters that you will not forget.";Blockly.Msg.HINT_USER_PASSWORT_CONFIRM="Got it? Better make sure!";Blockly.Msg.HTCOLOUR_TOOLTIP="Represents a HiTechnic NXT Color Sensor V2.";Blockly.Msg.HUMIDITY_TOOLTIP="Represents a humidity sensor.";Blockly.Msg.ICON_BLOCKING_TOOLTIP="Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; -Blockly.Msg.ID="ID";Blockly.Msg.IF_TOOLTIP="Checks the condition in \u00bbif\u00ab. If the condition is true, executes the \u00bbdo\u00ab action.";Blockly.Msg.IMAGE_GET_TOOLTIP="Returns the chosen image.";Blockly.Msg.IMAGE_GET_TOOLTIP_ANGRY="angry";Blockly.Msg.IMAGE_GET_TOOLTIP_ASLEEP="asleep";Blockly.Msg.IMAGE_GET_TOOLTIP_BUTTERFLY="butterfly";Blockly.Msg.IMAGE_GET_TOOLTIP_CHESSBOARD="chessboard";Blockly.Msg.IMAGE_GET_TOOLTIP_CONFUSED="confused";Blockly.Msg.IMAGE_GET_TOOLTIP_COW="cow"; -Blockly.Msg.IMAGE_GET_TOOLTIP_DIAMOND="diamond";Blockly.Msg.IMAGE_GET_TOOLTIP_DIAMOND_SMALL="small diamond";Blockly.Msg.IMAGE_GET_TOOLTIP_DUCK="duck";Blockly.Msg.IMAGE_GET_TOOLTIP_FABULOUS="fabulous";Blockly.Msg.IMAGE_GET_TOOLTIP_GHOST="ghost";Blockly.Msg.IMAGE_GET_TOOLTIP_GIRAFFE="giraffe";Blockly.Msg.IMAGE_GET_TOOLTIP_HEART="heart";Blockly.Msg.IMAGE_GET_TOOLTIP_HEART_SMALL="small heart";Blockly.Msg.IMAGE_GET_TOOLTIP_HOUSE="house";Blockly.Msg.IMAGE_GET_TOOLTIP_MEH="meh!"; -Blockly.Msg.IMAGE_GET_TOOLTIP_MUSIC_CROTCHET="music crotchet";Blockly.Msg.IMAGE_GET_TOOLTIP_MUSIC_QUAVER="music quaver";Blockly.Msg.IMAGE_GET_TOOLTIP_MUSIC_QUAVERS="music quavers";Blockly.Msg.IMAGE_GET_TOOLTIP_NO="no";Blockly.Msg.IMAGE_GET_TOOLTIP_PACMAN="pacman";Blockly.Msg.IMAGE_GET_TOOLTIP_PITCHFORK="pitchfork";Blockly.Msg.IMAGE_GET_TOOLTIP_RABBIT="rabbit";Blockly.Msg.IMAGE_GET_TOOLTIP_ROLLERSKATE="rollerskate";Blockly.Msg.IMAGE_GET_TOOLTIP_SAD="sad";Blockly.Msg.IMAGE_GET_TOOLTIP_SILLY="silly"; -Blockly.Msg.IMAGE_GET_TOOLTIP_SKULL="skull";Blockly.Msg.IMAGE_GET_TOOLTIP_SMILE="smile";Blockly.Msg.IMAGE_GET_TOOLTIP_SNAKE="snake";Blockly.Msg.IMAGE_GET_TOOLTIP_SQUARE="square";Blockly.Msg.IMAGE_GET_TOOLTIP_SQUARE_SMALL="small square";Blockly.Msg.IMAGE_GET_TOOLTIP_STICKFIGURE="stickfigure";Blockly.Msg.IMAGE_GET_TOOLTIP_SWORD="sword";Blockly.Msg.IMAGE_GET_TOOLTIP_TARGET="target";Blockly.Msg.IMAGE_GET_TOOLTIP_TORTOISE="tortoise";Blockly.Msg.IMAGE_GET_TOOLTIP_TRIANGLE="triangle"; -Blockly.Msg.IMAGE_GET_TOOLTIP_TRIANGLE_LEFT="triangle left";Blockly.Msg.IMAGE_GET_TOOLTIP_TSHIRT="T-shirt";Blockly.Msg.IMAGE_GET_TOOLTIP_UMBRELLA="umbrella";Blockly.Msg.IMAGE_GET_TOOLTIP_XMAS="xmas";Blockly.Msg.IMAGE_GET_TOOLTIP_YES="yes";Blockly.Msg.IMAGE_INVERT="invert";Blockly.Msg.IMAGE_INVERT_TOOLTIP="Inverts the image. Each pixel with value 0 or none will be set to # or 9 and pixels with value # or 9 will be set to 0 or none.";Blockly.Msg.IMAGE_SHIFT="shift";Blockly.Msg.IMAGE_SHIFT_TOOLTIP="Shifts the image in the given direction by the given number"; -Blockly.Msg.IMAGE_TOOLTIP="Creates an image for the display. You can specify the brightness of each pixel from 0 to 9 or # where 0 means no light, 1 is a bit bright and 9 or # is the brightest value.";Blockly.Msg.INFO_DOCUMENTATION_HINT="Document your program here ...";Blockly.Msg.INFO_TAGS="Tags";Blockly.Msg.INFRARED_DISTANCE_GETSAMPLE_TOOLTIP="Gets the current relative distance from the infrared sensor. The values are between 1 and 75 cm.";Blockly.Msg.INFRARED_GETSAMPLE_TOOLTIP="Gets the current reading from the infrared sensor."; -Blockly.Msg.INFRARED_GETSAMPLE_TOOLTIP_MBOT="Gets the current reading from the light sensor -- if a black line is detected (true/false).";Blockly.Msg.INFRARED_PRESENCE_GETSAMPLE_TOOLTIP="Returns an array of measurements for the presence of a beacon.";Blockly.Msg.INFRARED_TOOLTIP="Represents an infrared sensor.";Blockly.Msg.INLINE_INPUTS="Inline Inputs";Blockly.Msg.INPUT="input";Blockly.Msg.INTERNAL_PORT="internal";Blockly.Msg.IRSEEKER_TOOLTIP="Represents a HiTechnic NXT IRSeeker V2 sensor."; -Blockly.Msg.I_TIME="integration time";Blockly.Msg.JOYSTICK_GETSAMPLE_TOOLTIP="Gets the current reading of one of the axes of the joystick";Blockly.Msg.JOYSTICK_GETSAMPLE_TOOLTIP_MBOT2="Is the joystick moved into the specified direction or pressed?";Blockly.Msg.JOYSTICK_TOOLTIP="Represents a joystick";Blockly.Msg.KEY_ISPRESSED_TOOLTIP="Is the selected button pressed?";Blockly.Msg.KEY_TOOLTIP="Represents a button.";Blockly.Msg.LANGUAGE="language";Blockly.Msg.LANGUAGE_ARABIC="Arabic"; -Blockly.Msg.LANGUAGE_BRAZILIAN="Brazilian";Blockly.Msg.LANGUAGE_CHINESE="Chinese";Blockly.Msg.LANGUAGE_CZECH="Czech";Blockly.Msg.LANGUAGE_DANISH="Danish";Blockly.Msg.LANGUAGE_DUTCH="Dutch";Blockly.Msg.LANGUAGE_ENGLISH="English";Blockly.Msg.LANGUAGE_FINNISH="Finnish";Blockly.Msg.LANGUAGE_FRENCH="French";Blockly.Msg.LANGUAGE_GERMAN="German";Blockly.Msg.LANGUAGE_GREEK="Greek";Blockly.Msg.LANGUAGE_ITALIAN="Italian";Blockly.Msg.LANGUAGE_JAPANESE="Japanese";Blockly.Msg.LANGUAGE_KOREAN="Korean"; -Blockly.Msg.LANGUAGE_NORWEGIAN="Norwegian";Blockly.Msg.LANGUAGE_POLISH="Polish";Blockly.Msg.LANGUAGE_PORTUGUESE="Portuguese";Blockly.Msg.LANGUAGE_RUSSIAN="Russian";Blockly.Msg.LANGUAGE_SPANISH="Spanish";Blockly.Msg.LANGUAGE_SWEDISH="Swedish";Blockly.Msg.LANGUAGE_TURKISH="Turkish";Blockly.Msg.LCDI2C_TOOLTIP="Represents an LCD 1602 display with a soldered I\u00b2C module.";Blockly.Msg.LCD_TOOLTIP="Represents an LCD display.";Blockly.Msg.LED="LED";Blockly.Msg.LEDBAR="LED Bar"; -Blockly.Msg.LEDBAR_SET_TOOLTIP="Sets the specified LED [0-9] on the LED Bar to the given brightness [0-8].";Blockly.Msg.LEDBAR_TOOLTIP="Represents a Grove LED Bar v2.0 by Seeed.";Blockly.Msg.LEDBAR_ULTRASONIC2_SET_TOOLTIP="Sets the specified LED [1-8] on the ultrasonic sensor 2 to the given brightness [0-100].";Blockly.Msg.LED_MATRIX="LED matrix";Blockly.Msg.LED_OFF="turn LED off";Blockly.Msg.LED_OFF_QUADRGB_TOOLTIP="Turns off the fill lights of the quad RGB sensor";Blockly.Msg.LED_OFF_TOOLTIP="Turns the LED off."; -Blockly.Msg.LED_ON="turn LED on";Blockly.Msg.LED_ON_QUADRGB_TOOLTIP="Turns on the fill lights of the quad RGB sensor in the given color.";Blockly.Msg.LED_ON_TOOLTIP="Turns the LED on and changes the color.";Blockly.Msg.LED_ON_TOOLTIP_CB="Turns the LED on and changes the color. Attention: calli:Bot only supports 7 different colors, the nearest will be chosen.";Blockly.Msg.LED_ON_TOOLTIP_EDISON="Turns the LED on.";Blockly.Msg.LED_ON_WHITE_TOOLTIP="Turns the LED on. Watch out, it's very bright!"; +Blockly.Msg.HINT_USER_NAME="Enter your real name here if you like. This is just for you, no one else will see it.";Blockly.Msg.HINT_USER_PASSWORT="12345 is no secure password. Rather think of a safe combination of numbers and letters that you will not forget.";Blockly.Msg.HINT_USER_PASSWORT_CONFIRM="Got it? Better make sure!";Blockly.Msg.HTCOLOUR_TOOLTIP="Represents a HiTechnic NXT Color Sensor V2.";Blockly.Msg.HUMIDITY_TOOLTIP="Represents a humidity sensor.";Blockly.Msg.I2CADDRESS="I2C address"; +Blockly.Msg.ICON_BLOCKING_TOOLTIP="Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function.";Blockly.Msg.ID="ID";Blockly.Msg.IF_TOOLTIP="Checks the condition in \u00bbif\u00ab. If the condition is true, executes the \u00bbdo\u00ab action.";Blockly.Msg.IMAGE_GET_TOOLTIP="Returns the chosen image.";Blockly.Msg.IMAGE_GET_TOOLTIP_ANGRY="angry";Blockly.Msg.IMAGE_GET_TOOLTIP_ASLEEP="asleep"; +Blockly.Msg.IMAGE_GET_TOOLTIP_BUTTERFLY="butterfly";Blockly.Msg.IMAGE_GET_TOOLTIP_CHESSBOARD="chessboard";Blockly.Msg.IMAGE_GET_TOOLTIP_CONFUSED="confused";Blockly.Msg.IMAGE_GET_TOOLTIP_COW="cow";Blockly.Msg.IMAGE_GET_TOOLTIP_DIAMOND="diamond";Blockly.Msg.IMAGE_GET_TOOLTIP_DIAMOND_SMALL="small diamond";Blockly.Msg.IMAGE_GET_TOOLTIP_DUCK="duck";Blockly.Msg.IMAGE_GET_TOOLTIP_FABULOUS="fabulous";Blockly.Msg.IMAGE_GET_TOOLTIP_GHOST="ghost";Blockly.Msg.IMAGE_GET_TOOLTIP_GIRAFFE="giraffe"; +Blockly.Msg.IMAGE_GET_TOOLTIP_HEART="heart";Blockly.Msg.IMAGE_GET_TOOLTIP_HEART_SMALL="small heart";Blockly.Msg.IMAGE_GET_TOOLTIP_HOUSE="house";Blockly.Msg.IMAGE_GET_TOOLTIP_MEH="meh!";Blockly.Msg.IMAGE_GET_TOOLTIP_MUSIC_CROTCHET="music crotchet";Blockly.Msg.IMAGE_GET_TOOLTIP_MUSIC_QUAVER="music quaver";Blockly.Msg.IMAGE_GET_TOOLTIP_MUSIC_QUAVERS="music quavers";Blockly.Msg.IMAGE_GET_TOOLTIP_NO="no";Blockly.Msg.IMAGE_GET_TOOLTIP_PACMAN="pacman";Blockly.Msg.IMAGE_GET_TOOLTIP_PITCHFORK="pitchfork"; +Blockly.Msg.IMAGE_GET_TOOLTIP_RABBIT="rabbit";Blockly.Msg.IMAGE_GET_TOOLTIP_ROLLERSKATE="rollerskate";Blockly.Msg.IMAGE_GET_TOOLTIP_SAD="sad";Blockly.Msg.IMAGE_GET_TOOLTIP_SILLY="silly";Blockly.Msg.IMAGE_GET_TOOLTIP_SKULL="skull";Blockly.Msg.IMAGE_GET_TOOLTIP_SMILE="smile";Blockly.Msg.IMAGE_GET_TOOLTIP_SNAKE="snake";Blockly.Msg.IMAGE_GET_TOOLTIP_SQUARE="square";Blockly.Msg.IMAGE_GET_TOOLTIP_SQUARE_SMALL="small square";Blockly.Msg.IMAGE_GET_TOOLTIP_STICKFIGURE="stickfigure"; +Blockly.Msg.IMAGE_GET_TOOLTIP_SWORD="sword";Blockly.Msg.IMAGE_GET_TOOLTIP_TARGET="target";Blockly.Msg.IMAGE_GET_TOOLTIP_TORTOISE="tortoise";Blockly.Msg.IMAGE_GET_TOOLTIP_TRIANGLE="triangle";Blockly.Msg.IMAGE_GET_TOOLTIP_TRIANGLE_LEFT="triangle left";Blockly.Msg.IMAGE_GET_TOOLTIP_TSHIRT="T-shirt";Blockly.Msg.IMAGE_GET_TOOLTIP_UMBRELLA="umbrella";Blockly.Msg.IMAGE_GET_TOOLTIP_XMAS="xmas";Blockly.Msg.IMAGE_GET_TOOLTIP_YES="yes";Blockly.Msg.IMAGE_INVERT="invert";Blockly.Msg.IMAGE_INVERT_TOOLTIP="Inverts the image. Each pixel with value 0 or none will be set to # or 9 and pixels with value # or 9 will be set to 0 or none."; +Blockly.Msg.IMAGE_SHIFT="shift";Blockly.Msg.IMAGE_SHIFT_TOOLTIP="Shifts the image in the given direction by the given number";Blockly.Msg.IMAGE_TOOLTIP="Creates an image for the display. You can specify the brightness of each pixel from 0 to 9 or # where 0 means no light, 1 is a bit bright and 9 or # is the brightest value.";Blockly.Msg.INFO_DOCUMENTATION_HINT="Document your program here ...";Blockly.Msg.INFO_TAGS="Tags";Blockly.Msg.INFRARED_DISTANCE_GETSAMPLE_TOOLTIP="Gets the current relative distance from the infrared sensor. The values are between 1 and 75 cm."; +Blockly.Msg.INFRARED_GETSAMPLE_TOOLTIP="Gets the current reading from the infrared sensor.";Blockly.Msg.INFRARED_GETSAMPLE_TOOLTIP_MBOT="Gets the current reading from the light sensor -- if a black line is detected (true/false).";Blockly.Msg.INFRARED_PRESENCE_GETSAMPLE_TOOLTIP="Returns an array of measurements for the presence of a beacon.";Blockly.Msg.INFRARED_TOOLTIP="Represents an infrared sensor.";Blockly.Msg.INLINE_INPUTS="Inline Inputs";Blockly.Msg.INPUT="input";Blockly.Msg.INTERNAL_PORT="internal"; +Blockly.Msg.IRSEEKER_TOOLTIP="Represents a HiTechnic NXT IRSeeker V2 sensor.";Blockly.Msg.I_TIME="integration time";Blockly.Msg.JOYSTICK_GETSAMPLE_TOOLTIP="Gets the current reading of one of the axes of the joystick";Blockly.Msg.JOYSTICK_GETSAMPLE_TOOLTIP_MBOT2="Is the joystick moved into the specified direction or pressed?";Blockly.Msg.JOYSTICK_TOOLTIP="Represents a joystick";Blockly.Msg.KEY_ISPRESSED_TOOLTIP="Is the selected button pressed?";Blockly.Msg.KEY_TOOLTIP="Represents a button."; +Blockly.Msg.LANGUAGE="language";Blockly.Msg.LANGUAGE_ARABIC="Arabic";Blockly.Msg.LANGUAGE_BRAZILIAN="Brazilian";Blockly.Msg.LANGUAGE_CHINESE="Chinese";Blockly.Msg.LANGUAGE_CZECH="Czech";Blockly.Msg.LANGUAGE_DANISH="Danish";Blockly.Msg.LANGUAGE_DUTCH="Dutch";Blockly.Msg.LANGUAGE_ENGLISH="English";Blockly.Msg.LANGUAGE_FINNISH="Finnish";Blockly.Msg.LANGUAGE_FRENCH="French";Blockly.Msg.LANGUAGE_GERMAN="German";Blockly.Msg.LANGUAGE_GREEK="Greek";Blockly.Msg.LANGUAGE_ITALIAN="Italian"; +Blockly.Msg.LANGUAGE_JAPANESE="Japanese";Blockly.Msg.LANGUAGE_KOREAN="Korean";Blockly.Msg.LANGUAGE_NORWEGIAN="Norwegian";Blockly.Msg.LANGUAGE_POLISH="Polish";Blockly.Msg.LANGUAGE_PORTUGUESE="Portuguese";Blockly.Msg.LANGUAGE_RUSSIAN="Russian";Blockly.Msg.LANGUAGE_SPANISH="Spanish";Blockly.Msg.LANGUAGE_SWEDISH="Swedish";Blockly.Msg.LANGUAGE_TURKISH="Turkish";Blockly.Msg.LCDI2C_TOOLTIP="Represents an LCD 1602 display with a soldered I\u00b2C module.";Blockly.Msg.LCD_TOOLTIP="Represents an LCD display."; +Blockly.Msg.LED="LED";Blockly.Msg.LEDBAR="LED Bar";Blockly.Msg.LEDBAR_SET_TOOLTIP="Sets the specified LED [0-9] on the LED Bar to the given brightness [0-8].";Blockly.Msg.LEDBAR_TOOLTIP="Represents a Grove LED Bar v2.0 by Seeed.";Blockly.Msg.LEDBAR_ULTRASONIC2_SET_TOOLTIP="Sets the specified LED [1-8] on the ultrasonic sensor 2 to the given brightness [0-100].";Blockly.Msg.LED_MATRIX="LED matrix";Blockly.Msg.LED_OFF="turn LED off";Blockly.Msg.LED_OFF_QUADRGB_TOOLTIP="Turns off the fill lights of the quad RGB sensor"; +Blockly.Msg.LED_OFF_TOOLTIP="Turns the LED off.";Blockly.Msg.LED_ON="turn LED on";Blockly.Msg.LED_ON_QUADRGB_TOOLTIP="Turns on the fill lights of the quad RGB sensor in the given color.";Blockly.Msg.LED_ON_TOOLTIP="Turns the LED on and changes the color.";Blockly.Msg.LED_ON_TOOLTIP_CB="Turns the LED on and changes the color. Attention: calli:Bot only supports 7 different colors, the nearest will be chosen.";Blockly.Msg.LED_ON_TOOLTIP_EDISON="Turns the LED on.";Blockly.Msg.LED_ON_WHITE_TOOLTIP="Turns the LED on. Watch out, it's very bright!"; Blockly.Msg.LED_SET_BRIGHTNESS_TOOLTIP="Sets the brightness of all LEDs [0-100]";Blockly.Msg.LED_TOOLTIP="Represents an LED.";Blockly.Msg.LEFT="left";Blockly.Msg.LEFT_FRONT_RGBLED="RGB LED left front";Blockly.Msg.LEFT_INFRARED_SENSOR="infraredsensor left";Blockly.Msg.LEFT_LED="LED left";Blockly.Msg.LEFT_MOTOR="motor left";Blockly.Msg.LEFT_REAR_RGBLED="RGB LED left rear";Blockly.Msg.LIGHTVEML_TOOLTIP="Represents a visible/UV light sensor.";Blockly.Msg.LIGHT_ARDU_TOOLTIP="Represents 8 light sensors."; Blockly.Msg.LIGHT_GETSAMPLE_TOOLTIP="Gets the current reading from the light sensor in percent.";Blockly.Msg.LIGHT_LDR="Light (LDR)";Blockly.Msg.LIGHT_TOOLTIP="Represents a light sensor.";Blockly.Msg.LISTS_CREATE_EMPTY_HELPURL="https://github.com/google/blockly/wiki/Lists#create-empty-list";Blockly.Msg.LISTS_CREATE_EMPTY_TITLE="create empty list";Blockly.Msg.LISTS_CREATE_EMPTY_TOOLTIP="Returns a list, of length 0, containing no data records";Blockly.Msg.LISTS_CREATE_TITLE="list"; Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TITLE_ADD="list";Blockly.Msg.LISTS_CREATE_WITH_CONTAINER_TOOLTIP="Add, remove, or reorder sections to reconfigure this list block.";Blockly.Msg.LISTS_CREATE_WITH_HELPURL="https://github.com/google/blockly/wiki/Lists#create-list-with";Blockly.Msg.LISTS_CREATE_WITH_INPUT_WITH="create list with";Blockly.Msg.LISTS_CREATE_WITH_ITEM_TOOLTIP="Add an item to the list.";Blockly.Msg.LISTS_CREATE_WITH_TOOLTIP="Create a list with any number of items."; @@ -1834,9 +1835,9 @@ Blockly.Msg.ORA_USER_DELETE_SUCCESS="Your account \u00bb$\u00ab was successfully Blockly.Msg.ORA_USER_GET_ALL_SUCCESS="Users loaded";Blockly.Msg.ORA_USER_GET_ONE_ERROR_ID_OR_PASSWORD_WRONG="You have entered wrong user name or password. Please try again!";Blockly.Msg.ORA_USER_GET_ONE_SUCCESS="Login successful";Blockly.Msg.ORA_USER_GROUP_SAVE_AS_ERROR_USER_GROUP_EXISTS="This user already belongs to the group";Blockly.Msg.ORA_USER_PASSWORD_RECOVERY_EXPIRED_URL="The link is not valid anymore. Please ask for resetting your password again, if you still cannot remember it!"; Blockly.Msg.ORA_USER_PASSWORD_RECOVERY_SENT_MAIL_FAIL="Sorry, we cannot send a mail to you, please contact \u00bbsupport-o-r@iais.fraunhofer.de\u00ab";Blockly.Msg.ORA_USER_PASSWORD_RECOVERY_SENT_MAIL_SUCCESS="We send a mail to you, please check your mailbox!";Blockly.Msg.ORA_USER_TO_ADD_NOT_FOUND="User was not found";Blockly.Msg.ORA_USER_TO_SHARE_DOES_NOT_EXIST="The user with which you would like to share the program does not exist.
Try it again!"; Blockly.Msg.ORA_USER_TO_SHARE_SAME_AS_LOGIN_USER="You cannot share any programs with yourself.";Blockly.Msg.ORA_USER_UPDATE_ERROR_NOT_SAVED_TO_DB="The password could not be saved to the database. Are you sure that you entered the old password correctly?";Blockly.Msg.ORA_USER_UPDATE_SUCCESS="Your changes have been successfully saved!";Blockly.Msg.ORDINAL_NUMBER_SUFFIX="";Blockly.Msg.OUTPUT="output";Blockly.Msg.PARTICLE_TOOLTIP="Represents SDS011 particle sensor.";Blockly.Msg.PASSWORD="Password"; -Blockly.Msg.PIN_ISTOUCHED_TOOLTIP="Is the selected pin touched?";Blockly.Msg.PIN_PULL="pull";Blockly.Msg.PIN_PULL_DOWN="down";Blockly.Msg.PIN_PULL_NONE="none";Blockly.Msg.PIN_PULL_UP="up";Blockly.Msg.PIN_SET_PULL_BLOCK_WARNING="This block got replaced. Please use the 'Sensor digital'-block from the robotconfiguration";Blockly.Msg.PIN_SET_PULL_TOOLTIP="Sets the pull of the chosen pin";Blockly.Msg.PIN_WRITE="write";Blockly.Msg.PITCH="pitch";Blockly.Msg.PLAY="play";Blockly.Msg.PLAY_DURATION="duration ms"; -Blockly.Msg.PLAY_EIGHTH="eighth note";Blockly.Msg.PLAY_FILE="file";Blockly.Msg.PLAY_FILE_TOOLTIP="Plays a sound file.";Blockly.Msg.PLAY_FREQUENZ="frequency Hz";Blockly.Msg.PLAY_GETVOLUME_TOOLTIP="Gets current volume.";Blockly.Msg.PLAY_HALF="half note";Blockly.Msg.PLAY_NOTE="note";Blockly.Msg.PLAY_NOTE_TOOLTIP="Plays a music note";Blockly.Msg.PLAY_QUARTER="quarter note";Blockly.Msg.PLAY_SETVOLUME_TOOLTIP="Sets volume.";Blockly.Msg.PLAY_SIXTEENTH="sixteenth note";Blockly.Msg.PLAY_TONE="tone"; -Blockly.Msg.PLAY_TONE_TOOLTIP="Plays a tone. Use frequency and duration to determin the tone pitch and duration.";Blockly.Msg.PLAY_TOOLTIP="Represents a buzzer.";Blockly.Msg.PLAY_VOLUME="volume";Blockly.Msg.PLAY_WHOLE="whole note";Blockly.Msg.POPUP_ABOUT_JOIN="I want to help";Blockly.Msg.POPUP_ABOUT_TEXT="The Open Roberta Lab is a cloud-based integrated programming environment that enables children and adolescents to program easily different robot/microcontroller systems. This platform is completely open source so taking part is desirable! Both the software and the open source developer tools are available via Fraunhofer servers."; +Blockly.Msg.PERCENT="%";Blockly.Msg.PIN_ISTOUCHED_TOOLTIP="Is the selected pin touched?";Blockly.Msg.PIN_PULL="pull";Blockly.Msg.PIN_PULL_DOWN="down";Blockly.Msg.PIN_PULL_NONE="none";Blockly.Msg.PIN_PULL_UP="up";Blockly.Msg.PIN_SET_PULL_BLOCK_WARNING="This block got replaced. Please use the 'Sensor digital'-block from the robotconfiguration";Blockly.Msg.PIN_SET_PULL_TOOLTIP="Sets the pull of the chosen pin";Blockly.Msg.PIN_WRITE="write";Blockly.Msg.PITCH="pitch";Blockly.Msg.PLAY="play"; +Blockly.Msg.PLAY_DURATION="duration ms";Blockly.Msg.PLAY_EIGHTH="eighth note";Blockly.Msg.PLAY_FILE="file";Blockly.Msg.PLAY_FILE_TOOLTIP="Plays a sound file.";Blockly.Msg.PLAY_FREQUENZ="frequency Hz";Blockly.Msg.PLAY_GETVOLUME_TOOLTIP="Gets current volume.";Blockly.Msg.PLAY_HALF="half note";Blockly.Msg.PLAY_NOTE="note";Blockly.Msg.PLAY_NOTE_TOOLTIP="Plays a music note";Blockly.Msg.PLAY_QUARTER="quarter note";Blockly.Msg.PLAY_SETVOLUME_TOOLTIP="Sets volume.";Blockly.Msg.PLAY_SIXTEENTH="sixteenth note"; +Blockly.Msg.PLAY_TONE="tone";Blockly.Msg.PLAY_TONE_TOOLTIP="Plays a tone. Use frequency and duration to determin the tone pitch and duration.";Blockly.Msg.PLAY_TOOLTIP="Represents a buzzer.";Blockly.Msg.PLAY_VOLUME="volume";Blockly.Msg.PLAY_WHOLE="whole note";Blockly.Msg.POPUP_ABOUT_JOIN="I want to help";Blockly.Msg.POPUP_ABOUT_TEXT="The Open Roberta Lab is a cloud-based integrated programming environment that enables children and adolescents to program easily different robot/microcontroller systems. This platform is completely open source so taking part is desirable! Both the software and the open source developer tools are available via Fraunhofer servers."; Blockly.Msg.POPUP_ABOUT_TEXT_DEV="The Open Roberta Lab is an open-source programming platform developed by Fraunhofer IAIS within the initiative \u00bbRoberta \u2013 Learning with Robots\u00ab";Blockly.Msg.POPUP_ABOUT_TEXT_GOOG="Open Roberta was initiated in collaboration with Google Germany to reduce the hurdles for students, teachers and schools programming educational robots.";Blockly.Msg.POPUP_ABOUT_TEXT_NRW="As part of the project \u00bbAI Algorithms in Computer Science Education\u00ab, the Ministry for Schools and Education of the State of North Rhine-Westphalia is funding the integration of Artificial Neural Networks into the Open Roberta Lab as well as the development of suitable learning content and materials on Artificial Intelligence."; Blockly.Msg.POPUP_AGE="Age";Blockly.Msg.POPUP_ATTENTION="Attention";Blockly.Msg.POPUP_BACKGROUND_REPLACE="A program with the same name already exists.
Would you like to replace it?";Blockly.Msg.POPUP_BACKGROUND_REPLACE_CONFIGURATION="A configuration with the same name already exists.
Would you like to replace it?";Blockly.Msg.POPUP_BACKGROUND_STORAGE="The Open Roberta Lab can automatically load your simulation background on your next visits. For this purpose, we will save data in the Local Storage on your computer. More information in our privacy policy."; Blockly.Msg.POPUP_BEFOREUNLOAD="You have unsaved changes in your program or configuration. Sign in and save your program or configuration.";Blockly.Msg.POPUP_BEFOREUNLOAD_LOGGEDIN="You have unsaved changes in your program or configuration.";Blockly.Msg.POPUP_CANCEL="Cancel";Blockly.Msg.POPUP_CHANGE_PASSWORD="change password ...";Blockly.Msg.POPUP_CONFIRM_CONTINUE="

Press \u00bbOK\u00ab to discard your work. Press \u00bbCancel\u00ab to stay here and save your work first."; @@ -1930,7 +1931,7 @@ Blockly.Msg.WAIT_FOR_TOOLTIP="Waits for sensor values.";Blockly.Msg.WAIT_OR="or Blockly.Msg.XTICK="distance between X ticks";Blockly.Msg.Y="y";Blockly.Msg.YAW="yaw";Blockly.Msg.YEND="end of Y axis";Blockly.Msg.YES="yes";Blockly.Msg.YLABEL="Y axis label";Blockly.Msg.YOUNGER_THEN_14="I am younger than 16!";Blockly.Msg.YSTART="start of Y axis";Blockly.Msg.YTICK="distance between Y ticks";Blockly.Msg.Z="z";Blockly.Msg.PROCEDURES_DEFRETURN_TITLE=Blockly.Msg.PROCEDURES_DEFNORETURN_TITLE;Blockly.Msg.LISTS_GET_SUBLIST_INPUT_IN_LIST=Blockly.Msg.LISTS_INLIST; Blockly.Msg.ACTION_LEDBAR=Blockly.Msg.LEDBAR;Blockly.Msg.KEY_GETSAMPLE_TOOLTIP=Blockly.Msg.KEY_ISPRESSED_TOOLTIP;Blockly.Msg.SENSOR_INFRARED_GETSAMPLE_TOOLTIP=Blockly.Msg.INFRARED_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_PINTOUCH_PRESSED_GETSAMPLE_TOOLTIP=Blockly.Msg.PIN_ISTOUCHED_TOOLTIP;Blockly.Msg.HTCOLOUR_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_HUMIDITY_TEMPERATURE_GETSAMPLE_TOOLTIP=Blockly.Msg.TEMPERATURE_GETSAMPLE_TOOLTIP;Blockly.Msg.MODE_DOWN=Blockly.Msg.SENSOR_GESTURE_DOWN; Blockly.Msg.SENSOR_COLOUR_RGB_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_RGB_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_ULTRASONIC_GETSAMPLE_TOOLTIP=Blockly.Msg.ULTRASONIC_GETSAMPLE_TOOLTIP;Blockly.Msg.MODE_UP=Blockly.Msg.SENSOR_GESTURE_UP;Blockly.Msg.LISTS_CREATE_WITH_ITEM_TITLE=Blockly.Msg.VARIABLES_DEFAULT_NAME;Blockly.Msg.SENSOR_HTCOLOUR_COLOUR_GETSAMPLE_TOOLTIP=Blockly.Msg.SENSOR_COLOUR_COLOUR_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP=Blockly.Msg.ENCODER_GETSAMPLE_TOOLTIP; -Blockly.Msg.MODE_FACE_UP=Blockly.Msg.SENSOR_GESTURE_FACE_UP;Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP=Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP;Blockly.Msg.MATH_CHANGE_TITLE_ITEM=Blockly.Msg.VARIABLES_DEFAULT_NAME;Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP=Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP;Blockly.Msg.CONTROLS_FOR_INPUT_DO=Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; +Blockly.Msg.MODE_FACE_UP=Blockly.Msg.SENSOR_GESTURE_FACE_UP;Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP=Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP;Blockly.Msg.ACTION_DCMOTOR=Blockly.Msg.DCMOTOR_BOARD;Blockly.Msg.MATH_CHANGE_TITLE_ITEM=Blockly.Msg.VARIABLES_DEFAULT_NAME;Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP=Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP;Blockly.Msg.CONTROLS_FOR_INPUT_DO=Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; Blockly.Msg.SENSOR_COLOUR_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_GETSAMPLE_TOOLTIP;Blockly.Msg.CONTROLS_IF_ELSE_TITLE_ELSE=Blockly.Msg.CONTROLS_IF_MSG_ELSE;Blockly.Msg.SENSOR_COLOUR_COLOUR_GETSAMPLE_TOOLTIP=Blockly.Msg.COLOUR_COLOUR_GETSAMPLE_TOOLTIP;Blockly.Msg.SENSOR_JOYSTICK_GETSAMPLE_TOOLTIP=Blockly.Msg.JOYSTICK_GETSAMPLE_TOOLTIP_MBOT2;Blockly.Msg.SENSOR_SOUND_GETSAMPLE_TOOLTIP_CALLIOPE=Blockly.Msg.MICROPHONE_GETSAMPLE_TOOLTIP;Blockly.Msg.MODE_FREEFALL=Blockly.Msg.SENSOR_GESTURE_FREEFALL; Blockly.Msg.PROCEDURES_DEFRETURN_DO=Blockly.Msg.PROCEDURES_DEFNORETURN_DO;Blockly.Msg.LISTS_GET_INDEX_HELPURL=Blockly.Msg.LISTS_INDEX_OF_HELPURL;Blockly.Msg.SENSOR_TIMER_GETSAMPLE_TOOLTIP=Blockly.Msg.TIMER_GETSAMPLE_TOOLTIP;Blockly.Msg.LISTS_INDEX_OF_INPUT_IN_LIST=Blockly.Msg.LISTS_INLIST;Blockly.Msg.SENSOR_ACCELEROMETER_VALUE_GETSAMPLE_TOOLTIP=Blockly.Msg.ACCELEROMETER_ROTATION_TOOLTIP;Blockly.Msg.ORA_ROBOT_PUSH_RUN=Blockly.Msg.MESSAGE_EDIT_START;Blockly.Msg.LISTS_SET_INDEX_INPUT_IN_LIST=Blockly.Msg.LISTS_INLIST; Blockly.Msg.PROCEDURES_DEFRETURN_COMMENT=Blockly.Msg.PROCEDURES_DEFNORETURN_COMMENT;Blockly.Msg.MODE_FACE_DOWN=Blockly.Msg.SENSOR_GESTURE_FACE_DOWN;Blockly.Msg.TEXT_CREATE_JOIN_ITEM_TITLE_ITEM=Blockly.Msg.VARIABLES_DEFAULT_NAME;Blockly.Msg.SENSOR_HUMIDITY_HUMIDITY_GETSAMPLE_TOOLTIP=Blockly.Msg.SENSOR_HUMIDITY_GETSAMPLE_TOOLTIP;Blockly.Msg.MODE_SHAKE=Blockly.Msg.SENSOR_GESTURE_SHAKE;Blockly.Msg.SENSOR_TEMPERATURE_TEMPERATURE_GETSAMPLE_TOOLTIP=Blockly.Msg.TEMPERATURE_GETSAMPLE_TOOLTIP; @@ -2400,7 +2401,9 @@ Blockly.Blocks.mbedActions_servo_set={init:function(){this.setColour(Blockly.CAT Blockly.Blocks.mbedActions_motionkit_single_set={init:function(){this.setColour(Blockly.CAT_ACTION_RGB);var a=new Blockly.FieldDropdown([[Blockly.Msg.LEFT,"C17"],[Blockly.Msg.RIGHT,"C16"],[Blockly.Msg.BOTH,"BOTH"]]),b=new Blockly.FieldDropdown([[Blockly.Msg.MOTOR_FOREWARD,"FOREWARD"],[Blockly.Msg.MOTOR_BACKWARD,"BACKWARD"],[Blockly.Msg.OFF,"OFF"]]);this.appendDummyInput().appendField(Blockly.Msg.MOTIONKIT).appendField(a,"MOTORPORT").appendField(b,"DIRECTION");this.setPreviousStatement(!0);this.setNextStatement(!0); this.setTooltip(Blockly.Msg.MOTIONKIT_SINGLE_TOOLTIP)}}; Blockly.Blocks.mbedActions_motionkit_dual_set={init:function(){this.setColour(Blockly.CAT_ACTION_RGB);var a=[[Blockly.Msg.MOTOR_FOREWARD,"FOREWARD"],[Blockly.Msg.MOTOR_BACKWARD,"BACKWARD"],[Blockly.Msg.OFF,"OFF"]],b=new Blockly.FieldDropdown(a);a=new Blockly.FieldDropdown(a);this.appendDummyInput().appendField(Blockly.Msg.MOTIONKIT).appendField(Blockly.Msg.LEFT).appendField(b,"DIRECTION_LEFT");this.appendDummyInput().setAlign(Blockly.ALIGN_RIGHT).appendField(Blockly.Msg.RIGHT).appendField(a,"DIRECTION_RIGHT"); -this.setPreviousStatement(!0);this.setNextStatement(!0);this.setTooltip(Blockly.Msg.MOTIONKIT_DUAL_TOOLTIP)}};Blockly.Blocks.mbedBrick={}; +this.setPreviousStatement(!0);this.setNextStatement(!0);this.setTooltip(Blockly.Msg.MOTIONKIT_DUAL_TOOLTIP)}}; +Blockly.Blocks.mbedActions_dcmotor_set={init:function(){this.setColour(Blockly.CAT_ACTION_RGB);this.dropDownPorts=getConfigPorts("dcmotor");this.dependConfig={type:"dcmotor",dropDown:this.dropDownPorts};this.motorDirection=new Blockly.FieldDropdown([[Blockly.Msg.DCMOTOR_BACKWARD,"Backward"],[Blockly.Msg.DCMOTOR_STOP,"Stop"],[Blockly.Msg.DCMOTOR_FORWARD,"Forward"],[Blockly.Msg.DCMOTOR_NUMERIC,"Numeric"]]);this.appendValueInput("MOTOR").appendField(Blockly.Msg.DCMOTOR_BOARD).appendField(this.dropDownPorts, +"ACTORPORT").setAlign(Blockly.ALIGN_RIGHT).appendField(Blockly.Msg.DCMOTOR_MOTOR).setCheck("Number");this.appendValueInput("SPEED").setAlign(Blockly.ALIGN_RIGHT).appendField(Blockly.Msg.DCMOTOR_SPEED).appendField(this.motorDirection,"DIRECTION").appendField(Blockly.Msg.PERCENT).setCheck("Number");this.setPreviousStatement(!0);this.setNextStatement(!0);this.setTooltip(Blockly.Msg.DCMOTOR_TOOLTIP)}};Blockly.Blocks.mbedBrick={}; Blockly.Blocks["mbedBrick_Calliope-Brick"]={init:function(){this.setColour("#BBBBBB");this.setInputsInline(!1);this.appendDummyInput().appendField(new Blockly.FieldLabel("Calliope","brick_label"));this.appendValueInput("PP").appendField("+").setAlign(Blockly.ALIGN_RIGHT).setCheck("Port");this.appendValueInput("PM").appendField("-").setAlign(Blockly.ALIGN_RIGHT).setCheck("Port");this.appendValueInput("P0").appendField("0").setAlign(Blockly.ALIGN_RIGHT).setCheck("Port");this.appendValueInput("P1").appendField("1").setAlign(Blockly.ALIGN_RIGHT).setCheck("Port"); this.appendValueInput("P2").appendField("2").setAlign(Blockly.ALIGN_RIGHT).setCheck("Port");this.appendValueInput("P3").appendField("3").setAlign(Blockly.ALIGN_RIGHT).setCheck("Port");this.setTooltip(Blockly.Msg.CALLIOPEBRICK_TOOLTIP)}}; Blockly.Blocks["mbedBrick_microbit-Brick"]={init:function(){this.setColour("#BBBBBB");this.setInputsInline(!1);this.appendDummyInput().appendField(new Blockly.FieldLabel("micro:bit","brick_label"));this.appendValueInput("PP").appendField("+").setAlign(Blockly.ALIGN_RIGHT).setCheck("Port");this.appendValueInput("PM").appendField("-").setAlign(Blockly.ALIGN_RIGHT).setCheck("Port");this.appendValueInput("P0").appendField("0").setAlign(Blockly.ALIGN_RIGHT).setCheck("Port");this.appendValueInput("P1").appendField("1").setAlign(Blockly.ALIGN_RIGHT).setCheck("Port"); @@ -2592,7 +2595,7 @@ confBlocks.wireless.sensebox={title:"WIRELESS",dropdowns:[["SOCKET",[["XBEE1","X confBlocks.particle.sensebox={title:"PARTICLE",ports:[["Serial","SERIAL"]],pins:function(a){return[["Serial1","Serial1"],["Serial2","Serial2"]]},sensor:!0};confBlocks.gps={};confBlocks.gps.sensebox={title:"GPS",ports:[["I2C","I2C"]],pins:function(){return[["I2C","I2C"]]},sensor:!0};confBlocks.fourdigitdisplay={};confBlocks.fourdigitdisplay.calliope={title:"FOURDIGITDISPLAY",ports:[["pin","PIN1"]],pins:function(a){return[["A1","5"]]},sensor:!1};confBlocks.ledbar={}; confBlocks.ledbar.calliope={title:"LEDBAR",ports:[["pin","PIN1"]],pins:function(a){return[["A1","5"]]},sensor:!1};confBlocks.callibot={}; confBlocks.callibot.calliope={title:"CALLIBOT",super:!0,subcomponents:[["LEFT_MOTOR","MOTOR_L"],["RIGHT_MOTOR","MOTOR_R"],["LEFT_FRONT_RGBLED","RGBLED_LF"],["RIGHT_FRONT_RGBLED","RGBLED_RF"],["LEFT_REAR_RGBLED","RGBLED_LR"],["RIGHT_REAR_RGBLED","RGBLED_RR"],["ALL_RGBLED","RGBLED_A"],["LEFT_LED","LED_L"],["RIGHT_LED","LED_R"],["BOTH_LED","LED_B"],["LEFT_INFRARED_SENSOR","INFRARED_L"],["RIGHT_INFRARED_SENSOR","INFRARED_R"],["SENSOR_ULTRASONIC","ULTRASONIC"],["SERVO_S1","SERVO_S1"],["SERVO_S2","SERVO_S2"]]}; -confBlocks.environmental={};confBlocks.environmental.sensebox={title:"ENVIRONMENTAL",ports:[["I2C","I2C"]],pins:function(a){return[["I2C","I2C"]]},sensor:!0};for(var confBlock in confBlocks){var confObj=confBlocks[confBlock];confObj.hasOwnProperty("arduino")&&(confObj.nano33ble=confObj.arduino)} +confBlocks.environmental={};confBlocks.environmental.sensebox={title:"ENVIRONMENTAL",ports:[["I2C","I2C"]],pins:function(a){return[["I2C","I2C"]]},sensor:!0};confBlocks.dcmotor={};confBlocks.dcmotor.calliope={title:"DCMOTOR",ports:[["pin","PIN1"]],pins:function(a){return[["A0","A0"]]},inputs:[["I2CADDRESS","0x60"]],sensor:!1};for(var confBlock in confBlocks){var confObj=confBlocks[confBlock];confObj.hasOwnProperty("arduino")&&(confObj.nano33ble=confObj.arduino)} function initConfBlocks(){for(var a in confBlocks)confBlocks.hasOwnProperty(a)&&(Blockly.Blocks["robConf_"+a]={confBlock:a,init:function(){Blockly.Blocks.robConf_generic.init.call(this,confBlocks[this.confBlock][this.workspace.device])}})}initConfBlocks();Blockly.Blocks.robActions={}; Blockly.Blocks.robActions_setLanguage={init:function(){this.setColour(Blockly.CAT_ACTION_RGB);var a=new Blockly.FieldDropdown([[Blockly.Msg.LANGUAGE_GERMAN,"GERMAN"],[Blockly.Msg.LANGUAGE_ENGLISH,"ENGLISH"],[Blockly.Msg.LANGUAGE_FRENCH,"FRENCH"],[Blockly.Msg.LANGUAGE_SPANISH,"SPANISH"],[Blockly.Msg.LANGUAGE_ITALIAN,"ITALIAN"],[Blockly.Msg.LANGUAGE_DUTCH,"DUTCH"],[Blockly.Msg.LANGUAGE_FINNISH,"FINNISH"],[Blockly.Msg.LANGUAGE_POLISH,"POLISH"],[Blockly.Msg.LANGUAGE_RUSSIAN,"RUSSIAN"],[Blockly.Msg.LANGUAGE_TURKISH, "TURKISH"],[Blockly.Msg.LANGUAGE_CZECH,"CZECH"],[Blockly.Msg.LANGUAGE_PORTUGUESE,"PORTUGUESE"],[Blockly.Msg.LANGUAGE_DANISH,"DANISH"]]);if("nao"===this.workspace.device)a=new Blockly.FieldDropdown([[Blockly.Msg.LANGUAGE_GERMAN,"GERMAN"],[Blockly.Msg.LANGUAGE_ENGLISH,"ENGLISH"],[Blockly.Msg.LANGUAGE_FRENCH,"FRENCH"],[Blockly.Msg.LANGUAGE_JAPANESE,"JAPANESE"],[Blockly.Msg.LANGUAGE_CHINESE,"CHINESE"],[Blockly.Msg.LANGUAGE_SPANISH,"SPANISH"],[Blockly.Msg.LANGUAGE_KOREAN,"KOREAN"],[Blockly.Msg.LANGUAGE_ITALIAN, diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/ar.js b/OpenRobertaServer/staticResources/blockly/msg/js/ar.js index 3ba2d16eaa..aef059a31b 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/ar.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/ar.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "حذف كل مناعات %1؟"; Blockly.Msg.DELETE_BLOCK = "إحذف القطعة"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/az.js b/OpenRobertaServer/staticResources/blockly/msg/js/az.js index 5109ce42a2..e9f1a94a56 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/az.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/az.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Bütün %1 blok silinsin?"; Blockly.Msg.DELETE_BLOCK = "Bloku sil"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/ba.js b/OpenRobertaServer/staticResources/blockly/msg/js/ba.js index c62a4b6da3..af702c1657 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/ba.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/ba.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Бөтә %1 блоктарҙы юйырғамы?"; Blockly.Msg.DELETE_BLOCK = "Блокты юйҙырырға"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/bcc.js b/OpenRobertaServer/staticResources/blockly/msg/js/bcc.js index cb0105076b..8ffbf6bfe3 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/bcc.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/bcc.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Delete all %1 blocks?"; // untranslated Blockly.Msg.DELETE_BLOCK = "حذف بلوک"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/be-tarask.js b/OpenRobertaServer/staticResources/blockly/msg/js/be-tarask.js index 2b9e2de584..22ddfcd8ca 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/be-tarask.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/be-tarask.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Выдаліць усе блёкі %1?"; Blockly.Msg.DELETE_BLOCK = "Выдаліць блёк"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/be.js b/OpenRobertaServer/staticResources/blockly/msg/js/be.js index 44fcfe3be5..976d61d68f 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/be.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/be.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "светладыёд"; Blockly.Msg.ACTION_MOTOR = "матор"; Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "прайграць"; Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Выдаліць усе блокі %1?"; Blockly.Msg.DELETE_BLOCK = "Выдаліць блок"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 - небяспечны пароль. П Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Паўтарыце пароль!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Прадстаўляе сэнсар вільготнасці."; +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Правярае ўмову калі. Калі ўмова выконваецца, выконвае дзеянне ва ўмоўным блоку."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "градус"; Blockly.Msg.MOTOR_DISTANCE = "адлегласць, см"; Blockly.Msg.MOTOR_DRIVE = "ехаць"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "вольны рух"; Blockly.Msg.MOTOR_FOREWARD = "наперад"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Вяртае бягучую магутнасць, пададзеную на матор."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "вывад"; Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "падцяжка"; Blockly.Msg.PIN_PULL_DOWN = "уніз"; @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Вяртае бягучае значэнне датчыка руху."; Blockly.Msg.SENSOR_MS_TIMER = "у мс"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "альбо чакаць да"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Чакае пэўны час у мілісекундах."; Blockly.Msg.WAIT_TOOLTIP = "Чакае, пакуль умова не стане ісцінай."; Blockly.Msg.WAIT_UNTIL = "чакаць пакуль"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Дасылае велічыню на абраны пін."; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/bg.js b/OpenRobertaServer/staticResources/blockly/msg/js/bg.js index c1a7ddd6fb..3f617917e4 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/bg.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/bg.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Изтриване на всички 1% блокове?"; Blockly.Msg.DELETE_BLOCK = "Изтрий блок"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/bn.js b/OpenRobertaServer/staticResources/blockly/msg/js/bn.js index dd7787b500..9ab752ff08 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/bn.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/bn.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Delete all %1 blocks?"; // untranslated Blockly.Msg.DELETE_BLOCK = "ব্লকটি মুছে ফেল"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/br.js b/OpenRobertaServer/staticResources/blockly/msg/js/br.js index 7035aa9a38..9d3cf8b288 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/br.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/br.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Diverkañ an holl vloc'hoù %1 ?"; Blockly.Msg.DELETE_BLOCK = "Dilemel ar bloc'h"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/ca.js b/OpenRobertaServer/staticResources/blockly/msg/js/ca.js index bae7c474a7..a131e1af7c 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/ca.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/ca.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Esborrar els %1 blocs?"; Blockly.Msg.DELETE_BLOCK = "Esborra bloc"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Comprova la condició del 'si'. Si la condició és certa, executa l'acció 'aleshores'."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "grado"; Blockly.Msg.MOTOR_DISTANCE = "distancia en cm"; Blockly.Msg.MOTOR_DRIVE = "mover"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "parar"; Blockly.Msg.MOTOR_FOREWARD = "hacia delante"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Obtiene la potencia actual de este motor."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "en ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "o esperar a"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Espera un tiempo en milisegundos"; Blockly.Msg.WAIT_TOOLTIP = "espera hasta que la condición sea verdadera"; Blockly.Msg.WAIT_UNTIL = "esperar hasta"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Manda el valor al pin elegido"; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/cs.js b/OpenRobertaServer/staticResources/blockly/msg/js/cs.js index 1f00fa9d9d..26a301acee 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/cs.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/cs.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Smazat všech %1 bloků?"; Blockly.Msg.DELETE_BLOCK = "Smazat blok"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 není bezpečné heslo. Raději vymyslet Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Hotovo? Pro jistotu se přesvědčte!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Zkontroluje podmínku v »když«. Pokud je podmínka splněna, provede akce v části »tak«."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "stupně"; Blockly.Msg.MOTOR_DISTANCE = "vzdálenost v cm"; Blockly.Msg.MOTOR_DRIVE = "jeď"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "uvolnit"; Blockly.Msg.MOTOR_FOREWARD = "dopředu"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Vrátí aktuální rychlost/sílu tohoto motoru."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "v ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "nebo čekej na"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Čeká po určitý čas (v ms)."; Blockly.Msg.WAIT_TOOLTIP = "Čeká, až bude podmínka splněna."; Blockly.Msg.WAIT_UNTIL = "čekej až"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Pošle hodnotu na vybraný pin."; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/da.js b/OpenRobertaServer/staticResources/blockly/msg/js/da.js index 212cd4b55c..fda2dec239 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/da.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/da.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Slet alle %1 blokke?"; Blockly.Msg.DELETE_BLOCK = "Slet blok"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checker betingelsen i 'hvis'. Hvis betingelsen er sand udføres 'gør' handlingen."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "grad"; Blockly.Msg.MOTOR_DISTANCE = "afstand cm"; Blockly.Msg.MOTOR_DRIVE = "kør"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "flyd"; Blockly.Msg.MOTOR_FOREWARD = "fremad"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Aflæser denne motors nuværende kræft."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "i ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "eller vent på"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Venter på at en betingelse bliver opfyldt."; Blockly.Msg.WAIT_UNTIL = "vent indtil"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/de.js b/OpenRobertaServer/staticResources/blockly/msg/js/de.js index 1012980bc4..8f5628fe2d 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/de.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/de.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Wechsle die Farbe der nächsten Di Blockly.Msg.ACTION_LED = "LED"; Blockly.Msg.ACTION_MOTOR = "Motor"; Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "OmniDrive"; Blockly.Msg.ACTION_PLAY = "Spiele"; Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Spielt deine zuletzt aufgenommenen Töne."; Blockly.Msg.ACTION_PLOTTING = "Zeichne"; @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "Gruppen"; Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name der Gruppe"; Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "Der Name der Gruppe. Bitte bedenke, dass alle Mitglieder der Gruppe den Gruppennamen bei jedem Login eingeben müssen."; Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Benutzername des Gruppeneigentümers"; +Blockly.Msg.DCMOTOR = "DC Motor"; +Blockly.Msg.DCMOTOR_BACKWARD = "rückwärts"; +Blockly.Msg.DCMOTOR_BOARD = "DC Motor Platine"; +Blockly.Msg.DCMOTOR_FORWARD = "vorwärts"; +Blockly.Msg.DCMOTOR_M1 = "Motoranschluss 1"; +Blockly.Msg.DCMOTOR_M2 = "Motoranschluss 2"; +Blockly.Msg.DCMOTOR_M3 = "Motoranschluss 3"; +Blockly.Msg.DCMOTOR_M4 = "Motoranschluss 4"; +Blockly.Msg.DCMOTOR_MOTOR = "Motoranschluss"; +Blockly.Msg.DCMOTOR_NUMERIC = "numerisch"; +Blockly.Msg.DCMOTOR_SPEED = "Tempo"; +Blockly.Msg.DCMOTOR_STOP = "stop"; +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor Erweiterung"; Blockly.Msg.DELETE_ALL_BLOCKS = "Alle %1 Blöcke löschen?"; Blockly.Msg.DELETE_BLOCK = "Block löschen"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "Ein Mitglieder, welches du löschen willst, hat sich beriets angemeldet und eventuell Programme erstellt. Bist du sicher, dass du die auswählten Mitglieder löschen möchtest?"; @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 ist kein gutes Passwort ,-)! Such dir li Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Alles richtig geschrieben? Gib dein Passwort vorsichtshalber nochmal ein."; Blockly.Msg.HTCOLOUR_TOOLTIP = "Block für den HiTechnic NXT Farbsensor V2."; Blockly.Msg.HUMIDITY_TOOLTIP = "Block für den Luftfeuchtigkeitsensor."; +Blockly.Msg.I2CADDRESS = "I2C Adresse"; Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blockierender Block! Dieser Block benötigt einige Zeit um ausgeführt zu werden. Andere Blöcke müssen warten, bis dieser Block die Kontrolle an die aufrufende Funktion zurückgibt."; Blockly.Msg.ID = "ID"; Blockly.Msg.IF_TOOLTIP = "Prüft die Bedingung in wenn. Falls die Bedingung wahr ist, führt die dann-Aktion aus."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "geschlossen"; Blockly.Msg.MOTOR_DEGREE = "Grad"; Blockly.Msg.MOTOR_DISTANCE = "Strecke cm"; Blockly.Msg.MOTOR_DRIVE = "Fahre"; -Blockly.Msg.MOTOR_DRIVE_TO = "Fahre zu"; Blockly.Msg.MOTOR_FLOAT = "auslaufen"; Blockly.Msg.MOTOR_FOREWARD = "vorwärts"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Liefert aktuelle Leistung dieses Motors."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; Blockly.Msg.OUTPUT = "Ausgang"; Blockly.Msg.PARTICLE_TOOLTIP = "Block für den SDS011 Feinstaubsensor"; Blockly.Msg.PASSWORD = "Kennwort"; +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Gibt »wahr« zurück, wenn der ausgewählte Pin gedrückt wird."; Blockly.Msg.PIN_PULL = "Pull"; Blockly.Msg.PIN_PULL_DOWN = "down"; @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "Bewegungssensor HC-SR501"; Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gibt den aktuellen Wert des Bewegungssensors (wahr/falsch) zurück."; Blockly.Msg.SENSOR_MS_TIMER = "in ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Hinderniserkenner"; -Blockly.Msg.SENSOR_ODOMETRY = "Odometrie"; Blockly.Msg.SENSOR_OUT = "Sensor"; Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Gibt den analogen Wert von dem angegeben Pin zurück. Der Wert ist zwischen 0 und 1023."; Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Gibt den digitalen Wert von dem angegebenen Pin zurück. Der Wert ist entweder HIGH »1« oder LOW »0«."; @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "oder warte bis"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Wartet für eine bestimmte Zeit in Millisekunden."; Blockly.Msg.WAIT_TOOLTIP = "Wartet bis eine Bedingung wahr wird."; Blockly.Msg.WAIT_UNTIL = "Warte bis"; -Blockly.Msg.WEIGHT_KG = "Gewicht kg"; Blockly.Msg.WIRELESS_TOOLTIP = "Block für die drahtlose Verbindung"; Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/el.js b/OpenRobertaServer/staticResources/blockly/msg/js/el.js index 57651f25bf..d91089b62b 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/el.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/el.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Να διαγραφούν και τα %1 μπλοκ?"; Blockly.Msg.DELETE_BLOCK = "Διέγραψε Το Μπλοκ"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/en.js b/OpenRobertaServer/staticResources/blockly/msg/js/en.js index 5ead30d85d..fe962b7d50 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/en.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/en.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; Blockly.Msg.ACTION_MOTOR = "motor"; Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; Blockly.Msg.ACTION_PLAY = "play"; Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; Blockly.Msg.ACTION_PLOTTING = "plot"; @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; +Blockly.Msg.DCMOTOR = "DC Motor"; +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; +Blockly.Msg.DCMOTOR_FORWARD = "forward"; +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; +Blockly.Msg.DCMOTOR_SPEED = "speed"; +Blockly.Msg.DCMOTOR_STOP = "stop"; +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; Blockly.Msg.DELETE_ALL_BLOCKS = "Delete all %1 blocks?"; Blockly.Msg.DELETE_BLOCK = "Delete Block"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; +Blockly.Msg.I2CADDRESS = "I2C address"; Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; Blockly.Msg.ID = "ID"; Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; Blockly.Msg.MOTOR_DEGREE = "degree"; Blockly.Msg.MOTOR_DISTANCE = "distance cm"; Blockly.Msg.MOTOR_DRIVE = "drive"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; Blockly.Msg.MOTOR_FLOAT = "float"; Blockly.Msg.MOTOR_FOREWARD = "forwards"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; Blockly.Msg.OUTPUT = "output"; Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; Blockly.Msg.PASSWORD = "Password"; +Blockly.Msg.PERCENT = "%"; Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; Blockly.Msg.PIN_PULL = "pull"; Blockly.Msg.PIN_PULL_DOWN = "down"; @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; Blockly.Msg.SENSOR_MS_TIMER = "in ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; Blockly.Msg.SENSOR_OUT = "sensor"; Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; Blockly.Msg.WAIT_UNTIL = "wait until"; -Blockly.Msg.WEIGHT_KG = "weight kg"; Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/es.js b/OpenRobertaServer/staticResources/blockly/msg/js/es.js index 85dd0a82f3..51f78b18cc 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/es.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/es.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "¿Eliminar todos los %1 bloques?"; Blockly.Msg.DELETE_BLOCK = "Eliminar bloque"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Comprueba la condición en 'si'. Si la condición es verdadera, ejecuta la acción 'entonces'."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "grado"; Blockly.Msg.MOTOR_DISTANCE = "distancia en cm"; Blockly.Msg.MOTOR_DRIVE = "mover"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "parar"; Blockly.Msg.MOTOR_FOREWARD = "hacia delante"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Obtiene la potencia actual de este motor."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "en ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "o esperar a"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Espera un tiempo en milisegundos"; Blockly.Msg.WAIT_TOOLTIP = "espera hasta que la condición sea verdadera"; Blockly.Msg.WAIT_UNTIL = "esperar hasta"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Manda el valor al pin elegido"; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/eu.js b/OpenRobertaServer/staticResources/blockly/msg/js/eu.js index 747cd7005e..287e9673ea 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/eu.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/eu.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; Blockly.Msg.ACTION_MOTOR = "motorra"; Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Ezabatu %1 blokeak?"; Blockly.Msg.DELETE_BLOCK = "Ezabatu blokea"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 ez da pasahitz segurua. Hobeto, ahaztuko Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Badaukazu? Hobeto ziurtatu!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Hezetasun sentsore bat irudikatzen du."; +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "baldin' baldintza ebaluatzen du. Baldintza egiazkoa bada, 'orduan' akzioa exekutatuko da."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "gradu"; Blockly.Msg.MOTOR_DISTANCE = "distantzia cm-tan"; Blockly.Msg.MOTOR_DRIVE = "mugitu"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "gelditu"; Blockly.Msg.MOTOR_FOREWARD = "aurreraka"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Motor honen oraingo potentzia eskuratzen du."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "ms-tan"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "edo itxaron honi"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Denbora konkretu bat itxaroten du milisegundutan."; Blockly.Msg.WAIT_TOOLTIP = "Baldintza egiazkoa izan arte itxaroten du."; Blockly.Msg.WAIT_UNTIL = "itxaron baldintza"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Balioa aukeraturako pin-era bidaltzen du."; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/fa.js b/OpenRobertaServer/staticResources/blockly/msg/js/fa.js index 55e933c5e8..b4ad0733a0 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/fa.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/fa.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "حذف همهٔ بلاک‌های %1؟"; Blockly.Msg.DELETE_BLOCK = "حذف بلوک"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/fi.js b/OpenRobertaServer/staticResources/blockly/msg/js/fi.js index d4b163801e..cf3fcc8229 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/fi.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/fi.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Poistetaanko kaikki %1 lohkoa?"; Blockly.Msg.DELETE_BLOCK = "Poista lohko"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Tarkasta if-osan ehto. Jos ehto on tosi, suorita do-osan toiminto."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "astetta"; Blockly.Msg.MOTOR_DISTANCE = "etäisyys cm"; Blockly.Msg.MOTOR_DRIVE = "aja"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; Blockly.Msg.MOTOR_FOREWARD = "eteen"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "/ ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Odota aika (ms)"; Blockly.Msg.WAIT_TOOLTIP = "Odota kunnes ehto on tosi."; Blockly.Msg.WAIT_UNTIL = "odota kunnes"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/fr.js b/OpenRobertaServer/staticResources/blockly/msg/js/fr.js index 33a83c7b02..96e84aee61 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/fr.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/fr.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; Blockly.Msg.ACTION_MOTOR = "moteur"; Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "jouer"; Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Supprimer ces %1 blocs ?"; Blockly.Msg.DELETE_BLOCK = "Supprimer le bloc"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "1234 n'est pas un mot de passe très sécuris Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Retape ton mot de passe pour vérifier que tu le connais."; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Représente un capteur d'hygrométrie (humidité)"; +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "vérifie la condition SI. Si elle est vraie, execute l'action"; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degrés"; Blockly.Msg.MOTOR_DISTANCE = "distance en cm"; Blockly.Msg.MOTOR_DRIVE = "rouler"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "roue libre"; Blockly.Msg.MOTOR_FOREWARD = "en avant"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Lit la puissance actuelle de ce moteur"; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Lit la valeur actuelle du capteur de mouvement."; Blockly.Msg.SENSOR_MS_TIMER = "unité ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "ou attendre jusqu'à ce que"; Blockly.Msg.WAIT_TIME_TOOLTIP = "attend pendant un certain nombre de millisecondes"; Blockly.Msg.WAIT_TOOLTIP = "attend jusqu'à ce qu'une condition soit vraie"; Blockly.Msg.WAIT_UNTIL = "attendre jusqu'à ce que"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/he.js b/OpenRobertaServer/staticResources/blockly/msg/js/he.js index e48b6f1aa5..856220e958 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/he.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/he.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "האם למחוק את כל %1 קטעי הקוד?"; Blockly.Msg.DELETE_BLOCK = "מחק קטע קוד"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; Blockly.Msg.MOTOR_DISTANCE = "distance cm"; Blockly.Msg.MOTOR_DRIVE = "drive"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; Blockly.Msg.MOTOR_FOREWARD = "forwards"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; Blockly.Msg.WAIT_UNTIL = "wait until"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/hi.js b/OpenRobertaServer/staticResources/blockly/msg/js/hi.js index 431d58e468..3d43ee231d 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/hi.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/hi.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Delete all %1 blocks?"; // untranslated Blockly.Msg.DELETE_BLOCK = "ब्लॉक हटाएँ"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/hrx.js b/OpenRobertaServer/staticResources/blockly/msg/js/hrx.js index e2d27f32d2..338fb63a9b 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/hrx.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/hrx.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "All %1 Bausten lösche?"; Blockly.Msg.DELETE_BLOCK = "Block lösche"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/hu.js b/OpenRobertaServer/staticResources/blockly/msg/js/hu.js index 957416f10e..6e001dbc57 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/hu.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/hu.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Az összes %1 blokk törlése?"; Blockly.Msg.DELETE_BLOCK = "Blokk törlése"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; Blockly.Msg.MOTOR_DISTANCE = "distance cm"; Blockly.Msg.MOTOR_DRIVE = "drive"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; Blockly.Msg.MOTOR_FOREWARD = "forwards"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = "."; Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; Blockly.Msg.WAIT_UNTIL = "wait until"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/ia.js b/OpenRobertaServer/staticResources/blockly/msg/js/ia.js index bd571c210d..09b2cffa29 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/ia.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/ia.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Deler tote le %1 blocos?"; Blockly.Msg.DELETE_BLOCK = "Deler bloco"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/id.js b/OpenRobertaServer/staticResources/blockly/msg/js/id.js index 8dc7d333a1..21a7b061aa 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/id.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/id.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Hapus semua %1 blok?"; Blockly.Msg.DELETE_BLOCK = "Hapus Blok"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/is.js b/OpenRobertaServer/staticResources/blockly/msg/js/is.js index eeb1838cb3..193ef3cb12 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/is.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/is.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Eyða öllum %1 kubbunum?"; Blockly.Msg.DELETE_BLOCK = "Eyða kubbi"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/it.js b/OpenRobertaServer/staticResources/blockly/msg/js/it.js index 4ce7a54dc6..636afa4b32 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/it.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/it.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; Blockly.Msg.ACTION_MOTOR = "motore"; Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "riproduci"; Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Cancellare tutti i %1 blocchi?"; Blockly.Msg.DELETE_BLOCK = "Cancella blocco"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 non è password sicura. Pensa ad una pas Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Fatto? Meglio assicurarsi!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Rappresenta un sensore di umidità."; +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Controlla la condizione in »se«. Se la condizione è vera, esegue l'azione »fare«."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "grado"; Blockly.Msg.MOTOR_DISTANCE = "distanza in centimetri"; Blockly.Msg.MOTOR_DRIVE = "vai"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "Float/Brake"; Blockly.Msg.MOTOR_FOREWARD = "in avanti"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "restituisce la potenza attuale di questo motore."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "uscita"; Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "tirare"; Blockly.Msg.PIN_PULL_DOWN = "giù"; @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "restituisce la lettura corrente dal sensore di movimento."; Blockly.Msg.SENSOR_MS_TIMER = "in millisecondi"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "o attendere per"; Blockly.Msg.WAIT_TIME_TOOLTIP = "attende un certo tempo in millisecondi."; Blockly.Msg.WAIT_TOOLTIP = "attende una condizione diventare vera."; Blockly.Msg.WAIT_UNTIL = "aspetta finchè"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "invia il valore al pin scelto."; Blockly.Msg.X = "X"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/ja.js b/OpenRobertaServer/staticResources/blockly/msg/js/ja.js index b57f823f83..93f7549f93 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/ja.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/ja.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "%1件のすべてのブロックを消しますか?"; Blockly.Msg.DELETE_BLOCK = "ブロックを消す"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/ko.js b/OpenRobertaServer/staticResources/blockly/msg/js/ko.js index 425bf3fc6a..f22f0b8543 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/ko.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/ko.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "모든 블록 %1개를 삭제하겠습니까?"; Blockly.Msg.DELETE_BLOCK = "블록 삭제"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/lb.js b/OpenRobertaServer/staticResources/blockly/msg/js/lb.js index 9479dae30a..17620a758a 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/lb.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/lb.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Delete all %1 blocks?"; // untranslated Blockly.Msg.DELETE_BLOCK = "Block läschen"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/lki.js b/OpenRobertaServer/staticResources/blockly/msg/js/lki.js index 492388cbd5..a5dd3fc436 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/lki.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/lki.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "حةذف کؤل %1 بلاکةل?"; Blockly.Msg.DELETE_BLOCK = "پاک کردن بلاک"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/lrc.js b/OpenRobertaServer/staticResources/blockly/msg/js/lrc.js index 75bcb5c943..835937d627 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/lrc.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/lrc.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Delete all %1 blocks?"; // untranslated Blockly.Msg.DELETE_BLOCK = "پاکسا کردن برشت"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/lt.js b/OpenRobertaServer/staticResources/blockly/msg/js/lt.js index 3c4747c732..c1ea270fd9 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/lt.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/lt.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Ištrinti visus %1 blokus?"; Blockly.Msg.DELETE_BLOCK = "Ištrinti bloką"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/mk.js b/OpenRobertaServer/staticResources/blockly/msg/js/mk.js index dd01500e39..fa00ea45d2 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/mk.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/mk.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Да ги избришам сите %1 блокчиња?"; Blockly.Msg.DELETE_BLOCK = "Избриши блок"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; Blockly.Msg.MOTOR_DISTANCE = "distance cm"; Blockly.Msg.MOTOR_DRIVE = "drive"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; Blockly.Msg.MOTOR_FOREWARD = "forwards"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; Blockly.Msg.WAIT_UNTIL = "wait until"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/ms.js b/OpenRobertaServer/staticResources/blockly/msg/js/ms.js index 7c19d46556..f74c3c97cf 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/ms.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/ms.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Hapuskan kesemua %1 blok?"; Blockly.Msg.DELETE_BLOCK = "Hapuskan Blok"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/nb.js b/OpenRobertaServer/staticResources/blockly/msg/js/nb.js index da2691a853..63ad22010f 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/nb.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/nb.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Slett alle %1 blokker?"; Blockly.Msg.DELETE_BLOCK = "Slett blokk"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; Blockly.Msg.MOTOR_DISTANCE = "distance cm"; Blockly.Msg.MOTOR_DRIVE = "drive"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; Blockly.Msg.MOTOR_FOREWARD = "forwards"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; Blockly.Msg.WAIT_UNTIL = "wait until"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/nl.js b/OpenRobertaServer/staticResources/blockly/msg/js/nl.js index d2d7de8f17..5316a2645a 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/nl.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/nl.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Alle %1 blokken verwijderen?"; Blockly.Msg.DELETE_BLOCK = "Blok verwijderen"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "graden"; Blockly.Msg.MOTOR_DISTANCE = "afstand cm"; Blockly.Msg.MOTOR_DRIVE = "rijden"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "drijven"; Blockly.Msg.MOTOR_FOREWARD = "voorwaards"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Verkrijg de huidige kracht van deze motor."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/oc.js b/OpenRobertaServer/staticResources/blockly/msg/js/oc.js index 3757d8904f..0f81c8bc1a 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/oc.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/oc.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Suprimir totes los %1 blòts ?"; Blockly.Msg.DELETE_BLOCK = "Suprimir lo blòt"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/pl.js b/OpenRobertaServer/staticResources/blockly/msg/js/pl.js index 886009efbd..8bc3091aec 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/pl.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/pl.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Usunąć wszystkie %1 bloki(ów)?"; Blockly.Msg.DELETE_BLOCK = "Usuń blok"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 to nie hasło. Pomyśl o bezpiecznej kom Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Zapamiętasz? Lepiej się upewnij!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Sprawdza warunek w »if«. Jeśli warunek jest spełniony, wykonujw się akcja »do«."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "stopnie"; Blockly.Msg.MOTOR_DISTANCE = "dystans (cm)"; Blockly.Msg.MOTOR_DRIVE = "napęd"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "swobodny przepływ"; Blockly.Msg.MOTOR_FOREWARD = "do przodu"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Pobiera aktualną moc silnika"; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "w milisekundach"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "lub zaczekaj na"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Powoduje odczekanie zadanego czasu w milisekundach."; Blockly.Msg.WAIT_TOOLTIP = "Czeka aż zadany warunek będzie spełniony."; Blockly.Msg.WAIT_UNTIL = "czekaj dopóki"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Wysyła zadaną wartość do wybranego pinu."; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/pms.js b/OpenRobertaServer/staticResources/blockly/msg/js/pms.js index 5b604d7532..160e2417a4 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/pms.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/pms.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Scancelé tuti ij %1 blòch?"; Blockly.Msg.DELETE_BLOCK = "Scancelé ël blòch"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/pt-br.js b/OpenRobertaServer/staticResources/blockly/msg/js/pt-br.js index 2f7619eb81..080fc9c688 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/pt-br.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/pt-br.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Apagar todos os %1 blocos?"; Blockly.Msg.DELETE_BLOCK = "Remover bloco"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/pt.js b/OpenRobertaServer/staticResources/blockly/msg/js/pt.js index b9c9787419..d5c17b94e1 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/pt.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/pt.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Apagar todos os %1 blocos?"; Blockly.Msg.DELETE_BLOCK = "Remover Bloco"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Verifica a condição »if«. Se verdadeiro, executa a acção »do«."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "ângulo"; Blockly.Msg.MOTOR_DISTANCE = "distância em cm"; Blockly.Msg.MOTOR_DRIVE = "mover"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; Blockly.Msg.MOTOR_FOREWARD = "para a frente"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Obter a potência atual do motor."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "em ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "ou espera por"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Espera um determinado tempo em milisegundos."; Blockly.Msg.WAIT_TOOLTIP = "Espera que a condição seja verdadeira."; Blockly.Msg.WAIT_UNTIL = "espera até"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/ro.js b/OpenRobertaServer/staticResources/blockly/msg/js/ro.js index 3aa1d66e0c..b3b0129787 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/ro.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/ro.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; Blockly.Msg.ACTION_MOTOR = "motor"; Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "porneste"; Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Ștergi toate cele %1 (de) blocuri?"; Blockly.Msg.DELETE_BLOCK = "Șterge Bloc"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 nu este o parolă sigură. Mai degrabă Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Ai înțeles? Mai bine asigură-te!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Reprezintă un senzor de umiditate."; +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Verifică condiția din »if«. Dacă condiția este adevărată aunci de execută acțiunea »do«."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "grad"; Blockly.Msg.MOTOR_DISTANCE = "distanta cm"; Blockly.Msg.MOTOR_DRIVE = "actionare motor"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "ridica"; Blockly.Msg.MOTOR_FOREWARD = "inainte"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Obține puterea curentă a acestui motor."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "ieșire"; Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "împinge"; Blockly.Msg.PIN_PULL_DOWN = "jos"; @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Ia datele de la senzorulde miscare"; Blockly.Msg.SENSOR_MS_TIMER = "in ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "sau asteapta pentru"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Asteapta un anumit numar de milisecunde"; Blockly.Msg.WAIT_TOOLTIP = "Asteapta ca o conditie sa devina adevarata."; Blockly.Msg.WAIT_UNTIL = "Asteapta pana cand"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Trimite valoarea la pinul selectat."; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/ru.js b/OpenRobertaServer/staticResources/blockly/msg/js/ru.js index b99cd3e41f..67cea570fc 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/ru.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/ru.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Удалить все блоки (%1)?"; Blockly.Msg.DELETE_BLOCK = "Удалить блок"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 -- не безопасный парол Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Повторите пароль."; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Проверяет увловие »если«. Если условие выполняется, выполняет действие в условном блоке."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "градус"; Blockly.Msg.MOTOR_DISTANCE = "расстояние, см"; Blockly.Msg.MOTOR_DRIVE = "ехать"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "свободное движение"; Blockly.Msg.MOTOR_FOREWARD = "вперед"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Возвращает текущую мозность поданную на мотор."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "в мс"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "или ждать до"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Ждет определенное время в миллисекундах."; Blockly.Msg.WAIT_TOOLTIP = "Ждет пока условине не станет правдой."; Blockly.Msg.WAIT_UNTIL = "ждать пока"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Посылает величину на выбранный пин."; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/sc.js b/OpenRobertaServer/staticResources/blockly/msg/js/sc.js index 87f305625f..d8115854a2 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/sc.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/sc.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Scancellu su %1 de is brocus?"; Blockly.Msg.DELETE_BLOCK = "Fùlia Blocu"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/sd.js b/OpenRobertaServer/staticResources/blockly/msg/js/sd.js index 67a9e38cb9..3d7888b5ed 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/sd.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/sd.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Delete all %1 blocks?"; // untranslated Blockly.Msg.DELETE_BLOCK = "بلاڪ ڊاهيو"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/shn.js b/OpenRobertaServer/staticResources/blockly/msg/js/shn.js index 93bfee4b0b..6e514abfcd 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/shn.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/shn.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Delete all %1 blocks?"; // untranslated Blockly.Msg.DELETE_BLOCK = "မွတ်ႇပလွၵ်ႉ"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/sk.js b/OpenRobertaServer/staticResources/blockly/msg/js/sk.js index e0b38d7dc3..32f3622511 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/sk.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/sk.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Zmazať všetkých %1 dielcov?"; Blockly.Msg.DELETE_BLOCK = "Odstrániť blok"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/sl.js b/OpenRobertaServer/staticResources/blockly/msg/js/sl.js index fdd9b44e19..870d807f9c 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/sl.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/sl.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Izbrišem vseh %1 kock?"; Blockly.Msg.DELETE_BLOCK = "Izbriši kocko"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/sq.js b/OpenRobertaServer/staticResources/blockly/msg/js/sq.js index 9c97120619..19c56c89e0 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/sq.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/sq.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Delete all %1 blocks?"; // untranslated Blockly.Msg.DELETE_BLOCK = "Fshij bllokun"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/sr.js b/OpenRobertaServer/staticResources/blockly/msg/js/sr.js index 41fbe4bfb9..3aa4c32372 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/sr.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/sr.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Обрисати %1 блокова?"; Blockly.Msg.DELETE_BLOCK = "Обриши блок"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/sv.js b/OpenRobertaServer/staticResources/blockly/msg/js/sv.js index f604d486dd..c3aeea5e0a 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/sv.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/sv.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "starta"; Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Radera alla %1 block?"; Blockly.Msg.DELETE_BLOCK = "Radera block"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 är inget säkert lösenord. Tänk istä Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Stämmer det? Bäst att kontrollera!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Fuktsensor"; +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Kontrollerar villkoret i »if«. Om vilkoret är sant, utförs »do« åtgärden"; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "grad"; Blockly.Msg.MOTOR_DISTANCE = "avstånd cm"; Blockly.Msg.MOTOR_DRIVE = "kör"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "rulla fritt"; Blockly.Msg.MOTOR_FOREWARD = "framåt"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Aktuell prestanda för denna motor."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "dra"; Blockly.Msg.PIN_PULL_DOWN = "ner"; @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Får aktuellt värde från rörelsesensorn."; Blockly.Msg.SENSOR_MS_TIMER = "i ms"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "eller väntar på"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Väntar på en viss tid i millisekunder."; Blockly.Msg.WAIT_TOOLTIP = "Väntar på att ett tillstånd blir sant."; Blockly.Msg.WAIT_UNTIL = "vänta tills"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Skickar värdet till valt stift."; Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/ta.js b/OpenRobertaServer/staticResources/blockly/msg/js/ta.js index 79c314d13c..4b08e59d31 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/ta.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/ta.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "அனைத்து %1 நிரல் துண்டுகளையும் அழிக்கவா??"; Blockly.Msg.DELETE_BLOCK = "உறுப்பை நீக்கு"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/tcy.js b/OpenRobertaServer/staticResources/blockly/msg/js/tcy.js index 4e6700e4f8..5d23abe50f 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/tcy.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/tcy.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "ಮಾತ %1 ನಿರ್ಬಂದೊಲೆನ್ ದೆತ್ತ್ ಪಾಡ್ಲೆ ?"; Blockly.Msg.DELETE_BLOCK = "ಮಾಜಯರ ತಡೆಯಾತ್ಂಡ್"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/th.js b/OpenRobertaServer/staticResources/blockly/msg/js/th.js index 1b9fa18ad3..8fa50e9c0c 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/th.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/th.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "ต้องการลบบล็อกทั้ง %1 บล็อกหรือไม่"; Blockly.Msg.DELETE_BLOCK = "ลบบล็อก"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/tl.js b/OpenRobertaServer/staticResources/blockly/msg/js/tl.js index 0416d5f334..05392aafaf 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/tl.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/tl.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Delete all %1 blocks?"; // untranslated Blockly.Msg.DELETE_BLOCK = "burahin ang bloke"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/tlh.js b/OpenRobertaServer/staticResources/blockly/msg/js/tlh.js index eae94b93e1..92e5167c05 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/tlh.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/tlh.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Hoch %1 ngoghmey Qaw'?"; Blockly.Msg.DELETE_BLOCK = "ngogh Qaw'"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/tr.js b/OpenRobertaServer/staticResources/blockly/msg/js/tr.js index b8b13e8b87..d635b6d87a 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/tr.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/tr.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Tüm %1 blok silinsin mi?"; Blockly.Msg.DELETE_BLOCK = "Bloğu Sil"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "»If« içerisindeki koşulu kontrol eder. Eğer koşul ifadesi doğruysa, »do« eylemini gerçekleştirir."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "Derece."; Blockly.Msg.MOTOR_DISTANCE = "Uzaklik cm."; Blockly.Msg.MOTOR_DRIVE = "Sür"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "Ileriye dogru."; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Motorun güncel güc degerini alir."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "ms icerisinde"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "Veya şunun için bekle"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Şu kadar milisaniye bekle"; Blockly.Msg.WAIT_TOOLTIP = "Ifade dogru olana kadar bekle"; Blockly.Msg.WAIT_UNTIL = "Kadar bekle"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/uk.js b/OpenRobertaServer/staticResources/blockly/msg/js/uk.js index c18757caa2..da3009357b 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/uk.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/uk.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "світлодіод"; Blockly.Msg.ACTION_MOTOR = "мотор"; Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "програти"; Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Вилучити всі блоки %1?"; Blockly.Msg.DELETE_BLOCK = "Видалити блок"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 -- не надійний пароль. Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Запам'ятали? Давайте перевіримо!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Представляє сенсор вологості."; +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Перевіряє умову »if«. Якщо умова вірна, виконую »do« дію."; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "кут"; Blockly.Msg.MOTOR_DISTANCE = "відстань, см"; Blockly.Msg.MOTOR_DRIVE = "їхати"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "протікання"; Blockly.Msg.MOTOR_FOREWARD = "вперед"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Повертає поточну потужністю цього двигуна."; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = "-ий."; Blockly.Msg.OUTPUT = "вихід"; Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "підтяжка"; Blockly.Msg.PIN_PULL_DOWN = "до землі"; @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Зчитує значення з датчика руху"; Blockly.Msg.SENSOR_MS_TIMER = "в мс"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "чи почекай"; Blockly.Msg.WAIT_TIME_TOOLTIP = "Чекає визначений час в мілісекундах."; Blockly.Msg.WAIT_TOOLTIP = "Чекає поки умова не стане правдивою."; Blockly.Msg.WAIT_UNTIL = "Почекай поки"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Відправляє значення до обраного піну."; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/vi.js b/OpenRobertaServer/staticResources/blockly/msg/js/vi.js index 68a703b32e..ad41bd4fb9 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/vi.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/vi.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED"; // untranslated Blockly.Msg.ACTION_MOTOR = "motor"; // untranslated Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "play"; // untranslated Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "Xóa hết %1 mảnh?"; Blockly.Msg.DELETE_BLOCK = "Xóa Mảnh Này"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345 is no secure password. Rather think of a Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "Got it? Better make sure!"; // untranslated Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "Represents a humidity sensor."; // untranslated +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "Checks the condition in »if«. If the condition is true, executes the »do« action."; // untranslated @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "degree"; // untranslated Blockly.Msg.MOTOR_DISTANCE = "distance cm"; // untranslated Blockly.Msg.MOTOR_DRIVE = "drive"; // untranslated -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "float"; // untranslated Blockly.Msg.MOTOR_FOREWARD = "forwards"; // untranslated Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "Gets current power of this motor."; // untranslated @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "output"; // untranslated Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "pull"; // untranslated Blockly.Msg.PIN_PULL_DOWN = "down"; // untranslated @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "Gets the current reading from the motion sensor (true/false)."; // untranslated Blockly.Msg.SENSOR_MS_TIMER = "in ms"; // untranslated Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "or wait for"; // untranslated Blockly.Msg.WAIT_TIME_TOOLTIP = "Waits for a certain time in milliseconds."; // untranslated Blockly.Msg.WAIT_TOOLTIP = "Waits for a condition becoming true."; // untranslated Blockly.Msg.WAIT_UNTIL = "wait until"; // untranslated -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "Sends the value to chosen pin."; // untranslated Blockly.Msg.X = "x"; // untranslated @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/zh-hans.js b/OpenRobertaServer/staticResources/blockly/msg/js/zh-hans.js index be4079b7ff..a4e25a3313 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/zh-hans.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/zh-hans.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED灯"; Blockly.Msg.ACTION_MOTOR = "电机"; Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "演示"; Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "删除所有%1块吗?"; Blockly.Msg.DELETE_BLOCK = "删除块"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345没有密码安全性。宁可想一个 Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "明白了吗?最好确认过!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "代表湿度传感器"; +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "检查»if«中的条件。如果条件为 true, 则执行»do«操作。"; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "程度"; Blockly.Msg.MOTOR_DISTANCE = "距离 厘米"; Blockly.Msg.MOTOR_DRIVE = "驱动"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "浮动"; Blockly.Msg.MOTOR_FOREWARD = "向前"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "获取此电机的当前电源。"; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = "空白"; Blockly.Msg.OUTPUT = "输出"; Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "拉"; Blockly.Msg.PIN_PULL_DOWN = "下"; @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "从运动传感器获取当前读数。"; Blockly.Msg.SENSOR_MS_TIMER = "在毫秒"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "或等待"; Blockly.Msg.WAIT_TIME_TOOLTIP = "等待特定时间 (以毫秒为单位)。"; Blockly.Msg.WAIT_TOOLTIP = "等待条件变为 true。"; Blockly.Msg.WAIT_UNTIL = "等到"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "将值发送到选定的引脚。"; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/js/zh-hant.js b/OpenRobertaServer/staticResources/blockly/msg/js/zh-hant.js index 742d738d52..cb70b0f989 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/js/zh-hant.js +++ b/OpenRobertaServer/staticResources/blockly/msg/js/zh-hant.js @@ -29,7 +29,6 @@ Blockly.Msg.ACTION_LCD_MBOT2_BRUSH_TOOLTIP = "Change the color of the next displ Blockly.Msg.ACTION_LED = "LED燈"; Blockly.Msg.ACTION_MOTOR = "電機"; Blockly.Msg.ACTION_OLEDSSD1306I2C = "OLED SSD1306 I²C"; // untranslated -Blockly.Msg.ACTION_OMNIDRIVE = "omnidrive"; // untranslated Blockly.Msg.ACTION_PLAY = "演示"; Blockly.Msg.ACTION_PLAY_RECORDING_TOOLTIP = "Plays your last recorded sounds."; // untranslated Blockly.Msg.ACTION_PLOTTING = "plot"; // untranslated @@ -259,6 +258,19 @@ Blockly.Msg.DATATABLE_USERGROUPS = "user groups"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME = "Name of the user group"; // untranslated Blockly.Msg.DATATABLE_USERGROUP_NAME_CREATE_HINT = "The name of the user group. Kepp in mind, that the members will have to type it in each time they log in."; // untranslated Blockly.Msg.DATATABLE_USERGROUP_OWNER = "Name of the owner of the user group"; // untranslated +Blockly.Msg.DCMOTOR = "DC Motor"; // untranslated +Blockly.Msg.DCMOTOR_BACKWARD = "backward"; // untranslated +Blockly.Msg.DCMOTOR_BOARD = "DC Motor board"; // untranslated +Blockly.Msg.DCMOTOR_FORWARD = "forward"; // untranslated +Blockly.Msg.DCMOTOR_M1 = "motor port 1"; // untranslated +Blockly.Msg.DCMOTOR_M2 = "motor port 2"; // untranslated +Blockly.Msg.DCMOTOR_M3 = "motor port 3"; // untranslated +Blockly.Msg.DCMOTOR_M4 = "motor port 4"; // untranslated +Blockly.Msg.DCMOTOR_MOTOR = "motor port"; // untranslated +Blockly.Msg.DCMOTOR_NUMERIC = "numeric"; // untranslated +Blockly.Msg.DCMOTOR_SPEED = "speed"; // untranslated +Blockly.Msg.DCMOTOR_STOP = "stop"; // untranslated +Blockly.Msg.DCMOTOR_TOOLTIP = "DC Motor extention"; // untranslated Blockly.Msg.DELETE_ALL_BLOCKS = "刪除共 %1 塊積木?"; Blockly.Msg.DELETE_BLOCK = "刪除積木"; Blockly.Msg.DELETE_USERGROUP_MEMBER_AFTER_LOGIN_WARNING = "A member you want to delete did already log in and might have create own programs. Are you sure that you want to delete the selected member(s)?"; // untranslated @@ -348,6 +360,7 @@ Blockly.Msg.HINT_USER_PASSWORT = "12345沒有密碼安全性。寧可想一個 Blockly.Msg.HINT_USER_PASSWORT_CONFIRM = "明白了嗎?最好確認過!"; Blockly.Msg.HTCOLOUR_TOOLTIP = "Represents a HiTechnic NXT Color Sensor V2."; // untranslated Blockly.Msg.HUMIDITY_TOOLTIP = "代表濕度感應器"; +Blockly.Msg.I2CADDRESS = "I2C address"; // untranslated Blockly.Msg.ICON_BLOCKING_TOOLTIP = "Blocking block! This blocks needs some time to be executed, so other's have to wait until it gives back the control to the caller function."; // untranslated Blockly.Msg.ID = "ID"; // untranslated Blockly.Msg.IF_TOOLTIP = "檢查»if«中的條件。如果條件為 true, 則執行»do«操作。"; @@ -886,7 +899,6 @@ Blockly.Msg.MOTOR_CLOSE = "close"; // untranslated Blockly.Msg.MOTOR_DEGREE = "程度"; Blockly.Msg.MOTOR_DISTANCE = "距離 釐米"; Blockly.Msg.MOTOR_DRIVE = "驅動"; -Blockly.Msg.MOTOR_DRIVE_TO = "drive to"; // untranslated Blockly.Msg.MOTOR_FLOAT = "浮動"; Blockly.Msg.MOTOR_FOREWARD = "向前"; Blockly.Msg.MOTOR_GETPOWER_TOOLTIP = "獲取此電機的當前電源。"; @@ -1190,6 +1202,7 @@ Blockly.Msg.ORDINAL_NUMBER_SUFFIX = ""; // untranslated Blockly.Msg.OUTPUT = "輸出"; Blockly.Msg.PARTICLE_TOOLTIP = "Represents SDS011 particle sensor."; // untranslated Blockly.Msg.PASSWORD = "Password"; // untranslated +Blockly.Msg.PERCENT = "%"; // untranslated Blockly.Msg.PIN_ISTOUCHED_TOOLTIP = "Is the selected pin touched?"; // untranslated Blockly.Msg.PIN_PULL = "拉"; Blockly.Msg.PIN_PULL_DOWN = "下"; @@ -1493,7 +1506,6 @@ Blockly.Msg.SENSOR_MOTION_ARDUINO = "motion sensor HC-SR501"; // untranslated Blockly.Msg.SENSOR_MOTION_GETSAMPLE_TOOLTIP = "從動作感應器獲取當前讀數。"; Blockly.Msg.SENSOR_MS_TIMER = "在毫秒"; Blockly.Msg.SENSOR_OBSTACLEDETECTOR = "Obstacle detector"; // untranslated -Blockly.Msg.SENSOR_ODOMETRY = "odometry"; // untranslated Blockly.Msg.SENSOR_OUT = "sensor"; // untranslated Blockly.Msg.SENSOR_OUT_ANALOG_GETSAMPLE_TOOLTIP = "Returns the value from the specified analog pin. The value is between 0 and 1024."; // untranslated Blockly.Msg.SENSOR_OUT_DIGITAL_GETSAMPLE_TOOLTIP = "Returns the value from the specified digital pin. The value is either HIGH »1« or LOW »0«."; // untranslated @@ -1836,7 +1848,6 @@ Blockly.Msg.WAIT_OR = "或等待"; Blockly.Msg.WAIT_TIME_TOOLTIP = "等待特定時間 (以毫秒為單位)。"; Blockly.Msg.WAIT_TOOLTIP = "等待條件變為 true。"; Blockly.Msg.WAIT_UNTIL = "等到"; -Blockly.Msg.WEIGHT_KG = "weight kg"; // untranslated Blockly.Msg.WIRELESS_TOOLTIP = "Represents a wireless connection."; // untranslated Blockly.Msg.WRITE_TO_PIN_TOOLTIP = "將值發送到選定的引腳。"; Blockly.Msg.X = "x"; @@ -1871,6 +1882,7 @@ Blockly.Msg.SENSOR_ENCODER_GETSAMPLE_TOOLTIP = Blockly.Msg.ENCODER_GETSAMPLE_TOO Blockly.Msg.MODE_FACE_UP = Blockly.Msg.SENSOR_GESTURE_FACE_UP; Blockly.Msg.SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP; Blockly.Msg.SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP = Blockly.Msg.COLOUR_LIGHT_GETSAMPLE_TOOLTIP; +Blockly.Msg.ACTION_DCMOTOR = Blockly.Msg.DCMOTOR_BOARD; Blockly.Msg.MATH_CHANGE_TITLE_ITEM = Blockly.Msg.VARIABLES_DEFAULT_NAME; Blockly.Msg.TOUCH_GETSAMPLE_TOOLTIP = Blockly.Msg.TOUCH_ISPRESSED_TOOLTIP; Blockly.Msg.CONTROLS_FOR_INPUT_DO = Blockly.Msg.CONTROLS_REPEAT_INPUT_DO; diff --git a/OpenRobertaServer/staticResources/blockly/msg/json/en.json b/OpenRobertaServer/staticResources/blockly/msg/json/en.json index d0cb32b6f5..59910a4ef8 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/json/en.json +++ b/OpenRobertaServer/staticResources/blockly/msg/json/en.json @@ -1,7 +1,7 @@ { "@metadata": { "author": "Ellen Spertus ", - "lastupdated": "2022-08-13 07:42:03.804210", + "lastupdated": "2022-08-28 15:34:22.085280", "locale": "en", "messagedocumentation" : "qqq" }, @@ -469,7 +469,6 @@ "SET": "set", "BRICK_WHEEL_DIAMETER": "wheel diameter", "BRICK_TRACK_WIDTH": "track width", - "WEIGHT_KG": "weight kg", "ACTION_MOTOR": "motor", "MOTOR": "motor", "MOTOR_MIDDLE": "middle", @@ -489,7 +488,6 @@ "MOTOR_FOREWARD": "forwards", "MOTOR_BACKWARD": "backwards", "MOTOR_DRIVE": "drive", - "MOTOR_DRIVE_TO": "drive to", "MOTOR_RIGHT": "right", "MOTOR_LEFT": "left", "MOTOR_TURN": "turn", @@ -553,7 +551,6 @@ "SENSOR_ENCODER": "encoder", "SENSOR_GYRO": "gyroscope", "SENSOR_GYRO_WEDO": "tilt sensor", - "SENSOR_ODOMETRY": "odometry", "SENSOR_LSM9DS1": "LSM9DS1", "SENSOR_APDS9960": "APDS9960", "SENSOR_LPS22HB": "LPS22HB", @@ -1457,7 +1454,6 @@ "ACTION_LCDI2C": "LCD 1602 I²C", "ACTION_LCD_MBOT2_BRUSH": "set display brush", "ACTION_OLEDSSD1306I2C": "OLED SSD1306 I²C", - "ACTION_OMNIDRIVE": "omnidrive", "ACTION_LED": "LED", "ACTION_RGBLED_MBOT2": "RGB LEDs", "ACTION_PLAY": "play", @@ -1468,7 +1464,6 @@ "ACTION_SERVO_ARDUINO": "servo motor SG90", "ACTION_DIFFERENTIALDRIVE": "differential drive", "DIFFERENTIALDRIVE_TOOLTIP": "Represents two motors on a common axis controlled independetly.", - "ACTION_OMNIDRIVE": "omnidrive", "MOISTURE_TOOLTIP": "Represents a moisture sensor.", "POTENTIOMETER_TOOLTIP": "Represents a potentiometer.", "TEMPERATURE_TOOLTIP": "Represents a temperature sensor.", @@ -1852,5 +1847,20 @@ "POPUP_REPLACE": "Replace", "POPUP_BACKGROUND_REPLACE": "A program with the same name already exists.
Would you like to replace it?", "POPUP_BACKGROUND_REPLACE_CONFIGURATION": "A configuration with the same name already exists.
Would you like to replace it?", - "ORA_CONFIGURATION_SAVE_AS_ERROR_CONFIGURATION_EXISTS": "This configuration already exists." + "ORA_CONFIGURATION_SAVE_AS_ERROR_CONFIGURATION_EXISTS": "This configuration already exists.", + "DCMOTOR": "DC Motor", + "DCMOTOR_BACKWARD": "backward", + "DCMOTOR_BOARD": "DC Motor board", + "DCMOTOR_FORWARD": "forward", + "DCMOTOR_NUMERIC": "numeric", + "DCMOTOR_M1": "motor port 1", + "DCMOTOR_M2": "motor port 2", + "DCMOTOR_M3": "motor port 3", + "DCMOTOR_M4": "motor port 4", + "DCMOTOR_MOTOR": "motor port", + "DCMOTOR_SPEED": "speed", + "DCMOTOR_STOP": "stop", + "DCMOTOR_TOOLTIP": "DC Motor extention", + "I2CADDRESS": "I2C address", + "PERCENT": "%" } diff --git a/OpenRobertaServer/staticResources/blockly/msg/json/qqq.json b/OpenRobertaServer/staticResources/blockly/msg/json/qqq.json index 39b779175f..878770edc8 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/json/qqq.json +++ b/OpenRobertaServer/staticResources/blockly/msg/json/qqq.json @@ -463,7 +463,6 @@ "SET": "", "BRICK_WHEEL_DIAMETER": "", "BRICK_TRACK_WIDTH": "", - "WEIGHT_KG": "", "ACTION_MOTOR": "", "MOTOR": "", "MOTOR_MIDDLE": "", @@ -483,7 +482,6 @@ "MOTOR_FOREWARD": "", "MOTOR_BACKWARD": "", "MOTOR_DRIVE": "", - "MOTOR_DRIVE_TO": "", "MOTOR_RIGHT": "", "MOTOR_LEFT": "", "MOTOR_TURN": "", @@ -547,7 +545,6 @@ "SENSOR_ENCODER": "", "SENSOR_GYRO": "", "SENSOR_GYRO_WEDO": "", - "SENSOR_ODOMETRY": "", "SENSOR_LSM9DS1": "", "SENSOR_APDS9960": "", "SENSOR_LPS22HB": "", @@ -1451,7 +1448,6 @@ "ACTION_LCDI2C": "", "ACTION_LCD_MBOT2_BRUSH": "", "ACTION_OLEDSSD1306I2C": "", - "ACTION_OMNIDRIVE": "", "ACTION_LED": "", "ACTION_RGBLED_MBOT2": "", "ACTION_PLAY": "", @@ -1462,7 +1458,6 @@ "ACTION_SERVO_ARDUINO": "", "ACTION_DIFFERENTIALDRIVE": "", "DIFFERENTIALDRIVE_TOOLTIP": "", - "ACTION_OMNIDRIVE": "", "MOISTURE_TOOLTIP": "", "POTENTIOMETER_TOOLTIP": "", "TEMPERATURE_TOOLTIP": "", @@ -1846,5 +1841,20 @@ "POPUP_REPLACE": "", "POPUP_BACKGROUND_REPLACE": "", "POPUP_BACKGROUND_REPLACE_CONFIGURATION": "", - "ORA_CONFIGURATION_SAVE_AS_ERROR_CONFIGURATION_EXISTS": "" + "ORA_CONFIGURATION_SAVE_AS_ERROR_CONFIGURATION_EXISTS": "", + "DCMOTOR": "", + "DCMOTOR_BACKWARD": "", + "DCMOTOR_BOARD": "", + "DCMOTOR_FORWARD": "", + "DCMOTOR_NUMERIC": "", + "DCMOTOR_M1": "", + "DCMOTOR_M2": "", + "DCMOTOR_M3": "", + "DCMOTOR_M4": "", + "DCMOTOR_MOTOR": "", + "DCMOTOR_SPEED": "", + "DCMOTOR_STOP": "", + "DCMOTOR_TOOLTIP": "", + "I2CADDRESS": "", + "PERCENT": "" } diff --git a/OpenRobertaServer/staticResources/blockly/msg/json/synonyms.json b/OpenRobertaServer/staticResources/blockly/msg/json/synonyms.json index f32026bd33..2b013d4551 100644 --- a/OpenRobertaServer/staticResources/blockly/msg/json/synonyms.json +++ b/OpenRobertaServer/staticResources/blockly/msg/json/synonyms.json @@ -1 +1 @@ -{"PROCEDURES_DEFRETURN_TITLE": "PROCEDURES_DEFNORETURN_TITLE", "LISTS_GET_SUBLIST_INPUT_IN_LIST": "LISTS_INLIST", "ACTION_LEDBAR": "LEDBAR", "SENSOR_JOYSTICK_GETSAMPLE_TOOLTIP": "JOYSTICK_GETSAMPLE_TOOLTIP_MBOT2", "LISTS_SET_INDEX_INPUT_IN_LIST": "LISTS_INLIST", "KEY_GETSAMPLE_TOOLTIP": "KEY_ISPRESSED_TOOLTIP", "PROCEDURES_DEFRETURN_PROCEDURE": "PROCEDURES_DEFNORETURN_PROCEDURE", "SENSOR_PINTOUCH_PRESSED_GETSAMPLE_TOOLTIP": "PIN_ISTOUCHED_TOOLTIP", "SENSOR_INFRARED_GETSAMPLE_TOOLTIP": "INFRARED_GETSAMPLE_TOOLTIP", "HTCOLOUR_GETSAMPLE_TOOLTIP": "COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_HUMIDITY_TEMPERATURE_GETSAMPLE_TOOLTIP": "TEMPERATURE_GETSAMPLE_TOOLTIP", "SENSOR_COLOUR_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP", "SENSOR_ULTRASONIC_GETSAMPLE_TOOLTIP": "ULTRASONIC_GETSAMPLE_TOOLTIP", "SENSOR_TOUCH_GETSAMPLE_TOOLTIP": "TOUCH_GETSAMPLE_TOOLTIP", "MODE_UP": "SENSOR_GESTURE_UP", "LISTS_CREATE_WITH_ITEM_TITLE": "VARIABLES_DEFAULT_NAME", "SENSOR_HTCOLOUR_COLOUR_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_ENCODER_GETSAMPLE_TOOLTIP": "ENCODER_GETSAMPLE_TOOLTIP", "MODE_FACE_UP": "SENSOR_GESTURE_FACE_UP", "MODE_SHAKE": "SENSOR_GESTURE_SHAKE", "SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP": "COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "HTCOLOUR_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_COMPASS_GETSAMPLE_TOOLTIP": "COMPASS_GETSAMPLE_TOOLTIP", "CONTROLS_IF_ELSE_TITLE_ELSE": "CONTROLS_IF_MSG_ELSE", "SENSOR_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_GETSAMPLE_TOOLTIP", "PROCEDURES_DEFRETURN_DO": "PROCEDURES_DEFNORETURN_DO", "LISTS_GET_INDEX_HELPURL": "LISTS_INDEX_OF_HELPURL", "SENSOR_TIMER_GETSAMPLE_TOOLTIP": "TIMER_GETSAMPLE_TOOLTIP", "SENSOR_LIGHT_GETSAMPLE_TOOLTIP": "LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_ACCELEROMETER_VALUE_GETSAMPLE_TOOLTIP": "ACCELEROMETER_ROTATION_TOOLTIP", "ORA_ROBOT_PUSH_RUN": "MESSAGE_EDIT_START", "SENSOR_GYRO_GETSAMPLE_TOOLTIP": "GYRO_GETSAMPLE_TOOLTIP", "PROCEDURES_DEFRETURN_COMMENT": "PROCEDURES_DEFNORETURN_COMMENT", "SENSOR_INFRARED_DISTANCE_GETSAMPLE_TOOLTIP": "INFRARED_DISTANCE_GETSAMPLE_TOOLTIP", "TOUCH_GETSAMPLE_TOOLTIP": "TOUCH_ISPRESSED_TOOLTIP", "TEXT_CREATE_JOIN_ITEM_TITLE_ITEM": "VARIABLES_DEFAULT_NAME", "SENSOR_HUMIDITY_HUMIDITY_GETSAMPLE_TOOLTIP": "SENSOR_HUMIDITY_GETSAMPLE_TOOLTIP", "CONTROLS_IF_MSG_THEN": "CONTROLS_REPEAT_INPUT_DO", "SENSOR_TEMPERATURE_TEMPERATURE_GETSAMPLE_TOOLTIP": "TEMPERATURE_GETSAMPLE_TOOLTIP", "MODE_FREEFALL": "SENSOR_GESTURE_FREEFALL", "MODE_DOWN": "SENSOR_GESTURE_DOWN", "LISTS_INDEX_OF_INPUT_IN_LIST": "LISTS_INLIST", "SENSOR_BATTERY_GETSAMPLE_TOOLTIP": "BATTERY_GETSAMPLE_TOOLTIP", "LISTS_GET_INDEX_INPUT_IN_LIST": "LISTS_INLIST", "HTCOLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "SENSOR_COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "CONTROLS_IF_ELSEIF_TITLE_ELSEIF": "CONTROLS_IF_MSG_ELSEIF", "HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP": "COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_QUADRGB_GETSAMPLE_TOOLTIP": "COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_KEY_GETSAMPLE_TOOLTIP": "KEY_GETSAMPLE_TOOLTIP", "CONTROLS_FOREACH_INPUT_DO": "CONTROLS_REPEAT_INPUT_DO", "SENSOR_INFRARED_PRESENCE_GETSAMPLE_TOOLTIP": "INFRARED_PRESENCE_GETSAMPLE_TOOLTIP", "MODE_FACE_DOWN": "SENSOR_GESTURE_FACE_DOWN", "SENSOR_HTCOLOUR_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_GETSAMPLE_TOOLTIP", "ACTION_LCD_MBOT2": "TOOLBOX_DISPLAY", "CONTROLS_IF_IF_TITLE_IF": "CONTROLS_IF_MSG_IF", "CONTROLS_WHILEUNTIL_INPUT_DO": "CONTROLS_REPEAT_INPUT_DO", "SENSOR_SOUND_GETSAMPLE_TOOLTIP": "SOUND_GETSAMPLE_TOOLTIP", "SENSOR_FLAME_GETSAMPLE_TOOLTIP": "FLAME_GETSAMPLE_TOOLTIP", "ACTION_FOURDIGITDISPLAY": "FOURDIGITDISPLAY", "SENSOR_COLOURTCS3472_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_HTCOLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "SENSOR_COLOURTCS3472_LIGHT_GETSAMPLE_TOOLTIP": "COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_COLOUR_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_SOUND_GETSAMPLE_TOOLTIP_CALLIOPE": "MICROPHONE_GETSAMPLE_TOOLTIP", "SENSOR_HTCOLOUR_RGB_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_RGB_GETSAMPLE_TOOLTIP", "CONTROLS_FOR_INPUT_DO": "CONTROLS_REPEAT_INPUT_DO", "SENSOR_TEMPERATURE_GETSAMPLE_TOOLTIP": "TEMPERATURE_GETSAMPLE_TOOLTIP", "TEXT_APPEND_VARIABLE": "VARIABLES_DEFAULT_NAME", "SENSOR_COLOURTCS3472_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP", "MATH_CHANGE_TITLE_ITEM": "VARIABLES_DEFAULT_NAME", "HTCOLOUR_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP"} \ No newline at end of file +{"PROCEDURES_DEFRETURN_TITLE": "PROCEDURES_DEFNORETURN_TITLE", "LISTS_GET_SUBLIST_INPUT_IN_LIST": "LISTS_INLIST", "ACTION_LEDBAR": "LEDBAR", "SENSOR_JOYSTICK_GETSAMPLE_TOOLTIP": "JOYSTICK_GETSAMPLE_TOOLTIP_MBOT2", "LISTS_SET_INDEX_INPUT_IN_LIST": "LISTS_INLIST", "KEY_GETSAMPLE_TOOLTIP": "KEY_ISPRESSED_TOOLTIP", "PROCEDURES_DEFRETURN_PROCEDURE": "PROCEDURES_DEFNORETURN_PROCEDURE", "SENSOR_PINTOUCH_PRESSED_GETSAMPLE_TOOLTIP": "PIN_ISTOUCHED_TOOLTIP", "SENSOR_INFRARED_GETSAMPLE_TOOLTIP": "INFRARED_GETSAMPLE_TOOLTIP", "HTCOLOUR_GETSAMPLE_TOOLTIP": "COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_HUMIDITY_TEMPERATURE_GETSAMPLE_TOOLTIP": "TEMPERATURE_GETSAMPLE_TOOLTIP", "SENSOR_COLOUR_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP", "SENSOR_ULTRASONIC_GETSAMPLE_TOOLTIP": "ULTRASONIC_GETSAMPLE_TOOLTIP", "SENSOR_TOUCH_GETSAMPLE_TOOLTIP": "TOUCH_GETSAMPLE_TOOLTIP", "MODE_UP": "SENSOR_GESTURE_UP", "LISTS_CREATE_WITH_ITEM_TITLE": "VARIABLES_DEFAULT_NAME", "SENSOR_HTCOLOUR_COLOUR_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_ENCODER_GETSAMPLE_TOOLTIP": "ENCODER_GETSAMPLE_TOOLTIP", "MODE_FACE_UP": "SENSOR_GESTURE_FACE_UP", "MODE_SHAKE": "SENSOR_GESTURE_SHAKE", "SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP": "COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "ACTION_DCMOTOR": "DCMOTOR_BOARD", "HTCOLOUR_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_COMPASS_GETSAMPLE_TOOLTIP": "COMPASS_GETSAMPLE_TOOLTIP", "CONTROLS_IF_ELSE_TITLE_ELSE": "CONTROLS_IF_MSG_ELSE", "SENSOR_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_GETSAMPLE_TOOLTIP", "PROCEDURES_DEFRETURN_DO": "PROCEDURES_DEFNORETURN_DO", "LISTS_GET_INDEX_HELPURL": "LISTS_INDEX_OF_HELPURL", "SENSOR_TIMER_GETSAMPLE_TOOLTIP": "TIMER_GETSAMPLE_TOOLTIP", "SENSOR_LIGHT_GETSAMPLE_TOOLTIP": "LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_ACCELEROMETER_VALUE_GETSAMPLE_TOOLTIP": "ACCELEROMETER_ROTATION_TOOLTIP", "ORA_ROBOT_PUSH_RUN": "MESSAGE_EDIT_START", "SENSOR_GYRO_GETSAMPLE_TOOLTIP": "GYRO_GETSAMPLE_TOOLTIP", "PROCEDURES_DEFRETURN_COMMENT": "PROCEDURES_DEFNORETURN_COMMENT", "SENSOR_INFRARED_DISTANCE_GETSAMPLE_TOOLTIP": "INFRARED_DISTANCE_GETSAMPLE_TOOLTIP", "TOUCH_GETSAMPLE_TOOLTIP": "TOUCH_ISPRESSED_TOOLTIP", "TEXT_CREATE_JOIN_ITEM_TITLE_ITEM": "VARIABLES_DEFAULT_NAME", "SENSOR_HUMIDITY_HUMIDITY_GETSAMPLE_TOOLTIP": "SENSOR_HUMIDITY_GETSAMPLE_TOOLTIP", "CONTROLS_IF_MSG_THEN": "CONTROLS_REPEAT_INPUT_DO", "SENSOR_TEMPERATURE_TEMPERATURE_GETSAMPLE_TOOLTIP": "TEMPERATURE_GETSAMPLE_TOOLTIP", "MODE_FREEFALL": "SENSOR_GESTURE_FREEFALL", "MODE_DOWN": "SENSOR_GESTURE_DOWN", "LISTS_INDEX_OF_INPUT_IN_LIST": "LISTS_INLIST", "SENSOR_BATTERY_GETSAMPLE_TOOLTIP": "BATTERY_GETSAMPLE_TOOLTIP", "LISTS_GET_INDEX_INPUT_IN_LIST": "LISTS_INLIST", "HTCOLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "SENSOR_COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "CONTROLS_IF_ELSEIF_TITLE_ELSEIF": "CONTROLS_IF_MSG_ELSEIF", "HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP": "COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_QUADRGB_GETSAMPLE_TOOLTIP": "COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_KEY_GETSAMPLE_TOOLTIP": "KEY_GETSAMPLE_TOOLTIP", "CONTROLS_FOREACH_INPUT_DO": "CONTROLS_REPEAT_INPUT_DO", "SENSOR_INFRARED_PRESENCE_GETSAMPLE_TOOLTIP": "INFRARED_PRESENCE_GETSAMPLE_TOOLTIP", "MODE_FACE_DOWN": "SENSOR_GESTURE_FACE_DOWN", "SENSOR_HTCOLOUR_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_GETSAMPLE_TOOLTIP", "ACTION_LCD_MBOT2": "TOOLBOX_DISPLAY", "CONTROLS_IF_IF_TITLE_IF": "CONTROLS_IF_MSG_IF", "CONTROLS_WHILEUNTIL_INPUT_DO": "CONTROLS_REPEAT_INPUT_DO", "SENSOR_SOUND_GETSAMPLE_TOOLTIP": "SOUND_GETSAMPLE_TOOLTIP", "SENSOR_FLAME_GETSAMPLE_TOOLTIP": "FLAME_GETSAMPLE_TOOLTIP", "ACTION_FOURDIGITDISPLAY": "FOURDIGITDISPLAY", "SENSOR_COLOURTCS3472_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_HTCOLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_AMBIENTLIGHT_GETSAMPLE_TOOLTIP", "SENSOR_COLOURTCS3472_LIGHT_GETSAMPLE_TOOLTIP": "COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_COLOUR_COLOUR_GETSAMPLE_TOOLTIP": "COLOUR_COLOUR_GETSAMPLE_TOOLTIP", "SENSOR_HTCOLOUR_LIGHT_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_LIGHT_GETSAMPLE_TOOLTIP", "SENSOR_SOUND_GETSAMPLE_TOOLTIP_CALLIOPE": "MICROPHONE_GETSAMPLE_TOOLTIP", "SENSOR_HTCOLOUR_RGB_GETSAMPLE_TOOLTIP": "SENSOR_COLOUR_RGB_GETSAMPLE_TOOLTIP", "CONTROLS_FOR_INPUT_DO": "CONTROLS_REPEAT_INPUT_DO", "SENSOR_TEMPERATURE_GETSAMPLE_TOOLTIP": "TEMPERATURE_GETSAMPLE_TOOLTIP", "TEXT_APPEND_VARIABLE": "VARIABLES_DEFAULT_NAME", "SENSOR_COLOURTCS3472_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP", "MATH_CHANGE_TITLE_ITEM": "VARIABLES_DEFAULT_NAME", "HTCOLOUR_RGB_GETSAMPLE_TOOLTIP": "COLOUR_RGB_GETSAMPLE_TOOLTIP"} \ No newline at end of file diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/syntax/action/mbed/DcMotorSetAction.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/syntax/action/mbed/DcMotorSetAction.java new file mode 100644 index 0000000000..2da884c926 --- /dev/null +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/syntax/action/mbed/DcMotorSetAction.java @@ -0,0 +1,92 @@ +package de.fhg.iais.roberta.syntax.action.mbed; + +import java.util.List; + +import de.fhg.iais.roberta.blockly.generated.Block; +import de.fhg.iais.roberta.blockly.generated.Field; +import de.fhg.iais.roberta.blockly.generated.Value; +import de.fhg.iais.roberta.syntax.Phrase; +import de.fhg.iais.roberta.syntax.action.Action; +import de.fhg.iais.roberta.syntax.lang.expr.Expr; +import de.fhg.iais.roberta.transformer.Ast2Jaxb; +import de.fhg.iais.roberta.transformer.ExprParam; +import de.fhg.iais.roberta.transformer.Jaxb2Ast; +import de.fhg.iais.roberta.transformer.Jaxb2ProgramAst; +import de.fhg.iais.roberta.transformer.forClass.NepoPhrase; +import de.fhg.iais.roberta.transformer.forField.NepoField; +import de.fhg.iais.roberta.transformer.forField.NepoValue; +import de.fhg.iais.roberta.typecheck.BlocklyType; +import de.fhg.iais.roberta.util.ast.BlocklyProperties; +import de.fhg.iais.roberta.util.dbc.Assert; +import de.fhg.iais.roberta.util.syntax.BlocklyConstants; +import de.poulter.roberta.syntax.action.mbed.Direction; + + +@NepoPhrase(category = "ACTOR", blocklyNames = {"mbedActions_dcmotor_set"}, name = "DC_MOTOR_SET_ACTION") +public final class DcMotorSetAction extends Action { + + @NepoField(name = "ACTORPORT") + public final String actorPort; + + @NepoValue(name = "MOTOR", type = BlocklyType.NUMBER_INT) + public final Expr motor; + + @NepoField(name = "DIRECTION") + public final Direction direction; + + @NepoValue(name = "SPEED", type = BlocklyType.NUMBER_INT) + public final Expr speed; + + public DcMotorSetAction(BlocklyProperties properties, String actorPort, Expr motor, Direction direction, Expr speed) { + super(properties); + + Assert.notNull(actorPort); + Assert.notNull(motor); + Assert.notNull(direction); + Assert.notNull(speed); + + this.actorPort = actorPort; + this.motor = motor; + this.direction = direction; + this.speed = speed; + + setReadOnly(); + } + + @Override + public String toString() { + return "DcMotorSetAction [" + this.actorPort + ", " + this.motor + ", " + this.direction + ", " + this.speed + "]"; + } + + public static Phrase jaxbToAst(Block block, Jaxb2ProgramAst helper) { + List values = Jaxb2Ast.extractValues(block, (short) 2); + List fields = Jaxb2Ast.extractFields(block, (short) 2); + String actorPort = Jaxb2Ast.optField(fields, BlocklyConstants.ACTORPORT); + Phrase motor = helper.extractValue(values, new ExprParam("MOTOR", BlocklyType.NUMBER_INT)); + Phrase speed = helper.extractValue(values, new ExprParam("SPEED", BlocklyType.NUMBER_INT)); + String direction = Jaxb2Ast.optField(fields, "DIRECTION"); + + return new DcMotorSetAction( + Jaxb2Ast.extractBlocklyProperties(block), + Jaxb2Ast.sanitizePort(actorPort), + Jaxb2Ast.convertPhraseToExpr(motor), + Direction.fromString(direction), + Jaxb2Ast.convertPhraseToExpr(speed) + ); + } + + @Override + public Block astToBlock() { + Block jaxbDestination = new Block(); + Ast2Jaxb.setBasicProperties(this, jaxbDestination); + Ast2Jaxb.addValue(jaxbDestination, "MOTOR", motor); + Ast2Jaxb.addField(jaxbDestination, "DIRECTION", direction.toString()); + Ast2Jaxb.addValue(jaxbDestination, "SPEED", speed); + + if ( actorPort != null ) { + Ast2Jaxb.addField(jaxbDestination, BlocklyConstants.ACTORPORT, actorPort); + } + + return jaxbDestination; + } +} diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/syntax/configuration/DcMotor.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/syntax/configuration/DcMotor.java new file mode 100644 index 0000000000..ea3488a8da --- /dev/null +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/syntax/configuration/DcMotor.java @@ -0,0 +1,12 @@ +package de.fhg.iais.roberta.syntax.configuration; + +import de.fhg.iais.roberta.transformer.forClass.NepoConfiguration; +import de.fhg.iais.roberta.util.dbc.DbcException; + +@NepoConfiguration(name = "DCMOTOR", category = "CONFIGURATION_BLOCK", blocklyNames = {"robConf_dcmotor"}) +public class DcMotor extends ConfigurationComponent { + private DcMotor() { + super(null, true, null, null, null); + throw new DbcException("should NEVER be called"); + } +} diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/IMbedTransformerVisitor.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/IMbedTransformerVisitor.java index 683d453aac..c900868dce 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/IMbedTransformerVisitor.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/IMbedTransformerVisitor.java @@ -4,6 +4,7 @@ import de.fhg.iais.roberta.syntax.action.display.ShowTextAction; import de.fhg.iais.roberta.syntax.action.mbed.BothMotorsOnAction; import de.fhg.iais.roberta.syntax.action.mbed.BothMotorsStopAction; +import de.fhg.iais.roberta.syntax.action.mbed.DcMotorSetAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayGetBrightnessAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayGetPixelAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayImageAction; @@ -174,4 +175,15 @@ default Phrase visitShowTextAction(ShowTextAction showTextAction) { default Phrase visitPlayFileAction(PlayFileAction playFileAction) { return IMbedVisitor.super.visitPlayFileAction(playFileAction); } + + @Override + default Phrase visitDcMotorSetAction(DcMotorSetAction dcMotorSetAction) { + return new DcMotorSetAction( + dcMotorSetAction.getProperty(), + dcMotorSetAction.actorPort, + (Expr) dcMotorSetAction.motor.modify(this), + dcMotorSetAction.direction, + (Expr) dcMotorSetAction.speed.modify(this) + ); + } } diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/IMbedVisitor.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/IMbedVisitor.java index f5aa330563..7a34c6d597 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/IMbedVisitor.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/IMbedVisitor.java @@ -3,6 +3,7 @@ import de.fhg.iais.roberta.syntax.action.display.ShowTextAction; import de.fhg.iais.roberta.syntax.action.mbed.BothMotorsOnAction; import de.fhg.iais.roberta.syntax.action.mbed.BothMotorsStopAction; +import de.fhg.iais.roberta.syntax.action.mbed.DcMotorSetAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayGetBrightnessAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayGetPixelAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayImageAction; @@ -307,5 +308,9 @@ default V visitVolumeAction(VolumeAction volumeAction) { default V visitPlayFileAction(PlayFileAction playFileAction) { throw new DbcException("Block is not implemented!"); } + + default V visitDcMotorSetAction(DcMotorSetAction dcMotorSetAction) { + throw new DbcException("Block is not implemented!"); + } } \ No newline at end of file diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/IMbedVisitorWithoutDefault.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/IMbedVisitorWithoutDefault.java index 088be7340f..a9f88ecc6a 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/IMbedVisitorWithoutDefault.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/IMbedVisitorWithoutDefault.java @@ -2,6 +2,7 @@ import de.fhg.iais.roberta.syntax.action.mbed.BothMotorsOnAction; import de.fhg.iais.roberta.syntax.action.mbed.BothMotorsStopAction; +import de.fhg.iais.roberta.syntax.action.mbed.DcMotorSetAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayGetBrightnessAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayGetPixelAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayImageAction; @@ -144,4 +145,6 @@ public interface IMbedVisitorWithoutDefault V visitHumiditySensor(HumiditySensor humiditySensor); V visitInfraredSensor(InfraredSensor infraredSensor); + + V visitDcMotorSetAction(DcMotorSetAction dcMotorSetAction); } \ No newline at end of file diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeCppVisitor.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeCppVisitor.java index 5997907eed..741d2f0811 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeCppVisitor.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/CalliopeCppVisitor.java @@ -105,6 +105,9 @@ import de.fhg.iais.roberta.visitor.IVisitor; import de.fhg.iais.roberta.visitor.lang.codegen.prog.AbstractCppVisitor; +import de.fhg.iais.roberta.syntax.action.mbed.DcMotorSetAction; +import de.poulter.roberta.syntax.action.mbed.Direction; + /** * This class is implementing {@link IVisitor}. All methods are implemented and they append a human-readable C++ code representation of a phrase to a * StringBuilder. This representation is correct C++ code for Calliope systems.
@@ -642,6 +645,8 @@ public Void visitPinWriteValueAction(PinWriteValueAction pinWriteValueSensor) { @Override public Void visitMainTask(MainTask mainTask) { + UsedHardwareBean usedHardwareBean = this.getBean(UsedHardwareBean.class); + if ( this.getBean(UsedHardwareBean.class).isSensorUsed(SC.TIMER) ) { this.sb.append("int _initTime = _uBit.systemTime();"); } @@ -655,7 +660,7 @@ public Void visitMainTask(MainTask mainTask) { nlIndent(); // Initialise the micro:bit runtime. this.sb.append("_uBit.init();"); - if ( this.getBean(UsedHardwareBean.class).isActorUsed(SC.CALLIBOT) ) { + if ( usedHardwareBean.isActorUsed(SC.CALLIBOT) ) { nlIndent(); this.sb.append("_cbInit(_buf, &_i2c, &_uBit);"); } @@ -676,7 +681,7 @@ public Void visitMainTask(MainTask mainTask) { } } } - if ( this.getBean(UsedHardwareBean.class).isSensorUsed(SC.COLOR) ) { + if ( usedHardwareBean.isSensorUsed(SC.COLOR) ) { String integrationTime = "2_4MS"; String gain = "1X"; for ( ConfigurationComponent usedConfigurationBlock : this.robotConfiguration.getConfigurationComponentsValues() ) { @@ -696,17 +701,20 @@ public Void visitMainTask(MainTask mainTask) { nlIndent(); - if ( this.getBean(UsedHardwareBean.class).isActorUsed(SC.DISPLAY_GRAYSCALE) ) { + if ( usedHardwareBean.isActorUsed(SC.DISPLAY_GRAYSCALE) ) { this.sb.append("_uBit.display.setDisplayMode(DISPLAY_MODE_GREYSCALE);"); } - if ( this.getBean(UsedHardwareBean.class).isActorUsed(SC.RADIO) ) { + if ( usedHardwareBean.isActorUsed(SC.RADIO) ) { nlIndent(); this.sb.append("_uBit.radio.enable();"); } - if ( this.getBean(UsedHardwareBean.class).isSensorUsed(SC.ACCELEROMETER) || this.getBean(UsedHardwareBean.class).isSensorUsed(SC.COMPASS) ) { + if ( usedHardwareBean.isSensorUsed(SC.ACCELEROMETER) || usedHardwareBean.isSensorUsed(SC.COMPASS) ) { nlIndent(); this.sb.append("_uBit.accelerometer.updateSample();"); } + + dcMotorVisitMainTask(usedHardwareBean); + return null; } @@ -1079,11 +1087,16 @@ protected void generateProgramPrefix(boolean withWrapping) { @Override protected void generateProgramSuffix(boolean withWrapping) { + UsedHardwareBean usedHardwareBean = this.getBean(UsedHardwareBean.class); + if ( withWrapping ) { - if ( this.getBean(UsedHardwareBean.class).isActorUsed(SC.CALLIBOT) ) { + if ( usedHardwareBean.isActorUsed(SC.CALLIBOT) ) { nlIndent(); this.sb.append("_cbStop(_buf, &_i2c);"); } + + dcMotorGenerateProgramSuffix(usedHardwareBean); + nlIndent(); this.sb.append("release_fiber();"); decrIndentation(); @@ -1171,40 +1184,42 @@ private String capitalizeFirstLetter(String original) { } private void addIncludes() { + UsedHardwareBean usedHardwareBean = this.getBean(UsedHardwareBean.class); + this.sb.append("#define _GNU_SOURCE\n\n"); this.sb.append("#include \"MicroBit.h\"\n"); this.sb.append("#include \"NEPODefs.h\"\n"); - if ( this.getBean(UsedHardwareBean.class).isActorUsed(SC.FOUR_DIGIT_DISPLAY) ) { + if ( usedHardwareBean.isActorUsed(SC.FOUR_DIGIT_DISPLAY) ) { this.sb.append("#include \"FourDigitDisplay.h\"\n"); } - if ( this.getBean(UsedHardwareBean.class).isActorUsed(SC.LED_BAR) ) { + if ( usedHardwareBean.isActorUsed(SC.LED_BAR) ) { this.sb.append("#include \"Grove_LED_Bar.h\"\n"); } - if ( this.getBean(UsedHardwareBean.class).isSensorUsed(SC.HUMIDITY) ) { + if ( usedHardwareBean.isSensorUsed(SC.HUMIDITY) ) { this.sb.append("#include \"Sht31.h\"\n"); } this.sb.append("#include \n"); this.sb.append("#include \n"); this.sb.append("#include \n"); this.sb.append("MicroBit _uBit;\n"); - if ( this.getBean(UsedHardwareBean.class).isActorUsed(SC.FOUR_DIGIT_DISPLAY) ) { + if ( usedHardwareBean.isActorUsed(SC.FOUR_DIGIT_DISPLAY) ) { this.sb.append("FourDigitDisplay _fdd(MICROBIT_PIN_P2, MICROBIT_PIN_P8);\n"); // Only works on the right UART Grove connector } - if ( this.getBean(UsedHardwareBean.class).isActorUsed(SC.LED_BAR) ) { + if ( usedHardwareBean.isActorUsed(SC.LED_BAR) ) { this.sb.append("Grove_LED_Bar _ledBar(MICROBIT_PIN_P8, MICROBIT_PIN_P2);\n"); // Only works on the right UART Grove connector; Clock/Data pins are swapped compared to 4DigitDisplay } - if ( this.getBean(UsedHardwareBean.class).isSensorUsed(SC.HUMIDITY) ) { + if ( usedHardwareBean.isSensorUsed(SC.HUMIDITY) ) { this.sb.append("Sht31 _sht31 = Sht31(MICROBIT_PIN_P8, MICROBIT_PIN_P2);\n"); } - if ( this.getBean(UsedHardwareBean.class).isActorUsed(SC.CALLIBOT) ) { + if ( usedHardwareBean.isActorUsed(SC.CALLIBOT) ) { this.sb.append("MicroBitI2C _i2c(MICROBIT_PIN_P20, MICROBIT_PIN_P19);"); nlIndent(); this.sb.append("char _buf[5] = { 0, 0, 0, 0, 0 };"); nlIndent(); this.sb.append("uint8_t _cbLedState = 0x00;"); } - if ( this.getBean(UsedHardwareBean.class).isSensorUsed(SC.COLOR) ) { + if ( usedHardwareBean.isSensorUsed(SC.COLOR) ) { this.sb.append("MicroBitI2C _i2c(MICROBIT_PIN_P20, MICROBIT_PIN_P19);"); nlIndent(); this.sb.append("char _buf[8] = { 0, 0, 0, 0, 0, 0, 0, 0 };"); @@ -1215,6 +1230,8 @@ private void addIncludes() { nlIndent(); this.sb.append("char _TCS3472_time = 0xff;"); } + + dcMotorAddIncludes(usedHardwareBean); } @Override @@ -1530,4 +1547,79 @@ private boolean isDualMode() { Set motorPins = getMotorPins(); return motorPins.stream().filter(s -> s.equals("A") || s.equals("B")).count() > 1; } + + /************* DC Motor extension **************************/ + + @Override + public Void visitDcMotorSetAction(DcMotorSetAction dcMotorSetAction) { + String actorPort = dcMotorSetAction.actorPort; + ConfigurationComponent confComp = this.robotConfiguration.getConfigurationComponent(actorPort); + Direction direction = dcMotorSetAction.direction; + + this.sb.append("dcMotor_").append(confComp.internalPortName).append(".setPercent("); + dcMotorSetAction.motor.accept(this); + this.sb.append(", "); + + switch(direction) { + case Stop: + this.sb.append("Direction::Stop, 0"); + break; + + case Backward: + case Forward: + default: + this.sb.append("Direction::").append(direction).append(", "); + + case Numeric: + dcMotorSetAction.speed.accept(this); + break; + } + + this.sb.append(");"); + + return null; + } + + private void dcMotorAddIncludes(UsedHardwareBean usedHardwareBean) { + if (!usedHardwareBean.isActorUsed(SC.DCMOTOR)) return; + + nlIndent(); + sb.append("#include \"DcMotor.h\"\n"); + + for (ConfigurationComponent actor : robotConfiguration.getActors(SC.DCMOTOR)) { + String i2cAddress = actor.getComponentProperties().get("I2CADDRESS"); + sb.append("DcMotor dcMotor_") + .append(actor.internalPortName) + .append("(") + .append(i2cAddress) + .append(");\n"); + } + } + + private void dcMotorVisitMainTask(UsedHardwareBean usedHardwareBean) { + if (!usedHardwareBean.isActorUsed(SC.DCMOTOR)) return; + + for (ConfigurationComponent actor : robotConfiguration.getActors(SC.DCMOTOR)) { + nlIndent(); + sb.append("dcMotor_") + .append(actor.internalPortName) + .append(".init();"); + }; + nlIndent(); + } + + private void dcMotorGenerateProgramSuffix(UsedHardwareBean usedHardwareBean) { + if (!usedHardwareBean.isActorUsed(SC.DCMOTOR)) return; + + nlIndent(); + for (ConfigurationComponent actor : robotConfiguration.getActors(SC.DCMOTOR)) { + nlIndent(); + sb.append("dcMotor_") + .append(actor.internalPortName) + .append(".release();"); + }; + nlIndent(); + } + + /************* DC Motor extension **************************/ } \ No newline at end of file diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/MbedStackMachineVisitor.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/MbedStackMachineVisitor.java index 0b455793d4..289c8dcd37 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/MbedStackMachineVisitor.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/codegen/MbedStackMachineVisitor.java @@ -16,6 +16,7 @@ import de.fhg.iais.roberta.syntax.action.light.LightStatusAction; import de.fhg.iais.roberta.syntax.action.mbed.BothMotorsOnAction; import de.fhg.iais.roberta.syntax.action.mbed.BothMotorsStopAction; +import de.fhg.iais.roberta.syntax.action.mbed.DcMotorSetAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayGetBrightnessAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayGetPixelAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayImageAction; @@ -454,4 +455,9 @@ public Void visitMotionKitSingleSetAction(MotionKitSingleSetAction motionKitSing public Void visitMotionKitDualSetAction(MotionKitDualSetAction motionKitDualSetAction) { return null; } + + @Override + public Void visitDcMotorSetAction(DcMotorSetAction dcMotorSetAction) { + return null; + } } diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/validate/CalliopeSimValidatorAndCollectorVisitor.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/validate/CalliopeSimValidatorAndCollectorVisitor.java index a950b38fc6..ab048ba498 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/validate/CalliopeSimValidatorAndCollectorVisitor.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/validate/CalliopeSimValidatorAndCollectorVisitor.java @@ -125,4 +125,10 @@ public Void visitMotionKitDualSetAction(MotionKitDualSetAction motionKitDualSetA addWarningToPhrase(motionKitDualSetAction, "SIM_BLOCK_NOT_SUPPORTED"); return super.visitMotionKitDualSetAction(motionKitDualSetAction); } + + @Override + public Void visitDcMotorSetAction(DcMotorSetAction dcMotorSetAction) { + addWarningToPhrase(dcMotorSetAction, "SIM_BLOCK_NOT_SUPPORTED"); + return super.visitDcMotorSetAction(dcMotorSetAction); + } } diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/validate/MbedValidatorAndCollectorVisitor.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/validate/MbedValidatorAndCollectorVisitor.java index 94942b60ee..c9eb6f9941 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/validate/MbedValidatorAndCollectorVisitor.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/visitor/validate/MbedValidatorAndCollectorVisitor.java @@ -17,6 +17,7 @@ import de.fhg.iais.roberta.syntax.action.light.LightStatusAction; import de.fhg.iais.roberta.syntax.action.mbed.BothMotorsOnAction; import de.fhg.iais.roberta.syntax.action.mbed.BothMotorsStopAction; +import de.fhg.iais.roberta.syntax.action.mbed.DcMotorSetAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayGetBrightnessAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayGetPixelAction; import de.fhg.iais.roberta.syntax.action.mbed.DisplayImageAction; @@ -584,7 +585,7 @@ private Void addActorMaybeCallibot(WithUserDefinedPort phrase, String componentT } return null; } - + private Boolean isMotionKitPinsOverlapping() { Map usedConfig = robotConfiguration.getConfigurationComponents(); if ( robotConfiguration.optConfigurationComponentByType(SC.CALLIBOT) != null || robotConfiguration.isComponentTypePresent("LEDBAR") || @@ -605,4 +606,14 @@ private Boolean isMotionKitPinsOverlapping() { } return false; } + + @Override + public Void visitDcMotorSetAction(DcMotorSetAction dcMotorSetAction) { + checkActorByTypeExists(dcMotorSetAction, "DCMOTOR"); + + requiredComponentVisited(dcMotorSetAction, dcMotorSetAction.speed); + usedHardwareBuilder.addUsedActor(new UsedActor("", SC.DCMOTOR)); + + return null; + } } diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/worker/MbedTwo2ThreeTransformerHelper.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/worker/MbedTwo2ThreeTransformerHelper.java index 1ec9a6d515..7cea6016bd 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/worker/MbedTwo2ThreeTransformerHelper.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/worker/MbedTwo2ThreeTransformerHelper.java @@ -36,6 +36,7 @@ public final class MbedTwo2ThreeTransformerHelper { PROG_BLOCK_TO_CONF_BLOCKLY_NAME.put(Triple.of("COMPASS_SENSING", "DEFAULT", ""), "robConf_compass"); PROG_BLOCK_TO_CONF_BLOCKLY_NAME.put(Triple.of("FOURDIGITDISPLAY_SHOW_ACTION", "", "5"), "robConf_fourdigitdisplay"); PROG_BLOCK_TO_CONF_BLOCKLY_NAME.put(Triple.of("FOURDIGITDISPLAY_CLEAR_ACTION", "", "5"), "robConf_fourdigitdisplay"); + PROG_BLOCK_TO_CONF_BLOCKLY_NAME.put(Triple.of("DC_MOTOR_SET_ACTION", "LINE", "4"), "robConf_dcmotor"); PROG_BLOCK_TO_CONF_BLOCKLY_NAME.put(Triple.of("GYRO_SENSING", "ANGLE", "X"), "robConf_gyro"); PROG_BLOCK_TO_CONF_BLOCKLY_NAME.put(Triple.of("GYRO_SENSING", "ANGLE", "Y"), "robConf_gyro"); PROG_BLOCK_TO_CONF_BLOCKLY_NAME.put(Triple.of("HUMIDITY_SENSING", "HUMIDITY", "5"), "robConf_humidity"); @@ -266,6 +267,7 @@ public final class MbedTwo2ThreeTransformerHelper { CALLIOPE_XML_NAME_TO_FRONTEND_NAME.put(Pair.of("robConf_digitalout", "4"), "A0"); CALLIOPE_XML_NAME_TO_FRONTEND_NAME.put(Pair.of("robConf_digitalout", "5"), "A1"); CALLIOPE_XML_NAME_TO_FRONTEND_NAME.put(Pair.of("robConf_fourdigitdisplay", "5"), "A1"); + CALLIOPE_XML_NAME_TO_FRONTEND_NAME.put(Pair.of("robConf_dcmotor", "4"), "A0"); CALLIOPE_XML_NAME_TO_FRONTEND_NAME.put(Pair.of("robConf_humidity", "5"), "A1"); CALLIOPE_XML_NAME_TO_FRONTEND_NAME.put(Pair.of("robConf_ledbar", "5"), "A1"); CALLIOPE_XML_NAME_TO_FRONTEND_NAME.put(Pair.of("robConf_motor", "A"), "Port_A"); diff --git a/RobotMbed/src/main/java/de/fhg/iais/roberta/worker/validate/CalliopeValidatorAndCollectorWorker.java b/RobotMbed/src/main/java/de/fhg/iais/roberta/worker/validate/CalliopeValidatorAndCollectorWorker.java index 5629f9dc92..86b9368c9b 100644 --- a/RobotMbed/src/main/java/de/fhg/iais/roberta/worker/validate/CalliopeValidatorAndCollectorWorker.java +++ b/RobotMbed/src/main/java/de/fhg/iais/roberta/worker/validate/CalliopeValidatorAndCollectorWorker.java @@ -10,7 +10,7 @@ import java.util.stream.Stream; public class CalliopeValidatorAndCollectorWorker extends MbedValidatorAndCollectorWorker { - public static final List FREE_PINS = Stream.of("A", "B", "0", "1", "2", "3", "4", "5", "C04", "C05", "C06", "C07", "C08", "C09", "C10", "C11", "C12", "C16", "C17", "C18", "C19").collect(Collectors.toList()); + public static final List FREE_PINS = Stream.of("A", "B", "0", "1", "2", "3", "4", "5", "C04", "C05", "C06", "C07", "C08", "C09", "C10", "C11", "C12", "C16", "C17", "C18", "C19", "A0", "A1").collect(Collectors.toList()); public static final List DEFAULT_PROPERTIES = Stream.of("KEY", "ACCELEROMETER", "RGBLED", "SOUND", "COMPASS", "BUZZER", "TEMPERATURE", "GYRO", "LIGHT", "ROBOT").collect(Collectors.toList()); public static final HashMap MAP_CORRECT_CONFIG_PINS = new HashMap() {{ put(SC.ULTRASONIC, "5"); diff --git a/RobotMbed/src/main/java/de/poulter/roberta/syntax/action/mbed/Direction.java b/RobotMbed/src/main/java/de/poulter/roberta/syntax/action/mbed/Direction.java new file mode 100644 index 0000000000..60c4dc4351 --- /dev/null +++ b/RobotMbed/src/main/java/de/poulter/roberta/syntax/action/mbed/Direction.java @@ -0,0 +1,15 @@ +package de.poulter.roberta.syntax.action.mbed; + +public enum Direction { + + Forward, + Backward, + Stop, + Numeric; + + public static Direction fromString(String direction) { + if (direction == null) return Stop; + return Direction.valueOf(direction); + } + +} diff --git a/RobotMbed/src/main/resources/calliope/configuration.toolbox.xml b/RobotMbed/src/main/resources/calliope/configuration.toolbox.xml index 834b80c91d..a14e4e8d15 100644 --- a/RobotMbed/src/main/resources/calliope/configuration.toolbox.xml +++ b/RobotMbed/src/main/resources/calliope/configuration.toolbox.xml @@ -4,6 +4,7 @@ + diff --git a/RobotMbed/src/main/resources/calliope/program.toolbox.expert.xml b/RobotMbed/src/main/resources/calliope/program.toolbox.expert.xml index 820078beac..345cf4455b 100644 --- a/RobotMbed/src/main/resources/calliope/program.toolbox.expert.xml +++ b/RobotMbed/src/main/resources/calliope/program.toolbox.expert.xml @@ -142,6 +142,19 @@ FOREWARD FOREWARD + + Forward + + + 1 + + + + + 100 + + +