Merge pull request #1778 from pewpew-game/gamepad-shift

Add GamePadShift for handling shift-register-based buttons
This commit is contained in:
Dan Halbert 2019-04-17 10:22:24 -04:00 committed by GitHub
commit 6684a3c723
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 1178 additions and 740 deletions

@ -1 +1 @@
Subproject commit 5669083c2d2cada8b2a1108cdcd4c69694648c93
Subproject commit 08d06a916cf3a4372ea90c9e20aad2bdd269d0c1

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-12 13:44-0700\n"
"POT-Creation-Date: 2019-04-13 11:50+0200\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"
@ -52,8 +52,8 @@ msgstr ""
msgid "%q indices must be integers, not %s"
msgstr ""
#: shared-bindings/bleio/CharacteristicBuffer.c
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
#: shared-bindings/bleio/CharacteristicBuffer.c
#, fuzzy
msgid "%q must be >= 1"
msgstr "buffers harus mempunyai panjang yang sama"
@ -62,7 +62,7 @@ msgstr "buffers harus mempunyai panjang yang sama"
msgid "%q should be an int"
msgstr ""
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "%q() takes %d positional arguments but %d were given"
msgstr "%q() mengambil posisi argumen %d tapi %d yang diberikan"
@ -70,12 +70,12 @@ msgstr "%q() mengambil posisi argumen %d tapi %d yang diberikan"
msgid "'%q' argument required"
msgstr "'%q' argumen dibutuhkan"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a register"
msgstr "'%s' mengharapkan sebuah register"
@ -95,7 +95,7 @@ msgstr "'%s' mengharapkan sebuah FPU register"
msgid "'%s' expects an address of the form [a, b]"
msgstr "'%s' mengharapkan sebuah alamat dengan bentuk [a, b]"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects an integer"
msgstr "'%s' mengharapkan integer"
@ -245,7 +245,7 @@ msgstr "Semua perangkat I2C sedang digunakan"
msgid "All event channels in use"
msgstr "Semua channel event sedang digunakan"
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
msgid "All sync event channels in use"
msgstr "Semua channel event yang disinkronisasi sedang digunakan"
@ -253,9 +253,9 @@ msgstr "Semua channel event yang disinkronisasi sedang digunakan"
msgid "All timers for this pin are in use"
msgstr "Semua timer untuk pin ini sedang digunakan"
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
#: shared-module/_pew/PewPew.c
msgid "All timers in use"
@ -522,9 +522,8 @@ msgstr "Channel EXTINT sedang digunakan"
msgid "Error in regex"
msgstr "Error pada regex"
#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
msgid "Expected a %q"
msgstr ""
@ -532,8 +531,8 @@ msgstr ""
msgid "Expected a Characteristic"
msgstr ""
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
#: shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Characteristic.c
msgid "Expected a UUID"
msgstr ""
@ -720,8 +719,8 @@ msgstr ""
msgid "Frequency captured is above capability. Capture Paused."
msgstr ""
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
msgid "Function requires lock"
msgstr ""
@ -827,11 +826,10 @@ msgstr "Pin untuk channel kiri tidak valid"
msgid "Invalid pin for right channel"
msgstr "Pin untuk channel kanan tidak valid"
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/nrf/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Pin-pin tidak valid"
@ -1093,8 +1091,8 @@ msgstr "Serializer sedang digunakan"
msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""
@ -1347,7 +1345,8 @@ msgstr ""
msgid "argument has wrong type"
msgstr ""
#: py/argcheck.c
#: py/argcheck.c shared-bindings/gamepad/__init__.c
#: shared-bindings/gamepad/GamePad.c
msgid "argument num/types mismatch"
msgstr "argumen num/types tidak cocok"
@ -1660,7 +1659,7 @@ msgstr ""
msgid "complex division by zero"
msgstr ""
#: py/objfloat.c py/parsenum.c
#: py/parsenum.c py/objfloat.c
msgid "complex values not supported"
msgstr ""
@ -1701,7 +1700,7 @@ msgstr ""
msgid "dict update sequence has wrong length"
msgstr ""
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/modmath.c py/objint_mpz.c py/objint_longlong.c py/objfloat.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
msgstr ""
@ -1710,7 +1709,7 @@ msgstr ""
msgid "empty"
msgstr ""
#: extmod/moduheapq.c extmod/modutimeq.c
#: extmod/modutimeq.c extmod/moduheapq.c
msgid "empty heap"
msgstr "heap kosong"
@ -1743,10 +1742,6 @@ msgstr ""
msgid "expected ':' after format specifier"
msgstr ""
#: shared-bindings/gamepad/GamePad.c
msgid "expected a DigitalInOut"
msgstr ""
#: py/obj.c
msgid "expected tuple/list"
msgstr ""
@ -1775,7 +1770,7 @@ msgstr "argumen keyword ekstra telah diberikan"
msgid "extra positional arguments given"
msgstr "argumen posisi ekstra telah diberikan"
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
msgid "file must be a file opened in byte mode"
msgstr ""
@ -1816,7 +1811,7 @@ msgstr "fungsi tidak dapat mengambil argumen keyword"
msgid "function expected at most %d arguments, got %d"
msgstr "fungsi diharapkan setidaknya %d argumen, hanya mendapatkan %d"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "function got multiple values for argument '%q'"
msgstr "fungsi mendapatkan nilai ganda untuk argumen '%q'"
@ -1838,7 +1833,7 @@ msgstr "fungsi kehilangan argumen keyword '%q' yang dibutuhkan"
msgid "function missing required positional argument #%d"
msgstr "fungsi kehilangan argumen posisi #%d yang dibutuhkan"
#: py/argcheck.c py/bc.c py/objnamedtuple.c
#: py/argcheck.c py/objnamedtuple.c py/bc.c
#, c-format
msgid "function takes %d positional arguments but %d were given"
msgstr "fungsi mengambil posisi argumen %d tapi %d yang diberikan"
@ -1985,7 +1980,7 @@ msgstr "argumen keyword belum diimplementasi - gunakan args normal"
msgid "keywords must be strings"
msgstr "keyword harus berupa string"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
msgid "label '%q' not defined"
msgstr ""
@ -2092,11 +2087,11 @@ msgstr ""
msgid "need more than %d values to unpack"
msgstr ""
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
msgid "negative power with no float support"
msgstr ""
#: py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c
msgid "negative shift count"
msgstr ""
@ -2198,12 +2193,12 @@ msgstr ""
msgid "odd-length string"
msgstr "panjang data string memiliki keganjilan (odd-length)"
#: py/objstr.c py/objstrunicode.c
#: py/objstrunicode.c py/objstr.c
#, fuzzy
msgid "offset out of bounds"
msgstr "modul tidak ditemukan"
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
#: py/objarray.c py/objtuple.c py/objstrunicode.c py/objstr.c
#: shared-bindings/nvm/ByteArray.c
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
@ -2221,7 +2216,7 @@ msgstr ""
msgid "overflow converting long int to machine word"
msgstr ""
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
msgid "palette must be 32 bytes long"
msgstr ""
@ -2353,7 +2348,7 @@ msgstr ""
msgid "slice step cannot be zero"
msgstr ""
#: py/objint.c py/sequence.c
#: py/sequence.c py/objint.c
msgid "small int overflow"
msgstr ""
@ -2455,10 +2450,6 @@ msgstr "bits harus memilki nilai 8"
msgid "timestamp out of range for platform time_t"
msgstr ""
#: shared-bindings/gamepad/GamePad.c
msgid "too many arguments"
msgstr ""
#: shared-module/struct/__init__.c
msgid "too many arguments provided with the given format"
msgstr ""
@ -2516,7 +2507,7 @@ msgstr ""
msgid "unexpected keyword argument"
msgstr "argumen keyword tidak diharapkan"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "unexpected keyword argument '%q'"
msgstr "keyword argumen '%q' tidak diharapkan"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-12 13:44-0700\n"
"POT-Creation-Date: 2019-04-13 11:50+0200\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"
@ -52,8 +52,8 @@ msgstr ""
msgid "%q indices must be integers, not %s"
msgstr ""
#: shared-bindings/bleio/CharacteristicBuffer.c
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
#: shared-bindings/bleio/CharacteristicBuffer.c
msgid "%q must be >= 1"
msgstr ""
@ -61,7 +61,7 @@ msgstr ""
msgid "%q should be an int"
msgstr ""
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "%q() takes %d positional arguments but %d were given"
msgstr ""
@ -69,12 +69,12 @@ msgstr ""
msgid "'%q' argument required"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a register"
msgstr ""
@ -94,7 +94,7 @@ msgstr ""
msgid "'%s' expects an address of the form [a, b]"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects an integer"
msgstr ""
@ -243,7 +243,7 @@ msgstr ""
msgid "All event channels in use"
msgstr ""
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
msgid "All sync event channels in use"
msgstr ""
@ -251,9 +251,9 @@ msgstr ""
msgid "All timers for this pin are in use"
msgstr ""
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
#: shared-module/_pew/PewPew.c
msgid "All timers in use"
@ -510,9 +510,8 @@ msgstr ""
msgid "Error in regex"
msgstr ""
#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
msgid "Expected a %q"
msgstr ""
@ -520,8 +519,8 @@ msgstr ""
msgid "Expected a Characteristic"
msgstr ""
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
#: shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Characteristic.c
msgid "Expected a UUID"
msgstr ""
@ -695,8 +694,8 @@ msgstr ""
msgid "Frequency captured is above capability. Capture Paused."
msgstr ""
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
msgid "Function requires lock"
msgstr ""
@ -802,11 +801,10 @@ msgstr ""
msgid "Invalid pin for right channel"
msgstr ""
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/nrf/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr ""
@ -1063,8 +1061,8 @@ msgstr ""
msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""
@ -1304,7 +1302,8 @@ msgstr ""
msgid "argument has wrong type"
msgstr ""
#: py/argcheck.c
#: py/argcheck.c shared-bindings/gamepad/__init__.c
#: shared-bindings/gamepad/GamePad.c
msgid "argument num/types mismatch"
msgstr ""
@ -1616,7 +1615,7 @@ msgstr ""
msgid "complex division by zero"
msgstr ""
#: py/objfloat.c py/parsenum.c
#: py/parsenum.c py/objfloat.c
msgid "complex values not supported"
msgstr ""
@ -1657,7 +1656,7 @@ msgstr ""
msgid "dict update sequence has wrong length"
msgstr ""
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/modmath.c py/objint_mpz.c py/objint_longlong.c py/objfloat.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
msgstr ""
@ -1666,7 +1665,7 @@ msgstr ""
msgid "empty"
msgstr ""
#: extmod/moduheapq.c extmod/modutimeq.c
#: extmod/modutimeq.c extmod/moduheapq.c
msgid "empty heap"
msgstr ""
@ -1699,10 +1698,6 @@ msgstr ""
msgid "expected ':' after format specifier"
msgstr ""
#: shared-bindings/gamepad/GamePad.c
msgid "expected a DigitalInOut"
msgstr ""
#: py/obj.c
msgid "expected tuple/list"
msgstr ""
@ -1731,7 +1726,7 @@ msgstr ""
msgid "extra positional arguments given"
msgstr ""
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
msgid "file must be a file opened in byte mode"
msgstr ""
@ -1772,7 +1767,7 @@ msgstr ""
msgid "function expected at most %d arguments, got %d"
msgstr ""
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "function got multiple values for argument '%q'"
msgstr ""
@ -1794,7 +1789,7 @@ msgstr ""
msgid "function missing required positional argument #%d"
msgstr ""
#: py/argcheck.c py/bc.c py/objnamedtuple.c
#: py/argcheck.c py/objnamedtuple.c py/bc.c
#, c-format
msgid "function takes %d positional arguments but %d were given"
msgstr ""
@ -1941,7 +1936,7 @@ msgstr ""
msgid "keywords must be strings"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
msgid "label '%q' not defined"
msgstr ""
@ -2047,11 +2042,11 @@ msgstr ""
msgid "need more than %d values to unpack"
msgstr ""
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
msgid "negative power with no float support"
msgstr ""
#: py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c
msgid "negative shift count"
msgstr ""
@ -2153,11 +2148,11 @@ msgstr ""
msgid "odd-length string"
msgstr ""
#: py/objstr.c py/objstrunicode.c
#: py/objstrunicode.c py/objstr.c
msgid "offset out of bounds"
msgstr ""
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
#: py/objarray.c py/objtuple.c py/objstrunicode.c py/objstr.c
#: shared-bindings/nvm/ByteArray.c
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
@ -2175,7 +2170,7 @@ msgstr ""
msgid "overflow converting long int to machine word"
msgstr ""
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
msgid "palette must be 32 bytes long"
msgstr ""
@ -2307,7 +2302,7 @@ msgstr ""
msgid "slice step cannot be zero"
msgstr ""
#: py/objint.c py/sequence.c
#: py/sequence.c py/objint.c
msgid "small int overflow"
msgstr ""
@ -2408,10 +2403,6 @@ msgstr ""
msgid "timestamp out of range for platform time_t"
msgstr ""
#: shared-bindings/gamepad/GamePad.c
msgid "too many arguments"
msgstr ""
#: shared-module/struct/__init__.c
msgid "too many arguments provided with the given format"
msgstr ""
@ -2469,7 +2460,7 @@ msgstr ""
msgid "unexpected keyword argument"
msgstr ""
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "unexpected keyword argument '%q'"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-12 13:44-0700\n"
"POT-Creation-Date: 2019-04-13 11:50+0200\n"
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
"Last-Translator: Pascal Deneaux\n"
"Language-Team: Sebastian Plamauer, Pascal Deneaux\n"
@ -54,8 +54,8 @@ msgstr "Der Index %q befindet sich außerhalb der Reihung"
msgid "%q indices must be integers, not %s"
msgstr "%q Indizes müssen ganze Zahlen sein, nicht %s"
#: shared-bindings/bleio/CharacteristicBuffer.c
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
#: shared-bindings/bleio/CharacteristicBuffer.c
msgid "%q must be >= 1"
msgstr "%q muss >= 1 sein"
@ -63,7 +63,7 @@ msgstr "%q muss >= 1 sein"
msgid "%q should be an int"
msgstr "%q sollte ein int sein"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "%q() takes %d positional arguments but %d were given"
msgstr "%q() nimmt %d Argumente ohne Keyword an, aber es wurden %d angegeben"
@ -71,12 +71,12 @@ msgstr "%q() nimmt %d Argumente ohne Keyword an, aber es wurden %d angegeben"
msgid "'%q' argument required"
msgstr "'%q' Argument erforderlich"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a label"
msgstr "'%s' erwartet ein Label"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a register"
msgstr "'%s' erwartet ein Register"
@ -96,7 +96,7 @@ msgstr "'%s' erwartet ein FPU-Register"
msgid "'%s' expects an address of the form [a, b]"
msgstr "'%s' erwartet eine Adresse in der Form [a, b]"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects an integer"
msgstr "'%s' erwartet ein Integer"
@ -245,7 +245,7 @@ msgstr "Alle UART-Peripheriegeräte sind in Benutzung"
msgid "All event channels in use"
msgstr "Alle event Kanäle werden benutzt"
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
msgid "All sync event channels in use"
msgstr "Alle sync event Kanäle werden benutzt"
@ -253,9 +253,9 @@ msgstr "Alle sync event Kanäle werden benutzt"
msgid "All timers for this pin are in use"
msgstr "Alle timer für diesen Pin werden bereits benutzt"
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
#: shared-module/_pew/PewPew.c
msgid "All timers in use"
@ -514,9 +514,8 @@ msgstr "EXTINT Kanal ist schon in Benutzung"
msgid "Error in regex"
msgstr "Fehler in regex"
#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
msgid "Expected a %q"
msgstr "Erwartet ein(e) %q"
@ -524,8 +523,8 @@ msgstr "Erwartet ein(e) %q"
msgid "Expected a Characteristic"
msgstr "Characteristic wird erwartet"
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
#: shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Characteristic.c
msgid "Expected a UUID"
msgstr "Eine UUID wird erwartet"
@ -699,8 +698,8 @@ msgstr ""
msgid "Frequency captured is above capability. Capture Paused."
msgstr ""
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
msgid "Function requires lock"
msgstr "Die Funktion erwartet, dass der 'lock'-Befehl zuvor ausgeführt wurde"
@ -808,11 +807,10 @@ msgstr "Ungültiger Pin für linken Kanal"
msgid "Invalid pin for right channel"
msgstr "Ungültiger Pin für rechten Kanal"
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/nrf/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Ungültige Pins"
@ -1080,8 +1078,8 @@ msgstr "Serializer wird benutzt"
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/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr "Slices werden nicht unterstützt"
@ -1344,7 +1342,8 @@ msgstr "arg ist eine leere Sequenz"
msgid "argument has wrong type"
msgstr "Argument hat falschen Typ"
#: py/argcheck.c
#: py/argcheck.c shared-bindings/gamepad/__init__.c
#: shared-bindings/gamepad/GamePad.c
msgid "argument num/types mismatch"
msgstr "Anzahl/Type der Argumente passen nicht"
@ -1656,7 +1655,7 @@ msgstr ""
msgid "complex division by zero"
msgstr ""
#: py/objfloat.c py/parsenum.c
#: py/parsenum.c py/objfloat.c
msgid "complex values not supported"
msgstr ""
@ -1697,7 +1696,7 @@ msgstr ""
msgid "dict update sequence has wrong length"
msgstr ""
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/modmath.c py/objint_mpz.c py/objint_longlong.c py/objfloat.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
msgstr "Division durch Null"
@ -1706,7 +1705,7 @@ msgstr "Division durch Null"
msgid "empty"
msgstr "leer"
#: extmod/moduheapq.c extmod/modutimeq.c
#: extmod/modutimeq.c extmod/moduheapq.c
msgid "empty heap"
msgstr "leerer heap"
@ -1739,10 +1738,6 @@ msgstr "Exceptions müssen von BaseException abgeleitet sein"
msgid "expected ':' after format specifier"
msgstr "erwarte ':' nach format specifier"
#: shared-bindings/gamepad/GamePad.c
msgid "expected a DigitalInOut"
msgstr "erwarte DigitalInOut"
#: py/obj.c
msgid "expected tuple/list"
msgstr "erwarte tuple/list"
@ -1771,7 +1766,7 @@ msgstr "Es wurden zusätzliche Keyword-Argumente angegeben"
msgid "extra positional arguments given"
msgstr "Es wurden zusätzliche Argumente ohne Keyword angegeben"
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
msgid "file must be a file opened in byte mode"
msgstr "Die Datei muss eine im Byte-Modus geöffnete Datei sein"
@ -1812,7 +1807,7 @@ msgstr "Funktion akzeptiert keine Keyword-Argumente"
msgid "function expected at most %d arguments, got %d"
msgstr "Funktion erwartet maximal %d Argumente, aber hat %d erhalten"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "function got multiple values for argument '%q'"
msgstr "Funktion hat mehrere Werte für Argument '%q'"
@ -1834,7 +1829,7 @@ msgstr "Funktion vermisst benötigtes Keyword-Argumente '%q'"
msgid "function missing required positional argument #%d"
msgstr "Funktion vermisst benötigtes Argumente ohne Keyword #%d"
#: py/argcheck.c py/bc.c py/objnamedtuple.c
#: py/argcheck.c py/objnamedtuple.c py/bc.c
#, c-format
msgid "function takes %d positional arguments but %d were given"
msgstr ""
@ -1986,7 +1981,7 @@ msgstr ""
msgid "keywords must be strings"
msgstr "Schlüsselwörter müssen Zeichenfolgen sein"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
msgid "label '%q' not defined"
msgstr "Label '%q' nicht definiert"
@ -2094,11 +2089,11 @@ msgstr ""
msgid "need more than %d values to unpack"
msgstr ""
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
msgid "negative power with no float support"
msgstr ""
#: py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c
msgid "negative shift count"
msgstr ""
@ -2200,11 +2195,11 @@ msgstr "Objekt mit Pufferprotokoll (buffer protocol) erforderlich"
msgid "odd-length string"
msgstr "String mit ungerader Länge"
#: py/objstr.c py/objstrunicode.c
#: py/objstrunicode.c py/objstr.c
msgid "offset out of bounds"
msgstr "offset außerhalb der Grenzen"
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
#: py/objarray.c py/objtuple.c py/objstrunicode.c py/objstr.c
#: shared-bindings/nvm/ByteArray.c
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
@ -2224,7 +2219,7 @@ msgstr ""
msgid "overflow converting long int to machine word"
msgstr ""
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
msgid "palette must be 32 bytes long"
msgstr ""
@ -2358,7 +2353,7 @@ msgstr ""
msgid "slice step cannot be zero"
msgstr ""
#: py/objint.c py/sequence.c
#: py/sequence.c py/objint.c
msgid "small int overflow"
msgstr "small int Überlauf"
@ -2460,10 +2455,6 @@ msgstr "timeout muss >= 0.0 sein"
msgid "timestamp out of range for platform time_t"
msgstr ""
#: shared-bindings/gamepad/GamePad.c
msgid "too many arguments"
msgstr "zu viele Argumente"
#: shared-module/struct/__init__.c
msgid "too many arguments provided with the given format"
msgstr ""
@ -2523,7 +2514,7 @@ msgstr ""
msgid "unexpected keyword argument"
msgstr "unerwartetes Keyword-Argument"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "unexpected keyword argument '%q'"
msgstr "unerwartetes Keyword-Argument '%q'"
@ -2748,6 +2739,9 @@ msgstr ""
#~ msgid "buffer too long"
#~ msgstr "Buffer zu lang"
#~ msgid "expected a DigitalInOut"
#~ msgstr "erwarte DigitalInOut"
#~ msgid "expecting a pin"
#~ msgstr "Ein Pin wird erwartet"
@ -2794,6 +2788,9 @@ msgstr ""
#~ msgid "scan failed"
#~ msgstr "Scan fehlgeschlagen"
#~ msgid "too many arguments"
#~ msgstr "zu viele Argumente"
#~ msgid "unknown status param"
#~ msgstr "Unbekannter Statusparameter"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-12 13:44-0700\n"
"POT-Creation-Date: 2019-04-13 11:50+0200\n"
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -52,8 +52,8 @@ msgstr ""
msgid "%q indices must be integers, not %s"
msgstr ""
#: shared-bindings/bleio/CharacteristicBuffer.c
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
#: shared-bindings/bleio/CharacteristicBuffer.c
msgid "%q must be >= 1"
msgstr ""
@ -61,7 +61,7 @@ msgstr ""
msgid "%q should be an int"
msgstr ""
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "%q() takes %d positional arguments but %d were given"
msgstr ""
@ -69,12 +69,12 @@ msgstr ""
msgid "'%q' argument required"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a register"
msgstr ""
@ -94,7 +94,7 @@ msgstr ""
msgid "'%s' expects an address of the form [a, b]"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects an integer"
msgstr ""
@ -243,7 +243,7 @@ msgstr ""
msgid "All event channels in use"
msgstr ""
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
msgid "All sync event channels in use"
msgstr ""
@ -251,9 +251,9 @@ msgstr ""
msgid "All timers for this pin are in use"
msgstr ""
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
#: shared-module/_pew/PewPew.c
msgid "All timers in use"
@ -510,9 +510,8 @@ msgstr ""
msgid "Error in regex"
msgstr ""
#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
msgid "Expected a %q"
msgstr ""
@ -520,8 +519,8 @@ msgstr ""
msgid "Expected a Characteristic"
msgstr ""
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
#: shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Characteristic.c
msgid "Expected a UUID"
msgstr ""
@ -695,8 +694,8 @@ msgstr ""
msgid "Frequency captured is above capability. Capture Paused."
msgstr ""
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
msgid "Function requires lock"
msgstr ""
@ -802,11 +801,10 @@ msgstr ""
msgid "Invalid pin for right channel"
msgstr ""
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/nrf/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr ""
@ -1063,8 +1061,8 @@ msgstr ""
msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""
@ -1304,7 +1302,8 @@ msgstr ""
msgid "argument has wrong type"
msgstr ""
#: py/argcheck.c
#: py/argcheck.c shared-bindings/gamepad/__init__.c
#: shared-bindings/gamepad/GamePad.c
msgid "argument num/types mismatch"
msgstr ""
@ -1616,7 +1615,7 @@ msgstr ""
msgid "complex division by zero"
msgstr ""
#: py/objfloat.c py/parsenum.c
#: py/parsenum.c py/objfloat.c
msgid "complex values not supported"
msgstr ""
@ -1657,7 +1656,7 @@ msgstr ""
msgid "dict update sequence has wrong length"
msgstr ""
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/modmath.c py/objint_mpz.c py/objint_longlong.c py/objfloat.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
msgstr ""
@ -1666,7 +1665,7 @@ msgstr ""
msgid "empty"
msgstr ""
#: extmod/moduheapq.c extmod/modutimeq.c
#: extmod/modutimeq.c extmod/moduheapq.c
msgid "empty heap"
msgstr ""
@ -1699,10 +1698,6 @@ msgstr ""
msgid "expected ':' after format specifier"
msgstr ""
#: shared-bindings/gamepad/GamePad.c
msgid "expected a DigitalInOut"
msgstr ""
#: py/obj.c
msgid "expected tuple/list"
msgstr ""
@ -1731,7 +1726,7 @@ msgstr ""
msgid "extra positional arguments given"
msgstr ""
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
msgid "file must be a file opened in byte mode"
msgstr ""
@ -1772,7 +1767,7 @@ msgstr ""
msgid "function expected at most %d arguments, got %d"
msgstr ""
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "function got multiple values for argument '%q'"
msgstr ""
@ -1794,7 +1789,7 @@ msgstr ""
msgid "function missing required positional argument #%d"
msgstr ""
#: py/argcheck.c py/bc.c py/objnamedtuple.c
#: py/argcheck.c py/objnamedtuple.c py/bc.c
#, c-format
msgid "function takes %d positional arguments but %d were given"
msgstr ""
@ -1941,7 +1936,7 @@ msgstr ""
msgid "keywords must be strings"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
msgid "label '%q' not defined"
msgstr ""
@ -2047,11 +2042,11 @@ msgstr ""
msgid "need more than %d values to unpack"
msgstr ""
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
msgid "negative power with no float support"
msgstr ""
#: py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c
msgid "negative shift count"
msgstr ""
@ -2153,11 +2148,11 @@ msgstr ""
msgid "odd-length string"
msgstr ""
#: py/objstr.c py/objstrunicode.c
#: py/objstrunicode.c py/objstr.c
msgid "offset out of bounds"
msgstr ""
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
#: py/objarray.c py/objtuple.c py/objstrunicode.c py/objstr.c
#: shared-bindings/nvm/ByteArray.c
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
@ -2175,7 +2170,7 @@ msgstr ""
msgid "overflow converting long int to machine word"
msgstr ""
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
msgid "palette must be 32 bytes long"
msgstr ""
@ -2307,7 +2302,7 @@ msgstr ""
msgid "slice step cannot be zero"
msgstr ""
#: py/objint.c py/sequence.c
#: py/sequence.c py/objint.c
msgid "small int overflow"
msgstr ""
@ -2408,10 +2403,6 @@ msgstr ""
msgid "timestamp out of range for platform time_t"
msgstr ""
#: shared-bindings/gamepad/GamePad.c
msgid "too many arguments"
msgstr ""
#: shared-module/struct/__init__.c
msgid "too many arguments provided with the given format"
msgstr ""
@ -2469,7 +2460,7 @@ msgstr ""
msgid "unexpected keyword argument"
msgstr ""
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "unexpected keyword argument '%q'"
msgstr ""

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-12 13:44-0700\n"
"POT-Creation-Date: 2019-04-13 11:50+0200\n"
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
"Last-Translator: \n"
"Language-Team: @sommersoft, @MrCertainly\n"
@ -54,8 +54,8 @@ msgstr ""
msgid "%q indices must be integers, not %s"
msgstr ""
#: shared-bindings/bleio/CharacteristicBuffer.c
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
#: shared-bindings/bleio/CharacteristicBuffer.c
msgid "%q must be >= 1"
msgstr ""
@ -63,7 +63,7 @@ msgstr ""
msgid "%q should be an int"
msgstr ""
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "%q() takes %d positional arguments but %d were given"
msgstr ""
@ -71,12 +71,12 @@ msgstr ""
msgid "'%q' argument required"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a register"
msgstr ""
@ -96,7 +96,7 @@ msgstr ""
msgid "'%s' expects an address of the form [a, b]"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects an integer"
msgstr ""
@ -245,7 +245,7 @@ msgstr ""
msgid "All event channels in use"
msgstr ""
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
msgid "All sync event channels in use"
msgstr ""
@ -253,9 +253,9 @@ msgstr ""
msgid "All timers for this pin are in use"
msgstr ""
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
#: shared-module/_pew/PewPew.c
msgid "All timers in use"
@ -514,9 +514,8 @@ msgstr "Avast! EXTINT channel already in use"
msgid "Error in regex"
msgstr ""
#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
msgid "Expected a %q"
msgstr ""
@ -524,8 +523,8 @@ msgstr ""
msgid "Expected a Characteristic"
msgstr ""
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
#: shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Characteristic.c
msgid "Expected a UUID"
msgstr ""
@ -699,8 +698,8 @@ msgstr ""
msgid "Frequency captured is above capability. Capture Paused."
msgstr ""
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
msgid "Function requires lock"
msgstr ""
@ -806,11 +805,10 @@ msgstr "Belay that! Invalid pin for port-side channel"
msgid "Invalid pin for right channel"
msgstr "Belay that! Invalid pin for starboard-side channel"
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/nrf/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr ""
@ -1067,8 +1065,8 @@ msgstr ""
msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""
@ -1308,7 +1306,8 @@ msgstr ""
msgid "argument has wrong type"
msgstr ""
#: py/argcheck.c
#: py/argcheck.c shared-bindings/gamepad/__init__.c
#: shared-bindings/gamepad/GamePad.c
msgid "argument num/types mismatch"
msgstr ""
@ -1620,7 +1619,7 @@ msgstr ""
msgid "complex division by zero"
msgstr ""
#: py/objfloat.c py/parsenum.c
#: py/parsenum.c py/objfloat.c
msgid "complex values not supported"
msgstr ""
@ -1661,7 +1660,7 @@ msgstr ""
msgid "dict update sequence has wrong length"
msgstr ""
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/modmath.c py/objint_mpz.c py/objint_longlong.c py/objfloat.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
msgstr ""
@ -1670,7 +1669,7 @@ msgstr ""
msgid "empty"
msgstr ""
#: extmod/moduheapq.c extmod/modutimeq.c
#: extmod/modutimeq.c extmod/moduheapq.c
msgid "empty heap"
msgstr ""
@ -1703,10 +1702,6 @@ msgstr ""
msgid "expected ':' after format specifier"
msgstr ""
#: shared-bindings/gamepad/GamePad.c
msgid "expected a DigitalInOut"
msgstr ""
#: py/obj.c
msgid "expected tuple/list"
msgstr ""
@ -1735,7 +1730,7 @@ msgstr ""
msgid "extra positional arguments given"
msgstr ""
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
msgid "file must be a file opened in byte mode"
msgstr ""
@ -1776,7 +1771,7 @@ msgstr ""
msgid "function expected at most %d arguments, got %d"
msgstr ""
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "function got multiple values for argument '%q'"
msgstr ""
@ -1798,7 +1793,7 @@ msgstr ""
msgid "function missing required positional argument #%d"
msgstr ""
#: py/argcheck.c py/bc.c py/objnamedtuple.c
#: py/argcheck.c py/objnamedtuple.c py/bc.c
#, c-format
msgid "function takes %d positional arguments but %d were given"
msgstr ""
@ -1945,7 +1940,7 @@ msgstr ""
msgid "keywords must be strings"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
msgid "label '%q' not defined"
msgstr ""
@ -2051,11 +2046,11 @@ msgstr ""
msgid "need more than %d values to unpack"
msgstr ""
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
msgid "negative power with no float support"
msgstr ""
#: py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c
msgid "negative shift count"
msgstr ""
@ -2157,11 +2152,11 @@ msgstr ""
msgid "odd-length string"
msgstr ""
#: py/objstr.c py/objstrunicode.c
#: py/objstrunicode.c py/objstr.c
msgid "offset out of bounds"
msgstr ""
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
#: py/objarray.c py/objtuple.c py/objstrunicode.c py/objstr.c
#: shared-bindings/nvm/ByteArray.c
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
@ -2179,7 +2174,7 @@ msgstr ""
msgid "overflow converting long int to machine word"
msgstr ""
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
msgid "palette must be 32 bytes long"
msgstr ""
@ -2311,7 +2306,7 @@ msgstr ""
msgid "slice step cannot be zero"
msgstr ""
#: py/objint.c py/sequence.c
#: py/sequence.c py/objint.c
msgid "small int overflow"
msgstr ""
@ -2412,10 +2407,6 @@ msgstr ""
msgid "timestamp out of range for platform time_t"
msgstr ""
#: shared-bindings/gamepad/GamePad.c
msgid "too many arguments"
msgstr ""
#: shared-module/struct/__init__.c
msgid "too many arguments provided with the given format"
msgstr ""
@ -2473,7 +2464,7 @@ msgstr ""
msgid "unexpected keyword argument"
msgstr ""
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "unexpected keyword argument '%q'"
msgstr ""

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-12 13:44-0700\n"
"POT-Creation-Date: 2019-04-13 11:50+0200\n"
"PO-Revision-Date: 2018-08-24 22:56-0500\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -55,8 +55,8 @@ msgstr "%q indice fuera de rango"
msgid "%q indices must be integers, not %s"
msgstr "%q indices deben ser enteros, no %s"
#: shared-bindings/bleio/CharacteristicBuffer.c
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
#: shared-bindings/bleio/CharacteristicBuffer.c
#, fuzzy
msgid "%q must be >= 1"
msgstr "%q debe ser >= 1"
@ -66,7 +66,7 @@ msgstr "%q debe ser >= 1"
msgid "%q should be an int"
msgstr "%q deberia ser un int"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "%q() takes %d positional arguments but %d were given"
msgstr "%q() toma %d argumentos posicionales pero %d fueron dados"
@ -74,12 +74,12 @@ msgstr "%q() toma %d argumentos posicionales pero %d fueron dados"
msgid "'%q' argument required"
msgstr "argumento '%q' requerido"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a label"
msgstr "'%s' espera una etiqueta"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a register"
msgstr "'%s' espera un registro"
@ -99,7 +99,7 @@ msgstr "'%s' espera un registro de FPU"
msgid "'%s' expects an address of the form [a, b]"
msgstr "'%s' espera una dirección de forma [a, b]"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects an integer"
msgstr "'%s' espera un entero"
@ -250,7 +250,7 @@ msgstr "Todos los timers están siendo usados"
msgid "All event channels in use"
msgstr "Todos los canales de eventos en uso"
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
msgid "All sync event channels in use"
msgstr ""
"Todos los canales de eventos de sincronización(sync event channels) están "
@ -260,9 +260,9 @@ msgstr ""
msgid "All timers for this pin are in use"
msgstr "Todos los timers para este pin están siendo utilizados"
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
#: shared-module/_pew/PewPew.c
msgid "All timers in use"
@ -527,9 +527,8 @@ msgstr "El canal EXTINT ya está siendo utilizado"
msgid "Error in regex"
msgstr "Error en regex"
#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
msgid "Expected a %q"
msgstr "Se espera un %q"
@ -538,8 +537,8 @@ msgstr "Se espera un %q"
msgid "Expected a Characteristic"
msgstr "No se puede agregar la Característica."
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
#: shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Characteristic.c
#, fuzzy
msgid "Expected a UUID"
msgstr "Se espera un %q"
@ -727,8 +726,8 @@ msgstr "Falló el iniciar la escritura de flash, err 0x%04x"
msgid "Frequency captured is above capability. Capture Paused."
msgstr "Frecuencia capturada por encima de la capacidad. Captura en pausa."
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
msgid "Function requires lock"
msgstr "La función requiere lock"
@ -836,11 +835,10 @@ msgstr "Pin inválido para canal izquierdo"
msgid "Invalid pin for right channel"
msgstr "Pin inválido para canal derecho"
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/nrf/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "pines inválidos"
@ -1109,8 +1107,8 @@ msgstr "Serializer está siendo utilizado"
msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""
@ -1367,7 +1365,8 @@ msgstr "argumento es una secuencia vacía"
msgid "argument has wrong type"
msgstr "el argumento tiene un tipo erroneo"
#: py/argcheck.c
#: py/argcheck.c shared-bindings/gamepad/__init__.c
#: shared-bindings/gamepad/GamePad.c
msgid "argument num/types mismatch"
msgstr "argumento número/tipos no coinciden"
@ -1685,7 +1684,7 @@ msgstr "color deberia ser un int"
msgid "complex division by zero"
msgstr "división compleja por cero"
#: py/objfloat.c py/parsenum.c
#: py/parsenum.c py/objfloat.c
msgid "complex values not supported"
msgstr "valores complejos no soportados"
@ -1728,7 +1727,7 @@ msgstr "destination_length debe ser un int >= 0"
msgid "dict update sequence has wrong length"
msgstr "la secuencia de actualizacion del dict tiene una longitud incorrecta"
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/modmath.c py/objint_mpz.c py/objint_longlong.c py/objfloat.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
msgstr "división por cero"
@ -1737,7 +1736,7 @@ msgstr "división por cero"
msgid "empty"
msgstr "vacío"
#: extmod/moduheapq.c extmod/modutimeq.c
#: extmod/modutimeq.c extmod/moduheapq.c
msgid "empty heap"
msgstr "heap vacío"
@ -1771,10 +1770,6 @@ msgstr "las excepciones deben derivar de BaseException"
msgid "expected ':' after format specifier"
msgstr "se espera ':' despues de un especificaro de tipo format"
#: shared-bindings/gamepad/GamePad.c
msgid "expected a DigitalInOut"
msgstr "se espera un DigitalInOut"
#: py/obj.c
msgid "expected tuple/list"
msgstr "tupla/lista esperada"
@ -1803,7 +1798,7 @@ msgstr "argumento(s) por palabra clave adicionales fueron dados"
msgid "extra positional arguments given"
msgstr "argumento posicional adicional dado"
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
msgid "file must be a file opened in byte mode"
msgstr "el archivo deberia ser una archivo abierto en modo byte"
@ -1844,7 +1839,7 @@ msgstr "la función no tiene argumentos por palabra clave"
msgid "function expected at most %d arguments, got %d"
msgstr "la función esperaba minimo %d argumentos, tiene %d"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "function got multiple values for argument '%q'"
msgstr "la función tiene múltiples valores para el argumento '%q'"
@ -1866,7 +1861,7 @@ msgstr "la función requiere del argumento por palabra clave '%q'"
msgid "function missing required positional argument #%d"
msgstr "la función requiere del argumento posicional #%d"
#: py/argcheck.c py/bc.c py/objnamedtuple.c
#: py/argcheck.c py/objnamedtuple.c py/bc.c
#, c-format
msgid "function takes %d positional arguments but %d were given"
msgstr "la función toma %d argumentos posicionales pero le fueron dados %d"
@ -2016,7 +2011,7 @@ msgstr ""
msgid "keywords must be strings"
msgstr "palabras clave deben ser strings"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
msgid "label '%q' not defined"
msgstr "etiqueta '%q' no definida"
@ -2123,11 +2118,11 @@ msgstr ""
msgid "need more than %d values to unpack"
msgstr "necesita más de %d valores para descomprimir"
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
msgid "negative power with no float support"
msgstr "potencia negativa sin float support"
#: py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c
msgid "negative shift count"
msgstr "cuenta negativa de turnos"
@ -2232,12 +2227,12 @@ msgstr "objeto con protocolo de buffer requerido"
msgid "odd-length string"
msgstr "string de longitud impar"
#: py/objstr.c py/objstrunicode.c
#: py/objstrunicode.c py/objstr.c
#, fuzzy
msgid "offset out of bounds"
msgstr "address fuera de límites"
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
#: py/objarray.c py/objtuple.c py/objstrunicode.c py/objstr.c
#: shared-bindings/nvm/ByteArray.c
msgid "only slices with step=1 (aka None) are supported"
msgstr "solo se admiten segmentos con step=1 (alias None)"
@ -2255,7 +2250,7 @@ msgstr "ord() espera un carácter, pero encontró un string de longitud %d"
msgid "overflow converting long int to machine word"
msgstr "desbordamiento convirtiendo long int a palabra de máquina"
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
msgid "palette must be 32 bytes long"
msgstr "palette debe ser 32 bytes de largo"
@ -2391,7 +2386,7 @@ msgstr "la longitud de sleep no puede ser negativa"
msgid "slice step cannot be zero"
msgstr "slice step no puede ser cero"
#: py/objint.c py/sequence.c
#: py/sequence.c py/objint.c
msgid "small int overflow"
msgstr "pequeño int desbordamiento"
@ -2494,10 +2489,6 @@ msgstr "bits debe ser 8"
msgid "timestamp out of range for platform time_t"
msgstr ""
#: shared-bindings/gamepad/GamePad.c
msgid "too many arguments"
msgstr "muchos argumentos"
#: shared-module/struct/__init__.c
msgid "too many arguments provided with the given format"
msgstr "demasiados argumentos provistos con el formato dado"
@ -2555,7 +2546,7 @@ msgstr "sangría inesperada"
msgid "unexpected keyword argument"
msgstr "argumento por palabra clave inesperado"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "unexpected keyword argument '%q'"
msgstr "argumento por palabra clave inesperado '%q'"
@ -2795,6 +2786,9 @@ msgstr "paso cero"
#~ msgid "either pos or kw args are allowed"
#~ msgstr "ya sea pos o kw args son permitidos"
#~ msgid "expected a DigitalInOut"
#~ msgstr "se espera un DigitalInOut"
#~ msgid "expecting a pin"
#~ msgstr "esperando un pin"
@ -2847,6 +2841,9 @@ msgstr "paso cero"
#~ msgid "scan failed"
#~ msgstr "scan ha fallado"
#~ msgid "too many arguments"
#~ msgstr "muchos argumentos"
#~ msgid "unknown config param"
#~ msgstr "parámetro config desconocido"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-12 13:44-0700\n"
"POT-Creation-Date: 2019-04-13 11:50+0200\n"
"PO-Revision-Date: 2018-12-20 22:15-0800\n"
"Last-Translator: Timothy <me@timothygarcia.ca>\n"
"Language-Team: fil\n"
@ -52,8 +52,8 @@ msgstr "%q indeks wala sa sakop"
msgid "%q indices must be integers, not %s"
msgstr "%q indeks ay dapat integers, hindi %s"
#: shared-bindings/bleio/CharacteristicBuffer.c
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
#: shared-bindings/bleio/CharacteristicBuffer.c
#, fuzzy
msgid "%q must be >= 1"
msgstr "aarehas na haba dapat ang buffer slices"
@ -63,7 +63,7 @@ msgstr "aarehas na haba dapat ang buffer slices"
msgid "%q should be an int"
msgstr "y ay dapat int"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "%q() takes %d positional arguments but %d were given"
msgstr ""
"Ang %q() ay kumukuha ng %d positional arguments pero %d lang ang binigay"
@ -72,12 +72,12 @@ msgstr ""
msgid "'%q' argument required"
msgstr "'%q' argument kailangan"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a label"
msgstr "'%s' umaasa ng label"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a register"
msgstr "Inaasahan ng '%s' ang isang rehistro"
@ -97,7 +97,7 @@ msgstr "Inaasahan ng '%s' ang isang FPU register"
msgid "'%s' expects an address of the form [a, b]"
msgstr "Inaasahan ng '%s' ang isang address sa [a, b]"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects an integer"
msgstr "Inaasahan ng '%s' ang isang integer"
@ -247,7 +247,7 @@ msgstr "Lahat ng I2C peripherals ginagamit"
msgid "All event channels in use"
msgstr "Lahat ng event channels ginagamit"
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
msgid "All sync event channels in use"
msgstr "Lahat ng sync event channels ay ginagamit"
@ -255,9 +255,9 @@ msgstr "Lahat ng sync event channels ay ginagamit"
msgid "All timers for this pin are in use"
msgstr "Lahat ng timers para sa pin na ito ay ginagamit"
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
#: shared-module/_pew/PewPew.c
msgid "All timers in use"
@ -523,9 +523,8 @@ msgstr "Ginagamit na ang EXTINT channel"
msgid "Error in regex"
msgstr "May pagkakamali sa REGEX"
#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
msgid "Expected a %q"
msgstr "Umasa ng %q"
@ -534,8 +533,8 @@ msgstr "Umasa ng %q"
msgid "Expected a Characteristic"
msgstr "Hindi mabasa and Characteristic."
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
#: shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Characteristic.c
#, fuzzy
msgid "Expected a UUID"
msgstr "Umasa ng %q"
@ -723,8 +722,8 @@ msgstr ""
msgid "Frequency captured is above capability. Capture Paused."
msgstr ""
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
msgid "Function requires lock"
msgstr "Function nangangailangan ng lock"
@ -832,11 +831,10 @@ msgstr "Mali ang pin para sa kaliwang channel"
msgid "Invalid pin for right channel"
msgstr "Mali ang pin para sa kanang channel"
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/nrf/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Mali ang pins"
@ -1106,8 +1104,8 @@ msgstr "Serializer ginagamit"
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/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr "Hindi suportado ang Slices"
@ -1367,7 +1365,8 @@ msgstr "arg ay walang laman na sequence"
msgid "argument has wrong type"
msgstr "may maling type ang argument"
#: py/argcheck.c
#: py/argcheck.c shared-bindings/gamepad/__init__.c
#: shared-bindings/gamepad/GamePad.c
msgid "argument num/types mismatch"
msgstr "hindi tugma ang argument num/types"
@ -1686,7 +1685,7 @@ msgstr "color ay dapat na int"
msgid "complex division by zero"
msgstr "kumplikadong dibisyon sa pamamagitan ng zero"
#: py/objfloat.c py/parsenum.c
#: py/parsenum.c py/objfloat.c
msgid "complex values not supported"
msgstr "kumplikadong values hindi sinusuportahan"
@ -1731,7 +1730,7 @@ msgstr "ang destination_length ay dapat na isang int >= 0"
msgid "dict update sequence has wrong length"
msgstr "may mali sa haba ng dict update sequence"
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/modmath.c py/objint_mpz.c py/objint_longlong.c py/objfloat.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
msgstr "dibisyon ng zero"
@ -1740,7 +1739,7 @@ msgstr "dibisyon ng zero"
msgid "empty"
msgstr "walang laman"
#: extmod/moduheapq.c extmod/modutimeq.c
#: extmod/modutimeq.c extmod/moduheapq.c
msgid "empty heap"
msgstr "walang laman ang heap"
@ -1774,10 +1773,6 @@ msgstr "ang mga exceptions ay dapat makuha mula sa BaseException"
msgid "expected ':' after format specifier"
msgstr "umaasa ng ':' pagkatapos ng format specifier"
#: shared-bindings/gamepad/GamePad.c
msgid "expected a DigitalInOut"
msgstr "umasa ng DigitalInOut"
#: py/obj.c
msgid "expected tuple/list"
msgstr "umaasa ng tuple/list"
@ -1806,7 +1801,7 @@ msgstr "dagdag na keyword argument na ibinigay"
msgid "extra positional arguments given"
msgstr "dagdag na positional argument na ibinigay"
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
msgid "file must be a file opened in byte mode"
msgstr "file ay dapat buksan sa byte mode"
@ -1847,7 +1842,7 @@ msgstr "ang function ay hindi kumukuha ng mga argumento ng keyword"
msgid "function expected at most %d arguments, got %d"
msgstr "function na inaasahang %d ang argumento, ngunit %d ang nakuha"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "function got multiple values for argument '%q'"
msgstr "ang function ay nakakuha ng maraming values para sa argument '%q'"
@ -1869,7 +1864,7 @@ msgstr "function nangangailangan ng keyword argument '%q'"
msgid "function missing required positional argument #%d"
msgstr "function nangangailangan ng positional argument #%d"
#: py/argcheck.c py/bc.c py/objnamedtuple.c
#: py/argcheck.c py/objnamedtuple.c py/bc.c
#, c-format
msgid "function takes %d positional arguments but %d were given"
msgstr ""
@ -2021,7 +2016,7 @@ msgstr ""
msgid "keywords must be strings"
msgstr "ang keywords dapat strings"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
msgid "label '%q' not defined"
msgstr "label '%d' kailangan na i-define"
@ -2128,11 +2123,11 @@ msgstr "native yield"
msgid "need more than %d values to unpack"
msgstr "kailangan ng higit sa %d na halaga upang i-unpack"
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
msgid "negative power with no float support"
msgstr "negatibong power na walang float support"
#: py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c
msgid "negative shift count"
msgstr "negative shift count"
@ -2234,12 +2229,12 @@ msgstr "object na may buffer protocol kinakailangan"
msgid "odd-length string"
msgstr "odd-length string"
#: py/objstr.c py/objstrunicode.c
#: py/objstrunicode.c py/objstr.c
#, fuzzy
msgid "offset out of bounds"
msgstr "wala sa sakop ang address"
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
#: py/objarray.c py/objtuple.c py/objstrunicode.c py/objstr.c
#: shared-bindings/nvm/ByteArray.c
msgid "only slices with step=1 (aka None) are supported"
msgstr "ang mga slices lamang na may hakbang = 1 (aka None) ang sinusuportahan"
@ -2257,7 +2252,7 @@ msgstr "ord() umaasa ng character pero string ng %d haba ang nakita"
msgid "overflow converting long int to machine word"
msgstr "overflow nagcoconvert ng long int sa machine word"
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
msgid "palette must be 32 bytes long"
msgstr "ang palette ay dapat 32 bytes ang haba"
@ -2393,7 +2388,7 @@ msgstr "sleep length ay dapat hindi negatibo"
msgid "slice step cannot be zero"
msgstr "slice step ay hindi puedeng 0"
#: py/objint.c py/sequence.c
#: py/sequence.c py/objint.c
msgid "small int overflow"
msgstr "small int overflow"
@ -2496,10 +2491,6 @@ msgstr "bits ay dapat walo (8)"
msgid "timestamp out of range for platform time_t"
msgstr "wala sa sakop ng timestamp ang platform time_t"
#: shared-bindings/gamepad/GamePad.c
msgid "too many arguments"
msgstr "masyadong maraming argumento"
#: shared-module/struct/__init__.c
msgid "too many arguments provided with the given format"
msgstr "masyadong maraming mga argumento na ibinigay sa ibinigay na format"
@ -2557,7 +2548,7 @@ msgstr "hindi inaasahang indent"
msgid "unexpected keyword argument"
msgstr "hindi inaasahang argumento ng keyword"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "unexpected keyword argument '%q'"
msgstr "hindi inaasahang argumento ng keyword na '%q'"
@ -2801,6 +2792,9 @@ msgstr "zero step"
#~ msgid "either pos or kw args are allowed"
#~ msgstr "pos o kw args ang pinahihintulutan"
#~ msgid "expected a DigitalInOut"
#~ msgstr "umasa ng DigitalInOut"
#~ msgid "expecting a pin"
#~ msgstr "umaasa ng isang pin"
@ -2853,6 +2847,9 @@ msgstr "zero step"
#~ msgid "scan failed"
#~ msgstr "nabigo ang pag-scan"
#~ msgid "too many arguments"
#~ msgstr "masyadong maraming argumento"
#~ msgid "unknown config param"
#~ msgstr "hindi alam na config param"

