Skip to content

Translation sync. #79

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 19 additions & 19 deletions crowdin/translated/api.fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,19 +128,19 @@
"description": "Set up the log file header."
},
"log.set_labels.param-name.*labels": {
"message": "*labels",
"message": "*etiquettes",
"description": "(parameter name) Any number of positional arguments, each corresponding to an entry in the log header."
},
"log.set_labels.param-doc.*labels": {
"message": "Any number of positional arguments, each corresponding to an entry in the log header.",
"message": "Un nombre quelconque d'arguments positionnels, chacun correspondant à une entrée dans l'en-tête du journal.",
"description": "Parameter docs"
},
"log.set_labels.param-name.timestamp": {
"message": "horodatage",
"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``."
},
"log.set_labels.param-doc.timestamp": {
"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}}.",
"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}}.",
"description": "Parameter docs"
},
"log.add-1": {
Expand All @@ -152,11 +152,11 @@
"description": "Add a data row to the log by passing a dictionary of headers and values."
},
"log.add-1.param-name.data_dictionary": {
"message": "data dictionary",
"message": "dictionnaire de données",
"description": "(parameter name) The data to log as a dictionary with a key for each header."
},
"log.add-1.param-doc.data_dictionary": {
"message": "The data to log as a dictionary with a key for each header.",
"message": "Les données à enregistrer sous forme de dictionnaire avec une clé pour chaque en-tête.",
"description": "Parameter docs"
},
"log.add-2": {
Expand All @@ -180,23 +180,23 @@
"description": "(parameter name) ``True`` selects a “full” erase and ``False`` selects the “fast” erase method."
},
"log.delete.param-doc.full": {
"message": "{{True}} selects a “full” erase and {{False}} selects the “fast” erase method.",
"message": "{{True}} sélectionne un effacement \"complet\" et {{False}} sélectionne la méthode d'effacement \"rapide\".",
"description": "Parameter docs"
},
"log.set_mirroring": {
"message": "set mirroring",
"description": "(function name) Configure mirroring of the data logging activity to the serial output."
},
"log.set_mirroring.summary": {
"message": "Configure mirroring of the data logging activity to the serial output.",
"message": "Configurez la mise en miroir de l'activité d'enregistrement des données sur la sortie série.",
"description": "Configure mirroring of the data logging activity to the serial output."
},
"log.set_mirroring.param-name.serial": {
"message": "serial",
"description": "(parameter name) ``True`` enables mirroring data to the serial output."
},
"log.set_mirroring.param-doc.serial": {
"message": "{{True}} enables mirroring data to the serial output.",
"message": "{{True}} active la mise en miroir des données sur la sortie série.",
"description": "Parameter docs"
},
"machine": {
Expand Down Expand Up @@ -844,55 +844,55 @@
"description": "(function name) Schedule to run a function at the interval specified by the time arguments **V2 only**."
},
"microbit.run_every.summary": {
"message": "Schedule to run a function at the interval specified by the time arguments **V2 only**.",
"message": "Planifie l'exécution d'une fonction à l'intervalle spécifié par les arguments temporels **V2 uniquement**.",
"description": "Schedule to run a function at the interval specified by the time arguments **V2 only**."
},
"microbit.run_every.param-name.callback": {
"message": "callback",
"description": "(parameter name) Function to call at the provided interval. Omit when using as a decorator."
},
"microbit.run_every.param-doc.callback": {
"message": "Function to call at the provided interval. Omit when using as a decorator.",
"message": "Fonction à appeler à l'intervalle fourni. À omettre en cas d'utilisation comme décorateur.",
"description": "Parameter docs"
},
"microbit.run_every.param-name.days": {
"message": "days",
"description": "(parameter name) Sets the day mark for the scheduling."
},
"microbit.run_every.param-doc.days": {
"message": "Sets the day mark for the scheduling.",
"message": "Définit la marque du jour pour la programmation.",
"description": "Parameter docs"
},
"microbit.run_every.param-name.h": {
"message": "h",
"description": "(parameter name) Sets the hour mark for the scheduling."
},
"microbit.run_every.param-doc.h": {
"message": "Sets the hour mark for the scheduling.",
"message": "Définit la marque d'heure pour la programmation.",
"description": "Parameter docs"
},
"microbit.run_every.param-name.min": {
"message": "min",
"description": "(parameter name) Sets the minute mark for the scheduling."
},
"microbit.run_every.param-doc.min": {
"message": "Sets the minute mark for the scheduling.",
"message": "Définit la marque de minute pour la programmation.",
"description": "Parameter docs"
},
"microbit.run_every.param-name.ms": {
"message": "ms",
"description": "(parameter name) Sets the millisecond mark for the scheduling."
},
"microbit.run_every.param-doc.ms": {
"message": "Sets the millisecond mark for the scheduling.",
"message": "Définit la marque de milliseconde pour la programmation.",
"description": "Parameter docs"
},
"microbit.run_every.param-name.s": {
"message": "s",
"description": "(parameter name) Sets the second mark for the scheduling."
},
"microbit.run_every.param-doc.s": {
"message": "Sets the second mark for the scheduling.",
"message": "Définit la marque de seconde pour la programmation.",
"description": "Parameter docs"
},
"microbit.panic": {
Expand Down Expand Up @@ -1920,11 +1920,11 @@
"description": "Snake image."
},
"microbit.Image.SCISSORS": {
"message": "scissors",
"message": "ciseaux",
"description": "(field name) Scissors image."
},
"microbit.Image.SCISSORS.summary": {
"message": "Scissors image.",
"message": "Image de ciseaux.",
"description": "Scissors image."
},
"microbit.Image.ALL_CLOCKS": {
Expand Down Expand Up @@ -2488,11 +2488,11 @@
"description": "Get the acceleration measurements in all axes at once as a tuple."
},
"microbit.accelerometer.get_strength": {
"message": "get strength",
"message": "obtenir la force",
"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."
},
"microbit.accelerometer.get_strength.summary": {
"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.",
"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.",
"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."
},
"microbit.accelerometer.current_gesture": {
Expand Down
2 changes: 1 addition & 1 deletion crowdin/translated/api.zh-tw.json
Original file line number Diff line number Diff line change
Expand Up @@ -4756,7 +4756,7 @@
"description": "(function name) Say English words."
},
"speech.say.summary": {
"message": "說英語單詞。",
"message": "說英語單字。",
"description": "Say English words."
},
"speech.say.param-name.mouth": {
Expand Down
12 changes: 6 additions & 6 deletions lang/fr/typeshed/stdlib/log.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ present, it will generate a new header row with the additional columns.
By default the first column contains a timestamp for each row. The time
unit can be selected via the timestamp argument.

:param *labels: Any number of positional arguments, each corresponding to an entry in the log header.
: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``."""
:param *labels: (*etiquettes) Un nombre quelconque d'arguments positionnels, chacun correspondant à une entrée dans l'en-tête du journal.
: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``."""
...

@overload
Expand All @@ -46,7 +46,7 @@ to the log with the extra labels.
Labels previously specified and not present in a call to this function will
be skipped with an empty value in the log row.

:param data_dictionary: The data to log as a dictionary with a key for each header."""
:param data_dictionary: (dictionnaire de données) Les données à enregistrer sous forme de dictionnaire avec une clé pour chaque en-tête."""
...

@overload
Expand Down Expand Up @@ -75,15 +75,15 @@ To add the log headers again the ``set_labels`` function should to be called aft
There are two erase modes; “full” completely removes the data from the physical storage,
and “fast” invalidates the data without removing it.

:param full: ``True`` selects a “full” erase and ``False`` selects the “fast” erase method."""
:param full: ``True`` sélectionne un effacement "complet" et ``False`` sélectionne la méthode d'effacement "rapide"."""
...

def set_mirroring(serial: bool):
"""Configure mirroring of the data logging activity to the serial output.
"""Configurez la mise en miroir de l'activité d'enregistrement des données sur la sortie série.

Example: ``log.set_mirroring(True)``

Serial mirroring is disabled by default. When enabled, it will print to serial each row logged into the log file.

:param serial: ``True`` enables mirroring data to the serial output."""
:param serial: ``True`` active la mise en miroir des données sur la sortie série."""
...
16 changes: 8 additions & 8 deletions lang/fr/typeshed/stdlib/microbit/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ from . import spi as spi
from . import uart as uart

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]]:
"""Schedule to run a function at the interval specified by the time arguments **V2 only**.
"""Planifie l'exécution d'une fonction à l'intervalle spécifié par les arguments temporels **V2 uniquement**.

