Skip to content

Commit eac639a

Browse files
authored
Merge pull request #16 from adafruit/main
update from main
2 parents ac5ad03 + a6e0486 commit eac639a

File tree

228 files changed

+4032
-1814
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

228 files changed

+4032
-1814
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
run: |
3838
sudo apt-get install -y eatmydata
3939
sudo eatmydata apt-get install -y gettext librsvg2-bin mingw-w64
40-
pip install requests sh click setuptools cpp-coveralls "Sphinx<4" sphinx-rtd-theme recommonmark sphinx-autoapi sphinxcontrib-svg2pdfconverter polib pyyaml astroid
40+
pip install requests sh click setuptools cpp-coveralls "Sphinx<4" sphinx-rtd-theme recommonmark sphinx-autoapi sphinxcontrib-svg2pdfconverter polib pyyaml astroid isort
4141
- name: Versions
4242
run: |
4343
gcc --version

locale/ID.po

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: PACKAGE VERSION\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2020-07-07 14:38-0500\n"
8+
"POT-Creation-Date: 2020-07-17 18:03-0700\n"
99
"PO-Revision-Date: 2020-07-06 18:10+0000\n"
1010
"Last-Translator: oon arfiandwi <[email protected]>\n"
1111
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -84,10 +84,15 @@ msgstr "indeks %q harus bilangan bulat, bukan %s"
8484
msgid "%q list must be a list"
8585
msgstr "daftar %q harus berupa daftar"
8686

87+
#: shared-bindings/memorymonitor/AllocationAlarm.c
88+
msgid "%q must be >= 0"
89+
msgstr ""
90+
8791
#: shared-bindings/_bleio/CharacteristicBuffer.c
8892
#: shared-bindings/_bleio/PacketBuffer.c shared-bindings/displayio/Group.c
89-
#: shared-bindings/displayio/Shape.c shared-bindings/vectorio/Circle.c
90-
#: shared-bindings/vectorio/Rectangle.c
93+
#: shared-bindings/displayio/Shape.c
94+
#: shared-bindings/memorymonitor/AllocationAlarm.c
95+
#: shared-bindings/vectorio/Circle.c shared-bindings/vectorio/Rectangle.c
9196
msgid "%q must be >= 1"
9297
msgstr "%q harus >= 1"
9398

@@ -111,6 +116,10 @@ msgstr "%q() mengambil posisi argumen %d tapi %d yang diberikan"
111116
msgid "'%q' argument required"
112117
msgstr "'%q' argumen dibutuhkan"
113118

119+
#: py/objarray.c
120+
msgid "'%q' object is not bytes-like"
121+
msgstr ""
122+
114123
#: py/emitinlinethumb.c py/emitinlinextensa.c
115124
#, c-format
116125
msgid "'%s' expects a label"
@@ -321,6 +330,11 @@ msgstr "Semua timer sedang digunakan"
321330
msgid "Already advertising."
322331
msgstr "Sudah disebarkan."
323332

333+
#: shared-module/memorymonitor/AllocationAlarm.c
334+
#: shared-module/memorymonitor/AllocationSize.c
335+
msgid "Already running"
336+
msgstr ""
337+
324338
#: ports/cxd56/common-hal/analogio/AnalogIn.c
325339
msgid "AnalogIn not supported on given pin"
326340
msgstr "AnalogIn tidak didukung pada pin yang diberikan"
@@ -356,6 +370,11 @@ msgstr "Nilai array harus berupa byte tunggal."
356370
msgid "At most %d %q may be specified (not %d)"
357371
msgstr "Paling banyak %d %q dapat ditentukan (bukan %d)"
358372

373+
#: shared-module/memorymonitor/AllocationAlarm.c
374+
#, c-format
375+
msgid "Attempt to allocate %d blocks"
376+
msgstr ""
377+
359378
#: supervisor/shared/safe_mode.c
360379
msgid "Attempted heap allocation when MicroPython VM not running."
361380
msgstr "Mencoba alokasi heap ketika MicroPython VM tidak berjalan."
@@ -477,7 +496,9 @@ msgstr "Panggil super().__init__() sebelum mengakses objek asli."
477496
msgid "Can't set CCCD on local Characteristic"
478497
msgstr "Tidak dapat mengatur CCCD pada Karakteristik lokal"
479498

