File tree Expand file tree Collapse file tree 10 files changed +92
-13
lines changed
ports/atmel-samd/common-hal/frequencyio Expand file tree Collapse file tree 10 files changed +92
-13
lines changed Original file line number Diff line number Diff line change 88msgstr ""
99"Project-Id-Version : PACKAGE VERSION\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2019-03-01 07 :16-0800 \n "
11+ "POT-Creation-Date : 2019-03-03 00 :16+0000 \n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1313"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1414"Language-Team : LANGUAGE <LL@li.org>\n "
@@ -557,6 +557,9 @@ msgstr "Gagal untuk menulis nilai gatts, status: 0x%08lX"
557557msgid "File exists"
558558msgstr ""
559559
560+ msgid "Frequency captured is above capability. Capture Paused."
561+ msgstr ""
562+
560563msgid "Function requires lock"
561564msgstr ""
562565
@@ -598,6 +601,9 @@ msgstr "Bit clock pada pin tidak valid"
598601msgid "Invalid buffer size"
599602msgstr "Ukuran buffer tidak valid"
600603
604+ msgid "Invalid capture period. Valid range: 1 - 500"
605+ msgstr ""
606+
601607msgid "Invalid channel count"
602608msgstr ""
603609
@@ -712,6 +718,9 @@ msgstr "Tidak pin RX"
712718msgid "No TX pin"
713719msgstr "Tidak ada pin TX"
714720
721+ msgid "No available clocks"
722+ msgstr ""
723+
715724msgid "No default I2C bus"
716725msgstr "Tidak ada standar bus I2C"
717726
Original file line number Diff line number Diff line change 88msgstr ""
99"Project-Id-Version : PACKAGE VERSION\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2019-03-01 07 :16-0800 \n "
11+ "POT-Creation-Date : 2019-03-03 00 :16+0000 \n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
1313"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
1414"Language-Team : LANGUAGE <LL@li.org>\n "
@@ -532,6 +532,9 @@ msgstr ""
532532msgid "File exists"
533533msgstr ""
534534
535+ msgid "Frequency captured is above capability. Capture Paused."
536+ msgstr ""
537+
535538msgid "Function requires lock"
536539msgstr ""
537540
@@ -573,6 +576,9 @@ msgstr ""
573576msgid "Invalid buffer size"
574577msgstr ""
575578
579+ msgid "Invalid capture period. Valid range: 1 - 500"
580+ msgstr ""
581+
576582msgid "Invalid channel count"
577583msgstr ""
578584
@@ -687,6 +693,9 @@ msgstr ""
687693msgid "No TX pin"
688694msgstr ""
689695
696+ msgid "No available clocks"
697+ msgstr ""
698+
690699msgid "No default I2C bus"
691700msgstr ""
692701
Original file line number Diff line number Diff line change 77msgstr ""
88"Project-Id-Version : \n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2019-03-01 07 :16-0800 \n "
10+ "POT-Creation-Date : 2019-03-03 00 :16+0000 \n "
1111"PO-Revision-Date : 2018-07-27 11:55-0700\n "
1212"Last-Translator : Pascal Deneaux\n "
1313"Language-Team : Sebastian Plamauer, Pascal Deneaux\n "
@@ -537,6 +537,9 @@ msgstr "gatts value konnte nicht geschrieben werden. Status: 0x%04x"
537537msgid "File exists"
538538msgstr "Datei existiert"
539539
540+ msgid "Frequency captured is above capability. Capture Paused."
541+ msgstr ""
542+
540543msgid "Function requires lock"
541544msgstr "Die Funktion erwartet, dass der 'lock'-Befehl zuvor ausgeführt wurde"
542545
@@ -580,6 +583,9 @@ msgstr "Ungültiges bit clock pin"
580583msgid "Invalid buffer size"
581584msgstr "Ungültige Puffergröße"
582585
586+ msgid "Invalid capture period. Valid range: 1 - 500"
587+ msgstr ""
588+
583589msgid "Invalid channel count"
584590msgstr "Ungültige Anzahl von Kanälen"
585591
@@ -703,6 +709,9 @@ msgstr "Kein RX Pin"
703709msgid "No TX pin"
704710msgstr "Kein TX Pin"
705711
712+ msgid "No available clocks"
713+ msgstr ""
714+
706715msgid "No default I2C bus"
707716msgstr "Kein Standard I2C Bus"
708717
Original file line number Diff line number Diff line change 77msgstr ""
88"Project-Id-Version : \n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2019-03-01 07 :16-0800 \n "
10+ "POT-Creation-Date : 2019-03-03 00 :16+0000 \n "
1111"PO-Revision-Date : 2018-07-27 11:55-0700\n "
1212"Last-Translator : \n "
1313"Language-Team : \n "
@@ -532,6 +532,9 @@ msgstr ""
532532msgid "File exists"
533533msgstr ""
534534
535+ msgid "Frequency captured is above capability. Capture Paused."
536+ msgstr ""
537+
535538msgid "Function requires lock"
536539msgstr ""
537540
@@ -573,6 +576,9 @@ msgstr ""
573576msgid "Invalid buffer size"
574577msgstr ""
575578
579+ msgid "Invalid capture period. Valid range: 1 - 500"
580+ msgstr ""
581+
576582msgid "Invalid channel count"
577583msgstr ""
578584
@@ -687,6 +693,9 @@ msgstr ""
687693msgid "No TX pin"
688694msgstr ""
689695
696+ msgid "No available clocks"
697+ msgstr ""
698+
690699msgid "No default I2C bus"
691700msgstr ""
692701
Original file line number Diff line number Diff line change 88msgstr ""
99"Project-Id-Version : \n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2019-03-01 07 :16-0800 \n "
11+ "POT-Creation-Date : 2019-03-03 00 :16+0000 \n "
1212"PO-Revision-Date : 2018-08-24 22:56-0500\n "
1313"Last-Translator : \n "
1414"Language-Team : \n "
@@ -562,6 +562,9 @@ msgstr "No se puede escribir el valor del atributo. status: 0x%02x"
562562msgid "File exists"
563563msgstr "El archivo ya existe"
564564
565+ msgid "Frequency captured is above capability. Capture Paused."
566+ msgstr ""
567+
565568msgid "Function requires lock"
566569msgstr "La función requiere lock"
567570
@@ -605,6 +608,9 @@ msgstr "Pin bit clock inválido"
605608msgid "Invalid buffer size"
606609msgstr "Tamaño de buffer inválido"
607610
611+ msgid "Invalid capture period. Valid range: 1 - 500"
612+ msgstr ""
613+
608614msgid "Invalid channel count"
609615msgstr "Cuenta de canales inválida"
610616
@@ -724,6 +730,9 @@ msgstr "Sin pin RX"
724730msgid "No TX pin"
725731msgstr "Sin pin TX"
726732
733+ msgid "No available clocks"
734+ msgstr ""
735+
727736msgid "No default I2C bus"
728737msgstr "Sin bus I2C por defecto"
729738
Original file line number Diff line number Diff line change 77msgstr ""
88"Project-Id-Version : \n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2019-03-01 07 :16-0800 \n "
10+ "POT-Creation-Date : 2019-03-03 00 :16+0000 \n "
1111"PO-Revision-Date : 2018-12-20 22:15-0800\n "
1212"Last-Translator : Timothy <me@timothygarcia.ca>\n "
1313"Language-Team : fil\n "
@@ -560,6 +560,9 @@ msgstr "Hindi maisulat ang gatts value, status: 0x%08lX"
560560msgid "File exists"
561561msgstr "Mayroong file"
562562
563+ msgid "Frequency captured is above capability. Capture Paused."
564+ msgstr ""
565+
563566msgid "Function requires lock"
564567msgstr "Function nangangailangan ng lock"
565568
@@ -603,6 +606,9 @@ msgstr "Mali ang bit clock pin"
603606msgid "Invalid buffer size"
604607msgstr "Mali ang buffer size"
605608
609+ msgid "Invalid capture period. Valid range: 1 - 500"
610+ msgstr ""
611+
606612msgid "Invalid channel count"
607613msgstr "Maling bilang ng channel"
608614
@@ -722,6 +728,9 @@ msgstr "Walang RX pin"
722728msgid "No TX pin"
723729msgstr "Walang TX pin"
724730
731+ msgid "No available clocks"
732+ msgstr ""
733+
725734msgid "No default I2C bus"
726735msgstr "Walang default na I2C bus"
727736
Original file line number Diff line number Diff line change 77msgstr ""
88"Project-Id-Version : 0.1\n "
99"Report-Msgid-Bugs-To : \n "
10- "POT-Creation-Date : 2019-03-01 07 :16-0800 \n "
10+ "POT-Creation-Date : 2019-03-03 00 :16+0000 \n "
1111"PO-Revision-Date : 2018-12-23 20:05+0100\n "
1212"Last-Translator : Pierrick Couturier <arofarn@arofarn.info>\n "
1313"Language-Team : fr\n "
@@ -559,6 +559,9 @@ msgstr "Impossible d'écrire la valeur de gatts. status: 0x%08lX"
559559msgid "File exists"
560560msgstr "Le fichier existe"
561561
562+ msgid "Frequency captured is above capability. Capture Paused."
563+ msgstr ""
564+
562565msgid "Function requires lock"
563566msgstr "La fonction nécessite un verrou"
564567
@@ -604,6 +607,9 @@ msgstr "Broche invalide pour 'bit clock'"
604607msgid "Invalid buffer size"
605608msgstr "longueur de tampon invalide"
606609
610+ msgid "Invalid capture period. Valid range: 1 - 500"
611+ msgstr ""
612+
607613#, fuzzy
608614msgid "Invalid channel count"
609615msgstr "Argument invalide"
@@ -725,6 +731,9 @@ msgstr "Pas de broche RX"
725731msgid "No TX pin"
726732msgstr "Pas de broche TX"
727733
734+ msgid "No available clocks"
735+ msgstr ""
736+
728737msgid "No default I2C bus"
729738msgstr "Pas de bus I2C par défaut"
730739
Original file line number Diff line number Diff line change 88msgstr ""
99"Project-Id-Version : PACKAGE VERSION\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2019-03-01 07 :16-0800 \n "
11+ "POT-Creation-Date : 2019-03-03 00 :16+0000 \n "
1212"PO-Revision-Date : 2018-10-02 16:27+0200\n "
1313"Last-Translator : Enrico Paganin <enrico.paganin@mail.com>\n "
1414"Language-Team : \n "
@@ -559,6 +559,9 @@ msgstr "Impossibile scrivere valore dell'attributo. status: 0x%02x"
559559msgid "File exists"
560560msgstr "File esistente"
561561
562+ msgid "Frequency captured is above capability. Capture Paused."
563+ msgstr ""
564+
562565msgid "Function requires lock"
563566msgstr ""
564567
@@ -603,6 +606,9 @@ msgstr "Pin del clock di bit non valido"
603606msgid "Invalid buffer size"
604607msgstr "lunghezza del buffer non valida"
605608
609+ msgid "Invalid capture period. Valid range: 1 - 500"
610+ msgstr ""
611+
606612#, fuzzy
607613msgid "Invalid channel count"
608614msgstr "Argomento non valido"
@@ -720,6 +726,9 @@ msgstr "Nessun pin RX"
720726msgid "No TX pin"
721727msgstr "Nessun pin TX"
722728
729+ msgid "No available clocks"
730+ msgstr ""
731+
723732msgid "No default I2C bus"
724733msgstr "Nessun bus I2C predefinito"
725734
Original file line number Diff line number Diff line change 88msgstr ""
99"Project-Id-Version : PACKAGE VERSION\n "
1010"Report-Msgid-Bugs-To : \n "
11- "POT-Creation-Date : 2019-03-01 07 :16-0800 \n "
11+ "POT-Creation-Date : 2019-03-03 00 :16+0000 \n "
1212"PO-Revision-Date : 2018-10-02 21:14-0000\n "
1313"Last-Translator : \n "
1414"Language-Team : \n "
@@ -552,6 +552,9 @@ msgstr "Não é possível gravar o valor do atributo. status: 0x%02x"
552552msgid "File exists"
553553msgstr "Arquivo já existe"
554554
555+ msgid "Frequency captured is above capability. Capture Paused."
556+ msgstr ""
557+
555558msgid "Function requires lock"
556559msgstr ""
557560
@@ -594,6 +597,9 @@ msgstr "Pino de bit clock inválido"
594597msgid "Invalid buffer size"
595598msgstr "Arquivo inválido"
596599
600+ msgid "Invalid capture period. Valid range: 1 - 500"
601+ msgstr ""
602+
597603#, fuzzy
598604msgid "Invalid channel count"
599605msgstr "certificado inválido"
@@ -710,6 +716,9 @@ msgstr "Nenhum pino RX"
710716msgid "No TX pin"
711717msgstr "Nenhum pino TX"
712718
719+ msgid "No available clocks"
720+ msgstr ""
721+
713722msgid "No default I2C bus"
714723msgstr "Nenhum barramento I2C padrão"
715724
Original file line number Diff line number Diff line change @@ -252,8 +252,7 @@ void common_hal_frequencyio_frequencyin_construct(frequencyio_frequencyin_obj_t*
252252 mp_raise_RuntimeError (translate ("No hardware support on pin" ));
253253 }
254254 if ((capture_period == 0 ) || (capture_period > 500 )) {
255- // TODO: find a sutiable message that is already translated
256- mp_raise_ValueError (translate ("Invalid something" ));
255+ mp_raise_ValueError (translate ("Invalid capture period. Valid range: 1 - 500" ));
257256 }
258257 uint32_t mask = 1 << pin -> extint_channel ;
259258 if (eic_get_enable () == 1 &&
@@ -539,8 +538,7 @@ uint16_t common_hal_frequencyio_frequencyin_get_capture_period(frequencyio_frequ
539538
540539void common_hal_frequencyio_frequencyin_set_capture_period (frequencyio_frequencyin_obj_t * self , uint16_t capture_period ) {
541540 if ((capture_period == 0 ) || (capture_period > 500 )) {
542- // TODO: find a sutiable message that is already translated
543- mp_raise_ValueError (translate ("Invalid something" ));
541+ mp_raise_ValueError (translate ("Invalid capture period. Valid range: 1 - 500" ));
544542 }
545543
546544 self -> capture_period = capture_period ;
You can’t perform that action at this time.
0 commit comments