Skip to content

Commit

Permalink
change label
Browse files Browse the repository at this point in the history
change label in variable for french
  • Loading branch information
karlTH committed Sep 11, 2015
1 parent d1de7ee commit 7584691
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 31 deletions.
19 changes: 10 additions & 9 deletions src/main/resources/com/ardublock/block/ardublock.properties
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ bg.MaSD_separator=SD Separator
bc.space=Space
bc.tab=Tabulation

bg.variable_poly=char variable name
bg.variable_poly=Char
bg.setter_variable_char=set char variable
bg.char=A
bd.chars= Chars Test
Expand All @@ -63,9 +63,9 @@ bg.setup=setup
bc.par=input
bc.vecsize=size
bc.num=#
bg.variable_fake=fake
bg.variable_fake=Table
bg.fake=fake
bg.variable_vector=array variable name
bg.variable_vector=Table
bc.position=position
bg.create_variable_vector=create an array
bg.setter_variable_vector=set an array member
Expand All @@ -84,7 +84,7 @@ bg.code_head=add code on Head
bg.code_setup=add code on Setup
bg.setter_variable_String=set String variable
bg.setter_variable_String.description=set String variable
bg.variable_String=String variable
bg.variable_String=STRING
bg.variable_String.description=String variable
bg.code_loop=add code on Loop
bg.serial_read=serial read
Expand Down Expand Up @@ -384,10 +384,10 @@ bg.LCD_command_cursorOn= Cursor On
bg.LCD_command_cursorOff=Cursor Off
bg.LCD_command_blinkOn= Blink On
bg.LCD_command_blinkOff=Blink Off
bg.variable_digital=digital variable name
bg.variable_number=integer variable name
bg.variable_number_unsigned_long=Large integer variable name
bg.variable_number_double='Decimal' variable name
bg.variable_digital=Bool
bg.variable_number=Integer
bg.variable_number_unsigned_long=Unsigned_long
bg.variable_number_double=Double
bg.variable_string=string name
bg.while=while
bg.do_while=do while
Expand Down Expand Up @@ -572,7 +572,7 @@ bg.number.description=Standard integer constant. 32,768 to +32,767
bg.number_long.description=Large integer constant. 0 to 4,294,967,295
bg.number_double.description='Decimal' number constant. +/- 3.4028235E+38
bg.variable_number.description=Standard integer variable. -32,768 to +32,767
bg.variable_number_unsigned_long.description=Large integer variable name
bg.variable_number_unsigned_long.description=Unsigned_long
bg.variable_number_double.description='Decimal' variable name
bg.variable_digital.description=Digital variable
bg.variable_string.description=string variable
Expand All @@ -583,6 +583,7 @@ bg.setter_variable_digital.description=Set digital variable
bg.variable_vector.description=Get the value of an array member
bg.create_variable_vector.description=Create an array of standard integers. -32,768 to +32,767
bg.setter_variable_vector.description=Set the value of an array member
bc.array=Name the array
bg.setter_variable_char.description=Set a character variable
bg.variable_poly.description=Character variable name
bg.servo.description=Control a servo
Expand Down
28 changes: 13 additions & 15 deletions src/main/resources/com/ardublock/block/ardublock.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1505,7 +1505,7 @@
</description>
<BlockConnectors>
<BlockConnector connector-type="number" connector-kind="socket" label="bc.variable">
<DefaultArg genus-name="variable_number" label="integer variable name" />
<DefaultArg genus-name="variable_number" label="Integer" />
</BlockConnector>
<BlockConnector connector-type="number" connector-kind="socket" label="bc.value">
<DefaultArg genus-name="number" label="0" />
Expand All @@ -1519,7 +1519,7 @@
</description>
<BlockConnectors>
<BlockConnector connector-type="number" connector-kind="socket" label="bc.variable">
<DefaultArg genus-name="variable_number_unsigned_long" label="Large integer variable name" />
<DefaultArg genus-name="variable_number_unsigned_long" label="Unsigned_long" />
</BlockConnector>
<BlockConnector connector-type="number" connector-kind="socket" label="bc.value">
<DefaultArg genus-name="number_long" label="1000000" />
Expand All @@ -1533,7 +1533,7 @@
</description>
<BlockConnectors>
<BlockConnector connector-type="number" connector-kind="socket" label="bc.variable">
<DefaultArg genus-name="variable_number_double" label="Decimal variable name" />
<DefaultArg genus-name="variable_number_double" label="Double" />
</BlockConnector>
<BlockConnector connector-type="number" connector-kind="socket" label="bc.value">
<DefaultArg genus-name="number_double" label="3.1415927" />
Expand All @@ -1547,7 +1547,7 @@
</description>
<BlockConnectors>
<BlockConnector connector-type="boolean" connector-kind="socket" label="bc.variable">
<DefaultArg genus-name="variable_digital" label="digital variable name" />
<DefaultArg genus-name="variable_digital" label="Bool" />
</BlockConnector>
<BlockConnector connector-type="boolean" connector-kind="socket" label="bc.value">
<DefaultArg genus-name="digital-high" label="HIGH" />
Expand All @@ -1574,8 +1574,8 @@
<text>create a vector of numbers</text>
</description>
<BlockConnectors>
<BlockConnector connector-type="number" connector-kind="socket" label="bc.variable">
<DefaultArg genus-name="variable_fake" label="array variable name" />
<BlockConnector connector-type="number" connector-kind="socket" label="bc.array">
<DefaultArg genus-name="variable_fake" label="Table" />
</BlockConnector>
<BlockConnector connector-type="number" connector-kind="socket" label="bc.vecsize">
<DefaultArg genus-name="number" label="1" />
Expand All @@ -1589,8 +1589,8 @@
<text>Set a vector number</text>
</description>
<BlockConnectors>
<BlockConnector connector-type="number" connector-kind="socket" label="bc.variable">
<DefaultArg genus-name="variable_fake" label="array variable name" />
<BlockConnector connector-type="number" connector-kind="socket" label="bc.array">
<DefaultArg genus-name="variable_fake" label="Table" />
</BlockConnector>
<BlockConnector connector-type="number" connector-kind="socket" label="bc.position">
<DefaultArg genus-name="number" label="1" />
Expand All @@ -1607,7 +1607,7 @@
</description>
<BlockConnectors>
<BlockConnector connector-type="poly" connector-kind="socket" label="bc.variable">
<DefaultArg genus-name="variable_poly" label="char variable name" />
<DefaultArg genus-name="variable_poly" label="Char" />
</BlockConnector>
<BlockConnector connector-type="poly" connector-kind="socket" label="char">
<DefaultArg genus-name="char" label="A" />
Expand Down Expand Up @@ -1644,7 +1644,7 @@
</description>
<BlockConnectors>
<BlockConnector connector-type="string" connector-kind="socket" label="bc.variable">
<DefaultArg genus-name="variable_String" label="String variable name" />
<DefaultArg genus-name="variable_String" label="STRING" />
</BlockConnector>
<BlockConnector connector-type="string" connector-kind="socket" label="bc.value">
<DefaultArg genus-name="message" label="message" />
Expand Down Expand Up @@ -11139,10 +11139,10 @@
</BlockDrawer>
<BlockDrawer button-color="232 156 149" name="bd.number" type="factory">
<BlockGenusMember>number</BlockGenusMember>
<BlockGenusMember>setter_variable_number_unsigned_long</BlockGenusMember>
<BlockGenusMember>variable_number_unsigned_long</BlockGenusMember>
<BlockGenusMember>setter_variable_number</BlockGenusMember>
<BlockGenusMember>variable_number</BlockGenusMember>
<BlockGenusMember>setter_variable_number_unsigned_long</BlockGenusMember>
<BlockGenusMember>variable_number_unsigned_long</BlockGenusMember>
<BlockGenusMember>setter_variable_digital</BlockGenusMember>
<BlockGenusMember>variable_digital</BlockGenusMember>
<BlockGenusMember>digital-low</BlockGenusMember>
Expand All @@ -11153,16 +11153,14 @@
<BlockGenusMember>variable_number_double</BlockGenusMember>
<BlockGenusMember>number_double</BlockGenusMember>
<BlockGenusMember>setter_variable_char</BlockGenusMember>
<BlockGenusMember>variable_poly</BlockGenusMember>
<BlockGenusMember>char</BlockGenusMember>
<BlockGenusMember>variable_string</BlockGenusMember>
<BlockGenusMember>setter_variable_String</BlockGenusMember>
<BlockGenusMember>variable_String</BlockGenusMember>
<BlockGenusMember>message</BlockGenusMember>
<BlockGenusMember>create_variable_vector</BlockGenusMember>
<BlockGenusMember>variable_vector</BlockGenusMember>
<BlockGenusMember>setter_variable_vector</BlockGenusMember>
<BlockGenusMember>setter_variable_char</BlockGenusMember>
<BlockGenusMember>variable_poly</BlockGenusMember>
</BlockDrawer>
<BlockDrawer button-color="205 133 63" name="bd.utilities" type="factory">
<BlockGenusMember>servo_default</BlockGenusMember>
Expand Down
26 changes: 19 additions & 7 deletions src/main/resources/com/ardublock/block/ardublock_fr.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,21 @@ bg.MaSD_separator=SD Separateur
bc.space=Espace
bc.tab=Tabulation