View File

@ -54,8 +54,8 @@ msgstr "index %q hors gamme"
msgid "%q indices must be integers, not %s"
msgstr "les indices %q doivent être des entiers, pas %s"
#: shared-bindings/bleio/CharacteristicBuffer.c
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
#: shared-bindings/bleio/CharacteristicBuffer.c
#, fuzzy
msgid "%q must be >= 1"
msgstr "%d doit être >=1"
@ -65,7 +65,7 @@ msgstr "%d doit être >=1"
msgid "%q should be an int"
msgstr "y doit être un entier (int)"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "%q() takes %d positional arguments but %d were given"
msgstr "%q() prend %d arguments positionnels mais %d ont été donnés"
@ -73,12 +73,12 @@ msgstr "%q() prend %d arguments positionnels mais %d ont été donnés"
msgid "'%q' argument required"
msgstr "'%q' argument requis"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a label"
msgstr "'%s' attend un label"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a register"
msgstr "'%s' attend un registre"
@ -98,7 +98,7 @@ msgstr "'%s' attend un registre FPU"
msgid "'%s' expects an address of the form [a, b]"
msgstr "'%s' attend une adresse de la forme [a, b]"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects an integer"
msgstr "'%s' attend un entier"
@ -250,7 +250,7 @@ msgstr "Tous les périphériques I2C sont utilisés"
msgid "All event channels in use"
msgstr "Tous les canaux d'événements sont utilisés"
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
msgid "All sync event channels in use"
msgstr "Tous les canaux d'événements de synchro sont utilisés"
@ -258,9 +258,9 @@ msgstr "Tous les canaux d'événements de synchro sont utilisés"
msgid "All timers for this pin are in use"
msgstr "Tous les timers pour cette broche sont utilisés"
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
#: shared-module/_pew/PewPew.c
msgid "All timers in use"
@ -523,9 +523,8 @@ msgstr "Canal EXTINT déjà utilisé"
msgid "Error in regex"
msgstr "Erreur dans l'expression régulière"
#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
msgid "Expected a %q"
msgstr "Attendu un %q"
@ -534,8 +533,8 @@ msgstr "Attendu un %q"
msgid "Expected a Characteristic"
msgstr "Une 'Characteristic' est attendue"
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
#: shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Characteristic.c
#, fuzzy
msgid "Expected a UUID"
msgstr "Un UUID est attendu"
@ -723,8 +722,8 @@ msgstr "Echec du démarrage de l'écriture de la flash, err 0x%04x"
msgid "Frequency captured is above capability. Capture Paused."
msgstr "La fréquence capturée est au delà des capacités. Capture en pause."
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
msgid "Function requires lock"
msgstr "La fonction nécessite un verrou"
@ -835,11 +834,10 @@ msgstr "Broche invalide pour le canal gauche"
msgid "Invalid pin for right channel"
msgstr "Broche invalide pour le canal droit"
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/nrf/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Broches invalides"
@ -1118,8 +1116,8 @@ msgstr "Sérialiseur en cours d'utilisation"
msgid "Slice and value different lengths."
msgstr "Tranche et valeur de tailles différentes"
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr "Tranches non supportées"
@ -1381,7 +1379,8 @@ msgstr "l'argument est une séquence vide"
msgid "argument has wrong type"
msgstr "l'argument est d'un mauvais type"
#: py/argcheck.c
#: py/argcheck.c shared-bindings/gamepad/__init__.c
#: shared-bindings/gamepad/GamePad.c
msgid "argument num/types mismatch"
msgstr "argument num/types ne correspond pas"
@ -1706,7 +1705,7 @@ msgstr "la couleur doit être un entier 'int'"
msgid "complex division by zero"
msgstr "division complexe par zéro"
#: py/objfloat.c py/parsenum.c
#: py/parsenum.c py/objfloat.c
msgid "complex values not supported"
msgstr "valeurs complexes non supportées"
@ -1748,7 +1747,7 @@ msgstr "destination_length doit être un entier >= 0"
msgid "dict update sequence has wrong length"
msgstr "la séquence de mise à jour de dict a une mauvaise longueur"
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/modmath.c py/objint_mpz.c py/objint_longlong.c py/objfloat.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
msgstr "division par zéro"
@ -1757,7 +1756,7 @@ msgstr "division par zéro"
msgid "empty"
msgstr "vide"
#: extmod/moduheapq.c extmod/modutimeq.c
#: extmod/modutimeq.c extmod/moduheapq.c
msgid "empty heap"
msgstr "tas vide"
@ -1791,10 +1790,6 @@ msgstr "les exceptions doivent dériver de 'BaseException'"
msgid "expected ':' after format specifier"
msgstr "':' attendu après la spécification de format"
#: shared-bindings/gamepad/GamePad.c
msgid "expected a DigitalInOut"
msgstr "objet DigitalInOut attendu"
#: py/obj.c
msgid "expected tuple/list"
msgstr "un tuple ou une liste est attendu"
@ -1823,7 +1818,7 @@ msgstr "argument(s) nommé(s) supplémentaire(s) donné(s)"
msgid "extra positional arguments given"
msgstr "argument(s) positionnel(s) supplémentaire(s) donné(s)"
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
msgid "file must be a file opened in byte mode"
msgstr "le fichier doit être un fichier ouvert en mode 'byte'"
@ -1864,7 +1859,7 @@ msgstr "la fonction ne prend pas d'arguments nommés"
msgid "function expected at most %d arguments, got %d"
msgstr "la fonction attendait au plus %d arguments, reçu %d"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "function got multiple values for argument '%q'"
msgstr "la fonction a reçu plusieurs valeurs pour l'argument '%q'"
@ -1886,7 +1881,7 @@ msgstr "il manque l'argument nommé obligatoire '%q'"
msgid "function missing required positional argument #%d"
msgstr "il manque l'argument positionnel obligatoire #%d"
#: py/argcheck.c py/bc.c py/objnamedtuple.c
#: py/argcheck.c py/objnamedtuple.c py/bc.c
#, c-format
msgid "function takes %d positional arguments but %d were given"
msgstr "la fonction prend %d argument(s) positionnels mais %d ont été donné(s)"
@ -2033,7 +2028,7 @@ msgstr "argument(s) nommé(s) pas encore implémenté(s) - utilisez les argument
msgid "keywords must be strings"
msgstr "les noms doivent être des chaînes de caractères"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
msgid "label '%q' not defined"
msgstr "label '%q' non supporté"
@ -2140,11 +2135,11 @@ msgstr ""
msgid "need more than %d values to unpack"
msgstr "nécessite plus de %d valeurs à dégrouper"
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
msgid "negative power with no float support"
msgstr "puissance négative sans support des nombres à virgule flottante"
#: py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c
msgid "negative shift count"
msgstr "compte de décalage négatif"
@ -2247,12 +2242,12 @@ msgstr "un objet avec un protocole de tampon est nécessaire"
msgid "odd-length string"
msgstr "chaîne de longueur impaire"
#: py/objstr.c py/objstrunicode.c
#: py/objstrunicode.c py/objstr.c
#, fuzzy
msgid "offset out of bounds"
msgstr "adresse hors limites"
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
#: py/objarray.c py/objtuple.c py/objstrunicode.c py/objstr.c
#: shared-bindings/nvm/ByteArray.c
msgid "only slices with step=1 (aka None) are supported"
msgstr "seules les tranches avec 'step=1' (cad None) sont supportées"
@ -2270,7 +2265,7 @@ msgstr "ord() attend un caractère mais une chaîne de caractère de longueur %d
msgid "overflow converting long int to machine word"
msgstr "dépassement de capacité en convertissant un entier long en mot machine"
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
msgid "palette must be 32 bytes long"
msgstr "la palette doit être longue de 32 octets"
@ -2408,7 +2403,7 @@ msgstr "la longueur de sleep ne doit pas être négative"
msgid "slice step cannot be zero"
msgstr "le pas 'step' de la tranche ne peut être zéro"
#: py/objint.c py/sequence.c
#: py/sequence.c py/objint.c
msgid "small int overflow"
msgstr "dépassement de capacité d'un entier court"
@ -2511,10 +2506,6 @@ msgstr "'timeout' doit être >=0.0"
msgid "timestamp out of range for platform time_t"
msgstr "'timestamp' hors bornes pour 'time_t' de la plateforme"
#: shared-bindings/gamepad/GamePad.c
msgid "too many arguments"
msgstr "trop d'arguments"
#: shared-module/struct/__init__.c
msgid "too many arguments provided with the given format"
msgstr "trop d'arguments fournis avec ce format"
@ -2572,7 +2563,7 @@ msgstr "indentation inattendue"
msgid "unexpected keyword argument"
msgstr "argument nommé inattendu"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "unexpected keyword argument '%q'"
msgstr "argument nommé '%q' inattendu"
@ -2811,6 +2802,9 @@ msgstr "'step' nul"
#~ msgid "either pos or kw args are allowed"
#~ msgstr "soit 'pos', soit 'kw' est permis en argument"
#~ msgid "expected a DigitalInOut"
#~ msgstr "objet DigitalInOut attendu"
#~ msgid "expecting a pin"
#~ msgstr "une broche (Pin) est attendue"
@ -2858,6 +2852,9 @@ msgstr "'step' nul"
#~ msgid "scan failed"
#~ msgstr "échec du scan"
#~ msgid "too many arguments"
#~ msgstr "trop d'arguments"
#~ msgid "unknown config param"
#~ msgstr "paramètre de config. inconnu"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-12 13:44-0700\n"
"POT-Creation-Date: 2019-04-13 11:50+0200\n"
"PO-Revision-Date: 2018-10-02 16:27+0200\n"
"Last-Translator: Enrico Paganin <enrico.paganin@mail.com>\n"
"Language-Team: \n"
@ -52,8 +52,8 @@ msgstr "indice %q fuori intervallo"
msgid "%q indices must be integers, not %s"
msgstr "gli indici %q devono essere interi, non %s"
#: shared-bindings/bleio/CharacteristicBuffer.c
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
#: shared-bindings/bleio/CharacteristicBuffer.c
#, fuzzy
msgid "%q must be >= 1"
msgstr "slice del buffer devono essere della stessa lunghezza"
@ -63,7 +63,7 @@ msgstr "slice del buffer devono essere della stessa lunghezza"
msgid "%q should be an int"
msgstr "y dovrebbe essere un int"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "%q() takes %d positional arguments but %d were given"
msgstr "%q() prende %d argomenti posizionali ma ne sono stati forniti %d"
@ -71,12 +71,12 @@ msgstr "%q() prende %d argomenti posizionali ma ne sono stati forniti %d"
msgid "'%q' argument required"
msgstr "'%q' argomento richiesto"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a label"
msgstr "'%s' aspetta una etichetta"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a register"
msgstr "'%s' aspetta un registro"
@ -96,7 +96,7 @@ msgstr "'%s' aspetta un registro"
msgid "'%s' expects an address of the form [a, b]"
msgstr "'%s' aspetta un registro"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects an integer"
msgstr "'%s' aspetta un intero"
@ -246,7 +246,7 @@ msgstr "Tutte le periferiche I2C sono in uso"
msgid "All event channels in use"
msgstr "Tutti i canali eventi utilizati"
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
msgid "All sync event channels in use"
msgstr "Tutti i canali di eventi sincronizzati in uso"
@ -254,9 +254,9 @@ msgstr "Tutti i canali di eventi sincronizzati in uso"
msgid "All timers for this pin are in use"
msgstr "Tutti i timer per questo pin sono in uso"
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
#: shared-module/_pew/PewPew.c
msgid "All timers in use"
@ -523,9 +523,8 @@ msgstr "Canale EXTINT già in uso"
msgid "Error in regex"
msgstr "Errore nella regex"
#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
msgid "Expected a %q"
msgstr "Atteso un %q"
@ -534,8 +533,8 @@ msgstr "Atteso un %q"
msgid "Expected a Characteristic"
msgstr "Non è possibile aggiungere Characteristic."
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
#: shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Characteristic.c
#, fuzzy
msgid "Expected a UUID"
msgstr "Atteso un %q"
@ -722,8 +721,8 @@ msgstr ""
msgid "Frequency captured is above capability. Capture Paused."
msgstr ""
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
msgid "Function requires lock"
msgstr ""
@ -833,11 +832,10 @@ msgstr "Pin non valido per il canale sinistro"
msgid "Invalid pin for right channel"
msgstr "Pin non valido per il canale destro"
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/nrf/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Pin non validi"
@ -1112,8 +1110,8 @@ msgstr "Serializer in uso"
msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr "Slice non supportate"
@ -1361,7 +1359,8 @@ msgstr "l'argomento è una sequenza vuota"
msgid "argument has wrong type"
msgstr "il tipo dell'argomento è errato"
#: py/argcheck.c
#: py/argcheck.c shared-bindings/gamepad/__init__.c
#: shared-bindings/gamepad/GamePad.c
msgid "argument num/types mismatch"
msgstr "discrepanza di numero/tipo di argomenti"
@ -1679,7 +1678,7 @@ msgstr "il colore deve essere un int"
msgid "complex division by zero"
msgstr "complex divisione per zero"
#: py/objfloat.c py/parsenum.c
#: py/parsenum.c py/objfloat.c
msgid "complex values not supported"
msgstr "valori complessi non supportai"
@ -1723,7 +1722,7 @@ msgstr "destination_length deve essere un int >= 0"
msgid "dict update sequence has wrong length"
msgstr "sequanza di aggiornamento del dizionario ha la lunghezza errata"
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/modmath.c py/objint_mpz.c py/objint_longlong.c py/objfloat.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
msgstr "divisione per zero"
@ -1732,7 +1731,7 @@ msgstr "divisione per zero"
msgid "empty"
msgstr "vuoto"
#: extmod/moduheapq.c extmod/modutimeq.c
#: extmod/modutimeq.c extmod/moduheapq.c
msgid "empty heap"
msgstr "heap vuoto"
@ -1766,10 +1765,6 @@ msgstr "le eccezioni devono derivare da BaseException"
msgid "expected ':' after format specifier"
msgstr "':' atteso dopo lo specificatore di formato"
#: shared-bindings/gamepad/GamePad.c
msgid "expected a DigitalInOut"
msgstr "DigitalInOut atteso"
#: py/obj.c
msgid "expected tuple/list"
msgstr "lista/tupla prevista"
@ -1798,7 +1793,7 @@ msgstr "argomento nominato aggiuntivo fornito"
msgid "extra positional arguments given"
msgstr "argomenti posizonali extra dati"
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
msgid "file must be a file opened in byte mode"
msgstr ""
@ -1839,7 +1834,7 @@ msgstr "la funzione non prende argomenti nominati"
msgid "function expected at most %d arguments, got %d"
msgstr "la funzione prevede al massimo %d argmoneti, ma ne ha ricevuti %d"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "function got multiple values for argument '%q'"
msgstr "la funzione ha ricevuto valori multipli per l'argomento '%q'"
@ -1861,7 +1856,7 @@ msgstr "argomento nominato '%q' mancante alla funzione"
msgid "function missing required positional argument #%d"
msgstr "mancante il #%d argomento posizonale obbligatorio della funzione"
#: py/argcheck.c py/bc.c py/objnamedtuple.c
#: py/argcheck.c py/objnamedtuple.c py/bc.c
#, c-format
msgid "function takes %d positional arguments but %d were given"
msgstr ""
@ -2014,7 +2009,7 @@ msgstr ""
msgid "keywords must be strings"
msgstr "argomenti nominati devono essere stringhe"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
msgid "label '%q' not defined"
msgstr "etichetta '%q' non definita"
@ -2121,11 +2116,11 @@ msgstr "yield nativo"
msgid "need more than %d values to unpack"
msgstr "necessari più di %d valori da scompattare"
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
msgid "negative power with no float support"
msgstr "potenza negativa senza supporto per float"
#: py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c
msgid "negative shift count"
msgstr ""
@ -2230,12 +2225,12 @@ msgstr ""
msgid "odd-length string"
msgstr "stringa di lunghezza dispari"
#: py/objstr.c py/objstrunicode.c
#: py/objstrunicode.c py/objstr.c
#, fuzzy
msgid "offset out of bounds"
msgstr "indirizzo fuori limite"
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
#: py/objarray.c py/objtuple.c py/objstrunicode.c py/objstr.c
#: shared-bindings/nvm/ByteArray.c
msgid "only slices with step=1 (aka None) are supported"
msgstr "solo slice con step=1 (aka None) sono supportate"
@ -2254,7 +2249,7 @@ msgstr ""
msgid "overflow converting long int to machine word"
msgstr "overflow convertendo long int in parola"
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
msgid "palette must be 32 bytes long"
msgstr "la palette deve essere lunga 32 byte"
@ -2391,7 +2386,7 @@ msgstr "la lunghezza di sleed deve essere non negativa"
msgid "slice step cannot be zero"
msgstr "la step della slice non può essere zero"
#: py/objint.c py/sequence.c
#: py/sequence.c py/objint.c
msgid "small int overflow"
msgstr "small int overflow"
@ -2494,10 +2489,6 @@ msgstr "i bit devono essere 8"
msgid "timestamp out of range for platform time_t"
msgstr "timestamp è fuori intervallo per il time_t della piattaforma"
#: shared-bindings/gamepad/GamePad.c
msgid "too many arguments"
msgstr "troppi argomenti"
#: shared-module/struct/__init__.c
msgid "too many arguments provided with the given format"
msgstr "troppi argomenti forniti con il formato specificato"
@ -2555,7 +2546,7 @@ msgstr "indentazione inaspettata"
msgid "unexpected keyword argument"
msgstr "argomento nominato inaspettato"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "unexpected keyword argument '%q'"
msgstr "argomento nominato '%q' inaspettato"
@ -2793,6 +2784,9 @@ msgstr "zero step"
#~ msgid "either pos or kw args are allowed"
#~ msgstr "sono permesse solo gli argomenti pos o kw"
#~ msgid "expected a DigitalInOut"
#~ msgstr "DigitalInOut atteso"
#~ msgid "expecting a pin"
#~ msgstr "pin atteso"
@ -2845,6 +2839,9 @@ msgstr "zero step"
#~ msgid "scan failed"
#~ msgstr "scansione fallita"
#~ msgid "too many arguments"
#~ msgstr "troppi argomenti"
#~ msgid "unknown config param"
#~ msgstr "parametro di configurazione sconosciuto"

