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 8
8
msgstr ""
9
9
"Project-Id-Version : PACKAGE VERSION\n "
10
10
"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 "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
14
"Language-Team : LANGUAGE <LL@li.org>\n "
@@ -557,6 +557,9 @@ msgstr "Gagal untuk menulis nilai gatts, status: 0x%08lX"
557
557
msgid "File exists"
558
558
msgstr ""
559
559
560
+ msgid "Frequency captured is above capability. Capture Paused."
561
+ msgstr ""
562
+
560
563
msgid "Function requires lock"
561
564
msgstr ""
562
565
@@ -598,6 +601,9 @@ msgstr "Bit clock pada pin tidak valid"
598
601
msgid "Invalid buffer size"
599
602
msgstr "Ukuran buffer tidak valid"
600
603
604
+ msgid "Invalid capture period. Valid range: 1 - 500"
605
+ msgstr ""
606
+
601
607
msgid "Invalid channel count"
602
608
msgstr ""
603
609
@@ -712,6 +718,9 @@ msgstr "Tidak pin RX"
712
718
msgid "No TX pin"
713
719
msgstr "Tidak ada pin TX"
714
720
721
+ msgid "No available clocks"
722
+ msgstr ""
723
+
715
724
msgid "No default I2C bus"
716
725
msgstr "Tidak ada standar bus I2C"
717
726
Original file line number Diff line number Diff line change 8
8
msgstr ""
9
9
"Project-Id-Version : PACKAGE VERSION\n "
10
10
"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 "
12
12
"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13
13
"Last-Translator : FULL NAME <EMAIL@ADDRESS>\n "
14
14
"Language-Team : LANGUAGE <LL@li.org>\n "
@@ -532,6 +532,9 @@ msgstr ""
532
532
msgid "File exists"
533
533
msgstr ""
534
534
535
+ msgid "Frequency captured is above capability. Capture Paused."
536
+ msgstr ""
537
+
535
538
msgid "Function requires lock"
536
539
msgstr ""
537
540
@@ -573,6 +576,9 @@ msgstr ""
573
576
msgid "Invalid buffer size"
574
577
msgstr ""
575
578
579
+ msgid "Invalid capture period. Valid range: 1 - 500"
580
+ msgstr ""
581
+
576
582
msgid "Invalid channel count"
577
583
msgstr ""
578
584
@@ -687,6 +693,9 @@ msgstr ""
687
693
msgid "No TX pin"
688
694
msgstr ""
689
695
696
+ msgid "No available clocks"
697
+ msgstr ""
698
+
690
699
msgid "No default I2C bus"
691
700
msgstr ""
692
701
Original file line number Diff line number Diff line change 7
7
msgstr ""
8
8
"Project-Id-Version : \n "
9
9
"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 "
11
11
"PO-Revision-Date : 2018-07-27 11:55-0700\n "
12
12
"Last-Translator : Pascal Deneaux\n "
13
13
"Language-Team : Sebastian Plamauer, Pascal Deneaux\n "
@@ -537,6 +537,9 @@ msgstr "gatts value konnte nicht geschrieben werden. Status: 0x%04x"
537
537
msgid "File exists"
538
538
msgstr "Datei existiert"
539
539
540
+ msgid "Frequency captured is above capability. Capture Paused."
541
+ msgstr ""
542
+
540
543
msgid "Function requires lock"
541
544
msgstr "Die Funktion erwartet, dass der 'lock'-Befehl zuvor ausgeführt wurde"
542
545
@@ -580,6 +583,9 @@ msgstr "Ungültiges bit clock pin"
580
583
msgid "Invalid buffer size"
581
584
msgstr "Ungültige Puffergröße"
582
585
586
+ msgid "Invalid capture period. Valid range: 1 - 500"
587
+ msgstr ""
588
+
583
589
msgid "Invalid channel count"
584
590
msgstr "Ungültige Anzahl von Kanälen"
585
591
@@ -703,6 +709,9 @@ msgstr "Kein RX Pin"
703
709
msgid "No TX pin"
704
710
msgstr "Kein TX Pin"
705
711
712
+ msgid "No available clocks"
713
+ msgstr ""
714
+
706
715
msgid "No default I2C bus"
707
716
msgstr "Kein Standard I2C Bus"
708
717
Original file line number Diff line number Diff line change 7
7
msgstr ""
8
8
"Project-Id-Version : \n "
9
9
"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 "
11
11
"PO-Revision-Date : 2018-07-27 11:55-0700\n "
12
12
"Last-Translator : \n "
13
13
"Language-Team : \n "
@@ -532,6 +532,9 @@ msgstr ""
532
532
msgid "File exists"
533
533
msgstr ""
534
534
535
+ msgid "Frequency captured is above capability. Capture Paused."
536
+ msgstr ""
537
+
535
538
msgid "Function requires lock"
536
539
msgstr ""
537
540
@@ -573,6 +576,9 @@ msgstr ""
573
576
msgid "Invalid buffer size"
574
577
msgstr ""
575
578
579
+ msgid "Invalid capture period. Valid range: 1 - 500"
580
+ msgstr ""
581
+
576
582
msgid "Invalid channel count"
577
583
msgstr ""
578
584
@@ -687,6 +693,9 @@ msgstr ""
687
693
msgid "No TX pin"
688
694
msgstr ""
689
695
696
+ msgid "No available clocks"
697
+ msgstr ""
698
+
690
699
msgid "No default I2C bus"
691
700
msgstr ""
692
701
Original file line number Diff line number Diff line change 8
8
msgstr ""
9
9
"Project-Id-Version : \n "
10
10
"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 "
12
12
"PO-Revision-Date : 2018-08-24 22:56-0500\n "
13
13
"Last-Translator : \n "
14
14
"Language-Team : \n "
@@ -562,6 +562,9 @@ msgstr "No se puede escribir el valor del atributo. status: 0x%02x"
562
562
msgid "File exists"
563
563
msgstr "El archivo ya existe"
564
564
565
+ msgid "Frequency captured is above capability. Capture Paused."
566
+ msgstr ""
567
+
565
568
msgid "Function requires lock"
566
569
msgstr "La función requiere lock"
567
570
@@ -605,6 +608,9 @@ msgstr "Pin bit clock inválido"
605
608
msgid "Invalid buffer size"
606
609
msgstr "Tamaño de buffer inválido"
607
610
611
+ msgid "Invalid capture period. Valid range: 1 - 500"
612
+ msgstr ""
613
+
608
614
msgid "Invalid channel count"
609
615
msgstr "Cuenta de canales inválida"
610
616
@@ -724,6 +730,9 @@ msgstr "Sin pin RX"
724
730
msgid "No TX pin"
725
731
msgstr "Sin pin TX"
726
732
733
+ msgid "No available clocks"
734
+ msgstr ""
735
+
727
736
msgid "No default I2C bus"
728
737
msgstr "Sin bus I2C por defecto"
729
738
Original file line number Diff line number Diff line change 7
7
msgstr ""
8
8
"Project-Id-Version : \n "
9
9
"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 "
11
11
"PO-Revision-Date : 2018-12-20 22:15-0800\n "
12
12
"Last-Translator : Timothy <me@timothygarcia.ca>\n "
13
13
"Language-Team : fil\n "
@@ -560,6 +560,9 @@ msgstr "Hindi maisulat ang gatts value, status: 0x%08lX"
560
560
msgid "File exists"
561
561
msgstr "Mayroong file"
562
562
563
+ msgid "Frequency captured is above capability. Capture Paused."
564
+ msgstr ""
565
+
563
566
msgid "Function requires lock"
564
567
msgstr "Function nangangailangan ng lock"
565
568
@@ -603,6 +606,9 @@ msgstr "Mali ang bit clock pin"
603
606
msgid "Invalid buffer size"
604
607
msgstr "Mali ang buffer size"
605
608
609
+ msgid "Invalid capture period. Valid range: 1 - 500"
610
+ msgstr ""
611
+
606
612
msgid "Invalid channel count"
607
613
msgstr "Maling bilang ng channel"
608
614
@@ -722,6 +728,9 @@ msgstr "Walang RX pin"
722
728
msgid "No TX pin"
723
729
msgstr "Walang TX pin"
724
730
731
+ msgid "No available clocks"
732
+ msgstr ""
733
+
725
734
msgid "No default I2C bus"
726
735
msgstr "Walang default na I2C bus"
727
736
Original file line number Diff line number Diff line change 7
7
msgstr ""
8
8
"Project-Id-Version : 0.1\n "
9
9
"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 "
11
11
"PO-Revision-Date : 2018-12-23 20:05+0100\n "
12
12
"Last-Translator : Pierrick Couturier <arofarn@arofarn.info>\n "
13
13
"Language-Team : fr\n "
@@ -559,6 +559,9 @@ msgstr "Impossible d'écrire la valeur de gatts. status: 0x%08lX"
559
559
msgid "File exists"
560
560
msgstr "Le fichier existe"
561
561
562
+ msgid "Frequency captured is above capability. Capture Paused."
563
+ msgstr ""
564
+
562
565
msgid "Function requires lock"
563
566
msgstr "La fonction nécessite un verrou"
564
567
@@ -604,6 +607,9 @@ msgstr "Broche invalide pour 'bit clock'"
604
607
msgid "Invalid buffer size"
605
608
msgstr "longueur de tampon invalide"
606
609
610
+ msgid "Invalid capture period. Valid range: 1 - 500"
611
+ msgstr ""
612
+
607
613
#, fuzzy
608
614
msgid "Invalid channel count"
609
615
msgstr "Argument invalide"
@@ -725,6 +731,9 @@ msgstr "Pas de broche RX"
725
731
msgid "No TX pin"
726
732
msgstr "Pas de broche TX"
727
733
734
+ msgid "No available clocks"
735
+ msgstr ""
736
+
728
737
msgid "No default I2C bus"
729
738
msgstr "Pas de bus I2C par défaut"
730
739
Original file line number Diff line number Diff line change 8
8
msgstr ""
9
9
"Project-Id-Version : PACKAGE VERSION\n "
10
10
"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 "
12
12
"PO-Revision-Date : 2018-10-02 16:27+0200\n "
13
13
"Last-Translator : Enrico Paganin <enrico.paganin@mail.com>\n "
14
14
"Language-Team : \n "
@@ -559,6 +559,9 @@ msgstr "Impossibile scrivere valore dell'attributo. status: 0x%02x"
559
559
msgid "File exists"
560
560
msgstr "File esistente"
561
561
562
+ msgid "Frequency captured is above capability. Capture Paused."
563
+ msgstr ""
564
+
562
565
msgid "Function requires lock"
563
566
msgstr ""
564
567
@@ -603,6 +606,9 @@ msgstr "Pin del clock di bit non valido"
603
606
msgid "Invalid buffer size"
604
607
msgstr "lunghezza del buffer non valida"
605
608
609
+ msgid "Invalid capture period. Valid range: 1 - 500"
610
+ msgstr ""
611
+
606
612
#, fuzzy
607
613
msgid "Invalid channel count"
608
614
msgstr "Argomento non valido"
@@ -720,6 +726,9 @@ msgstr "Nessun pin RX"
720
726
msgid "No TX pin"
721
727
msgstr "Nessun pin TX"
722
728
729
+ msgid "No available clocks"
730
+ msgstr ""
731
+
723
732
msgid "No default I2C bus"
724
733
msgstr "Nessun bus I2C predefinito"
725
734
Original file line number Diff line number Diff line change 8
8
msgstr ""
9
9
"Project-Id-Version : PACKAGE VERSION\n "
10
10
"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 "
12
12
"PO-Revision-Date : 2018-10-02 21:14-0000\n "
13
13
"Last-Translator : \n "
14
14
"Language-Team : \n "
@@ -552,6 +552,9 @@ msgstr "Não é possível gravar o valor do atributo. status: 0x%02x"
552
552
msgid "File exists"
553
553
msgstr "Arquivo já existe"
554
554
555
+ msgid "Frequency captured is above capability. Capture Paused."
556
+ msgstr ""
557
+
555
558
msgid "Function requires lock"
556
559
msgstr ""
557
560
@@ -594,6 +597,9 @@ msgstr "Pino de bit clock inválido"
594
597
msgid "Invalid buffer size"
595
598
msgstr "Arquivo inválido"
596
599
600
+ msgid "Invalid capture period. Valid range: 1 - 500"
601
+ msgstr ""
602
+
597
603
#, fuzzy
598
604
msgid "Invalid channel count"
599
605
msgstr "certificado inválido"
@@ -710,6 +716,9 @@ msgstr "Nenhum pino RX"
710
716
msgid "No TX pin"
711
717
msgstr "Nenhum pino TX"
712
718
719
+ msgid "No available clocks"
720
+ msgstr ""
721
+
713
722
msgid "No default I2C bus"
714
723
msgstr "Nenhum barramento I2C padrão"
715
724
Original file line number Diff line number Diff line change @@ -252,8 +252,7 @@ void common_hal_frequencyio_frequencyin_construct(frequencyio_frequencyin_obj_t*
252
252
mp_raise_RuntimeError (translate ("No hardware support on pin" ));
253
253
}
254
254
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" ));
257
256
}
258
257
uint32_t mask = 1 << pin -> extint_channel ;
259
258
if (eic_get_enable () == 1 &&
@@ -539,8 +538,7 @@ uint16_t common_hal_frequencyio_frequencyin_get_capture_period(frequencyio_frequ
539
538
540
539
void common_hal_frequencyio_frequencyin_set_capture_period (frequencyio_frequencyin_obj_t * self , uint16_t capture_period ) {
541
540
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" ));
544
542
}
545
543
546
544
self -> capture_period = capture_period ;
You can’t perform that action at this time.
0 commit comments