480-
#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c
499+
#: shared-bindings/displayio/Bitmap.c
500+
#: shared-bindings/memorymonitor/AllocationSize.c
501+
#: shared-bindings/pulseio/PulseIn.c
481502
msgid "Cannot delete values"
482503
msgstr "Tidak dapat menghapus nilai"
483504

@@ -1375,6 +1396,7 @@ msgstr ""
13751396
msgid "Random number generation error"
13761397
msgstr ""
13771398

1399+
#: shared-bindings/memorymonitor/AllocationSize.c
13781400
#: shared-bindings/pulseio/PulseIn.c
13791401
msgid "Read-only"
13801402
msgstr ""
@@ -1461,7 +1483,9 @@ msgid "Slice and value different lengths."
14611483
msgstr ""
14621484

14631485
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
1464-
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
1486+
#: shared-bindings/displayio/TileGrid.c
1487+
#: shared-bindings/memorymonitor/AllocationSize.c
1488+
#: shared-bindings/pulseio/PulseIn.c
14651489
msgid "Slices not supported"
14661490
msgstr ""
14671491

@@ -3137,7 +3161,7 @@ msgstr "struct: index keluar dari jangkauan"
31373161
msgid "struct: no fields"
31383162
msgstr "struct: tidak ada fields"
31393163

3140-
#: py/objstr.c
3164+
#: py/objarray.c py/objstr.c
31413165
msgid "substring not found"
31423166
msgstr ""
31433167

locale/circuitpython.pot

Lines changed: 46 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
# SPDX-FileCopyrightText: 2014 MicroPython & CircuitPython contributors (https://github.com/adafruit/circuitpython/graphs/contributors)
1+
# SOME DESCRIPTIVE TITLE.
2+
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3+
# This file is distributed under the same license as the PACKAGE package.
4+
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
25
#
3-
# SPDX-License-Identifier: MIT
4-
6+
#, fuzzy
57
msgid ""
68
msgstr ""
79
"Project-Id-Version: PACKAGE VERSION\n"
810
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2020-07-07 14:38-0500\n"
11+
"POT-Creation-Date: 2020-07-21 18:43-0700\n"
1012
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1113
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1214
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -76,10 +78,15 @@ msgstr ""
7678
msgid "%q list must be a list"
7779
msgstr ""
7880

81+
#: shared-bindings/memorymonitor/AllocationAlarm.c
82+
msgid "%q must be >= 0"
83+
msgstr ""
84+
7985
#: shared-bindings/_bleio/CharacteristicBuffer.c
8086
#: shared-bindings/_bleio/PacketBuffer.c shared-bindings/displayio/Group.c
81-
#: shared-bindings/displayio/Shape.c shared-bindings/vectorio/Circle.c
82-
#: shared-bindings/vectorio/Rectangle.c
87+
#: shared-bindings/displayio/Shape.c
88+
#: shared-bindings/memorymonitor/AllocationAlarm.c
89+
#: shared-bindings/vectorio/Circle.c shared-bindings/vectorio/Rectangle.c
8390
msgid "%q must be >= 1"
8491
msgstr ""
8592

@@ -103,6 +110,10 @@ msgstr ""
103110
msgid "'%q' argument required"
104111
msgstr ""
105112

113+
#: py/objarray.c
114+
msgid "'%q' object is not bytes-like"
115+
msgstr ""
116+
106117
#: py/emitinlinethumb.c py/emitinlinextensa.c
107118
#, c-format
108119
msgid "'%s' expects a label"
@@ -223,6 +234,10 @@ msgstr ""
223234
msgid "'continue' outside loop"
224235
msgstr ""
225236

237+
#: py/objgenerator.c
238+
msgid "'coroutine' object is not an iterator"
239+
msgstr ""
240+
226241
#: py/compile.c
227242
msgid "'data' requires at least 2 arguments"
228243
msgstr ""
@@ -305,14 +320,19 @@ msgstr ""
305320
#: ports/cxd56/common-hal/pulseio/PulseOut.c
306321
#: ports/nrf/common-hal/audiopwmio/PWMAudioOut.c
307322
#: ports/nrf/common-hal/pulseio/PulseIn.c ports/nrf/peripherals/nrf/timers.c
308-
#: shared-bindings/pulseio/PWMOut.c
323+
#: ports/stm/peripherals/timers.c shared-bindings/pulseio/PWMOut.c
309324
msgid "All timers in use"
310325
msgstr ""
311326

