Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/taextras.py
blob: 37f80c9542fc6ff1c37454172b7b1a420e603a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
# -*- coding: utf-8 -*-
#Copyright (c) 2011 Walter Bender

#Permission is hereby granted, free of charge, to any person obtaining a copy
#of this software and associated documentation files (the "Software"), to deal
#in the Software without restriction, including without limitation the rights
#to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
#copies of the Software, and to permit persons to whom the Software is
#furnished to do so, subject to the following conditions:

#The above copyright notice and this permission notice shall be included in
#all copies or substantial portions of the Software.

#THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
#IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
#FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
#AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
#LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
#OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
#THE SOFTWARE.

from gettext import gettext as _

'''
Note: this file contains string from plugins and related projects that
are not included in the default packaaging of Turtle Art. The reason
for gathering these strings here is to enable us to use one common POT
file across all of these projects.

TODO: build some automated way of maintaining this file.
'''

# ACTIVITIES

TURTLEARTMINI_STRINGS = [
    _('Turtle Art Mini')
    ]

TURTLECONFUSION_STRINGS = [
    _('Turtle Confusion'),
    _('Select a challenge')
    ]

# PLUGINS

CURRENCY_STRINGS = [
    _('Palette of Mexican pesos'),
    _('Palette of Colombian pesos'),
    _('Palette of Rwandan francs'),
    _('Palette of US currencies'),
    _('Palette of Australian currencies'),
    _('Palette of Guaranies')
    ]

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.'),
    _('LED'),
    _('pushbutton'),
    _('grayscale'),
    _('ambient light'),
    _('temperature'),
    _('distance'),
    _('tilt'),
    _('magnetic induction'),
    _('vibration'),
    _('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.'),
    _('forward Butia'),
    _('Move the Butia robot forward.'),
    _('forward distance'),
    _('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.'),
    _('left Butia'),
    _('Move the Butia robot backward.'),
    _('right Butia'),
    _('Move the Butia robot backward.'),
    _('Turn x degrees'),
    _('Turn the Butia robot x degrees.'),
    _('stop Butia'),
    _('Move the Butia robot backward.'),
    _('print Butia'),
    _('Print text in Butia robot 32-character ASCII display.'),
    _('Butia')
    ]

FOLLOWME_STRINGS = [
    _('The camera was not found.'),
    _('Error on the initialization of the camera.'),
    _('FollowMe'),
    _('follow a RGB color'),
    _('follow a turtle color'),
    _('calibrate a color to follow'),
    _('x position'),
    _('return x position'),
    _('y position'),
    _('return y position')
    ]

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'),
    _('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.'),
    _('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.'),
    _('update information'),
    _('Update information from the server.')
    ]