@@ -139,6 +139,10 @@ msgstr ""
139139msgid "%q index out of range"
140140msgstr ""
141141
142+ #: py/obj.c
143+ msgid "%q indices must be integers, not %s"
144+ msgstr ""
145+
142146#: shared-module/bitbangio/SPI.c
143147msgid "%q init failed"
144148msgstr ""
@@ -214,7 +218,7 @@ msgstr ""
214218msgid "%q must be of type %q or %q, not %q"
215219msgstr ""
216220
217- #: py/argcheck.c py/obj.c py/ objstrunicode.c shared-module/synthio/__init__.c
221+ #: py/argcheck.c py/objstrunicode.c shared-module/synthio/__init__.c
218222msgid "%q must be of type %q, not %q"
219223msgstr ""
220224
@@ -417,6 +421,10 @@ msgstr ""
417421msgid "'yield' outside function"
418422msgstr ""
419423
424+ #: py/compile.c
425+ msgid "* arg after **"
426+ msgstr ""
427+
420428#: py/compile.c
421429msgid "*x must be assignment target"
422430msgstr ""
@@ -840,10 +848,6 @@ msgstr ""
840848msgid "Coordinate arrays types have different sizes"
841849msgstr ""
842850
843- #: py/persistentcode.c
844- msgid "Corrupt .mpy file"
845- msgstr ""
846-
847851#: ports/espressif/common-hal/neopixel_write/__init__.c
848852msgid "Could not retrieve clock"
849853msgstr ""
@@ -1138,12 +1142,6 @@ msgstr ""
11381142msgid "In-buffer elements must be <= 4 bytes long"
11391143msgstr ""
11401144
1141- #: py/persistentcode.c
1142- msgid ""
1143- "Incompatible .mpy file. Please update all .mpy files. See http://adafru.it/"
1144- "mpy-update for more info."
1145- msgstr ""
1146-
11471145#: shared-bindings/_pew/PewPew.c
11481146msgid "Incorrect buffer size"
11491147msgstr ""
@@ -1490,7 +1488,7 @@ msgstr ""
14901488msgid "No in or out in program"
14911489msgstr ""
14921490
1493- #: shared-bindings/time/__init__.c
1491+ #: py/objint.c shared-bindings/time/__init__.c
14941492msgid "No long integer support"
14951493msgstr ""
14961494
@@ -2498,6 +2496,10 @@ msgstr ""
24982496msgid "array/bytes required on right side"
24992497msgstr ""
25002498
2499+ #: py/asmxtensa.c
2500+ msgid "asm overflow"
2501+ msgstr ""
2502+
25012503#: extmod/ulab/code/numpy/numerical.c
25022504msgid "attempt to get (arg)min/(arg)max of empty sequence"
25032505msgstr ""
@@ -2587,6 +2589,10 @@ msgstr ""
25872589msgid "buffer too small for requested bytes"
25882590msgstr ""
25892591
2592+ #: py/emitbc.c
2593+ msgid "bytecode overflow"
2594+ msgstr ""
2595+
25902596#: py/objarray.c
25912597msgid "bytes length not a multiple of item size"
25922598msgstr ""
@@ -2632,7 +2638,7 @@ msgstr ""
26322638msgid "can't cancel self"
26332639msgstr ""
26342640
2635- #: py/obj.c py/ objint.c py/runtime.c shared-module/adafruit_pixelbuf/PixelBuf.c
2641+ #: py/objint.c py/runtime.c shared-module/adafruit_pixelbuf/PixelBuf.c
26362642msgid "can't convert %q to %q"
26372643msgstr ""
26382644
@@ -2641,6 +2647,11 @@ msgstr ""
26412647msgid "can't convert %s to complex"
26422648msgstr ""
26432649
2650+ #: py/obj.c
2651+ #, c-format
2652+ msgid "can't convert %s to float"
2653+ msgstr ""
2654+
26442655#: py/objstr.c
26452656msgid "can't convert '%q' object to %q implicitly"
26462657msgstr ""
@@ -2650,11 +2661,11 @@ msgid "can't convert complex to float"
26502661msgstr ""
26512662
26522663#: py/obj.c
2653- msgid "can't convert to %q "
2664+ msgid "can't convert to complex "
26542665msgstr ""
26552666
26562667#: py/obj.c
2657- msgid "can't convert to complex "
2668+ msgid "can't convert to float "
26582669msgstr ""
26592670
26602671#: py/runtime.c
@@ -2681,14 +2692,6 @@ msgstr ""
26812692msgid "can't do truncated division of a complex number"
26822693msgstr ""
26832694
2684- #: py/compile.c
2685- msgid "can't have multiple **x"
2686- msgstr ""
2687-
2688- #: py/compile.c
2689- msgid "can't have multiple *x"
2690- msgstr ""
2691-
26922695#: py/emitnative.c
26932696msgid "can't implicitly convert '%q' to 'bool'"
26942697msgstr ""
@@ -2743,6 +2746,10 @@ msgid ""
27432746"can't switch from manual field specification to automatic field numbering"
27442747msgstr ""
27452748
2749+ #: extmod/moduasyncio.c
2750+ msgid "can't wait"
2751+ msgstr ""
2752+
27462753#: extmod/ulab/code/ndarray.c
27472754msgid "cannot assign new shape"
27482755msgstr ""
@@ -2839,10 +2846,6 @@ msgstr ""
28392846msgid "compression header"
28402847msgstr ""
28412848
2842- #: py/parse.c
2843- msgid "constant must be an integer"
2844- msgstr ""
2845-
28462849#: py/emitnative.c
28472850msgid "conversion to object"
28482851msgstr ""
@@ -3179,7 +3182,11 @@ msgid "import * not at module level"
31793182msgstr ""
31803183
31813184#: py/persistentcode.c
3182- msgid "incompatible native .mpy architecture"
3185+ msgid "incompatible .mpy arch"
3186+ msgstr ""
3187+
3188+ #: py/persistentcode.c
3189+ msgid "incompatible .mpy file"
31833190msgstr ""
31843191
31853192#: py/objstr.c
@@ -3208,6 +3215,10 @@ msgstr ""
32083215msgid "index out of range"
32093216msgstr ""
32103217
3218+ #: py/obj.c
3219+ msgid "indices must be integers"
3220+ msgstr ""
3221+
32113222#: extmod/ulab/code/ndarray.c
32123223msgid "indices must be integers, slices, or Boolean lists"
32133224msgstr ""
@@ -3341,10 +3352,6 @@ msgstr ""
33413352msgid "invalid exception"
33423353msgstr ""
33433354
3344- #: extmod/modframebuf.c
3345- msgid "invalid format"
3346- msgstr ""
3347-
33483355#: py/objstr.c
33493356msgid "invalid format specifier"
33503357msgstr ""
@@ -3406,10 +3413,6 @@ msgstr ""
34063413msgid "keyword argument(s) not yet implemented - use normal args instead"
34073414msgstr ""
34083415
3409- #: py/bc.c
3410- msgid "keywords must be strings"
3411- msgstr ""
3412-
34133416#: py/emitinlinethumb.c py/emitinlinextensa.c
34143417msgid "label '%q' not defined"
34153418msgstr ""
@@ -3634,14 +3637,6 @@ msgstr ""
36343637msgid "non-hex digit found"
36353638msgstr ""
36363639
3637- #: py/compile.c
3638- msgid "non-keyword arg after */**"
3639- msgstr ""
3640-
3641- #: py/compile.c
3642- msgid "non-keyword arg after keyword arg"
3643- msgstr ""
3644-
36453640#: ports/nrf/common-hal/_bleio/Adapter.c
36463641msgid "non-zero timeout must be > 0.01"
36473642msgstr ""
@@ -3654,6 +3649,10 @@ msgstr ""
36543649msgid "not a 128-bit UUID"
36553650msgstr ""
36563651
3652+ #: py/parse.c
3653+ msgid "not a constant"
3654+ msgstr ""
3655+
36573656#: py/objstr.c
36583657msgid "not all arguments converted during string formatting"
36593658msgstr ""
@@ -3892,6 +3891,14 @@ msgstr ""
38923891msgid "port must be >= 0"
38933892msgstr ""
38943893
3894+ #: py/compile.c
3895+ msgid "positional arg after **"
3896+ msgstr ""
3897+
3898+ #: py/compile.c
3899+ msgid "positional arg after keyword arg"
3900+ msgstr ""
3901+
38953902#: py/objint_mpz.c
38963903msgid "pow() 3rd argument cannot be 0"
38973904msgstr ""
@@ -3920,6 +3927,11 @@ msgstr ""
39203927msgid "relative import"
39213928msgstr ""
39223929
3930+ #: py/obj.c
3931+ #, c-format
3932+ msgid "requested length %d but object has length %d"
3933+ msgstr ""
3934+
39233935#: extmod/ulab/code/ndarray_operators.c
39243936msgid "results cannot be cast to specified type"
39253937msgstr ""
@@ -4114,6 +4126,10 @@ msgstr ""
41144126msgid "tobytes can be invoked for dense arrays only"
41154127msgstr ""
41164128
4129+ #: py/compile.c
4130+ msgid "too many args"
4131+ msgstr ""
4132+
41174133#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/create.c
41184134msgid "too many dimensions"
41194135msgstr ""
@@ -4139,6 +4155,10 @@ msgstr ""
41394155msgid "trapz is defined for 1D iterables"
41404156msgstr ""
41414157
4158+ #: py/obj.c
4159+ msgid "tuple/list has wrong length"
4160+ msgstr ""
4161+
41424162#: ports/espressif/common-hal/canio/CAN.c
41434163#, c-format
41444164msgid "twai_driver_install returned esp-idf error #%d"
0 commit comments