Skip to content

Commit cd16f29

Browse files
committed
Merge branch 'main' into TouchAlarm
2 parents 5f44813 + 047708e commit cd16f29

File tree

54 files changed

+1166
-60
lines changed

Some content is hidden

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

54 files changed

+1166
-60
lines changed

.github/workflows/pre-commit.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v1
1717
- uses: actions/setup-python@v1
18+
- name: Install deps
19+
run: sudo apt-get update && sudo apt-get install -y gettext
20+
- name: Populate selected submodules
21+
run: git submodule update --init extmod/ulab
1822
- name: set PY
1923
run: echo >>$GITHUB_ENV PY="$(python -c 'import hashlib, sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')"
2024
- uses: actions/cache@v1

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,10 @@ repos:
1111
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*|ports/esp32s2/esp-idf-config/.*|ports/esp32s2/boards/.*/sdkconfig)'
1212
- id: trailing-whitespace
1313
exclude: '^(tests/.*\.exp|tests/cmdline/.*|tests/.*/data/.*)'
14+
- repo: local
15+
hooks:
16+
- id: translations
17+
name: Check Translations
18+
entry: sh -c "make translate"
19+
language: system
20+
always_run: true

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ pseudoxml:
222222
all-source:
223223

224224
locale/circuitpython.pot: all-source
225-
find $(TRANSLATE_SOURCES) -type d \( $(TRANSLATE_SOURCES_EXC) \) -prune -o -type f \( -iname "*.c" -o -iname "*.h" \) -print | (LC_ALL=C sort) | xgettext -f- -L C -s --add-location=file --keyword=translate -o circuitpython.pot -p locale
225+
find $(TRANSLATE_SOURCES) -type d \( $(TRANSLATE_SOURCES_EXC) \) -prune -o -type f \( -iname "*.c" -o -iname "*.h" \) -print | (LC_ALL=C sort) | xgettext -f- -L C -s --add-location=file --keyword=translate -o - | sed -e '/"POT-Creation-Date: /d' > $@
226226

227227
# Historically, `make translate` updated the .pot file and ran msgmerge.
228228
# However, this was a frequent source of merge conflicts. Weblate can perform

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@
276276
# Add any extra paths that contain custom files (such as robots.txt or
277277
# .htaccess) here, relative to this directory. These files are copied
278278
# directly to the root of the documentation.
279-
#html_extra_path = []
279+
html_extra_path = ["docs/robots.txt"]
280280

281281
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
282282
# using the given strftime format.

docs/robots.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
User-agent: *
2+
Allow: /*/latest/
3+
Allow: /en/latest/ # Fallback for bots that don't understand wildcards
4+
Allow: /*/6.0.x/
5+
Allow: /en/6.0.x/ # Fallback for bots that don't understand wildcards
6+
Disallow: /

lib/tinyusb

Submodule tinyusb updated 40 files

locale/circuitpython.pot

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2021-01-11 14:24+0530\n"
1211
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1312
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1413
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -276,6 +275,10 @@ msgstr ""
276275
msgid "3-arg pow() not supported"
277276
msgstr ""
278277

278+
#: shared-module/msgpack/__init__.c
279+
msgid "64 bit types"
280+
msgstr ""
281+
279282
#: ports/atmel-samd/common-hal/countio/Counter.c
280283
#: ports/atmel-samd/common-hal/rotaryio/IncrementalEncoder.c
281284
msgid "A hardware interrupt channel is already in use"
@@ -2426,6 +2429,10 @@ msgstr ""
24262429
msgid "circle can only be registered in one parent"
24272430
msgstr ""
24282431

2432+
#: shared-bindings/msgpack/ExtType.c
2433+
msgid "code outside range 0~127"
2434+
msgstr ""
2435+
24292436
#: shared-bindings/displayio/Palette.c
24302437
msgid "color buffer must be 3 bytes (RGB) or 4 bytes (RGB + pad byte)"
24312438
msgstr ""
@@ -2510,6 +2517,10 @@ msgstr ""
25102517
msgid "default 'except' must be last"
25112518
msgstr ""
25122519

