Merge remote-tracking branch 'adafruit/master' into usb-disconnect
This commit is contained in:
commit
4f201964a6
34
locale/ID.po
34
locale/ID.po
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-02 13:43+1100\n"
|
||||
"POT-Creation-Date: 2019-04-04 13:37-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -53,7 +53,7 @@ msgid "%q indices must be integers, not %s"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bleio/CharacteristicBuffer.c
|
||||
#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
|
||||
#, fuzzy
|
||||
msgid "%q must be >= 1"
|
||||
msgstr "buffers harus mempunyai panjang yang sama"
|
||||
@ -254,8 +254,8 @@ 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/pulseio/PulseOut.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
|
||||
#: shared-module/_pew/PewPew.c
|
||||
msgid "All timers in use"
|
||||
@ -513,8 +513,8 @@ msgstr ""
|
||||
msgid "Drive mode not used when direction is input."
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "EXTINT channel already in use"
|
||||
msgstr "Channel EXTINT sedang digunakan"
|
||||
|
||||
@ -532,8 +532,8 @@ msgstr ""
|
||||
msgid "Expected a Characteristic"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Service.c
|
||||
#: shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Service.c
|
||||
msgid "Expected a UUID"
|
||||
msgstr ""
|
||||
|
||||
@ -721,7 +721,7 @@ msgid "Frequency captured is above capability. Capture Paused."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
|
||||
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
|
||||
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
|
||||
msgid "Function requires lock"
|
||||
msgstr ""
|
||||
|
||||
@ -768,6 +768,10 @@ msgstr ""
|
||||
msgid "Invalid bit clock pin"
|
||||
msgstr "Bit clock pada pin tidak valid"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Invalid bits per value"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/busio/UART.c
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Ukuran buffer tidak valid"
|
||||
@ -824,8 +828,8 @@ 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/UART.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
|
||||
msgid "Invalid pins"
|
||||
@ -940,8 +944,8 @@ msgstr "Tidak ada GCLK yang kosong"
|
||||
msgid "No hardware random available"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "No hardware support on pin"
|
||||
msgstr "Tidak ada dukungan hardware untuk pin"
|
||||
|
||||
@ -981,10 +985,6 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Only bit maps of 8 bit color or less are supported"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/OnDiskBitmap.c
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1101,8 +1101,8 @@ msgstr "Serializer sedang digunakan"
|
||||
msgid "Slice and value different lengths."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
|
||||
msgid "Slices not supported"
|
||||
msgstr ""
|
||||
|
||||
@ -2315,10 +2315,6 @@ msgstr "anotasi return harus sebuah identifier"
|
||||
msgid "return expected '%q' but got '%q'"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "row must be packed and word aligned"
|
||||
msgstr ""
|
||||
|
||||
#: py/objstr.c
|
||||
msgid "rsplit(None,n)"
|
||||
msgstr ""
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-02 13:43+1100\n"
|
||||
"POT-Creation-Date: 2019-04-04 13:37-0700\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
@ -53,7 +53,7 @@ msgid "%q indices must be integers, not %s"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bleio/CharacteristicBuffer.c
|
||||
#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
|
||||
msgid "%q must be >= 1"
|
||||
msgstr ""
|
||||
|
||||
@ -252,8 +252,8 @@ msgid "All timers for this pin are in use"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
|
||||
#: shared-module/_pew/PewPew.c
|
||||
msgid "All timers in use"
|
||||
@ -501,8 +501,8 @@ msgstr ""
|
||||
msgid "Drive mode not used when direction is input."
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "EXTINT channel already in use"
|
||||
msgstr ""
|
||||
|
||||
@ -520,8 +520,8 @@ msgstr ""
|
||||
msgid "Expected a Characteristic"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Service.c
|
||||
#: shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Service.c
|
||||
msgid "Expected a UUID"
|
||||
msgstr ""
|
||||
|
||||
@ -696,7 +696,7 @@ msgid "Frequency captured is above capability. Capture Paused."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
|
||||
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
|
||||
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
|
||||
msgid "Function requires lock"
|
||||
msgstr ""
|
||||
|
||||
@ -743,6 +743,10 @@ msgstr ""
|
||||
msgid "Invalid bit clock pin"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Invalid bits per value"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/busio/UART.c
|
||||
msgid "Invalid buffer size"
|
||||
msgstr ""
|
||||
@ -799,8 +803,8 @@ msgid "Invalid pin for right channel"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/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/UART.c
|
||||
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
|
||||
#: ports/nrf/common-hal/busio/I2C.c
|
||||
msgid "Invalid pins"
|
||||
@ -915,8 +919,8 @@ msgstr ""
|
||||
msgid "No hardware random available"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "No hardware support on pin"
|
||||
msgstr ""
|
||||
|
||||
@ -955,10 +959,6 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Only bit maps of 8 bit color or less are supported"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/OnDiskBitmap.c
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1071,8 +1071,8 @@ msgstr ""
|
||||
msgid "Slice and value different lengths."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
|
||||
msgid "Slices not supported"
|
||||
msgstr ""
|
||||
|
||||
@ -2269,10 +2269,6 @@ msgstr ""
|
||||
msgid "return expected '%q' but got '%q'"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "row must be packed and word aligned"
|
||||
msgstr ""
|
||||
|
||||
#: py/objstr.c
|
||||
msgid "rsplit(None,n)"
|
||||
msgstr ""
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-02 13:43+1100\n"
|
||||
"POT-Creation-Date: 2019-04-04 13:37-0700\n"
|
||||
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
|
||||
"Last-Translator: Pascal Deneaux\n"
|
||||
"Language-Team: Sebastian Plamauer, Pascal Deneaux\n"
|
||||
@ -55,7 +55,7 @@ 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/Shape.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
|
||||
msgid "%q must be >= 1"
|
||||
msgstr "%q muss >= 1 sein"
|
||||
|
||||
@ -254,8 +254,8 @@ 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/pulseio/PulseOut.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
|
||||
#: shared-module/_pew/PewPew.c
|
||||
msgid "All timers in use"
|
||||
@ -505,8 +505,8 @@ msgstr "Die Rotation der Anzeige muss in 90-Grad-Schritten erfolgen"
|
||||
msgid "Drive mode not used when direction is input."
|
||||
msgstr "Drive mode wird nicht verwendet, wenn die Richtung input ist."
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "EXTINT channel already in use"
|
||||
msgstr "EXTINT Kanal ist schon in Benutzung"
|
||||
|
||||
@ -524,8 +524,8 @@ msgstr "Erwartet ein(e) %q"
|
||||
msgid "Expected a Characteristic"
|
||||
msgstr "Characteristic wird erwartet"
|
||||
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Service.c
|
||||
#: shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Service.c
|
||||
msgid "Expected a UUID"
|
||||
msgstr "Eine UUID wird erwartet"
|
||||
|
||||
@ -700,7 +700,7 @@ msgid "Frequency captured is above capability. Capture Paused."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
|
||||
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
|
||||
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
|
||||
msgid "Function requires lock"
|
||||
msgstr "Die Funktion erwartet, dass der 'lock'-Befehl zuvor ausgeführt wurde"
|
||||
|
||||
@ -749,6 +749,10 @@ msgstr "Ungültiges Argument"
|
||||
msgid "Invalid bit clock pin"
|
||||
msgstr "Ungültiges bit clock pin"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Invalid bits per value"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/busio/UART.c
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Ungültige Puffergröße"
|
||||
@ -805,8 +809,8 @@ 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/UART.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
|
||||
msgid "Invalid pins"
|
||||
@ -928,8 +932,8 @@ msgstr "Keine freien GCLKs"
|
||||
msgid "No hardware random available"
|
||||
msgstr "Kein hardware random verfügbar"
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "No hardware support on pin"
|
||||
msgstr "Keine Hardwareunterstützung an diesem Pin"
|
||||
|
||||
@ -970,11 +974,6 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Only bit maps of 8 bit color or less are supported"
|
||||
msgstr ""
|
||||
"Es werden nur Bitmaps mit einer Farbtiefe von 8 Bit oder weniger unterstützt"
|
||||
|
||||
#: shared-module/displayio/OnDiskBitmap.c
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1089,8 +1088,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/TileGrid.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
|
||||
msgid "Slices not supported"
|
||||
msgstr "Slices werden nicht unterstützt"
|
||||
|
||||
@ -2319,10 +2318,6 @@ msgstr "return annotation muss ein identifier sein"
|
||||
msgid "return expected '%q' but got '%q'"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "row must be packed and word aligned"
|
||||
msgstr ""
|
||||
|
||||
#: py/objstr.c
|
||||
msgid "rsplit(None,n)"
|
||||
msgstr ""
|
||||
@ -2716,6 +2711,11 @@ msgstr ""
|
||||
#~ msgid "Only Windows format, uncompressed BMP supported %d"
|
||||
#~ msgstr "Nur unkomprimiertes Windows-Format (BMP) unterstützt %d"
|
||||
|
||||
#~ msgid "Only bit maps of 8 bit color or less are supported"
|
||||
#~ msgstr ""
|
||||
#~ "Es werden nur Bitmaps mit einer Farbtiefe von 8 Bit oder weniger "
|
||||
#~ "unterstützt"
|
||||
|
||||
#~ msgid "Only tx supported on UART1 (GPIO2)."
|
||||
#~ msgstr "UART1 (GPIO2) unterstützt nur tx"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-02 13:43+1100\n"
|
||||
"POT-Creation-Date: 2019-04-04 13:37-0700\n"
|
||||
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -53,7 +53,7 @@ msgid "%q indices must be integers, not %s"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bleio/CharacteristicBuffer.c
|
||||
#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
|
||||
msgid "%q must be >= 1"
|
||||
msgstr ""
|
||||
|
||||
@ -252,8 +252,8 @@ msgid "All timers for this pin are in use"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
|
||||
#: shared-module/_pew/PewPew.c
|
||||
msgid "All timers in use"
|
||||
@ -501,8 +501,8 @@ msgstr ""
|
||||
msgid "Drive mode not used when direction is input."
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "EXTINT channel already in use"
|
||||
msgstr ""
|
||||
|
||||
@ -520,8 +520,8 @@ msgstr ""
|
||||
msgid "Expected a Characteristic"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Service.c
|
||||
#: shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Service.c
|
||||
msgid "Expected a UUID"
|
||||
msgstr ""
|
||||
|
||||
@ -696,7 +696,7 @@ msgid "Frequency captured is above capability. Capture Paused."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
|
||||
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
|
||||
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
|
||||
msgid "Function requires lock"
|
||||
msgstr ""
|
||||
|
||||
@ -743,6 +743,10 @@ msgstr ""
|
||||
msgid "Invalid bit clock pin"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Invalid bits per value"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/busio/UART.c
|
||||
msgid "Invalid buffer size"
|
||||
msgstr ""
|
||||
@ -799,8 +803,8 @@ msgid "Invalid pin for right channel"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/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/UART.c
|
||||
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
|
||||
#: ports/nrf/common-hal/busio/I2C.c
|
||||
msgid "Invalid pins"
|
||||
@ -915,8 +919,8 @@ msgstr ""
|
||||
msgid "No hardware random available"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "No hardware support on pin"
|
||||
msgstr ""
|
||||
|
||||
@ -955,10 +959,6 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Only bit maps of 8 bit color or less are supported"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/OnDiskBitmap.c
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1071,8 +1071,8 @@ msgstr ""
|
||||
msgid "Slice and value different lengths."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
|
||||
msgid "Slices not supported"
|
||||
msgstr ""
|
||||
|
||||
@ -2269,10 +2269,6 @@ msgstr ""
|
||||
msgid "return expected '%q' but got '%q'"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "row must be packed and word aligned"
|
||||
msgstr ""
|
||||
|
||||
#: py/objstr.c
|
||||
msgid "rsplit(None,n)"
|
||||
msgstr ""
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-02 13:43+1100\n"
|
||||
"POT-Creation-Date: 2019-04-04 13:37-0700\n"
|
||||
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: @sommersoft, @MrCertainly\n"
|
||||
@ -55,7 +55,7 @@ msgid "%q indices must be integers, not %s"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bleio/CharacteristicBuffer.c
|
||||
#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
|
||||
msgid "%q must be >= 1"
|
||||
msgstr ""
|
||||
|
||||
@ -254,8 +254,8 @@ msgid "All timers for this pin are in use"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
|
||||
#: shared-module/_pew/PewPew.c
|
||||
msgid "All timers in use"
|
||||
@ -505,8 +505,8 @@ msgstr ""
|
||||
msgid "Drive mode not used when direction is input."
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "EXTINT channel already in use"
|
||||
msgstr "Avast! EXTINT channel already in use"
|
||||
|
||||
@ -524,8 +524,8 @@ msgstr ""
|
||||
msgid "Expected a Characteristic"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Service.c
|
||||
#: shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Service.c
|
||||
msgid "Expected a UUID"
|
||||
msgstr ""
|
||||
|
||||
@ -700,7 +700,7 @@ msgid "Frequency captured is above capability. Capture Paused."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
|
||||
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
|
||||
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
|
||||
msgid "Function requires lock"
|
||||
msgstr ""
|
||||
|
||||
@ -747,6 +747,10 @@ msgstr ""
|
||||
msgid "Invalid bit clock pin"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Invalid bits per value"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/busio/UART.c
|
||||
msgid "Invalid buffer size"
|
||||
msgstr ""
|
||||
@ -803,8 +807,8 @@ 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/UART.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
|
||||
msgid "Invalid pins"
|
||||
@ -919,8 +923,8 @@ msgstr ""
|
||||
msgid "No hardware random available"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "No hardware support on pin"
|
||||
msgstr ""
|
||||
|
||||
@ -959,10 +963,6 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Only bit maps of 8 bit color or less are supported"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/OnDiskBitmap.c
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1075,8 +1075,8 @@ msgstr ""
|
||||
msgid "Slice and value different lengths."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
|
||||
msgid "Slices not supported"
|
||||
msgstr ""
|
||||
|
||||
@ -2273,10 +2273,6 @@ msgstr ""
|
||||
msgid "return expected '%q' but got '%q'"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "row must be packed and word aligned"
|
||||
msgstr ""
|
||||
|
||||
#: py/objstr.c
|
||||
msgid "rsplit(None,n)"
|
||||
msgstr ""
|
||||
|
40
locale/es.po
40
locale/es.po
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-02 13:43+1100\n"
|
||||
"POT-Creation-Date: 2019-04-04 13:37-0700\n"
|
||||
"PO-Revision-Date: 2018-08-24 22:56-0500\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -56,7 +56,7 @@ msgid "%q indices must be integers, not %s"
|
||||
msgstr "%q indices deben ser enteros, no %s"
|
||||
|
||||
#: shared-bindings/bleio/CharacteristicBuffer.c
|
||||
#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
|
||||
#, fuzzy
|
||||
msgid "%q must be >= 1"
|
||||
msgstr "%q debe ser >= 1"
|
||||
@ -261,8 +261,8 @@ 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/pulseio/PulseOut.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
|
||||
#: shared-module/_pew/PewPew.c
|
||||
msgid "All timers in use"
|
||||
@ -518,8 +518,8 @@ msgstr "Rotación de display debe ser en incrementos de 90 grados"
|
||||
msgid "Drive mode not used when direction is input."
|
||||
msgstr "Modo Drive no se usa cuando la dirección es input."
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "EXTINT channel already in use"
|
||||
msgstr "El canal EXTINT ya está siendo utilizado"
|
||||
|
||||
@ -538,8 +538,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/Service.c
|
||||
#: shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Service.c
|
||||
#, fuzzy
|
||||
msgid "Expected a UUID"
|
||||
msgstr "Se espera un %q"
|
||||
@ -728,7 +728,7 @@ 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/SPI.c shared-bindings/busio/I2C.c
|
||||
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
|
||||
msgid "Function requires lock"
|
||||
msgstr "La función requiere lock"
|
||||
|
||||
@ -777,6 +777,10 @@ msgstr "Argumento inválido"
|
||||
msgid "Invalid bit clock pin"
|
||||
msgstr "Pin bit clock inválido"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Invalid bits per value"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/busio/UART.c
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Tamaño de buffer inválido"
|
||||
@ -833,8 +837,8 @@ 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/UART.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
|
||||
msgid "Invalid pins"
|
||||
@ -953,8 +957,8 @@ msgstr "Sin GCLKs libres"
|
||||
msgid "No hardware random available"
|
||||
msgstr "No hay hardware random disponible"
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "No hardware support on pin"
|
||||
msgstr "Sin soporte de hardware en pin"
|
||||
|
||||
@ -996,10 +1000,6 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Only bit maps of 8 bit color or less are supported"
|
||||
msgstr "Solo se admiten bit maps de color de 8 bits o menos"
|
||||
|
||||
#: shared-module/displayio/OnDiskBitmap.c
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1117,8 +1117,8 @@ msgstr "Serializer está siendo utilizado"
|
||||
msgid "Slice and value different lengths."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
|
||||
msgid "Slices not supported"
|
||||
msgstr ""
|
||||
|
||||
@ -2351,10 +2351,6 @@ msgstr "la anotación de retorno debe ser un identificador"
|
||||
msgid "return expected '%q' but got '%q'"
|
||||
msgstr "retorno esperado '%q' pero se obtuvo '%q'"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "row must be packed and word aligned"
|
||||
msgstr "la fila debe estar empacada y la palabra alineada"
|
||||
|
||||
#: py/objstr.c
|
||||
msgid "rsplit(None,n)"
|
||||
msgstr ""
|
||||
@ -2743,6 +2739,9 @@ msgstr "paso cero"
|
||||
#~ msgid "Only Windows format, uncompressed BMP supported %d"
|
||||
#~ msgstr "Solo formato Windows, BMP sin comprimir soportado %d"
|
||||
|
||||
#~ msgid "Only bit maps of 8 bit color or less are supported"
|
||||
#~ msgstr "Solo se admiten bit maps de color de 8 bits o menos"
|
||||
|
||||
#~ msgid "Only true color (24 bpp or higher) BMP supported %x"
|
||||
#~ msgstr "Solo color verdadero (24 bpp o superior) BMP admitido %x"
|
||||
|
||||
@ -2850,6 +2849,9 @@ msgstr "paso cero"
|
||||
#~ msgid "position must be 2-tuple"
|
||||
#~ msgstr "posición debe ser 2-tuple"
|
||||
|
||||
#~ msgid "row must be packed and word aligned"
|
||||
#~ msgstr "la fila debe estar empacada y la palabra alineada"
|
||||
|
||||
#~ msgid "scan failed"
|
||||
#~ msgstr "scan ha fallado"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-02 13:43+1100\n"
|
||||
"POT-Creation-Date: 2019-04-04 13:37-0700\n"
|
||||
"PO-Revision-Date: 2018-12-20 22:15-0800\n"
|
||||
"Last-Translator: Timothy <me@timothygarcia.ca>\n"
|
||||
"Language-Team: fil\n"
|
||||
@ -53,7 +53,7 @@ msgid "%q indices must be integers, not %s"
|
||||
msgstr "%q indeks ay dapat integers, hindi %s"
|
||||
|
||||
#: shared-bindings/bleio/CharacteristicBuffer.c
|
||||
#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
|
||||
#, fuzzy
|
||||
msgid "%q must be >= 1"
|
||||
msgstr "aarehas na haba dapat ang buffer slices"
|
||||
@ -256,8 +256,8 @@ 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/pulseio/PulseOut.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
|
||||
#: shared-module/_pew/PewPew.c
|
||||
msgid "All timers in use"
|
||||
@ -514,8 +514,8 @@ msgstr ""
|
||||
msgid "Drive mode not used when direction is input."
|
||||
msgstr "Drive mode ay hindi ginagamit kapag ang direksyon ay input."
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "EXTINT channel already in use"
|
||||
msgstr "Ginagamit na ang EXTINT channel"
|
||||
|
||||
@ -534,8 +534,8 @@ msgstr "Umasa ng %q"
|
||||
msgid "Expected a Characteristic"
|
||||
msgstr "Hindi mabasa and Characteristic."
|
||||
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Service.c
|
||||
#: shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Service.c
|
||||
#, fuzzy
|
||||
msgid "Expected a UUID"
|
||||
msgstr "Umasa ng %q"
|
||||
@ -724,7 +724,7 @@ msgid "Frequency captured is above capability. Capture Paused."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
|
||||
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
|
||||
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
|
||||
msgid "Function requires lock"
|
||||
msgstr "Function nangangailangan ng lock"
|
||||
|
||||
@ -773,6 +773,10 @@ msgstr "Maling argumento"
|
||||
msgid "Invalid bit clock pin"
|
||||
msgstr "Mali ang bit clock pin"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Invalid bits per value"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/busio/UART.c
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Mali ang buffer size"
|
||||
@ -829,8 +833,8 @@ 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/UART.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
|
||||
msgid "Invalid pins"
|
||||
@ -949,8 +953,8 @@ msgstr "Walang libreng GCLKs"
|
||||
msgid "No hardware random available"
|
||||
msgstr "Walang magagamit na hardware random"
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "No hardware support on pin"
|
||||
msgstr "Walang support sa hardware ang pin"
|
||||
|
||||
@ -992,10 +996,6 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Only bit maps of 8 bit color or less are supported"
|
||||
msgstr "Tanging bit maps na may 8 bit color o mas mababa ang supportado"
|
||||
|
||||
#: shared-module/displayio/OnDiskBitmap.c
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1114,8 +1114,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/TileGrid.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
|
||||
msgid "Slices not supported"
|
||||
msgstr "Hindi suportado ang Slices"
|
||||
|
||||
@ -2353,10 +2353,6 @@ msgstr "return annotation ay dapat na identifier"
|
||||
msgid "return expected '%q' but got '%q'"
|
||||
msgstr "return umasa ng '%q' pero ang nakuha ay ‘%q’"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "row must be packed and word aligned"
|
||||
msgstr "row ay dapat packed at ang word nakahanay"
|
||||
|
||||
#: py/objstr.c
|
||||
msgid "rsplit(None,n)"
|
||||
msgstr "rsplit(None,n)"
|
||||
@ -2746,6 +2742,9 @@ msgstr "zero step"
|
||||
#~ msgid "Only Windows format, uncompressed BMP supported %d"
|
||||
#~ msgstr "Tanging Windows format, uncompressed BMP lamang ang supportado %d"
|
||||
|
||||
#~ msgid "Only bit maps of 8 bit color or less are supported"
|
||||
#~ msgstr "Tanging bit maps na may 8 bit color o mas mababa ang supportado"
|
||||
|
||||
#~ msgid "Only true color (24 bpp or higher) BMP supported %x"
|
||||
#~ msgstr "Dapat true color (24 bpp o mas mataas) BMP lamang ang supportado %x"
|
||||
|
||||
@ -2856,6 +2855,9 @@ msgstr "zero step"
|
||||
#~ msgid "position must be 2-tuple"
|
||||
#~ msgstr "position ay dapat 2-tuple"
|
||||
|
||||
#~ msgid "row must be packed and word aligned"
|
||||
#~ msgstr "row ay dapat packed at ang word nakahanay"
|
||||
|
||||
#~ msgid "scan failed"
|
||||
#~ msgstr "nabigo ang pag-scan"
|
||||
|
||||
|
37
locale/fr.po
37
locale/fr.po
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: 0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-02 13:43+1100\n"
|
||||
"POT-Creation-Date: 2019-04-04 13:37-0700\n"
|
||||
"PO-Revision-Date: 2018-12-23 20:05+0100\n"
|
||||
"Last-Translator: Pierrick Couturier <arofarn@arofarn.info>\n"
|
||||
"Language-Team: fr\n"
|
||||
@ -52,7 +52,7 @@ 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/Shape.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
|
||||
#, fuzzy
|
||||
msgid "%q must be >= 1"
|
||||
msgstr "les slices de tampon doivent être de longueurs égales"
|
||||
@ -256,8 +256,8 @@ 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/pulseio/PulseOut.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
|
||||
#: shared-module/_pew/PewPew.c
|
||||
msgid "All timers in use"
|
||||
@ -513,8 +513,8 @@ msgstr ""
|
||||
msgid "Drive mode not used when direction is input."
|
||||
msgstr "Le mode Drive n'est pas utilisé quand la direction est 'input'."
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "EXTINT channel already in use"
|
||||
msgstr "Canal EXTINT déjà utilisé"
|
||||
|
||||
@ -533,8 +533,8 @@ msgstr "Attendu : %q"
|
||||
msgid "Expected a Characteristic"
|
||||
msgstr "Impossible d'ajouter la Characteristic."
|
||||
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Service.c
|
||||
#: shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Service.c
|
||||
#, fuzzy
|
||||
msgid "Expected a UUID"
|
||||
msgstr "Attendu : %q"
|
||||
@ -723,7 +723,7 @@ msgid "Frequency captured is above capability. Capture Paused."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
|
||||
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
|
||||
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
|
||||
msgid "Function requires lock"
|
||||
msgstr "La fonction nécessite un verrou"
|
||||
|
||||
@ -773,6 +773,10 @@ msgstr "Argument invalide"
|
||||
msgid "Invalid bit clock pin"
|
||||
msgstr "Broche invalide pour 'bit clock'"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Invalid bits per value"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/busio/UART.c
|
||||
#, fuzzy
|
||||
msgid "Invalid buffer size"
|
||||
@ -831,8 +835,8 @@ 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/UART.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
|
||||
msgid "Invalid pins"
|
||||
@ -952,8 +956,8 @@ msgstr "Pas de GCLK libre"
|
||||
msgid "No hardware random available"
|
||||
msgstr "Pas de source matérielle d'aléa disponible"
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "No hardware support on pin"
|
||||
msgstr "Pas de support matériel pour cette broche"
|
||||
|
||||
@ -996,10 +1000,6 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Only bit maps of 8 bit color or less are supported"
|
||||
msgstr "Seules les bitmaps de 8bits par couleur ou moins sont supportées"
|
||||
|
||||
#: shared-module/displayio/OnDiskBitmap.c
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1122,8 +1122,8 @@ msgstr "Sérialiseur en cours d'utilisation"
|
||||
msgid "Slice and value different lengths."
|
||||
msgstr "Slice et valeur de tailles différentes"
|
||||
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
|
||||
msgid "Slices not supported"
|
||||
msgstr "Slices non supportées"
|
||||
|
||||
@ -2373,10 +2373,6 @@ msgstr "l'annotation de return doit être un identifiant"
|
||||
msgid "return expected '%q' but got '%q'"
|
||||
msgstr "return attendait '%q' mais a reçu '%q'"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "row must be packed and word aligned"
|
||||
msgstr ""
|
||||
|
||||
#: py/objstr.c
|
||||
msgid "rsplit(None,n)"
|
||||
msgstr ""
|
||||
@ -2765,6 +2761,9 @@ msgstr "'step' nul"
|
||||
#~ msgid "Only Windows format, uncompressed BMP supported %d"
|
||||
#~ msgstr "Seul les BMP non-compressé au format Windows sont supportés %d"
|
||||
|
||||
#~ msgid "Only bit maps of 8 bit color or less are supported"
|
||||
#~ msgstr "Seules les bitmaps de 8bits par couleur ou moins sont supportées"
|
||||
|
||||
#~ msgid "Only true color (24 bpp or higher) BMP supported %x"
|
||||
#~ msgstr "Seul les BMP 24bits ou plus sont supportés %x"
|
||||
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-02 13:43+1100\n"
|
||||
"POT-Creation-Date: 2019-04-04 13:37-0700\n"
|
||||
"PO-Revision-Date: 2018-10-02 16:27+0200\n"
|
||||
"Last-Translator: Enrico Paganin <enrico.paganin@mail.com>\n"
|
||||
"Language-Team: \n"
|
||||
@ -53,7 +53,7 @@ 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/Shape.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
|
||||
#, fuzzy
|
||||
msgid "%q must be >= 1"
|
||||
msgstr "slice del buffer devono essere della stessa lunghezza"
|
||||
@ -255,8 +255,8 @@ 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/pulseio/PulseOut.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
|
||||
#: shared-module/_pew/PewPew.c
|
||||
msgid "All timers in use"
|
||||
@ -514,8 +514,8 @@ msgstr ""
|
||||
msgid "Drive mode not used when direction is input."
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "EXTINT channel already in use"
|
||||
msgstr "Canale EXTINT già in uso"
|
||||
|
||||
@ -534,8 +534,8 @@ msgstr "Atteso un %q"
|
||||
msgid "Expected a Characteristic"
|
||||
msgstr "Non è possibile aggiungere Characteristic."
|
||||
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Service.c
|
||||
#: shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Service.c
|
||||
#, fuzzy
|
||||
msgid "Expected a UUID"
|
||||
msgstr "Atteso un %q"
|
||||
@ -723,7 +723,7 @@ msgid "Frequency captured is above capability. Capture Paused."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
|
||||
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
|
||||
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
|
||||
msgid "Function requires lock"
|
||||
msgstr ""
|
||||
|
||||
@ -772,6 +772,10 @@ msgstr "Argomento non valido"
|
||||
msgid "Invalid bit clock pin"
|
||||
msgstr "Pin del clock di bit non valido"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Invalid bits per value"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/busio/UART.c
|
||||
#, fuzzy
|
||||
msgid "Invalid buffer size"
|
||||
@ -830,8 +834,8 @@ 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/UART.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
|
||||
msgid "Invalid pins"
|
||||
@ -948,8 +952,8 @@ msgstr "Nessun GCLK libero"
|
||||
msgid "No hardware random available"
|
||||
msgstr "Nessun generatore hardware di numeri casuali disponibile"
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "No hardware support on pin"
|
||||
msgstr "Nessun supporto hardware sul pin"
|
||||
|
||||
@ -992,10 +996,6 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Only bit maps of 8 bit color or less are supported"
|
||||
msgstr "Sono supportate solo bitmap con colori a 8 bit o meno"
|
||||
|
||||
#: shared-module/displayio/OnDiskBitmap.c
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1120,8 +1120,8 @@ msgstr "Serializer in uso"
|
||||
msgid "Slice and value different lengths."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
|
||||
msgid "Slices not supported"
|
||||
msgstr "Slice non supportate"
|
||||
|
||||
@ -2351,10 +2351,6 @@ msgstr ""
|
||||
msgid "return expected '%q' but got '%q'"
|
||||
msgstr "return aspettava '%q' ma ha ottenuto '%q'"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "row must be packed and word aligned"
|
||||
msgstr "la riga deve essere compattata e allineata alla parola"
|
||||
|
||||
#: py/objstr.c
|
||||
msgid "rsplit(None,n)"
|
||||
msgstr ""
|
||||
@ -2739,6 +2735,9 @@ msgstr "zero step"
|
||||
#~ msgid "Only Windows format, uncompressed BMP supported %d"
|
||||
#~ msgstr "Formato solo di Windows, BMP non compresso supportato %d"
|
||||
|
||||
#~ msgid "Only bit maps of 8 bit color or less are supported"
|
||||
#~ msgstr "Sono supportate solo bitmap con colori a 8 bit o meno"
|
||||
|
||||
#~ msgid "Only true color (24 bpp or higher) BMP supported %x"
|
||||
#~ msgstr "Solo BMP true color (24 bpp o superiore) sono supportati %x"
|
||||
|
||||
@ -2848,6 +2847,9 @@ msgstr "zero step"
|
||||
#~ msgid "position must be 2-tuple"
|
||||
#~ msgstr "position deve essere una 2-tuple"
|
||||
|
||||
#~ msgid "row must be packed and word aligned"
|
||||
#~ msgstr "la riga deve essere compattata e allineata alla parola"
|
||||
|
||||
#~ msgid "scan failed"
|
||||
#~ msgstr "scansione fallita"
|
||||
|
||||
|
40
locale/pl.po
40
locale/pl.po
@ -7,7 +7,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-02 13:43+1100\n"
|
||||
"POT-Creation-Date: 2019-04-04 13:37-0700\n"
|
||||
"PO-Revision-Date: 2019-03-19 18:37-0700\n"
|
||||
"Last-Translator: Radomir Dopieralski <circuitpython@sheep.art.pl>\n"
|
||||
"Language-Team: pl\n"
|
||||
@ -54,7 +54,7 @@ msgid "%q indices must be integers, not %s"
|
||||
msgstr "%q indeks musi być liczbą całkowitą, a nie %s"
|
||||
|
||||
#: shared-bindings/bleio/CharacteristicBuffer.c
|
||||
#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
|
||||
msgid "%q must be >= 1"
|
||||
msgstr "%q musi być >= 1"
|
||||
|
||||
@ -253,8 +253,8 @@ msgid "All timers for this pin are in use"
|
||||
msgstr "Wszystkie "
|
||||
|
||||
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
|
||||
#: shared-module/_pew/PewPew.c
|
||||
msgid "All timers in use"
|
||||
@ -504,8 +504,8 @@ msgstr "Orientacja wyświetlacza musi być wielokrotnością 90 stopni"
|
||||
msgid "Drive mode not used when direction is input."
|
||||
msgstr "Tryb sterowania nie jest używany w trybie wejścia."
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "EXTINT channel already in use"
|
||||
msgstr "Kanał EXTINT jest już w użyciu"
|
||||
|
||||
@ -523,8 +523,8 @@ msgstr "Oczekiwano %q"
|
||||
msgid "Expected a Characteristic"
|
||||
msgstr "Oczekiwano charakterystyki"
|
||||
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Service.c
|
||||
#: shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Service.c
|
||||
msgid "Expected a UUID"
|
||||
msgstr "Oczekiwano UUID"
|
||||
|
||||
@ -699,7 +699,7 @@ msgid "Frequency captured is above capability. Capture Paused."
|
||||
msgstr "Uzyskana częstotliwość jest poza możliwościami. Spauzowano."
|
||||
|
||||
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
|
||||
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
|
||||
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
|
||||
msgid "Function requires lock"
|
||||
msgstr "Funkcja wymaga blokady"
|
||||
|
||||
@ -748,6 +748,10 @@ msgstr "Niepoprawny argument"
|
||||
msgid "Invalid bit clock pin"
|
||||
msgstr "Niewłaściwa nóżka zegara bitowego"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Invalid bits per value"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/busio/UART.c
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Niewłaściwa wielkość bufora"
|
||||
@ -804,8 +808,8 @@ msgid "Invalid pin for right channel"
|
||||
msgstr "Niewłaściwa nóżka dla prawego kanału"
|
||||
|
||||
#: ports/atmel-samd/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/UART.c
|
||||
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
|
||||
#: ports/nrf/common-hal/busio/I2C.c
|
||||
msgid "Invalid pins"
|
||||
@ -925,8 +929,8 @@ msgstr "Brak wolnych GLCK"
|
||||
msgid "No hardware random available"
|
||||
msgstr "Brak sprzętowego generatora liczb losowych"
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "No hardware support on pin"
|
||||
msgstr "Brak sprzętowej obsługi na nóżce"
|
||||
|
||||
@ -966,10 +970,6 @@ msgid ""
|
||||
msgstr ""
|
||||
"Wspierane są tylko nieskompresowane pliki BMP Windowsa: wielkość nagłówka %d"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Only bit maps of 8 bit color or less are supported"
|
||||
msgstr "Wspierane są tylko mapy bitowe z 8 bitami lub mniej"
|
||||
|
||||
#: shared-module/displayio/OnDiskBitmap.c
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1085,8 +1085,8 @@ msgstr "Serializator w użyciu"
|
||||
msgid "Slice and value different lengths."
|
||||
msgstr "Fragment i wartość są różnych długości."
|
||||
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
|
||||
msgid "Slices not supported"
|
||||
msgstr "Fragmenty nieobsługiwane"
|
||||
|
||||
@ -2301,10 +2301,6 @@ msgstr "anotacja wartości musi być identyfikatorem"
|
||||
msgid "return expected '%q' but got '%q'"
|
||||
msgstr "return oczekiwał '%q', a jest '%q'"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "row must be packed and word aligned"
|
||||
msgstr "row musi być upakowana i wyrównana do słowa"
|
||||
|
||||
#: py/objstr.c
|
||||
msgid "rsplit(None,n)"
|
||||
msgstr "rsplit(None,n)"
|
||||
@ -2625,5 +2621,11 @@ msgstr "wartość y poza zakresem"
|
||||
msgid "zero step"
|
||||
msgstr "zerowy krok"
|
||||
|
||||
#~ msgid "Only bit maps of 8 bit color or less are supported"
|
||||
#~ msgstr "Wspierane są tylko mapy bitowe z 8 bitami lub mniej"
|
||||
|
||||
#~ msgid "RTC set is not supported on this board"
|
||||
#~ msgstr "Ustawianie RTC nie jest obsługiwane na tej płytce"
|
||||
|
||||
#~ msgid "row must be packed and word aligned"
|
||||
#~ msgstr "row musi być upakowana i wyrównana do słowa"
|
||||
|
@ -8,7 +8,7 @@ msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2019-04-02 13:43+1100\n"
|
||||
"POT-Creation-Date: 2019-04-04 13:37-0700\n"
|
||||
"PO-Revision-Date: 2018-10-02 21:14-0000\n"
|
||||
"Last-Translator: \n"
|
||||
"Language-Team: \n"
|
||||
@ -53,7 +53,7 @@ msgid "%q indices must be integers, not %s"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bleio/CharacteristicBuffer.c
|
||||
#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
|
||||
#, fuzzy
|
||||
msgid "%q must be >= 1"
|
||||
msgstr "buffers devem ser o mesmo tamanho"
|
||||
@ -255,8 +255,8 @@ 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/pulseio/PulseOut.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
|
||||
#: shared-module/_pew/PewPew.c
|
||||
msgid "All timers in use"
|
||||
@ -509,8 +509,8 @@ msgstr ""
|
||||
msgid "Drive mode not used when direction is input."
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "EXTINT channel already in use"
|
||||
msgstr "Canal EXTINT em uso"
|
||||
|
||||
@ -529,8 +529,8 @@ msgstr "Esperado um"
|
||||
msgid "Expected a Characteristic"
|
||||
msgstr "Não é possível adicionar Característica."
|
||||
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Service.c
|
||||
#: shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
|
||||
#: shared-bindings/bleio/Service.c
|
||||
#, fuzzy
|
||||
msgid "Expected a UUID"
|
||||
msgstr "Esperado um"
|
||||
@ -716,7 +716,7 @@ msgid "Frequency captured is above capability. Capture Paused."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
|
||||
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
|
||||
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
|
||||
msgid "Function requires lock"
|
||||
msgstr ""
|
||||
|
||||
@ -763,6 +763,10 @@ msgstr "Argumento inválido"
|
||||
msgid "Invalid bit clock pin"
|
||||
msgstr "Pino de bit clock inválido"
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Invalid bits per value"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/busio/UART.c
|
||||
#, fuzzy
|
||||
msgid "Invalid buffer size"
|
||||
@ -821,8 +825,8 @@ 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/UART.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
|
||||
msgid "Invalid pins"
|
||||
@ -938,8 +942,8 @@ msgstr "Não há GCLKs livre"
|
||||
msgid "No hardware random available"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
|
||||
msgid "No hardware support on pin"
|
||||
msgstr "Nenhum suporte de hardware no pino"
|
||||
|
||||
@ -981,10 +985,6 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "Only bit maps of 8 bit color or less are supported"
|
||||
msgstr "Apenas bit maps de cores de 8 bit ou menos são suportados"
|
||||
|
||||
#: shared-module/displayio/OnDiskBitmap.c
|
||||
#, c-format
|
||||
msgid ""
|
||||
@ -1099,8 +1099,8 @@ msgstr "Serializer em uso"
|
||||
msgid "Slice and value different lengths."
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
|
||||
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
|
||||
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
|
||||
msgid "Slices not supported"
|
||||
msgstr ""
|
||||
|
||||
@ -2304,10 +2304,6 @@ msgstr ""
|
||||
msgid "return expected '%q' but got '%q'"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/displayio/Bitmap.c
|
||||
msgid "row must be packed and word aligned"
|
||||
msgstr "Linha deve ser comprimida e com as palavras alinhadas"
|
||||
|
||||
#: py/objstr.c
|
||||
msgid "rsplit(None,n)"
|
||||
msgstr ""
|
||||
@ -2686,6 +2682,9 @@ msgstr "passo zero"
|
||||
#~ msgid "Only Windows format, uncompressed BMP supported %d"
|
||||
#~ msgstr "Apenas formato Windows, BMP descomprimido suportado"
|
||||
|
||||
#~ msgid "Only bit maps of 8 bit color or less are supported"
|
||||
#~ msgstr "Apenas bit maps de cores de 8 bit ou menos são suportados"
|
||||
|
||||
#~ msgid "Only true color (24 bpp or higher) BMP supported %x"
|
||||
#~ msgstr "Apenas cores verdadeiras (24 bpp ou maior) BMP suportadas"
|
||||
|
||||
@ -2788,6 +2787,9 @@ msgstr "passo zero"
|
||||
#~ msgid "pin does not have IRQ capabilities"
|
||||
#~ msgstr "Pino não tem recursos de IRQ"
|
||||
|
||||
#~ msgid "row must be packed and word aligned"
|
||||
#~ msgstr "Linha deve ser comprimida e com as palavras alinhadas"
|
||||
|
||||
#~ msgid "scan failed"
|
||||
#~ msgstr "varredura falhou"
|
||||
|
||||
|
@ -212,6 +212,7 @@ SRC_C = \
|
||||
bindings/samd/__init__.c \
|
||||
boards/$(BOARD)/board.c \
|
||||
boards/$(BOARD)/pins.c \
|
||||
eic_handler.c \
|
||||
fatfs_port.c \
|
||||
freetouch/adafruit_ptc.c \
|
||||
lib/libc/string0.c \
|
||||
|
@ -16,6 +16,7 @@ CIRCUITPY_PEW = 1
|
||||
CIRCUITPY_ANALOGIO = 1
|
||||
CIRCUITPY_MATH = 1
|
||||
CIRCUITPY_NEOPIXEL_WRITE = 1
|
||||
CIRCUITPY_ROTARYIO = 0
|
||||
CIRCUITPY_RTC = 0
|
||||
CIRCUITPY_SAMD = 0
|
||||
CIRCUITPY_USB_MIDI = 0
|
||||
|
@ -13,6 +13,7 @@ LONGINT_IMPL = NONE
|
||||
CIRCUITPY_ANALOGIO = 0
|
||||
CIRCUITPY_MATH = 0
|
||||
CIRCUITPY_NEOPIXEL_WRITE = 0
|
||||
CIRCUITPY_ROTARYIO = 0
|
||||
CIRCUITPY_RTC = 0
|
||||
CIRCUITPY_SAMD = 0
|
||||
CIRCUITPY_USB_MIDI = 0
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include "hal/include/hal_gpio.h"
|
||||
|
||||
#include "background.h"
|
||||
#include "eic_handler.h"
|
||||
#include "mpconfigport.h"
|
||||
#include "py/gc.h"
|
||||
#include "py/runtime.h"
|
||||
@ -54,7 +55,8 @@ static void pulsein_set_config(pulseio_pulsein_obj_t* self, bool first_edge) {
|
||||
} else {
|
||||
sense_setting = EIC_CONFIG_SENSE0_RISE_Val;
|
||||
}
|
||||
turn_on_eic_channel(self->channel, sense_setting, EIC_HANDLER_PULSEIN);
|
||||
set_eic_handler(self->channel, EIC_HANDLER_PULSEIN);
|
||||
turn_on_eic_channel(self->channel, sense_setting);
|
||||
}
|
||||
|
||||
void pulsein_interrupt_handler(uint8_t channel) {
|
||||
@ -153,6 +155,7 @@ void common_hal_pulseio_pulsein_deinit(pulseio_pulsein_obj_t* self) {
|
||||
if (common_hal_pulseio_pulsein_deinited(self)) {
|
||||
return;
|
||||
}
|
||||
set_eic_handler(self->channel, EIC_HANDLER_NO_INTERRUPT);
|
||||
turn_off_eic_channel(self->channel);
|
||||
reset_pin_number(self->pin);
|
||||
self->pin = NO_PIN;
|
||||
|
@ -28,6 +28,7 @@
|
||||
|
||||
#include "atmel_start_pins.h"
|
||||
|
||||
#include "eic_handler.h"
|
||||
#include "samd/external_interrupts.h"
|
||||
#include "py/runtime.h"
|
||||
#include "supervisor/shared/translate.h"
|
||||
@ -76,8 +77,11 @@ void common_hal_rotaryio_incrementalencoder_construct(rotaryio_incrementalencode
|
||||
claim_pin(pin_a);
|
||||
claim_pin(pin_b);
|
||||
|
||||
turn_on_eic_channel(self->eic_channel_a, EIC_CONFIG_SENSE0_BOTH_Val, EIC_HANDLER_INCREMENTAL_ENCODER);
|
||||
turn_on_eic_channel(self->eic_channel_b, EIC_CONFIG_SENSE0_BOTH_Val, EIC_HANDLER_INCREMENTAL_ENCODER);
|
||||
set_eic_handler(self->eic_channel_a, EIC_HANDLER_INCREMENTAL_ENCODER);
|
||||
turn_on_eic_channel(self->eic_channel_a, EIC_CONFIG_SENSE0_BOTH_Val);
|
||||
|
||||
set_eic_handler(self->eic_channel_b, EIC_HANDLER_INCREMENTAL_ENCODER);
|
||||
turn_on_eic_channel(self->eic_channel_b, EIC_CONFIG_SENSE0_BOTH_Val);
|
||||
}
|
||||
|
||||
bool common_hal_rotaryio_incrementalencoder_deinited(rotaryio_incrementalencoder_obj_t* self) {
|
||||
@ -88,10 +92,16 @@ void common_hal_rotaryio_incrementalencoder_deinit(rotaryio_incrementalencoder_o
|
||||
if (common_hal_rotaryio_incrementalencoder_deinited(self)) {
|
||||
return;
|
||||
}
|
||||
|
||||
set_eic_handler(self->eic_channel_a, EIC_HANDLER_NO_INTERRUPT);
|
||||
turn_off_eic_channel(self->eic_channel_a);
|
||||
|
||||
set_eic_handler(self->eic_channel_b, EIC_HANDLER_NO_INTERRUPT);
|
||||
turn_off_eic_channel(self->eic_channel_b);
|
||||
|
||||
reset_pin_number(self->pin_a);
|
||||
self->pin_a = NO_PIN;
|
||||
|
||||
reset_pin_number(self->pin_b);
|
||||
self->pin_b = NO_PIN;
|
||||
}
|
||||
|
58
ports/atmel-samd/eic_handler.c
Normal file
58
ports/atmel-samd/eic_handler.c
Normal file
@ -0,0 +1,58 @@
|
||||
/*
|
||||
* This file is part of the MicroPython project, http://micropython.org/
|
||||
*
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2019 Dan Halbert 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 "common-hal/pulseio/PulseIn.h"
|
||||
#include "common-hal/rotaryio/IncrementalEncoder.h"
|
||||
#include "shared-bindings/microcontroller/__init__.h"
|
||||
//#include "samd/external_interrupts.h"
|
||||
#include "eic_handler.h"
|
||||
|
||||
// Which handler should be called for a particular channel?
|
||||
static uint8_t eic_channel_handler[EIC_EXTINT_NUM];
|
||||
|
||||
void set_eic_handler(uint8_t channel, uint8_t eic_handler) {
|
||||
eic_channel_handler[channel] = eic_handler;
|
||||
}
|
||||
|
||||
void shared_eic_handler(uint8_t channel) {
|
||||
uint8_t handler = eic_channel_handler[channel];
|
||||
switch (handler) {
|
||||
#if CIRCUITPY_PULSEIO
|
||||
case EIC_HANDLER_PULSEIN:
|
||||
pulsein_interrupt_handler(channel);
|
||||
break;
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_ROTARYIO
|
||||
case EIC_HANDLER_INCREMENTAL_ENCODER:
|
||||
incrementalencoder_interrupt_handler(channel);
|
||||
break;
|
||||
#endif
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
36
ports/atmel-samd/eic_handler.h
Normal file
36
ports/atmel-samd/eic_handler.h
Normal file
@ -0,0 +1,36 @@
|
||||
/*
|
||||
* This file is part of the MicroPython project, http://micropython.org/
|
||||
*
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2019 Dan Halbert 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_ATMEL_SAMD_EIC_HANDLER_H
|
||||
#define MICROPY_INCLUDED_ATMEL_SAMD_EIC_HANDLER_H
|
||||
|
||||
#define EIC_HANDLER_NO_INTERRUPT 0x0
|
||||
#define EIC_HANDLER_PULSEIN 0x1
|
||||
#define EIC_HANDLER_INCREMENTAL_ENCODER 0x2
|
||||
|
||||
void set_eic_handler(uint8_t channel, uint8_t eic_handler);
|
||||
void shared_eic_handler(uint8_t channel);
|
||||
|
||||
#endif // MICROPY_INCLUDED_ATMEL_SAMD_EIC_HANDLER_H
|
@ -1 +1 @@
|
||||
Subproject commit 6416828bb6821779d4c62fa3c7d41c95634173c0
|
||||
Subproject commit 778d4f3736728da7ba7795c5c44176c415c903cf
|
@ -360,6 +360,13 @@ extern const struct _mp_obj_module_t os_module;
|
||||
#define OS_MODULE_ALT_NAME
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_PEW
|
||||
extern const struct _mp_obj_module_t pew_module;
|
||||
#define PEW_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR__pew),(mp_obj_t)&pew_module },
|
||||
#else
|
||||
#define PEW_MODULE
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_PIXELBUF
|
||||
extern const struct _mp_obj_module_t pixelbuf_module;
|
||||
#define PIXELBUF_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR__pixelbuf),(mp_obj_t)&pixelbuf_module },
|
||||
@ -474,13 +481,6 @@ extern const struct _mp_obj_module_t ustack_module;
|
||||
#define USTACK_MODULE
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_PEW
|
||||
extern const struct _mp_obj_module_t pew_module;
|
||||
#define PEW_MODULE { MP_OBJ_NEW_QSTR(MP_QSTR__pew),(mp_obj_t)&pew_module },
|
||||
#else
|
||||
#define PEW_MODULE
|
||||
#endif
|
||||
|
||||
// These modules are not yet in shared-bindings, but we prefer the non-uxxx names.
|
||||
#if MICROPY_PY_UERRNO
|
||||
#define ERRNO_MODULE { MP_ROM_QSTR(MP_QSTR_errno), MP_ROM_PTR(&mp_module_uerrno) },
|
||||
@ -546,6 +546,7 @@ extern const struct _mp_obj_module_t pew_module;
|
||||
PULSEIO_MODULE \
|
||||
RANDOM_MODULE \
|
||||
RE_MODULE \
|
||||
ROTARYIO_MODULE \
|
||||
RTC_MODULE \
|
||||
SAMD_MODULE \
|
||||
STAGE_MODULE \
|
||||
|
@ -33,20 +33,21 @@
|
||||
void common_hal_displayio_bitmap_construct(displayio_bitmap_t *self, uint32_t width,
|
||||
uint32_t height, uint32_t bits_per_value) {
|
||||
uint32_t row_width = width * bits_per_value;
|
||||
// word align
|
||||
if (row_width % 32 != 0) {
|
||||
self->stride = (row_width / 32 + 1);
|
||||
// align to size_t
|
||||
uint8_t align_bits = 8 * sizeof(size_t);
|
||||
if (row_width % align_bits != 0) {
|
||||
self->stride = (row_width / align_bits + 1);
|
||||
} else {
|
||||
self->stride = row_width / 32;
|
||||
self->stride = row_width / align_bits;
|
||||
}
|
||||
self->width = width;
|
||||
self->height = height;
|
||||
self->data = m_malloc(self->stride * height * sizeof(uint32_t), false);
|
||||
self->data = m_malloc(self->stride * height * sizeof(size_t), false);
|
||||
self->read_only = false;
|
||||
self->bits_per_value = bits_per_value;
|
||||
|
||||
if (bits_per_value > 8) {
|
||||
mp_raise_NotImplementedError(translate("Only bit maps of 8 bit color or less are supported"));
|
||||
if (bits_per_value > 8 && bits_per_value != 16 && bits_per_value != 32) {
|
||||
mp_raise_NotImplementedError(translate("Invalid bits per value"));
|
||||
}
|
||||
|
||||
// Division and modulus can be slow because it has to handle any integer. We know bits_per_value
|
||||
@ -56,7 +57,7 @@ void common_hal_displayio_bitmap_construct(displayio_bitmap_t *self, uint32_t wi
|
||||
self->x_shift = 0; // Used to divide the index by the number of pixels per word. Its used in a
|
||||
// shift which effectively divides by 2 ** x_shift.
|
||||
uint32_t power_of_two = 1;
|
||||
while (power_of_two < 32 / bits_per_value ) {
|
||||
while (power_of_two < align_bits / bits_per_value ) {
|
||||
self->x_shift++;
|
||||
power_of_two <<= 1;
|
||||
}
|
||||
@ -76,41 +77,27 @@ uint32_t common_hal_displayio_bitmap_get_bits_per_value(displayio_bitmap_t *self
|
||||
return self->bits_per_value;
|
||||
}
|
||||
|
||||
void common_hal_displayio_bitmap_load_row(displayio_bitmap_t *self, uint16_t y, uint8_t* data, uint16_t len) {
|
||||
if (len != self->stride * sizeof(uint32_t)) {
|
||||
mp_raise_ValueError(translate("row must be packed and word aligned"));
|
||||
}
|
||||
uint32_t* row_value = self->data + (y * self->stride);
|
||||
// Do the memcpy ourselves since we may want to flip endianness.
|
||||
for (uint32_t i = 0; i < self->stride; i++) {
|
||||
#pragma GCC diagnostic push
|
||||
#pragma GCC diagnostic ignored "-Wcast-align"
|
||||
uint32_t value = ((uint32_t *)data)[i];
|
||||
#pragma GCC diagnostic pop
|
||||
if (self->bits_per_value < 16) {
|
||||
value = ((value >> 24) & 0xff) |
|
||||
((value << 8) & 0xff0000) |
|
||||
((value >> 8) & 0xff00) |
|
||||
((value << 24) & 0xff000000);
|
||||
}
|
||||
*row_value = value;
|
||||
row_value++;
|
||||
}
|
||||
}
|
||||
|
||||
uint32_t common_hal_displayio_bitmap_get_pixel(displayio_bitmap_t *self, int16_t x, int16_t y) {
|
||||
if (x >= self->width || x < 0 || y >= self->height || y < 0) {
|
||||
return 0;
|
||||
}
|
||||
int32_t row_start = y * self->stride;
|
||||
if (self->bits_per_value < 8) {
|
||||
uint32_t word = self->data[row_start + (x >> self->x_shift)];
|
||||
uint32_t bytes_per_value = self->bits_per_value / 8;
|
||||
if (bytes_per_value < 1) {
|
||||
size_t word = self->data[row_start + (x >> self->x_shift)];
|
||||
|
||||
return (word >> (32 - ((x & self->x_mask) + 1) * self->bits_per_value)) & self->bitmask;
|
||||
return (word >> (sizeof(size_t) * 8 - ((x & self->x_mask) + 1) * self->bits_per_value)) & self->bitmask;
|
||||
} else {
|
||||
uint32_t bytes_per_value = self->bits_per_value / 8;
|
||||
return self->data[row_start + x * bytes_per_value];
|
||||
size_t* row = self->data + row_start;
|
||||
if (bytes_per_value == 1) {
|
||||
return ((uint8_t*) row)[x];
|
||||
} else if (bytes_per_value == 2) {
|
||||
return ((uint16_t*) row)[x];
|
||||
} else if (bytes_per_value == 4) {
|
||||
return ((uint32_t*) row)[x];
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
void common_hal_displayio_bitmap_set_pixel(displayio_bitmap_t *self, int16_t x, int16_t y, uint32_t value) {
|
||||
@ -118,15 +105,22 @@ void common_hal_displayio_bitmap_set_pixel(displayio_bitmap_t *self, int16_t x,
|
||||
mp_raise_RuntimeError(translate("Read-only object"));
|
||||
}
|
||||
int32_t row_start = y * self->stride;
|
||||
if (self->bits_per_value < 8) {
|
||||
uint32_t bit_position = (32 - ((x & self->x_mask) + 1) * self->bits_per_value);
|
||||
uint32_t bytes_per_value = self->bits_per_value / 8;
|
||||
if (bytes_per_value < 1) {
|
||||
uint32_t bit_position = (sizeof(size_t) * 8 - ((x & self->x_mask) + 1) * self->bits_per_value);
|
||||
uint32_t index = row_start + (x >> self->x_shift);
|
||||
uint32_t word = self->data[index];
|
||||
word &= ~(self->bitmask << bit_position);
|
||||
word |= (value & self->bitmask) << bit_position;
|
||||
self->data[index] = word;
|
||||
} else {
|
||||
uint32_t bytes_per_value = self->bits_per_value / 8;
|
||||
self->data[row_start + x * bytes_per_value] = value;
|
||||
size_t* row = self->data + row_start;
|
||||
if (bytes_per_value == 1) {
|
||||
((uint8_t*) row)[x] = value;
|
||||
} else if (bytes_per_value == 2) {
|
||||
((uint16_t*) row)[x] = value;
|
||||
} else if (bytes_per_value == 4) {
|
||||
((uint32_t*) row)[x] = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -36,11 +36,11 @@ typedef struct {
|
||||
mp_obj_base_t base;
|
||||
uint16_t width;
|
||||
uint16_t height;
|
||||
uint32_t* data;
|
||||
uint16_t stride; // words
|
||||
size_t* data;
|
||||
uint16_t stride; // size_t's
|
||||
uint8_t bits_per_value;
|
||||
uint8_t x_shift;
|
||||
uint8_t x_mask;
|
||||
size_t x_mask;
|
||||
uint16_t bitmask;
|
||||
bool read_only;
|
||||
} displayio_bitmap_t;
|
||||
|
@ -34,7 +34,7 @@
|
||||
#include "shared-bindings/displayio/TileGrid.h"
|
||||
#include "supervisor/memory.h"
|
||||
|
||||
extern uint32_t blinka_bitmap_data[];
|
||||
extern size_t blinka_bitmap_data[];
|
||||
extern displayio_bitmap_t blinka_bitmap;
|
||||
extern displayio_group_t circuitpython_splash;
|
||||
|
||||
@ -107,7 +107,7 @@ void supervisor_display_move_memory(void) {
|
||||
#endif
|
||||
}
|
||||
|
||||
uint32_t blinka_bitmap_data[32] = {
|
||||
size_t blinka_bitmap_data[32] = {
|
||||
0x00000011, 0x11000000,
|
||||
0x00000111, 0x53100000,
|
||||
0x00000111, 0x56110000,
|
||||
|
@ -153,7 +153,7 @@ const displayio_bitmap_t supervisor_terminal_font_bitmap = {{
|
||||
.base = {{.type = &displayio_bitmap_type }},
|
||||
.width = {},
|
||||
.height = {},
|
||||
.data = (uint32_t*) font_bitmap_data,
|
||||
.data = (size_t*) font_bitmap_data,
|
||||
.stride = {},
|
||||
.bits_per_value = 1,
|
||||
.x_shift = 5,
|
||||
|
Loading…
Reference in New Issue
Block a user