bg.variable_poly=Nom de la variable char
bg.setter_variable_char=Mettre la variable char \u00e0
bg.setter_variable_number=Initialiser variable : nombre entier
bg.setter_variable_number.description=De -32768 à +32767
bg.setter_variable_number_unsigned_long=Initialiser variable : nombre entier long
bg.setter_variable_number_unsigned_long.description=De 0 à 4294967295
bg.setter_variable_number_double=Initialiser variable : nombre à virgule
bg.setter_variable_number_double.description=+/- 3.4028235E+38
bg.setter_variable_char=Initialiser variable : caractère
bg.char=A
bg.setter_variable_String=Initialiser variable : chaîne de caractères
bg.create_variable_vector=Créer tableau : nombres entiers
bg.create_variable_vector.description=Créer un tableau de nombre entier
bg.variable_vector.description=Retourne la valeur présente dans la case numérotée
bg.setter_variable_vector=Initialiser tableau : nombre entier
bg.setter_variable_vector.description=Initialise la valeur présente dans la case numérotée
bc.array=Nom du tableau
bd.chars=Test de caract\u00e8res
bg.not_equal_poly=\!\=
bg.glue_poly=Coller
Expand All @@ -43,10 +55,10 @@ bc.loop=Boucle
bg.setup=Programme d'installation (setup)
bc.par=Entr\u00e9e
bc.vecsize=Taille
bc.num=\#
bc.num=case n°
bg.variable_fake=faux
bg.fake=Imitation
bc.position=position
bc.position=case n°