2520+
#: shared-bindings/msgpack/__init__.c
2521+
msgid "default is not a function"
2522+
msgstr ""
2523+
25132524
#: shared-bindings/audiobusio/PDMIn.c
25142525
msgid ""
25152526
"destination buffer must be a bytearray or array of type 'B' for bit_depth = 8"
@@ -2609,6 +2620,10 @@ msgstr ""
26092620
msgid "expecting key:value for dict"
26102621
msgstr ""
26112622

2623+
#: shared-bindings/msgpack/__init__.c
2624+
msgid "ext_hook is not a function"
2625+
msgstr ""
2626+
26122627
#: py/argcheck.c
26132628
msgid "extra keyword arguments given"
26142629
msgstr ""
@@ -3141,6 +3156,10 @@ msgstr ""
31413156
msgid "no binding for nonlocal found"
31423157
msgstr ""
31433158

3159+
#: shared-module/msgpack/__init__.c
3160+
msgid "no default packer"
3161+
msgstr ""
3162+
31443163
#: py/builtinimport.c
31453164
msgid "no module named '%q'"
31463165
msgstr ""
@@ -3474,6 +3493,10 @@ msgstr ""
34743493
msgid "shape must be a tuple"
34753494
msgstr ""
34763495

3496+
#: shared-module/msgpack/__init__.c
3497+
msgid "short read"
3498+
msgstr ""
3499+
34773500
#: py/objstr.c
34783501
msgid "sign not allowed in string format specifier"
34793502
msgstr ""

locale/de_DE.po

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,22 @@ msgstr ""
66
"Project-Id-Version: \n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
9-
"PO-Revision-Date: 2020-11-26 03:11+0000\n"
10-
"Last-Translator: Daniel Bravo Darriba <[email protected]>\n"
9+
"PO-Revision-Date: 2021-01-07 18:01+0000\n"
10+
"Last-Translator: Dennis Schweer <[email protected]>\n"
1111
"Language: de_DE\n"
1212
"MIME-Version: 1.0\n"
1313
"Content-Type: text/plain; charset=UTF-8\n"
1414
"Content-Transfer-Encoding: 8bit\n"
1515
"Plural-Forms: nplurals=2; plural=n != 1;\n"
16-
"X-Generator: Weblate 4.4-dev\n"
16+
"X-Generator: Weblate 4.4.1-dev\n"
1717

1818
#: main.c
1919
msgid ""
2020
"\n"
2121
"Code done running.\n"
2222
msgstr ""
23+
"\n"
24+
"Programm wird ausgeführt.\n"
2325

2426
#: main.c
2527
msgid ""
@@ -129,7 +131,7 @@ msgstr "'%q' Objekt unterstützt '%q' nicht"
129131

130132
#: py/obj.c
131133
msgid "'%q' object does not support item assignment"
132-
msgstr ""
134+
msgstr "'%q' Objekt unterschützt keine Elementzuweisung"
133135

134136
#: py/obj.c
135137
msgid "'%q' object does not support item deletion"
@@ -141,7 +143,7 @@ msgstr "'%q' Objekt hat kein Attribut '%q'"
141143

142144
#: py/runtime.c
143145
msgid "'%q' object is not an iterator"
144-
msgstr ""
146+
msgstr "'%q' Objekt ist kein Iterator"
145147

146148
#: py/objtype.c py/runtime.c
147149
msgid "'%q' object is not callable"
@@ -235,7 +237,7 @@ msgstr "'continue' außerhalb einer Schleife"
235237

236238
#: py/objgenerator.c
237239
msgid "'coroutine' object is not an iterator"
238-
msgstr ""
240+
msgstr "'coroutine' Objekt ist kein Iterator"
239241

