summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhierophect <hierophect@gmail.com>2020-03-03 15:03:19 -0500
committerGitHub <noreply@github.com>2020-03-03 15:03:19 -0500
commit3178462218210b33abc0c06e74591ca270ac52c6 (patch)
treebd868bfa2855f6819cbdb257638756b9cca3cd34
parenteb71bfe9d3971dc87fe3d7c89f09598e5f66d52a (diff)
parent2fea811c307d8fa5f30bf960617509c1eea2b61a (diff)
Merge branch 'master' into stm32-pulseout
-rw-r--r--.gitmodules6
m---------frozen/Adafruit_CircuitPython_ESP32SPI0
m---------frozen/Adafruit_CircuitPython_Requests0
-rw-r--r--lib/oofatfs/ff.c6
-rw-r--r--lib/oofatfs/ffconf.h6
-rw-r--r--locale/ID.po214
-rw-r--r--locale/circuitpython.pot214
-rw-r--r--locale/de_DE.po214
-rw-r--r--locale/en_US.po214
-rw-r--r--locale/en_x_pirate.po214
-rw-r--r--locale/es.po214
-rw-r--r--locale/fil.po214
-rw-r--r--locale/fr.po214
-rw-r--r--locale/it_IT.po214
-rw-r--r--locale/ko.po214
-rw-r--r--locale/pl.po214
-rw-r--r--locale/pt_BR.po214
-rw-r--r--locale/zh_Latn_pinyin.po214
-rw-r--r--mpy-cross/.gitignore1
-rw-r--r--mpy-cross/Makefile.fuzz6
-rw-r--r--ports/mimxrt10xx/boards/feather_m7_1011/mpconfigboard.mk4
-rw-r--r--ports/mimxrt10xx/boards/feather_mimxrt1011/mpconfigboard.mk4
-rw-r--r--ports/mimxrt10xx/common-hal/busio/I2C.c4
-rwxr-xr-xports/nrf/Makefile1
-rw-r--r--ports/nrf/supervisor/qspi_flash.c43
-rw-r--r--ports/unix/Makefile12
-rw-r--r--py/compile.c17
-rw-r--r--py/parse.c3
28 files changed, 2866 insertions, 29 deletions
diff --git a/.gitmodules b/.gitmodules
index 88d46f69d..74ba714b2 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -114,3 +114,9 @@
[submodule "frozen/Adafruit_CircuitPython_Register"]
path = frozen/Adafruit_CircuitPython_Register
url = https://github.com/adafruit/Adafruit_CircuitPython_Register.git
+[submodule "frozen/Adafruit_CircuitPython_ESP32SPI"]
+ path = frozen/Adafruit_CircuitPython_ESP32SPI
+ url = https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI
+[submodule "frozen/Adafruit_CircuitPython_Requests"]
+ path = frozen/Adafruit_CircuitPython_Requests
+ url = https://github.com/adafruit/Adafruit_CircuitPython_Requests
diff --git a/frozen/Adafruit_CircuitPython_ESP32SPI b/frozen/Adafruit_CircuitPython_ESP32SPI
new file mode 160000
+Subproject f523b2316bc3e25220b88c5435868c6a5880dfa
diff --git a/frozen/Adafruit_CircuitPython_Requests b/frozen/Adafruit_CircuitPython_Requests
new file mode 160000
+Subproject e8a759719e94c69a01f9e07d418ca6db39114db
diff --git a/lib/oofatfs/ff.c b/lib/oofatfs/ff.c
index 71bd19702..e961c789d 100644
--- a/lib/oofatfs/ff.c
+++ b/lib/oofatfs/ff.c
@@ -3382,11 +3382,7 @@ FRESULT f_read (
if (!sect) ABORT(fs, FR_INT_ERR);
sect += csect;
cc = btr / SS(fs); /* When remaining bytes >= sector size, */
- if (cc
-#if _FS_DISK_READ_ALIGNED
- && (((int)rbuff & 3) == 0)
-#endif
- ) {/* Read maximum contiguous sectors directly */
+ if (cc) {/* Read maximum contiguous sectors directly */
if (csect + cc > fs->csize) { /* Clip at cluster boundary */
cc = fs->csize - csect;
}
diff --git a/lib/oofatfs/ffconf.h b/lib/oofatfs/ffconf.h
index a3795fa3f..214311b4c 100644
--- a/lib/oofatfs/ffconf.h
+++ b/lib/oofatfs/ffconf.h
@@ -343,12 +343,6 @@
/ SemaphoreHandle_t and etc.. A header file for O/S definitions needs to be
/ included somewhere in the scope of ff.h. */
-// Set to nonzero if buffers passed to disk_read have a word alignment
-// restriction
-#ifndef _FS_DISK_READ_ALIGNED
-#define _FS_DISK_READ_ALIGNED 0
-#endif
-
/* #include <windows.h> // O/S definitions */
diff --git a/locale/ID.po b/locale/ID.po
index cb9fdfee4..45a310902 100644
--- a/locale/ID.po
+++ b/locale/ID.po
@@ -185,6 +185,10 @@ msgid "'align' requires 1 argument"
msgstr "'align' membutuhkan 1 argumen"
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr "'await' diluar fungsi"
@@ -684,6 +688,10 @@ msgstr ""
msgid "Extended advertisements with scan response not supported."
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr ""
@@ -1002,6 +1010,10 @@ msgstr ""
msgid "Must provide MISO or MOSI pin"
msgstr ""
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr ""
@@ -1597,6 +1609,10 @@ msgstr ""
msgid "arg is an empty sequence"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr ""
@@ -1610,6 +1626,10 @@ msgstr "argumen num/types tidak cocok"
msgid "argument should be a '%q' not a '%q'"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr ""
@@ -1618,6 +1638,18 @@ msgstr ""
msgid "attributes not supported yet"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr "mode compile buruk"
@@ -1861,6 +1893,10 @@ msgstr ""
msgid "cannot perform relative import"
msgstr "tidak dapat melakukan relative import"
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr ""
@@ -1917,6 +1953,30 @@ msgstr ""
msgid "conversion to object"
msgstr ""
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr ""
@@ -1942,6 +2002,10 @@ msgstr ""
msgid "dict update sequence has wrong length"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -1955,6 +2019,10 @@ msgstr ""
msgid "empty heap"
msgstr "heap kosong"
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr ""
@@ -2021,6 +2089,10 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr ""
@@ -2029,6 +2101,14 @@ msgstr ""
msgid "firstbit must be MSB"
msgstr "bit pertama(firstbit) harus berupa MSB"
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr ""
@@ -2045,6 +2125,10 @@ msgstr ""
msgid "full"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr "fungsi tidak dapat mengambil argumen keyword"
@@ -2121,6 +2205,10 @@ msgstr ""
msgid "incorrect padding"
msgstr "lapisan (padding) tidak benar"
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2131,10 +2219,46 @@ msgstr "index keluar dari jangkauan"
msgid "indices must be integers"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "inline assembler harus sebuah fungsi"
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr ""
@@ -2213,6 +2337,14 @@ msgstr ""
msgid "issubclass() arg 2 must be a class or a tuple of classes"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr ""
@@ -2269,6 +2401,10 @@ msgstr ""
msgid "math domain error"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2292,6 +2428,10 @@ msgstr ""
msgid "module not found"
msgstr "modul tidak ditemukan"
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr "perkalian *x dalam assignment"
@@ -2316,6 +2456,10 @@ msgstr "harus menentukan semua pin sck/mosi/miso"
msgid "must use keyword argument for key function"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr ""
@@ -2402,6 +2546,14 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2461,6 +2613,14 @@ msgstr "modul tidak ditemukan"
msgid "only bit_depth=16 is supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr ""
@@ -2470,6 +2630,22 @@ msgstr ""
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr ""
@@ -2545,6 +2721,10 @@ msgstr ""
msgid "queue overflow"
msgstr "antrian meluap (overflow)"
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr "relative import"
@@ -2562,6 +2742,10 @@ msgstr "anotasi return harus sebuah identifier"
msgid "return expected '%q' but got '%q'"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr ""
@@ -2584,6 +2768,10 @@ msgstr ""
msgid "script compilation not supported"
msgstr "kompilasi script tidak didukung"
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr ""
@@ -2596,6 +2784,10 @@ msgstr ""
msgid "single '}' encountered in format string"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr ""
@@ -2612,6 +2804,10 @@ msgstr ""
msgid "soft reboot\n"
msgstr "memulai ulang software(soft reboot)\n"
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr ""
@@ -2702,12 +2898,16 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr ""
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr ""
@@ -2838,6 +3038,14 @@ msgstr ""
msgid "window must be <= interval"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@@ -2846,6 +3054,10 @@ msgstr ""
msgid "wrong number of values to unpack"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr ""
diff --git a/locale/circuitpython.pot b/locale/circuitpython.pot
index 4272080d9..4c0dabfb1 100644
--- a/locale/circuitpython.pot
+++ b/locale/circuitpython.pot
@@ -184,6 +184,10 @@ msgid "'align' requires 1 argument"
msgstr ""
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr ""
@@ -673,6 +677,10 @@ msgstr ""
msgid "Extended advertisements with scan response not supported."
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr ""
@@ -991,6 +999,10 @@ msgstr ""
msgid "Must provide MISO or MOSI pin"
msgstr ""
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr ""
@@ -1574,6 +1586,10 @@ msgstr ""
msgid "arg is an empty sequence"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr ""
@@ -1587,6 +1603,10 @@ msgstr ""
msgid "argument should be a '%q' not a '%q'"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr ""
@@ -1595,6 +1615,18 @@ msgstr ""
msgid "attributes not supported yet"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr ""
@@ -1837,6 +1869,10 @@ msgstr ""
msgid "cannot perform relative import"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr ""
@@ -1893,6 +1929,30 @@ msgstr ""
msgid "conversion to object"
msgstr ""
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr ""
@@ -1918,6 +1978,10 @@ msgstr ""
msgid "dict update sequence has wrong length"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -1931,6 +1995,10 @@ msgstr ""
msgid "empty heap"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr ""
@@ -1997,6 +2065,10 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr ""
@@ -2005,6 +2077,14 @@ msgstr ""
msgid "firstbit must be MSB"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr ""
@@ -2021,6 +2101,10 @@ msgstr ""
msgid "full"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr ""
@@ -2097,6 +2181,10 @@ msgstr ""
msgid "incorrect padding"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2107,10 +2195,46 @@ msgstr ""
msgid "indices must be integers"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr ""
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr ""
@@ -2189,6 +2313,14 @@ msgstr ""
msgid "issubclass() arg 2 must be a class or a tuple of classes"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr ""
@@ -2245,6 +2377,10 @@ msgstr ""
msgid "math domain error"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2268,6 +2404,10 @@ msgstr ""
msgid "module not found"
msgstr ""
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr ""
@@ -2292,6 +2432,10 @@ msgstr ""
msgid "must use keyword argument for key function"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr ""
@@ -2378,6 +2522,14 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2436,6 +2588,14 @@ msgstr ""
msgid "only bit_depth=16 is supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr ""
@@ -2445,6 +2605,22 @@ msgstr ""
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr ""
@@ -2520,6 +2696,10 @@ msgstr ""
msgid "queue overflow"
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr ""
@@ -2537,6 +2717,10 @@ msgstr ""
msgid "return expected '%q' but got '%q'"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr ""
@@ -2559,6 +2743,10 @@ msgstr ""
msgid "script compilation not supported"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr ""
@@ -2571,6 +2759,10 @@ msgstr ""
msgid "single '}' encountered in format string"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr ""
@@ -2587,6 +2779,10 @@ msgstr ""
msgid "soft reboot\n"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr ""
@@ -2676,12 +2872,16 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr ""
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr ""
@@ -2812,6 +3012,14 @@ msgstr ""
msgid "window must be <= interval"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@@ -2820,6 +3028,10 @@ msgstr ""
msgid "wrong number of values to unpack"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr ""
diff --git a/locale/de_DE.po b/locale/de_DE.po
index 1e8a61dd7..35529b768 100644
--- a/locale/de_DE.po
+++ b/locale/de_DE.po
@@ -186,6 +186,10 @@ msgid "'align' requires 1 argument"
msgstr "'align' erfordert genau ein Argument"
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr "'await' außerhalb einer Funktion"
@@ -677,6 +681,10 @@ msgstr "Habe ein Tupel der Länge %d erwartet aber %d erhalten"
msgid "Extended advertisements with scan response not supported."
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr "Kommando nicht gesendet."
@@ -1000,6 +1008,10 @@ msgstr "Muss eine %q Unterklasse sein."
msgid "Must provide MISO or MOSI pin"
msgstr ""
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr ""
@@ -1602,6 +1614,10 @@ msgstr "adresses ist leer"
msgid "arg is an empty sequence"
msgstr "arg ist eine leere Sequenz"
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr "Argument hat falschen Typ"
@@ -1615,6 +1631,10 @@ msgstr "Anzahl/Type der Argumente passen nicht"
msgid "argument should be a '%q' not a '%q'"
msgstr "Argument sollte '%q' sein, nicht '%q'"
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr "Array/Bytes auf der rechten Seite erforderlich"
@@ -1623,6 +1643,18 @@ msgstr "Array/Bytes auf der rechten Seite erforderlich"
msgid "attributes not supported yet"
msgstr "Attribute werden noch nicht unterstützt"
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr ""
@@ -1865,6 +1897,10 @@ msgstr "Name %q kann nicht importiert werden"
msgid "cannot perform relative import"
msgstr "kann keinen relativen Import durchführen"
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr ""
@@ -1922,6 +1958,30 @@ msgstr "constant muss ein integer sein"
msgid "conversion to object"
msgstr "Umwandlung zu Objekt"
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr "Dezimalzahlen nicht unterstützt"
@@ -1947,6 +2007,10 @@ msgstr "destination_length muss ein int >= 0 sein"
msgid "dict update sequence has wrong length"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -1960,6 +2024,10 @@ msgstr "leer"
msgid "empty heap"
msgstr "leerer heap"
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr "leeres Trennzeichen"
@@ -2026,6 +2094,10 @@ msgstr "Die Datei muss eine im Byte-Modus geöffnete Datei sein"
msgid "filesystem must provide mount method"
msgstr "Das Dateisystem muss eine Mount-Methode bereitstellen"
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr "Das erste Argument für super() muss type sein"
@@ -2034,6 +2106,14 @@ msgstr "Das erste Argument für super() muss type sein"
msgid "firstbit must be MSB"
msgstr "Erstes Bit muss das höchstwertigste Bit (MSB) sein"
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr "float zu groß"
@@ -2050,6 +2130,10 @@ msgstr ""
msgid "full"
msgstr "voll"
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr "Funktion akzeptiert keine Keyword-Argumente"
@@ -2127,6 +2211,10 @@ msgstr "unvollständiger Formatschlüssel"
msgid "incorrect padding"
msgstr "padding ist inkorrekt"
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2137,10 +2225,46 @@ msgstr "index außerhalb der Reichweite"
msgid "indices must be integers"
msgstr "Indizes müssen ganze Zahlen sein"
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "inline assembler muss eine function sein"
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr "int() arg 2 muss >= 2 und <= 36 sein"
@@ -2219,6 +2343,14 @@ msgstr "issubclass() arg 1 muss eine Klasse sein"
msgid "issubclass() arg 2 must be a class or a tuple of classes"
msgstr "issubclass() arg 2 muss eine Klasse oder ein Tupel von Klassen sein"
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr ""
@@ -2281,6 +2413,10 @@ msgstr "map buffer zu klein"
msgid "math domain error"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2304,6 +2440,10 @@ msgstr "Speicherzuweisung fehlgeschlagen, der Heap ist gesperrt"
msgid "module not found"
msgstr "Modul nicht gefunden"
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr "mehrere *x in Zuordnung"
@@ -2328,6 +2468,10 @@ msgstr "sck/mosi/miso müssen alle spezifiziert sein"
msgid "must use keyword argument for key function"
msgstr "muss Schlüsselwortargument für key function verwenden"
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr "Name '%q' ist nirgends definiert worden (Schreibweise kontrollieren)"
@@ -2414,6 +2558,14 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2472,6 +2624,14 @@ msgstr "offset außerhalb der Grenzen"
msgid "only bit_depth=16 is supported"
msgstr "nur eine bit_depth=16 wird unterstützt"
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr "nur eine sample_rate=16000 wird unterstützt"
@@ -2481,6 +2641,22 @@ msgstr "nur eine sample_rate=16000 wird unterstützt"
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr "ord erwartet ein Zeichen"
@@ -2558,6 +2734,10 @@ msgstr ""
msgid "queue overflow"
msgstr "Warteschlangenüberlauf"
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr "relativer Import"
@@ -2575,6 +2755,10 @@ msgstr "return annotation muss ein identifier sein"
msgid "return expected '%q' but got '%q'"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr ""
@@ -2599,6 +2783,10 @@ msgstr "Der schedule stack ist voll"
msgid "script compilation not supported"
msgstr "kompilieren von Skripten nicht unterstützt"
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr ""
@@ -2611,6 +2799,10 @@ msgstr ""
msgid "single '}' encountered in format string"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr ""
@@ -2627,6 +2819,10 @@ msgstr "small int Überlauf"
msgid "soft reboot\n"
msgstr "weicher reboot\n"
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr "start/end Indizes"
@@ -2717,12 +2913,16 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr ""
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr ""
@@ -2857,6 +3057,14 @@ msgstr "value_count muss größer als 0 sein"
msgid "window must be <= interval"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "falsche Anzahl an Argumenten"
@@ -2865,6 +3073,10 @@ msgstr "falsche Anzahl an Argumenten"
msgid "wrong number of values to unpack"
msgstr "falsche Anzahl zu entpackender Werte"
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr "x Wert außerhalb der Grenzen"
diff --git a/locale/en_US.po b/locale/en_US.po
index 2f9677594..c422703c4 100644
--- a/locale/en_US.po
+++ b/locale/en_US.po
@@ -184,6 +184,10 @@ msgid "'align' requires 1 argument"
msgstr ""
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr ""
@@ -673,6 +677,10 @@ msgstr ""
msgid "Extended advertisements with scan response not supported."
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr ""
@@ -991,6 +999,10 @@ msgstr ""
msgid "Must provide MISO or MOSI pin"
msgstr ""
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr ""
@@ -1574,6 +1586,10 @@ msgstr ""
msgid "arg is an empty sequence"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr ""
@@ -1587,6 +1603,10 @@ msgstr ""
msgid "argument should be a '%q' not a '%q'"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr ""
@@ -1595,6 +1615,18 @@ msgstr ""
msgid "attributes not supported yet"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr ""
@@ -1837,6 +1869,10 @@ msgstr ""
msgid "cannot perform relative import"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr ""
@@ -1893,6 +1929,30 @@ msgstr ""
msgid "conversion to object"
msgstr ""
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr ""
@@ -1918,6 +1978,10 @@ msgstr ""
msgid "dict update sequence has wrong length"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -1931,6 +1995,10 @@ msgstr ""
msgid "empty heap"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr ""
@@ -1997,6 +2065,10 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr ""
@@ -2005,6 +2077,14 @@ msgstr ""
msgid "firstbit must be MSB"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr ""
@@ -2021,6 +2101,10 @@ msgstr ""
msgid "full"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr ""
@@ -2097,6 +2181,10 @@ msgstr ""
msgid "incorrect padding"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2107,10 +2195,46 @@ msgstr ""
msgid "indices must be integers"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr ""
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr ""
@@ -2189,6 +2313,14 @@ msgstr ""
msgid "issubclass() arg 2 must be a class or a tuple of classes"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr ""
@@ -2245,6 +2377,10 @@ msgstr ""
msgid "math domain error"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2268,6 +2404,10 @@ msgstr ""
msgid "module not found"
msgstr ""
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr ""
@@ -2292,6 +2432,10 @@ msgstr ""
msgid "must use keyword argument for key function"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr ""
@@ -2378,6 +2522,14 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2436,6 +2588,14 @@ msgstr ""
msgid "only bit_depth=16 is supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr ""
@@ -2445,6 +2605,22 @@ msgstr ""
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr ""
@@ -2520,6 +2696,10 @@ msgstr ""
msgid "queue overflow"
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr ""
@@ -2537,6 +2717,10 @@ msgstr ""
msgid "return expected '%q' but got '%q'"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr ""
@@ -2559,6 +2743,10 @@ msgstr ""
msgid "script compilation not supported"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr ""
@@ -2571,6 +2759,10 @@ msgstr ""
msgid "single '}' encountered in format string"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr ""
@@ -2587,6 +2779,10 @@ msgstr ""
msgid "soft reboot\n"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr ""
@@ -2676,12 +2872,16 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr ""
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr ""
@@ -2812,6 +3012,14 @@ msgstr ""
msgid "window must be <= interval"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@@ -2820,6 +3028,10 @@ msgstr ""
msgid "wrong number of values to unpack"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr ""
diff --git a/locale/en_x_pirate.po b/locale/en_x_pirate.po
index 78cda4fbc..1f897f0ce 100644
--- a/locale/en_x_pirate.po
+++ b/locale/en_x_pirate.po
@@ -186,6 +186,10 @@ msgid "'align' requires 1 argument"
msgstr ""
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr ""
@@ -677,6 +681,10 @@ msgstr ""
msgid "Extended advertisements with scan response not supported."
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr ""
@@ -995,6 +1003,10 @@ msgstr ""
msgid "Must provide MISO or MOSI pin"
msgstr ""
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr ""
@@ -1578,6 +1590,10 @@ msgstr ""
msgid "arg is an empty sequence"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr ""
@@ -1591,6 +1607,10 @@ msgstr ""
msgid "argument should be a '%q' not a '%q'"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr ""
@@ -1599,6 +1619,18 @@ msgstr ""
msgid "attributes not supported yet"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr ""
@@ -1841,6 +1873,10 @@ msgstr ""
msgid "cannot perform relative import"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr ""
@@ -1897,6 +1933,30 @@ msgstr ""
msgid "conversion to object"
msgstr ""
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr ""
@@ -1922,6 +1982,10 @@ msgstr ""
msgid "dict update sequence has wrong length"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -1935,6 +1999,10 @@ msgstr ""
msgid "empty heap"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr ""
@@ -2001,6 +2069,10 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr ""
@@ -2009,6 +2081,14 @@ msgstr ""
msgid "firstbit must be MSB"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr ""
@@ -2025,6 +2105,10 @@ msgstr ""
msgid "full"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr ""
@@ -2101,6 +2185,10 @@ msgstr ""
msgid "incorrect padding"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2111,10 +2199,46 @@ msgstr ""
msgid "indices must be integers"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr ""
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr ""
@@ -2193,6 +2317,14 @@ msgstr ""
msgid "issubclass() arg 2 must be a class or a tuple of classes"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr ""
@@ -2249,6 +2381,10 @@ msgstr ""
msgid "math domain error"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2272,6 +2408,10 @@ msgstr ""
msgid "module not found"
msgstr ""
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr ""
@@ -2296,6 +2436,10 @@ msgstr ""
msgid "must use keyword argument for key function"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr ""
@@ -2382,6 +2526,14 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2440,6 +2592,14 @@ msgstr ""
msgid "only bit_depth=16 is supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr ""
@@ -2449,6 +2609,22 @@ msgstr ""
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr ""
@@ -2524,6 +2700,10 @@ msgstr ""
msgid "queue overflow"
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr ""
@@ -2541,6 +2721,10 @@ msgstr ""
msgid "return expected '%q' but got '%q'"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr ""
@@ -2563,6 +2747,10 @@ msgstr ""
msgid "script compilation not supported"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr ""
@@ -2575,6 +2763,10 @@ msgstr ""
msgid "single '}' encountered in format string"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr ""
@@ -2591,6 +2783,10 @@ msgstr ""
msgid "soft reboot\n"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr ""
@@ -2680,12 +2876,16 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr ""
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr ""
@@ -2816,6 +3016,14 @@ msgstr ""
msgid "window must be <= interval"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@@ -2824,6 +3032,10 @@ msgstr ""
msgid "wrong number of values to unpack"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr ""
diff --git a/locale/es.po b/locale/es.po
index aecdea9e0..3fed75dfe 100644
--- a/locale/es.po
+++ b/locale/es.po
@@ -186,6 +186,10 @@ msgid "'align' requires 1 argument"
msgstr "'align' requiere 1 argumento"
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr "'await' fuera de la función"
@@ -679,6 +683,10 @@ msgstr "Se esperaba un tuple de %d, se obtuvo %d"
msgid "Extended advertisements with scan response not supported."
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr "Fallo enviando comando"
@@ -999,6 +1007,10 @@ msgstr "Debe de ser una subclase de %q"
msgid "Must provide MISO or MOSI pin"
msgstr ""
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr ""
@@ -1598,6 +1610,10 @@ msgstr "addresses esta vacío"
msgid "arg is an empty sequence"
msgstr "argumento es una secuencia vacía"
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr "el argumento tiene un tipo erroneo"
@@ -1611,6 +1627,10 @@ msgstr "argumento número/tipos no coinciden"
msgid "argument should be a '%q' not a '%q'"
msgstr "argumento deberia ser un '%q' no un '%q'"
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr "array/bytes requeridos en el lado derecho"
@@ -1619,6 +1639,18 @@ msgstr "array/bytes requeridos en el lado derecho"
msgid "attributes not supported yet"
msgstr "atributos aún no soportados"
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr "modo de compilación erroneo"
@@ -1866,6 +1898,10 @@ msgstr "no se puede importar name '%q'"
msgid "cannot perform relative import"
msgstr "no se puedo realizar importación relativa"
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr ""
@@ -1922,6 +1958,30 @@ msgstr "constant debe ser un entero"
msgid "conversion to object"
msgstr "conversión a objeto"
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr "números decimales no soportados"
@@ -1949,6 +2009,10 @@ 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"
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -1962,6 +2026,10 @@ msgstr "vacío"
msgid "empty heap"
msgstr "heap vacío"
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr "separator vacío"
@@ -2028,6 +2096,10 @@ msgstr "el archivo deberia ser una archivo abierto en modo byte"
msgid "filesystem must provide mount method"
msgstr "sistema de archivos debe proporcionar método de montaje"
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr "primer argumento para super() debe ser de tipo"
@@ -2036,6 +2108,14 @@ msgstr "primer argumento para super() debe ser de tipo"
msgid "firstbit must be MSB"
msgstr "firstbit debe ser MSB"
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr ""
@@ -2052,6 +2132,10 @@ msgstr "format requiere un dict"
msgid "full"
msgstr "lleno"
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr "la función no tiene argumentos por palabra clave"
@@ -2128,6 +2212,10 @@ msgstr ""
msgid "incorrect padding"
msgstr "relleno (padding) incorrecto"
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2138,10 +2226,46 @@ msgstr "index fuera de rango"
msgid "indices must be integers"
msgstr "indices deben ser enteros"
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "ensamblador en línea debe ser una función"
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr "int() arg 2 debe ser >= 2 y <= 36"
@@ -2220,6 +2344,14 @@ msgstr "issubclass() arg 1 debe ser una clase"
msgid "issubclass() arg 2 must be a class or a tuple of classes"
msgstr "issubclass() arg 2 debe ser una clase o tuple de clases"
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr ""
@@ -2279,6 +2411,10 @@ msgstr "map buffer muy pequeño"
msgid "math domain error"
msgstr "error de dominio matemático"
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2302,6 +2438,10 @@ msgstr "la asignación de memoria falló, el heap está bloqueado"
msgid "module not found"
msgstr "módulo no encontrado"
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr "múltiples *x en la asignación"
@@ -2326,6 +2466,10 @@ msgstr "se deben de especificar sck/mosi/miso"
msgid "must use keyword argument for key function"
msgstr "debe utilizar argumento de palabra clave para la función clave"
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr "name '%q' no esta definido"
@@ -2415,6 +2559,14 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr "no suficientes argumentos para format string"
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2474,6 +2626,14 @@ msgstr "address fuera de límites"
msgid "only bit_depth=16 is supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr ""
@@ -2483,6 +2643,22 @@ msgstr ""
msgid "only slices with step=1 (aka None) are supported"
msgstr "solo se admiten segmentos con step=1 (alias None)"
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr "ord espera un carácter"
@@ -2558,6 +2734,10 @@ msgstr "pow() con 3 argumentos requiere enteros"
msgid "queue overflow"
msgstr "desbordamiento de cola(queue)"
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr "import relativo"
@@ -2575,6 +2755,10 @@ msgstr "la anotación de retorno debe ser un identificador"
msgid "return expected '%q' but got '%q'"
msgstr "retorno esperado '%q' pero se obtuvo '%q'"
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr "rsplit(None,n)"
@@ -2599,6 +2783,10 @@ msgstr ""
msgid "script compilation not supported"
msgstr "script de compilación no soportado"
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr "signo no permitido en el espeficador de string format"
@@ -2611,6 +2799,10 @@ msgstr "signo no permitido con el especificador integer format 'c'"
msgid "single '}' encountered in format string"
msgstr "un solo '}' encontrado en format string"
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr "la longitud de sleep no puede ser negativa"
@@ -2627,6 +2819,10 @@ msgstr "pequeño int desbordamiento"
msgid "soft reboot\n"
msgstr "reinicio suave\n"
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr "índices inicio/final"
@@ -2717,12 +2913,16 @@ msgstr "timestamp fuera de rango para plataform time_t"
msgid "too many arguments provided with the given format"
msgstr "demasiados argumentos provistos con el formato dado"
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr "demasiados valores para descomprimir (%d esperado)"
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr "tuple index fuera de rango"
@@ -2853,6 +3053,14 @@ msgstr ""
msgid "window must be <= interval"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "numero erroneo de argumentos"
@@ -2861,6 +3069,10 @@ msgstr "numero erroneo de argumentos"
msgid "wrong number of values to unpack"
msgstr "numero erroneo de valores a descomprimir"
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
#, fuzzy
msgid "x value out of bounds"
diff --git a/locale/fil.po b/locale/fil.po
index be9930d42..be1158ec6 100644
--- a/locale/fil.po
+++ b/locale/fil.po
@@ -187,6 +187,10 @@ msgid "'align' requires 1 argument"
msgstr "'align' kailangan ng 1 argument"
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr "'await' sa labas ng function"
@@ -687,6 +691,10 @@ msgstr ""
msgid "Extended advertisements with scan response not supported."
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr ""
@@ -1007,6 +1015,10 @@ msgstr ""
msgid "Must provide MISO or MOSI pin"
msgstr ""
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr ""
@@ -1607,6 +1619,10 @@ msgstr "walang laman ang address"
msgid "arg is an empty sequence"
msgstr "arg ay walang laman na sequence"
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr "may maling type ang argument"
@@ -1620,6 +1636,10 @@ msgstr "hindi tugma ang argument num/types"
msgid "argument should be a '%q' not a '%q'"
msgstr "argument ay dapat na '%q' hindi '%q'"
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr "array/bytes kinakailangan sa kanang bahagi"
@@ -1628,6 +1648,18 @@ msgstr "array/bytes kinakailangan sa kanang bahagi"
msgid "attributes not supported yet"
msgstr "attributes hindi sinusuportahan"
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr "masamang mode ng compile"
@@ -1877,6 +1909,10 @@ msgstr "hindi ma-import ang name %q"
msgid "cannot perform relative import"
msgstr "hindi maaring isagawa ang relative import"
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr "casting"
@@ -1933,6 +1969,30 @@ msgstr "constant ay dapat na integer"
msgid "conversion to object"
msgstr "kombersyon to object"
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr "decimal numbers hindi sinusuportahan"
@@ -1962,6 +2022,10 @@ 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"
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -1975,6 +2039,10 @@ msgstr "walang laman"
msgid "empty heap"
msgstr "walang laman ang heap"
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr "walang laman na separator"
@@ -2042,6 +2110,10 @@ msgstr "file ay dapat buksan sa byte mode"
msgid "filesystem must provide mount method"
msgstr "ang filesystem dapat mag bigay ng mount method"
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr "unang argument ng super() ay dapat type"
@@ -2050,6 +2122,14 @@ msgstr "unang argument ng super() ay dapat type"
msgid "firstbit must be MSB"
msgstr "firstbit ay dapat MSB"
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr "masyadong malaki ang float"
@@ -2066,6 +2146,10 @@ msgstr "kailangan ng format ng dict"
msgid "full"
msgstr "puno"
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr "ang function ay hindi kumukuha ng mga argumento ng keyword"
@@ -2143,6 +2227,10 @@ msgstr "hindi kumpleto ang format key"
msgid "incorrect padding"
msgstr "mali ang padding"
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2153,10 +2241,46 @@ msgstr "index wala sa sakop"
msgid "indices must be integers"
msgstr "ang mga indeks ay dapat na integer"
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "inline assembler ay dapat na function"
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr "int() arg 2 ay dapat >=2 at <= 36"
@@ -2235,6 +2359,14 @@ msgstr "issubclass() arg 1 ay dapat na class"
msgid "issubclass() arg 2 must be a class or a tuple of classes"
msgstr "issubclass() arg 2 ay dapat na class o tuple ng classes"
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr ""
@@ -2295,6 +2427,10 @@ msgstr "masyadong maliit ang buffer map"
msgid "math domain error"
msgstr "may pagkakamali sa math domain"
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2318,6 +2454,10 @@ msgstr "abigo ang paglalaan ng memorya, ang heap ay naka-lock"
msgid "module not found"
msgstr "module hindi nakita"
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr "maramihang *x sa assignment"
@@ -2342,6 +2482,10 @@ msgstr "dapat tukuyin lahat ng SCK/MOSI/MISO"
msgid "must use keyword argument for key function"
msgstr "dapat gumamit ng keyword argument para sa key function"
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr "name '%q' ay hindi defined"
@@ -2428,6 +2572,14 @@ msgstr "hindi lahat ng arguments na i-convert habang string formatting"
msgid "not enough arguments for format string"
msgstr "kulang sa arguments para sa format string"
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2487,6 +2639,14 @@ msgstr "wala sa sakop ang address"
msgid "only bit_depth=16 is supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr ""
@@ -2496,6 +2656,22 @@ msgstr ""
msgid "only slices with step=1 (aka None) are supported"
msgstr "ang mga slices lamang na may hakbang = 1 (aka None) ang sinusuportahan"
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr "ord umaasa ng character"
@@ -2572,6 +2748,10 @@ msgstr "pow() na may 3 argumento kailangan ng integers"
msgid "queue overflow"
msgstr "puno na ang pila (overflow)"
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr "relative import"
@@ -2589,6 +2769,10 @@ msgstr "return annotation ay dapat na identifier"
msgid "return expected '%q' but got '%q'"
msgstr "return umasa ng '%q' pero ang nakuha ay ‘%q’"
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr "rsplit(None,n)"
@@ -2613,6 +2797,10 @@ msgstr "puno na ang schedule stack"
msgid "script compilation not supported"
msgstr "script kompilasyon hindi supportado"
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr "sign hindi maaring string format specifier"
@@ -2625,6 +2813,10 @@ msgstr "sign hindi maari sa integer format specifier 'c'"
msgid "single '}' encountered in format string"
msgstr "isang '}' nasalubong sa format string"
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr "sleep length ay dapat hindi negatibo"
@@ -2641,6 +2833,10 @@ msgstr "small int overflow"
msgid "soft reboot\n"
msgstr "malambot na reboot\n"
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr "start/end indeks"
@@ -2732,12 +2928,16 @@ msgstr "wala sa sakop ng timestamp ang platform time_t"
msgid "too many arguments provided with the given format"
msgstr "masyadong maraming mga argumento na ibinigay sa ibinigay na format"
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr "masyadong maraming values para i-unpact (umaasa ng %d)"
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr "indeks ng tuple wala sa sakop"
@@ -2868,6 +3068,14 @@ msgstr ""
msgid "window must be <= interval"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "mali ang bilang ng argumento"
@@ -2876,6 +3084,10 @@ msgstr "mali ang bilang ng argumento"
msgid "wrong number of values to unpack"
msgstr "maling number ng value na i-unpack"
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
#, fuzzy
msgid "x value out of bounds"
diff --git a/locale/fr.po b/locale/fr.po
index b5e41dacb..e06d6336d 100644
--- a/locale/fr.po
+++ b/locale/fr.po
@@ -188,6 +188,10 @@ msgid "'align' requires 1 argument"
msgstr "'align' nécessite 1 argument"
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr "'await' en dehors d'une fonction"
@@ -690,6 +694,10 @@ msgstr "Tuple de longueur %d attendu, obtenu %d"
msgid "Extended advertisements with scan response not supported."
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr ""
@@ -1014,6 +1022,10 @@ msgstr ""
msgid "Must provide MISO or MOSI pin"
msgstr ""
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr ""
@@ -1624,6 +1636,10 @@ msgstr "adresses vides"
msgid "arg is an empty sequence"
msgstr "l'argument est une séquence vide"
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr "l'argument est d'un mauvais type"
@@ -1637,6 +1653,10 @@ msgstr "argument num/types ne correspond pas"
msgid "argument should be a '%q' not a '%q'"
msgstr "l'argument devrait être un(e) '%q', pas '%q'"
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr "tableau/octets requis à droite"
@@ -1645,6 +1665,18 @@ msgstr "tableau/octets requis à droite"
msgid "attributes not supported yet"
msgstr "attribut pas encore supporté"
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr "mauvais mode de compilation"
@@ -1900,6 +1932,10 @@ msgstr "ne peut pas importer le nom %q"
msgid "cannot perform relative import"
msgstr "ne peut pas réaliser un import relatif"
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr "typage"
@@ -1960,6 +1996,30 @@ msgstr "constante doit être un entier"
msgid "conversion to object"
msgstr "conversion en objet"
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr "nombres décimaux non supportés"
@@ -1987,6 +2047,10 @@ 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"
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -2000,6 +2064,10 @@ msgstr "vide"
msgid "empty heap"
msgstr "tas vide"
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr "séparateur vide"
@@ -2067,6 +2135,10 @@ msgstr "le fichier doit être un fichier ouvert en mode 'byte'"
msgid "filesystem must provide mount method"
msgstr "le system de fichier doit fournir une méthode 'mount'"
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr "le premier argument de super() doit être un type"
@@ -2075,6 +2147,14 @@ msgstr "le premier argument de super() doit être un type"
msgid "firstbit must be MSB"
msgstr "le 1er bit doit être le MSB"
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr "nombre à virgule flottante trop grand"
@@ -2091,6 +2171,10 @@ msgstr "le format nécessite un dict"
msgid "full"
msgstr "plein"
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr "la fonction ne prend pas d'arguments nommés"
@@ -2167,6 +2251,10 @@ msgstr "clé de format incomplète"
msgid "incorrect padding"
msgstr "espacement incorrect"
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2177,10 +2265,46 @@ msgstr "index hors gamme"
msgid "indices must be integers"
msgstr "les indices doivent être des entiers"
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "l'assembleur doit être une fonction"
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr "l'argument 2 de int() doit être >=2 et <=36"
@@ -2260,6 +2384,14 @@ msgid "issubclass() arg 2 must be a class or a tuple of classes"
msgstr ""
"l'argument 2 de issubclass() doit être une classe ou un tuple de classes"
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr ""
@@ -2319,6 +2451,10 @@ msgstr "tampon trop petit"
msgid "math domain error"
msgstr "erreur de domaine math"
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2342,6 +2478,10 @@ msgstr "l'allocation de mémoire a échoué, le tas est vérrouillé"
msgid "module not found"
msgstr "module introuvable"
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr "*x multiple dans l'assignement"
@@ -2366,6 +2506,10 @@ msgstr "sck, mosi et miso doivent tous être spécifiés"
msgid "must use keyword argument for key function"
msgstr "doit utiliser un argument nommé pour une fonction key"
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr "nom '%q' non défini"
@@ -2455,6 +2599,14 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr "pas assez d'arguments pour la chaîne de format"
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2514,6 +2666,14 @@ msgstr "adresse hors limites"
msgid "only bit_depth=16 is supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr ""
@@ -2523,6 +2683,22 @@ msgstr ""
msgid "only slices with step=1 (aka None) are supported"
msgstr "seules les tranches avec 'step=1' (cad None) sont supportées"
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr "ord attend un caractère"
@@ -2604,6 +2780,10 @@ msgstr "pow() avec 3 arguments nécessite des entiers"
msgid "queue overflow"
msgstr "dépassement de file"
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr "import relatif"
@@ -2621,6 +2801,10 @@ msgstr "l'annotation de return doit être un identifiant"
msgid "return expected '%q' but got '%q'"
msgstr "return attendait '%q' mais a reçu '%q'"
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr ""
@@ -2645,6 +2829,10 @@ msgstr "pile de planification pleine"
msgid "script compilation not supported"
msgstr "compilation de script non supportée"
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr "signe non autorisé dans les spéc. de formats de chaînes de caractères"
@@ -2657,6 +2845,10 @@ msgstr "signe non autorisé avec la spéc. de format d'entier 'c'"
msgid "single '}' encountered in format string"
msgstr "'}' seule rencontrée dans une chaîne de format"
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr "la longueur de sleep ne doit pas être négative"
@@ -2673,6 +2865,10 @@ msgstr "dépassement de capacité d'un entier court"
msgid "soft reboot\n"
msgstr "redémarrage logiciel\n"
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr "indices de début/fin"
@@ -2765,12 +2961,16 @@ msgstr "'timestamp' hors bornes pour 'time_t' de la plateforme"
msgid "too many arguments provided with the given format"
msgstr "trop d'arguments fournis avec ce format"
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr "trop de valeur à dégrouper (%d attendues)"
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr "index du tuple hors gamme"
@@ -2902,6 +3102,14 @@ msgstr "'value_count' doit être > 0"
msgid "window must be <= interval"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "mauvais nombres d'arguments"
@@ -2910,6 +3118,10 @@ msgstr "mauvais nombres d'arguments"
msgid "wrong number of values to unpack"
msgstr "mauvais nombre de valeurs à dégrouper"
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
#, fuzzy
msgid "x value out of bounds"
diff --git a/locale/it_IT.po b/locale/it_IT.po
index 79f35e103..a43e4e247 100644
--- a/locale/it_IT.po
+++ b/locale/it_IT.po
@@ -186,6 +186,10 @@ msgid "'align' requires 1 argument"
msgstr "'align' richiede 1 argomento"
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr "'await' al di fuori della funzione"
@@ -687,6 +691,10 @@ msgstr ""
msgid "Extended advertisements with scan response not supported."
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr ""
@@ -1011,6 +1019,10 @@ msgstr ""
msgid "Must provide MISO or MOSI pin"
msgstr ""
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr ""
@@ -1610,6 +1622,10 @@ msgstr "gli indirizzi sono vuoti"
msgid "arg is an empty sequence"
msgstr "l'argomento è una sequenza vuota"
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr "il tipo dell'argomento è errato"
@@ -1623,6 +1639,10 @@ msgstr "discrepanza di numero/tipo di argomenti"
msgid "argument should be a '%q' not a '%q'"
msgstr "l'argomento dovrebbe essere un '%q' e non un '%q'"
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr ""
@@ -1631,6 +1651,18 @@ msgstr ""
msgid "attributes not supported yet"
msgstr "attributi non ancora supportati"
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr ""
@@ -1877,6 +1909,10 @@ msgstr "impossibile imporate il nome %q"
msgid "cannot perform relative import"
msgstr "impossibile effettuare l'importazione relativa"
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr "casting"
@@ -1935,6 +1971,30 @@ msgstr "la costante deve essere un intero"
msgid "conversion to object"
msgstr "conversione in oggetto"
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr "numeri decimali non supportati"
@@ -1963,6 +2023,10 @@ 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"
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -1976,6 +2040,10 @@ msgstr "vuoto"
msgid "empty heap"
msgstr "heap vuoto"
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr "separatore vuoto"
@@ -2043,6 +2111,10 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr "il filesystem deve fornire un metodo di mount"
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr ""
@@ -2051,6 +2123,14 @@ msgstr ""
msgid "firstbit must be MSB"
msgstr "il primo bit deve essere il più significativo (MSB)"
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr "float troppo grande"
@@ -2067,6 +2147,10 @@ msgstr "la formattazione richiede un dict"
msgid "full"
msgstr "pieno"
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr "la funzione non prende argomenti nominati"
@@ -2144,6 +2228,10 @@ msgstr ""
msgid "incorrect padding"
msgstr "padding incorretto"
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2154,10 +2242,46 @@ msgstr "indice fuori intervallo"
msgid "indices must be integers"
msgstr "gli indici devono essere interi"
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "inline assembler deve essere una funzione"
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr "il secondo argomanto di int() deve essere >= 2 e <= 36"
@@ -2238,6 +2362,14 @@ msgstr ""
"il secondo argomento di issubclass() deve essere una classe o una tupla di "
"classi"
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr ""
@@ -2297,6 +2429,10 @@ msgstr "map buffer troppo piccolo"
msgid "math domain error"
msgstr "errore di dominio matematico"
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2320,6 +2456,10 @@ msgstr "allocazione di memoria fallita, l'heap è bloccato"
msgid "module not found"
msgstr "modulo non trovato"
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr "*x multipli nell'assegnamento"
@@ -2344,6 +2484,10 @@ msgstr "è necessario specificare tutte le sck/mosi/miso"
msgid "must use keyword argument for key function"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr "nome '%q'non definito"
@@ -2433,6 +2577,14 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr "argomenti non sufficienti per la stringa di formattazione"
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2492,6 +2644,14 @@ msgstr "indirizzo fuori limite"
msgid "only bit_depth=16 is supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr ""
@@ -2501,6 +2661,22 @@ msgstr ""
msgid "only slices with step=1 (aka None) are supported"
msgstr "solo slice con step=1 (aka None) sono supportate"
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr "ord() aspetta un carattere"
@@ -2579,6 +2755,10 @@ msgstr "pow() con 3 argomenti richiede interi"
msgid "queue overflow"
msgstr "overflow della coda"
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr "importazione relativa"
@@ -2596,6 +2776,10 @@ msgstr ""
msgid "return expected '%q' but got '%q'"
msgstr "return aspettava '%q' ma ha ottenuto '%q'"
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr ""
@@ -2620,6 +2804,10 @@ msgstr ""
msgid "script compilation not supported"
msgstr "compilazione dello scrip non suportata"
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr "segno non permesso nello spcificatore di formato della stringa"
@@ -2632,6 +2820,10 @@ msgstr "segno non permesso nello spcificatore di formato 'c' della stringa"
msgid "single '}' encountered in format string"
msgstr "'}' singolo presente nella stringa di formattazione"
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr "la lunghezza di sleed deve essere non negativa"
@@ -2648,6 +2840,10 @@ msgstr "small int overflow"
msgid "soft reboot\n"
msgstr "soft reboot\n"
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr ""
@@ -2739,12 +2935,16 @@ msgstr "timestamp è fuori intervallo per il time_t della piattaforma"
msgid "too many arguments provided with the given format"
msgstr "troppi argomenti forniti con il formato specificato"
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr "troppi valori da scompattare (%d attesi)"
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr "indice della tupla fuori intervallo"
@@ -2875,6 +3075,14 @@ msgstr ""
msgid "window must be <= interval"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "numero di argomenti errato"
@@ -2883,6 +3091,10 @@ msgstr "numero di argomenti errato"
msgid "wrong number of values to unpack"
msgstr "numero di valori da scompattare non corretto"
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
#, fuzzy
msgid "x value out of bounds"
diff --git a/locale/ko.po b/locale/ko.po
index b7c2185db..2b2a401aa 100644
--- a/locale/ko.po
+++ b/locale/ko.po
@@ -186,6 +186,10 @@ msgid "'align' requires 1 argument"
msgstr "'align' 에는 1 개의 독립변수가 필요합니다"
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr "'await' 는 펑크션 외부에 있습니다"
@@ -677,6 +681,10 @@ msgstr ""
msgid "Extended advertisements with scan response not supported."
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr ""
@@ -995,6 +1003,10 @@ msgstr ""
msgid "Must provide MISO or MOSI pin"
msgstr ""
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr ""
@@ -1579,6 +1591,10 @@ msgstr ""
msgid "arg is an empty sequence"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr ""
@@ -1592,6 +1608,10 @@ msgstr ""
msgid "argument should be a '%q' not a '%q'"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr ""
@@ -1600,6 +1620,18 @@ msgstr ""
msgid "attributes not supported yet"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr ""
@@ -1842,6 +1874,10 @@ msgstr ""
msgid "cannot perform relative import"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr ""
@@ -1898,6 +1934,30 @@ msgstr ""
msgid "conversion to object"
msgstr ""
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr ""
@@ -1923,6 +1983,10 @@ msgstr ""
msgid "dict update sequence has wrong length"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -1936,6 +2000,10 @@ msgstr ""
msgid "empty heap"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr ""
@@ -2002,6 +2070,10 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr ""
@@ -2010,6 +2082,14 @@ msgstr ""
msgid "firstbit must be MSB"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr "float이 너무 큽니다"
@@ -2026,6 +2106,10 @@ msgstr ""
msgid "full"
msgstr "완전한(full)"
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr ""
@@ -2102,6 +2186,10 @@ msgstr ""
msgid "incorrect padding"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2112,10 +2200,46 @@ msgstr ""
msgid "indices must be integers"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr ""
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr ""
@@ -2194,6 +2318,14 @@ msgstr ""
msgid "issubclass() arg 2 must be a class or a tuple of classes"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr ""
@@ -2250,6 +2382,10 @@ msgstr ""
msgid "math domain error"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2273,6 +2409,10 @@ msgstr ""
msgid "module not found"
msgstr ""
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr ""
@@ -2297,6 +2437,10 @@ msgstr ""
msgid "must use keyword argument for key function"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr ""
@@ -2383,6 +2527,14 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2441,6 +2593,14 @@ msgstr ""
msgid "only bit_depth=16 is supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr ""
@@ -2450,6 +2610,22 @@ msgstr ""
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr ""
@@ -2525,6 +2701,10 @@ msgstr ""
msgid "queue overflow"
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr ""
@@ -2542,6 +2722,10 @@ msgstr ""
msgid "return expected '%q' but got '%q'"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr ""
@@ -2564,6 +2748,10 @@ msgstr ""
msgid "script compilation not supported"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr ""
@@ -2576,6 +2764,10 @@ msgstr ""
msgid "single '}' encountered in format string"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr ""
@@ -2592,6 +2784,10 @@ msgstr ""
msgid "soft reboot\n"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr ""
@@ -2681,12 +2877,16 @@ msgstr ""
msgid "too many arguments provided with the given format"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr ""
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr ""
@@ -2817,6 +3017,14 @@ msgstr ""
msgid "window must be <= interval"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@@ -2825,6 +3033,10 @@ msgstr ""
msgid "wrong number of values to unpack"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr ""
diff --git a/locale/pl.po b/locale/pl.po
index dbe9653c8..f6863ca59 100644
--- a/locale/pl.po
+++ b/locale/pl.po
@@ -185,6 +185,10 @@ msgid "'align' requires 1 argument"
msgstr "'align' wymaga 1 argumentu"
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr "'await' poza funkcją"
@@ -676,6 +680,10 @@ msgstr "Oczekiwano krotkę długości %d, otrzymano %d"
msgid "Extended advertisements with scan response not supported."
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr ""
@@ -996,6 +1004,10 @@ msgstr ""
msgid "Must provide MISO or MOSI pin"
msgstr ""
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr ""
@@ -1582,6 +1594,10 @@ msgstr "adres jest pusty"
msgid "arg is an empty sequence"
msgstr "arg jest puste"
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr "argument ma zły typ"
@@ -1595,6 +1611,10 @@ msgstr "zła liczba lub typ argumentów"
msgid "argument should be a '%q' not a '%q'"
msgstr "argument powinien być '%q' a nie '%q'"
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr "tablica/bytes wymagane po prawej stronie"
@@ -1603,6 +1623,18 @@ msgstr "tablica/bytes wymagane po prawej stronie"
msgid "attributes not supported yet"
msgstr "atrybuty nie są jeszcze obsługiwane"
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr "zły tryb kompilacji"
@@ -1845,6 +1877,10 @@ msgstr "nie można zaimportować nazwy %q"
msgid "cannot perform relative import"
msgstr "nie można wykonać relatywnego importu"
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr "rzutowanie"
@@ -1901,6 +1937,30 @@ msgstr "stała musi być liczbą całkowitą"
msgid "conversion to object"
msgstr "konwersja do obiektu"
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr "liczby dziesiętne nieobsługiwane"
@@ -1927,6 +1987,10 @@ msgstr "destination_length musi być nieujemną liczbą całkowitą"
msgid "dict update sequence has wrong length"
msgstr "sekwencja ma złą długość"
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -1940,6 +2004,10 @@ msgstr "puste"
msgid "empty heap"
msgstr "pusta sterta"
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr "pusty separator"
@@ -2006,6 +2074,10 @@ msgstr "file musi być otwarte w trybie bajtowym"
msgid "filesystem must provide mount method"
msgstr "system plików musi mieć metodę mount"
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr "pierwszy argument super() musi być typem"
@@ -2014,6 +2086,14 @@ msgstr "pierwszy argument super() musi być typem"
msgid "firstbit must be MSB"
msgstr "firstbit musi być MSB"
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr "float zbyt wielki"
@@ -2030,6 +2110,10 @@ msgstr "format wymaga słownika"
msgid "full"
msgstr "pełny"
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr "funkcja nie bierze argumentów nazwanych"
@@ -2106,6 +2190,10 @@ msgstr "niepełny klucz formatu"
msgid "incorrect padding"
msgstr "złe wypełnienie"
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2116,10 +2204,46 @@ msgstr "indeks poza zakresem"
msgid "indices must be integers"
msgstr "indeksy muszą być całkowite"
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "wtrącony asembler musi być funkcją"
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr "argument 2 do int() busi być pomiędzy 2 a 36"
@@ -2198,6 +2322,14 @@ msgstr "argument 1 dla issubclass() musi być klasą"
msgid "issubclass() arg 2 must be a class or a tuple of classes"
msgstr "argument 2 dla issubclass() musi być klasą lub krotką klas"
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr "join oczekuje listy str/bytes zgodnych z self"
@@ -2254,6 +2386,10 @@ msgstr "bufor mapy zbyt mały"
msgid "math domain error"
msgstr "błąd domeny"
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2277,6 +2413,10 @@ msgstr "alokacja pamięci nie powiodła się, sterta zablokowana"
msgid "module not found"
msgstr "brak modułu"
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr "wiele *x w przypisaniu"
@@ -2301,6 +2441,10 @@ msgstr "sck/mosi/miso muszą być podane"
msgid "must use keyword argument for key function"
msgstr "funkcja key musi być podana jako argument nazwany"
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr "nazwa '%q' niezdefiniowana"
@@ -2387,6 +2531,14 @@ msgstr "nie wszystkie argumenty wykorzystane w formatowaniu"
msgid "not enough arguments for format string"
msgstr "nie dość argumentów przy formatowaniu"
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2445,6 +2597,14 @@ msgstr "offset poza zakresem"
msgid "only bit_depth=16 is supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr ""
@@ -2454,6 +2614,22 @@ msgstr ""
msgid "only slices with step=1 (aka None) are supported"
msgstr "tylko fragmenty ze step=1 (lub None) są wspierane"
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr "ord oczekuje znaku"
@@ -2530,6 +2706,10 @@ msgstr "trzyargumentowe pow() wymaga liczb całkowitych"
msgid "queue overflow"
msgstr "przepełnienie kolejki"
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr "relatywny import"
@@ -2547,6 +2727,10 @@ msgstr "anotacja wartości musi być identyfikatorem"
msgid "return expected '%q' but got '%q'"
msgstr "return oczekiwał '%q', a jest '%q'"
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr "rsplit(None,n)"
@@ -2570,6 +2754,10 @@ msgstr "stos planu pełen"
msgid "script compilation not supported"
msgstr "kompilowanie skryptów nieobsługiwane"
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr "znak jest niedopuszczalny w specyfikacji formatu łańcucha"
@@ -2582,6 +2770,10 @@ msgstr "znak jest niedopuszczalny w specyfikacji 'c'"
msgid "single '}' encountered in format string"
msgstr "pojedynczy '}' w specyfikacji formatu"
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr "okres snu musi być nieujemny"
@@ -2598,6 +2790,10 @@ msgstr "przepełnienie small int"
msgid "soft reboot\n"
msgstr "programowy reset\n"
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr "początkowe/końcowe indeksy"
@@ -2687,12 +2883,16 @@ msgstr "timestamp poza zakresem dla time_t na tej platformie"
msgid "too many arguments provided with the given format"
msgstr "zbyt wiele argumentów podanych dla tego formatu"
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr "zbyt wiele wartości do rozpakowania (oczekiwano %d)"
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr "indeks krotki poza zakresem"
@@ -2823,6 +3023,14 @@ msgstr "value_count musi być > 0"
msgid "window must be <= interval"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "zła liczba argumentów"
@@ -2831,6 +3039,10 @@ msgstr "zła liczba argumentów"
msgid "wrong number of values to unpack"
msgstr "zła liczba wartości do rozpakowania"
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr "x poza zakresem"
diff --git a/locale/pt_BR.po b/locale/pt_BR.po
index e9adb9dae..371a6bcf6 100644
--- a/locale/pt_BR.po
+++ b/locale/pt_BR.po
@@ -186,6 +186,10 @@ msgid "'align' requires 1 argument"
msgstr ""
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr ""
@@ -682,6 +686,10 @@ msgstr ""
msgid "Extended advertisements with scan response not supported."
msgstr ""
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr "Falha ao enviar comando."
@@ -1003,6 +1011,10 @@ msgstr ""
msgid "Must provide MISO or MOSI pin"
msgstr ""
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr ""
@@ -1592,6 +1604,10 @@ msgstr ""
msgid "arg is an empty sequence"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr "argumento tem tipo errado"
@@ -1605,6 +1621,10 @@ msgstr ""
msgid "argument should be a '%q' not a '%q'"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr ""
@@ -1613,6 +1633,18 @@ msgstr ""
msgid "attributes not supported yet"
msgstr "atributos ainda não suportados"
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr ""
@@ -1858,6 +1890,10 @@ msgstr "não pode importar nome %q"
msgid "cannot perform relative import"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr ""
@@ -1914,6 +1950,30 @@ msgstr "constante deve ser um inteiro"
msgid "conversion to object"
msgstr ""
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr ""
@@ -1939,6 +1999,10 @@ msgstr "destination_length deve ser um int >= 0"
msgid "dict update sequence has wrong length"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -1952,6 +2016,10 @@ msgstr "vazio"
msgid "empty heap"
msgstr "heap vazia"
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr ""
@@ -2019,6 +2087,10 @@ msgstr ""
msgid "filesystem must provide mount method"
msgstr "sistema de arquivos deve fornecer método de montagem"
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr ""
@@ -2027,6 +2099,14 @@ msgstr ""
msgid "firstbit must be MSB"
msgstr "firstbit devem ser MSB"
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr "float muito grande"
@@ -2043,6 +2123,10 @@ msgstr ""
msgid "full"
msgstr "cheio"
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr "função não aceita argumentos de palavras-chave"
@@ -2119,6 +2203,10 @@ msgstr ""
msgid "incorrect padding"
msgstr "preenchimento incorreto"
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2129,10 +2217,46 @@ msgstr "Índice fora do intervalo"
msgid "indices must be integers"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr ""
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr ""
@@ -2211,6 +2335,14 @@ msgstr ""
msgid "issubclass() arg 2 must be a class or a tuple of classes"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr ""
@@ -2267,6 +2399,10 @@ msgstr ""
msgid "math domain error"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2290,6 +2426,10 @@ msgstr ""
msgid "module not found"
msgstr ""
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr ""
@@ -2314,6 +2454,10 @@ msgstr "deve especificar todos sck/mosi/miso"
msgid "must use keyword argument for key function"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr ""
@@ -2400,6 +2544,14 @@ msgstr ""
msgid "not enough arguments for format string"
msgstr ""
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2458,6 +2610,14 @@ msgstr ""
msgid "only bit_depth=16 is supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr ""
@@ -2467,6 +2627,22 @@ msgstr ""
msgid "only slices with step=1 (aka None) are supported"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr ""
@@ -2542,6 +2718,10 @@ msgstr ""
msgid "queue overflow"
msgstr "estouro de fila"
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr ""
@@ -2559,6 +2739,10 @@ msgstr ""
msgid "return expected '%q' but got '%q'"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr ""
@@ -2581,6 +2765,10 @@ msgstr ""
msgid "script compilation not supported"
msgstr "compilação de script não suportada"
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr ""
@@ -2593,6 +2781,10 @@ msgstr ""
msgid "single '}' encountered in format string"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr ""
@@ -2609,6 +2801,10 @@ msgstr ""
msgid "soft reboot\n"
msgstr ""
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr ""
@@ -2700,12 +2896,16 @@ msgstr "timestamp fora do intervalo para a plataforma time_t"
msgid "too many arguments provided with the given format"
msgstr "Muitos argumentos fornecidos com o formato dado"
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr ""
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr ""
@@ -2836,6 +3036,14 @@ msgstr ""
msgid "window must be <= interval"
msgstr ""
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr ""
@@ -2844,6 +3052,10 @@ msgstr ""
msgid "wrong number of values to unpack"
msgstr ""
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr ""
diff --git a/locale/zh_Latn_pinyin.po b/locale/zh_Latn_pinyin.po
index a4cdf3fc8..682d6c0e3 100644
--- a/locale/zh_Latn_pinyin.po
+++ b/locale/zh_Latn_pinyin.po
@@ -191,6 +191,10 @@ msgid "'align' requires 1 argument"
msgstr "'align' xūyào 1 gè cānshù"
#: py/compile.c
+msgid "'async for' or 'async with' outside async function"
+msgstr ""
+
+#: py/compile.c
msgid "'await' outside function"
msgstr "'await' wàibù gōngnéng"
@@ -684,6 +688,10 @@ msgstr "Qīwàng de chángdù wèi %d de yuán zǔ, dédào %d"
msgid "Extended advertisements with scan response not supported."
msgstr "Bù zhīchí dài yǒu sǎomiáo xiǎngyìng de kuòzhǎn guǎngbò."
+#: extmod/ulab/code/fft.c
+msgid "FFT is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/ps2io/Ps2.c
msgid "Failed sending command."
msgstr "Fāsòng mìnglìng shībài."
@@ -1004,6 +1012,10 @@ msgstr "Bìxū shì %q zi lèi."
msgid "Must provide MISO or MOSI pin"
msgstr "Bìxū tígōng MISO huò MOSI yǐn jiǎo"
+#: py/parse.c
+msgid "Name too long"
+msgstr ""
+
#: shared-bindings/_pixelbuf/PixelBuf.c
msgid "Negative step not supported"
msgstr "Bù zhīchí fù bù"
@@ -1607,6 +1619,10 @@ msgstr "dìzhǐ wèi kōng"
msgid "arg is an empty sequence"
msgstr "cānshù shì yīgè kōng de xùliè"
+#: extmod/ulab/code/numerical.c
+msgid "argsort argument must be an ndarray"
+msgstr ""
+
#: py/runtime.c
msgid "argument has wrong type"
msgstr "cānshù lèixíng cuòwù"
@@ -1620,6 +1636,10 @@ msgstr "cānshù biānhào/lèixíng bù pǐpèi"
msgid "argument should be a '%q' not a '%q'"
msgstr "cānshù yīnggāi shì '%q', 'bùshì '%q'"
+#: extmod/ulab/code/linalg.c
+msgid "arguments must be ndarrays"
+msgstr ""
+
#: py/objarray.c shared-bindings/nvm/ByteArray.c
msgid "array/bytes required on right side"
msgstr "yòu cè xūyào shùzǔ/zì jié"
@@ -1628,6 +1648,18 @@ msgstr "yòu cè xūyào shùzǔ/zì jié"
msgid "attributes not supported yet"
msgstr "shǔxìng shàngwèi zhīchí"
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, None, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be -1, 0, or 1"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "axis must be None, 0, or 1"
+msgstr ""
+
#: py/builtinevex.c
msgid "bad compile mode"
msgstr "biānyì móshì cuòwù"
@@ -1870,6 +1902,10 @@ msgstr "wúfǎ dǎorù míngchēng %q"
msgid "cannot perform relative import"
msgstr "wúfǎ zhíxíng xiāngguān dǎorù"
+#: extmod/ulab/code/ndarray.c
+msgid "cannot reshape array (incompatible input/output shape)"
+msgstr ""
+
#: py/emitnative.c
msgid "casting"
msgstr "tóuyǐng"
@@ -1929,6 +1965,30 @@ msgstr "chángshù bìxū shì yīgè zhěngshù"
msgid "conversion to object"
msgstr "zhuǎnhuàn wèi duìxiàng"
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be linear arrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must be ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/filter.c
+msgid "convolve arguments must not be empty"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "could not broadast input array from shape"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "could not invert Vandermonde matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "ddof must be smaller than length of data set"
+msgstr ""
+
#: py/parsenum.c
msgid "decimal numbers not supported"
msgstr "bù zhīchí xiǎoshù shù"
@@ -1955,6 +2015,10 @@ 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ù"
+#: extmod/ulab/code/numerical.c
+msgid "diff argument must be an ndarray"
+msgstr ""
+
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
#: shared-bindings/math/__init__.c
msgid "division by zero"
@@ -1968,6 +2032,10 @@ msgstr "kòngxián"
msgid "empty heap"
msgstr "kōng yīn yīnxiào"
+#: extmod/ulab/code/ndarray.c
+msgid "empty index range"
+msgstr ""
+
#: py/objstr.c
msgid "empty separator"
msgstr "kōng fēngé fú"
@@ -2034,6 +2102,10 @@ msgstr "wénjiàn bìxū shì zài zì jié móshì xià dǎkāi de wénjiàn"
msgid "filesystem must provide mount method"
msgstr "wénjiàn xìtǒng bìxū tígōng guà zài fāngfǎ"
+#: extmod/ulab/code/ndarray.c
+msgid "first argument must be an iterable"
+msgstr ""
+
#: py/objtype.c
msgid "first argument to super() must be type"
msgstr "chāojí () de dì yī gè cānshù bìxū shì lèixíng"
@@ -2042,6 +2114,14 @@ msgstr "chāojí () de dì yī gè cānshù bìxū shì lèixíng"
msgid "firstbit must be MSB"
msgstr "dì yī wèi bìxū shì MSB"
+#: extmod/ulab/code/ndarray.c
+msgid "flattening order must be either 'C', or 'F'"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "flip argument must be an ndarray"
+msgstr ""
+
#: py/objint.c
msgid "float too big"
msgstr "fú diǎn tài dà"
@@ -2058,6 +2138,10 @@ msgstr "géshì yāoqiú yīgè yǔjù"
msgid "full"
msgstr "chōngfèn"
+#: extmod/ulab/code/linalg.c
+msgid "function defined for ndarrays only"
+msgstr ""
+
#: py/argcheck.c
msgid "function does not take keyword arguments"
msgstr "hánshù méiyǒu guānjiàn cí cānshù"
@@ -2134,6 +2218,10 @@ msgstr "géshì bù wánzhěng de mì yào"
msgid "incorrect padding"
msgstr "bù zhèngquè de tiánchōng"
+#: extmod/ulab/code/ndarray.c
+msgid "index is out of bounds"
+msgstr ""
+
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
#: ports/cxd56/common-hal/pulseio/PulseIn.c
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
@@ -2144,10 +2232,46 @@ msgstr "suǒyǐn chāochū fànwéi"
msgid "indices must be integers"
msgstr "suǒyǐn bìxū shì zhěngshù"
+#: extmod/ulab/code/ndarray.c
+msgid "indices must be integers, slices, or Boolean lists"
+msgstr ""
+
#: py/compile.c
msgid "inline assembler must be a function"
msgstr "nèi lián jíhé bìxū shì yīgè hánshù"
+#: extmod/ulab/code/create.c
+msgid "input argument must be an integer or a 2-tuple"
+msgstr ""
+
+#: extmod/ulab/code/fft.c
+msgid "input array length must be power of 2"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input data must be an iterable"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is asymmetric"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input matrix is singular"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "input must be square matrix"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "input must be tuple, list, range, or ndarray"
+msgstr ""
+
+#: extmod/ulab/code/poly.c
+msgid "input vectors must be of equal length"
+msgstr ""
+
#: py/parsenum.c
msgid "int() arg 2 must be >= 2 and <= 36"
msgstr "zhěngshù() cānshù 2 bìxū > = 2 qiě <= 36"
@@ -2226,6 +2350,14 @@ msgstr "issubclass() cānshù 1 bìxū shì yīgè lèi"
msgid "issubclass() arg 2 must be a class or a tuple of classes"
msgstr "issubclass() cānshù 2 bìxū shì lèi de lèi huò yuán zǔ"
+#: extmod/ulab/code/ndarray.c
+msgid "iterables are not of the same length"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "iterations did not converge"
+msgstr ""
+
#: py/objstr.c
msgid "join expects a list of str/bytes objects consistent with self object"
msgstr ""
@@ -2283,6 +2415,10 @@ msgstr "dìtú huǎnchōng qū tài xiǎo"
msgid "math domain error"
msgstr "shùxué yù cuòwù"
+#: extmod/ulab/code/linalg.c
+msgid "matrix dimensions do not match"
+msgstr ""
+
#: ports/nrf/common-hal/_bleio/Characteristic.c
#: ports/nrf/common-hal/_bleio/Descriptor.c
#, c-format
@@ -2306,6 +2442,10 @@ msgstr "jìyì tǐ fēnpèi shībài, duī bèi suǒdìng"
msgid "module not found"
msgstr "zhǎo bù dào mókuài"
+#: extmod/ulab/code/poly.c
+msgid "more degrees of freedom than data points"
+msgstr ""
+
#: py/compile.c
msgid "multiple *x in assignment"
msgstr "duō gè*x zài zuòyè zhōng"
@@ -2330,6 +2470,10 @@ msgstr "bìxū zhǐdìng suǒyǒu sck/mosi/misco"
msgid "must use keyword argument for key function"
msgstr "bìxū shǐyòng guānjiàn cí cānshù"
+#: extmod/ulab/code/numerical.c
+msgid "n must be between 0, and 9"
+msgstr ""
+
#: py/runtime.c
msgid "name '%q' is not defined"
msgstr "míngchēng '%q' wèi dìngyì"
@@ -2417,6 +2561,14 @@ msgstr "bùshì zì chuàn géshì huà guòchéng zhōng zhuǎnhuàn de suǒyǒ
msgid "not enough arguments for format string"
msgstr "géshì zìfú chuàn cān shǔ bùzú"
+#: extmod/ulab/code/poly.c
+msgid "number of arguments must be 2, or 3"
+msgstr ""
+
+#: extmod/ulab/code/create.c
+msgid "number of points must be at least 2"
+msgstr ""
+
#: py/obj.c
#, c-format
msgid "object '%s' is not a tuple or list"
@@ -2475,6 +2627,14 @@ msgstr "piānlí biānjiè"
msgid "only bit_depth=16 is supported"
msgstr "Jǐn zhīchí wèi shēndù = 16"
+#: extmod/ulab/code/linalg.c
+msgid "only ndarray objects can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/linalg.c
+msgid "only ndarrays can be inverted"
+msgstr ""
+
#: ports/nrf/common-hal/audiobusio/PDMIn.c
msgid "only sample_rate=16000 is supported"
msgstr "Jǐn zhīchí cǎiyàng lǜ = 16000"
@@ -2484,6 +2644,22 @@ msgstr "Jǐn zhīchí cǎiyàng lǜ = 16000"
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"
+#: extmod/ulab/code/linalg.c
+msgid "only square matrices can be inverted"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operands could not be broadcast together"
+msgstr ""
+
+#: extmod/ulab/code/numerical.c
+msgid "operation is not implemented on ndarrays"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "operation is not supported for given type"
+msgstr ""
+
#: py/modbuiltins.c
msgid "ord expects a character"
msgstr "ord yùqí zìfú"
@@ -2559,6 +2735,10 @@ msgstr "pow() yǒu 3 cānshù xūyào zhěngshù"
msgid "queue overflow"
msgstr "duìliè yìchū"
+#: extmod/ulab/code/fft.c
+msgid "real and imaginary parts must be of equal length"
+msgstr ""
+
#: py/builtinimport.c
msgid "relative import"
msgstr "xiāngduì dǎorù"
@@ -2576,6 +2756,10 @@ msgstr "fǎnhuí zhùshì bìxū shì biāozhì fú"
msgid "return expected '%q' but got '%q'"
msgstr "fǎnhuí yùqí de '%q' dàn huòdéle '%q'"
+#: extmod/ulab/code/ndarray.c
+msgid "right hand side must be an ndarray, or a scalar"
+msgstr ""
+
#: py/objstr.c
msgid "rsplit(None,n)"
msgstr ""
@@ -2600,6 +2784,10 @@ msgstr "jìhuà duīzhàn yǐ mǎn"
msgid "script compilation not supported"
msgstr "bù zhīchí jiǎoběn biānyì"
+#: extmod/ulab/code/ndarray.c
+msgid "shape must be a 2-tuple"
+msgstr ""
+
#: py/objstr.c
msgid "sign not allowed in string format specifier"
msgstr "zìfú chuàn géshì shuōmíng fú zhōng bù yǔnxǔ shǐyòng fúhào"
@@ -2612,6 +2800,10 @@ msgstr "zhěngshù géshì shuōmíng fú 'c' bù yǔnxǔ shǐyòng fúhào"
msgid "single '}' encountered in format string"
msgstr "zài géshì zìfú chuàn zhōng yù dào de dāngè '}'"
+#: extmod/ulab/code/linalg.c
+msgid "size is defined for ndarrays only"
+msgstr ""
+
#: shared-bindings/time/__init__.c
msgid "sleep length must be non-negative"
msgstr "shuìmián chángdù bìxū shìfēi fùshù"
@@ -2628,6 +2820,10 @@ msgstr "xiǎo zhěngshù yìchū"
msgid "soft reboot\n"
msgstr "ruǎn chóngqǐ\n"
+#: extmod/ulab/code/numerical.c
+msgid "sort argument must be an ndarray"
+msgstr ""
+
#: py/objstr.c
msgid "start/end indices"
msgstr "kāishǐ/jiéshù zhǐshù"
@@ -2717,12 +2913,16 @@ msgstr "time_t shíjiān chuō chāochū píngtái fànwéi"
msgid "too many arguments provided with the given format"
msgstr "tígōng jǐ dìng géshì de cānshù tài duō"
+#: extmod/ulab/code/ndarray.c
+msgid "too many indices"
+msgstr ""
+
#: py/runtime.c
#, c-format
msgid "too many values to unpack (expected %d)"
msgstr "dǎkāi tài duō zhí (yùqí %d)"
-#: py/objstr.c
+#: extmod/ulab/code/linalg.c py/objstr.c
msgid "tuple index out of range"
msgstr "yuán zǔ suǒyǐn chāochū fànwéi"
@@ -2853,6 +3053,14 @@ msgstr "zhí jìshù bìxū wèi > 0"
msgid "window must be <= interval"
msgstr "Chuāngkǒu bìxū shì <= jiàngé"
+#: extmod/ulab/code/linalg.c
+msgid "wrong argument type"
+msgstr ""
+
+#: extmod/ulab/code/ndarray.c
+msgid "wrong input type"
+msgstr ""
+
#: py/objstr.c
msgid "wrong number of arguments"
msgstr "cānshù shù cuòwù"
@@ -2861,6 +3069,10 @@ msgstr "cānshù shù cuòwù"
msgid "wrong number of values to unpack"
msgstr "wúfǎ jiě bāo de zhí shù"
+#: extmod/ulab/code/ndarray.c
+msgid "wrong operand type on the right hand side"
+msgstr ""
+
#: shared-module/displayio/Shape.c
msgid "x value out of bounds"
msgstr "x zhí chāochū biānjiè"
diff --git a/mpy-cross/.gitignore b/mpy-cross/.gitignore
index 0681b685f..80d7acd42 100644
--- a/mpy-cross/.gitignore
+++ b/mpy-cross/.gitignore
@@ -3,4 +3,5 @@
/mpy-cross.static
/mpy-cross.static.exe
/mpy-cross.static-raspbian
+/mpy-cross.fuzz
/pitools
diff --git a/mpy-cross/Makefile.fuzz b/mpy-cross/Makefile.fuzz
new file mode 100644
index 000000000..ca59788f4
--- /dev/null
+++ b/mpy-cross/Makefile.fuzz
@@ -0,0 +1,6 @@
+
+PROG=mpy-cross.fuzz
+BUILD=build-static
+STATIC_BUILD=1
+CC=afl-clang-fast
+include mpy-cross.mk
diff --git a/ports/mimxrt10xx/boards/feather_m7_1011/mpconfigboard.mk b/ports/mimxrt10xx/boards/feather_m7_1011/mpconfigboard.mk
index 670b48b60..fbaf5d399 100644
--- a/ports/mimxrt10xx/boards/feather_m7_1011/mpconfigboard.mk
+++ b/ports/mimxrt10xx/boards/feather_m7_1011/mpconfigboard.mk
@@ -6,3 +6,7 @@ USB_MANUFACTURER = "Adafruit"
CHIP_VARIANT = MIMXRT1011DAE5A
CHIP_FAMILY = MIMXRT1011
FLASH = W25Q32JV
+
+# Include these Python libraries in the firmware
+FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_ESP32SPI
+FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Requests
diff --git a/ports/mimxrt10xx/boards/feather_mimxrt1011/mpconfigboard.mk b/ports/mimxrt10xx/boards/feather_mimxrt1011/mpconfigboard.mk
index 08164b140..60eed8a80 100644
--- a/ports/mimxrt10xx/boards/feather_mimxrt1011/mpconfigboard.mk
+++ b/ports/mimxrt10xx/boards/feather_mimxrt1011/mpconfigboard.mk
@@ -6,3 +6,7 @@ USB_MANUFACTURER = "arturo182"
CHIP_VARIANT = MIMXRT1011DAE5A
CHIP_FAMILY = MIMXRT1011
FLASH = W25Q64JV
+
+# Include these Python libraries in the firmware
+FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_ESP32SPI
+FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_Requests
diff --git a/ports/mimxrt10xx/common-hal/busio/I2C.c b/ports/mimxrt10xx/common-hal/busio/I2C.c
index 2de996f9a..0bb7dcc6c 100644
--- a/ports/mimxrt10xx/common-hal/busio/I2C.c
+++ b/ports/mimxrt10xx/common-hal/busio/I2C.c
@@ -34,10 +34,8 @@
#include "fsl_lpi2c.h"
-//TODO
+#define I2C_CLOCK_FREQ (CLOCK_GetFreq(kCLOCK_Usb1PllClk) / 8 / (1+CLOCK_GetDiv(kCLOCK_Lpi2cDiv)))
-#define I2C_CLOCK_SOURCE_DIVIDER (5U)
-#define I2C_CLOCK_FREQ (CLOCK_GetFreq(kCLOCK_Usb1PllClk) / 8 / (I2C_CLOCK_SOURCE_DIVIDER + 1U))
static void config_periph_pin(const mcu_periph_obj_t *periph) {
IOMUXC_SetPinMux(
diff --git a/ports/nrf/Makefile b/ports/nrf/Makefile
index 47a5b8653..89d88ce36 100755
--- a/ports/nrf/Makefile
+++ b/ports/nrf/Makefile
@@ -102,7 +102,6 @@ CFLAGS += -Wno-undef
CFLAGS += -Wno-cast-align
NRF_DEFINES += -DCONFIG_GPIO_AS_PINRESET
-NRF_DEFINES += -D_FS_DISK_READ_ALIGNED=1
CFLAGS += $(NRF_DEFINES)
CFLAGS += \
diff --git a/ports/nrf/supervisor/qspi_flash.c b/ports/nrf/supervisor/qspi_flash.c
index bb449d881..90260b091 100644
--- a/ports/nrf/supervisor/qspi_flash.c
+++ b/ports/nrf/supervisor/qspi_flash.c
@@ -83,11 +83,52 @@ bool spi_flash_sector_command(uint8_t command, uint32_t address) {
}
bool spi_flash_write_data(uint32_t address, uint8_t* data, uint32_t length) {
+ // TODO: In theory, this also needs to handle unaligned data and
+ // non-multiple-of-4 length. (in practice, I don't think the fat layer
+ // generates such writes)
return nrfx_qspi_write(data, length, address) == NRFX_SUCCESS;
}
bool spi_flash_read_data(uint32_t address, uint8_t* data, uint32_t length) {
- return nrfx_qspi_read(data, length, address) == NRFX_SUCCESS;
+ int misaligned = ((intptr_t)data) & 3;
+ // If the data is misaligned, we need to read 4 bytes
+ // into an aligned buffer, and then copy 1, 2, or 3 bytes from the aligned
+ // buffer to data.
+ if(misaligned) {
+ int sz = 4 - misaligned;
+ __attribute__((aligned(4))) uint8_t buf[4];
+
+ if(nrfx_qspi_read(buf, 4, address) != NRFX_SUCCESS) {
+ return false;
+ }
+ memcpy(data, buf, sz);
+ data += sz;
+ address += sz;
+ length -= sz;
+ }
+
+ // nrfx_qspi_read works in 4 byte increments, though it doesn't
+ // signal an error if sz is not a multiple of 4. Read (directly into data)
+ // all but the last 1, 2, or 3 bytes depending on the (remaining) length.
+ uint32_t sz = length & ~(uint32_t)3;
+ if(nrfx_qspi_read(data, sz, address) != NRFX_SUCCESS) {
+ return false;
+ }
+ data += sz;
+ address += sz;
+ length -= sz;
+
+ // Now, if we have any bytes left over, we must do a final read of 4
+ // bytes and copy 1, 2, or 3 bytes to data.
+ if(length) {
+ __attribute__((aligned(4))) uint8_t buf[4];
+ if(nrfx_qspi_read(buf, 4, address) != NRFX_SUCCESS) {
+ return false;
+ }
+ memcpy(data, buf, length);
+ }
+
+ return true;
}
void spi_flash_init(void) {
diff --git a/ports/unix/Makefile b/ports/unix/Makefile
index 7ffa0fd08..63c4980c3 100644
--- a/ports/unix/Makefile
+++ b/ports/unix/Makefile
@@ -277,6 +277,18 @@ coverage_test: coverage
coverage_clean:
$(MAKE) V=2 BUILD=build-coverage PROG=micropython_coverage clean
+# build an interpreter for fuzzing
+fuzz:
+ $(MAKE) \
+ CC=afl-clang-fast DEBUG=1 \
+ CFLAGS_EXTRA='$(CFLAGS_EXTRA) -ffunction-sections' \
+ LDFLAGS_EXTRA='$(LDFLAGS_EXTRA)' \
+ BUILD=build-fuzz PROG=micropython_fuzz
+
+fuzz_clean:
+ $(MAKE) V=2 BUILD=build-fuzz PROG=micropython_fuzz clean
+
+
# Value of configure's --host= option (required for cross-compilation).
# Deduce it from CROSS_COMPILE by default, but can be overridden.
ifneq ($(CROSS_COMPILE),)
diff --git a/py/compile.c b/py/compile.c
index 77715d3fe..d5fae0299 100644
--- a/py/compile.c
+++ b/py/compile.c
@@ -1711,6 +1711,16 @@ STATIC void compile_yield_from(compiler_t *comp) {
}
#if MICROPY_PY_ASYNC_AWAIT
+STATIC bool compile_require_async_context(compiler_t *comp, mp_parse_node_struct_t *pns) {
+ int scope_flags = comp->scope_cur->scope_flags;
+ if(scope_flags & MP_SCOPE_FLAG_GENERATOR) {
+ return true;
+ }
+ compile_syntax_error(comp, (mp_parse_node_t)pns,
+ translate("'async for' or 'async with' outside async function"));
+ return false;
+}
+
STATIC void compile_await_object_method(compiler_t *comp, qstr method) {
EMIT_ARG(load_method, method, false);
EMIT_ARG(call_method, 0, 0, 0);
@@ -1720,6 +1730,10 @@ STATIC void compile_await_object_method(compiler_t *comp, qstr method) {
STATIC void compile_async_for_stmt(compiler_t *comp, mp_parse_node_struct_t *pns) {
// comp->break_label |= MP_EMIT_BREAK_FROM_FOR;
+ if(!compile_require_async_context(comp, pns)) {
+ return;
+ }
+
qstr context = MP_PARSE_NODE_LEAF_ARG(pns->nodes[1]);
uint while_else_label = comp_next_label(comp);
uint try_exception_label = comp_next_label(comp);
@@ -1857,6 +1871,9 @@ STATIC void compile_async_with_stmt_helper(compiler_t *comp, int n, mp_parse_nod
}
STATIC void compile_async_with_stmt(compiler_t *comp, mp_parse_node_struct_t *pns) {
+ if(!compile_require_async_context(comp, pns)) {
+ return;
+ }
// get the nodes for the pre-bit of the with (the a as b, c as d, ... bit)
mp_parse_node_t *nodes;
int n = mp_parse_node_extract_list(&pns->nodes[0], PN_with_stmt_list, &nodes);
diff --git a/py/parse.c b/py/parse.c
index 911b891e0..864528470 100644
--- a/py/parse.c
+++ b/py/parse.c
@@ -477,6 +477,9 @@ STATIC void push_result_token(parser_t *parser, uint8_t rule_id) {
mp_parse_node_t pn;
mp_lexer_t *lex = parser->lexer;
if (lex->tok_kind == MP_TOKEN_NAME) {
+ if(lex->vstr.len >= (1 << (8 * MICROPY_QSTR_BYTES_IN_LEN))) {
+ mp_raise_msg(&mp_type_SyntaxError, translate("Name too long"));
+ }
qstr id = qstr_from_strn(lex->vstr.buf, lex->vstr.len);
#if MICROPY_COMP_CONST
// if name is a standalone identifier, look it up in the table of dynamic constants