Skip to content

Commit 23a9d18

Browse files
Translation sync. (#79)
1 parent 67e4791 commit 23a9d18

File tree

6 files changed

+36
-36
lines changed

6 files changed

+36
-36
lines changed

crowdin/translated/api.fr.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -128,19 +128,19 @@
128128
"description": "Set up the log file header."
129129
},
130130
"log.set_labels.param-name.*labels": {
131-
"message": "*labels",
131+
"message": "*etiquettes",
132132
"description": "(parameter name) Any number of positional arguments, each corresponding to an entry in the log header."
133133
},
134134
"log.set_labels.param-doc.*labels": {
135-
"message": "Any number of positional arguments, each corresponding to an entry in the log header.",
135+
"message": "Un nombre quelconque d'arguments positionnels, chacun correspondant à une entrée dans l'en-tête du journal.",
136136
"description": "Parameter docs"
137137
},
138138
"log.set_labels.param-name.timestamp": {
139139
"message": "horodatage",
140140
"description": "(parameter name) Select the timestamp unit that will be automatically added as the first column in every row. Timestamp values can be one of ``log.MILLISECONDS``, ``log.SECONDS``, ``log.MINUTES``, ``log.HOURS``, ``log.DAYS`` or ``None`` to disable the timestamp. The default value is ``log.SECONDS``."
141141
},
142142
"log.set_labels.param-doc.timestamp": {
143-
"message": "Select the timestamp unit that will be automatically added as the first column in every row. Timestamp values can be one of {{log.MILLISECONDS}}, {{log.SECONDS}}, {{log.MINUTES}}, {{log.HOURS}}, {{log.DAYS}} or {{None}} to disable the timestamp. The default value is {{log.SECONDS}}.",
143+
"message": "Sélectionnez l'unité d'horodatage qui sera automatiquement ajoutée comme première colonne de chaque ligne. Les valeurs d'horodatage peuvent être l'une des suivantes {{log.MILLISECONDS}}, {{log.SECONDS}}, {{log.MINUTES}}, {{log.HOURS}}, {{log.DAYS}} ou {{None}} pour désactiver l'horodatage. La valeur par défaut est {{log.SECONDS}}.",
144144
"description": "Parameter docs"
145145
},
146146
"log.add-1": {
@@ -152,11 +152,11 @@
152152
"description": "Add a data row to the log by passing a dictionary of headers and values."
153153
},
154154
"log.add-1.param-name.data_dictionary": {
155-
"message": "data dictionary",
155+
"message": "dictionnaire de données",
156156
"description": "(parameter name) The data to log as a dictionary with a key for each header."
157157
},
158158
"log.add-1.param-doc.data_dictionary": {
159-
"message": "The data to log as a dictionary with a key for each header.",
159+
"message": "Les données à enregistrer sous forme de dictionnaire avec une clé pour chaque en-tête.",
160160
"description": "Parameter docs"
161161
},
162162
"log.add-2": {
@@ -180,23 +180,23 @@
180180
"description": "(parameter name) ``True`` selects a “full” erase and ``False`` selects the “fast” erase method."
181181
},
182182
"log.delete.param-doc.full": {
183-
"message": "{{True}} selects a “full” erase and {{False}} selects the “fast” erase method.",
183+
"message": "{{True}} sélectionne un effacement \"complet\" et {{False}} sélectionne la méthode d'effacement \"rapide\".",
184184
"description": "Parameter docs"
185185
},
186186
"log.set_mirroring": {
187187
"message": "set mirroring",
188188
"description": "(function name) Configure mirroring of the data logging activity to the serial output."
189189
},
190190
"log.set_mirroring.summary": {
191-
"message": "Configure mirroring of the data logging activity to the serial output.",
191+
"message": "Configurez la mise en miroir de l'activité d'enregistrement des données sur la sortie série.",
192192
"description": "Configure mirroring of the data logging activity to the serial output."
193193
},
194194
"log.set_mirroring.param-name.serial": {
195195
"message": "serial",
196196
"description": "(parameter name) ``True`` enables mirroring data to the serial output."
197197
},
198198
"log.set_mirroring.param-doc.serial": {
199-
"message": "{{True}} enables mirroring data to the serial output.",
199+
"message": "{{True}} active la mise en miroir des données sur la sortie série.",
200200
"description": "Parameter docs"
201201
},
202202
"machine": {
@@ -844,55 +844,55 @@
844844
"description": "(function name) Schedule to run a function at the interval specified by the time arguments **V2 only**."
845845
},
846846
"microbit.run_every.summary": {
847-
"message": "Schedule to run a function at the interval specified by the time arguments **V2 only**.",
847+
"message": "Planifie l'exécution d'une fonction à l'intervalle spécifié par les arguments temporels **V2 uniquement**.",
848848
"description": "Schedule to run a function at the interval specified by the time arguments **V2 only**."
849849
},
850850
"microbit.run_every.param-name.callback": {
851851
"message": "callback",
852852
"description": "(parameter name) Function to call at the provided interval. Omit when using as a decorator."
853853
},
854854
"microbit.run_every.param-doc.callback": {
855-
"message": "Function to call at the provided interval. Omit when using as a decorator.",
855+
"message": "Fonction à appeler à l'intervalle fourni. À omettre en cas d'utilisation comme décorateur.",
856856
"description": "Parameter docs"
857857
},
858858
"microbit.run_every.param-name.days": {
859859
"message": "days",
860860
"description": "(parameter name) Sets the day mark for the scheduling."
861861
},
862862
"microbit.run_every.param-doc.days": {
863-
"message": "Sets the day mark for the scheduling.",
863+
"message": "Définit la marque du jour pour la programmation.",
864864
"description": "Parameter docs"
865865
},
866866
"microbit.run_every.param-name.h": {
867867
"message": "h",
868868
"description": "(parameter name) Sets the hour mark for the scheduling."
869869
},
870870
"microbit.run_every.param-doc.h": {
871-
"message": "Sets the hour mark for the scheduling.",
871+
"message": "Définit la marque d'heure pour la programmation.",
872872
"description": "Parameter docs"
873873
},
874874
"microbit.run_every.param-name.min": {
875875
"message": "min",
876876
"description": "(parameter name) Sets the minute mark for the scheduling."
877877
},
878878
"microbit.run_every.param-doc.min": {
879-
"message": "Sets the minute mark for the scheduling.",
879+
"message": "Définit la marque de minute pour la programmation.",
880880
"description": "Parameter docs"
881881
},
882882
"microbit.run_every.param-name.ms": {
883883
"message": "ms",
884884
"description": "(parameter name) Sets the millisecond mark for the scheduling."
885885
},
886886
"microbit.run_every.param-doc.ms": {
887-
"message": "Sets the millisecond mark for the scheduling.",
887+
"message": "Définit la marque de milliseconde pour la programmation.",
888888
"description": "Parameter docs"
889889
},
890890
"microbit.run_every.param-name.s": {
891891
"message": "s",
892892
"description": "(parameter name) Sets the second mark for the scheduling."
893893
},
894894
"microbit.run_every.param-doc.s": {
895-
"message": "Sets the second mark for the scheduling.",
895+
"message": "Définit la marque de seconde pour la programmation.",
896896
"description": "Parameter docs"
897897
},
898898
"microbit.panic": {
@@ -1920,11 +1920,11 @@
19201920
"description": "Snake image."
19211921
},
19221922
"microbit.Image.SCISSORS": {
1923-
"message": "scissors",
1923+
"message": "ciseaux",
19241924
"description": "(field name) Scissors image."
19251925
},
19261926
"microbit.Image.SCISSORS.summary": {
1927-
"message": "Scissors image.",
1927+
"message": "Image de ciseaux.",
19281928
"description": "Scissors image."
19291929
},
19301930
"microbit.Image.ALL_CLOCKS": {
@@ -2488,11 +2488,11 @@
24882488
"description": "Get the acceleration measurements in all axes at once as a tuple."
24892489
},
24902490
"microbit.accelerometer.get_strength": {
2491-
"message": "get strength",
2491+
"message": "obtenir la force",
24922492
"description": "(function name) Get the acceleration measurement of all axes combined, as a positive integer. This is the Pythagorean sum of the X, Y and Z axes."
24932493
},
24942494
"microbit.accelerometer.get_strength.summary": {
2495-
"message": "Get the acceleration measurement of all axes combined, as a positive integer. This is the Pythagorean sum of the X, Y and Z axes.",
2495+
"message": "Obtenir la mesure de l'accélération de tous les axes combinés, sous la forme d'un nombre entier positif. C'est la somme pythagoricienne des axes X, Y et Z.",
24962496
"description": "Get the acceleration measurement of all axes combined, as a positive integer. This is the Pythagorean sum of the X, Y and Z axes."
24972497
},
24982498
"microbit.accelerometer.current_gesture": {

crowdin/translated/api.zh-tw.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4756,7 +4756,7 @@
47564756
"description": "(function name) Say English words."
47574757
},
47584758
"speech.say.summary": {
4759-
"message": "說英語單詞",
4759+
"message": "說英語單字",
47604760
"description": "Say English words."
47614761
},
47624762
"speech.say.param-name.mouth": {

lang/fr/typeshed/stdlib/log.pyi

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ present, it will generate a new header row with the additional columns.
2727
By default the first column contains a timestamp for each row. The time
2828
unit can be selected via the timestamp argument.
2929
30-
:param *labels: Any number of positional arguments, each corresponding to an entry in the log header.
31-
:param timestamp: (horodatage) Select the timestamp unit that will be automatically added as the first column in every row. Timestamp values can be one of ``log.MILLISECONDS``, ``log.SECONDS``, ``log.MINUTES``, ``log.HOURS``, ``log.DAYS`` or ``None`` to disable the timestamp. The default value is ``log.SECONDS``."""
30+
:param *labels: (*etiquettes) Un nombre quelconque d'arguments positionnels, chacun correspondant à une entrée dans l'en-tête du journal.
31+
:param timestamp: (horodatage) Sélectionnez l'unité d'horodatage qui sera automatiquement ajoutée comme première colonne de chaque ligne. Les valeurs d'horodatage peuvent être l'une des suivantes ``log.MILLISECONDS``, ``log.SECONDS``, ``log.MINUTES``, ``log.HOURS``, ``log.DAYS`` ou ``None`` pour désactiver l'horodatage. La valeur par défaut est ``log.SECONDS``."""
3232
...
3333

3434
@overload
@@ -46,7 +46,7 @@ to the log with the extra labels.
4646
Labels previously specified and not present in a call to this function will
4747
be skipped with an empty value in the log row.
4848
49-
:param data_dictionary: The data to log as a dictionary with a key for each header."""
49+
:param data_dictionary: (dictionnaire de données) Les données à enregistrer sous forme de dictionnaire avec une clé pour chaque en-tête."""
5050
...
5151

5252
@overload
@@ -75,15 +75,15 @@ To add the log headers again the ``set_labels`` function should to be called aft
7575
There are two erase modes; “full” completely removes the data from the physical storage,
7676
and “fast” invalidates the data without removing it.
7777
78-
:param full: ``True`` selects a “full” erase and ``False`` selects the “fast” erase method."""
78+
:param full: ``True`` sélectionne un effacement "complet" et ``False`` sélectionne la méthode d'effacement "rapide"."""
7979
...
8080

8181
def set_mirroring(serial: bool):
82-
"""Configure mirroring of the data logging activity to the serial output.
82+
"""Configurez la mise en miroir de l'activité d'enregistrement des données sur la sortie série.
8383
8484
Example: ``log.set_mirroring(True)``
8585
8686
Serial mirroring is disabled by default. When enabled, it will print to serial each row logged into the log file.
8787
88-
:param serial: ``True`` enables mirroring data to the serial output."""
88+
:param serial: ``True`` active la mise en miroir des données sur la sortie série."""
8989
...

lang/fr/typeshed/stdlib/microbit/__init__.pyi

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ from . import spi as spi
1212
from . import uart as uart
1313

1414
def run_every(callback: Optional[Callable[[], None]]=None, days: int=0, h: int=0, min: int=0, s: int=0, ms: int=0) -> Callable[[Callable[[], None]], Callable[[], None]]:
15-
"""Schedule to run a function at the interval specified by the time arguments **V2 only**.
15+
"""Planifie l'exécution d'une fonction à l'intervalle spécifié par les arguments temporels **V2 uniquement**.
1616
1717
Example: ``run_every(my_logging, min=5)``
1818
@@ -36,12 +36,12 @@ So ``run_every(min=1, s=30)`` schedules the callback every minute and a half.
3636
When an exception is thrown inside the callback function it deschedules the
3737
function. To avoid this you can catch exceptions with ``try/except``.
3838
39-
:param callback: Function to call at the provided interval. Omit when using as a decorator.
40-
:param days: Sets the day mark for the scheduling.
41-
:param h: Sets the hour mark for the scheduling.
42-
:param min: Sets the minute mark for the scheduling.
43-
:param s: Sets the second mark for the scheduling.
44-
:param ms: Sets the millisecond mark for the scheduling."""
39+
:param callback: Fonction à appeler à l'intervalle fourni. À omettre en cas d'utilisation comme décorateur.
40+
:param days: Définit la marque du jour pour la programmation.
41+
:param h: Définit la marque d'heure pour la programmation.
42+
:param min: Définit la marque de minute pour la programmation.
43+
:param s: Définit la marque de seconde pour la programmation.
44+
:param ms: Définit la marque de milliseconde pour la programmation."""
4545

4646
def panic(n: int) -> None:
4747
"""Passer en mode panique.
@@ -459,7 +459,7 @@ Given an image object it's possible to display it via the ``display`` API::
459459
SNAKE: Image
460460
"""Image de serpent."""
461461
SCISSORS: Image
462-
"""Scissors image."""
462+
"""Image de ciseaux. (ciseaux)"""
463463
ALL_CLOCKS: List[Image]
464464
"""Une liste contenant toutes les images CLOCK_ en séquence."""
465465
ALL_ARROWS: List[Image]

lang/fr/typeshed/stdlib/microbit/accelerometer.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Example: ``x, y, z = accelerometer.get_values()``
3434
...
3535

3636
def get_strength() -> int:
37-
"""Get the acceleration measurement of all axes combined, as a positive integer. This is the Pythagorean sum of the X, Y and Z axes.
37+
"""Obtenir la mesure de l'accélération de tous les axes combinés, sous la forme d'un nombre entier positif. C'est la somme pythagoricienne des axes X, Y et Z. (obtenir la force)
3838
3939
Example: ``accelerometer.get_strength()``
4040

lang/zh-tw/typeshed/stdlib/speech.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ See `the online documentation <https://microbit-micropython.readthedocs.io/en/v2
3838
...
3939

4040
def say(words: str, pitch: int=64, speed: int=72, mouth: int=128, throat: int=128, pin: MicroBitDigitalPin=pin0) -> None:
41-
"""說英語單詞
41+
"""說英語單字
4242
4343
Example: ``speech.say('hello world')``
4444

0 commit comments

Comments
 (0)