240242
#: py/compile.c
241243
msgid "'data' requires at least 2 arguments"
@@ -307,7 +309,7 @@ msgstr "Alle I2C-Peripheriegeräte sind in Benutzung"
307309
#: ports/esp32s2/common-hal/frequencyio/FrequencyIn.c
308310
#: ports/esp32s2/common-hal/rotaryio/IncrementalEncoder.c
309311
msgid "All PCNT units in use"
310-
msgstr ""
312+
msgstr "Alle PCNT Einheiten sind in Benutzung"
311313

312314
#: ports/atmel-samd/common-hal/canio/Listener.c
313315
#: ports/esp32s2/common-hal/canio/Listener.c
@@ -710,7 +712,7 @@ msgstr "Konnte Kamera nicht initialisieren"
710712

711713
#: ports/cxd56/common-hal/gnss/GNSS.c
712714
msgid "Could not initialize GNSS"
713-
msgstr ""
715+
msgstr "GNSS konnte nicht initialisiert werden"
714716

715717
#: ports/cxd56/common-hal/sdioio/SDCard.c
716718
msgid "Could not initialize SDCard"
@@ -837,7 +839,7 @@ msgstr "Die EZB arbeitet jeweils nur mit 16 Bytes"
837839

838840
#: ports/esp32s2/common-hal/busio/SPI.c ports/esp32s2/common-hal/canio/CAN.c
839841
msgid "ESP-IDF memory allocation failed"
840-
msgstr ""
842+
msgstr "ESP-IDF Speicherallozierung fehlgeschlagen"
841843

842844
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
843845
#: ports/atmel-samd/common-hal/ps2io/Ps2.c
@@ -903,7 +905,7 @@ msgstr "FFT ist nur für ndarrays definiert"
903905

904906
#: extmod/ulab/code/fft/fft.c
905907
msgid "FFT is implemented for linear arrays only"
906-
msgstr ""
908+
msgstr "FFT ist nur für lineare Arrays implementiert"
907909

908910
#: ports/esp32s2/common-hal/socketpool/Socket.c
909911
msgid "Failed SSL handshake"
@@ -934,7 +936,7 @@ msgstr "Konnte keine RX Buffer mit %d allozieren"
934936

935937
#: ports/esp32s2/common-hal/wifi/__init__.c
936938
msgid "Failed to allocate Wifi memory"
937-
msgstr ""
939+
msgstr "Zuweisung des Wifi Speichers ist fehlgeschlagen"
938940

939941
#: ports/esp32s2/common-hal/wifi/ScannedNetworks.c
940942
msgid "Failed to allocate wifi scan memory"
@@ -950,7 +952,7 @@ msgstr "Verbindung nicht erfolgreich: timeout"
950952

951953
#: ports/esp32s2/common-hal/wifi/__init__.c
952954
msgid "Failed to init wifi"
953-
msgstr ""
955+
msgstr "Wifi Initialisierung ist fehlgeschlagen"
954956

955957
#: shared-module/audiomp3/MP3Decoder.c
956958
msgid "Failed to parse MP3 file"
@@ -1037,7 +1039,7 @@ msgstr "I2SOut nicht verfügbar"
10371039

10381040
#: ports/esp32s2/common-hal/alarm/pin/__init__.c
10391041
msgid "IOs 0, 2 & 4 do not support internal pullup in sleep"
1040-
msgstr ""
1042+
msgstr "IOs 0, 2 & 4 unterstützen keinen internen Pull up im sleep-Modus"
10411043

10421044
#: shared-bindings/aesio/aes.c
10431045
#, c-format
@@ -1058,7 +1060,7 @@ msgstr "Inkorrekte Puffergröße"
10581060

10591061
#: ports/esp32s2/common-hal/watchdog/WatchDogTimer.c
10601062
msgid "Initialization failed due to lack of memory"
1061-
msgstr ""
1063+
msgstr "Initialisierung aufgrund von Speichermangel fehlgeschlagen"
10621064

10631065
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
10641066
msgid "Input taking too long"
@@ -3858,15 +3860,15 @@ msgstr "nicht unterstütztes Formatzeichen '%c' (0x%x) bei Index %d"
38583860

