From d103ac1d6325a075be3fafe812858584435f3144 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Sun, 12 May 2019 00:10:53 -0400 Subject: [PATCH 1/2] Handle truth values; speed up smallint checks --- py/binary.c | 8 ++++++-- py/objint.c | 45 ++++++++++++++++++++++++++++++++++++++++++--- py/objint.h | 5 +++++ 3 files changed, 53 insertions(+), 5 deletions(-) diff --git a/py/binary.c b/py/binary.c index 0e4a1d5f6d60..6b46425cfb14 100644 --- a/py/binary.c +++ b/py/binary.c @@ -308,6 +308,7 @@ void mp_binary_set_val(char struct_type, char val_type, mp_obj_t val_in, byte ** bool signed_type = is_signed(val_type); #if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE if (MP_OBJ_IS_TYPE(val_in, &mp_type_int)) { + // It's a longint. mp_obj_int_buffer_overflow_check(val_in, size, signed_type); mp_obj_int_to_bytes_impl(val_in, struct_type == '>', size, p); return; @@ -315,7 +316,8 @@ void mp_binary_set_val(char struct_type, char val_type, mp_obj_t val_in, byte ** #endif { val = mp_obj_get_int(val_in); - mp_obj_int_buffer_overflow_check(val_in, size, signed_type); + // Small int checking is separate, to be fast. + mp_small_int_buffer_overflow_check(val, size, signed_type); // zero/sign extend if needed if (BYTES_PER_WORD < 8 && size > sizeof(val)) { int c = (is_signed(val_type) && (mp_int_t)val < 0) ? 0xff : 0x00; @@ -353,6 +355,7 @@ void mp_binary_set_val_array(char typecode, void *p, mp_uint_t index, mp_obj_t v #if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE if (MP_OBJ_IS_TYPE(val_in, &mp_type_int)) { + // It's a long int. mp_obj_int_buffer_overflow_check(val_in, size, signed_type); mp_obj_int_to_bytes_impl(val_in, MP_ENDIANNESS_BIG, size, (uint8_t*)p + index * size); @@ -360,7 +363,8 @@ void mp_binary_set_val_array(char typecode, void *p, mp_uint_t index, mp_obj_t v } #endif mp_int_t val = mp_obj_get_int(val_in); - mp_obj_int_buffer_overflow_check(val_in, size, signed_type); + // Small int checking is separate, to be fast. + mp_small_int_buffer_overflow_check(val, size, signed_type); mp_binary_set_val_array_from_int(typecode, p, index, val); } } diff --git a/py/objint.c b/py/objint.c index 80f6dfe55371..3b3a3d9c0bc2 100644 --- a/py/objint.c +++ b/py/objint.c @@ -300,6 +300,8 @@ char *mp_obj_int_formatted(char **buf, size_t *buf_size, size_t *fmt_size, mp_co return b; } +#if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE + void mp_obj_int_buffer_overflow_check(mp_obj_t self_in, size_t nbytes, bool is_signed) { if (is_signed) { @@ -329,7 +331,43 @@ void mp_obj_int_buffer_overflow_check(mp_obj_t self_in, size_t nbytes, bool is_s } } - mp_raise_OverflowError_varg(translate("value would overflow a %d byte buffer"), nbytes); + mp_raise_OverflowError_varg(translate("value must fit in %d byte(s)"), nbytes); +} + +#endif // MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE + +void mp_small_int_buffer_overflow_check(mp_int_t val, size_t nbytes, bool is_signed) { + // Fast path for zero. + if (val == 0) return; + if (!is_signed) { + if (val >= 0) { + // Using signed constants here, not UINT8_MAX, etc. to avoid any unintended conversions. + if (val <= 0xff) return; // Small values fit in any number of nbytes. + if (nbytes == 2 && val <= 0xffff) return; +#if !defined(__LP64__) + // 32-bit ints and pointers + if (nbytes >= 4) return; // Any mp_int_t will fit. +#else + // 64-bit ints and pointers + if (nbytes == 4 && val <= 0xffffffff) return; + if (nbytes >= 8) return; // Any mp_int_t will fit. +#endif + } // Negative, fall through to failure. + } else { + // signed + if (val >= INT8_MIN && val <= INT8_MAX) return; // Small values fit in any number of nbytes. + if (nbytes == 2 && val >= INT16_MIN && val <= INT16_MAX) return; +#if !defined(__LP64__) + // 32-bit ints and pointers + if (nbytes >= 4) return; // Any mp_int_t will fit. +#else + // 64-bit ints and pointers + if (nbytes == 4 && val >= INT32_MIN && val <= INT32_MAX) return; + if (nbytes >= 8) return; // Any mp_int_t will fit. +#endif + } // Fall through to failure. + + mp_raise_OverflowError_varg(translate("value must fit in %d byte(s)"), nbytes); } #if MICROPY_LONGINT_IMPL == MICROPY_LONGINT_IMPL_NONE @@ -467,15 +505,16 @@ STATIC mp_obj_t int_to_bytes(size_t n_args, const mp_obj_t *args) { byte *data = (byte*)vstr.buf; memset(data, 0, len); - mp_obj_int_buffer_overflow_check(args[0], len, false); - #if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE if (!MP_OBJ_IS_SMALL_INT(args[0])) { + mp_obj_int_buffer_overflow_check(args[0], len, false); mp_obj_int_to_bytes_impl(args[0], big_endian, len, data); } else #endif { mp_int_t val = MP_OBJ_SMALL_INT_VALUE(args[0]); + // Small int checking is separate, to be fast. + mp_small_int_buffer_overflow_check(val, len, false); size_t l = MIN((size_t)len, sizeof(val)); mp_binary_set_int(l, big_endian, data + (big_endian ? (len - l) : 0), val); } diff --git a/py/objint.h b/py/objint.h index 654404ac98b9..e8c9bc3e0632 100644 --- a/py/objint.h +++ b/py/objint.h @@ -53,7 +53,12 @@ char *mp_obj_int_formatted(char **buf, size_t *buf_size, size_t *fmt_size, mp_co int base, const char *prefix, char base_char, char comma); char *mp_obj_int_formatted_impl(char **buf, size_t *buf_size, size_t *fmt_size, mp_const_obj_t self_in, int base, const char *prefix, char base_char, char comma); +#if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE void mp_obj_int_buffer_overflow_check(mp_obj_t self_in, size_t nbytes, bool is_signed); +#endif + +void mp_small_int_buffer_overflow_check(mp_int_t val, size_t nbytes, bool is_signed); + mp_int_t mp_obj_int_hash(mp_obj_t self_in); mp_obj_t mp_obj_int_from_bytes_impl(bool big_endian, size_t len, const byte *buf); void mp_obj_int_to_bytes_impl(mp_obj_t self_in, bool big_endian, size_t len, byte *buf); From 8664a6574b4cb448df26bfaa0e12eb203cc5d759 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Sun, 12 May 2019 11:17:29 -0400 Subject: [PATCH 2/2] use approx of original @godlygeek code for smallints; add tests --- locale/ID.po | 82 ++++++++--------- locale/circuitpython.pot | 80 ++++++++--------- locale/de_DE.po | 82 ++++++++--------- locale/en_US.po | 82 ++++++++--------- locale/en_x_pirate.po | 82 ++++++++--------- locale/es.po | 87 +++++++++---------- locale/fil.po | 82 ++++++++--------- locale/fr.po | 82 ++++++++--------- locale/it_IT.po | 82 ++++++++--------- locale/pl.po | 82 ++++++++--------- locale/pt_BR.po | 82 ++++++++--------- locale/zh_Latn_pinyin.po | 82 ++++++++--------- py/objint.c | 56 ++++++------ ...y_overflow.py => bigint_array_overflow.py} | 7 -- tests/basics/int_bytes.py | 2 + tests/basics/smallint_array_overflow.py | 52 +++++++++++ 16 files changed, 575 insertions(+), 529 deletions(-) rename tests/basics/{array_overflow.py => bigint_array_overflow.py} (80%) create mode 100644 tests/basics/smallint_array_overflow.py diff --git a/locale/ID.po b/locale/ID.po index 551c253c7450..787d2336d30f 100644 --- a/locale/ID.po +++ b/locale/ID.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-09 01:06-0400\n" +"POT-Creation-Date: 2019-05-12 09:42-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -52,7 +52,7 @@ msgstr "" msgid "%q indices must be integers, not %s" msgstr "" -#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c +#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c #: shared-bindings/bleio/CharacteristicBuffer.c #, fuzzy msgid "%q must be >= 1" @@ -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" @@ -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/pulseio/PulseOut.c #: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/audioio/AudioOut.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" @@ -326,7 +326,7 @@ msgstr "" msgid "Buffer incorrect size. Should be %d bytes." msgstr "" -#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c +#: shared-bindings/busio/I2C.c shared-bindings/bitbangio/I2C.c msgid "Buffer must be at least length 1" msgstr "" @@ -366,7 +366,7 @@ msgstr "" msgid "Can't connect in Peripheral mode" msgstr "" -#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c msgid "Cannot delete values" msgstr "" @@ -452,7 +452,7 @@ msgstr "Clock unit sedang digunakan" msgid "Column entry must be digitalio.DigitalInOut" msgstr "" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Command must be an int between 0 and 255" msgstr "" @@ -490,8 +490,8 @@ msgstr "" msgid "Data chunk must follow fmt chunk" msgstr "" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy msgid "Data too large for advertisement packet" msgstr "Tidak bisa menyesuaikan data ke dalam paket advertisment" @@ -513,8 +513,8 @@ msgstr "" msgid "Drive mode not used when direction is input." msgstr "" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "EXTINT channel already in use" msgstr "Channel EXTINT sedang digunakan" @@ -522,8 +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/microcontroller/Pin.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/neopixel_write/__init__.c #: shared-bindings/terminalio/Terminal.c msgid "Expected a %q" msgstr "" @@ -532,8 +532,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 "" @@ -657,8 +657,8 @@ msgstr "Gagal untuk melepaskan mutex, status: 0x%08lX" msgid "Failed to start advertising" msgstr "Gagal untuk memulai advertisement, status: 0x%08lX" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy, c-format msgid "Failed to start advertising, err 0x%04x" msgstr "Gagal untuk memulai advertisement, status: 0x%08lX" @@ -678,8 +678,8 @@ msgstr "Gagal untuk melakukan scanning, status: 0x%08lX" msgid "Failed to stop advertising" msgstr "Gagal untuk memberhentikan advertisement, status: 0x%08lX" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy, c-format msgid "Failed to stop advertising, err 0x%04x" msgstr "Gagal untuk memberhentikan advertisement, status: 0x%08lX" @@ -720,8 +720,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/I2C.c shared-bindings/bitbangio/SPI.c msgid "Function requires lock" msgstr "" @@ -751,8 +751,8 @@ msgstr "" msgid "Input/output error" msgstr "" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Invalid %q pin" msgstr "%q pada tidak valid" @@ -797,16 +797,16 @@ msgstr "" msgid "Invalid format chunk size" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid number of bits" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid phase" msgstr "" -#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: ports/atmel-samd/common-hal/touchio/TouchIn.c +#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: shared-bindings/pulseio/PWMOut.c msgid "Invalid pin" msgstr "Pin tidak valid" @@ -827,7 +827,7 @@ msgstr "Pin untuk channel kanan tidak valid" msgid "Invalid pins" msgstr "Pin-pin tidak valid" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid polarity" msgstr "" @@ -928,8 +928,8 @@ msgstr "Tidak ada GCLK yang kosong" msgid "No hardware random available" msgstr "" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "No hardware support on pin" msgstr "Tidak ada dukungan hardware untuk pin" @@ -1076,8 +1076,8 @@ msgstr "" msgid "Sample rate too high. It must be less than %d" msgstr "Nilai sampel terlalu tinggi. Nilai harus kurang dari %d" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Serializer in use" msgstr "Serializer sedang digunakan" @@ -1085,8 +1085,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/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c +#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c msgid "Slices not supported" msgstr "" @@ -1175,7 +1175,7 @@ msgstr "Untuk keluar, silahkan reset board tanpa " msgid "Too many channels in sample." msgstr "Terlalu banyak channel dalam sampel" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Too many display busses" msgstr "" @@ -1216,8 +1216,8 @@ msgstr "" msgid "Unable to allocate buffers for signed conversion" msgstr "Tidak dapat mengalokasikan buffer untuk signed conversion" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Unable to find free GCLK" msgstr "Tidak dapat menemukan GCLK yang kosong" @@ -1345,8 +1345,8 @@ msgstr "" msgid "argument has wrong type" msgstr "" -#: py/argcheck.c shared-bindings/_stage/__init__.c -#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c +#: py/argcheck.c shared-bindings/gamepad/GamePad.c +#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c msgid "argument num/types mismatch" msgstr "argumen num/types tidak cocok" @@ -1416,7 +1416,7 @@ msgstr "" msgid "buffer size must match format" msgstr "buffers harus mempunyai panjang yang sama" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "buffer slices must be of equal length" msgstr "" @@ -1700,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/objfloat.c py/runtime.c py/modmath.c py/objint_longlong.c py/objint_mpz.c #: shared-bindings/math/__init__.c msgid "division by zero" msgstr "" @@ -1770,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 "" @@ -1943,7 +1943,7 @@ msgstr "micropython decorator tidak valid" msgid "invalid step" msgstr "" -#: py/compile.c py/parse.c +#: py/parse.c py/compile.c msgid "invalid syntax" msgstr "syntax tidak valid" @@ -1980,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 "" @@ -2087,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_longlong.c py/objint_mpz.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,7 +2198,7 @@ msgstr "panjang data string memiliki keganjilan (odd-length)" msgid "offset out of bounds" msgstr "modul tidak ditemukan" -#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c +#: py/objstr.c py/objarray.c py/objstrunicode.c py/objtuple.c #: shared-bindings/nvm/ByteArray.c msgid "only slices with step=1 (aka None) are supported" msgstr "" @@ -2348,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 "" @@ -2588,7 +2588,7 @@ msgstr "" #: py/objint.c #, c-format -msgid "value would overflow a %d byte buffer" +msgid "value must fit in %d byte(s)" msgstr "" #: shared-bindings/displayio/Bitmap.c diff --git a/locale/circuitpython.pot b/locale/circuitpython.pot index 758ee841e088..52a3ece35b14 100644 --- a/locale/circuitpython.pot +++ b/locale/circuitpython.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-10 10:09-0700\n" +"POT-Creation-Date: 2019-05-12 11:16-0400\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -52,8 +52,8 @@ msgstr "" msgid "%q indices must be integers, not %s" msgstr "" +#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c #: shared-bindings/bleio/CharacteristicBuffer.c -#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c msgid "%q must be >= 1" 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 "" @@ -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/frequencyio/FrequencyIn.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" @@ -322,7 +322,7 @@ msgstr "" msgid "Buffer incorrect size. Should be %d bytes." msgstr "" -#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c +#: shared-bindings/busio/I2C.c shared-bindings/bitbangio/I2C.c msgid "Buffer must be at least length 1" msgstr "" @@ -361,7 +361,7 @@ msgstr "" msgid "Can't connect in Peripheral mode" msgstr "" -#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c msgid "Cannot delete values" msgstr "" @@ -442,7 +442,7 @@ msgstr "" msgid "Column entry must be digitalio.DigitalInOut" msgstr "" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Command must be an int between 0 and 255" msgstr "" @@ -480,8 +480,8 @@ msgstr "" msgid "Data chunk must follow fmt chunk" msgstr "" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c msgid "Data too large for advertisement packet" msgstr "" @@ -501,8 +501,8 @@ msgstr "" msgid "Drive mode not used when direction is input." msgstr "" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "EXTINT channel already in use" msgstr "" @@ -510,8 +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/microcontroller/Pin.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/neopixel_write/__init__.c #: shared-bindings/terminalio/Terminal.c msgid "Expected a %q" msgstr "" @@ -520,8 +520,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 "" @@ -634,8 +634,8 @@ msgstr "" msgid "Failed to start advertising" msgstr "" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, c-format msgid "Failed to start advertising, err 0x%04x" msgstr "" @@ -653,8 +653,8 @@ msgstr "" msgid "Failed to stop advertising" msgstr "" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, c-format msgid "Failed to stop advertising, err 0x%04x" msgstr "" @@ -695,8 +695,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/I2C.c shared-bindings/bitbangio/SPI.c msgid "Function requires lock" msgstr "" @@ -772,16 +772,16 @@ msgstr "" msgid "Invalid format chunk size" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid number of bits" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid phase" msgstr "" -#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: ports/atmel-samd/common-hal/touchio/TouchIn.c +#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: shared-bindings/pulseio/PWMOut.c msgid "Invalid pin" msgstr "" @@ -802,7 +802,7 @@ msgstr "" msgid "Invalid pins" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid polarity" msgstr "" @@ -903,8 +903,8 @@ msgstr "" msgid "No hardware random available" msgstr "" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "No hardware support on pin" msgstr "" @@ -1055,8 +1055,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/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c +#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c msgid "Slices not supported" msgstr "" @@ -1142,7 +1142,7 @@ msgstr "" msgid "Too many channels in sample." msgstr "" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Too many display busses" msgstr "" @@ -1302,8 +1302,8 @@ msgstr "" msgid "argument has wrong type" msgstr "" -#: py/argcheck.c shared-bindings/_stage/__init__.c -#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c +#: py/argcheck.c shared-bindings/gamepad/GamePad.c +#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c msgid "argument num/types mismatch" msgstr "" @@ -1372,7 +1372,7 @@ msgstr "" msgid "buffer size must match format" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "buffer slices must be of equal length" msgstr "" @@ -1656,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/objfloat.c py/runtime.c py/modmath.c py/objint_longlong.c py/objint_mpz.c #: shared-bindings/math/__init__.c msgid "division by zero" msgstr "" @@ -1665,7 +1665,7 @@ msgstr "" msgid "empty" msgstr "" -#: extmod/moduheapq.c extmod/modutimeq.c +#: extmod/modutimeq.c extmod/moduheapq.c msgid "empty heap" msgstr "" @@ -1726,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 "" @@ -1899,7 +1899,7 @@ msgstr "" msgid "invalid step" msgstr "" -#: py/compile.c py/parse.c +#: py/parse.c py/compile.c msgid "invalid syntax" msgstr "" @@ -1936,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 "" @@ -2042,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_longlong.c py/objint_mpz.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 "" @@ -2152,7 +2152,7 @@ msgstr "" msgid "offset out of bounds" msgstr "" -#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c +#: py/objstr.c py/objarray.c py/objstrunicode.c py/objtuple.c #: shared-bindings/nvm/ByteArray.c msgid "only slices with step=1 (aka None) are supported" msgstr "" @@ -2302,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 "" @@ -2541,7 +2541,7 @@ msgstr "" #: py/objint.c #, c-format -msgid "value would overflow a %d byte buffer" +msgid "value must fit in %d byte(s)" msgstr "" #: shared-bindings/displayio/Bitmap.c diff --git a/locale/de_DE.po b/locale/de_DE.po index 7b6687a203ea..401e47b9f0e4 100644 --- a/locale/de_DE.po +++ b/locale/de_DE.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-09 01:06-0400\n" +"POT-Creation-Date: 2019-05-12 09:42-0400\n" "PO-Revision-Date: 2018-07-27 11:55-0700\n" "Last-Translator: Pascal Deneaux\n" "Language-Team: Sebastian Plamauer, Pascal Deneaux\n" @@ -54,7 +54,7 @@ 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/displayio/Group.c shared-bindings/displayio/Shape.c +#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c #: shared-bindings/bleio/CharacteristicBuffer.c msgid "%q must be >= 1" msgstr "%q muss >= 1 sein" @@ -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" @@ -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/pulseio/PulseOut.c #: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/audioio/AudioOut.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" @@ -326,7 +326,7 @@ msgstr "Die Helligkeit ist nicht einstellbar" msgid "Buffer incorrect size. Should be %d bytes." msgstr "Der Puffergröße ist inkorrekt. Sie sollte %d bytes haben." -#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c +#: shared-bindings/busio/I2C.c shared-bindings/bitbangio/I2C.c msgid "Buffer must be at least length 1" msgstr "Der Puffer muss eine Mindestenslänge von 1 haben" @@ -365,7 +365,7 @@ msgstr "Im Central mode kann name nicht geändert werden" msgid "Can't connect in Peripheral mode" msgstr "Im Peripheral mode kann keine Verbindung hergestellt werden" -#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c msgid "Cannot delete values" msgstr "Kann Werte nicht löschen" @@ -446,7 +446,7 @@ msgstr "Clock unit wird benutzt" msgid "Column entry must be digitalio.DigitalInOut" msgstr "" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Command must be an int between 0 and 255" msgstr "Der Befehl muss ein int zwischen 0 und 255 sein" @@ -484,8 +484,8 @@ msgstr "Data 0 pin muss am Byte ausgerichtet sein" msgid "Data chunk must follow fmt chunk" msgstr "" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c msgid "Data too large for advertisement packet" msgstr "Zu vielen Daten für das advertisement packet" @@ -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/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "EXTINT channel already in use" msgstr "EXTINT Kanal ist schon in Benutzung" @@ -514,8 +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/microcontroller/Pin.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/neopixel_write/__init__.c #: shared-bindings/terminalio/Terminal.c msgid "Expected a %q" msgstr "Erwartet ein(e) %q" @@ -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/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" @@ -638,8 +638,8 @@ msgstr "Mutex konnte nicht freigegeben werden. Status: 0x%04x" msgid "Failed to start advertising" msgstr "Kann advertisement nicht starten" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, c-format msgid "Failed to start advertising, err 0x%04x" msgstr "Kann advertisement nicht starten. Status: 0x%04x" @@ -657,8 +657,8 @@ msgstr "Der Scanvorgang kann nicht gestartet werden. Status: 0x%04x" msgid "Failed to stop advertising" msgstr "Kann advertisement nicht stoppen" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, c-format msgid "Failed to stop advertising, err 0x%04x" msgstr "Kann advertisement nicht stoppen. Status: 0x%04x" @@ -699,8 +699,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/I2C.c shared-bindings/bitbangio/SPI.c msgid "Function requires lock" msgstr "Die Funktion erwartet, dass der 'lock'-Befehl zuvor ausgeführt wurde" @@ -732,8 +732,8 @@ msgstr "" msgid "Input/output error" msgstr "Eingabe-/Ausgabefehler" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Invalid %q pin" msgstr "Ungültiger %q pin" @@ -778,16 +778,16 @@ msgstr "Ungültige Datei" msgid "Invalid format chunk size" msgstr "Ungültige format chunk size" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid number of bits" msgstr "Ungültige Anzahl von Bits" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid phase" msgstr "Ungültige Phase" -#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: ports/atmel-samd/common-hal/touchio/TouchIn.c +#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: shared-bindings/pulseio/PWMOut.c msgid "Invalid pin" msgstr "Ungültiger Pin" @@ -808,7 +808,7 @@ msgstr "Ungültiger Pin für rechten Kanal" msgid "Invalid pins" msgstr "Ungültige Pins" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid polarity" msgstr "Ungültige Polarität" @@ -916,8 +916,8 @@ msgstr "Keine freien GCLKs" msgid "No hardware random available" msgstr "Kein hardware random verfügbar" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "No hardware support on pin" msgstr "Keine Hardwareunterstützung an diesem Pin" @@ -1063,8 +1063,8 @@ msgstr "Abtastrate muss positiv sein" msgid "Sample rate too high. It must be less than %d" msgstr "Abtastrate zu hoch. Wert muss unter %d liegen" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Serializer in use" msgstr "Serializer wird benutzt" @@ -1072,8 +1072,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/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c +#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c msgid "Slices not supported" msgstr "Slices werden nicht unterstützt" @@ -1171,7 +1171,7 @@ msgstr "Zum beenden, resette bitte das board ohne " msgid "Too many channels in sample." msgstr "Zu viele Kanäle im sample" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Too many display busses" msgstr "" @@ -1212,8 +1212,8 @@ msgstr "Der UUID-Wert ist kein str-, int- oder Byte-Puffer" msgid "Unable to allocate buffers for signed conversion" msgstr "Konnte keine Buffer für Vorzeichenumwandlung allozieren" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Unable to find free GCLK" msgstr "Konnte keinen freien GCLK finden" @@ -1342,8 +1342,8 @@ msgstr "arg ist eine leere Sequenz" msgid "argument has wrong type" msgstr "Argument hat falschen Typ" -#: py/argcheck.c shared-bindings/_stage/__init__.c -#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c +#: py/argcheck.c shared-bindings/gamepad/GamePad.c +#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c msgid "argument num/types mismatch" msgstr "Anzahl/Type der Argumente passen nicht" @@ -1412,7 +1412,7 @@ msgstr "Puffer muss ein bytes-artiges Objekt sein" msgid "buffer size must match format" msgstr "Die Puffergröße muss zum Format passen" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "buffer slices must be of equal length" msgstr "Puffersegmente müssen gleich lang sein" @@ -1696,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/objfloat.c py/runtime.c py/modmath.c py/objint_longlong.c py/objint_mpz.c #: shared-bindings/math/__init__.c msgid "division by zero" msgstr "Division durch Null" @@ -1766,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" @@ -1940,7 +1940,7 @@ msgstr "ungültiger micropython decorator" msgid "invalid step" msgstr "ungültiger Schritt (step)" -#: py/compile.c py/parse.c +#: py/parse.c py/compile.c msgid "invalid syntax" msgstr "ungültige Syntax" @@ -1981,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" @@ -2089,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_longlong.c py/objint_mpz.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 "" @@ -2199,7 +2199,7 @@ msgstr "String mit ungerader Länge" msgid "offset out of bounds" msgstr "offset außerhalb der Grenzen" -#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c +#: py/objstr.c py/objarray.c py/objstrunicode.c py/objtuple.c #: shared-bindings/nvm/ByteArray.c msgid "only slices with step=1 (aka None) are supported" msgstr "" @@ -2353,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" @@ -2597,7 +2597,7 @@ msgstr "nicht unterstützte Typen für %q: '%s', '%s'" #: py/objint.c #, c-format -msgid "value would overflow a %d byte buffer" +msgid "value must fit in %d byte(s)" msgstr "" #: shared-bindings/displayio/Bitmap.c diff --git a/locale/en_US.po b/locale/en_US.po index 67a22556196c..fd6ccf8c29aa 100644 --- a/locale/en_US.po +++ b/locale/en_US.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-09 01:06-0400\n" +"POT-Creation-Date: 2019-05-12 09:42-0400\n" "PO-Revision-Date: 2018-07-27 11:55-0700\n" "Last-Translator: \n" "Language-Team: \n" @@ -52,7 +52,7 @@ msgstr "" msgid "%q indices must be integers, not %s" msgstr "" -#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c +#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c #: shared-bindings/bleio/CharacteristicBuffer.c msgid "%q must be >= 1" 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 "" @@ -251,9 +251,9 @@ msgstr "" msgid "All timers for this pin are in use" msgstr "" +#: ports/atmel-samd/common-hal/pulseio/PulseOut.c #: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/audioio/AudioOut.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" @@ -322,7 +322,7 @@ msgstr "" msgid "Buffer incorrect size. Should be %d bytes." msgstr "" -#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c +#: shared-bindings/busio/I2C.c shared-bindings/bitbangio/I2C.c msgid "Buffer must be at least length 1" msgstr "" @@ -361,7 +361,7 @@ msgstr "" msgid "Can't connect in Peripheral mode" msgstr "" -#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c msgid "Cannot delete values" msgstr "" @@ -442,7 +442,7 @@ msgstr "" msgid "Column entry must be digitalio.DigitalInOut" msgstr "" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Command must be an int between 0 and 255" msgstr "" @@ -480,8 +480,8 @@ msgstr "" msgid "Data chunk must follow fmt chunk" msgstr "" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c msgid "Data too large for advertisement packet" msgstr "" @@ -501,8 +501,8 @@ msgstr "" msgid "Drive mode not used when direction is input." msgstr "" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "EXTINT channel already in use" msgstr "" @@ -510,8 +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/microcontroller/Pin.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/neopixel_write/__init__.c #: shared-bindings/terminalio/Terminal.c msgid "Expected a %q" msgstr "" @@ -520,8 +520,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 "" @@ -634,8 +634,8 @@ msgstr "" msgid "Failed to start advertising" msgstr "" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, c-format msgid "Failed to start advertising, err 0x%04x" msgstr "" @@ -653,8 +653,8 @@ msgstr "" msgid "Failed to stop advertising" msgstr "" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, c-format msgid "Failed to stop advertising, err 0x%04x" msgstr "" @@ -695,8 +695,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/I2C.c shared-bindings/bitbangio/SPI.c msgid "Function requires lock" msgstr "" @@ -726,8 +726,8 @@ msgstr "" msgid "Input/output error" msgstr "" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Invalid %q pin" msgstr "" @@ -772,16 +772,16 @@ msgstr "" msgid "Invalid format chunk size" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid number of bits" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid phase" msgstr "" -#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: ports/atmel-samd/common-hal/touchio/TouchIn.c +#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: shared-bindings/pulseio/PWMOut.c msgid "Invalid pin" msgstr "" @@ -802,7 +802,7 @@ msgstr "" msgid "Invalid pins" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid polarity" msgstr "" @@ -903,8 +903,8 @@ msgstr "" msgid "No hardware random available" msgstr "" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "No hardware support on pin" msgstr "" @@ -1046,8 +1046,8 @@ msgstr "" msgid "Sample rate too high. It must be less than %d" msgstr "" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Serializer in use" msgstr "" @@ -1055,8 +1055,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/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c +#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c msgid "Slices not supported" msgstr "" @@ -1142,7 +1142,7 @@ msgstr "" msgid "Too many channels in sample." msgstr "" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Too many display busses" msgstr "" @@ -1183,8 +1183,8 @@ msgstr "" msgid "Unable to allocate buffers for signed conversion" msgstr "" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Unable to find free GCLK" msgstr "" @@ -1302,8 +1302,8 @@ msgstr "" msgid "argument has wrong type" msgstr "" -#: py/argcheck.c shared-bindings/_stage/__init__.c -#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c +#: py/argcheck.c shared-bindings/gamepad/GamePad.c +#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c msgid "argument num/types mismatch" msgstr "" @@ -1372,7 +1372,7 @@ msgstr "" msgid "buffer size must match format" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "buffer slices must be of equal length" msgstr "" @@ -1656,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/objfloat.c py/runtime.c py/modmath.c py/objint_longlong.c py/objint_mpz.c #: shared-bindings/math/__init__.c msgid "division by zero" msgstr "" @@ -1726,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 "" @@ -1899,7 +1899,7 @@ msgstr "" msgid "invalid step" msgstr "" -#: py/compile.c py/parse.c +#: py/parse.c py/compile.c msgid "invalid syntax" msgstr "" @@ -1936,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 "" @@ -2042,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_longlong.c py/objint_mpz.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 "" @@ -2152,7 +2152,7 @@ msgstr "" msgid "offset out of bounds" msgstr "" -#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c +#: py/objstr.c py/objarray.c py/objstrunicode.c py/objtuple.c #: shared-bindings/nvm/ByteArray.c msgid "only slices with step=1 (aka None) are supported" msgstr "" @@ -2302,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 "" @@ -2541,7 +2541,7 @@ msgstr "" #: py/objint.c #, c-format -msgid "value would overflow a %d byte buffer" +msgid "value must fit in %d byte(s)" msgstr "" #: shared-bindings/displayio/Bitmap.c diff --git a/locale/en_x_pirate.po b/locale/en_x_pirate.po index 01286bf0c8ab..140bd861a910 100644 --- a/locale/en_x_pirate.po +++ b/locale/en_x_pirate.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-09 01:06-0400\n" +"POT-Creation-Date: 2019-05-12 09:42-0400\n" "PO-Revision-Date: 2018-07-27 11:55-0700\n" "Last-Translator: \n" "Language-Team: @sommersoft, @MrCertainly\n" @@ -54,7 +54,7 @@ msgstr "" msgid "%q indices must be integers, not %s" msgstr "" -#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c +#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c #: shared-bindings/bleio/CharacteristicBuffer.c msgid "%q must be >= 1" 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 "" @@ -253,9 +253,9 @@ msgstr "" msgid "All timers for this pin are in use" msgstr "" +#: ports/atmel-samd/common-hal/pulseio/PulseOut.c #: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/audioio/AudioOut.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" @@ -326,7 +326,7 @@ msgstr "" msgid "Buffer incorrect size. Should be %d bytes." msgstr "" -#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c +#: shared-bindings/busio/I2C.c shared-bindings/bitbangio/I2C.c msgid "Buffer must be at least length 1" msgstr "" @@ -365,7 +365,7 @@ msgstr "" msgid "Can't connect in Peripheral mode" msgstr "" -#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c msgid "Cannot delete values" msgstr "" @@ -446,7 +446,7 @@ msgstr "" msgid "Column entry must be digitalio.DigitalInOut" msgstr "" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Command must be an int between 0 and 255" msgstr "" @@ -484,8 +484,8 @@ msgstr "" msgid "Data chunk must follow fmt chunk" msgstr "" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c msgid "Data too large for advertisement packet" msgstr "" @@ -505,8 +505,8 @@ msgstr "" msgid "Drive mode not used when direction is input." msgstr "" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "EXTINT channel already in use" msgstr "Avast! EXTINT channel already in use" @@ -514,8 +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/microcontroller/Pin.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/neopixel_write/__init__.c #: shared-bindings/terminalio/Terminal.c msgid "Expected a %q" msgstr "" @@ -524,8 +524,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 "" @@ -638,8 +638,8 @@ msgstr "" msgid "Failed to start advertising" msgstr "" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, c-format msgid "Failed to start advertising, err 0x%04x" msgstr "" @@ -657,8 +657,8 @@ msgstr "" msgid "Failed to stop advertising" msgstr "" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, c-format msgid "Failed to stop advertising, err 0x%04x" msgstr "" @@ -699,8 +699,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/I2C.c shared-bindings/bitbangio/SPI.c msgid "Function requires lock" msgstr "" @@ -730,8 +730,8 @@ msgstr "" msgid "Input/output error" msgstr "" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Invalid %q pin" msgstr "Avast! %q pin be invalid" @@ -776,16 +776,16 @@ msgstr "" msgid "Invalid format chunk size" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid number of bits" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid phase" msgstr "" -#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: ports/atmel-samd/common-hal/touchio/TouchIn.c +#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: shared-bindings/pulseio/PWMOut.c msgid "Invalid pin" msgstr "" @@ -806,7 +806,7 @@ msgstr "Belay that! Invalid pin for starboard-side channel" msgid "Invalid pins" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid polarity" msgstr "" @@ -907,8 +907,8 @@ msgstr "" msgid "No hardware random available" msgstr "" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "No hardware support on pin" msgstr "" @@ -1050,8 +1050,8 @@ msgstr "" msgid "Sample rate too high. It must be less than %d" msgstr "" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Serializer in use" msgstr "" @@ -1059,8 +1059,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/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c +#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c msgid "Slices not supported" msgstr "" @@ -1146,7 +1146,7 @@ msgstr "" msgid "Too many channels in sample." msgstr "" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Too many display busses" msgstr "" @@ -1187,8 +1187,8 @@ msgstr "" msgid "Unable to allocate buffers for signed conversion" msgstr "" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Unable to find free GCLK" msgstr "Arr! No free GCLK be in sight" @@ -1306,8 +1306,8 @@ msgstr "" msgid "argument has wrong type" msgstr "" -#: py/argcheck.c shared-bindings/_stage/__init__.c -#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c +#: py/argcheck.c shared-bindings/gamepad/GamePad.c +#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c msgid "argument num/types mismatch" msgstr "" @@ -1376,7 +1376,7 @@ msgstr "" msgid "buffer size must match format" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "buffer slices must be of equal length" msgstr "" @@ -1660,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/objfloat.c py/runtime.c py/modmath.c py/objint_longlong.c py/objint_mpz.c #: shared-bindings/math/__init__.c msgid "division by zero" msgstr "" @@ -1730,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 "" @@ -1903,7 +1903,7 @@ msgstr "" msgid "invalid step" msgstr "" -#: py/compile.c py/parse.c +#: py/parse.c py/compile.c msgid "invalid syntax" msgstr "" @@ -1940,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 "" @@ -2046,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_longlong.c py/objint_mpz.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 "" @@ -2156,7 +2156,7 @@ msgstr "" msgid "offset out of bounds" msgstr "" -#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c +#: py/objstr.c py/objarray.c py/objstrunicode.c py/objtuple.c #: shared-bindings/nvm/ByteArray.c msgid "only slices with step=1 (aka None) are supported" msgstr "" @@ -2306,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 "" @@ -2545,7 +2545,7 @@ msgstr "" #: py/objint.c #, c-format -msgid "value would overflow a %d byte buffer" +msgid "value must fit in %d byte(s)" msgstr "" #: shared-bindings/displayio/Bitmap.c diff --git a/locale/es.po b/locale/es.po index 07825785cdc3..c0f9d466a035 100644 --- a/locale/es.po +++ b/locale/es.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-09 01:06-0400\n" +"POT-Creation-Date: 2019-05-12 09:42-0400\n" "PO-Revision-Date: 2018-08-24 22:56-0500\n" "Last-Translator: \n" "Language-Team: \n" @@ -55,7 +55,7 @@ msgstr "%q indice fuera de rango" msgid "%q indices must be integers, not %s" msgstr "%q indices deben ser enteros, no %s" -#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c +#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c #: shared-bindings/bleio/CharacteristicBuffer.c #, fuzzy msgid "%q must be >= 1" @@ -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" @@ -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/pulseio/PulseOut.c #: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/audioio/AudioOut.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" @@ -295,8 +295,8 @@ msgstr "Valores del array deben ser bytes individuales." #: supervisor/shared/safe_mode.c msgid "Attempted heap allocation when MicroPython VM not running.\n" msgstr "" -"Se intentó la asignación del heap cuando el VM de" -" MicroPython no estaba corriendo.\n" +"Se intentó la asignación del heap cuando el VM de MicroPython no estaba " +"corriendo.\n" #: main.c msgid "Auto-reload is off.\n" @@ -335,7 +335,7 @@ msgstr "Brillo no adjustable" msgid "Buffer incorrect size. Should be %d bytes." msgstr "Tamaño de buffer incorrecto. Debe ser de %d bytes." -#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c +#: shared-bindings/busio/I2C.c shared-bindings/bitbangio/I2C.c msgid "Buffer must be at least length 1" msgstr "Buffer debe ser de longitud 1 como minimo" @@ -375,7 +375,7 @@ msgstr "No se puede cambiar el nombre en modo Central" msgid "Can't connect in Peripheral mode" msgstr "No se puede conectar en modo Peripheral" -#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c msgid "Cannot delete values" msgstr "No se puede eliminar valores" @@ -457,7 +457,7 @@ msgstr "Clock unit está siendo utilizado" msgid "Column entry must be digitalio.DigitalInOut" msgstr "La entrada en la columna debe ser digitalio.DigitalInOut" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c #, fuzzy msgid "Command must be an int between 0 and 255" msgstr "Bytes debe estar entre 0 y 255." @@ -489,7 +489,6 @@ msgstr "DAC ya está siendo utilizado" #: ports/atmel-samd/common-hal/displayio/ParallelBus.c #: ports/nrf/common-hal/displayio/ParallelBus.c -#, fuzzy msgid "Data 0 pin must be byte aligned" msgstr "" @@ -497,8 +496,8 @@ msgstr "" msgid "Data chunk must follow fmt chunk" msgstr "El Data Chunk debe seguir el fmt chunk" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy msgid "Data too large for advertisement packet" msgstr "Los datos no caben en el paquete de anuncio." @@ -520,8 +519,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/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "EXTINT channel already in use" msgstr "El canal EXTINT ya está siendo utilizado" @@ -529,8 +528,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/microcontroller/Pin.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/neopixel_write/__init__.c #: shared-bindings/terminalio/Terminal.c msgid "Expected a %q" msgstr "Se espera un %q" @@ -540,8 +539,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" @@ -666,8 +665,8 @@ msgstr "No se puede liberar el mutex, status: 0x%08lX" msgid "Failed to start advertising" msgstr "No se puede inicar el anuncio. status: 0x%02x" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy, c-format msgid "Failed to start advertising, err 0x%04x" msgstr "No se puede inicar el anuncio. status: 0x%02x" @@ -687,8 +686,8 @@ msgstr "No se puede iniciar el escaneo. status: 0x%02x" msgid "Failed to stop advertising" msgstr "No se puede detener el anuncio. status: 0x%02x" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy, c-format msgid "Failed to stop advertising, err 0x%04x" msgstr "No se puede detener el anuncio. status: 0x%02x" @@ -729,8 +728,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/I2C.c shared-bindings/bitbangio/SPI.c msgid "Function requires lock" msgstr "La función requiere lock" @@ -762,8 +761,8 @@ msgstr "Tamaño incorrecto del buffer" msgid "Input/output error" msgstr "error Input/output" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Invalid %q pin" msgstr "Pin %q inválido" @@ -808,16 +807,16 @@ msgstr "Archivo inválido" msgid "Invalid format chunk size" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid number of bits" msgstr "Numero inválido de bits" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid phase" msgstr "Fase inválida" -#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: ports/atmel-samd/common-hal/touchio/TouchIn.c +#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: shared-bindings/pulseio/PWMOut.c msgid "Invalid pin" msgstr "Pin inválido" @@ -838,7 +837,7 @@ msgstr "Pin inválido para canal derecho" msgid "Invalid pins" msgstr "pines inválidos" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid polarity" msgstr "Polaridad inválida" @@ -943,8 +942,8 @@ msgstr "Sin GCLKs libres" msgid "No hardware random available" msgstr "No hay hardware random disponible" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "No hardware support on pin" msgstr "Sin soporte de hardware en pin" @@ -1096,8 +1095,8 @@ msgstr "Sample rate debe ser positivo" msgid "Sample rate too high. It must be less than %d" msgstr "Frecuencia de muestreo demasiado alta. Debe ser menor a %d" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Serializer in use" msgstr "Serializer está siendo utilizado" @@ -1105,8 +1104,8 @@ msgstr "Serializer está siendo utilizado" msgid "Slice and value different lengths." msgstr "Cortes y valores son de diferentes longitudes." -#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c -#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c +#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c msgid "Slices not supported" msgstr "No se soportan los cortes" @@ -1199,7 +1198,7 @@ msgstr "Para salir, por favor reinicia la tarjeta sin " msgid "Too many channels in sample." msgstr "Demasiados canales en sample." -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Too many display busses" msgstr "" @@ -1240,8 +1239,8 @@ msgstr "El valor UUID no es str, int, or buffer byte" msgid "Unable to allocate buffers for signed conversion" msgstr "No se pudieron asignar buffers para la conversión con signo" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Unable to find free GCLK" msgstr "No se pudo encontrar un GCLK libre" @@ -1369,8 +1368,8 @@ msgstr "argumento es una secuencia vacía" msgid "argument has wrong type" msgstr "el argumento tiene un tipo erroneo" -#: py/argcheck.c shared-bindings/_stage/__init__.c -#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c +#: py/argcheck.c shared-bindings/gamepad/GamePad.c +#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c msgid "argument num/types mismatch" msgstr "argumento número/tipos no coinciden" @@ -1440,7 +1439,7 @@ msgstr "buffer debe de ser un objeto bytes-like" msgid "buffer size must match format" msgstr "los buffers deben de tener la misma longitud" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "buffer slices must be of equal length" msgstr "cortes del buffer necesitan ser de tamaño igual" @@ -1731,7 +1730,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/objfloat.c py/runtime.c py/modmath.c py/objint_longlong.c py/objint_mpz.c #: shared-bindings/math/__init__.c msgid "division by zero" msgstr "división por cero" @@ -1802,7 +1801,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" @@ -1975,7 +1974,7 @@ msgstr "decorador de micropython inválido" msgid "invalid step" msgstr "paso invalido" -#: py/compile.c py/parse.c +#: py/parse.c py/compile.c msgid "invalid syntax" msgstr "sintaxis inválida" @@ -2015,7 +2014,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" @@ -2122,11 +2121,11 @@ msgstr "rendimiento nativo" 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_longlong.c py/objint_mpz.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" @@ -2236,7 +2235,7 @@ msgstr "string de longitud impar" msgid "offset out of bounds" msgstr "address fuera de límites" -#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c +#: py/objstr.c py/objarray.c py/objstrunicode.c py/objtuple.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)" @@ -2390,7 +2389,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" @@ -2631,7 +2630,7 @@ msgstr "tipos no soportados para %q: '%s', '%s'" #: py/objint.c #, c-format -msgid "value would overflow a %d byte buffer" +msgid "value must fit in %d byte(s)" msgstr "" #: shared-bindings/displayio/Bitmap.c diff --git a/locale/fil.po b/locale/fil.po index bc9b80e78bcf..5b375a78edd8 100644 --- a/locale/fil.po +++ b/locale/fil.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-09 01:06-0400\n" +"POT-Creation-Date: 2019-05-12 09:42-0400\n" "PO-Revision-Date: 2018-12-20 22:15-0800\n" "Last-Translator: Timothy \n" "Language-Team: fil\n" @@ -52,7 +52,7 @@ msgstr "%q indeks wala sa sakop" msgid "%q indices must be integers, not %s" msgstr "%q indeks ay dapat integers, hindi %s" -#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c +#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c #: shared-bindings/bleio/CharacteristicBuffer.c #, fuzzy msgid "%q must be >= 1" @@ -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" @@ -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/pulseio/PulseOut.c #: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/audioio/AudioOut.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" @@ -328,7 +328,7 @@ msgstr "" msgid "Buffer incorrect size. Should be %d bytes." msgstr "Mali ang size ng buffer. Dapat %d bytes." -#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c +#: shared-bindings/busio/I2C.c shared-bindings/bitbangio/I2C.c msgid "Buffer must be at least length 1" msgstr "Buffer dapat ay hindi baba sa 1 na haba" @@ -368,7 +368,7 @@ msgstr "Hindi mapalitan ang pangalan sa Central mode" msgid "Can't connect in Peripheral mode" msgstr "Hindi maconnect sa Peripheral mode" -#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c msgid "Cannot delete values" msgstr "Hindi mabura ang values" @@ -450,7 +450,7 @@ msgstr "Clock unit ginagamit" msgid "Column entry must be digitalio.DigitalInOut" msgstr "" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c #, fuzzy msgid "Command must be an int between 0 and 255" msgstr "Sa gitna ng 0 o 255 dapat ang bytes." @@ -490,8 +490,8 @@ msgstr "graphic ay dapat 2048 bytes ang haba" msgid "Data chunk must follow fmt chunk" msgstr "Dapat sunurin ng Data chunk ang fmt chunk" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy msgid "Data too large for advertisement packet" msgstr "Hindi makasya ang data sa loob ng advertisement packet" @@ -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/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "EXTINT channel already in use" msgstr "Ginagamit na ang EXTINT channel" @@ -523,8 +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/microcontroller/Pin.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/neopixel_write/__init__.c #: shared-bindings/terminalio/Terminal.c msgid "Expected a %q" msgstr "Umasa ng %q" @@ -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/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" @@ -660,8 +660,8 @@ msgstr "Nabigo sa pagrelease ng mutex, status: 0x%08lX" msgid "Failed to start advertising" msgstr "Hindi masimulaan ang advertisement, status: 0x%08lX" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy, c-format msgid "Failed to start advertising, err 0x%04x" msgstr "Hindi masimulaan ang advertisement, status: 0x%08lX" @@ -681,8 +681,8 @@ msgstr "Hindi masimulaan mag i-scan, status: 0x%0xlX" msgid "Failed to stop advertising" msgstr "Hindi mahinto ang advertisement, status: 0x%08lX" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy, c-format msgid "Failed to stop advertising, err 0x%04x" msgstr "Hindi mahinto ang advertisement, status: 0x%08lX" @@ -723,8 +723,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/I2C.c shared-bindings/bitbangio/SPI.c msgid "Function requires lock" msgstr "Function nangangailangan ng lock" @@ -756,8 +756,8 @@ msgstr "" msgid "Input/output error" msgstr "May mali sa Input/Output" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Invalid %q pin" msgstr "Mali ang %q pin" @@ -802,16 +802,16 @@ msgstr "Mali ang file" msgid "Invalid format chunk size" msgstr "Mali ang format ng chunk size" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid number of bits" msgstr "Mali ang bilang ng bits" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid phase" msgstr "Mali ang phase" -#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: ports/atmel-samd/common-hal/touchio/TouchIn.c +#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: shared-bindings/pulseio/PWMOut.c msgid "Invalid pin" msgstr "Mali ang pin" @@ -832,7 +832,7 @@ msgstr "Mali ang pin para sa kanang channel" msgid "Invalid pins" msgstr "Mali ang pins" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid polarity" msgstr "Mali ang polarity" @@ -937,8 +937,8 @@ msgstr "Walang libreng GCLKs" msgid "No hardware random available" msgstr "Walang magagamit na hardware random" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "No hardware support on pin" msgstr "Walang support sa hardware ang pin" @@ -1089,8 +1089,8 @@ msgstr "Sample rate ay dapat positibo" msgid "Sample rate too high. It must be less than %d" msgstr "Sample rate ay masyadong mataas. Ito ay dapat hindi hiigit sa %d" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Serializer in use" msgstr "Serializer ginagamit" @@ -1098,8 +1098,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/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c +#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c msgid "Slices not supported" msgstr "Hindi suportado ang Slices" @@ -1195,7 +1195,7 @@ msgstr "Para lumabas, paki-reset ang board na wala ang " msgid "Too many channels in sample." msgstr "Sobra ang channels sa sample." -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Too many display busses" msgstr "" @@ -1236,8 +1236,8 @@ msgstr "" msgid "Unable to allocate buffers for signed conversion" msgstr "Hindi ma-allocate ang buffers para sa naka-sign na conversion" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Unable to find free GCLK" msgstr "Hindi mahanap ang libreng GCLK" @@ -1365,8 +1365,8 @@ msgstr "arg ay walang laman na sequence" msgid "argument has wrong type" msgstr "may maling type ang argument" -#: py/argcheck.c shared-bindings/_stage/__init__.c -#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c +#: py/argcheck.c shared-bindings/gamepad/GamePad.c +#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c msgid "argument num/types mismatch" msgstr "hindi tugma ang argument num/types" @@ -1436,7 +1436,7 @@ msgstr "buffer ay dapat bytes-like object" msgid "buffer size must match format" msgstr "aarehas na haba dapat ang buffer slices" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "buffer slices must be of equal length" msgstr "aarehas na haba dapat ang buffer slices" @@ -1730,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/objfloat.c py/runtime.c py/modmath.c py/objint_longlong.c py/objint_mpz.c #: shared-bindings/math/__init__.c msgid "division by zero" msgstr "dibisyon ng zero" @@ -1801,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" @@ -1975,7 +1975,7 @@ msgstr "mali ang micropython decorator" msgid "invalid step" msgstr "mali ang step" -#: py/compile.c py/parse.c +#: py/parse.c py/compile.c msgid "invalid syntax" msgstr "mali ang sintaks" @@ -2016,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" @@ -2123,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_longlong.c py/objint_mpz.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,7 +2234,7 @@ msgstr "odd-length string" msgid "offset out of bounds" msgstr "wala sa sakop ang address" -#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c +#: py/objstr.c py/objarray.c py/objstrunicode.c py/objtuple.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" @@ -2388,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" @@ -2629,7 +2629,7 @@ msgstr "hindi sinusuportahang type para sa %q: '%s', '%s'" #: py/objint.c #, c-format -msgid "value would overflow a %d byte buffer" +msgid "value must fit in %d byte(s)" msgstr "" #: shared-bindings/displayio/Bitmap.c diff --git a/locale/fr.po b/locale/fr.po index 1dec817d5120..ec73921d4d28 100644 --- a/locale/fr.po +++ b/locale/fr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: 0.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-09 01:06-0400\n" +"POT-Creation-Date: 2019-05-12 09:42-0400\n" "PO-Revision-Date: 2019-04-14 20:05+0100\n" "Last-Translator: Pierrick Couturier \n" "Language-Team: fr\n" @@ -54,7 +54,7 @@ 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/displayio/Group.c shared-bindings/displayio/Shape.c +#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c #: shared-bindings/bleio/CharacteristicBuffer.c #, fuzzy msgid "%q must be >= 1" @@ -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" @@ -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/pulseio/PulseOut.c #: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/audioio/AudioOut.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" @@ -333,7 +333,7 @@ msgstr "Luminosité non-ajustable" msgid "Buffer incorrect size. Should be %d bytes." msgstr "Tampon de taille incorrect. Devrait être de %d octets." -#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c +#: shared-bindings/busio/I2C.c shared-bindings/bitbangio/I2C.c msgid "Buffer must be at least length 1" msgstr "Le tampon doit être de longueur au moins 1" @@ -373,7 +373,7 @@ msgstr "Modification du nom impossible en mode Central" msgid "Can't connect in Peripheral mode" msgstr "Impossible de se connecter en mode 'Peripheral'" -#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c msgid "Cannot delete values" msgstr "Impossible de supprimer les valeurs" @@ -456,7 +456,7 @@ msgstr "Horloge en cours d'utilisation" msgid "Column entry must be digitalio.DigitalInOut" msgstr "L'entrée 'Column' doit être un digitalio.DigitalInOut" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c #, fuzzy msgid "Command must be an int between 0 and 255" msgstr "La commande doit être un entier entre 0 et 255" @@ -496,8 +496,8 @@ msgstr "La broche 'Data 0' doit être aligné sur l'octet" msgid "Data chunk must follow fmt chunk" msgstr "Un bloc de données doit suivre un bloc de format" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c msgid "Data too large for advertisement packet" msgstr "Données trop volumineuses pour un paquet de diffusion" @@ -517,8 +517,8 @@ msgstr "La rotation d'affichage doit se faire par incréments de 90 degrés" 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/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "EXTINT channel already in use" msgstr "Canal EXTINT déjà utilisé" @@ -526,8 +526,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/microcontroller/Pin.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/neopixel_write/__init__.c #: shared-bindings/terminalio/Terminal.c msgid "Expected a %q" msgstr "Attendu un %q" @@ -537,8 +537,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" @@ -664,8 +664,8 @@ msgstr "Impossible de libérer mutex, err 0x%04x" msgid "Failed to start advertising" msgstr "Echec du démarrage de la diffusion" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy, c-format msgid "Failed to start advertising, err 0x%04x" msgstr "Impossible de commencer à diffuser, err 0x%04x" @@ -685,8 +685,8 @@ msgstr "Impossible de commencer à scanner, err 0x%04x" msgid "Failed to stop advertising" msgstr "Echec de l'arrêt de diffusion" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy, c-format msgid "Failed to stop advertising, err 0x%04x" msgstr "Echec de l'arrêt de diffusion, err 0x%04x" @@ -727,8 +727,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/I2C.c shared-bindings/bitbangio/SPI.c msgid "Function requires lock" msgstr "La fonction nécessite un verrou" @@ -760,8 +760,8 @@ msgstr "Taille de tampon incorrecte" msgid "Input/output error" msgstr "Erreur d'entrée/sortie" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Invalid %q pin" msgstr "Broche invalide pour '%q'" @@ -809,16 +809,16 @@ msgstr "Fichier invalide" msgid "Invalid format chunk size" msgstr "Taille de bloc de formatage invalide" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid number of bits" msgstr "Nombre de bits invalide" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid phase" msgstr "Phase invalide" -#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: ports/atmel-samd/common-hal/touchio/TouchIn.c +#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: shared-bindings/pulseio/PWMOut.c msgid "Invalid pin" msgstr "Broche invalide" @@ -839,7 +839,7 @@ msgstr "Broche invalide pour le canal droit" msgid "Invalid pins" msgstr "Broches invalides" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid polarity" msgstr "Polarité invalide" @@ -945,8 +945,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/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "No hardware support on pin" msgstr "Pas de support matériel pour cette broche" @@ -1105,8 +1105,8 @@ msgstr "Le taux d'échantillonage doit être positif" msgid "Sample rate too high. It must be less than %d" msgstr "Taux d'échantillonage trop élevé. Doit être inf. à %d" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Serializer in use" msgstr "Sérialiseur en cours d'utilisation" @@ -1114,8 +1114,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/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c +#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c msgid "Slices not supported" msgstr "Tranches non supportées" @@ -1215,7 +1215,7 @@ msgstr "Pour quitter, redémarrez la carte SVP sans " msgid "Too many channels in sample." msgstr "Trop de canaux dans l'échantillon." -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Too many display busses" msgstr "Trop de bus d'affichage" @@ -1259,8 +1259,8 @@ msgstr "" msgid "Unable to allocate buffers for signed conversion" msgstr "Impossible d'allouer des tampons pour une conversion signée" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Unable to find free GCLK" msgstr "Impossible de trouver un GCLK libre" @@ -1389,8 +1389,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 shared-bindings/_stage/__init__.c -#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c +#: py/argcheck.c shared-bindings/gamepad/GamePad.c +#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c msgid "argument num/types mismatch" msgstr "argument num/types ne correspond pas" @@ -1462,7 +1462,7 @@ msgstr "le tampon doit être un objet bytes-like" msgid "buffer size must match format" msgstr "la taille du tampon doit correspondre au format" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "buffer slices must be of equal length" msgstr "les tranches de tampon doivent être de longueurs égales" @@ -1763,7 +1763,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/objfloat.c py/runtime.c py/modmath.c py/objint_longlong.c py/objint_mpz.c #: shared-bindings/math/__init__.c msgid "division by zero" msgstr "division par zéro" @@ -1834,7 +1834,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'" @@ -2007,7 +2007,7 @@ msgstr "décorateur micropython invalide" msgid "invalid step" msgstr "pas invalide" -#: py/compile.c py/parse.c +#: py/parse.c py/compile.c msgid "invalid syntax" msgstr "syntaxe invalide" @@ -2048,7 +2048,7 @@ msgstr "" 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é" @@ -2155,11 +2155,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_longlong.c py/objint_mpz.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" @@ -2269,7 +2269,7 @@ msgstr "chaîne de longueur impaire" msgid "offset out of bounds" msgstr "adresse hors limites" -#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c +#: py/objstr.c py/objarray.c py/objstrunicode.c py/objtuple.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" @@ -2428,7 +2428,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" @@ -2671,7 +2671,7 @@ msgstr "type non supporté pour %q: '%s', '%s'" #: py/objint.c #, c-format -msgid "value would overflow a %d byte buffer" +msgid "value must fit in %d byte(s)" msgstr "" #: shared-bindings/displayio/Bitmap.c diff --git a/locale/it_IT.po b/locale/it_IT.po index 42abd398699e..afa8a2ced283 100644 --- a/locale/it_IT.po +++ b/locale/it_IT.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-09 01:06-0400\n" +"POT-Creation-Date: 2019-05-12 09:42-0400\n" "PO-Revision-Date: 2018-10-02 16:27+0200\n" "Last-Translator: Enrico Paganin \n" "Language-Team: \n" @@ -52,7 +52,7 @@ msgstr "indice %q fuori intervallo" msgid "%q indices must be integers, not %s" msgstr "gli indici %q devono essere interi, non %s" -#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c +#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c #: shared-bindings/bleio/CharacteristicBuffer.c #, fuzzy msgid "%q must be >= 1" @@ -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" @@ -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/pulseio/PulseOut.c #: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/audioio/AudioOut.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" @@ -328,7 +328,7 @@ msgstr "Illiminazione non è regolabile" msgid "Buffer incorrect size. Should be %d bytes." msgstr "Buffer di lunghezza non valida. Dovrebbe essere di %d bytes." -#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c +#: shared-bindings/busio/I2C.c shared-bindings/bitbangio/I2C.c msgid "Buffer must be at least length 1" msgstr "Il buffer deve essere lungo almeno 1" @@ -368,7 +368,7 @@ msgstr "non si può cambiare il nome in Central mode" msgid "Can't connect in Peripheral mode" msgstr "non si può connettere in Periferal mode" -#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c msgid "Cannot delete values" msgstr "Impossibile cancellare valori" @@ -451,7 +451,7 @@ msgstr "Unità di clock in uso" msgid "Column entry must be digitalio.DigitalInOut" msgstr "" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c #, fuzzy msgid "Command must be an int between 0 and 255" msgstr "I byte devono essere compresi tra 0 e 255" @@ -491,8 +491,8 @@ msgstr "graphic deve essere lunga 2048 byte" msgid "Data chunk must follow fmt chunk" msgstr "" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy msgid "Data too large for advertisement packet" msgstr "Impossibile inserire dati nel pacchetto di advertisement." @@ -514,8 +514,8 @@ msgstr "" msgid "Drive mode not used when direction is input." msgstr "" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "EXTINT channel already in use" msgstr "Canale EXTINT già in uso" @@ -523,8 +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/microcontroller/Pin.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/neopixel_write/__init__.c #: shared-bindings/terminalio/Terminal.c msgid "Expected a %q" msgstr "Atteso un %q" @@ -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/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" @@ -659,8 +659,8 @@ msgstr "Impossibile leggere valore dell'attributo. status: 0x%02x" msgid "Failed to start advertising" msgstr "Impossibile avviare advertisement. status: 0x%02x" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy, c-format msgid "Failed to start advertising, err 0x%04x" msgstr "Impossibile avviare advertisement. status: 0x%02x" @@ -680,8 +680,8 @@ msgstr "Impossible iniziare la scansione. status: 0x%02x" msgid "Failed to stop advertising" msgstr "Impossibile fermare advertisement. status: 0x%02x" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy, c-format msgid "Failed to stop advertising, err 0x%04x" msgstr "Impossibile fermare advertisement. status: 0x%02x" @@ -722,8 +722,8 @@ msgstr "Iniziamento di Impostazione di Flash dallito, err 0x%04x" 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/I2C.c shared-bindings/bitbangio/SPI.c msgid "Function requires lock" msgstr "" @@ -755,8 +755,8 @@ msgstr "" msgid "Input/output error" msgstr "Errore input/output" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Invalid %q pin" msgstr "Pin %q non valido" @@ -803,16 +803,16 @@ msgstr "File non valido" msgid "Invalid format chunk size" msgstr "" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid number of bits" msgstr "Numero di bit non valido" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid phase" msgstr "Fase non valida" -#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: ports/atmel-samd/common-hal/touchio/TouchIn.c +#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: shared-bindings/pulseio/PWMOut.c msgid "Invalid pin" msgstr "Pin non valido" @@ -833,7 +833,7 @@ msgstr "Pin non valido per il canale destro" msgid "Invalid pins" msgstr "Pin non validi" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid polarity" msgstr "Polarità non valida" @@ -936,8 +936,8 @@ msgstr "Nessun GCLK libero" msgid "No hardware random available" msgstr "Nessun generatore hardware di numeri casuali disponibile" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "No hardware support on pin" msgstr "Nessun supporto hardware sul pin" @@ -1095,8 +1095,8 @@ msgid "Sample rate too high. It must be less than %d" msgstr "" "Frequenza di campionamento troppo alta. Il valore deve essere inferiore a %d" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Serializer in use" msgstr "Serializer in uso" @@ -1104,8 +1104,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/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c +#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c msgid "Slices not supported" msgstr "Slice non supportate" @@ -1194,7 +1194,7 @@ msgstr "Per uscire resettare la scheda senza " msgid "Too many channels in sample." msgstr "" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Too many display busses" msgstr "" @@ -1235,8 +1235,8 @@ msgstr "" msgid "Unable to allocate buffers for signed conversion" msgstr "Ipossibilitato ad allocare buffer per la conversione con segno" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Unable to find free GCLK" msgstr "Impossibile trovare un GCLK libero" @@ -1359,8 +1359,8 @@ msgstr "l'argomento è una sequenza vuota" msgid "argument has wrong type" msgstr "il tipo dell'argomento è errato" -#: py/argcheck.c shared-bindings/_stage/__init__.c -#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c +#: py/argcheck.c shared-bindings/gamepad/GamePad.c +#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c msgid "argument num/types mismatch" msgstr "discrepanza di numero/tipo di argomenti" @@ -1432,7 +1432,7 @@ msgstr "" msgid "buffer size must match format" msgstr "slice del buffer devono essere della stessa lunghezza" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "buffer slices must be of equal length" msgstr "slice del buffer devono essere della stessa lunghezza" @@ -1722,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/objfloat.c py/runtime.c py/modmath.c py/objint_longlong.c py/objint_mpz.c #: shared-bindings/math/__init__.c msgid "division by zero" msgstr "divisione per zero" @@ -1793,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 "" @@ -1967,7 +1967,7 @@ msgstr "decoratore non valido in micropython" msgid "invalid step" msgstr "step non valida" -#: py/compile.c py/parse.c +#: py/parse.c py/compile.c msgid "invalid syntax" msgstr "sintassi non valida" @@ -2009,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" @@ -2116,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_longlong.c py/objint_mpz.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,7 +2230,7 @@ msgstr "stringa di lunghezza dispari" msgid "offset out of bounds" msgstr "indirizzo fuori limite" -#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c +#: py/objstr.c py/objarray.c py/objstrunicode.c py/objtuple.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" @@ -2386,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" @@ -2627,7 +2627,7 @@ msgstr "tipi non supportati per %q: '%s', '%s'" #: py/objint.c #, c-format -msgid "value would overflow a %d byte buffer" +msgid "value must fit in %d byte(s)" msgstr "" #: shared-bindings/displayio/Bitmap.c diff --git a/locale/pl.po b/locale/pl.po index 918292a89b1f..de2e6545c4b9 100644 --- a/locale/pl.po +++ b/locale/pl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: \n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-09 01:06-0400\n" +"POT-Creation-Date: 2019-05-12 09:42-0400\n" "PO-Revision-Date: 2019-03-19 18:37-0700\n" "Last-Translator: Radomir Dopieralski \n" "Language-Team: pl\n" @@ -53,7 +53,7 @@ msgstr "%q poza zakresem" msgid "%q indices must be integers, not %s" msgstr "%q indeks musi być liczbą całkowitą, a nie %s" -#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c +#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c #: shared-bindings/bleio/CharacteristicBuffer.c msgid "%q must be >= 1" msgstr "%q musi być >= 1" @@ -70,12 +70,12 @@ msgstr "%q() bierze %d argumentów pozycyjnych, lecz podano %d" msgid "'%q' argument required" msgstr "'%q' wymaga argumentu" -#: py/emitinlinethumb.c py/emitinlinextensa.c +#: py/emitinlinextensa.c py/emitinlinethumb.c #, c-format msgid "'%s' expects a label" msgstr "'%s' oczekuje etykiety" -#: py/emitinlinethumb.c py/emitinlinextensa.c +#: py/emitinlinextensa.c py/emitinlinethumb.c #, c-format msgid "'%s' expects a register" msgstr "'%s' oczekuje rejestru" @@ -95,7 +95,7 @@ msgstr "'%s' oczekuje rejestru FPU" msgid "'%s' expects an address of the form [a, b]" msgstr "'%s' oczekuje adresu w postaci [a, b]" -#: py/emitinlinethumb.c py/emitinlinextensa.c +#: py/emitinlinextensa.c py/emitinlinethumb.c #, c-format msgid "'%s' expects an integer" msgstr "'%s' oczekuje liczby całkowitej" @@ -252,9 +252,9 @@ msgstr "Wszystkie kanały zdarzeń synchronizacji w użyciu" msgid "All timers for this pin are in use" msgstr "Wszystkie timery tej nóżki w użyciu" +#: ports/atmel-samd/common-hal/pulseio/PulseOut.c #: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/audioio/AudioOut.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" @@ -325,7 +325,7 @@ msgstr "Jasność nie jest regulowana" msgid "Buffer incorrect size. Should be %d bytes." msgstr "Zła wielkość bufora. Powinno być %d bajtów." -#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c +#: shared-bindings/busio/I2C.c shared-bindings/bitbangio/I2C.c msgid "Buffer must be at least length 1" msgstr "Bufor musi mieć długość 1 lub więcej" @@ -364,7 +364,7 @@ msgstr "Nie można zmienić nazwy w trybie Central" msgid "Can't connect in Peripheral mode" msgstr "Nie można się łączyć w trybie Peripheral" -#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c msgid "Cannot delete values" msgstr "Nie można usunąć" @@ -445,7 +445,7 @@ msgstr "Jednostka zegara w użyciu" msgid "Column entry must be digitalio.DigitalInOut" msgstr "Kolumny muszą być typu digitalio.DigitalInOut" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Command must be an int between 0 and 255" msgstr "Komenda musi być int pomiędzy 0 a 255" @@ -483,8 +483,8 @@ msgstr "Nóżka data 0 musi być wyrównana do bajtu" msgid "Data chunk must follow fmt chunk" msgstr "Fragment danych musi następować po fragmencie fmt" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c msgid "Data too large for advertisement packet" msgstr "Zbyt dużo danych pakietu rozgłoszeniowego" @@ -504,8 +504,8 @@ msgstr "Wyświetlacz można obracać co 90 stopni" msgid "Drive mode not used when direction is input." msgstr "Tryb sterowania nieużywany w trybie wejścia." -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "EXTINT channel already in use" msgstr "Kanał EXTINT w użyciu" @@ -513,8 +513,8 @@ msgstr "Kanał EXTINT w użyciu" msgid "Error in regex" msgstr "Błąd w regex" -#: shared-bindings/microcontroller/Pin.c -#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/microcontroller/Pin.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/neopixel_write/__init__.c #: shared-bindings/terminalio/Terminal.c msgid "Expected a %q" msgstr "Oczekiwano %q" @@ -523,8 +523,8 @@ msgstr "Oczekiwano %q" msgid "Expected a Characteristic" msgstr "Oczekiwano charakterystyki" -#: 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 "Oczekiwano UUID" @@ -637,8 +637,8 @@ msgstr "Nie udało się zwolnić blokady, błąd 0x%04x" msgid "Failed to start advertising" msgstr "Nie udało się rozpocząć rozgłaszania" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, c-format msgid "Failed to start advertising, err 0x%04x" msgstr "Nie udało się rozpocząć rozgłaszania, błąd 0x%04x" @@ -656,8 +656,8 @@ msgstr "Nie udało się rozpocząć skanowania, błąd 0x%04x" msgid "Failed to stop advertising" msgstr "Nie udało się zatrzymać rozgłaszania" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, c-format msgid "Failed to stop advertising, err 0x%04x" msgstr "Nie udało się zatrzymać rozgłaszania, błąd 0x%04x" @@ -698,8 +698,8 @@ msgstr "Nie udało się rozpocząć zapisu do flash, błąd 0x%04x" msgid "Frequency captured is above capability. Capture Paused." msgstr "Uzyskana częstotliwość jest niemożliwa. Spauzowano." -#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c #: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c +#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c msgid "Function requires lock" msgstr "Funkcja wymaga blokady" @@ -731,8 +731,8 @@ msgstr "Niewłaściwa wielkość bufora" msgid "Input/output error" msgstr "Błąd I/O" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Invalid %q pin" msgstr "Zła nóżka %q" @@ -777,16 +777,16 @@ msgstr "Zły plik" msgid "Invalid format chunk size" msgstr "Zła wielkość fragmentu formatu" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid number of bits" msgstr "Zła liczba bitów" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid phase" msgstr "Zła faza" -#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: ports/atmel-samd/common-hal/touchio/TouchIn.c +#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: shared-bindings/pulseio/PWMOut.c msgid "Invalid pin" msgstr "Zła nóżka" @@ -807,7 +807,7 @@ msgstr "Zła nóżka dla prawego kanału" msgid "Invalid pins" msgstr "Złe nóżki" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid polarity" msgstr "Zła polaryzacja" @@ -913,8 +913,8 @@ msgstr "Brak wolnych GLCK" msgid "No hardware random available" msgstr "Brak generatora liczb losowych" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "No hardware support on pin" msgstr "Brak sprzętowej obsługi na nóżce" @@ -1056,8 +1056,8 @@ msgstr "Częstotliwość próbkowania musi być dodatnia" msgid "Sample rate too high. It must be less than %d" msgstr "Zbyt wysoka częstotliwość próbkowania. Musi być mniejsza niż %d" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Serializer in use" msgstr "Serializator w użyciu" @@ -1065,8 +1065,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/Group.c -#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c +#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c msgid "Slices not supported" msgstr "Fragmenty nieobsługiwane" @@ -1162,7 +1162,7 @@ msgstr "By wyjść, proszę zresetować płytkę bez " msgid "Too many channels in sample." msgstr "Zbyt wiele kanałów." -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Too many display busses" msgstr "Zbyt wiele magistrali" @@ -1203,8 +1203,8 @@ msgstr "UUID nie jest typu str, int lub bytes" msgid "Unable to allocate buffers for signed conversion" msgstr "Nie udała się alokacja buforów do konwersji ze znakiem" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Unable to find free GCLK" msgstr "Brak wolnego GCLK" @@ -1326,8 +1326,8 @@ msgstr "arg jest puste" msgid "argument has wrong type" msgstr "argument ma zły typ" -#: py/argcheck.c shared-bindings/_stage/__init__.c -#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c +#: py/argcheck.c shared-bindings/gamepad/GamePad.c +#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c msgid "argument num/types mismatch" msgstr "zła liczba lub typ argumentów" @@ -1396,7 +1396,7 @@ msgstr "bufor mysi być typu bytes" msgid "buffer size must match format" msgstr "wielkość bufora musi pasować do formatu" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "buffer slices must be of equal length" msgstr "fragmenty bufora muszą mieć tę samą długość" @@ -1681,7 +1681,7 @@ msgstr "destination_length musi być nieujemną liczbą całkowitą" msgid "dict update sequence has wrong length" msgstr "sekwencja ma złą długość" -#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c +#: py/objfloat.c py/runtime.c py/modmath.c py/objint_longlong.c py/objint_mpz.c #: shared-bindings/math/__init__.c msgid "division by zero" msgstr "dzielenie przez zero" @@ -1751,7 +1751,7 @@ msgstr "nadmiarowe argumenty nazwane" msgid "extra positional arguments given" msgstr "nadmiarowe argumenty pozycyjne" -#: 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 musi być otwarte w trybie bajtowym" @@ -1924,7 +1924,7 @@ msgstr "zły dekorator micropythona" msgid "invalid step" msgstr "zły krok" -#: py/compile.c py/parse.c +#: py/parse.c py/compile.c msgid "invalid syntax" msgstr "zła składnia" @@ -1961,7 +1961,7 @@ msgstr "argumenty nazwane nieobsługiwane - proszę użyć zwykłych argumentów msgid "keywords must be strings" msgstr "słowa kluczowe muszą być łańcuchami" -#: py/emitinlinethumb.c py/emitinlinextensa.c +#: py/emitinlinextensa.c py/emitinlinethumb.c msgid "label '%q' not defined" msgstr "etykieta '%q' niezdefiniowana" @@ -2067,11 +2067,11 @@ msgstr "natywny yield" msgid "need more than %d values to unpack" msgstr "potrzeba więcej niż %d do rozpakowania" -#: py/objint_longlong.c py/objint_mpz.c py/runtime.c +#: py/runtime.c py/objint_longlong.c py/objint_mpz.c msgid "negative power with no float support" msgstr "ujemna potęga, ale brak obsługi liczb zmiennoprzecinkowych" -#: py/objint_mpz.c py/runtime.c +#: py/runtime.c py/objint_mpz.c msgid "negative shift count" msgstr "ujemne przesunięcie" @@ -2177,7 +2177,7 @@ msgstr "łańcuch o nieparzystej długości" msgid "offset out of bounds" msgstr "offset poza zakresem" -#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c +#: py/objstr.c py/objarray.c py/objstrunicode.c py/objtuple.c #: shared-bindings/nvm/ByteArray.c msgid "only slices with step=1 (aka None) are supported" msgstr "tylko fragmenty ze step=1 (lub None) są wspierane" @@ -2329,7 +2329,7 @@ msgstr "okres snu musi być nieujemny" msgid "slice step cannot be zero" msgstr "zerowy krok" -#: py/objint.c py/sequence.c +#: py/sequence.c py/objint.c msgid "small int overflow" msgstr "przepełnienie small int" @@ -2568,7 +2568,7 @@ msgstr "złe typy dla %q: '%s', '%s'" #: py/objint.c #, c-format -msgid "value would overflow a %d byte buffer" +msgid "value must fit in %d byte(s)" msgstr "" #: shared-bindings/displayio/Bitmap.c diff --git a/locale/pt_BR.po b/locale/pt_BR.po index c951cec9b139..03dc01011cc3 100644 --- a/locale/pt_BR.po +++ b/locale/pt_BR.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: PACKAGE VERSION\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-09 01:06-0400\n" +"POT-Creation-Date: 2019-05-12 09:42-0400\n" "PO-Revision-Date: 2018-10-02 21:14-0000\n" "Last-Translator: \n" "Language-Team: \n" @@ -52,7 +52,7 @@ msgstr "" msgid "%q indices must be integers, not %s" msgstr "" -#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c +#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c #: shared-bindings/bleio/CharacteristicBuffer.c #, fuzzy msgid "%q must be >= 1" @@ -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 "" @@ -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/pulseio/PulseOut.c #: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/audioio/AudioOut.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" @@ -325,7 +325,7 @@ msgstr "" msgid "Buffer incorrect size. Should be %d bytes." msgstr "Buffer de tamanho incorreto. Deve ser %d bytes." -#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c +#: shared-bindings/busio/I2C.c shared-bindings/bitbangio/I2C.c msgid "Buffer must be at least length 1" msgstr "" @@ -365,7 +365,7 @@ msgstr "" msgid "Can't connect in Peripheral mode" msgstr "" -#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c msgid "Cannot delete values" msgstr "Não é possível excluir valores" @@ -447,7 +447,7 @@ msgstr "Unidade de Clock em uso" msgid "Column entry must be digitalio.DigitalInOut" msgstr "" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c #, fuzzy msgid "Command must be an int between 0 and 255" msgstr "Os bytes devem estar entre 0 e 255." @@ -486,8 +486,8 @@ msgstr "" msgid "Data chunk must follow fmt chunk" msgstr "Pedaço de dados deve seguir o pedaço de cortes" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy msgid "Data too large for advertisement packet" msgstr "Não é possível ajustar dados no pacote de anúncios." @@ -509,8 +509,8 @@ msgstr "" msgid "Drive mode not used when direction is input." msgstr "" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "EXTINT channel already in use" msgstr "Canal EXTINT em uso" @@ -518,8 +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/microcontroller/Pin.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/neopixel_write/__init__.c #: shared-bindings/terminalio/Terminal.c msgid "Expected a %q" msgstr "Esperado um" @@ -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/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" @@ -652,8 +652,8 @@ msgstr "Não é possível ler o valor do atributo. status: 0x%02x" msgid "Failed to start advertising" msgstr "Não é possível iniciar o anúncio. status: 0x%02x" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy, c-format msgid "Failed to start advertising, err 0x%04x" msgstr "Não é possível iniciar o anúncio. status: 0x%02x" @@ -673,8 +673,8 @@ msgstr "Não é possível iniciar o anúncio. status: 0x%02x" msgid "Failed to stop advertising" msgstr "Não pode parar propaganda. status: 0x%02x" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, fuzzy, c-format msgid "Failed to stop advertising, err 0x%04x" msgstr "Não pode parar propaganda. status: 0x%02x" @@ -715,8 +715,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/I2C.c shared-bindings/bitbangio/SPI.c msgid "Function requires lock" msgstr "" @@ -746,8 +746,8 @@ msgstr "" msgid "Input/output error" msgstr "" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Invalid %q pin" msgstr "Pino do %q inválido" @@ -794,16 +794,16 @@ msgstr "Arquivo inválido" msgid "Invalid format chunk size" msgstr "Tamanho do pedaço de formato inválido" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid number of bits" msgstr "Número inválido de bits" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid phase" msgstr "Fase Inválida" -#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: ports/atmel-samd/common-hal/touchio/TouchIn.c +#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: shared-bindings/pulseio/PWMOut.c msgid "Invalid pin" msgstr "Pino inválido" @@ -824,7 +824,7 @@ msgstr "Pino inválido para canal direito" msgid "Invalid pins" msgstr "Pinos inválidos" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid polarity" msgstr "" @@ -926,8 +926,8 @@ msgstr "Não há GCLKs livre" msgid "No hardware random available" msgstr "" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "No hardware support on pin" msgstr "Nenhum suporte de hardware no pino" @@ -1074,8 +1074,8 @@ msgstr "" msgid "Sample rate too high. It must be less than %d" msgstr "Taxa de amostragem muito alta. Deve ser menor que %d" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Serializer in use" msgstr "Serializer em uso" @@ -1083,8 +1083,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/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c +#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c msgid "Slices not supported" msgstr "" @@ -1170,7 +1170,7 @@ msgstr "Para sair, por favor, reinicie a placa sem " msgid "Too many channels in sample." msgstr "Muitos canais na amostra." -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Too many display busses" msgstr "" @@ -1211,8 +1211,8 @@ msgstr "" msgid "Unable to allocate buffers for signed conversion" msgstr "Não é possível alocar buffers para conversão assinada" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Unable to find free GCLK" msgstr "Não é possível encontrar GCLK livre" @@ -1331,8 +1331,8 @@ msgstr "" msgid "argument has wrong type" msgstr "argumento tem tipo errado" -#: py/argcheck.c shared-bindings/_stage/__init__.c -#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c +#: py/argcheck.c shared-bindings/gamepad/GamePad.c +#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c msgid "argument num/types mismatch" msgstr "" @@ -1404,7 +1404,7 @@ msgstr "" msgid "buffer size must match format" msgstr "buffers devem ser o mesmo tamanho" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "buffer slices must be of equal length" msgstr "" @@ -1688,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/objfloat.c py/runtime.c py/modmath.c py/objint_longlong.c py/objint_mpz.c #: shared-bindings/math/__init__.c msgid "division by zero" msgstr "divisão por zero" @@ -1759,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 "" @@ -1932,7 +1932,7 @@ msgstr "" msgid "invalid step" msgstr "passo inválido" -#: py/compile.c py/parse.c +#: py/parse.c py/compile.c msgid "invalid syntax" msgstr "" @@ -1969,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 "" @@ -2076,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_longlong.c py/objint_mpz.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 "" @@ -2186,7 +2186,7 @@ msgstr "" msgid "offset out of bounds" msgstr "" -#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c +#: py/objstr.c py/objarray.c py/objstrunicode.c py/objtuple.c #: shared-bindings/nvm/ByteArray.c msgid "only slices with step=1 (aka None) are supported" msgstr "" @@ -2337,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 "" @@ -2578,7 +2578,7 @@ msgstr "" #: py/objint.c #, c-format -msgid "value would overflow a %d byte buffer" +msgid "value must fit in %d byte(s)" msgstr "" #: shared-bindings/displayio/Bitmap.c diff --git a/locale/zh_Latn_pinyin.po b/locale/zh_Latn_pinyin.po index 2d7b5f766f9a..8ab41292e6ea 100644 --- a/locale/zh_Latn_pinyin.po +++ b/locale/zh_Latn_pinyin.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: circuitpython-cn\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2019-05-09 01:06-0400\n" +"POT-Creation-Date: 2019-05-12 09:42-0400\n" "PO-Revision-Date: 2019-04-13 10:10-0700\n" "Last-Translator: hexthat\n" "Language-Team: Chinese Hanyu Pinyin\n" @@ -54,7 +54,7 @@ msgstr "%q suǒyǐn chāochū fànwéi" msgid "%q indices must be integers, not %s" msgstr "%q suǒyǐn bìxū shì zhěngshù, ér bùshì %s" -#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c +#: shared-bindings/displayio/Shape.c shared-bindings/displayio/Group.c #: shared-bindings/bleio/CharacteristicBuffer.c msgid "%q must be >= 1" msgstr "%q bìxū dàyú huò děngyú 1" @@ -71,12 +71,12 @@ msgstr "%q() cǎiyòng %d wèizhì cānshù, dàn gěi chū %d" msgid "'%q' argument required" msgstr "xūyào '%q' cānshù" -#: py/emitinlinethumb.c py/emitinlinextensa.c +#: py/emitinlinextensa.c py/emitinlinethumb.c #, c-format msgid "'%s' expects a label" msgstr "'%s' qīwàng biāoqiān" -#: py/emitinlinethumb.c py/emitinlinextensa.c +#: py/emitinlinextensa.c py/emitinlinethumb.c #, c-format msgid "'%s' expects a register" msgstr "'%s' qīwàng yīgè zhùcè" @@ -96,7 +96,7 @@ msgstr "'%s' xūyào FPU jìcúnqì" msgid "'%s' expects an address of the form [a, b]" msgstr "'%s' qīwàng chuāng tǐ [a, b] dì dìzhǐ" -#: py/emitinlinethumb.c py/emitinlinextensa.c +#: py/emitinlinextensa.c py/emitinlinethumb.c #, c-format msgid "'%s' expects an integer" msgstr "'%s' qídài yīgè zhěngshù" @@ -253,9 +253,9 @@ msgstr "Suǒyǒu tóngbù shìjiàn píndào shǐyòng" msgid "All timers for this pin are in use" msgstr "Cǐ yǐn jiǎo de suǒyǒu jìshí qì zhèngzài shǐyòng" +#: ports/atmel-samd/common-hal/pulseio/PulseOut.c #: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/audioio/AudioOut.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" @@ -326,7 +326,7 @@ msgstr "Liàngdù wúfǎ tiáozhěng" msgid "Buffer incorrect size. Should be %d bytes." msgstr "Huǎnchōng qū dàxiǎo bù zhèngquè. Yīnggāi shì %d zì jié." -#: shared-bindings/bitbangio/I2C.c shared-bindings/busio/I2C.c +#: shared-bindings/busio/I2C.c shared-bindings/bitbangio/I2C.c msgid "Buffer must be at least length 1" msgstr "Huǎnchōng qū bìxū zhìshǎo chángdù 1" @@ -365,7 +365,7 @@ msgstr "Wúfǎ gēnggǎi zhōngyāng móshì de míngchēng" msgid "Can't connect in Peripheral mode" msgstr "Wúfǎ zài biānyuán móshì zhōng liánjiē" -#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c msgid "Cannot delete values" msgstr "Wúfǎ shānchú zhí" @@ -446,7 +446,7 @@ msgstr "Shǐyòng shízhōng dānwèi" msgid "Column entry must be digitalio.DigitalInOut" msgstr "Liè tiáomù bìxū shì digitalio.DigitalInOut" -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Command must be an int between 0 and 255" msgstr "Mìnglìng bìxū shì 0 dào 255 zhī jiān de int" @@ -484,8 +484,8 @@ msgstr "Shùjù 0 de yǐn jiǎo bìxū shì zì jié duìqí" msgid "Data chunk must follow fmt chunk" msgstr "Shùjù kuài bìxū zūnxún fmt qū kuài" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c msgid "Data too large for advertisement packet" msgstr "Guǎnggào bāo de shùjù tài dà" @@ -505,8 +505,8 @@ msgstr "Xiǎnshì xuánzhuǎn bìxū 90 dù jiā xīn" msgid "Drive mode not used when direction is input." msgstr "Fāngxiàng shūrù shí qūdòng móshì méiyǒu shǐyòng." -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "EXTINT channel already in use" msgstr "EXTINT píndào yǐjīng shǐyòng" @@ -514,8 +514,8 @@ msgstr "EXTINT píndào yǐjīng shǐyòng" msgid "Error in regex" msgstr "Zhèngzé biǎodá shì cuòwù" -#: shared-bindings/microcontroller/Pin.c -#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/microcontroller/Pin.c shared-bindings/pulseio/PulseOut.c +#: shared-bindings/neopixel_write/__init__.c #: shared-bindings/terminalio/Terminal.c msgid "Expected a %q" msgstr "Yùqí %q" @@ -524,8 +524,8 @@ msgstr "Yùqí %q" msgid "Expected a Characteristic" msgstr "Yùqí de tèdiǎn" -#: 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 "Yùqí UUID" @@ -638,8 +638,8 @@ msgstr "Wúfǎ shìfàng mutex, err 0x%04x" msgid "Failed to start advertising" msgstr "Qǐdòng guǎnggào shībài" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, c-format msgid "Failed to start advertising, err 0x%04x" msgstr "Qǐdòng guǎnggào shībài, err 0x%04x" @@ -657,8 +657,8 @@ msgstr "Qǐdòng sǎomiáo shībài, err 0x%04x" msgid "Failed to stop advertising" msgstr "Wúfǎ tíngzhǐ guǎnggào" -#: ports/nrf/common-hal/bleio/Broadcaster.c #: ports/nrf/common-hal/bleio/Peripheral.c +#: ports/nrf/common-hal/bleio/Broadcaster.c #, c-format msgid "Failed to stop advertising, err 0x%04x" msgstr "Wúfǎ tíngzhǐ guǎnggào, err 0x%04x" @@ -699,8 +699,8 @@ msgstr "Flash xiě rù shībài, err 0x%04x" msgid "Frequency captured is above capability. Capture Paused." msgstr "Pínlǜ bǔhuò gāo yú nénglì. Bǔhuò zàntíng." -#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c #: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c +#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c msgid "Function requires lock" msgstr "Hánshù xūyào suǒdìng" @@ -732,8 +732,8 @@ msgstr "Huǎnchōng qū dàxiǎo bù zhèngquè" msgid "Input/output error" msgstr "Shūrù/shūchū cuòwù" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Invalid %q pin" msgstr "Wúxiào de %q yǐn jiǎo" @@ -778,16 +778,16 @@ msgstr "Wúxiào de wénjiàn" msgid "Invalid format chunk size" msgstr "Géshì kuài dàxiǎo wúxiào" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid number of bits" msgstr "Wèi shù wúxiào" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid phase" msgstr "Jiēduàn wúxiào" -#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: ports/atmel-samd/common-hal/touchio/TouchIn.c +#: ports/atmel-samd/common-hal/audioio/AudioOut.c #: shared-bindings/pulseio/PWMOut.c msgid "Invalid pin" msgstr "Wúxiào de yǐn jiǎo" @@ -808,7 +808,7 @@ msgstr "Yòuxián tōngdào yǐn jiǎo wúxiào" msgid "Invalid pins" msgstr "Wúxiào de yǐn jiǎo" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "Invalid polarity" msgstr "Wúxiào liǎng jí zhí" @@ -913,8 +913,8 @@ msgstr "Méiyǒu miǎnfèi de GCLKs" msgid "No hardware random available" msgstr "Méiyǒu kěyòng de yìngjiàn suíjī" -#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c #: ports/atmel-samd/common-hal/pulseio/PulseIn.c +#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c msgid "No hardware support on pin" msgstr "Méiyǒu zài yǐn jiǎo shàng de yìngjiàn zhīchí" @@ -1061,8 +1061,8 @@ msgstr "Cǎiyàng lǜ bìxū wèi zhèng shù" msgid "Sample rate too high. It must be less than %d" msgstr "Cǎiyàng lǜ tài gāo. Tā bìxū xiǎoyú %d" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Serializer in use" msgstr "Xùliè huà yǐjīng shǐyòngguò" @@ -1070,8 +1070,8 @@ msgstr "Xùliè huà yǐjīng shǐyòngguò" msgid "Slice and value different lengths." msgstr "Qiēpiàn hé zhí bùtóng chángdù." -#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c -#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c +#: shared-bindings/pulseio/PulseIn.c shared-bindings/displayio/Bitmap.c +#: shared-bindings/displayio/TileGrid.c shared-bindings/displayio/Group.c msgid "Slices not supported" msgstr "Qiēpiàn bù shòu zhīchí" @@ -1167,7 +1167,7 @@ msgstr "Yào tuìchū, qǐng chóng zhì bǎnkuài ér bùyòng " msgid "Too many channels in sample." msgstr "Chōuyàng zhōng de píndào tài duō." -#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c +#: shared-bindings/displayio/ParallelBus.c shared-bindings/displayio/FourWire.c msgid "Too many display busses" msgstr "Xiǎnshì zǒngxiàn tài duōle" @@ -1208,8 +1208,8 @@ msgstr "UUID zhí bùshì str,int huò zì jié huǎnchōng qū" msgid "Unable to allocate buffers for signed conversion" msgstr "Wúfǎ fēnpèi huǎnchōng qū yòng yú qiānmíng zhuǎnhuàn" -#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c #: ports/atmel-samd/common-hal/audiobusio/I2SOut.c +#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c msgid "Unable to find free GCLK" msgstr "Wúfǎ zhǎodào miǎnfèi de GCLK" @@ -1334,8 +1334,8 @@ msgstr "cānshù shì yīgè kōng de xùliè" msgid "argument has wrong type" msgstr "cānshù lèixíng cuòwù" -#: py/argcheck.c shared-bindings/_stage/__init__.c -#: shared-bindings/digitalio/DigitalInOut.c shared-bindings/gamepad/GamePad.c +#: py/argcheck.c shared-bindings/gamepad/GamePad.c +#: shared-bindings/_stage/__init__.c shared-bindings/digitalio/DigitalInOut.c msgid "argument num/types mismatch" msgstr "cānshù biānhào/lèixíng bù pǐpèi" @@ -1404,7 +1404,7 @@ msgstr "huǎnchōng qū bìxū shì zì jié lèi duìxiàng" msgid "buffer size must match format" msgstr "huǎnchōng qū dàxiǎo bìxū pǐpèi géshì" -#: shared-bindings/bitbangio/SPI.c shared-bindings/busio/SPI.c +#: shared-bindings/busio/SPI.c shared-bindings/bitbangio/SPI.c msgid "buffer slices must be of equal length" msgstr "huǎnchōng qū qiēpiàn bìxū chángdù xiāngděng" @@ -1691,7 +1691,7 @@ msgstr "mùbiāo chángdù bìxū shì > = 0 de zhěngshù" msgid "dict update sequence has wrong length" msgstr "yǔfǎ gēngxīn xùliè de chángdù cuòwù" -#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c +#: py/objfloat.c py/runtime.c py/modmath.c py/objint_longlong.c py/objint_mpz.c #: shared-bindings/math/__init__.c msgid "division by zero" msgstr "bèi líng chú" @@ -1761,7 +1761,7 @@ msgstr "éwài de guānjiàn cí cānshù" msgid "extra positional arguments given" msgstr "gěi chūle éwài de wèizhì cānshù" -#: 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 "wénjiàn bìxū shì zài zì jié móshì xià dǎkāi de wénjiàn" @@ -1934,7 +1934,7 @@ msgstr "wúxiào de MicroPython zhuāngshì qì" msgid "invalid step" msgstr "wúxiào bùzhòu" -#: py/compile.c py/parse.c +#: py/parse.c py/compile.c msgid "invalid syntax" msgstr "wúxiào de yǔfǎ" @@ -1972,7 +1972,7 @@ msgstr "guānjiàn zì cānshù shàngwèi shíxiàn - qǐng shǐyòng chánggu msgid "keywords must be strings" msgstr "guānjiàn zì bìxū shì zìfú chuàn" -#: py/emitinlinethumb.c py/emitinlinextensa.c +#: py/emitinlinextensa.c py/emitinlinethumb.c msgid "label '%q' not defined" msgstr "biāoqiān '%q' wèi dìngyì" @@ -2079,11 +2079,11 @@ msgstr "yuánshēng chǎnliàng" msgid "need more than %d values to unpack" msgstr "xūyào chāoguò%d de zhí cáinéng jiědú" -#: py/objint_longlong.c py/objint_mpz.c py/runtime.c +#: py/runtime.c py/objint_longlong.c py/objint_mpz.c msgid "negative power with no float support" msgstr "méiyǒu fú diǎn zhīchí de xiāojí gōnglǜ" -#: py/objint_mpz.c py/runtime.c +#: py/runtime.c py/objint_mpz.c msgid "negative shift count" msgstr "fù zhuǎnyí jìshù" @@ -2189,7 +2189,7 @@ msgstr "jīshù zìfú chuàn" msgid "offset out of bounds" msgstr "piānlí biānjiè" -#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c +#: py/objstr.c py/objarray.c py/objstrunicode.c py/objtuple.c #: shared-bindings/nvm/ByteArray.c msgid "only slices with step=1 (aka None) are supported" msgstr "jǐn zhīchí bù zhǎng = 1(jí wú) de qiēpiàn" @@ -2341,7 +2341,7 @@ msgstr "shuìmián chángdù bìxū shìfēi fùshù" msgid "slice step cannot be zero" msgstr "qiēpiàn bù bùnéng wéi líng" -#: py/objint.c py/sequence.c +#: py/sequence.c py/objint.c msgid "small int overflow" msgstr "xiǎo zhěngshù yìchū" @@ -2580,7 +2580,7 @@ msgstr "bù zhīchí de lèixíng wèi %q: '%s', '%s'" #: py/objint.c #, c-format -msgid "value would overflow a %d byte buffer" +msgid "value must fit in %d byte(s)" msgstr "" #: shared-bindings/displayio/Bitmap.c diff --git a/py/objint.c b/py/objint.c index 3b3a3d9c0bc2..9e11871f1095 100644 --- a/py/objint.c +++ b/py/objint.c @@ -338,34 +338,34 @@ void mp_obj_int_buffer_overflow_check(mp_obj_t self_in, size_t nbytes, bool is_s void mp_small_int_buffer_overflow_check(mp_int_t val, size_t nbytes, bool is_signed) { // Fast path for zero. - if (val == 0) return; - if (!is_signed) { - if (val >= 0) { - // Using signed constants here, not UINT8_MAX, etc. to avoid any unintended conversions. - if (val <= 0xff) return; // Small values fit in any number of nbytes. - if (nbytes == 2 && val <= 0xffff) return; -#if !defined(__LP64__) - // 32-bit ints and pointers - if (nbytes >= 4) return; // Any mp_int_t will fit. -#else - // 64-bit ints and pointers - if (nbytes == 4 && val <= 0xffffffff) return; - if (nbytes >= 8) return; // Any mp_int_t will fit. -#endif - } // Negative, fall through to failure. - } else { - // signed - if (val >= INT8_MIN && val <= INT8_MAX) return; // Small values fit in any number of nbytes. - if (nbytes == 2 && val >= INT16_MIN && val <= INT16_MAX) return; -#if !defined(__LP64__) - // 32-bit ints and pointers - if (nbytes >= 4) return; // Any mp_int_t will fit. -#else - // 64-bit ints and pointers - if (nbytes == 4 && val >= INT32_MIN && val <= INT32_MAX) return; - if (nbytes >= 8) return; // Any mp_int_t will fit. -#endif - } // Fall through to failure. + if (val == 0) { + return; + } + + // Trying to store negative values in unsigned bytes falls through to failure. + if (is_signed || val >= 0) { + + if (nbytes >= sizeof(val)) { + // All non-negative N bit signed integers fit in an unsigned N bit integer. + // This case prevents shifting too far below. + return; + } + + if (is_signed) { + mp_int_t edge = ((mp_int_t)1 << (nbytes * 8 - 1)); + if (-edge <= val && val < edge) { + return; + } + // Out of range, fall through to failure. + } else { + // Unsigned. We already know val >= 0. + mp_int_t edge = ((mp_int_t)1 << (nbytes * 8)); + if (val < edge) { + return; + } + } + // Fall through to failure. + } mp_raise_OverflowError_varg(translate("value must fit in %d byte(s)"), nbytes); } diff --git a/tests/basics/array_overflow.py b/tests/basics/bigint_array_overflow.py similarity index 80% rename from tests/basics/array_overflow.py rename to tests/basics/bigint_array_overflow.py index ba3eb7f060bf..0dd79c23d592 100644 --- a/tests/basics/array_overflow.py +++ b/tests/basics/bigint_array_overflow.py @@ -13,13 +13,6 @@ def test_array_overflow(typecode, val): except OverflowError: print('OverflowError') -# small int -1 -test_array_overflow('Q', -1) -test_array_overflow('L', -1) -test_array_overflow('I', -1) -test_array_overflow('H', -1) -test_array_overflow('B', -1) - # big int -1 test_array_overflow('Q', -2**64 // 2**64) test_array_overflow('L', -2**64 // 2**64) diff --git a/tests/basics/int_bytes.py b/tests/basics/int_bytes.py index 8c0c9a82f8a0..aaf440081569 100644 --- a/tests/basics/int_bytes.py +++ b/tests/basics/int_bytes.py @@ -1,4 +1,6 @@ print((10).to_bytes(1, "little")) +# Test fitting in length that's not a power of two. +print((0x10000).to_bytes(3, 'little')) print((111111).to_bytes(4, "little")) print((100).to_bytes(10, "little")) diff --git a/tests/basics/smallint_array_overflow.py b/tests/basics/smallint_array_overflow.py new file mode 100644 index 000000000000..25b457cca1d9 --- /dev/null +++ b/tests/basics/smallint_array_overflow.py @@ -0,0 +1,52 @@ +try: + from array import array +except ImportError: + print("SKIP") + raise SystemExit + +def test_array_overflow(typecode, val): + try: + print(array(typecode, [val])) + except OverflowError: + print('OverflowError') + +def test_bytearray_overflow(val): + try: + print(bytearray([val])) + except (OverflowError, ValueError): + # CircuitPython always does OverflowError + print('(OverflowError, ValueError)') + + +# small int -1 +test_array_overflow('Q', -1) +test_array_overflow('L', -1) +test_array_overflow('I', -1) +test_array_overflow('H', -1) +test_array_overflow('B', -1) + +# 0 ok +test_array_overflow('Q', 0) +test_array_overflow('L', 0) +test_array_overflow('I', 0) +test_array_overflow('H', 0) +test_array_overflow('B', 0) + +# 1 ok +test_array_overflow('Q', 1) +test_array_overflow('L', 1) +test_array_overflow('I', 1) +test_array_overflow('H', 1) +test_array_overflow('B', 1) + +# truth value conversions +test_array_overflow('b', True) +test_array_overflow('b', False) + +# similar tests for bytearrays +test_bytearray_overflow(0) +test_bytearray_overflow(1) +test_bytearray_overflow(-1) +test_bytearray_overflow(256) +test_bytearray_overflow(True) +test_bytearray_overflow(False)