File diff suppressed because it is too large Load Diff

View File

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-04-12 13:44-0700\n"
"POT-Creation-Date: 2019-04-13 11:50+0200\n"
"PO-Revision-Date: 2018-10-02 21:14-0000\n"
"Last-Translator: \n"
"Language-Team: \n"
@ -52,8 +52,8 @@ msgstr ""
msgid "%q indices must be integers, not %s"
msgstr ""
#: shared-bindings/bleio/CharacteristicBuffer.c
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
#: shared-bindings/bleio/CharacteristicBuffer.c
#, fuzzy
msgid "%q must be >= 1"
msgstr "buffers devem ser o mesmo tamanho"
@ -63,7 +63,7 @@ msgstr "buffers devem ser o mesmo tamanho"
msgid "%q should be an int"
msgstr "y deve ser um int"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "%q() takes %d positional arguments but %d were given"
msgstr ""
@ -71,12 +71,12 @@ msgstr ""
msgid "'%q' argument required"
msgstr "'%q' argumento(s) requerido(s)"
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects a register"
msgstr ""
@ -96,7 +96,7 @@ msgstr ""
msgid "'%s' expects an address of the form [a, b]"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
#, c-format
msgid "'%s' expects an integer"
msgstr ""
@ -246,7 +246,7 @@ msgstr "Todos os periféricos I2C estão em uso"
msgid "All event channels in use"
msgstr "Todos os canais de eventos em uso"
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
msgid "All sync event channels in use"
msgstr ""
@ -254,9 +254,9 @@ msgstr ""
msgid "All timers for this pin are in use"
msgstr "Todos os temporizadores para este pino estão em uso"
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
#: shared-module/_pew/PewPew.c
msgid "All timers in use"
@ -518,9 +518,8 @@ msgstr "Canal EXTINT em uso"
msgid "Error in regex"
msgstr "Erro no regex"
#: shared-bindings/microcontroller/Pin.c
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
#: shared-bindings/terminalio/Terminal.c
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
msgid "Expected a %q"
msgstr "Esperado um"
@ -529,8 +528,8 @@ msgstr "Esperado um"
msgid "Expected a Characteristic"
msgstr "Não é possível adicionar Característica."
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
#: shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
#: shared-bindings/bleio/Characteristic.c
#, fuzzy
msgid "Expected a UUID"
msgstr "Esperado um"
@ -715,8 +714,8 @@ msgstr ""
msgid "Frequency captured is above capability. Capture Paused."
msgstr ""
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
msgid "Function requires lock"
msgstr ""
@ -824,11 +823,10 @@ msgstr "Pino inválido para canal esquerdo"
msgid "Invalid pin for right channel"
msgstr "Pino inválido para canal direito"
#: ports/atmel-samd/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
#: ports/nrf/common-hal/busio/I2C.c
#: ports/atmel-samd/common-hal/busio/UART.c
#: ports/atmel-samd/common-hal/busio/SPI.c
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
msgid "Invalid pins"
msgstr "Pinos inválidos"
@ -1091,8 +1089,8 @@ msgstr "Serializer em uso"
msgid "Slice and value different lengths."
msgstr ""
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
msgid "Slices not supported"
msgstr ""
@ -1333,7 +1331,8 @@ msgstr ""
msgid "argument has wrong type"
msgstr "argumento tem tipo errado"
#: py/argcheck.c
#: py/argcheck.c shared-bindings/gamepad/__init__.c
#: shared-bindings/gamepad/GamePad.c
msgid "argument num/types mismatch"
msgstr ""
@ -1648,7 +1647,7 @@ msgstr "cor deve ser um int"
msgid "complex division by zero"
msgstr ""
#: py/objfloat.c py/parsenum.c
#: py/parsenum.c py/objfloat.c
msgid "complex values not supported"
msgstr ""
@ -1689,7 +1688,7 @@ msgstr "destination_length deve ser um int >= 0"
msgid "dict update sequence has wrong length"
msgstr ""
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/modmath.c py/objint_mpz.c py/objint_longlong.c py/objfloat.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
msgstr "divisão por zero"
@ -1698,7 +1697,7 @@ msgstr "divisão por zero"
msgid "empty"
msgstr "vazio"
#: extmod/moduheapq.c extmod/modutimeq.c
#: extmod/modutimeq.c extmod/moduheapq.c
msgid "empty heap"
msgstr "heap vazia"
@ -1732,10 +1731,6 @@ msgstr ""
msgid "expected ':' after format specifier"
msgstr ""
#: shared-bindings/gamepad/GamePad.c
msgid "expected a DigitalInOut"
msgstr ""
#: py/obj.c
msgid "expected tuple/list"
msgstr ""
@ -1764,7 +1759,7 @@ msgstr "argumentos extras de palavras-chave passados"
msgid "extra positional arguments given"
msgstr "argumentos extra posicionais passados"
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
msgid "file must be a file opened in byte mode"
msgstr ""
@ -1805,7 +1800,7 @@ msgstr "função não aceita argumentos de palavras-chave"
msgid "function expected at most %d arguments, got %d"
msgstr "função esperada na maioria dos %d argumentos, obteve %d"
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "function got multiple values for argument '%q'"
msgstr ""
@ -1827,7 +1822,7 @@ msgstr ""
msgid "function missing required positional argument #%d"
msgstr ""
#: py/argcheck.c py/bc.c py/objnamedtuple.c
#: py/argcheck.c py/objnamedtuple.c py/bc.c
#, c-format
msgid "function takes %d positional arguments but %d were given"
msgstr "função leva %d argumentos posicionais, mas apenas %d foram passadas"
@ -1974,7 +1969,7 @@ msgstr ""
msgid "keywords must be strings"
msgstr ""
#: py/emitinlinethumb.c py/emitinlinextensa.c
#: py/emitinlinextensa.c py/emitinlinethumb.c
msgid "label '%q' not defined"
msgstr ""
@ -2081,11 +2076,11 @@ msgstr ""
msgid "need more than %d values to unpack"
msgstr "precisa de mais de %d valores para desempacotar"
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
msgid "negative power with no float support"
msgstr ""
#: py/objint_mpz.c py/runtime.c
#: py/runtime.c py/objint_mpz.c
msgid "negative shift count"
msgstr ""
@ -2187,11 +2182,11 @@ msgstr ""
msgid "odd-length string"
msgstr ""
#: py/objstr.c py/objstrunicode.c
#: py/objstrunicode.c py/objstr.c
msgid "offset out of bounds"
msgstr ""
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
#: py/objarray.c py/objtuple.c py/objstrunicode.c py/objstr.c
#: shared-bindings/nvm/ByteArray.c
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
@ -2209,7 +2204,7 @@ msgstr ""
msgid "overflow converting long int to machine word"
msgstr ""
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
msgid "palette must be 32 bytes long"
msgstr ""
@ -2342,7 +2337,7 @@ msgstr ""
msgid "slice step cannot be zero"
msgstr ""
#: py/objint.c py/sequence.c
#: py/sequence.c py/objint.c
msgid "small int overflow"
msgstr ""
@ -2445,10 +2440,6 @@ msgstr "bits devem ser 8"
msgid "timestamp out of range for platform time_t"
msgstr "timestamp fora do intervalo para a plataforma time_t"
#: shared-bindings/gamepad/GamePad.c
msgid "too many arguments"
msgstr "muitos argumentos"
#: shared-module/struct/__init__.c
msgid "too many arguments provided with the given format"
msgstr "Muitos argumentos fornecidos com o formato dado"
@ -2506,7 +2497,7 @@ msgstr ""
msgid "unexpected keyword argument"
msgstr ""
#: py/bc.c py/objnamedtuple.c
#: py/objnamedtuple.c py/bc.c
msgid "unexpected keyword argument '%q'"
msgstr ""
@ -2785,6 +2776,9 @@ msgstr "passo zero"
#~ msgid "scan failed"
#~ msgstr "varredura falhou"
#~ msgid "too many arguments"
#~ msgstr "muitos argumentos"
#~ msgid "unknown config param"
#~ msgstr "parâmetro configuração desconhecido"