38593861
#: py/runtime.c
38603862
msgid "unsupported type for %q: '%q'"
3861-
msgstr ""
3863+
msgstr "nicht unterstützer Typ für %q: '%q'"
38623864

38633865
#: py/runtime.c
38643866
msgid "unsupported type for operator"
38653867
msgstr "nicht unterstützter Typ für Operator"
38663868

38673869
#: py/runtime.c
38683870
msgid "unsupported types for %q: '%q', '%q'"
3869-
msgstr ""
3871+
msgstr "nicht unterstützte Typen für %q: '%q', '%q'"
38703872

38713873
#: py/objint.c
38723874
#, c-format
@@ -3911,7 +3913,7 @@ msgstr ""
39113913

39123914
#: extmod/ulab/code/vector/vectorise.c
39133915
msgid "wrong input type"
3914-
msgstr ""
3916+
msgstr "falscher Eingabetyp"
39153917

39163918
#: extmod/ulab/code/ulab_create.c py/objstr.c
39173919
msgid "wrong number of arguments"
@@ -3927,7 +3929,7 @@ msgstr "falscher Operandentyp"
39273929

39283930
#: extmod/ulab/code/vector/vectorise.c
39293931
msgid "wrong output type"
3930-
msgstr ""
3932+
msgstr "Falscher Ausgabetyp"
39313933

39323934
#: shared-module/displayio/Shape.c
39333935
msgid "x value out of bounds"

locale/fr.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgstr ""
88
"Project-Id-Version: 0.1\n"
99
"Report-Msgid-Bugs-To: \n"
1010
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
11-
"PO-Revision-Date: 2021-01-01 04:29+0000\n"
11+
"PO-Revision-Date: 2021-01-07 01:29+0000\n"
1212
"Last-Translator: Hugo Dahl <[email protected]>\n"
1313
"Language: fr\n"
1414
"MIME-Version: 1.0\n"
@@ -2595,7 +2595,7 @@ msgstr "les données doivent être de longueur égale"
25952595

25962596
#: extmod/ulab/code/ndarray.c
25972597
msgid "data type not understood"
2598-
msgstr ""
2598+
msgstr "le type de donnée n'est pas reconnu"
25992599

26002600
#: py/parsenum.c
26012601
msgid "decimal numbers not supported"
@@ -2913,7 +2913,7 @@ msgstr "les formes d'entrée et de sortie ne sont pas compatibles"
29132913

29142914
#: extmod/ulab/code/ulab_create.c
29152915
msgid "input argument must be an integer, a tuple, or a list"
2916-
msgstr ""
2916+
msgstr "Paramètre entrant doit être un chiffre entier, un tuple, ou une liste"
29172917

29182918
#: extmod/ulab/code/fft/fft.c
29192919
msgid "input array length must be power of 2"
@@ -3161,7 +3161,7 @@ msgstr "maxiter devrait être > 0"
31613161

31623162
#: extmod/ulab/code/numerical/numerical.c
31633163
msgid "median argument must be an ndarray"
3164-
msgstr ""
3164+
msgstr "Paramètre pour median doit être un ndarray"
31653165

31663166
#: py/runtime.c
31673167
#, c-format
@@ -3745,7 +3745,7 @@ msgstr "trop d'arguments fournis avec ce format"
37453745

37463746
#: extmod/ulab/code/ulab_create.c
37473747
msgid "too many dimensions"
3748-
msgstr ""
3748+
msgstr "Trop de dimensions"
37493749

37503750
#: extmod/ulab/code/ndarray.c
37513751
msgid "too many indices"
@@ -3758,7 +3758,7 @@ msgstr "trop de valeur à dégrouper (%d attendues)"
37583758

37593759
#: extmod/ulab/code/approx/approx.c
37603760
msgid "trapz is defined for 1D arrays"
3761-
msgstr ""
3761+
msgstr "trapz est défini pour tableaux à une dimension"
37623762

37633763
#: extmod/ulab/code/approx/approx.c
37643764
msgid "trapz is defined for 1D arrays of equal length"

0 commit comments

Comments
 (0)