312327
#: ports/nrf/common-hal/_bleio/Adapter.c
313328
msgid "Already advertising."
314329
msgstr ""
315330

331+
#: shared-module/memorymonitor/AllocationAlarm.c
332+
#: shared-module/memorymonitor/AllocationSize.c
333+
msgid "Already running"
334+
msgstr ""
335+
316336
#: ports/cxd56/common-hal/analogio/AnalogIn.c
317337
msgid "AnalogIn not supported on given pin"
318338
msgstr ""
@@ -348,6 +368,11 @@ msgstr ""
348368
msgid "At most %d %q may be specified (not %d)"
349369
msgstr ""
350370

371+
#: shared-module/memorymonitor/AllocationAlarm.c
372+
#, c-format
373+
msgid "Attempt to allocate %d blocks"
374+
msgstr ""
375+
351376
#: supervisor/shared/safe_mode.c
352377
msgid "Attempted heap allocation when MicroPython VM not running."
353378
msgstr ""
@@ -467,7 +492,9 @@ msgstr ""
467492
msgid "Can't set CCCD on local Characteristic"
468493
msgstr ""
469494

470-
#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c
495+
#: shared-bindings/displayio/Bitmap.c
496+
#: shared-bindings/memorymonitor/AllocationSize.c
497+
#: shared-bindings/pulseio/PulseIn.c
471498
msgid "Cannot delete values"
472499
msgstr ""
473500

@@ -1309,11 +1336,7 @@ msgstr ""
13091336
msgid "Pull not used when direction is output."
13101337
msgstr ""
13111338

1312-
#: ports/stm/common-hal/pulseio/PulseIn.c
1313-
msgid "PulseIn not supported on this chip"
1314-
msgstr ""
1315-
1316-
#: ports/stm/common-hal/pulseio/PulseOut.c
1339+
#: ports/stm/ref/pulseout-pre-timeralloc.c
13171340
msgid "PulseOut not supported on this chip"
13181341
msgstr ""
13191342

@@ -1347,6 +1370,7 @@ msgstr ""
13471370
msgid "Random number generation error"
13481371
msgstr ""
13491372

1373+
#: shared-bindings/memorymonitor/AllocationSize.c
13501374
#: shared-bindings/pulseio/PulseIn.c
13511375
msgid "Read-only"
13521376
msgstr ""
@@ -1431,7 +1455,9 @@ msgid "Slice and value different lengths."
14311455
msgstr ""
14321456

14331457
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
1434-
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
1458+
#: shared-bindings/displayio/TileGrid.c
1459+
#: shared-bindings/memorymonitor/AllocationSize.c
1460+
#: shared-bindings/pulseio/PulseIn.c
14351461
msgid "Slices not supported"
14361462
msgstr ""
14371463

@@ -1519,6 +1545,11 @@ msgstr ""
15191545
msgid "Timeout is too long: Maximum timeout length is %d seconds"
15201546
msgstr ""
15211547

1548+
#: ports/stm/common-hal/pulseio/PWMOut.c
1549+
msgid ""
1550+
"Timer was reserved for internal use - declare PWM pins earlier in the program"
1551+
msgstr ""
1552+
15221553
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
15231554
msgid "Too many channels in sample."
15241555
msgstr ""
@@ -3098,7 +3129,7 @@ msgstr ""
30983129
msgid "struct: no fields"
30993130
msgstr ""
31003131

3101-
#: py/objstr.c
3132+
#: py/objarray.c py/objstr.c
31023133
msgid "substring not found"
31033134
msgstr ""
31043135