View File

@ -20,6 +20,8 @@ CHIP_FAMILY = samd21
CFLAGS_INLINE_LIMIT = 50
CIRCUITPY_GAMEPAD = 0
# Include these Python libraries in firmware.
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_BusDevice
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Crickit

View File

@ -14,6 +14,8 @@ CIRCUITPY_AUDIOBUSIO = 0
# No touch on SAMD51 yet
CIRCUITPY_TOUCHIO = 0
CIRCUITPY_GAMEPADSHIFT = 1
CHIP_VARIANT = SAMD51J19A
CHIP_FAMILY = samd51

View File

@ -71,6 +71,9 @@
#if CIRCUITPY_GAMEPAD
#include "shared-module/gamepad/__init__.h"
#endif
#if CIRCUITPY_GAMEPADSHIFT
#include "shared-module/gamepadshift/__init__.h"
#endif
#include "shared-module/_pew/PewPew.h"
extern volatile bool mp_msc_enabled;
@ -229,6 +232,9 @@ void reset_port(void) {
#if CIRCUITPY_GAMEPAD
gamepad_reset();
#endif
#if CIRCUITPY_GAMEPADSHIFT
gamepadshift_reset();
#endif
#if CIRCUITPY_PEW
pew_reset();
#endif

View File

@ -29,10 +29,16 @@
#include "peripheral_clk_config.h"
#include "supervisor/shared/autoreload.h"
#include "shared-module/gamepad/__init__.h"
#include "shared-bindings/microcontroller/__init__.h"
#include "shared-bindings/microcontroller/Processor.h"
#if CIRCUITPY_GAMEPAD
#include "shared-module/gamepad/__init__.h"
#endif
#if CIRCUITPY_GAMEPADSHIFT
#include "shared-module/gamepadshift/__init__.h"
#endif
// Global millisecond tick count
volatile uint64_t ticks_ms = 0;
@ -51,7 +57,12 @@ void SysTick_Handler(void) {
#endif
#ifdef CIRCUITPY_GAMEPAD_TICKS
if (!(ticks_ms & CIRCUITPY_GAMEPAD_TICKS)) {
#if CIRCUITPY_GAMEPAD
gamepad_tick();
#endif
#if CIRCUITPY_GAMEPADSHIFT
gamepadshift_tick();
#endif
}
#endif
}

View File

@ -132,6 +132,9 @@ endif
ifeq ($(CIRCUITPY_GAMEPAD),1)
SRC_PATTERNS += gamepad/%
endif
ifeq ($(CIRCUITPY_GAMEPADSHIFT),1)
SRC_PATTERNS += gamepadshift/%
endif
ifeq ($(CIRCUITPY_I2CSLAVE),1)
SRC_PATTERNS += i2cslave/%
endif
@ -318,6 +321,8 @@ $(filter $(SRC_PATTERNS), \
fontio/__init__.c \
gamepad/GamePad.c \
gamepad/__init__.c \
gamepadshift/GamePadShift.c \
gamepadshift/__init__.c \
os/__init__.c \
random/__init__.c \
socket/__init__.c \

View File

@ -315,13 +315,26 @@ extern const struct _mp_obj_module_t frequencyio_module;
#if CIRCUITPY_GAMEPAD
extern const struct _mp_obj_module_t gamepad_module;
// Scan gamepad every 32ms
#define CIRCUITPY_GAMEPAD_TICKS 0x1f
#define GAMEPAD_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_gamepad),(mp_obj_t)&gamepad_module },
#else
#define GAMEPAD_MODULE
#endif
#if CIRCUITPY_GAMEPADSHIFT
extern const struct _mp_obj_module_t gamepadshift_module;
#define GAMEPADSHIFT_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_gamepadshift),(mp_obj_t)&gamepadshift_module },
#else
#define GAMEPADSHIFT_MODULE
#endif
#if CIRCUITPY_GAMEPAD || CIRCUITPY_GAMEPADSHIFT
// Scan gamepad every 32ms
#define CIRCUITPY_GAMEPAD_TICKS 0x1f
#define GAMEPAD_ROOT_POINTERS mp_obj_t gamepad_singleton;
#else
#define GAMEPAD_ROOT_POINTERS
#endif
#if CIRCUITPY_I2CSLAVE
extern const struct _mp_obj_module_t i2cslave_module;
#define I2CSLAVE_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR_i2cslave), (mp_obj_t)&i2cslave_module },
@ -554,6 +567,7 @@ extern const struct _mp_obj_module_t ustack_module;
ERRNO_MODULE \
FREQUENCYIO_MODULE \
GAMEPAD_MODULE \
GAMEPADSHIFT_MODULE \
I2CSLAVE_MODULE \
JSON_MODULE \
MATH_MODULE \
@ -604,7 +618,7 @@ extern const struct _mp_obj_module_t ustack_module;
const char *readline_hist[8]; \
vstr_t *repl_line; \
mp_obj_t rtc_time_source; \
mp_obj_t gamepad_singleton; \
GAMEPAD_ROOT_POINTERS \
mp_obj_t pew_singleton; \
mp_obj_t terminal_tilegrid_tiles; \
BOARD_I2C_ROOT_POINTER \

View File

@ -102,6 +102,11 @@ CIRCUITPY_GAMEPAD = $(CIRCUITPY_FULL_BUILD)
endif
CFLAGS += -DCIRCUITPY_GAMEPAD=$(CIRCUITPY_GAMEPAD)
ifndef CIRCUITPY_GAMEPADSHIFT
CIRCUITPY_GAMEPADSHIFT = 0
endif
CFLAGS += -DCIRCUITPY_GAMEPADSHIFT=$(CIRCUITPY_GAMEPADSHIFT)
ifndef CIRCUITPY_I2CSLAVE
CIRCUITPY_I2CSLAVE = $(CIRCUITPY_FULL_BUILD)
endif

View File

@ -374,3 +374,14 @@ const mp_obj_type_t digitalio_digitalinout_type = {
.make_new = digitalio_digitalinout_make_new,
.locals_dict = (mp_obj_t)&digitalio_digitalinout_locals_dict,
};
// Helper for validating digitalio.DigitalInOut arguments
digitalio_digitalinout_obj_t *assert_digitalinout(mp_obj_t obj) {
if (!MP_OBJ_IS_TYPE(obj, &digitalio_digitalinout_type)) {
mp_raise_TypeError(translate("argument num/types mismatch"));
}
digitalio_digitalinout_obj_t *pin = MP_OBJ_TO_PTR(obj);
raise_error_if_deinited(
common_hal_digitalio_digitalinout_deinited(pin));
return pin;
}

View File

@ -53,5 +53,6 @@ digitalio_drive_mode_t common_hal_digitalio_digitalinout_get_drive_mode(digitali
void common_hal_digitalio_digitalinout_set_pull(digitalio_digitalinout_obj_t* self, digitalio_pull_t pull);
digitalio_pull_t common_hal_digitalio_digitalinout_get_pull(digitalio_digitalinout_obj_t* self);
void common_hal_digitalio_digitalinout_never_reset(digitalio_digitalinout_obj_t *self);
digitalio_digitalinout_obj_t *assert_digitalinout(mp_obj_t obj);
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_DIGITALIO_DIGITALINOUT_H

View File

@ -23,17 +23,16 @@
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "shared-bindings/gamepad/GamePad.h"
#include "py/obj.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "py/gc.h"
#include "py/mpstate.h"
#include "shared-module/gamepad/__init__.h"
#include "shared-module/gamepad/GamePad.h"
#include "shared-bindings/gamepad/__init__.h"
#include "shared-bindings/digitalio/DigitalInOut.h"
#include "shared-bindings/util.h"
#include "supervisor/shared/translate.h"
#include "GamePad.h"
//| .. currentmodule:: gamepad
@ -96,27 +95,24 @@
//|
STATIC mp_obj_t gamepad_make_new(const mp_obj_type_t *type, size_t n_args,
const mp_obj_t *args, mp_map_t *kw_args) {
if (n_args > 8) {
mp_raise_TypeError(translate("too many arguments"));
if (n_args > 8 || n_args == 0) {
mp_raise_TypeError(translate("argument num/types mismatch"));
}
for (size_t i = 0; i < n_args; ++i) {
if (!MP_OBJ_IS_TYPE(args[i], &digitalio_digitalinout_type)) {
mp_raise_TypeError(translate("expected a DigitalInOut"));
}
digitalio_digitalinout_obj_t *pin = MP_OBJ_TO_PTR(args[i]);
raise_error_if_deinited(
common_hal_digitalio_digitalinout_deinited(pin));
assert_digitalinout(args[i]);
}
if (!MP_STATE_VM(gamepad_singleton)) {
gamepad_obj_t* gamepad_singleton = m_new_obj(gamepad_obj_t);
gamepad_obj_t* gamepad_singleton = MP_STATE_VM(gamepad_singleton);
if (!gamepad_singleton ||
!MP_OBJ_IS_TYPE(MP_OBJ_FROM_PTR(gamepad_singleton), &gamepad_type)) {
gamepad_singleton = m_new_obj(gamepad_obj_t);
gamepad_singleton->base.type = &gamepad_type;
MP_STATE_VM(gamepad_singleton) = gc_make_long_lived(gamepad_singleton);
gamepad_singleton = gc_make_long_lived(gamepad_singleton);
MP_STATE_VM(gamepad_singleton) = gamepad_singleton;
}
gamepad_init(n_args, args);
return MP_OBJ_FROM_PTR(MP_STATE_VM(gamepad_singleton));
common_hal_gamepad_gamepad_init(gamepad_singleton, args, n_args);
return MP_OBJ_FROM_PTR(gamepad_singleton);
}
//| .. method:: get_pressed()
//|
//| Get the status of buttons pressed since the last call and clear it.
@ -129,9 +125,9 @@ STATIC mp_obj_t gamepad_make_new(const mp_obj_type_t *type, size_t n_args,
//|
STATIC mp_obj_t gamepad_get_pressed(mp_obj_t self_in) {
gamepad_obj_t* gamepad_singleton = MP_STATE_VM(gamepad_singleton);
mp_obj_t gamepad = MP_OBJ_NEW_SMALL_INT(gamepad_singleton->pressed);
mp_obj_t pressed = MP_OBJ_NEW_SMALL_INT(gamepad_singleton->pressed);
gamepad_singleton->pressed = 0;
return gamepad;
return pressed;
}
MP_DEFINE_CONST_FUN_OBJ_1(gamepad_get_pressed_obj, gamepad_get_pressed);
@ -141,7 +137,7 @@ MP_DEFINE_CONST_FUN_OBJ_1(gamepad_get_pressed_obj, gamepad_get_pressed);
//| Disable button scanning.
//|
STATIC mp_obj_t gamepad_deinit(mp_obj_t self_in) {
gamepad_reset();
common_hal_gamepad_gamepad_deinit(self_in);
return mp_const_none;
}
MP_DEFINE_CONST_FUN_OBJ_1(gamepad_deinit_obj, gamepad_deinit);

View File

@ -28,6 +28,11 @@
#ifndef MICROPY_INCLUDED_SHARED_BINDINGS_GAMEPAD_GAMEPAD_H
#define MICROPY_INCLUDED_SHARED_BINDINGS_GAMEPAD_GAMEPAD_H
#include "shared-module/gamepad/GamePad.h"
extern const mp_obj_type_t gamepad_type;
void common_hal_gamepad_gamepad_init(gamepad_obj_t *gamepad, const mp_obj_t pins[], size_t n_pins);
void common_hal_gamepad_gamepad_deinit(gamepad_obj_t *gamepad);
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_GAMEPAD_GAMEPAD_H

View File

@ -26,8 +26,8 @@
#include "py/obj.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "GamePad.h"
#include "shared-bindings/gamepad/GamePad.h"
#include "shared-bindings/util.h"
//| :mod:`gamepad` --- Button handling
//| ==================================

View File

@ -0,0 +1,31 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#ifndef MICROPY_INCLUDED_SHARED_BINDINGS_GAMEPAD___INIT___H
#define MICROPY_INCLUDED_SHARED_BINDINGS_GAMEPAD___INIT___H
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_GAMEPAD___INIT___H

View File

@ -0,0 +1,123 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "py/obj.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "py/gc.h"
#include "py/mpstate.h"
#include "shared-bindings/gamepadshift/GamePadShift.h"
#include "shared-bindings/gamepadshift/__init__.h"
#include "supervisor/shared/translate.h"
//| .. currentmodule:: gamepadshift
//|
//| :class:`GamePadShift` -- Scan buttons for presses through a shift register
//| ===========================================================================
//|
//| .. class:: GamePadShift(clock, data, latch)
//|
//| Initializes button scanning routines.
//|
//| The ``clock``, ``data`` and ``latch`` parameters are ``DigitalInOut``
//| objects connected to the shift register controlling the buttons.
//|
//| They button presses are accumulated, until the ``get_pressed`` method
//| is called, at which point the button state is cleared, and the new
//| button presses start to be recorded.
//|
//| Only one gamepad (`gamepad.GamePad` or `gamepadshift.GamePadShift`)
//| may be used at a time.
//|
STATIC mp_obj_t gamepadshift_make_new(const mp_obj_type_t *type, size_t n_args,
const mp_obj_t *pos_args, mp_map_t *kw_args) {
enum { ARG_clock, ARG_data, ARG_latch };
static const mp_arg_t allowed_args[] = {
{ MP_QSTR_clock, MP_ARG_REQUIRED | MP_ARG_OBJ},
{ MP_QSTR_data, MP_ARG_REQUIRED | MP_ARG_OBJ },
{ MP_QSTR_latch, MP_ARG_REQUIRED | MP_ARG_OBJ},
};
mp_arg_val_t args[MP_ARRAY_SIZE(allowed_args)];
mp_arg_parse_all(n_args, pos_args, kw_args, MP_ARRAY_SIZE(allowed_args),
allowed_args, args);
digitalio_digitalinout_obj_t *clock_pin = assert_digitalinout(args[ARG_clock].u_obj);
digitalio_digitalinout_obj_t *data_pin = assert_digitalinout(args[ARG_data].u_obj);
digitalio_digitalinout_obj_t *latch_pin = assert_digitalinout(args[ARG_latch].u_obj);
gamepadshift_obj_t* gamepad_singleton = MP_STATE_VM(gamepad_singleton);
if (!gamepad_singleton ||
!MP_OBJ_IS_TYPE(MP_OBJ_FROM_PTR(gamepad_singleton),
&gamepadshift_type)) {
gamepad_singleton = m_new_obj(gamepadshift_obj_t);
gamepad_singleton->base.type = &gamepadshift_type;
gamepad_singleton = gc_make_long_lived(gamepad_singleton);
MP_STATE_VM(gamepad_singleton) = gamepad_singleton;
}
common_hal_gamepadshift_gamepadshift_init(gamepad_singleton, clock_pin, data_pin, latch_pin);
return MP_OBJ_FROM_PTR(gamepad_singleton);
}
//| .. method:: get_pressed()
//|
//| Get the status of buttons pressed since the last call and clear it.
//|
//| Returns an 8-bit number, with bits that correspond to buttons,
//| which have been pressed (or held down) since the last call to this
//| function set to 1, and the remaining bits set to 0. Then it clears
//| the button state, so that new button presses (or buttons that are
//| held down) can be recorded for the next call.
//|
STATIC mp_obj_t gamepadshift_get_pressed(mp_obj_t self_in) {
gamepadshift_obj_t* gamepad_singleton = MP_STATE_VM(gamepad_singleton);
mp_obj_t pressed = MP_OBJ_NEW_SMALL_INT(gamepad_singleton->pressed);
gamepad_singleton->pressed = 0;
return pressed;
}
MP_DEFINE_CONST_FUN_OBJ_1(gamepadshift_get_pressed_obj, gamepadshift_get_pressed);
//| .. method:: deinit()
//|
//| Disable button scanning.
//|
STATIC mp_obj_t gamepadshift_deinit(mp_obj_t self_in) {
common_hal_gamepadshift_gamepadshift_deinit(self_in);
return mp_const_none;
}
MP_DEFINE_CONST_FUN_OBJ_1(gamepadshift_deinit_obj, gamepadshift_deinit);
STATIC const mp_rom_map_elem_t gamepadshift_locals_dict_table[] = {
{ MP_OBJ_NEW_QSTR(MP_QSTR_get_pressed), MP_ROM_PTR(&gamepadshift_get_pressed_obj)},
{ MP_OBJ_NEW_QSTR(MP_QSTR_deinit), MP_ROM_PTR(&gamepadshift_deinit_obj)},
};
STATIC MP_DEFINE_CONST_DICT(gamepadshift_locals_dict, gamepadshift_locals_dict_table);
const mp_obj_type_t gamepadshift_type = {
{ &mp_type_type },
.name = MP_QSTR_GamePadShift,
.make_new = gamepadshift_make_new,
.locals_dict = (mp_obj_dict_t*)&gamepadshift_locals_dict,
};

View File

@ -0,0 +1,42 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#ifndef MICROPY_INCLUDED_SHARED_BINDINGS_GAMEPADSHIFT_GAMEPADSHIFT_H
#define MICROPY_INCLUDED_SHARED_BINDINGS_GAMEPADSHIFT_GAMEPADSHIFT_H
#include "shared-module/gamepadshift/GamePadShift.h"
extern const mp_obj_type_t gamepadshift_type;
void common_hal_gamepadshift_gamepadshift_init(gamepadshift_obj_t *gamepadshift,
digitalio_digitalinout_obj_t *clock_pin,
digitalio_digitalinout_obj_t *data_pin,
digitalio_digitalinout_obj_t *latch_pin);
void common_hal_gamepadshift_gamepadshift_deinit(gamepadshift_obj_t *gamepadshift);
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_GAMEPADSHIFT_GAMEPADSHIFT_H

View File

@ -0,0 +1,54 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "py/obj.h"
#include "py/runtime.h"
#include "py/mphal.h"
#include "shared-bindings/gamepadshift/GamePadShift.h"
#include "shared-bindings/digitalio/DigitalInOut.h"
#include "shared-bindings/util.h"
//| :mod:`gamepadshift` --- Tracks button presses read through a shift register
//| ===========================================================================
//|
//| .. module:: gamepadshift
//| :synopsis: Tracks button presses read through a shift register
//| :platform: SAMD21, SAMD51
//|
//| .. toctree::
//| :maxdepth: 3
//|
//| GamePadShift
//|
STATIC const mp_rom_map_elem_t gamepadshift_module_globals_table[] = {
{ MP_ROM_QSTR(MP_QSTR___name__), MP_ROM_QSTR(MP_QSTR_gamepadshift) },
{ MP_OBJ_NEW_QSTR(MP_QSTR_GamePadShift), MP_ROM_PTR(&gamepadshift_type)},
};
STATIC MP_DEFINE_CONST_DICT(gamepadshift_module_globals, gamepadshift_module_globals_table);
const mp_obj_module_t gamepadshift_module = {
.base = { &mp_type_module },
.globals = (mp_obj_dict_t*)&gamepadshift_module_globals,
};

View File

@ -0,0 +1,31 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#ifndef MICROPY_INCLUDED_SHARED_BINDINGS_GAMEPADSHIFT___INIT___H
#define MICROPY_INCLUDED_SHARED_BINDINGS_GAMEPADSHIFT___INIT___H
#endif // MICROPY_INCLUDED_SHARED_BINDINGS_GAMEPADSHIFT___INIT___H

View File

@ -24,27 +24,20 @@
* THE SOFTWARE.
*/
#include <stdbool.h>
#include "py/mpstate.h"
#include "__init__.h"
#include "GamePad.h"
#include "shared-bindings/digitalio/Pull.h"
#include "shared-bindings/digitalio/DigitalInOut.h"
#include "shared-bindings/util.h"
#include "shared-bindings/gamepad/GamePad.h"
void gamepad_init(size_t n_pins, const mp_obj_t* pins) {
gamepad_obj_t* gamepad_singleton = MP_STATE_VM(gamepad_singleton);
void common_hal_gamepad_gamepad_init(gamepad_obj_t *gamepad,
const mp_obj_t pins[], size_t n_pins) {
for (size_t i = 0; i < 8; ++i) {
gamepad_singleton->pins[i] = NULL;
gamepad->pins[i] = NULL;
}
gamepad_singleton->pulls = 0;
gamepad->pulls = 0;
for (size_t i = 0; i < n_pins; ++i) {
digitalio_digitalinout_obj_t *pin = MP_OBJ_TO_PTR(pins[i]);
digitalio_direction_t direction = common_hal_digitalio_digitalinout_get_direction(pin);
if (direction != DIRECTION_INPUT) {
if (common_hal_digitalio_digitalinout_get_direction(pin) !=
DIRECTION_INPUT) {
common_hal_digitalio_digitalinout_switch_to_input(pin, PULL_UP);
}
digitalio_pull_t pull = common_hal_digitalio_digitalinout_get_pull(pin);
@ -52,9 +45,13 @@ void gamepad_init(size_t n_pins, const mp_obj_t* pins) {
common_hal_digitalio_digitalinout_set_pull(pin, PULL_UP);
}
if (pull != PULL_DOWN) {
gamepad_singleton->pulls |= 1 << i;
gamepad->pulls |= 1 << i;
}
gamepad_singleton->pins[i] = pin;
gamepad->pins[i] = pin;
}
gamepad_singleton->last = 0;
gamepad->last = 0;
}
void common_hal_gamepad_gamepad_deinit(gamepad_obj_t *self) {
MP_STATE_VM(gamepad_singleton) = NULL;
}

View File

@ -39,6 +39,4 @@ typedef struct {
uint8_t pulls;
} gamepad_obj_t;
void gamepad_init(size_t n_pins, const mp_obj_t* pins);
#endif // MICROPY_INCLUDED_GAMEPAD_GAMEPAD_H

View File

@ -27,32 +27,35 @@
#include <stdbool.h>
#include "py/mpstate.h"
#include "__init__.h"
#include "GamePad.h"
#include "shared-bindings/gamepad/__init__.h"
#include "shared-bindings/gamepad/GamePad.h"
#include "shared-bindings/digitalio/DigitalInOut.h"
void gamepad_tick(void) {
gamepad_obj_t* gamepad_singleton = MP_STATE_VM(gamepad_singleton);
if (!gamepad_singleton) {
uint8_t current = 0;
uint8_t bit = 1;
void* singleton = MP_STATE_VM(gamepad_singleton);
if (singleton == NULL || !MP_OBJ_IS_TYPE(MP_OBJ_FROM_PTR(singleton), &gamepad_type)) {
return;
}
uint8_t gamepad_current = 0;
uint8_t bit = 1;
gamepad_obj_t *self = MP_OBJ_TO_PTR(singleton);
for (int i = 0; i < 8; ++i) {
digitalio_digitalinout_obj_t* pin = gamepad_singleton->pins[i];
digitalio_digitalinout_obj_t* pin = self->pins[i];
if (!pin) {
break;
}
if (common_hal_digitalio_digitalinout_get_value(pin)) {
gamepad_current |= bit;
current |= bit;
}
bit <<= 1;
}
gamepad_current ^= gamepad_singleton->pulls;
gamepad_singleton->pressed |= gamepad_singleton->last & gamepad_current;
gamepad_singleton->last = gamepad_current;
current ^= self->pulls;
self->pressed |= self->last & current;
self->last = current;
}
void gamepad_reset(void) {

View File

@ -0,0 +1,49 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "py/mpstate.h"
#include "shared-bindings/digitalio/DigitalInOut.h"
#include "shared-module/gamepadshift/GamePadShift.h"
void common_hal_gamepadshift_gamepadshift_init(gamepadshift_obj_t *gamepadshift,
digitalio_digitalinout_obj_t *clock_pin,
digitalio_digitalinout_obj_t *data_pin,
digitalio_digitalinout_obj_t *latch_pin) {
common_hal_digitalio_digitalinout_switch_to_input(data_pin, PULL_NONE);
gamepadshift->data_pin = data_pin;
common_hal_digitalio_digitalinout_switch_to_output(clock_pin, 0,
DRIVE_MODE_PUSH_PULL);
gamepadshift->clock_pin = clock_pin;
common_hal_digitalio_digitalinout_switch_to_output(latch_pin, 1,
DRIVE_MODE_PUSH_PULL);
gamepadshift->latch_pin = latch_pin;
gamepadshift->last = 0;
}
void common_hal_gamepadshift_gamepadshift_deinit(gamepadshift_obj_t *gamepadshift) {
MP_STATE_VM(gamepad_singleton) = NULL;
}

View File

@ -0,0 +1,43 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Radomir Dopieralski for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#ifndef MICROPY_INCLUDED_GAMEPADSHIFT_GAMEPADSHIFT_H
#define MICROPY_INCLUDED_GAMEPADSHIFT_GAMEPADSHIFT_H
#include <stdint.h>
#include "shared-bindings/digitalio/DigitalInOut.h"
typedef struct {
mp_obj_base_t base;
digitalio_digitalinout_obj_t* data_pin;
digitalio_digitalinout_obj_t* clock_pin;
digitalio_digitalinout_obj_t* latch_pin;
volatile uint8_t pressed;
volatile uint8_t last;
} gamepadshift_obj_t;
#endif // MICROPY_INCLUDED_GAMEPADSHIFT_GAMEPADSHIFT_H

View File

@ -0,0 +1,57 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2019 Scott Shawcroft
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#include "shared-module/gamepadshift/__init__.h"
#include "py/mpstate.h"
#include "shared-bindings/gamepadshift/GamePadShift.h"
void gamepadshift_tick(void) {
void* singleton = MP_STATE_VM(gamepad_singleton);
if (singleton == NULL || !MP_OBJ_IS_TYPE(MP_OBJ_FROM_PTR(singleton), &gamepadshift_type)) {
return;
}
gamepadshift_obj_t *self = MP_OBJ_TO_PTR(singleton);
uint8_t current = 0;
uint8_t bit = 1;
common_hal_digitalio_digitalinout_set_value(self->latch_pin, 1);
for (int i = 0; i < 8; ++i) {
common_hal_digitalio_digitalinout_set_value(self->clock_pin, 0);
if (common_hal_digitalio_digitalinout_get_value(self->data_pin)) {
current |= bit;
}
common_hal_digitalio_digitalinout_set_value(self->clock_pin, 1);
bit <<= 1;
}
common_hal_digitalio_digitalinout_set_value(self->latch_pin, 0);
self->pressed |= self->last & current;
self->last = current;
}
void gamepadshift_reset(void) {
MP_STATE_VM(gamepad_singleton) = NULL;
}

View File

@ -0,0 +1,33 @@
/*
* This file is part of the MicroPython project, http://micropython.org/
*
* The MIT License (MIT)
*
* Copyright (c) 2016 Scott Shawcroft for Adafruit Industries
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
#ifndef MICROPY_INCLUDED_GAMEPADSHIFT___INIT___H
#define MICROPY_INCLUDED_GAMEPADSHIFT___INIT___H
void gamepadshift_tick(void);
void gamepadshift_reset(void);
#endif // MICROPY_INCLUDED_GAMEPADSHIFT___INIT___H