summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--locale/ID.po32
-rw-r--r--locale/circuitpython.pot34
-rw-r--r--locale/de_DE.po32
-rw-r--r--locale/en_US.po32
-rw-r--r--locale/en_x_pirate.po32
-rw-r--r--locale/es.po35
-rw-r--r--locale/fil.po35
-rw-r--r--locale/fr.po37
-rw-r--r--locale/it_IT.po35
-rw-r--r--locale/pt_BR.po32
-rw-r--r--shared-bindings/_pew/PewPew.c9
-rw-r--r--shared-module/_pew/PewPew.c2
12 files changed, 279 insertions, 68 deletions
diff --git a/locale/ID.po b/locale/ID.po
index 8961872a0..f975ad08b 100644
--- a/locale/ID.po
+++ b/locale/ID.po
@@ -3,7 +3,6 @@
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
-#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
#, fuzzy
msgid ""
msgstr ""
@@ -262,6 +261,7 @@ msgstr "Semua timer untuk pin ini sedang digunakan"
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
+#: shared-module/_pew/PewPew.c
msgid "All timers in use"
msgstr "Semua timer sedang digunakan"
@@ -473,6 +473,10 @@ msgstr ""
msgid "Clock unit in use"
msgstr "Clock unit sedang digunakan"
+#: shared-bindings/_pew/PewPew.c
+msgid "Column entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
msgid "Command must be an int between 0 and 255"
msgstr ""
@@ -771,6 +775,10 @@ msgid ""
"mpy-update for more info."
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "Incorrect buffer size"
+msgstr ""
+
#: py/moduerrno.c
msgid "Input/output error"
msgstr ""
@@ -1137,6 +1145,10 @@ msgstr "sistem file (filesystem) bersifat Read-only"
msgid "Right channel unsupported"
msgstr "Channel Kanan tidak didukung"
+#: shared-bindings/_pew/PewPew.c
+msgid "Row entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: main.c
msgid "Running in safe mode! Auto-reload is off.\n"
msgstr "Berjalan di mode aman(safe mode)! Auto-reload tidak aktif.\n"
@@ -1177,7 +1189,7 @@ msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
-#: shared-bindings/pulseio/PulseIn.c
+#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""
@@ -1245,6 +1257,10 @@ msgid "Tile height must exactly divide bitmap height"
msgstr ""
#: shared-bindings/displayio/TileGrid.c
+msgid "Tile indices must be 0 - 255"
+msgstr ""
+
+#: shared-bindings/displayio/TileGrid.c
msgid "Tile width must exactly divide bitmap width"
msgstr ""
@@ -1541,6 +1557,10 @@ msgstr ""
msgid "buffers must be the same length"
msgstr "buffers harus mempunyai panjang yang sama"
+#: shared-bindings/_pew/PewPew.c
+msgid "buttons must be digitalio.DigitalInOut"
+msgstr ""
+
#: py/vm.c
msgid "byte code not implemented"
msgstr ""
@@ -2461,10 +2481,6 @@ msgstr ""
msgid "popitem(): dictionary is empty"
msgstr ""
-#: shared-bindings/displayio/TileGrid.c
-msgid "position must be 2-tuple"
-msgstr ""
-
#: py/objint_mpz.c
msgid "pow() 3rd argument cannot be 0"
msgstr ""
@@ -2633,6 +2649,10 @@ msgstr "sintaksis error pada pendeskripsi uctypes"
msgid "threshold must be in the range 0-65536"
msgstr ""
+#: shared-bindings/displayio/TileGrid.c
+msgid "tile index out of bounds"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "time.struct_time() takes a 9-sequence"
msgstr ""
diff --git a/locale/circuitpython.pot b/locale/circuitpython.pot
index 36975f988..bbdb06287 100644
--- a/locale/circuitpython.pot
+++ b/locale/circuitpython.pot
@@ -3,13 +3,12 @@
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
-#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2019-03-12 11:17-0700\n"
+"POT-Creation-Date: 2019-03-12 17:20-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -260,6 +259,7 @@ msgstr ""
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
+#: shared-module/_pew/PewPew.c
msgid "All timers in use"
msgstr ""
@@ -463,6 +463,10 @@ msgstr ""
msgid "Clock unit in use"
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "Column entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
msgid "Command must be an int between 0 and 255"
msgstr ""
@@ -746,6 +750,10 @@ msgid ""
"mpy-update for more info."
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "Incorrect buffer size"
+msgstr ""
+
#: py/moduerrno.c
msgid "Input/output error"
msgstr ""
@@ -1108,6 +1116,10 @@ msgstr ""
msgid "Right channel unsupported"
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "Row entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: main.c
msgid "Running in safe mode! Auto-reload is off.\n"
msgstr ""
@@ -1147,7 +1159,7 @@ msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
-#: shared-bindings/pulseio/PulseIn.c
+#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""
@@ -1212,6 +1224,10 @@ msgid "Tile height must exactly divide bitmap height"
msgstr ""
#: shared-bindings/displayio/TileGrid.c
+msgid "Tile indices must be 0 - 255"
+msgstr ""
+
+#: shared-bindings/displayio/TileGrid.c
msgid "Tile width must exactly divide bitmap width"
msgstr ""
@@ -1495,6 +1511,10 @@ msgstr ""
msgid "buffers must be the same length"
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "buttons must be digitalio.DigitalInOut"
+msgstr ""
+
#: py/vm.c
msgid "byte code not implemented"
msgstr ""
@@ -2413,10 +2433,6 @@ msgstr ""
msgid "popitem(): dictionary is empty"
msgstr ""
-#: shared-bindings/displayio/TileGrid.c
-msgid "position must be 2-tuple"
-msgstr ""
-
#: py/objint_mpz.c
msgid "pow() 3rd argument cannot be 0"
msgstr ""
@@ -2585,6 +2601,10 @@ msgstr ""
msgid "threshold must be in the range 0-65536"
msgstr ""
+#: shared-bindings/displayio/TileGrid.c
+msgid "tile index out of bounds"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "time.struct_time() takes a 9-sequence"
msgstr ""
diff --git a/locale/de_DE.po b/locale/de_DE.po
index 1a73ec7a2..add0cc71e 100644
--- a/locale/de_DE.po
+++ b/locale/de_DE.po
@@ -3,7 +3,6 @@
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
-#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
msgid ""
msgstr ""
"Project-Id-Version: \n"
@@ -262,6 +261,7 @@ msgstr "Alle timer für diesen Pin werden bereits benutzt"
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
+#: shared-module/_pew/PewPew.c
msgid "All timers in use"
msgstr "Alle timer werden benutzt"
@@ -467,6 +467,10 @@ msgstr "Clock stretch zu lang"
msgid "Clock unit in use"
msgstr "Clock unit wird benutzt"
+#: shared-bindings/_pew/PewPew.c
+msgid "Column entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
msgid "Command must be an int between 0 and 255"
msgstr "Der Befehl muss ein int zwischen 0 und 255 sein"
@@ -753,6 +757,10 @@ msgstr ""
"Inkompatible mpy-Datei. Bitte aktualisieren Sie alle mpy-Dateien. Siehe "
"http://adafru.it/mpy-update für weitere Informationen."
+#: shared-bindings/_pew/PewPew.c
+msgid "Incorrect buffer size"
+msgstr ""
+
#: py/moduerrno.c
msgid "Input/output error"
msgstr "Eingabe-/Ausgabefehler"
@@ -1129,6 +1137,10 @@ msgstr "Schreibgeschützte Objekt"
msgid "Right channel unsupported"
msgstr "Rechter Kanal wird nicht unterstützt"
+#: shared-bindings/_pew/PewPew.c
+msgid "Row entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: main.c
msgid "Running in safe mode! Auto-reload is off.\n"
msgstr "Sicherheitsmodus aktiv! Automatisches Neuladen ist deaktiviert.\n"
@@ -1168,7 +1180,7 @@ msgid "Slice and value different lengths."
msgstr "Slice und Wert (value) haben unterschiedliche Längen."
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
-#: shared-bindings/pulseio/PulseIn.c
+#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr "Slices werden nicht unterstützt"
@@ -1245,6 +1257,10 @@ msgid "Tile height must exactly divide bitmap height"
msgstr ""
#: shared-bindings/displayio/TileGrid.c
+msgid "Tile indices must be 0 - 255"
+msgstr ""
+
+#: shared-bindings/displayio/TileGrid.c
msgid "Tile width must exactly divide bitmap width"
msgstr ""
@@ -1540,6 +1556,10 @@ msgstr "Der Puffer ist zu klein"
msgid "buffers must be the same length"
msgstr "Buffer müssen gleich lang sein"
+#: shared-bindings/_pew/PewPew.c
+msgid "buttons must be digitalio.DigitalInOut"
+msgstr ""
+
#: py/vm.c
msgid "byte code not implemented"
msgstr ""
@@ -2468,10 +2488,6 @@ msgstr "pop von einer leeren Liste"
msgid "popitem(): dictionary is empty"
msgstr "popitem(): dictionary ist leer"
-#: shared-bindings/displayio/TileGrid.c
-msgid "position must be 2-tuple"
-msgstr ""
-
#: py/objint_mpz.c
msgid "pow() 3rd argument cannot be 0"
msgstr "pow() drittes Argument darf nicht 0 sein"
@@ -2643,6 +2659,10 @@ msgstr "Syntaxfehler in uctypes Deskriptor"
msgid "threshold must be in the range 0-65536"
msgstr "threshold muss im Intervall 0-65536 liegen"
+#: shared-bindings/displayio/TileGrid.c
+msgid "tile index out of bounds"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "time.struct_time() takes a 9-sequence"
msgstr ""
diff --git a/locale/en_US.po b/locale/en_US.po
index 52d4b73e8..2e1dbd0f0 100644
--- a/locale/en_US.po
+++ b/locale/en_US.po
@@ -3,7 +3,6 @@
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
-#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
msgid ""
msgstr ""
"Project-Id-Version: \n"
@@ -260,6 +259,7 @@ msgstr ""
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
+#: shared-module/_pew/PewPew.c
msgid "All timers in use"
msgstr ""
@@ -463,6 +463,10 @@ msgstr ""
msgid "Clock unit in use"
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "Column entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
msgid "Command must be an int between 0 and 255"
msgstr ""
@@ -746,6 +750,10 @@ msgid ""
"mpy-update for more info."
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "Incorrect buffer size"
+msgstr ""
+
#: py/moduerrno.c
msgid "Input/output error"
msgstr ""
@@ -1108,6 +1116,10 @@ msgstr ""
msgid "Right channel unsupported"
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "Row entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: main.c
msgid "Running in safe mode! Auto-reload is off.\n"
msgstr ""
@@ -1147,7 +1159,7 @@ msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
-#: shared-bindings/pulseio/PulseIn.c
+#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""
@@ -1212,6 +1224,10 @@ msgid "Tile height must exactly divide bitmap height"
msgstr ""
#: shared-bindings/displayio/TileGrid.c
+msgid "Tile indices must be 0 - 255"
+msgstr ""
+
+#: shared-bindings/displayio/TileGrid.c
msgid "Tile width must exactly divide bitmap width"
msgstr ""
@@ -1495,6 +1511,10 @@ msgstr ""
msgid "buffers must be the same length"
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "buttons must be digitalio.DigitalInOut"
+msgstr ""
+
#: py/vm.c
msgid "byte code not implemented"
msgstr ""
@@ -2413,10 +2433,6 @@ msgstr ""
msgid "popitem(): dictionary is empty"
msgstr ""
-#: shared-bindings/displayio/TileGrid.c
-msgid "position must be 2-tuple"
-msgstr ""
-
#: py/objint_mpz.c
msgid "pow() 3rd argument cannot be 0"
msgstr ""
@@ -2585,6 +2601,10 @@ msgstr ""
msgid "threshold must be in the range 0-65536"
msgstr ""
+#: shared-bindings/displayio/TileGrid.c
+msgid "tile index out of bounds"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "time.struct_time() takes a 9-sequence"
msgstr ""
diff --git a/locale/en_x_pirate.po b/locale/en_x_pirate.po
index 6597d98bd..97d819bcd 100644
--- a/locale/en_x_pirate.po
+++ b/locale/en_x_pirate.po
@@ -3,7 +3,6 @@
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
-#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
msgid ""
msgstr ""
"Project-Id-Version: \n"
@@ -262,6 +261,7 @@ msgstr ""
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
+#: shared-module/_pew/PewPew.c
msgid "All timers in use"
msgstr ""
@@ -467,6 +467,10 @@ msgstr ""
msgid "Clock unit in use"
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "Column entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
msgid "Command must be an int between 0 and 255"
msgstr ""
@@ -750,6 +754,10 @@ msgid ""
"mpy-update for more info."
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "Incorrect buffer size"
+msgstr ""
+
#: py/moduerrno.c
msgid "Input/output error"
msgstr ""
@@ -1112,6 +1120,10 @@ msgstr ""
msgid "Right channel unsupported"
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "Row entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: main.c
msgid "Running in safe mode! Auto-reload is off.\n"
msgstr "Runnin' in safe mode! Auto-reload be off.\n"
@@ -1151,7 +1163,7 @@ msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
-#: shared-bindings/pulseio/PulseIn.c
+#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""
@@ -1216,6 +1228,10 @@ msgid "Tile height must exactly divide bitmap height"
msgstr ""
#: shared-bindings/displayio/TileGrid.c
+msgid "Tile indices must be 0 - 255"
+msgstr ""
+
+#: shared-bindings/displayio/TileGrid.c
msgid "Tile width must exactly divide bitmap width"
msgstr ""
@@ -1499,6 +1515,10 @@ msgstr ""
msgid "buffers must be the same length"
msgstr "yer buffers must be of the same length"
+#: shared-bindings/_pew/PewPew.c
+msgid "buttons must be digitalio.DigitalInOut"
+msgstr ""
+
#: py/vm.c
msgid "byte code not implemented"
msgstr ""
@@ -2417,10 +2437,6 @@ msgstr ""
msgid "popitem(): dictionary is empty"
msgstr ""
-#: shared-bindings/displayio/TileGrid.c
-msgid "position must be 2-tuple"
-msgstr ""
-
#: py/objint_mpz.c
msgid "pow() 3rd argument cannot be 0"
msgstr ""
@@ -2589,6 +2605,10 @@ msgstr ""
msgid "threshold must be in the range 0-65536"
msgstr ""
+#: shared-bindings/displayio/TileGrid.c
+msgid "tile index out of bounds"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "time.struct_time() takes a 9-sequence"
msgstr ""
diff --git a/locale/es.po b/locale/es.po
index a6749413d..adf786085 100644
--- a/locale/es.po
+++ b/locale/es.po
@@ -4,7 +4,6 @@
# Carlos Diaz <carlos.santiago.diaz@gmail.com>, 2018.
# Juan Biondi <juanernestobiondi@gmail.com>, 2018.
#
-#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
msgid ""
msgstr ""
"Project-Id-Version: \n"
@@ -267,6 +266,7 @@ msgstr "Todos los timers para este pin están siendo utilizados"
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
+#: shared-module/_pew/PewPew.c
msgid "All timers in use"
msgstr "Todos los timers en uso"
@@ -474,6 +474,10 @@ msgstr ""
msgid "Clock unit in use"
msgstr "Clock unit está siendo utilizado"
+#: shared-bindings/_pew/PewPew.c
+msgid "Column entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
#, fuzzy
msgid "Command must be an int between 0 and 255"
@@ -778,6 +782,10 @@ msgstr ""
"Archivo .mpy incompatible. Actualice todos los archivos .mpy. Consulte "
"http://adafru.it/mpy-update para más información"
+#: shared-bindings/_pew/PewPew.c
+msgid "Incorrect buffer size"
+msgstr ""
+
#: py/moduerrno.c
msgid "Input/output error"
msgstr "error Input/output"
@@ -1153,6 +1161,10 @@ msgstr "Solo-lectura"
msgid "Right channel unsupported"
msgstr "Canal derecho no soportado"
+#: shared-bindings/_pew/PewPew.c
+msgid "Row entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: main.c
msgid "Running in safe mode! Auto-reload is off.\n"
msgstr "Ejecutando en modo seguro! La auto-recarga esta deshabilitada.\n"
@@ -1192,7 +1204,7 @@ msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
-#: shared-bindings/pulseio/PulseIn.c
+#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""
@@ -1264,6 +1276,10 @@ msgid "Tile height must exactly divide bitmap height"
msgstr ""
#: shared-bindings/displayio/TileGrid.c
+msgid "Tile indices must be 0 - 255"
+msgstr ""
+
+#: shared-bindings/displayio/TileGrid.c
msgid "Tile width must exactly divide bitmap width"
msgstr ""
@@ -1558,6 +1574,10 @@ msgstr "buffer demasiado pequeño"
msgid "buffers must be the same length"
msgstr "los buffers deben de tener la misma longitud"
+#: shared-bindings/_pew/PewPew.c
+msgid "buttons must be digitalio.DigitalInOut"
+msgstr ""
+
#: py/vm.c
msgid "byte code not implemented"
msgstr "codigo byte no implementado"
@@ -2493,10 +2513,6 @@ msgstr "pop desde una lista vacía"
msgid "popitem(): dictionary is empty"
msgstr "popitem(): diccionario vacío"
-#: shared-bindings/displayio/TileGrid.c
-msgid "position must be 2-tuple"
-msgstr "posición debe ser 2-tuple"
-
#: py/objint_mpz.c
msgid "pow() 3rd argument cannot be 0"
msgstr "el 3er argumento de pow() no puede ser 0"
@@ -2669,6 +2685,10 @@ msgstr "error de sintaxis en el descriptor uctypes"
msgid "threshold must be in the range 0-65536"
msgstr ""
+#: shared-bindings/displayio/TileGrid.c
+msgid "tile index out of bounds"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "time.struct_time() takes a 9-sequence"
msgstr ""
@@ -2877,3 +2897,6 @@ msgstr "paso cero"
#~ msgid "Only true color (24 bpp or higher) BMP supported %x"
#~ msgstr "Solo color verdadero (24 bpp o superior) BMP admitido %x"
+
+#~ msgid "position must be 2-tuple"
+#~ msgstr "posición debe ser 2-tuple"
diff --git a/locale/fil.po b/locale/fil.po
index 2d9ce796b..c45f62b75 100644
--- a/locale/fil.po
+++ b/locale/fil.po
@@ -3,7 +3,6 @@
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
-#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
msgid ""
msgstr ""
"Project-Id-Version: \n"
@@ -264,6 +263,7 @@ msgstr "Lahat ng timers para sa pin na ito ay ginagamit"
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
+#: shared-module/_pew/PewPew.c
msgid "All timers in use"
msgstr "Lahat ng timer ginagamit"
@@ -471,6 +471,10 @@ msgstr "Masyadong mahaba ang Clock stretch"
msgid "Clock unit in use"
msgstr "Clock unit ginagamit"
+#: shared-bindings/_pew/PewPew.c
+msgid "Column entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
#, fuzzy
msgid "Command must be an int between 0 and 255"
@@ -776,6 +780,10 @@ msgstr ""
".mpy file hindi compatible. Maaring i-update lahat ng .mpy files. See http://"
"adafru.it/mpy-update for more info."
+#: shared-bindings/_pew/PewPew.c
+msgid "Incorrect buffer size"
+msgstr ""
+
#: py/moduerrno.c
msgid "Input/output error"
msgstr "May mali sa Input/Output"
@@ -1152,6 +1160,10 @@ msgstr "Basahin-lamang"
msgid "Right channel unsupported"
msgstr "Hindi supportado ang kanang channel"
+#: shared-bindings/_pew/PewPew.c
+msgid "Row entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: main.c
msgid "Running in safe mode! Auto-reload is off.\n"
msgstr "Tumatakbo sa safe mode! Awtomatikong pag re-reload ay OFF.\n"
@@ -1191,7 +1203,7 @@ msgid "Slice and value different lengths."
msgstr "Slice at value iba't ibang haba."
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
-#: shared-bindings/pulseio/PulseIn.c
+#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr "Hindi suportado ang Slices"
@@ -1266,6 +1278,10 @@ msgid "Tile height must exactly divide bitmap height"
msgstr ""
#: shared-bindings/displayio/TileGrid.c
+msgid "Tile indices must be 0 - 255"
+msgstr ""
+
+#: shared-bindings/displayio/TileGrid.c
msgid "Tile width must exactly divide bitmap width"
msgstr ""
@@ -1561,6 +1577,10 @@ msgstr "masyadong maliit ang buffer"
msgid "buffers must be the same length"
msgstr "ang buffers ay dapat parehas sa haba"
+#: shared-bindings/_pew/PewPew.c
+msgid "buttons must be digitalio.DigitalInOut"
+msgstr ""
+
#: py/vm.c
msgid "byte code not implemented"
msgstr "byte code hindi pa implemented"
@@ -2499,10 +2519,6 @@ msgstr "pop galing sa walang laman na list"
msgid "popitem(): dictionary is empty"
msgstr "popitem(): dictionary ay walang laman"
-#: shared-bindings/displayio/TileGrid.c
-msgid "position must be 2-tuple"
-msgstr "position ay dapat 2-tuple"
-
#: py/objint_mpz.c
msgid "pow() 3rd argument cannot be 0"
msgstr "pow() 3rd argument ay hindi maaring 0"
@@ -2675,6 +2691,10 @@ msgstr "may pagkakamali sa sintaks sa uctypes descriptor"
msgid "threshold must be in the range 0-65536"
msgstr "ang threshold ay dapat sa range 0-65536"
+#: shared-bindings/displayio/TileGrid.c
+msgid "tile index out of bounds"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "time.struct_time() takes a 9-sequence"
msgstr "time.struct_time() kumukuha ng 9-sequence"
@@ -2883,3 +2903,6 @@ msgstr "zero step"
#~ msgid "Only true color (24 bpp or higher) BMP supported %x"
#~ msgstr "Dapat true color (24 bpp o mas mataas) BMP lamang ang supportado %x"
+
+#~ msgid "position must be 2-tuple"
+#~ msgstr "position ay dapat 2-tuple"
diff --git a/locale/fr.po b/locale/fr.po
index eeab87b65..7f8acb4cd 100644
--- a/locale/fr.po
+++ b/locale/fr.po
@@ -3,7 +3,6 @@
# This file is distributed under the same license as the PACKAGE package.
# Pierrick Couturier <arofarn@arofarn.info>, 2018.
#
-#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
msgid ""
msgstr ""
"Project-Id-Version: 0.1\n"
@@ -264,6 +263,7 @@ msgstr "Tous les timers pour cette broche sont utilisés"
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
+#: shared-module/_pew/PewPew.c
msgid "All timers in use"
msgstr "Tous les timers sont utilisés"
@@ -473,6 +473,10 @@ msgstr "Période de l'horloge trop longue"
msgid "Clock unit in use"
msgstr "Horloge en cours d'utilisation"
+#: shared-bindings/_pew/PewPew.c
+msgid "Column entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
#, fuzzy
msgid "Command must be an int between 0 and 255"
@@ -775,6 +779,10 @@ msgstr ""
"Fichier .mpy incompatible. Merci de mettre à jour tous les .mpy. Voirhttp://"
"adafru.it/mpy-update pour plus d'informations."
+#: shared-bindings/_pew/PewPew.c
+msgid "Incorrect buffer size"
+msgstr ""
+
#: py/moduerrno.c
msgid "Input/output error"
msgstr "Erreur d'entrée/sortie"
@@ -1159,6 +1167,10 @@ msgstr "Lecture seule"
msgid "Right channel unsupported"
msgstr "Canal droit non supporté"
+#: shared-bindings/_pew/PewPew.c
+msgid "Row entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: main.c
msgid "Running in safe mode! Auto-reload is off.\n"
msgstr "Mode sans-échec. Auto-rechargement désactivé.\n"
@@ -1199,7 +1211,7 @@ msgid "Slice and value different lengths."
msgstr "Slice et valeur de tailles différentes"
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
-#: shared-bindings/pulseio/PulseIn.c
+#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr "Slices non supportées"
@@ -1277,6 +1289,10 @@ msgid "Tile height must exactly divide bitmap height"
msgstr ""
#: shared-bindings/displayio/TileGrid.c
+msgid "Tile indices must be 0 - 255"
+msgstr ""
+
+#: shared-bindings/displayio/TileGrid.c
msgid "Tile width must exactly divide bitmap width"
msgstr ""
@@ -1573,6 +1589,10 @@ msgstr "tampon trop petit"
msgid "buffers must be the same length"
msgstr "les tampons doivent être de la même longueur"
+#: shared-bindings/_pew/PewPew.c
+msgid "buttons must be digitalio.DigitalInOut"
+msgstr ""
+
#: py/vm.c
msgid "byte code not implemented"
msgstr "bytecode non implémenté"
@@ -2519,11 +2539,6 @@ msgstr "pop d'une liste vide"
msgid "popitem(): dictionary is empty"
msgstr "popitem(): dictionnaire vide"
-#: shared-bindings/displayio/TileGrid.c
-#, fuzzy
-msgid "position must be 2-tuple"
-msgstr "position doit être un 2-tuple"
-
#: py/objint_mpz.c
msgid "pow() 3rd argument cannot be 0"
msgstr "le 3e argument de pow() ne peut être 0"
@@ -2697,6 +2712,10 @@ msgstr "erreur de syntaxe dans le descripteur d'uctypes"
msgid "threshold must be in the range 0-65536"
msgstr "le seuil doit être dans la gamme 0-65536"
+#: shared-bindings/displayio/TileGrid.c
+msgid "tile index out of bounds"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "time.struct_time() takes a 9-sequence"
msgstr "time.struct_time() prend une séquence de longueur 9"
@@ -2907,3 +2926,7 @@ msgstr "'step' nul"
#~ msgid "Only true color (24 bpp or higher) BMP supported %x"
#~ msgstr "Seul les BMP 24bits ou plus sont supportés %x"
+
+#, fuzzy
+#~ msgid "position must be 2-tuple"
+#~ msgstr "position doit être un 2-tuple"
diff --git a/locale/it_IT.po b/locale/it_IT.po
index 22bc8ed4b..fd00b9198 100644
--- a/locale/it_IT.po
+++ b/locale/it_IT.po
@@ -3,7 +3,6 @@
# This file is distributed under the same license as the PACKAGE package.
# Enrico Paganin <enrico.paganin@mail.com>, 2018
#
-#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
#, fuzzy
msgid ""
msgstr ""
@@ -263,6 +262,7 @@ msgstr "Tutti i timer per questo pin sono in uso"
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
+#: shared-module/_pew/PewPew.c
msgid "All timers in use"
msgstr "Tutti i timer utilizzati"
@@ -472,6 +472,10 @@ msgstr ""
msgid "Clock unit in use"
msgstr "Unità di clock in uso"
+#: shared-bindings/_pew/PewPew.c
+msgid "Column entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
#, fuzzy
msgid "Command must be an int between 0 and 255"
@@ -775,6 +779,10 @@ msgstr ""
"File .mpy incompatibile. Aggiorna tutti i file .mpy. Vedi http://adafru.it/"
"mpy-update per più informazioni."
+#: shared-bindings/_pew/PewPew.c
+msgid "Incorrect buffer size"
+msgstr ""
+
#: py/moduerrno.c
msgid "Input/output error"
msgstr "Errore input/output"
@@ -1155,6 +1163,10 @@ msgstr "Sola lettura"
msgid "Right channel unsupported"
msgstr "Canale destro non supportato"
+#: shared-bindings/_pew/PewPew.c
+msgid "Row entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: main.c
msgid "Running in safe mode! Auto-reload is off.\n"
msgstr "Modalità sicura in esecuzione! Auto-reload disattivato.\n"
@@ -1196,7 +1208,7 @@ msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
-#: shared-bindings/pulseio/PulseIn.c
+#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr "Slice non supportate"
@@ -1264,6 +1276,10 @@ msgid "Tile height must exactly divide bitmap height"
msgstr ""
#: shared-bindings/displayio/TileGrid.c
+msgid "Tile indices must be 0 - 255"
+msgstr ""
+
+#: shared-bindings/displayio/TileGrid.c
msgid "Tile width must exactly divide bitmap width"
msgstr ""
@@ -1555,6 +1571,10 @@ msgstr "buffer troppo piccolo"
msgid "buffers must be the same length"
msgstr "i buffer devono essere della stessa lunghezza"
+#: shared-bindings/_pew/PewPew.c
+msgid "buttons must be digitalio.DigitalInOut"
+msgstr ""
+
#: py/vm.c
msgid "byte code not implemented"
msgstr "byte code non implementato"
@@ -2495,10 +2515,6 @@ msgstr "pop da una lista vuota"
msgid "popitem(): dictionary is empty"
msgstr "popitem(): il dizionario è vuoto"
-#: shared-bindings/displayio/TileGrid.c
-msgid "position must be 2-tuple"
-msgstr "position deve essere una 2-tuple"
-
#: py/objint_mpz.c
msgid "pow() 3rd argument cannot be 0"
msgstr "il terzo argomento di pow() non può essere 0"
@@ -2671,6 +2687,10 @@ msgstr "errore di sintassi nel descrittore uctypes"
msgid "threshold must be in the range 0-65536"
msgstr "la soglia deve essere nell'intervallo 0-65536"
+#: shared-bindings/displayio/TileGrid.c
+msgid "tile index out of bounds"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "time.struct_time() takes a 9-sequence"
msgstr ""
@@ -2879,3 +2899,6 @@ msgstr "zero step"
#~ msgid "Only true color (24 bpp or higher) BMP supported %x"
#~ msgstr "Solo BMP true color (24 bpp o superiore) sono supportati %x"
+
+#~ msgid "position must be 2-tuple"
+#~ msgstr "position deve essere una 2-tuple"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index 77e1beff6..aaf17f54b 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -3,7 +3,6 @@
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
-#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
#, fuzzy
msgid ""
msgstr ""
@@ -263,6 +262,7 @@ msgstr "Todos os temporizadores para este pino estão em uso"
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
+#: shared-module/_pew/PewPew.c
msgid "All timers in use"
msgstr "Todos os temporizadores em uso"
@@ -468,6 +468,10 @@ msgstr "Clock se estendeu por tempo demais"
msgid "Clock unit in use"
msgstr "Unidade de Clock em uso"
+#: shared-bindings/_pew/PewPew.c
+msgid "Column entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
#, fuzzy
msgid "Command must be an int between 0 and 255"
@@ -766,6 +770,10 @@ msgid ""
"mpy-update for more info."
msgstr ""
+#: shared-bindings/_pew/PewPew.c
+msgid "Incorrect buffer size"
+msgstr ""
+
#: py/moduerrno.c
msgid "Input/output error"
msgstr ""
@@ -1136,6 +1144,10 @@ msgstr "Somente leitura"
msgid "Right channel unsupported"
msgstr "Canal direito não suportado"
+#: shared-bindings/_pew/PewPew.c
+msgid "Row entry must be digitalio.DigitalInOut"
+msgstr ""
+
#: main.c
msgid "Running in safe mode! Auto-reload is off.\n"
msgstr "Rodando em modo seguro! Atualização automática está desligada.\n"
@@ -1175,7 +1187,7 @@ msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
-#: shared-bindings/pulseio/PulseIn.c
+#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""
@@ -1240,6 +1252,10 @@ msgid "Tile height must exactly divide bitmap height"
msgstr ""
#: shared-bindings/displayio/TileGrid.c
+msgid "Tile indices must be 0 - 255"
+msgstr ""
+
+#: shared-bindings/displayio/TileGrid.c
msgid "Tile width must exactly divide bitmap width"
msgstr ""
@@ -1527,6 +1543,10 @@ msgstr ""
msgid "buffers must be the same length"
msgstr "buffers devem ser o mesmo tamanho"
+#: shared-bindings/_pew/PewPew.c
+msgid "buttons must be digitalio.DigitalInOut"
+msgstr ""
+
#: py/vm.c
msgid "byte code not implemented"
msgstr ""
@@ -2447,10 +2467,6 @@ msgstr ""
msgid "popitem(): dictionary is empty"
msgstr ""
-#: shared-bindings/displayio/TileGrid.c
-msgid "position must be 2-tuple"
-msgstr ""
-
#: py/objint_mpz.c
msgid "pow() 3rd argument cannot be 0"
msgstr ""
@@ -2621,6 +2637,10 @@ msgstr ""
msgid "threshold must be in the range 0-65536"
msgstr "Limite deve estar no alcance de 0-65536"
+#: shared-bindings/displayio/TileGrid.c
+msgid "tile index out of bounds"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "time.struct_time() takes a 9-sequence"
msgstr ""
diff --git a/shared-bindings/_pew/PewPew.c b/shared-bindings/_pew/PewPew.c
index 50647488c..d7ae0116d 100644
--- a/shared-bindings/_pew/PewPew.c
+++ b/shared-bindings/_pew/PewPew.c
@@ -88,12 +88,12 @@ STATIC mp_obj_t pewpew_make_new(const mp_obj_type_t *type, size_t n_args,
mp_obj_get_array(args[ARG_cols].u_obj, &cols_size, &cols);
if (bufinfo.len != rows_size * cols_size) {
- mp_raise_ValueError(translate(""));
+ mp_raise_ValueError(translate("Incorrect buffer size"));
}
for (size_t i = 0; i < rows_size; ++i) {
if (!MP_OBJ_IS_TYPE(rows[i], &digitalio_digitalinout_type)) {
- mp_raise_TypeError(translate(""));
+ mp_raise_TypeError(translate("Row entry must be digitalio.DigitalInOut"));
}
digitalio_digitalinout_obj_t *pin = MP_OBJ_TO_PTR(rows[i]);
raise_error_if_deinited(
@@ -102,7 +102,7 @@ STATIC mp_obj_t pewpew_make_new(const mp_obj_type_t *type, size_t n_args,
for (size_t i = 0; i < cols_size; ++i) {
if (!MP_OBJ_IS_TYPE(cols[i], &digitalio_digitalinout_type)) {
- mp_raise_TypeError(translate(""));
+ mp_raise_TypeError(translate("Column entry must be digitalio.DigitalInOut"));
}
digitalio_digitalinout_obj_t *pin = MP_OBJ_TO_PTR(cols[i]);
raise_error_if_deinited(
@@ -111,7 +111,7 @@ STATIC mp_obj_t pewpew_make_new(const mp_obj_type_t *type, size_t n_args,
if (!MP_OBJ_IS_TYPE(args[ARG_buttons].u_obj,
&digitalio_digitalinout_type)) {
- mp_raise_TypeError(translate(""));
+ mp_raise_TypeError(translate("buttons must be digitalio.DigitalInOut"));
}
digitalio_digitalinout_obj_t *buttons = MP_OBJ_TO_PTR(
args[ARG_buttons].u_obj);
@@ -148,4 +148,3 @@ const mp_obj_type_t pewpew_type = {
.make_new = pewpew_make_new,
.locals_dict = (mp_obj_dict_t*)&pewpew_locals_dict,
};
-
diff --git a/shared-module/_pew/PewPew.c b/shared-module/_pew/PewPew.c
index 7ff4e8c7a..568dc6425 100644
--- a/shared-module/_pew/PewPew.c
+++ b/shared-module/_pew/PewPew.c
@@ -76,7 +76,7 @@ void pew_init() {
// Find a spare timer.
uint8_t index = find_free_timer();
if (index == 0xff) {
- mp_raise_RuntimeError(translate(""));
+ mp_raise_RuntimeError(translate("All timers in use"));
}
Tc *tc = tc_insts[index];