Skip to content

Commit

Permalink
Merge pull request #2 from fareshan/master
Browse files Browse the repository at this point in the history
add french localization
  • Loading branch information
elecfreaks1 authored Jun 27, 2024
2 parents 8399d1b + 5d32ab7 commit eadae60
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 1 deletion.
77 changes: 77 additions & 0 deletions _locales/fr/pxt-cutebotpro-strings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"CutbotProIRButtons.Menu|block": "menu",
"CutbotProIRButtons.Up|block": "up",
"CutbotProIRButtons.Left|block": "left",
"CutbotProIRButtons.Right|block": "right",
"CutbotProIRButtons.Down|block": "down",
"CutbotProIRButtons.OK|block": "ok",
"CutbotProIRButtons.Plus|block": "plus",
"CutbotProIRButtons.Minus|block": "minus",
"CutbotProIRButtons.Back|block": "back",
"CutebotProMotors.M1|block": "roue gauche",
"CutebotProMotors.M2|block": "roue droite",
"CutebotProMotors.ALL|block": "toutes les roues",
"CutebotProMotors1.M1|block": "roue gauche",
"CutebotProMotors1.M2|block": "roue droite",
"CutebotProDir.CW|block": "sens horaire",
"CutebotProDir.CCW|block": "sens anti horaire",
"CutebotProOrientation.Advance|block": "avance",
"CutebotProOrientation.Retreat|block": "recule",
"CutebotProRGBLight.RGBL|block": "RVB gauche",
"CutebotProRGBLight.RGBR|block": "RVB droite",
"CutebotProRGBLight.RGBA|block": "RVB tous",
"CutebotProDistanceUnits.Cm|block": "cm",
"CutebotProDistanceUnits.Ft|block": "pouce",
"CutebotProAngleUnits.Angle|block": "angle",
"CutebotProAngleUnits.Circle|block": "cercle",
"CutebotProSpeedUnits.Cms|block": "cm/s",
"CutebotProSpeedUnits.Ins|block": "po/s",
"CutebotProWheel.LeftWheel|block": "roue gauche",
"CutebotProWheel.RightWheel|block": "roue droite",
"CutebotProWheel.AllWheel|block": "toutes les roues",
"CutebotProTurn.Left|block": "tourner à gauche",
"CutebotProTurn.Right|block": "tourner à droite",
"CutebotProTurn.LeftInPlace|block": "tourner à gauche sur place",
"CutebotProTurn.RightInPlace|block": "tourner à droite sur place",
"SonarUnit.Centimeters|block": "cm",
"SonarUnit.Inches|block": "pouces",
"CutebotPro.readVersions|block": "numéro de version",
"CutebotPro.readSpeed|block": "récupérer vitesse de %CutebotProMotors1 %CutebotProSpeedUnits",
"CutebotPro.extendServoControl|block": "régler l'angle du servo %CutebotProServoIndex de type %ServoType à %angle°",
"CutebotPro.continuousServoControl|block": "régler la vitesse du servo continu %CutebotProServoIndex à %speed\\%",
"CutebotPro.extendMotorControl|block": "régler la vitesse du moteur à %speed\\%",
"CutebotPro.extendMotorStop|block": "arrêter le moteur",
"CutebotPro.clearWheelTurn|block": "effacer les degrés de rotation degrees de %CutebotProMotors1",
"Color.OFF|block": "off",
"CutebotPro.singleHeadlights|block": "régler la couleur des LEDs %CutebotProRGBLight à R:%r V:%g B:%b",
"CutebotPro.readDistance|block": "régler les degrés de rotation de %CutebotProMotors1",
"CutebotPro.fullSpeedAhead|block": "avancer à pleine vitesse",
"CutebotPro.fullAstern|block": "reculer à pleine vitesse",
"CutebotPro.stopImmediately|block": "régler %CutebotProMotors pour un arrêt immédiat",
"CutebotPro.cruiseControl|block": "régler la vitesse de la roue gauche à % %speedL, la vitesse de la roue droite à %speedR %CutebotProSpeedUnits",
"CutebotPro.pwmCruiseControl|block": "régler la vitesse de la roue gauche à %speedL\\%, la vitesse de la roue droite à %speedR\\%",
"CutebotPro.trolleySteering|block": "régler voiture %CutebotProTurn avec angle %CutebotProAngle",
"CutebotPro.turnOffAllHeadlights|block": "éteindre toutes les LEDs",
"CutebotPro.colorLight|block": "régler la coulleur des LED %CutebotProRGBLight à $color",
"CutebotPro.trackbitChannelState|block": "canal %TrackbitChannel capteur de suivi %TrackbitType",
"CutebotPro.trackbitgetGray|block": "canal %TrackbitChannel capteur de suivi valeur grise",
"CutebotPro.getGrayscaleSensorState|block": "état du capteur de suivi est %TrackbitStateType",
"CutebotPro.getOffset|block": "valeur de décalage fusionnée",
"CutebotPro.distanceRunning|block": "aller %CutebotProOrientation %distance %CutebotProDistanceUnits",
"CutebotPro.angleRunning|block": "régler l'angle de rotation de %CutebotProWheel à %angle %CutebotProAngleUnits",
"CutebotPro.irButton|block": "bouton IR %CutbotProIRButtons est appuyé",
"CutebotPro.irCallback|block": "à la réception IR",
"CutebotPro.ultrasonic|block": "capteur sonar %SonarUnit",
"CutebotPro.setBlockCnt|block": "régler dimension des carrés à %length %CutebotProDistanceUnits",
"CutebotPro.runBlockCnt|block": "avancer de %cnt carrés",
"CutebotPro.trackbitStateValue|block": "récupérer l'état du capteur de suivi",
"{id:group}Basic control": "Contrôles de base",
"{id:group}LED headlights": "Lumières LED",
"{id:group}Tracking sensor": "Capteur de suivi de ligne",
"{id:group}Sonar sensor": "Capteur Sonar",
"{id:group}PID Control": "Contrôles PID",
"{id:group}Infrared sensor": "Capteur infrarouge",
"{id:group}Expansion port": "Port d'extension",
"{id:group}Others": "Autres",
"CutebotPro|block": "Cutebot Pro"
}
4 changes: 3 additions & 1 deletion pxt.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@
"shims.d.ts",
"enums.d.ts",
"_locales/zh-cn/pxt-cutebotpro-strings.json",
"_locales/fr/pxt-cutebotpro-strings.json",
"_locales/cs/pxt-cutebotpro-strings.json",
"_locales/cs/pxt-cutebotpro-jsdoc-strings.json"

],
"testFiles": [
"test.ts"
Expand All @@ -29,4 +31,4 @@
"microbit"
],
"preferredEditor": "tsprj"
}
}

0 comments on commit eadae60

Please sign in to comment.