From b7b74d1f78dfd2f9c9a294e45fcf5663f54c6ff4 Mon Sep 17 00:00:00 2001 From: sommersoft Date: Sat, 2 Mar 2019 18:17:58 -0600 Subject: update translations --- locale/ID.po | 11 ++++++++++- locale/circuitpython.pot | 11 ++++++++++- locale/de_DE.po | 11 ++++++++++- locale/en_US.po | 11 ++++++++++- locale/es.po | 11 ++++++++++- locale/fil.po | 11 ++++++++++- locale/fr.po | 11 ++++++++++- locale/it_IT.po | 11 ++++++++++- locale/pt_BR.po | 11 ++++++++++- ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c | 6 ++---- 10 files changed, 92 insertions(+), 13 deletions(-) diff --git a/locale/ID.po b/locale/ID.po index f5fadce49..2d86f7e99 100644 --- a/locale/ID.po +++ b/locale/ID.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-01 07:16-0800\n" +"POT-Creation-Date: 2019-03-03 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -557,6 +557,9 @@ msgstr "Gagal untuk menulis nilai gatts, status: 0x%08lX" msgid "File exists" msgstr "" +msgid "Frequency captured is above capability. Capture Paused." +msgstr "" + msgid "Function requires lock" msgstr "" @@ -598,6 +601,9 @@ msgstr "Bit clock pada pin tidak valid" msgid "Invalid buffer size" msgstr "Ukuran buffer tidak valid" +msgid "Invalid capture period. Valid range: 1 - 500" +msgstr "" + msgid "Invalid channel count" msgstr "" @@ -712,6 +718,9 @@ msgstr "Tidak pin RX" msgid "No TX pin" msgstr "Tidak ada pin TX" +msgid "No available clocks" +msgstr "" + msgid "No default I2C bus" msgstr "Tidak ada standar bus I2C" diff --git a/locale/circuitpython.pot b/locale/circuitpython.pot index 0808ae43e..2426b37fa 100644 --- a/locale/circuitpython.pot +++ b/locale/circuitpython.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-01 07:16-0800\n" +"POT-Creation-Date: 2019-03-03 00:16+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -532,6 +532,9 @@ msgstr "" msgid "File exists" msgstr "" +msgid "Frequency captured is above capability. Capture Paused." +msgstr "" + msgid "Function requires lock" msgstr "" @@ -573,6 +576,9 @@ msgstr "" msgid "Invalid buffer size" msgstr "" +msgid "Invalid capture period. Valid range: 1 - 500" +msgstr "" + msgid "Invalid channel count" msgstr "" @@ -687,6 +693,9 @@ msgstr "" msgid "No TX pin" msgstr "" +msgid "No available clocks" +msgstr "" + msgid "No default I2C bus" msgstr "" diff --git a/locale/de_DE.po b/locale/de_DE.po index 941a5d5d1..e681c2630 100644 --- a/locale/de_DE.po +++ b/locale/de_DE.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-01 07:16-0800\n" +"POT-Creation-Date: 2019-03-03 00:16+0000\n" "PO-Revision-Date: 2018-07-27 11:55-0700\n" "Last-Translator: Pascal Deneaux\n" "Language-Team: Sebastian Plamauer, Pascal Deneaux\n" @@ -537,6 +537,9 @@ msgstr "gatts value konnte nicht geschrieben werden. Status: 0x%04x" msgid "File exists" msgstr "Datei existiert" +msgid "Frequency captured is above capability. Capture Paused." +msgstr "" + msgid "Function requires lock" msgstr "Die Funktion erwartet, dass der 'lock'-Befehl zuvor ausgeführt wurde" @@ -580,6 +583,9 @@ msgstr "Ungültiges bit clock pin" msgid "Invalid buffer size" msgstr "Ungültige Puffergröße" +msgid "Invalid capture period. Valid range: 1 - 500" +msgstr "" + msgid "Invalid channel count" msgstr "Ungültige Anzahl von Kanälen" @@ -703,6 +709,9 @@ msgstr "Kein RX Pin" msgid "No TX pin" msgstr "Kein TX Pin" +msgid "No available clocks" +msgstr "" + msgid "No default I2C bus" msgstr "Kein Standard I2C Bus" diff --git a/locale/en_US.po b/locale/en_US.po index 01cbaeb51..e1f80398b 100644 --- a/locale/en_US.po +++ b/locale/en_US.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-01 07:16-0800\n" +"POT-Creation-Date: 2019-03-03 00:16+0000\n" "PO-Revision-Date: 2018-07-27 11:55-0700\n" "Last-Translator: \n" "Language-Team: \n" @@ -532,6 +532,9 @@ msgstr "" msgid "File exists" msgstr "" +msgid "Frequency captured is above capability. Capture Paused." +msgstr "" + msgid "Function requires lock" msgstr "" @@ -573,6 +576,9 @@ msgstr "" msgid "Invalid buffer size" msgstr "" +msgid "Invalid capture period. Valid range: 1 - 500" +msgstr "" + msgid "Invalid channel count" msgstr "" @@ -687,6 +693,9 @@ msgstr "" msgid "No TX pin" msgstr "" +msgid "No available clocks" +msgstr "" + msgid "No default I2C bus" msgstr "" diff --git a/locale/es.po b/locale/es.po index a4eceb1fb..c230ee4ef 100644 --- a/locale/es.po +++ b/locale/es.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-01 07:16-0800\n" +"POT-Creation-Date: 2019-03-03 00:16+0000\n" "PO-Revision-Date: 2018-08-24 22:56-0500\n" "Last-Translator: \n" "Language-Team: \n" @@ -562,6 +562,9 @@ msgstr "No se puede escribir el valor del atributo. status: 0x%02x" msgid "File exists" msgstr "El archivo ya existe" +msgid "Frequency captured is above capability. Capture Paused." +msgstr "" + msgid "Function requires lock" msgstr "La función requiere lock" @@ -605,6 +608,9 @@ msgstr "Pin bit clock inválido" msgid "Invalid buffer size" msgstr "Tamaño de buffer inválido" +msgid "Invalid capture period. Valid range: 1 - 500" +msgstr "" + msgid "Invalid channel count" msgstr "Cuenta de canales inválida" @@ -724,6 +730,9 @@ msgstr "Sin pin RX" msgid "No TX pin" msgstr "Sin pin TX" +msgid "No available clocks" +msgstr "" + msgid "No default I2C bus" msgstr "Sin bus I2C por defecto" diff --git a/locale/fil.po b/locale/fil.po index fb6002a57..974488f32 100644 --- a/locale/fil.po +++ b/locale/fil.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-01 07:16-0800\n" +"POT-Creation-Date: 2019-03-03 00:16+0000\n" "PO-Revision-Date: 2018-12-20 22:15-0800\n" "Last-Translator: Timothy \n" "Language-Team: fil\n" @@ -560,6 +560,9 @@ msgstr "Hindi maisulat ang gatts value, status: 0x%08lX" msgid "File exists" msgstr "Mayroong file" +msgid "Frequency captured is above capability. Capture Paused." +msgstr "" + msgid "Function requires lock" msgstr "Function nangangailangan ng lock" @@ -603,6 +606,9 @@ msgstr "Mali ang bit clock pin" msgid "Invalid buffer size" msgstr "Mali ang buffer size" +msgid "Invalid capture period. Valid range: 1 - 500" +msgstr "" + msgid "Invalid channel count" msgstr "Maling bilang ng channel" @@ -722,6 +728,9 @@ msgstr "Walang RX pin" msgid "No TX pin" msgstr "Walang TX pin" +msgid "No available clocks" +msgstr "" + msgid "No default I2C bus" msgstr "Walang default na I2C bus" diff --git a/locale/fr.po b/locale/fr.po index c937a4b5b..21c21f033 100644 --- a/locale/fr.po +++ b/locale/fr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-01 07:16-0800\n" +"POT-Creation-Date: 2019-03-03 00:16+0000\n" "PO-Revision-Date: 2018-12-23 20:05+0100\n" "Last-Translator: Pierrick Couturier \n" "Language-Team: fr\n" @@ -559,6 +559,9 @@ msgstr "Impossible d'écrire la valeur de gatts. status: 0x%08lX" msgid "File exists" msgstr "Le fichier existe" +msgid "Frequency captured is above capability. Capture Paused." +msgstr "" + msgid "Function requires lock" msgstr "La fonction nécessite un verrou" @@ -604,6 +607,9 @@ msgstr "Broche invalide pour 'bit clock'" msgid "Invalid buffer size" msgstr "longueur de tampon invalide" +msgid "Invalid capture period. Valid range: 1 - 500" +msgstr "" + #, fuzzy msgid "Invalid channel count" msgstr "Argument invalide" @@ -725,6 +731,9 @@ msgstr "Pas de broche RX" msgid "No TX pin" msgstr "Pas de broche TX" +msgid "No available clocks" +msgstr "" + msgid "No default I2C bus" msgstr "Pas de bus I2C par défaut" diff --git a/locale/it_IT.po b/locale/it_IT.po index 64fb22128..a3032db9d 100644 --- a/locale/it_IT.po +++ b/locale/it_IT.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-01 07:16-0800\n" +"POT-Creation-Date: 2019-03-03 00:16+0000\n" "PO-Revision-Date: 2018-10-02 16:27+0200\n" "Last-Translator: Enrico Paganin \n" "Language-Team: \n" @@ -559,6 +559,9 @@ msgstr "Impossibile scrivere valore dell'attributo. status: 0x%02x" msgid "File exists" msgstr "File esistente" +msgid "Frequency captured is above capability. Capture Paused." +msgstr "" + msgid "Function requires lock" msgstr "" @@ -603,6 +606,9 @@ msgstr "Pin del clock di bit non valido" msgid "Invalid buffer size" msgstr "lunghezza del buffer non valida" +msgid "Invalid capture period. Valid range: 1 - 500" +msgstr "" + #, fuzzy msgid "Invalid channel count" msgstr "Argomento non valido" @@ -720,6 +726,9 @@ msgstr "Nessun pin RX" msgid "No TX pin" msgstr "Nessun pin TX" +msgid "No available clocks" +msgstr "" + msgid "No default I2C bus" msgstr "Nessun bus I2C predefinito" diff --git a/locale/pt_BR.po b/locale/pt_BR.po index cf46dfbc5..a55de1994 100644 --- a/locale/pt_BR.po +++ b/locale/pt_BR.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-03-01 07:16-0800\n" +"POT-Creation-Date: 2019-03-03 00:16+0000\n" "PO-Revision-Date: 2018-10-02 21:14-0000\n" "Last-Translator: \n" "Language-Team: \n" @@ -552,6 +552,9 @@ msgstr "Não é possível gravar o valor do atributo. status: 0x%02x" msgid "File exists" msgstr "Arquivo já existe" +msgid "Frequency captured is above capability. Capture Paused." +msgstr "" + msgid "Function requires lock" msgstr "" @@ -594,6 +597,9 @@ msgstr "Pino de bit clock inválido" msgid "Invalid buffer size" msgstr "Arquivo inválido" +msgid "Invalid capture period. Valid range: 1 - 500" +msgstr "" + #, fuzzy msgid "Invalid channel count" msgstr "certificado inválido" @@ -710,6 +716,9 @@ msgstr "Nenhum pino RX" msgid "No TX pin" msgstr "Nenhum pino TX" +msgid "No available clocks" +msgstr "" + msgid "No default I2C bus" msgstr "Nenhum barramento I2C padrão" diff --git a/ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c b/ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c index 30fc43827..fa5d08a3f 100644 --- a/ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c +++ b/ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c @@ -252,8 +252,7 @@ void common_hal_frequencyio_frequencyin_construct(frequencyio_frequencyin_obj_t* mp_raise_RuntimeError(translate("No hardware support on pin")); } if ((capture_period == 0) || (capture_period > 500)) { - // TODO: find a sutiable message that is already translated - mp_raise_ValueError(translate("Invalid something")); + mp_raise_ValueError(translate("Invalid capture period. Valid range: 1 - 500")); } uint32_t mask = 1 << pin->extint_channel; if (eic_get_enable() == 1 && @@ -539,8 +538,7 @@ uint16_t common_hal_frequencyio_frequencyin_get_capture_period(frequencyio_frequ void common_hal_frequencyio_frequencyin_set_capture_period(frequencyio_frequencyin_obj_t *self, uint16_t capture_period) { if ((capture_period == 0) || (capture_period > 500)) { - // TODO: find a sutiable message that is already translated - mp_raise_ValueError(translate("Invalid something")); + mp_raise_ValueError(translate("Invalid capture period. Valid range: 1 - 500")); } self->capture_period = capture_period; -- cgit v1.2.3