Example: ``run_every(my_logging, min=5)``

Expand All @@ -36,12 +36,12 @@ So ``run_every(min=1, s=30)`` schedules the callback every minute and a half.
When an exception is thrown inside the callback function it deschedules the
function. To avoid this you can catch exceptions with ``try/except``.

:param callback: Function to call at the provided interval. Omit when using as a decorator.
:param days: Sets the day mark for the scheduling.
:param h: Sets the hour mark for the scheduling.
:param min: Sets the minute mark for the scheduling.
:param s: Sets the second mark for the scheduling.
:param ms: Sets the millisecond mark for the scheduling."""
:param callback: Fonction à appeler à l'intervalle fourni. À omettre en cas d'utilisation comme décorateur.
:param days: Définit la marque du jour pour la programmation.
:param h: Définit la marque d'heure pour la programmation.
:param min: Définit la marque de minute pour la programmation.
:param s: Définit la marque de seconde pour la programmation.
:param ms: Définit la marque de milliseconde pour la programmation."""

def panic(n: int) -> None:
"""Passer en mode panique.
Expand Down Expand Up @@ -459,7 +459,7 @@ Given an image object it's possible to display it via the ``display`` API::
SNAKE: Image
"""Image de serpent."""
SCISSORS: Image
"""Scissors image."""
"""Image de ciseaux. (ciseaux)"""
ALL_CLOCKS: List[Image]
"""Une liste contenant toutes les images CLOCK_ en séquence."""
ALL_ARROWS: List[Image]
Expand Down
2 changes: 1 addition & 1 deletion lang/fr/typeshed/stdlib/microbit/accelerometer.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Example: ``x, y, z = accelerometer.get_values()``
...

def get_strength() -> int:
"""Get the acceleration measurement of all axes combined, as a positive integer. This is the Pythagorean sum of the X, Y and Z axes.
"""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)

Example: ``accelerometer.get_strength()``

Expand Down
2 changes: 1 addition & 1 deletion lang/zh-tw/typeshed/stdlib/speech.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ See `the online documentation <https://microbit-micropython.readthedocs.io/en/v2
...

def say(words: str, pitch: int=64, speed: int=72, mouth: int=128, throat: int=128, pin: MicroBitDigitalPin=pin0) -> None:
"""說英語單詞
"""說英語單字

Example: ``speech.say('hello world')``

Expand Down