bg.code_head=T\u00eate du programme (head)
bg.code_setup=Programme d'installation (setup)
Expand Down Expand Up @@ -271,7 +283,7 @@ bg.servo_prefix=Servo\:
bg.servo_default=Servo : Par d\u00e9faut
bg.servo_sg90=Servo : SG90
bg.servo_mg996r=Servo : MG996R
bg.setter_variable_digital=d\u00e9finir une variable num\u00e9rique
bg.setter_variable_digital=Initialiser variable : nombre binaire
bg.sin=Sin
bg.sqrt=Racine carr\u00e9e
bg.subtraction=-
Expand All @@ -280,7 +292,7 @@ bg.true=VRAI

bg.ultrasonic=Capteur Ultrason
bg.LCD_command_clear=Effacer
bg.variable_digital=nom de la variable num\u00e9rique
bg.variable_digital=Bool
bg.while=Tant que...
bg.wire_read=lire depuis le I2C
bg.wire_write=\u00e9crire sur le I2C
Expand Down Expand Up @@ -362,7 +374,7 @@ bg.not_equal_poly.description=Vrai si le premier caract\u00e8re n'est pas \u00e9
bg.true.description=Valeur bool\u00e9enne vraie.
bg.false.description=Valeur bool\u00e9enne fausse.
bg.variable_digital.description=Variable num\u00e9rique
bg.setter_variable_digital.description=d\u00e9finir une variable num\u00e9rique
bg.setter_variable_digital.description=Initialiser un nombre binaire
bg.servo.description=Commander un servo
bg.servo_sg90.description=Commander un servo SG90
bg.servo_mg996r.description=Commander un servo MG996R
Expand Down

0 comments on commit 7584691

Please sign in to comment.