locale/cs.po

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ msgid ""
55
msgstr ""
66
"Project-Id-Version: PACKAGE VERSION\n"
77
"Report-Msgid-Bugs-To: \n"
8-
"POT-Creation-Date: 2020-07-07 14:38-0500\n"
8+
"POT-Creation-Date: 2020-07-17 18:03-0700\n"
99
"PO-Revision-Date: 2020-05-24 03:22+0000\n"
1010
"Last-Translator: dronecz <[email protected]>\n"
1111
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -84,10 +84,15 @@ msgstr "Indexy% q musí být celá čísla, nikoli% s"
8484
msgid "%q list must be a list"
8585
msgstr "Seznam% q musí být seznam"
8686

87+
#: shared-bindings/memorymonitor/AllocationAlarm.c
88+
msgid "%q must be >= 0"
89+
msgstr ""
90+
8791
#: shared-bindings/_bleio/CharacteristicBuffer.c
8892
#: shared-bindings/_bleio/PacketBuffer.c shared-bindings/displayio/Group.c
89-
#: shared-bindings/displayio/Shape.c shared-bindings/vectorio/Circle.c
90-
#: shared-bindings/vectorio/Rectangle.c
93+
#: shared-bindings/displayio/Shape.c
94+
#: shared-bindings/memorymonitor/AllocationAlarm.c
95+
#: shared-bindings/vectorio/Circle.c shared-bindings/vectorio/Rectangle.c
9196
msgid "%q must be >= 1"
9297
msgstr "% q musí být > = 1"
9398

@@ -111,6 +116,10 @@ msgstr ""
111116
msgid "'%q' argument required"
112117
msgstr ""
113118

119+
#: py/objarray.c
120+
msgid "'%q' object is not bytes-like"
121+
msgstr ""
122+
114123
#: py/emitinlinethumb.c py/emitinlinextensa.c
115124
#, c-format
116125
msgid "'%s' expects a label"
@@ -321,6 +330,11 @@ msgstr ""
321330
msgid "Already advertising."
322331
msgstr ""
323332

333+
#: shared-module/memorymonitor/AllocationAlarm.c
334+
#: shared-module/memorymonitor/AllocationSize.c
335+
msgid "Already running"
336+
msgstr ""
337+
324338
#: ports/cxd56/common-hal/analogio/AnalogIn.c
325339
msgid "AnalogIn not supported on given pin"
326340
msgstr ""
@@ -356,6 +370,11 @@ msgstr ""
356370
msgid "At most %d %q may be specified (not %d)"
357371
msgstr ""
358372

373+
#: shared-module/memorymonitor/AllocationAlarm.c
374+
#, c-format
375+
msgid "Attempt to allocate %d blocks"
376+
msgstr ""
377+
359378
#: supervisor/shared/safe_mode.c
360379
msgid "Attempted heap allocation when MicroPython VM not running."
361380
msgstr ""
@@ -475,7 +494,9 @@ msgstr ""
475494
msgid "Can't set CCCD on local Characteristic"
476495
msgstr ""
477496

478-
#: shared-bindings/displayio/Bitmap.c shared-bindings/pulseio/PulseIn.c
497+
#: shared-bindings/displayio/Bitmap.c
498+
#: shared-bindings/memorymonitor/AllocationSize.c
499+
#: shared-bindings/pulseio/PulseIn.c
479500
msgid "Cannot delete values"
480501
msgstr ""
481502

@@ -1355,6 +1376,7 @@ msgstr ""
13551376
msgid "Random number generation error"
13561377
msgstr ""
13571378

1379+
#: shared-bindings/memorymonitor/AllocationSize.c
13581380
#: shared-bindings/pulseio/PulseIn.c
13591381
msgid "Read-only"
13601382
msgstr ""
@@ -1439,7 +1461,9 @@ msgid "Slice and value different lengths."
14391461
msgstr ""
14401462

14411463
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
1442-
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
1464+
#: shared-bindings/displayio/TileGrid.c
1465+
#: shared-bindings/memorymonitor/AllocationSize.c
1466+
#: shared-bindings/pulseio/PulseIn.c
14431467
msgid "Slices not supported"
14441468
msgstr ""
14451469

@@ -3106,7 +3130,7 @@ msgstr ""
31063130
msgid "struct: no fields"
31073131
msgstr ""
31083132

3109-
#: py/objstr.c
3133+
#: py/objarray.c py/objstr.c
31103134
msgid "substring not found"
31113135
msgstr ""
31123136

0 commit comments

Comments
 (0)