From 9e7bf1f941ea59c5b6d1c033705af66a39e3e07c Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Thu, 12 Jan 2012 22:18:35 +0000 Subject: new strings for Butia, Follow me and Sumo plugins --- (limited to 'taextras.py') diff --git a/taextras.py b/taextras.py index 699cae9..5d9a5d6 100644 --- a/taextras.py +++ b/taextras.py @@ -56,17 +56,17 @@ BUTIA_STRINGS = [ #TRANS: Butia is the Arduino Robot Project from Uruguay #(http://www.fing.edu.uy/inco/proyectos/butia/) _('Turtle Art Butia'), - _('Adjust LED intensity between 0 and 255.'), - _('Returns the object gray level encountered him as a number between \ -0 and 1023.'), - _('Returns 1 when the button is press and 0 otherwise.'), - _('Returns the ambient light level as a number between 0 and 1023.'), - _('Returns the ambient temperature as a number between 0 and 255.'), - _('Returns the distance from the object in front of the sensor as a \ -number between 0 and 255.'), - _('Returns 0 or 1 depending on the sensor inclination.'), - _('Returns 1 when the sensors detects a magnetic field, 0 otherwise.'), - _('Switches from 0 to 1, the frequency depends on the vibration.'), + _('adjust LED intensity between 0 and 255'), + _('returns the object gray level encountered him as a number between \ +0 and 1023'), + _('returns 1 when the button is press and 0 otherwise'), + _('returns the ambient light level as a number between 0 and 1023'), + _('returns the ambient temperature as a number between 0 and 255'), + _('returns the distance from the object in front of the sensor as a number \ +between 0 and 255'), + _('returns 0 or 1 depending on the sensor inclination'), + _('returns 1 when the sensors detects a magnetic field, 0 otherwise'), + _('switches from 0 to 1, the frequency depends on the vibration'), _('LED'), _('pushbutton'), _('grayscale'), @@ -79,29 +79,30 @@ number between 0 and 255.'), _('Butia Robot'), _('delay Butia'), _('wait for argument seconds'), - _('Butia battery charge'), - _('Returns the battery charge as a number between 0 and 255.'), - _('Butia speed'), - _('Set the speed of the Butia motors as a value between 0 and 1023, \ -passed by an argument.'), + _('battery charge Butia'), + _('returns the battery charge as a number between 0 and 255'), + _('speed Butia'), + _('set the speed of the Butia motors as a value between 0 and 1023, \ +passed by an argument'), _('forward Butia'), - _('Move the Butia robot forward.'), - _('forward distance'), - _('Move the Butia robot forward a predefined distance.'), + _('move the Butia robot forward'), + _('move the Butia robot forward a predefined distance'), _('backward Butia'), - _('Move the Butia robot backward.'), - _('backward distance'), - _('Move the Butia robot backward a predefined distance.'), + _('move the Butia robot backward'), + _('move the Butia robot backward a predefined distance'), _('left Butia'), - _('Move the Butia robot backward.'), + _('turn the Butia robot at left'), _('right Butia'), - _('Move the Butia robot backward.'), - _('Turn x degrees'), - _('Turn the Butia robot x degrees.'), + _('turn the Butia robot at right'), + _('turn Butia'), + _('turn the Butia robot x degrees'), _('stop Butia'), - _('Move the Butia robot backward.'), - _('print Butia'), - _('Print text in Butia robot 32-character ASCII display.'), + _('stop the Butia robot'), + _('display Butia'), + #TRANS: this string must contain only ASCII characters. + #The len must be 32 characters/spaces. + _('Hello World Butia '), + _('print text in Butia robot 32-character ASCII display'), _('Butia') ] @@ -110,50 +111,58 @@ FOLLOWME_STRINGS = [ _('Error on the initialization of the camera.'), _('FollowMe'), _('follow a RGB color'), + _('set a threshold for a RGB color'), _('follow a turtle color'), + _('set the minimal number of pixels to follow'), + _('calibrate'), _('calibrate a color to follow'), - _('Calibrate'), _('x position'), _('return x position'), _('y position'), - _('return y position') + _('return y position'), + _('pixels'), + _('return the number of pixels of the biggest blob') ] SUMO_STRINGS = [ - _('Sumo Butia'), - _('submit speed​​'), - _('Send speed to the robot.'), - _('set speed'), - _('Set the default speed for the movement commands.'), - _('move'), - _('back'), - _('stop'), - _('turn left'), - _('turn right'), + _('SumBot'), + _('speed SumBot'), + _('submit the speed to the SumBot'), + _('set the default speed for the movement commands'), + _('forward SumBot'), + _('move SumBot forward'), + _('backward SumBot'), + _('move SumBot backward'), + _('stop SumBot'), + _('stop the SumBot'), + _('left SumBot'), + _('turn left the SumBot'), + _('right SumBot'), + _('turn right the SumBot'), _('angle to center'), - #TRANS: dojo is the playing field - _('Get the angle to the center of the dojo.'), - _('angle to the opponent'), - _('Get the angle to the center of the opponent.'), - _('x coor.'), - _('Get the x coordinate of the robot.'), - _('y coor.'), - _('Get the y coordinate of the robot.'), - _('opponent x coor.'), - _('Get the x coordinate of the opponent.'), - _('opponent y coor.'), - _('Get the y coordinate of the opponent.'), - _('rotation'), - _('Get SumBot rotation.'), - _('opponent rotation'), - _('Get the rotation of the opponent.'), + #TRANS: dohyo is the playing field + _('get the angle to the center of the dohyo'), + _('angle to Enemy'), + _('get the angle to the Enemy'), + _('x coor. SumBot'), + _('get the x coordinate of the SumBot'), + _('y coor. SumBot'), + _('get the y coordinate of the SumBot'), + _('x coor. Enemy'), + _('get the x coordinate of the Enemy'), + _('y coor. Enemy'), + _('get the y coordinate of the Enemy'), + _('rotation SumBot'), + _('get the rotation of the Sumbot'), + _('rotation Enemy'), + _('get the rotation of the Enemy'), _('distance to center'), - #TRANS: dojo is the playing field - _('Get the distance to the center of the dojo.'), - _('distance to opponent'), - _('Get the distance to the opponent.'), + #TRANS: dohyo is the playing field + _('get the distance to the center of the dohyo'), + _('distance to Enemy'), + _('get the distance to the Enemy'), _('update information'), - _('Update information from the server.') + _('update information from the server') ] PHYSICS_STRINGS = [ -- cgit v0.9.1