Merge remote-tracking branch 'upstream/main' into stm32-sleepmem
This commit is contained in:
commit
da149b0a42
@ -1,3 +1,6 @@
|
||||
# tools/gen-cpydiff.py: Fix formatting of doc strings for new Black.
|
||||
0f78c36c5aa458a954eed39a46942209107a553e
|
||||
|
||||
# tests/run-tests.py: Reformat with Black.
|
||||
2a38d7103672580882fb621a5b76e8d26805d593
|
||||
|
||||
|
54
.github/ISSUE_TEMPLATE/bug_report.md
vendored
54
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -1,54 +0,0 @@
|
||||
---
|
||||
name: Bug report
|
||||
about: Create a report to help us improve
|
||||
title: ''
|
||||
labels: 'bug'
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!-- Thanks! for testing out CircuitPython. Now that you have got a problem...
|
||||
you can file a bug report for it. Feel free to modify the below format to better
|
||||
suit your issue. :) -->
|
||||
|
||||
**Firmware**
|
||||
|
||||
<!-- Include the version of CircuitPython you're running. You can see it in the
|
||||
`boot_out.txt` file, as well as in the REPL. -->
|
||||
|
||||
```python
|
||||
Adafruit CircuitPython 6.2.0-beta.2 on 2021-03-01; Raspberry Pi Pico with rp2040
|
||||
```
|
||||
|
||||
**Code/REPL**
|
||||
|
||||
<!-- Include your code that reproduces the bug here. Try to distill down to the
|
||||
minimum possible to reproduce. -->
|
||||
|
||||
```python
|
||||
import busio, bitbangio
|
||||
i2c = bitbangio.I2C(board.GP1, board.GP0)
|
||||
```
|
||||
|
||||
**Behavior**
|
||||
|
||||
<!-- What happens when you run the code above? Include any error messages. -->
|
||||
|
||||
```python
|
||||
Traceback (most recent call last):
|
||||
File "<stdin>", line 1, in <module>
|
||||
TimeoutError: Clock stretch too long
|
||||
```
|
||||
|
||||
**Description**
|
||||
|
||||
<!-- Optionally, describe the issue in more detail. Here are some examples: -->
|
||||
|
||||
- Error while using i2c...
|
||||
- Only happens when...
|
||||
- might be related to #4291...
|
||||
|
||||
**Additional Info**
|
||||
|
||||
<!-- Optionally, add any other information like hardware connection, scope output etc.
|
||||
If you have already done some debugging, mention it here. -->
|
63
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
63
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
Normal file
@ -0,0 +1,63 @@
|
||||
name: 🐞 Bug Report
|
||||
description: Create a bug report to help us improve
|
||||
labels:
|
||||
- bug
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: >-
|
||||
Thanks! for testing out CircuitPython. Now that you have encountered a
|
||||
bug... you can file a report for it.
|
||||
- type: textarea
|
||||
id: firmware
|
||||
attributes:
|
||||
label: CircuitPython version
|
||||
description: >-
|
||||
Include the version of CircuitPython you're running. You can see it in
|
||||
the `boot_out.txt` file, as well as in the `REPL`.
|
||||
placeholder: Adafruit CircuitPython 6.2.0 on 2021-03-01; Raspberry Pi Pico with rp2040
|
||||
render: python
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: code
|
||||
attributes:
|
||||
label: Code/REPL
|
||||
description: This is automatically rendered as Python, so no need for backticks.
|
||||
placeholder: |
|
||||
import busio, bitbangio
|
||||
i2c = bitbangio.I2C(board.GP1, board.GP0)
|
||||
render: python
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: behavior
|
||||
attributes:
|
||||
label: Behavior
|
||||
description: What happens when you run the code above? Include error messages (if any).
|
||||
placeholder: |
|
||||
```python
|
||||
Traceback (most recent call last):
|
||||
File "<stdin>", line 1, in <module>
|
||||
TimeoutError: Clock stretch too long
|
||||
```
|
||||
On-board led pulses red.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: description
|
||||
attributes:
|
||||
label: Description
|
||||
description: Optionally, describe the bug in more detail.
|
||||
placeholder: |
|
||||
- Error while using i2c...
|
||||
- Only happens when...
|
||||
- might be related to #4291...
|
||||
- type: textarea
|
||||
id: more-info
|
||||
attributes:
|
||||
label: Additional information
|
||||
description: >-
|
||||
Optionally, add any other information like hardware connection, scope
|
||||
output etc. If you have already done some debugging, mention it here.
|
||||
placeholder: Removing [this](url) line resolves the issue.
|
4
.github/ISSUE_TEMPLATE/config.yml
vendored
4
.github/ISSUE_TEMPLATE/config.yml
vendored
@ -1,7 +1,7 @@
|
||||
contact_links:
|
||||
- name: Adafruit Forum
|
||||
- name: 🔗 Adafruit Forum
|
||||
url: https://forums.adafruit.com/
|
||||
about: Official Adafruit technical support forum. Good for getting help on getting a project working.
|
||||
- name: Adafruit Discord
|
||||
- name: 🔗 Adafruit Discord
|
||||
url: https://adafru.it/discord
|
||||
about: Unofficial chat with many helpful folks and normally prompt replies.
|
||||
|
4
.github/ISSUE_TEMPLATE/feature_request.md
vendored
4
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@ -1,5 +1,5 @@
|
||||
---
|
||||
name: Feature request
|
||||
name: 🚀 Feature Request
|
||||
about: Suggest an idea for this project
|
||||
title: ''
|
||||
labels: 'enhancement'
|
||||
@ -7,5 +7,5 @@ assignees: ''
|
||||
|
||||
---
|
||||
|
||||
<!-- We are always adding new features and enhancements to CircuitPython 🚀
|
||||
<!-- We keep adding new features and enhancements to CircuitPython 🚀
|
||||
and would love ❤ to see what new challenge you have got for us... 🙂 -->
|
||||
|
40
.github/workflows/build.yml
vendored
40
.github/workflows/build.yml
vendored
@ -53,7 +53,11 @@ jobs:
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: stubs
|
||||
path: circuitpython-stubs*
|
||||
path: circuitpython-stubs/dist/*
|
||||
- name: Install pypi dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install setuptools wheel twine
|
||||
- name: Test Documentation Build (HTML)
|
||||
run: sphinx-build -E -W -b html -D version=${{ env.CP_VERSION }} -D release=${{ env.CP_VERSION }} . _build/html
|
||||
- uses: actions/upload-artifact@v2
|
||||
@ -108,20 +112,29 @@ jobs:
|
||||
with:
|
||||
name: mpy-cross.static-x64-windows
|
||||
path: mpy-cross/mpy-cross.static.exe
|
||||
- name: Upload stubs and mpy-cross builds to S3
|
||||
- name: Upload mpy-cross builds to S3
|
||||
if: (github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
|
||||
env:
|
||||
AWS_PAGER: ''
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
run: |
|
||||
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static-aarch64 s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-aarch64-${{ env.CP_VERSION }} --no-progress --region us-east-1
|
||||
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static-raspbian s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-raspbian-${{ env.CP_VERSION }} --no-progress --region us-east-1
|
||||
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-amd64-linux-${{ env.CP_VERSION }} --no-progress --region us-east-1
|
||||
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp mpy-cross/mpy-cross.static.exe s3://adafruit-circuit-python/bin/mpy-cross/mpy-cross.static-x64-windows-${{ env.CP_VERSION }}.exe --no-progress --region us-east-1
|
||||
zip -9r circuitpython-stubs.zip circuitpython-stubs
|
||||
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp circuitpython-stubs.zip s3://adafruit-circuit-python/bin/stubs/circuitpython-stubs-${{ env.CP_VERSION }}.zip --no-progress --region us-east-1
|
||||
env:
|
||||
AWS_PAGER: ''
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
|
||||
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp circuitpython-stubs/dist/*.tar.gz s3://adafruit-circuit-python/bin/stubs/circuitpython-stubs-${{ env.CP_VERSION }}.zip --no-progress --region us-east-1
|
||||
|
||||
- name: Upload stubs to PyPi
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit'
|
||||
env:
|
||||
TWINE_USERNAME: ${{ secrets.pypi_username }}
|
||||
TWINE_PASSWORD: ${{ secrets.pypi_password }}
|
||||
run: |
|
||||
# setup.py sdist was run by 'make stubs'
|
||||
[ -z "$TWINE_USERNAME" ] || echo "Uploading dev release to PyPi"
|
||||
[ -z "$TWINE_USERNAME" ] || twine upload circuitpython-stubs/dist/*
|
||||
|
||||
mpy-cross-mac:
|
||||
runs-on: macos-10.15
|
||||
@ -177,7 +190,7 @@ jobs:
|
||||
AWS_PAGER: ''
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
|
||||
if: (github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
|
||||
|
||||
|
||||
build-arm:
|
||||
@ -285,6 +298,7 @@ jobs:
|
||||
- "metro_m4_express"
|
||||
- "metro_m7_1011"
|
||||
- "metro_nrf52840_express"
|
||||
- "microbit_v2"
|
||||
- "mini_sam_m4"
|
||||
- "monster_m4sk"
|
||||
- "ndgarage_ndbit6"
|
||||
@ -417,7 +431,7 @@ jobs:
|
||||
AWS_PAGER: ''
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
|
||||
if: (github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
|
||||
|
||||
build-riscv:
|
||||
runs-on: ubuntu-20.04
|
||||
@ -468,7 +482,7 @@ jobs:
|
||||
AWS_PAGER: ''
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
|
||||
if: (github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
|
||||
build-xtensa:
|
||||
runs-on: ubuntu-20.04
|
||||
needs: test
|
||||
@ -517,7 +531,7 @@ jobs:
|
||||
id: idf-cache
|
||||
with:
|
||||
path: ${{ github.workspace }}/.idf_tools
|
||||
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20210506
|
||||
key: ${{ runner.os }}-idf-tools-${{ hashFiles('.git/modules/ports/esp32s2/esp-idf/HEAD') }}-20210716
|
||||
- name: Clone IDF submodules
|
||||
run: |
|
||||
(cd $IDF_PATH && git submodule update --init)
|
||||
@ -576,4 +590,4 @@ jobs:
|
||||
AWS_PAGER: ''
|
||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||
if: github.event_name == 'push' || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
|
||||
if: (github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') || (github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
|
||||
|
2
.github/workflows/ports_windows.yml
vendored
2
.github/workflows/ports_windows.yml
vendored
@ -60,7 +60,7 @@ jobs:
|
||||
pip install wheel
|
||||
# requirements_dev.txt doesn't install on windows. (with msys2 python)
|
||||
# instead, pick a subset for what we want to do
|
||||
pip install cascadetoml jinja2 typer
|
||||
pip install cascadetoml jinja2 typer intelhex
|
||||
# check that installed packages work....?
|
||||
which python; python --version; python -c "import cascadetoml"
|
||||
which python3; python3 --version; python3 -c "import cascadetoml"
|
||||
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -33,6 +33,7 @@ dist/
|
||||
build/
|
||||
bin/
|
||||
circuitpython-stubs/
|
||||
test-stubs/
|
||||
build-*/
|
||||
|
||||
# Test failure outputs
|
||||
|
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -153,6 +153,7 @@
|
||||
[submodule "ports/esp32s2/esp-idf"]
|
||||
path = ports/esp32s2/esp-idf
|
||||
url = https://github.com/adafruit/esp-idf.git
|
||||
branch = circuitpython-v4.3
|
||||
[submodule "ports/esp32s2/certificates/nina-fw"]
|
||||
path = ports/esp32s2/certificates/nina-fw
|
||||
url = https://github.com/adafruit/nina-fw.git
|
||||
@ -176,7 +177,7 @@
|
||||
url = https://github.com/adafruit/Adafruit_CircuitPython_SimpleMath
|
||||
[submodule "ports/raspberrypi/sdk"]
|
||||
path = ports/raspberrypi/sdk
|
||||
url = https://github.com/adafruit/pico-sdk.git
|
||||
url = https://github.com/raspberrypi/pico-sdk.git
|
||||
[submodule "data/nvm.toml"]
|
||||
path = data/nvm.toml
|
||||
url = https://github.com/adafruit/nvm.toml.git
|
||||
|
1
MANIFEST.in-stubs
Normal file
1
MANIFEST.in-stubs
Normal file
@ -0,0 +1 @@
|
||||
recursive-include . *.pyi
|
14
Makefile
14
Makefile
@ -54,6 +54,8 @@ TRANSLATE_SOURCES_EXC = -path "ports/*/build-*" \
|
||||
-o -path ports/stm/st_driver \
|
||||
-o -path lib/tinyusb \
|
||||
-o -path lib/lwip \
|
||||
-o -path extmod/ulab/circuitpython \
|
||||
-o -path extmod/ulab/micropython \
|
||||
|
||||
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext stubs
|
||||
|
||||
@ -251,17 +253,23 @@ check-translate:
|
||||
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 --keyword=MP_ERROR_TEXT -o circuitpython.pot.tmp -p locale
|
||||
$(PYTHON) tools/check_translations.py locale/circuitpython.pot.tmp locale/circuitpython.pot; status=$$?; rm -f locale/circuitpython.pot.tmp; exit $$status
|
||||
|
||||
.PHONY: stubs
|
||||
stubs:
|
||||
@mkdir -p circuitpython-stubs
|
||||
@rm -rf circuitpython-stubs
|
||||
@mkdir circuitpython-stubs
|
||||
@$(PYTHON) tools/extract_pyi.py shared-bindings/ $(STUBDIR)
|
||||
@$(PYTHON) tools/extract_pyi.py extmod/ulab/code/ $(STUBDIR)/ulab
|
||||
@$(PYTHON) tools/extract_pyi.py ports/atmel-samd/bindings $(STUBDIR)
|
||||
@$(PYTHON) tools/extract_pyi.py ports/raspberrypi/bindings $(STUBDIR)
|
||||
@$(PYTHON) setup.py -q sdist
|
||||
@cp setup.py-stubs circuitpython-stubs/setup.py
|
||||
@cp README.rst-stubs circuitpython-stubs/README.rst
|
||||
@cp MANIFEST.in-stubs circuitpython-stubs/MANIFEST.in
|
||||
@(cd circuitpython-stubs && $(PYTHON) setup.py -q sdist)
|
||||
|
||||
.PHONY: check-stubs
|
||||
check-stubs: stubs
|
||||
MYPYPATH=$(STUBDIR) mypy --strict $(STUBDIR)
|
||||
@(cd $(STUBDIR) && set -- */__init__.pyi && mypy --strict "$${@%/*}")
|
||||
@tools/test-stubs.sh
|
||||
|
||||
update-frozen-libraries:
|
||||
@echo "Updating all frozen libraries to latest tagged version."
|
||||
|
69
README.rst
69
README.rst
@ -14,25 +14,30 @@ CircuitPython
|
||||
computers called microcontrollers. Microcontrollers are the brains of many electronics including a
|
||||
wide variety of development boards used to build hobby projects and prototypes. CircuitPython in
|
||||
electronics is one of the best ways to learn to code because it connects code to reality. Simply
|
||||
install CircuitPython on a supported board via drag and drop and then edit a ``code.py`` file on
|
||||
the CIRCUITPY drive. The code will automatically reload. No software installs are needed besides a
|
||||
text editor (we recommend `Mu <https://codewith.mu/>`_ for beginners.)
|
||||
install CircuitPython on a supported USB board usually via drag and drop and then edit a ``code.py``
|
||||
file on the CIRCUITPY drive. The code will automatically reload. No software installs are needed
|
||||
besides a text editor (we recommend `Mu <https://codewith.mu/>`_ for beginners.)
|
||||
|
||||
CircuitPython features unified Python core APIs and a growing list of 150+ device libraries and
|
||||
Starting with CircuitPython 7.0.0, some boards may only be connectable over Bluetooth Low Energy
|
||||
(BLE). Those boards provide serial and file access over BLE instead of USB using open protocols.
|
||||
(Some boards may use both USB and BLE.) BLE access can be done from a variety of apps including
|
||||
`code.circuitpythonn.org <https://code.circuitpython.org>`_.
|
||||
|
||||
CircuitPython features unified Python core APIs and a growing list of 300+ device libraries and
|
||||
drivers that work with it. These libraries also work on single board computers with regular
|
||||
Python via the `Adafruit Blinka Library <https://github.com/adafruit/Adafruit_Blinka>`_.
|
||||
|
||||
CircuitPython is based on `MicroPython <https://micropython.org>`_. See
|
||||
`below <#differences-from-micropython>`_ for differences. CircuitPython development is sponsored by
|
||||
`Adafruit <https://adafruit.com>`_ and is available on their educational development boards. Please
|
||||
support both MicroPython and Adafruit.
|
||||
`below <#differences-from-micropython>`_ for differences. Most, but not all, CircuitPython
|
||||
development is sponsored by `Adafruit <https://adafruit.com>`_ and is available on their educational
|
||||
development boards. Please support both MicroPython and Adafruit.
|
||||
|
||||
Get CircuitPython
|
||||
------------------
|
||||
|
||||
Official binaries for all supported boards are available through
|
||||
`circuitpython.org/downloads <https://circuitpython.org/downloads>`_. The site includes stable, unstable and
|
||||
continuous builds. Full release notes and assets are available through
|
||||
continuous builds. Full release notes are available through
|
||||
`GitHub releases <https://github.com/adafruit/circuitpython/releases>`_ as well.
|
||||
|
||||
Documentation
|
||||
@ -85,7 +90,9 @@ If you'd like to use the term "CircuitPython" and Blinka for your product here i
|
||||
* Your product is listed on `circuitpython.org <https://circuitpython.org>`__ (source
|
||||
`here <https://github.com/adafruit/circuitpython-org/>`_). This is to ensure that a user of your
|
||||
product can always download the latest version of CircuitPython from the standard place.
|
||||
* Your product has a user accessible USB plug which appears as a CIRCUITPY drive when plugged in.
|
||||
* Your product has a user accessible USB plug which appears as a CIRCUITPY drive when plugged in
|
||||
AND/OR provides file and serial access over Bluetooth Low Energy. Boards that do not support USB
|
||||
should be clearly marked as BLE-only CircuitPython.
|
||||
|
||||
If you choose not to meet these requirements, then we ask you call your version of CircuitPython
|
||||
something else (for example, SuperDuperPython) and not use the Blinka logo. You can say it is
|
||||
@ -98,10 +105,11 @@ Differences from `MicroPython <https://github.com/micropython/micropython>`__
|
||||
|
||||
CircuitPython:
|
||||
|
||||
- Supports native USB on all boards, allowing file editing without special tools.
|
||||
- Supports native USB on most boards and BLE otherwise, allowing file editing without special tools.
|
||||
- Floats (aka decimals) are enabled for all builds.
|
||||
- Error messages are translated into 10+ languages.
|
||||
- Does not support concurrency within Python (including interrupts and threading). Some concurrency
|
||||
- Concurrenncy within Python is not well supported. Interrupts and threading are disabled.
|
||||
async/await keywords are available on some boards for cooperative multitasking. Some concurrency
|
||||
is achieved with native modules for tasks that require it such as audio file playback.
|
||||
|
||||
Behavior
|
||||
@ -110,37 +118,36 @@ Behavior
|
||||
- The order that files are run and the state that is shared between
|
||||
them. CircuitPython's goal is to clarify the role of each file and
|
||||
make each file independent from each other.
|
||||
- ``boot.py`` (or ``settings.py``) runs only once on start up before
|
||||
USB is initialized. This lays the ground work for configuring USB at
|
||||
startup rather than it being fixed. Since serial is not available,
|
||||
output is written to ``boot_out.txt``.
|
||||
- ``code.py`` (or ``main.py``) is run after every reload until it
|
||||
finishes or is interrupted. After it is done running, the vm and
|
||||
hardware is reinitialized. **This means you cannot read state from**
|
||||
``code.py`` **in the REPL anymore, as the REPL is a fresh vm.** CircuitPython's goal for this
|
||||
change includes reducing confusion about pins and memory being used.
|
||||
- After the main code is finished the REPL can be entered by pressing any key.
|
||||
- Autoreload state will be maintained across reload.
|
||||
- Adds a safe mode that does not run user code after a hard crash or
|
||||
brown out. The hope is that this will make it easier to fix code that
|
||||
causes nasty crashes by making it available through mass storage
|
||||
after the crash. A reset (the button) is needed after it's fixed to
|
||||
get back into normal mode.
|
||||
- RGB status LED indicating CircuitPython state, and errors through a sequence of colored flashes.
|
||||
|
||||
- ``boot.py`` (or ``settings.py``) runs only once on start up before
|
||||
USB is initialized. This lays the ground work for configuring USB at
|
||||
startup rather than it being fixed. Since serial is not available,
|
||||
output is written to ``boot_out.txt``.
|
||||
- ``code.py`` (or ``main.py``) is run after every reload until it
|
||||
finishes or is interrupted. After it is done running, the vm and
|
||||
hardware is reinitialized. **This means you cannot read state from**
|
||||
``code.py`` **in the REPL anymore, as the REPL is a fresh vm.** CircuitPython's goal for this
|
||||
change includes reducing confusion about pins and memory being used.
|
||||
- After the main code is finished the REPL can be entered by pressing any key.
|
||||
- Autoreload state will be maintained across reload.
|
||||
|
||||
- Adds a safe mode that does not run user code after a hard crash or brown out. This makes it
|
||||
possible to fix code that causes nasty crashes by making it available through mass storage after
|
||||
the crash. A reset (the button) is needed after it's fixed to get back into normal mode.
|
||||
- RGB status LED indicating CircuitPython state.
|
||||
- Re-runs ``code.py`` or other main file after file system writes over USB mass storage. (Disable with
|
||||
``supervisor.disable_autoreload()``)
|
||||
- Autoreload is disabled while the REPL is active.
|
||||
- Main is one of these: ``code.txt``, ``code.py``, ``main.py``,
|
||||
``main.txt``
|
||||
- Boot is one of these: ``settings.txt``, ``settings.py``, ``boot.py``,
|
||||
``boot.txt``
|
||||
- Boot is one of these: ``boot.py``, ``boot.txt``
|
||||
|
||||
API
|
||||
~~~
|
||||
|
||||
- Unified hardware APIs. Documented on
|
||||
`ReadTheDocs <https://circuitpython.readthedocs.io/en/latest/shared-bindings/index.html>`_.
|
||||
- API docs are rST within the C files in ``shared-bindings``.
|
||||
- API docs are Python stubs within the C files in ``shared-bindings``.
|
||||
- No ``machine`` API.
|
||||
|
||||
Modules
|
||||
|
29
README.rst-stubs
Normal file
29
README.rst-stubs
Normal file
@ -0,0 +1,29 @@
|
||||
CircuitPython
|
||||
=============
|
||||
|
||||
.. image:: https://s3.amazonaws.com/adafruit-circuit-python/CircuitPython_Repo_header_logo.png
|
||||
|
||||
|Build Status| |Doc Status| |License| |Discord| |Weblate|
|
||||
|
||||
`circuitpython.org <https://circuitpython.org>`__ \| `Get CircuitPython <#get-circuitpython>`__ \|
|
||||
`Documentation <#documentation>`__ \| `Contributing <#contributing>`__ \|
|
||||
`Branding <#branding>`__ \| `Differences from Micropython <#differences-from-micropython>`__ \|
|
||||
`Project Structure <#project-structure>`__
|
||||
|
||||
**CircuitPython** is a *beginner friendly*, open source version of Python for tiny, inexpensive
|
||||
computers called microcontrollers.
|
||||
|
||||
This package contains the "stubs", or type definitions for CircuitPython. With some advanced
|
||||
editors and other tools, this information can be identify TypeErrors, AttributeErrors, and other
|
||||
problems before you deploy your code to a device and can even help autocomplete your code.
|
||||
|
||||
.. |Build Status| image:: https://github.com/adafruit/circuitpython/workflows/Build%20CI/badge.svg
|
||||
:target: https://github.com/adafruit/circuitpython/actions?query=branch%3Amain
|
||||
.. |Doc Status| image:: https://readthedocs.org/projects/circuitpython/badge/?version=latest
|
||||
:target: http://circuitpython.readthedocs.io/
|
||||
.. |Discord| image:: https://img.shields.io/discord/327254708534116352.svg
|
||||
:target: https://adafru.it/discord
|
||||
.. |License| image:: https://img.shields.io/badge/License-MIT-brightgreen.svg
|
||||
:target: https://choosealicense.com/licenses/mit/
|
||||
.. |Weblate| image:: https://hosted.weblate.org/widgets/circuitpython/-/svg-badge.svg
|
||||
:target: https://hosted.weblate.org/engage/circuitpython/?utm_source=widget
|
19
conf.py
19
conf.py
@ -24,6 +24,7 @@ import subprocess
|
||||
import sys
|
||||
import urllib.parse
|
||||
import time
|
||||
from collections import defaultdict
|
||||
|
||||
from sphinx.transforms import SphinxTransform
|
||||
from docutils import nodes
|
||||
@ -47,9 +48,15 @@ subprocess.check_output(["make", "stubs"])
|
||||
|
||||
#modules_support_matrix = shared_bindings_matrix.support_matrix_excluded_boards()
|
||||
modules_support_matrix = shared_bindings_matrix.support_matrix_by_board()
|
||||
modules_support_matrix_reverse = defaultdict(list)
|
||||
for board, modules in modules_support_matrix.items():
|
||||
for module in modules:
|
||||
modules_support_matrix_reverse[module].append(board)
|
||||
modules_support_matrix_reverse = dict((module, sorted(boards)) for module, boards in modules_support_matrix_reverse.items())
|
||||
|
||||
html_context = {
|
||||
'support_matrix': modules_support_matrix
|
||||
'support_matrix': modules_support_matrix,
|
||||
'support_matrix_reverse': modules_support_matrix_reverse
|
||||
}
|
||||
|
||||
# -- General configuration ------------------------------------------------
|
||||
@ -86,13 +93,16 @@ extensions.append('autoapi.extension')
|
||||
autoapi_type = 'python'
|
||||
# Uncomment this if debugging autoapi
|
||||
autoapi_keep_files = True
|
||||
autoapi_dirs = [os.path.join('circuitpython-stubs', x) for x in os.listdir('circuitpython-stubs')]
|
||||
autoapi_dirs = [os.path.join('circuitpython-stubs', x) for x in os.listdir('circuitpython-stubs') if os.path.exists(os.path.join("circuitpython-stubs", x, "__init__.pyi"))]
|
||||
print("autoapi_dirs", autoapi_dirs)
|
||||
autoapi_add_toctree_entry = False
|
||||
autoapi_options = ['members', 'undoc-members', 'private-members', 'show-inheritance', 'special-members', 'show-module-summary']
|
||||
autoapi_template_dir = 'docs/autoapi/templates'
|
||||
autoapi_python_class_content = "both"
|
||||
autoapi_python_use_implicit_namespaces = True
|
||||
autoapi_root = "shared-bindings"
|
||||
def autoapi_prepare_jinja_env(jinja_env):
|
||||
jinja_env.globals['support_matrix_reverse'] = modules_support_matrix_reverse
|
||||
|
||||
redirects_file = 'docs/redirects.txt'
|
||||
|
||||
@ -203,7 +213,9 @@ exclude_patterns = ["**/build*",
|
||||
"shared-module",
|
||||
"supervisor",
|
||||
"tests",
|
||||
"tools"]
|
||||
"test-stubs",
|
||||
"tools",
|
||||
"circuitpython-stubs/README.rst"]
|
||||
|
||||
# The reST default role (used for this markup: `text`) to use for all
|
||||
# documents.
|
||||
@ -414,7 +426,6 @@ texinfo_documents = [
|
||||
|
||||
# Example configuration for intersphinx: refer to the Python standard library.
|
||||
intersphinx_mapping = {"cpython": ('https://docs.python.org/3/', None),
|
||||
"bus_device": ('https://circuitpython.readthedocs.io/projects/busdevice/en/latest/', None),
|
||||
"register": ('https://circuitpython.readthedocs.io/projects/register/en/latest/', None)}
|
||||
|
||||
# Adapted from sphinxcontrib-redirects
|
||||
|
@ -118,7 +118,8 @@ STATIC void add_generic_services(bleio_adapter_obj_t *adapter) {
|
||||
SECURITY_MODE_NO_ACCESS,
|
||||
248, // max length, from Bluetooth spec
|
||||
false, // not fixed length
|
||||
&generic_name_bufinfo
|
||||
&generic_name_bufinfo,
|
||||
NULL
|
||||
);
|
||||
|
||||
uint16_t zero_16 = 0;
|
||||
@ -140,7 +141,8 @@ STATIC void add_generic_services(bleio_adapter_obj_t *adapter) {
|
||||
SECURITY_MODE_NO_ACCESS,
|
||||
2, // max length, from Bluetooth spec
|
||||
true, // fixed length
|
||||
&zero_16_value
|
||||
&zero_16_value,
|
||||
NULL
|
||||
);
|
||||
|
||||
// Generic Attribute Service setup.
|
||||
@ -176,7 +178,8 @@ STATIC void add_generic_services(bleio_adapter_obj_t *adapter) {
|
||||
SECURITY_MODE_NO_ACCESS,
|
||||
4, // max length, from Bluetooth spec
|
||||
true, // fixed length
|
||||
&zero_32_value
|
||||
&zero_32_value,
|
||||
NULL
|
||||
);
|
||||
}
|
||||
|
||||
@ -645,7 +648,11 @@ STATIC void check_data_fit(size_t data_len, bool connectable) {
|
||||
// return true;
|
||||
// }
|
||||
|
||||
uint32_t _common_hal_bleio_adapter_start_advertising(bleio_adapter_obj_t *self, bool connectable, bool anonymous, uint32_t timeout, float interval, uint8_t *advertising_data, uint16_t advertising_data_len, uint8_t *scan_response_data, uint16_t scan_response_data_len, mp_int_t tx_power) {
|
||||
uint32_t _common_hal_bleio_adapter_start_advertising(bleio_adapter_obj_t *self,
|
||||
bool connectable, bool anonymous, uint32_t timeout, float interval,
|
||||
const uint8_t *advertising_data, uint16_t advertising_data_len,
|
||||
const uint8_t *scan_response_data, uint16_t scan_response_data_len,
|
||||
mp_int_t tx_power, const bleio_address_obj_t *directed_to) {
|
||||
check_enabled(self);
|
||||
|
||||
if (self->now_advertising) {
|
||||
@ -769,7 +776,11 @@ uint32_t _common_hal_bleio_adapter_start_advertising(bleio_adapter_obj_t *self,
|
||||
return 0;
|
||||
}
|
||||
|
||||
void common_hal_bleio_adapter_start_advertising(bleio_adapter_obj_t *self, bool connectable, bool anonymous, uint32_t timeout, mp_float_t interval, mp_buffer_info_t *advertising_data_bufinfo, mp_buffer_info_t *scan_response_data_bufinfo, mp_int_t tx_power) {
|
||||
void common_hal_bleio_adapter_start_advertising(bleio_adapter_obj_t *self,
|
||||
bool connectable, bool anonymous, uint32_t timeout, mp_float_t interval,
|
||||
mp_buffer_info_t *advertising_data_bufinfo,
|
||||
mp_buffer_info_t *scan_response_data_bufinfo,
|
||||
mp_int_t tx_power, const bleio_address_obj_t *directed_to) {
|
||||
check_enabled(self);
|
||||
|
||||
// interval value has already been validated.
|
||||
@ -803,7 +814,7 @@ void common_hal_bleio_adapter_start_advertising(bleio_adapter_obj_t *self, bool
|
||||
advertising_data_bufinfo->len,
|
||||
scan_response_data_bufinfo->buf,
|
||||
scan_response_data_bufinfo->len,
|
||||
tx_power);
|
||||
tx_power, directed_to);
|
||||
|
||||
if (result) {
|
||||
mp_raise_bleio_BluetoothError(translate("Already advertising"));
|
||||
|
@ -41,7 +41,7 @@
|
||||
#define CCCD_INDICATE 0x2
|
||||
|
||||
|
||||
void common_hal_bleio_characteristic_construct(bleio_characteristic_obj_t *self, bleio_service_obj_t *service, uint16_t handle, bleio_uuid_obj_t *uuid, bleio_characteristic_properties_t props, bleio_attribute_security_mode_t read_perm, bleio_attribute_security_mode_t write_perm, mp_int_t max_length, bool fixed_length, mp_buffer_info_t *initial_value_bufinfo) {
|
||||
void common_hal_bleio_characteristic_construct(bleio_characteristic_obj_t *self, bleio_service_obj_t *service, uint16_t handle, bleio_uuid_obj_t *uuid, bleio_characteristic_properties_t props, bleio_attribute_security_mode_t read_perm, bleio_attribute_security_mode_t write_perm, mp_int_t max_length, bool fixed_length, mp_buffer_info_t *initial_value_bufinfo, const char *user_description) {
|
||||
self->service = service;
|
||||
self->uuid = uuid;
|
||||
self->decl_handle = BLE_GATT_HANDLE_INVALID;
|
||||
@ -66,7 +66,7 @@ void common_hal_bleio_characteristic_construct(bleio_characteristic_obj_t *self,
|
||||
if (service->is_remote) {
|
||||
self->handle = handle;
|
||||
} else {
|
||||
common_hal_bleio_service_add_characteristic(self->service, self, initial_value_bufinfo);
|
||||
common_hal_bleio_service_add_characteristic(self->service, self, initial_value_bufinfo, user_description);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -148,7 +148,8 @@ mp_int_t common_hal_bleio_packet_buffer_readinto(bleio_packet_buffer_obj_t *self
|
||||
return ret;
|
||||
}
|
||||
|
||||
mp_int_t common_hal_bleio_packet_buffer_write(bleio_packet_buffer_obj_t *self, uint8_t *data, size_t len, uint8_t *header, size_t header_len) {
|
||||
mp_int_t common_hal_bleio_packet_buffer_write(bleio_packet_buffer_obj_t *self,
|
||||
const uint8_t *data, size_t len, uint8_t *header, size_t header_len) {
|
||||
if (self->outgoing[0] == NULL) {
|
||||
mp_raise_bleio_BluetoothError(translate("Writes not supported on Characteristic"));
|
||||
}
|
||||
|
@ -84,7 +84,8 @@ bool common_hal_bleio_service_get_is_secondary(bleio_service_obj_t *self) {
|
||||
|
||||
void common_hal_bleio_service_add_characteristic(bleio_service_obj_t *self,
|
||||
bleio_characteristic_obj_t *characteristic,
|
||||
mp_buffer_info_t *initial_value_bufinfo) {
|
||||
mp_buffer_info_t *initial_value_bufinfo,
|
||||
const char *user_description) {
|
||||
|
||||
if (self->handle != common_hal_bleio_adapter_obj.last_added_service_handle) {
|
||||
mp_raise_bleio_BluetoothError(
|
||||
|
@ -36,7 +36,7 @@
|
||||
#include "shared-bindings/_bleio/Descriptor.h"
|
||||
#include "shared-bindings/_bleio/Service.h"
|
||||
#include "shared-bindings/_bleio/UUID.h"
|
||||
#include "supervisor/shared/bluetooth.h"
|
||||
#include "supervisor/shared/bluetooth/bluetooth.h"
|
||||
|
||||
// UUID shared by all cccd's.
|
||||
bleio_uuid_obj_t cccd_uuid;
|
||||
|
@ -14,6 +14,22 @@
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% if support_matrix_reverse[obj.name] is defined %}
|
||||
.. raw:: html
|
||||
|
||||
<p>
|
||||
<details>
|
||||
<summary>Available on these boards</summary>
|
||||
<ul>
|
||||
{% for board in support_matrix_reverse[obj.name] %}
|
||||
<li> {{ board }}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</details>
|
||||
</p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% block subpackages %}
|
||||
{% set visible_subpackages = obj.subpackages|selectattr("display")|list %}
|
||||
{% if visible_subpackages %}
|
||||
|
@ -182,10 +182,6 @@ Exceptions
|
||||
|
||||
.. exception:: OSError
|
||||
|
||||
|see_cpython| :py:class:`cpython:OSError`. CircuitPython doesn't implement the ``errno``
|
||||
attribute, instead use the standard way to access exception arguments:
|
||||
``exc.args[0]``.
|
||||
|
||||
.. exception:: RuntimeError
|
||||
|
||||
.. exception:: ReloadException
|
||||
|
@ -214,6 +214,14 @@ TCP stream connections
|
||||
|
||||
This is a coroutine.
|
||||
|
||||
.. method:: Stream.readinto(buf)
|
||||
|
||||
Read up to n bytes into *buf* with n being equal to the length of *buf*.
|
||||
|
||||
Return the number of bytes read into *buf*.
|
||||
|
||||
This is a coroutine, and a MicroPython extension.
|
||||
|
||||
.. method:: Stream.readline()
|
||||
|
||||
Read a line and return it.
|
||||
|
@ -247,7 +247,7 @@ Module contents
|
||||
|
||||
.. data:: VOID
|
||||
|
||||
``VOID`` is an alias for ``UINT8``, and is provided to conviniently define
|
||||
``VOID`` is an alias for ``UINT8``, and is provided to conveniently define
|
||||
C's void pointers: ``(uctypes.PTR, uctypes.VOID)``.
|
||||
|
||||
.. data:: PTR
|
||||
|
@ -8,9 +8,11 @@
|
||||
|
||||
|see_cpython_module| :mod:`cpython:heapq`.
|
||||
|
||||
This module implements the heap queue algorithm.
|
||||
This module implements the
|
||||
`min heap queue algorithm <https://en.wikipedia.org/wiki/Heap_%28data_structure%29>`_.
|
||||
|
||||
A heap queue is simply a list that has its elements stored in a certain way.
|
||||
A heap queue is essentially a list that has its elements stored in such a way
|
||||
that the first item of the list is always the smallest.
|
||||
|
||||
Functions
|
||||
---------
|
||||
@ -21,8 +23,10 @@ Functions
|
||||
|
||||
.. function:: heappop(heap)
|
||||
|
||||
Pop the first item from the ``heap``, and return it. Raises IndexError if
|
||||
heap is empty.
|
||||
Pop the first item from the ``heap``, and return it. Raise ``IndexError`` if
|
||||
``heap`` is empty.
|
||||
|
||||
The returned item will be the smallest item in the ``heap``.
|
||||
|
||||
.. function:: heapify(x)
|
||||
|
||||
|
@ -89,11 +89,11 @@ Methods
|
||||
``callee-owned tuples``. This function provides efficient, allocation-free
|
||||
way to poll on streams.
|
||||
|
||||
If *flags* is 1, one-shot behavior for events is employed: streams for
|
||||
If *flags* is 1, one-shot behaviour for events is employed: streams for
|
||||
which events happened will have their event masks automatically reset
|
||||
(equivalent to ``poll.modify(obj, 0)``), so new events for such a stream
|
||||
won't be processed until new mask is set with `poll.modify()`. This
|
||||
behavior is useful for asynchronous I/O schedulers.
|
||||
behaviour is useful for asynchronous I/O schedulers.
|
||||
|
||||
.. admonition:: Difference to CPython
|
||||
:class: attention
|
||||
|
@ -80,7 +80,7 @@ as a natural "TODO" list. An example minimal build list is shown below:
|
||||
# Requires DigitalIO:
|
||||
CIRCUITPY_BITBANGIO = 0
|
||||
# Requires DigitalIO
|
||||
CIRCUITPY_GAMEPAD = 0
|
||||
CIRCUITPY_GAMEPADSHIFT = 0
|
||||
# Requires neopixel_write or SPI (dotstar)
|
||||
CIRCUITPY_PIXELBUF = 0
|
||||
# Requires OS
|
||||
|
@ -19,8 +19,8 @@ shared-bindings/_bleio/__init__.rst shared-bindings/_bleio/
|
||||
shared-bindings/_eve/__init__.rst shared-bindings/_eve/
|
||||
shared-bindings/_pew/PewPew.rst shared-bindings/_pew/#_pew.PewPew
|
||||
shared-bindings/_pew/__init__.rst shared-bindings/_pew/
|
||||
shared-bindings/_pixelbuf/PixelBuf.rst shared-bindings/_pixelbuf/#_pixelbuf.PixelBuf
|
||||
shared-bindings/_pixelbuf/__init__.rst shared-bindings/_pixelbuf/
|
||||
shared-bindings/adafruit_pixelbuf/PixelBuf.rst shared-bindings/adafruit_pixelbuf/#adafruit_pixelbuf.PixelBuf
|
||||
shared-bindings/adafruit_pixelbuf/__init__.rst shared-bindings/adafruit_pixelbuf/
|
||||
shared-bindings/_stage/Layer.rst shared-bindings/_stage/#_stage.Layer
|
||||
shared-bindings/_stage/Text.rst shared-bindings/_stage/#_stage.Text
|
||||
shared-bindings/_stage/__init__.rst shared-bindings/_stage/
|
||||
@ -157,5 +157,3 @@ shared-bindings/vectorio/__init__.rst shared-bindings/vectorio/
|
||||
shared-bindings/watchdog/WatchDogMode.rst shared-bindings/watchdog/#watchdog.WatchDogMode
|
||||
shared-bindings/watchdog/WatchDogTimer.rst shared-bindings/watchdog/#watchdog.WatchDogTimer
|
||||
shared-bindings/watchdog/__init__.rst shared-bindings/watchdog/
|
||||
shared-bindings/wiznet/WIZNET5K.rst shared-bindings/wiznet/#wiznet.WIZNET5K
|
||||
shared-bindings/wiznet/__init__.rst shared-bindings/wiznet/
|
||||
|
@ -61,8 +61,8 @@ aliases_brand_names = {
|
||||
additional_modules = {
|
||||
"fontio": "CIRCUITPY_DISPLAYIO",
|
||||
"terminalio": "CIRCUITPY_DISPLAYIO",
|
||||
# "socket": "CIRCUITPY_NETWORK",
|
||||
"adafruit_bus_device": "CIRCUITPY_BUSDEVICE",
|
||||
"adafruit_pixelbuf": "CIRCUITPY_PIXELBUF"
|
||||
}
|
||||
|
||||
def get_circuitpython_root_dir():
|
||||
|
@ -295,13 +295,16 @@ STATIC MP_DEFINE_CONST_DICT(btree_locals_dict, btree_locals_dict_table);
|
||||
STATIC const mp_obj_type_t btree_type = {
|
||||
{ &mp_type_type },
|
||||
// Save on qstr's, reuse same as for module
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_btree,
|
||||
.print = btree_print,
|
||||
.getiter = btree_getiter,
|
||||
.iternext = btree_iternext,
|
||||
.binary_op = btree_binary_op,
|
||||
.subscr = btree_subscr,
|
||||
.locals_dict = (void *)&btree_locals_dict,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.getiter = btree_getiter,
|
||||
.iternext = btree_iternext,
|
||||
.binary_op = btree_binary_op,
|
||||
.subscr = btree_subscr,
|
||||
),
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -602,10 +602,13 @@ STATIC MP_DEFINE_CONST_DICT(framebuf_locals_dict, framebuf_locals_dict_table);
|
||||
|
||||
STATIC const mp_obj_type_t mp_type_framebuf = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_FrameBuffer,
|
||||
.make_new = framebuf_make_new,
|
||||
.buffer_p = { .get_buffer = framebuf_get_buffer },
|
||||
.locals_dict = (mp_obj_dict_t *)&framebuf_locals_dict,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.buffer_p = { .get_buffer = framebuf_get_buffer },
|
||||
),
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -31,12 +31,19 @@
|
||||
|
||||
#if MICROPY_PY_UASYNCIO
|
||||
|
||||
#define TASK_STATE_RUNNING_NOT_WAITED_ON (mp_const_true)
|
||||
#define TASK_STATE_DONE_NOT_WAITED_ON (mp_const_none)
|
||||
#define TASK_STATE_DONE_WAS_WAITED_ON (mp_const_false)
|
||||
|
||||
#define TASK_IS_DONE(task) ( \
|
||||
(task)->state == TASK_STATE_DONE_NOT_WAITED_ON \
|
||||
|| (task)->state == TASK_STATE_DONE_WAS_WAITED_ON)
|
||||
|
||||
typedef struct _mp_obj_task_t {
|
||||
mp_pairheap_t pairheap;
|
||||
mp_obj_t coro;
|
||||
mp_obj_t data;
|
||||
mp_obj_t waiting;
|
||||
|
||||
mp_obj_t state;
|
||||
mp_obj_t ph_key;
|
||||
} mp_obj_task_t;
|
||||
|
||||
@ -146,9 +153,6 @@ STATIC const mp_obj_type_t task_queue_type = {
|
||||
/******************************************************************************/
|
||||
// Task class
|
||||
|
||||
// For efficiency, the task object is stored to the coro entry when the task is done.
|
||||
#define TASK_IS_DONE(task) ((task)->coro == MP_OBJ_FROM_PTR(task))
|
||||
|
||||
// This is the core uasyncio context with cur_task, _task_queue and CancelledError.
|
||||
STATIC mp_obj_t uasyncio_context = MP_OBJ_NULL;
|
||||
|
||||
@ -159,7 +163,7 @@ STATIC mp_obj_t task_make_new(const mp_obj_type_t *type, size_t n_args, const mp
|
||||
mp_pairheap_init_node(task_lt, &self->pairheap);
|
||||
self->coro = args[0];
|
||||
self->data = mp_const_none;
|
||||
self->waiting = mp_const_none;
|
||||
self->state = TASK_STATE_RUNNING_NOT_WAITED_ON;
|
||||
self->ph_key = MP_OBJ_NEW_SMALL_INT(0);
|
||||
if (n_args == 2) {
|
||||
uasyncio_context = args[1];
|
||||
@ -218,24 +222,6 @@ STATIC mp_obj_t task_cancel(mp_obj_t self_in) {
|
||||
}
|
||||
STATIC MP_DEFINE_CONST_FUN_OBJ_1(task_cancel_obj, task_cancel);
|
||||
|
||||
STATIC mp_obj_t task_throw(mp_obj_t self_in, mp_obj_t value_in) {
|
||||
// This task raised an exception which was uncaught; handle that now.
|
||||
mp_obj_task_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
// Set the data because it was cleared by the main scheduling loop.
|
||||
self->data = value_in;
|
||||
if (self->waiting == mp_const_none) {
|
||||
// Nothing await'ed on the task so call the exception handler.
|
||||
mp_obj_t _exc_context = mp_obj_dict_get(uasyncio_context, MP_OBJ_NEW_QSTR(MP_QSTR__exc_context));
|
||||
mp_obj_dict_store(_exc_context, MP_OBJ_NEW_QSTR(MP_QSTR_exception), value_in);
|
||||
mp_obj_dict_store(_exc_context, MP_OBJ_NEW_QSTR(MP_QSTR_future), self_in);
|
||||
mp_obj_t Loop = mp_obj_dict_get(uasyncio_context, MP_OBJ_NEW_QSTR(MP_QSTR_Loop));
|
||||
mp_obj_t call_exception_handler = mp_load_attr(Loop, MP_QSTR_call_exception_handler);
|
||||
mp_call_function_1(call_exception_handler, _exc_context);
|
||||
}
|
||||
return mp_const_none;
|
||||
}
|
||||
STATIC MP_DEFINE_CONST_FUN_OBJ_2(task_throw_obj, task_throw);
|
||||
|
||||
STATIC void task_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) {
|
||||
mp_obj_task_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
if (dest[0] == MP_OBJ_NULL) {
|
||||
@ -244,32 +230,24 @@ STATIC void task_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) {
|
||||
dest[0] = self->coro;
|
||||
} else if (attr == MP_QSTR_data) {
|
||||
dest[0] = self->data;
|
||||
} else if (attr == MP_QSTR_waiting) {
|
||||
if (self->waiting != mp_const_none && self->waiting != mp_const_false) {
|
||||
dest[0] = self->waiting;
|
||||
}
|
||||
} else if (attr == MP_QSTR_state) {
|
||||
dest[0] = self->state;
|
||||
} else if (attr == MP_QSTR_done) {
|
||||
dest[0] = MP_OBJ_FROM_PTR(&task_done_obj);
|
||||
dest[1] = self_in;
|
||||
} else if (attr == MP_QSTR_cancel) {
|
||||
dest[0] = MP_OBJ_FROM_PTR(&task_cancel_obj);
|
||||
dest[1] = self_in;
|
||||
} else if (attr == MP_QSTR_throw) {
|
||||
dest[0] = MP_OBJ_FROM_PTR(&task_throw_obj);
|
||||
dest[1] = self_in;
|
||||
} else if (attr == MP_QSTR_ph_key) {
|
||||
dest[0] = self->ph_key;
|
||||
}
|
||||
} else if (dest[1] != MP_OBJ_NULL) {
|
||||
// Store
|
||||
if (attr == MP_QSTR_coro) {
|
||||
self->coro = dest[1];
|
||||
dest[0] = MP_OBJ_NULL;
|
||||
} else if (attr == MP_QSTR_data) {
|
||||
if (attr == MP_QSTR_data) {
|
||||
self->data = dest[1];
|
||||
dest[0] = MP_OBJ_NULL;
|
||||
} else if (attr == MP_QSTR_waiting) {
|
||||
self->waiting = dest[1];
|
||||
} else if (attr == MP_QSTR_state) {
|
||||
self->state = dest[1];
|
||||
dest[0] = MP_OBJ_NULL;
|
||||
}
|
||||
}
|
||||
@ -278,15 +256,12 @@ STATIC void task_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) {
|
||||
STATIC mp_obj_t task_getiter(mp_obj_t self_in, mp_obj_iter_buf_t *iter_buf) {
|
||||
(void)iter_buf;
|
||||
mp_obj_task_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
if (self->waiting == mp_const_none) {
|
||||
// The is the first access of the "waiting" entry.
|
||||
if (TASK_IS_DONE(self)) {
|
||||
// Signal that the completed-task has been await'ed on.
|
||||
self->waiting = mp_const_false;
|
||||
} else {
|
||||
// Lazily allocate the waiting queue.
|
||||
self->waiting = task_queue_make_new(&task_queue_type, 0, 0, NULL);
|
||||
}
|
||||
if (TASK_IS_DONE(self)) {
|
||||
// Signal that the completed-task has been await'ed on.
|
||||
self->state = TASK_STATE_DONE_WAS_WAITED_ON;
|
||||
} else if (self->state == TASK_STATE_RUNNING_NOT_WAITED_ON) {
|
||||
// Allocate the waiting queue.
|
||||
self->state = task_queue_make_new(&task_queue_type, 0, 0, NULL);
|
||||
}
|
||||
return self_in;
|
||||
}
|
||||
@ -299,7 +274,7 @@ STATIC mp_obj_t task_iternext(mp_obj_t self_in) {
|
||||
} else {
|
||||
// Put calling task on waiting queue.
|
||||
mp_obj_t cur_task = mp_obj_dict_get(uasyncio_context, MP_OBJ_NEW_QSTR(MP_QSTR_cur_task));
|
||||
mp_obj_t args[2] = { self->waiting, cur_task };
|
||||
mp_obj_t args[2] = { self->state, cur_task };
|
||||
task_queue_push_sorted(2, args);
|
||||
// Set calling task's data to this task that it waits on, to double-link it.
|
||||
((mp_obj_task_t *)MP_OBJ_TO_PTR(cur_task))->data = self_in;
|
||||
@ -309,11 +284,14 @@ STATIC mp_obj_t task_iternext(mp_obj_t self_in) {
|
||||
|
||||
STATIC const mp_obj_type_t task_type = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_Task,
|
||||
.make_new = task_make_new,
|
||||
.attr = task_attr,
|
||||
.getiter = task_getiter,
|
||||
.iternext = task_iternext,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.getiter = task_getiter,
|
||||
.iternext = task_iternext,
|
||||
),
|
||||
};
|
||||
|
||||
/******************************************************************************/
|
||||
|
@ -15,38 +15,10 @@
|
||||
|
||||
#if MICROPY_PY_UCTYPES
|
||||
|
||||
/// \module uctypes - Access data structures in memory
|
||||
///
|
||||
/// The module allows to define layout of raw data structure (using terms
|
||||
/// of C language), and then access memory buffers using this definition.
|
||||
/// The module also provides convenience functions to access memory buffers
|
||||
/// contained in Python objects or wrap memory buffers in Python objects.
|
||||
/// \constant UINT8_1 - uint8_t value type
|
||||
|
||||
/// \class struct - C-like structure
|
||||
///
|
||||
/// Encapsulalation of in-memory data structure. This class doesn't define
|
||||
/// any methods, only attribute access (for structure fields) and
|
||||
/// indexing (for pointer and array fields).
|
||||
///
|
||||
/// Usage:
|
||||
///
|
||||
/// # Define layout of a structure with 2 fields
|
||||
/// # 0 and 4 are byte offsets of fields from the beginning of struct
|
||||
/// # they are logically ORed with field type
|
||||
/// FOO_STRUCT = {"a": 0 | uctypes.UINT32, "b": 4 | uctypes.UINT8}
|
||||
///
|
||||
/// # Example memory buffer to access (contained in bytes object)
|
||||
/// buf = b"\x64\0\0\0\0x14"
|
||||
///
|
||||
/// # Create structure object referring to address of
|
||||
/// # the data in the buffer above
|
||||
/// s = uctypes.struct(FOO_STRUCT, uctypes.addressof(buf))
|
||||
///
|
||||
/// # Access fields
|
||||
/// print(s.a, s.b)
|
||||
/// # Result:
|
||||
/// # 100, 20
|
||||
// The uctypes module allows defining the layout of a raw data structure (using
|
||||
// terms of the C language), and then access memory buffers using this definition.
|
||||
// The module also provides convenience functions to access memory buffers
|
||||
// contained in Python objects or wrap memory buffers in Python objects.
|
||||
|
||||
#define LAYOUT_LITTLE_ENDIAN (0)
|
||||
#define LAYOUT_BIG_ENDIAN (1)
|
||||
@ -56,6 +28,7 @@
|
||||
#define BITF_LEN_BITS 5
|
||||
#define BITF_OFF_BITS 5
|
||||
#define OFFSET_BITS 17
|
||||
#define LEN_BITS (OFFSET_BITS + BITF_OFF_BITS)
|
||||
#if VAL_TYPE_BITS + BITF_LEN_BITS + BITF_OFF_BITS + OFFSET_BITS != 31
|
||||
#error Invalid encoding field length
|
||||
#endif
|
||||
@ -172,7 +145,7 @@ STATIC mp_uint_t uctypes_struct_agg_size(mp_obj_tuple_t *t, int layout_type, mp_
|
||||
mp_uint_t item_s;
|
||||
if (t->len == 2) {
|
||||
// Elements of array are scalar
|
||||
item_s = GET_SCALAR_SIZE(val_type);
|
||||
item_s = uctypes_struct_scalar_size(val_type);
|
||||
if (item_s > *max_field_size) {
|
||||
*max_field_size = item_s;
|
||||
}
|
||||
@ -400,10 +373,8 @@ STATIC mp_obj_t uctypes_struct_attr_op(mp_obj_t self_in, qstr attr, mp_obj_t set
|
||||
mp_int_t offset = MP_OBJ_SMALL_INT_VALUE(deref);
|
||||
mp_uint_t val_type = GET_TYPE(offset, VAL_TYPE_BITS);
|
||||
offset &= VALUE_MASK(VAL_TYPE_BITS);
|
||||
// printf("scalar type=%d offset=%x\n", val_type, offset);
|
||||
|
||||
if (val_type <= INT64 || val_type == FLOAT32 || val_type == FLOAT64) {
|
||||
// printf("size=%d\n", GET_SCALAR_SIZE(val_type));
|
||||
if (self->flags == LAYOUT_NATIVE) {
|
||||
if (set_val == MP_OBJ_NULL) {
|
||||
return get_aligned(val_type, self->addr + offset, 0);
|
||||
@ -420,9 +391,9 @@ STATIC mp_obj_t uctypes_struct_attr_op(mp_obj_t self_in, qstr attr, mp_obj_t set
|
||||
}
|
||||
}
|
||||
} else if (val_type >= BFUINT8 && val_type <= BFINT32) {
|
||||
uint bit_offset = (offset >> 17) & 31;
|
||||
uint bit_len = (offset >> 22) & 31;
|
||||
offset &= (1 << 17) - 1;
|
||||
uint bit_offset = (offset >> OFFSET_BITS) & 31;
|
||||
uint bit_len = (offset >> LEN_BITS) & 31;
|
||||
offset &= (1 << OFFSET_BITS) - 1;
|
||||
mp_uint_t val;
|
||||
if (self->flags == LAYOUT_NATIVE) {
|
||||
val = get_aligned_basic(val_type & 6, self->addr + offset);
|
||||
@ -470,7 +441,6 @@ STATIC mp_obj_t uctypes_struct_attr_op(mp_obj_t self_in, qstr attr, mp_obj_t set
|
||||
mp_int_t offset = MP_OBJ_SMALL_INT_VALUE(sub->items[0]);
|
||||
mp_uint_t agg_type = GET_TYPE(offset, AGG_TYPE_BITS);
|
||||
offset &= VALUE_MASK(AGG_TYPE_BITS);
|
||||
// printf("agg type=%d offset=%x\n", agg_type, offset);
|
||||
|
||||
switch (agg_type) {
|
||||
case STRUCT: {
|
||||
@ -495,7 +465,6 @@ STATIC mp_obj_t uctypes_struct_attr_op(mp_obj_t self_in, qstr attr, mp_obj_t set
|
||||
o->desc = MP_OBJ_FROM_PTR(sub);
|
||||
o->addr = self->addr + offset;
|
||||
o->flags = self->flags;
|
||||
// printf("PTR/ARR base addr=%p\n", o->addr);
|
||||
return MP_OBJ_FROM_PTR(o);
|
||||
}
|
||||
}
|
||||
@ -553,7 +522,7 @@ STATIC mp_obj_t uctypes_struct_subscr(mp_obj_t base_in, mp_obj_t index_in, mp_ob
|
||||
return value; // just !MP_OBJ_NULL
|
||||
}
|
||||
} else {
|
||||
byte *p = self->addr + GET_SCALAR_SIZE(val_type) * index;
|
||||
byte *p = self->addr + uctypes_struct_scalar_size(val_type) * index;
|
||||
if (value == MP_OBJ_SENTINEL) {
|
||||
return get_unaligned(val_type, p, self->flags);
|
||||
} else {
|
||||
@ -628,9 +597,8 @@ STATIC mp_int_t uctypes_get_buffer(mp_obj_t self_in, mp_buffer_info_t *bufinfo,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/// \function addressof()
|
||||
/// Return address of object's data (applies to object providing buffer
|
||||
/// interface).
|
||||
// addressof()
|
||||
// Return address of object's data (applies to objects providing the buffer interface).
|
||||
STATIC mp_obj_t uctypes_struct_addressof(mp_obj_t buf) {
|
||||
mp_buffer_info_t bufinfo;
|
||||
mp_get_buffer_raise(buf, &bufinfo, MP_BUFFER_READ);
|
||||
@ -638,34 +606,32 @@ STATIC mp_obj_t uctypes_struct_addressof(mp_obj_t buf) {
|
||||
}
|
||||
MP_DEFINE_CONST_FUN_OBJ_1(uctypes_struct_addressof_obj, uctypes_struct_addressof);
|
||||
|
||||
/// \function bytearray_at()
|
||||
/// Capture memory at given address of given size as bytearray. Memory is
|
||||
/// captured by reference (and thus memory pointed by bytearray may change
|
||||
/// or become invalid at later time). Use bytes_at() to capture by value.
|
||||
// bytearray_at()
|
||||
// Capture memory at given address of given size as bytearray.
|
||||
STATIC mp_obj_t uctypes_struct_bytearray_at(mp_obj_t ptr, mp_obj_t size) {
|
||||
return mp_obj_new_bytearray_by_ref(mp_obj_int_get_truncated(size), (void *)(uintptr_t)mp_obj_int_get_truncated(ptr));
|
||||
}
|
||||
MP_DEFINE_CONST_FUN_OBJ_2(uctypes_struct_bytearray_at_obj, uctypes_struct_bytearray_at);
|
||||
|
||||
/// \function bytes_at()
|
||||
/// Capture memory at given address of given size as bytes. Memory is
|
||||
/// captured by value, i.e. copied. Use bytearray_at() to capture by reference
|
||||
/// ("zero copy").
|
||||
// bytes_at()
|
||||
// Capture memory at given address of given size as bytes.
|
||||
STATIC mp_obj_t uctypes_struct_bytes_at(mp_obj_t ptr, mp_obj_t size) {
|
||||
return mp_obj_new_bytes((void *)(uintptr_t)mp_obj_int_get_truncated(ptr), mp_obj_int_get_truncated(size));
|
||||
}
|
||||
MP_DEFINE_CONST_FUN_OBJ_2(uctypes_struct_bytes_at_obj, uctypes_struct_bytes_at);
|
||||
|
||||
|
||||
STATIC const mp_obj_type_t uctypes_struct_type = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_struct,
|
||||
.print = uctypes_struct_print,
|
||||
.make_new = uctypes_struct_make_new,
|
||||
.attr = uctypes_struct_attr,
|
||||
.subscr = uctypes_struct_subscr,
|
||||
.unary_op = uctypes_struct_unary_op,
|
||||
.buffer_p = { .get_buffer = uctypes_get_buffer },
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.subscr = uctypes_struct_subscr,
|
||||
.unary_op = uctypes_struct_unary_op,
|
||||
.buffer_p = { .get_buffer = uctypes_get_buffer },
|
||||
),
|
||||
};
|
||||
|
||||
STATIC const mp_rom_map_elem_t mp_module_uctypes_globals_table[] = {
|
||||
@ -676,81 +642,63 @@ STATIC const mp_rom_map_elem_t mp_module_uctypes_globals_table[] = {
|
||||
{ MP_ROM_QSTR(MP_QSTR_bytes_at), MP_ROM_PTR(&uctypes_struct_bytes_at_obj) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_bytearray_at), MP_ROM_PTR(&uctypes_struct_bytearray_at_obj) },
|
||||
|
||||
/// \moduleref uctypes
|
||||
|
||||
/// \constant NATIVE - Native structure layout - native endianness,
|
||||
/// platform-specific field alignment
|
||||
{ MP_ROM_QSTR(MP_QSTR_NATIVE), MP_ROM_INT(LAYOUT_NATIVE) },
|
||||
/// \constant LITTLE_ENDIAN - Little-endian structure layout, tightly packed
|
||||
/// (no alignment constraints)
|
||||
{ MP_ROM_QSTR(MP_QSTR_LITTLE_ENDIAN), MP_ROM_INT(LAYOUT_LITTLE_ENDIAN) },
|
||||
/// \constant BIG_ENDIAN - Big-endian structure layout, tightly packed
|
||||
/// (no alignment constraints)
|
||||
{ MP_ROM_QSTR(MP_QSTR_BIG_ENDIAN), MP_ROM_INT(LAYOUT_BIG_ENDIAN) },
|
||||
|
||||
/// \constant VOID - void value type, may be used only as pointer target type.
|
||||
{ MP_ROM_QSTR(MP_QSTR_VOID), MP_ROM_INT(TYPE2SMALLINT(UINT8, VAL_TYPE_BITS)) },
|
||||
|
||||
/// \constant UINT8 - uint8_t value type
|
||||
{ MP_ROM_QSTR(MP_QSTR_UINT8), MP_ROM_INT(TYPE2SMALLINT(UINT8, 4)) },
|
||||
/// \constant INT8 - int8_t value type
|
||||
{ MP_ROM_QSTR(MP_QSTR_INT8), MP_ROM_INT(TYPE2SMALLINT(INT8, 4)) },
|
||||
/// \constant UINT16 - uint16_t value type
|
||||
{ MP_ROM_QSTR(MP_QSTR_UINT16), MP_ROM_INT(TYPE2SMALLINT(UINT16, 4)) },
|
||||
/// \constant INT16 - int16_t value type
|
||||
{ MP_ROM_QSTR(MP_QSTR_INT16), MP_ROM_INT(TYPE2SMALLINT(INT16, 4)) },
|
||||
/// \constant UINT32 - uint32_t value type
|
||||
{ MP_ROM_QSTR(MP_QSTR_UINT32), MP_ROM_INT(TYPE2SMALLINT(UINT32, 4)) },
|
||||
/// \constant INT32 - int32_t value type
|
||||
{ MP_ROM_QSTR(MP_QSTR_INT32), MP_ROM_INT(TYPE2SMALLINT(INT32, 4)) },
|
||||
/// \constant UINT64 - uint64_t value type
|
||||
{ MP_ROM_QSTR(MP_QSTR_UINT64), MP_ROM_INT(TYPE2SMALLINT(UINT64, 4)) },
|
||||
/// \constant INT64 - int64_t value type
|
||||
{ MP_ROM_QSTR(MP_QSTR_INT64), MP_ROM_INT(TYPE2SMALLINT(INT64, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_UINT8), MP_ROM_INT(TYPE2SMALLINT(UINT8, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_INT8), MP_ROM_INT(TYPE2SMALLINT(INT8, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_UINT16), MP_ROM_INT(TYPE2SMALLINT(UINT16, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_INT16), MP_ROM_INT(TYPE2SMALLINT(INT16, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_UINT32), MP_ROM_INT(TYPE2SMALLINT(UINT32, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_INT32), MP_ROM_INT(TYPE2SMALLINT(INT32, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_UINT64), MP_ROM_INT(TYPE2SMALLINT(UINT64, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_INT64), MP_ROM_INT(TYPE2SMALLINT(INT64, VAL_TYPE_BITS)) },
|
||||
|
||||
{ MP_ROM_QSTR(MP_QSTR_BFUINT8), MP_ROM_INT(TYPE2SMALLINT(BFUINT8, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BFINT8), MP_ROM_INT(TYPE2SMALLINT(BFINT8, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BFUINT16), MP_ROM_INT(TYPE2SMALLINT(BFUINT16, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BFINT16), MP_ROM_INT(TYPE2SMALLINT(BFINT16, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BFUINT32), MP_ROM_INT(TYPE2SMALLINT(BFUINT32, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BFINT32), MP_ROM_INT(TYPE2SMALLINT(BFINT32, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BFUINT8), MP_ROM_INT(TYPE2SMALLINT(BFUINT8, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BFINT8), MP_ROM_INT(TYPE2SMALLINT(BFINT8, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BFUINT16), MP_ROM_INT(TYPE2SMALLINT(BFUINT16, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BFINT16), MP_ROM_INT(TYPE2SMALLINT(BFINT16, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BFUINT32), MP_ROM_INT(TYPE2SMALLINT(BFUINT32, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BFINT32), MP_ROM_INT(TYPE2SMALLINT(BFINT32, VAL_TYPE_BITS)) },
|
||||
|
||||
{ MP_ROM_QSTR(MP_QSTR_BF_POS), MP_ROM_INT(17) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BF_LEN), MP_ROM_INT(22) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BF_POS), MP_ROM_INT(OFFSET_BITS) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_BF_LEN), MP_ROM_INT(LEN_BITS) },
|
||||
|
||||
#if MICROPY_PY_BUILTINS_FLOAT
|
||||
{ MP_ROM_QSTR(MP_QSTR_FLOAT32), MP_ROM_INT(TYPE2SMALLINT(FLOAT32, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_FLOAT64), MP_ROM_INT(TYPE2SMALLINT(FLOAT64, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_FLOAT32), MP_ROM_INT(TYPE2SMALLINT(FLOAT32, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_FLOAT64), MP_ROM_INT(TYPE2SMALLINT(FLOAT64, VAL_TYPE_BITS)) },
|
||||
#endif
|
||||
|
||||
#if MICROPY_PY_UCTYPES_NATIVE_C_TYPES
|
||||
// C native type aliases. These depend on GCC-compatible predefined
|
||||
// preprocessor macros.
|
||||
#if __SIZEOF_SHORT__ == 2
|
||||
{ MP_ROM_QSTR(MP_QSTR_SHORT), MP_ROM_INT(TYPE2SMALLINT(INT16, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_USHORT), MP_ROM_INT(TYPE2SMALLINT(UINT16, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_SHORT), MP_ROM_INT(TYPE2SMALLINT(INT16, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_USHORT), MP_ROM_INT(TYPE2SMALLINT(UINT16, VAL_TYPE_BITS)) },
|
||||
#endif
|
||||
#if __SIZEOF_INT__ == 4
|
||||
{ MP_ROM_QSTR(MP_QSTR_INT), MP_ROM_INT(TYPE2SMALLINT(INT32, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_UINT), MP_ROM_INT(TYPE2SMALLINT(UINT32, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_INT), MP_ROM_INT(TYPE2SMALLINT(INT32, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_UINT), MP_ROM_INT(TYPE2SMALLINT(UINT32, VAL_TYPE_BITS)) },
|
||||
#endif
|
||||
#if __SIZEOF_LONG__ == 4
|
||||
{ MP_ROM_QSTR(MP_QSTR_LONG), MP_ROM_INT(TYPE2SMALLINT(INT32, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_ULONG), MP_ROM_INT(TYPE2SMALLINT(UINT32, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_LONG), MP_ROM_INT(TYPE2SMALLINT(INT32, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_ULONG), MP_ROM_INT(TYPE2SMALLINT(UINT32, VAL_TYPE_BITS)) },
|
||||
#elif __SIZEOF_LONG__ == 8
|
||||
{ MP_ROM_QSTR(MP_QSTR_LONG), MP_ROM_INT(TYPE2SMALLINT(INT64, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_ULONG), MP_ROM_INT(TYPE2SMALLINT(UINT64, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_LONG), MP_ROM_INT(TYPE2SMALLINT(INT64, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_ULONG), MP_ROM_INT(TYPE2SMALLINT(UINT64, VAL_TYPE_BITS)) },
|
||||
#endif
|
||||
#if __SIZEOF_LONG_LONG__ == 8
|
||||
{ MP_ROM_QSTR(MP_QSTR_LONGLONG), MP_ROM_INT(TYPE2SMALLINT(INT64, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_ULONGLONG), MP_ROM_INT(TYPE2SMALLINT(UINT64, 4)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_LONGLONG), MP_ROM_INT(TYPE2SMALLINT(INT64, VAL_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_ULONGLONG), MP_ROM_INT(TYPE2SMALLINT(UINT64, VAL_TYPE_BITS)) },
|
||||
#endif
|
||||
#endif // MICROPY_PY_UCTYPES_NATIVE_C_TYPES
|
||||
|
||||
{ MP_ROM_QSTR(MP_QSTR_PTR), MP_ROM_INT(TYPE2SMALLINT(PTR, AGG_TYPE_BITS)) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_ARRAY), MP_ROM_INT(TYPE2SMALLINT(ARRAY, AGG_TYPE_BITS)) },
|
||||
};
|
||||
|
||||
STATIC MP_DEFINE_CONST_DICT(mp_module_uctypes_globals, mp_module_uctypes_globals_table);
|
||||
|
||||
const mp_obj_module_t mp_module_uctypes = {
|
||||
|
@ -42,9 +42,16 @@
|
||||
|
||||
typedef struct _mp_obj_hash_t {
|
||||
mp_obj_base_t base;
|
||||
char state[0];
|
||||
bool final; // if set, update and digest raise an exception
|
||||
uintptr_t state[0]; // must be aligned to a machine word
|
||||
} mp_obj_hash_t;
|
||||
|
||||
static void uhashlib_ensure_not_final(mp_obj_hash_t *self) {
|
||||
if (self->final) {
|
||||
mp_raise_ValueError(MP_ERROR_TEXT("hash is final"));
|
||||
}
|
||||
}
|
||||
|
||||
#if MICROPY_PY_UHASHLIB_SHA256
|
||||
STATIC mp_obj_t uhashlib_sha256_update(mp_obj_t self_in, mp_obj_t arg);
|
||||
|
||||
@ -60,6 +67,7 @@ STATIC mp_obj_t uhashlib_sha256_make_new(const mp_obj_type_t *type, size_t n_arg
|
||||
mp_arg_check_num(n_args, n_kw, 0, 1, false);
|
||||
mp_obj_hash_t *o = m_new_obj_var(mp_obj_hash_t, char, sizeof(mbedtls_sha256_context));
|
||||
o->base.type = type;
|
||||
o->final = false;
|
||||
mbedtls_sha256_init((mbedtls_sha256_context *)&o->state);
|
||||
mbedtls_sha256_starts_ret((mbedtls_sha256_context *)&o->state, 0);
|
||||
if (n_args == 1) {
|
||||
@ -70,6 +78,7 @@ STATIC mp_obj_t uhashlib_sha256_make_new(const mp_obj_type_t *type, size_t n_arg
|
||||
|
||||
STATIC mp_obj_t uhashlib_sha256_update(mp_obj_t self_in, mp_obj_t arg) {
|
||||
mp_obj_hash_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
uhashlib_ensure_not_final(self);
|
||||
mp_buffer_info_t bufinfo;
|
||||
mp_get_buffer_raise(arg, &bufinfo, MP_BUFFER_READ);
|
||||
mbedtls_sha256_update_ret((mbedtls_sha256_context *)&self->state, bufinfo.buf, bufinfo.len);
|
||||
@ -78,6 +87,8 @@ STATIC mp_obj_t uhashlib_sha256_update(mp_obj_t self_in, mp_obj_t arg) {
|
||||
|
||||
STATIC mp_obj_t uhashlib_sha256_digest(mp_obj_t self_in) {
|
||||
mp_obj_hash_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
uhashlib_ensure_not_final(self);
|
||||
self->final = true;
|
||||
vstr_t vstr;
|
||||
vstr_init_len(&vstr, 32);
|
||||
mbedtls_sha256_finish_ret((mbedtls_sha256_context *)&self->state, (unsigned char *)vstr.buf);
|
||||
@ -102,6 +113,7 @@ STATIC mp_obj_t uhashlib_sha256_make_new(const mp_obj_type_t *type, size_t n_arg
|
||||
mp_arg_check_num(n_args, kw_args, 0, 1, false);
|
||||
mp_obj_hash_t *o = m_new_obj_var(mp_obj_hash_t, char, sizeof(CRYAL_SHA256_CTX));
|
||||
o->base.type = type;
|
||||
o->final = false;
|
||||
sha256_init((CRYAL_SHA256_CTX *)o->state);
|
||||
if (n_args == 1) {
|
||||
uhashlib_sha256_update(MP_OBJ_FROM_PTR(o), args[0]);
|
||||
@ -112,6 +124,7 @@ STATIC mp_obj_t uhashlib_sha256_make_new(const mp_obj_type_t *type, size_t n_arg
|
||||
STATIC mp_obj_t uhashlib_sha256_update(mp_obj_t self_in, mp_obj_t arg) {
|
||||
check_not_unicode(arg);
|
||||
mp_obj_hash_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
uhashlib_ensure_not_final(self);
|
||||
mp_buffer_info_t bufinfo;
|
||||
mp_get_buffer_raise(arg, &bufinfo, MP_BUFFER_READ);
|
||||
sha256_update((CRYAL_SHA256_CTX *)self->state, bufinfo.buf, bufinfo.len);
|
||||
@ -120,6 +133,8 @@ STATIC mp_obj_t uhashlib_sha256_update(mp_obj_t self_in, mp_obj_t arg) {
|
||||
|
||||
STATIC mp_obj_t uhashlib_sha256_digest(mp_obj_t self_in) {
|
||||
mp_obj_hash_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
uhashlib_ensure_not_final(self);
|
||||
self->final = true;
|
||||
vstr_t vstr;
|
||||
vstr_init_len(&vstr, SHA256_BLOCK_SIZE);
|
||||
sha256_final((CRYAL_SHA256_CTX *)self->state, (byte *)vstr.buf);
|
||||
@ -153,6 +168,7 @@ STATIC mp_obj_t uhashlib_sha1_make_new(const mp_obj_type_t *type, size_t n_args,
|
||||
mp_arg_check_num(n_args, kw_args, 0, 1, false);
|
||||
mp_obj_hash_t *o = m_new_obj_var(mp_obj_hash_t, char, sizeof(SHA1_CTX));
|
||||
o->base.type = type;
|
||||
o->final = false;
|
||||
SHA1_Init((SHA1_CTX *)o->state);
|
||||
if (n_args == 1) {
|
||||
uhashlib_sha1_update(MP_OBJ_FROM_PTR(o), args[0]);
|
||||
@ -163,6 +179,7 @@ STATIC mp_obj_t uhashlib_sha1_make_new(const mp_obj_type_t *type, size_t n_args,
|
||||
STATIC mp_obj_t uhashlib_sha1_update(mp_obj_t self_in, mp_obj_t arg) {
|
||||
check_not_unicode(arg);
|
||||
mp_obj_hash_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
uhashlib_ensure_not_final(self);
|
||||
mp_buffer_info_t bufinfo;
|
||||
mp_get_buffer_raise(arg, &bufinfo, MP_BUFFER_READ);
|
||||
SHA1_Update((SHA1_CTX *)self->state, bufinfo.buf, bufinfo.len);
|
||||
@ -171,6 +188,8 @@ STATIC mp_obj_t uhashlib_sha1_update(mp_obj_t self_in, mp_obj_t arg) {
|
||||
|
||||
STATIC mp_obj_t uhashlib_sha1_digest(mp_obj_t self_in) {
|
||||
mp_obj_hash_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
uhashlib_ensure_not_final(self);
|
||||
self->final = true;
|
||||
vstr_t vstr;
|
||||
vstr_init_len(&vstr, SHA1_SIZE);
|
||||
SHA1_Final((byte *)vstr.buf, (SHA1_CTX *)self->state);
|
||||
@ -190,6 +209,7 @@ STATIC mp_obj_t uhashlib_sha1_make_new(const mp_obj_type_t *type, size_t n_args,
|
||||
mp_arg_check_num(n_args, n_kw, 0, 1, false);
|
||||
mp_obj_hash_t *o = m_new_obj_var(mp_obj_hash_t, char, sizeof(mbedtls_sha1_context));
|
||||
o->base.type = type;
|
||||
o->final = false;
|
||||
mbedtls_sha1_init((mbedtls_sha1_context *)o->state);
|
||||
mbedtls_sha1_starts_ret((mbedtls_sha1_context *)o->state);
|
||||
if (n_args == 1) {
|
||||
@ -200,6 +220,7 @@ STATIC mp_obj_t uhashlib_sha1_make_new(const mp_obj_type_t *type, size_t n_args,
|
||||
|
||||
STATIC mp_obj_t uhashlib_sha1_update(mp_obj_t self_in, mp_obj_t arg) {
|
||||
mp_obj_hash_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
uhashlib_ensure_not_final(self);
|
||||
mp_buffer_info_t bufinfo;
|
||||
mp_get_buffer_raise(arg, &bufinfo, MP_BUFFER_READ);
|
||||
mbedtls_sha1_update_ret((mbedtls_sha1_context *)self->state, bufinfo.buf, bufinfo.len);
|
||||
@ -208,6 +229,8 @@ STATIC mp_obj_t uhashlib_sha1_update(mp_obj_t self_in, mp_obj_t arg) {
|
||||
|
||||
STATIC mp_obj_t uhashlib_sha1_digest(mp_obj_t self_in) {
|
||||
mp_obj_hash_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
uhashlib_ensure_not_final(self);
|
||||
self->final = true;
|
||||
vstr_t vstr;
|
||||
vstr_init_len(&vstr, 20);
|
||||
mbedtls_sha1_finish_ret((mbedtls_sha1_context *)self->state, (byte *)vstr.buf);
|
||||
@ -241,6 +264,7 @@ STATIC mp_obj_t uhashlib_md5_make_new(const mp_obj_type_t *type, size_t n_args,
|
||||
mp_arg_check_num(n_args, n_kw, 0, 1, false);
|
||||
mp_obj_hash_t *o = m_new_obj_var(mp_obj_hash_t, char, sizeof(MD5_CTX));
|
||||
o->base.type = type;
|
||||
o->final = false;
|
||||
MD5_Init((MD5_CTX *)o->state);
|
||||
if (n_args == 1) {
|
||||
uhashlib_md5_update(MP_OBJ_FROM_PTR(o), args[0]);
|
||||
@ -250,6 +274,7 @@ STATIC mp_obj_t uhashlib_md5_make_new(const mp_obj_type_t *type, size_t n_args,
|
||||
|
||||
STATIC mp_obj_t uhashlib_md5_update(mp_obj_t self_in, mp_obj_t arg) {
|
||||
mp_obj_hash_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
uhashlib_ensure_not_final(self);
|
||||
mp_buffer_info_t bufinfo;
|
||||
mp_get_buffer_raise(arg, &bufinfo, MP_BUFFER_READ);
|
||||
MD5_Update((MD5_CTX *)self->state, bufinfo.buf, bufinfo.len);
|
||||
@ -258,6 +283,8 @@ STATIC mp_obj_t uhashlib_md5_update(mp_obj_t self_in, mp_obj_t arg) {
|
||||
|
||||
STATIC mp_obj_t uhashlib_md5_digest(mp_obj_t self_in) {
|
||||
mp_obj_hash_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
uhashlib_ensure_not_final(self);
|
||||
self->final = true;
|
||||
vstr_t vstr;
|
||||
vstr_init_len(&vstr, MD5_SIZE);
|
||||
MD5_Final((byte *)vstr.buf, (MD5_CTX *)self->state);
|
||||
@ -277,6 +304,7 @@ STATIC mp_obj_t uhashlib_md5_make_new(const mp_obj_type_t *type, size_t n_args,
|
||||
mp_arg_check_num(n_args, n_kw, 0, 1, false);
|
||||
mp_obj_hash_t *o = m_new_obj_var(mp_obj_hash_t, char, sizeof(mbedtls_md5_context));
|
||||
o->base.type = type;
|
||||
o->final = false;
|
||||
mbedtls_md5_init((mbedtls_md5_context *)o->state);
|
||||
mbedtls_md5_starts_ret((mbedtls_md5_context *)o->state);
|
||||
if (n_args == 1) {
|
||||
@ -287,6 +315,7 @@ STATIC mp_obj_t uhashlib_md5_make_new(const mp_obj_type_t *type, size_t n_args,
|
||||
|
||||
STATIC mp_obj_t uhashlib_md5_update(mp_obj_t self_in, mp_obj_t arg) {
|
||||
mp_obj_hash_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
uhashlib_ensure_not_final(self);
|
||||
mp_buffer_info_t bufinfo;
|
||||
mp_get_buffer_raise(arg, &bufinfo, MP_BUFFER_READ);
|
||||
mbedtls_md5_update_ret((mbedtls_md5_context *)self->state, bufinfo.buf, bufinfo.len);
|
||||
@ -295,6 +324,8 @@ STATIC mp_obj_t uhashlib_md5_update(mp_obj_t self_in, mp_obj_t arg) {
|
||||
|
||||
STATIC mp_obj_t uhashlib_md5_digest(mp_obj_t self_in) {
|
||||
mp_obj_hash_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
uhashlib_ensure_not_final(self);
|
||||
self->final = true;
|
||||
vstr_t vstr;
|
||||
vstr_init_len(&vstr, 16);
|
||||
mbedtls_md5_finish_ret((mbedtls_md5_context *)self->state, (byte *)vstr.buf);
|
||||
|
@ -66,8 +66,11 @@ STATIC uint32_t yasmarang_randbelow(uint32_t n) {
|
||||
|
||||
STATIC mp_obj_t mod_urandom_getrandbits(mp_obj_t num_in) {
|
||||
int n = mp_obj_get_int(num_in);
|
||||
if (n > 32 || n == 0) {
|
||||
mp_raise_ValueError(NULL);
|
||||
if (n > 32 || n < 0) {
|
||||
mp_raise_ValueError(MP_ERROR_TEXT("bits must be 32 or less"));
|
||||
}
|
||||
if (n == 0) {
|
||||
return MP_OBJ_NEW_SMALL_INT(0);
|
||||
}
|
||||
uint32_t mask = ~0;
|
||||
// Beware of C undefined behavior when shifting by >= than bit size
|
||||
|
@ -20,10 +20,6 @@
|
||||
// Flags for poll()
|
||||
#define FLAG_ONESHOT (1)
|
||||
|
||||
/// \module select - Provides select function to wait for events on a stream
|
||||
///
|
||||
/// This module provides the select function.
|
||||
|
||||
typedef struct _poll_obj_t {
|
||||
mp_obj_t obj;
|
||||
mp_uint_t (*ioctl)(mp_obj_t obj, mp_uint_t request, uintptr_t arg, int *errcode);
|
||||
@ -91,7 +87,7 @@ STATIC mp_uint_t poll_map_poll(mp_map_t *poll_map, size_t *rwx_num) {
|
||||
return n_ready;
|
||||
}
|
||||
|
||||
/// \function select(rlist, wlist, xlist[, timeout])
|
||||
// select(rlist, wlist, xlist[, timeout])
|
||||
STATIC mp_obj_t select_select(size_t n_args, const mp_obj_t *args) {
|
||||
// get array data from tuple/list arguments
|
||||
size_t rwx_len[3];
|
||||
@ -158,8 +154,6 @@ STATIC mp_obj_t select_select(size_t n_args, const mp_obj_t *args) {
|
||||
}
|
||||
MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(mp_select_select_obj, 3, 4, select_select);
|
||||
|
||||
/// \class Poll - poll class
|
||||
|
||||
typedef struct _mp_obj_poll_t {
|
||||
mp_obj_base_t base;
|
||||
mp_map_t poll_map;
|
||||
@ -170,7 +164,7 @@ typedef struct _mp_obj_poll_t {
|
||||
mp_obj_t ret_tuple;
|
||||
} mp_obj_poll_t;
|
||||
|
||||
/// \method register(obj[, eventmask])
|
||||
// register(obj[, eventmask])
|
||||
STATIC mp_obj_t poll_register(size_t n_args, const mp_obj_t *args) {
|
||||
mp_obj_poll_t *self = MP_OBJ_TO_PTR(args[0]);
|
||||
mp_uint_t flags;
|
||||
@ -184,7 +178,7 @@ STATIC mp_obj_t poll_register(size_t n_args, const mp_obj_t *args) {
|
||||
}
|
||||
MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(poll_register_obj, 2, 3, poll_register);
|
||||
|
||||
/// \method unregister(obj)
|
||||
// unregister(obj)
|
||||
STATIC mp_obj_t poll_unregister(mp_obj_t self_in, mp_obj_t obj_in) {
|
||||
mp_obj_poll_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
mp_map_lookup(&self->poll_map, mp_obj_id(obj_in), MP_MAP_LOOKUP_REMOVE_IF_FOUND);
|
||||
@ -193,7 +187,7 @@ STATIC mp_obj_t poll_unregister(mp_obj_t self_in, mp_obj_t obj_in) {
|
||||
}
|
||||
MP_DEFINE_CONST_FUN_OBJ_2(poll_unregister_obj, poll_unregister);
|
||||
|
||||
/// \method modify(obj, eventmask)
|
||||
// modify(obj, eventmask)
|
||||
STATIC mp_obj_t poll_modify(mp_obj_t self_in, mp_obj_t obj_in, mp_obj_t eventmask_in) {
|
||||
mp_obj_poll_t *self = MP_OBJ_TO_PTR(self_in);
|
||||
mp_map_elem_t *elem = mp_map_lookup(&self->poll_map, mp_obj_id(obj_in), MP_MAP_LOOKUP);
|
||||
@ -328,7 +322,7 @@ STATIC const mp_obj_type_t mp_type_poll = {
|
||||
.locals_dict = (void *)&poll_locals_dict,
|
||||
};
|
||||
|
||||
/// \function poll()
|
||||
// poll()
|
||||
STATIC mp_obj_t select_poll(void) {
|
||||
mp_obj_poll_t *poll = m_new_obj(mp_obj_poll_t);
|
||||
poll->base.type = &mp_type_poll;
|
||||
|
@ -193,10 +193,13 @@ STATIC MP_DEFINE_CONST_DICT(utimeq_locals_dict, utimeq_locals_dict_table);
|
||||
|
||||
STATIC const mp_obj_type_t utimeq_type = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_utimeq,
|
||||
.make_new = utimeq_make_new,
|
||||
.unary_op = utimeq_unary_op,
|
||||
.locals_dict = (void *)&utimeq_locals_dict,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.unary_op = utimeq_unary_op,
|
||||
),
|
||||
};
|
||||
|
||||
STATIC const mp_rom_map_elem_t mp_module_utimeq_globals_table[] = {
|
||||
|
@ -122,10 +122,13 @@ STATIC const mp_stream_p_t decompio_stream_p = {
|
||||
#if !MICROPY_ENABLE_DYNRUNTIME
|
||||
STATIC const mp_obj_type_t decompio_type = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_DecompIO,
|
||||
.make_new = decompio_make_new,
|
||||
.protocol = &decompio_stream_p,
|
||||
.locals_dict = (void *)&decompio_locals_dict,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.protocol = &decompio_stream_p,
|
||||
),
|
||||
};
|
||||
#endif
|
||||
|
||||
|
@ -175,6 +175,10 @@ def run_until_complete(main_task=None):
|
||||
if not exc:
|
||||
t.coro.send(None)
|
||||
else:
|
||||
# If the task is finished and on the run queue and gets here, then it
|
||||
# had an exception and was not await'ed on. Throwing into it now will
|
||||
# raise StopIteration and the code below will catch this and run the
|
||||
# call_exception_handler function.
|
||||
t.data = None
|
||||
t.coro.throw(exc)
|
||||
except excs_all as er:
|
||||
@ -185,22 +189,32 @@ def run_until_complete(main_task=None):
|
||||
if isinstance(er, StopIteration):
|
||||
return er.value
|
||||
raise er
|
||||
# Schedule any other tasks waiting on the completion of this task
|
||||
waiting = False
|
||||
if hasattr(t, "waiting"):
|
||||
while t.waiting.peek():
|
||||
_task_queue.push_head(t.waiting.pop_head())
|
||||
waiting = True
|
||||
t.waiting = None # Free waiting queue head
|
||||
if not waiting and not isinstance(er, excs_stop):
|
||||
# An exception ended this detached task, so queue it for later
|
||||
# execution to handle the uncaught exception if no other task retrieves
|
||||
# the exception in the meantime (this is handled by Task.throw).
|
||||
_task_queue.push_head(t)
|
||||
# Indicate task is done by setting coro to the task object itself
|
||||
t.coro = t
|
||||
# Save return value of coro to pass up to caller
|
||||
t.data = er
|
||||
if t.state:
|
||||
# Task was running but is now finished.
|
||||
waiting = False
|
||||
if t.state is True:
|
||||
# "None" indicates that the task is complete and not await'ed on (yet).
|
||||
t.state = None
|
||||
else:
|
||||
# Schedule any other tasks waiting on the completion of this task.
|
||||
while t.state.peek():
|
||||
_task_queue.push_head(t.state.pop_head())
|
||||
waiting = True
|
||||
# "False" indicates that the task is complete and has been await'ed on.
|
||||
t.state = False
|
||||
if not waiting and not isinstance(er, excs_stop):
|
||||
# An exception ended this detached task, so queue it for later
|
||||
# execution to handle the uncaught exception if no other task retrieves
|
||||
# the exception in the meantime (this is handled by Task.throw).
|
||||
_task_queue.push_head(t)
|
||||
# Save return value of coro to pass up to caller.
|
||||
t.data = er
|
||||
elif t.state is None:
|
||||
# Task is already finished and nothing await'ed on the task,
|
||||
# so call the exception handler.
|
||||
_exc_context["exception"] = exc
|
||||
_exc_context["future"] = t
|
||||
Loop.call_exception_handler(_exc_context)
|
||||
|
||||
|
||||
# Create a new task from a coroutine and run it until it finishes
|
||||
|
@ -30,6 +30,10 @@ class Stream:
|
||||
yield core._io_queue.queue_read(self.s)
|
||||
return self.s.read(n)
|
||||
|
||||
async def readinto(self, buf):
|
||||
yield core._io_queue.queue_read(self.s)
|
||||
return self.s.readinto(buf)
|
||||
|
||||
async def readexactly(self, n):
|
||||
r = b""
|
||||
while n:
|
||||
@ -82,7 +86,7 @@ async def open_connection(host, port):
|
||||
try:
|
||||
s.connect(ai[-1])
|
||||
except OSError as er:
|
||||
if er.args[0] != EINPROGRESS:
|
||||
if er.errno != EINPROGRESS:
|
||||
raise er
|
||||
yield core._io_queue.queue_write(s)
|
||||
return ss, ss
|
||||
@ -112,7 +116,6 @@ class Server:
|
||||
s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1)
|
||||
s.bind(ai[-1])
|
||||
s.listen(backlog)
|
||||
self.task = core.cur_task
|
||||
# Accept incoming connections
|
||||
while True:
|
||||
try:
|
||||
@ -135,7 +138,7 @@ class Server:
|
||||
# TODO could use an accept-callback on socket read activity instead of creating a task
|
||||
async def start_server(cb, host, port, backlog=5):
|
||||
s = Server()
|
||||
core.create_task(s._serve(cb, host, port, backlog))
|
||||
s.task = core.create_task(s._serve(cb, host, port, backlog))
|
||||
return s
|
||||
|
||||
|
||||
|
@ -123,6 +123,7 @@ class Task:
|
||||
def __init__(self, coro, globals=None):
|
||||
self.coro = coro # Coroutine of this Task
|
||||
self.data = None # General data for queue it is waiting on
|
||||
self.state = True # None, False, True or a TaskQueue instance
|
||||
self.ph_key = 0 # Pairing heap
|
||||
self.ph_child = None # Paring heap
|
||||
self.ph_child_last = None # Paring heap
|
||||
@ -130,30 +131,30 @@ class Task:
|
||||
self.ph_rightmost_parent = None # Paring heap
|
||||
|
||||
def __iter__(self):
|
||||
if self.coro is self:
|
||||
# Signal that the completed-task has been await'ed on.
|
||||
self.waiting = None
|
||||
elif not hasattr(self, "waiting"):
|
||||
# Lazily allocated head of linked list of Tasks waiting on completion of this task.
|
||||
self.waiting = TaskQueue()
|
||||
if not self.state:
|
||||
# Task finished, signal that is has been await'ed on.
|
||||
self.state = False
|
||||
elif self.state is True:
|
||||
# Allocated head of linked list of Tasks waiting on completion of this task.
|
||||
self.state = TaskQueue()
|
||||
return self
|
||||
|
||||
def __next__(self):
|
||||
if self.coro is self:
|
||||
if not self.state:
|
||||
# Task finished, raise return value to caller so it can continue.
|
||||
raise self.data
|
||||
else:
|
||||
# Put calling task on waiting queue.
|
||||
self.waiting.push_head(core.cur_task)
|
||||
self.state.push_head(core.cur_task)
|
||||
# Set calling task's data to this task that it waits on, to double-link it.
|
||||
core.cur_task.data = self
|
||||
|
||||
def done(self):
|
||||
return self.coro is self
|
||||
return not self.state
|
||||
|
||||
def cancel(self):
|
||||
# Check if task is already finished.
|
||||
if self.coro is self:
|
||||
if not self.state:
|
||||
return False
|
||||
# Can't cancel self (not supported yet).
|
||||
if self is core.cur_task:
|
||||
@ -172,13 +173,3 @@ class Task:
|
||||
core._task_queue.push_head(self)
|
||||
self.data = core.CancelledError
|
||||
return True
|
||||
|
||||
def throw(self, value):
|
||||
# This task raised an exception which was uncaught; handle that now.
|
||||
# Set the data because it was cleared by the main scheduling loop.
|
||||
self.data = value
|
||||
if not hasattr(self, "waiting"):
|
||||
# Nothing await'ed on the task so call the exception handler.
|
||||
core._exc_context["exception"] = value
|
||||
core._exc_context["future"] = self
|
||||
core.Loop.call_exception_handler(core._exc_context)
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 161a7288482200c884623ed3cb59dd91f53be91a
|
||||
Subproject commit 8d93ddeaf3548d5466cee0a392a4ee89f07ce2e5
|
@ -264,7 +264,7 @@ STATIC mp_obj_t fat_vfs_mkdir(mp_obj_t vfs_in, mp_obj_t path_o) {
|
||||
}
|
||||
STATIC MP_DEFINE_CONST_FUN_OBJ_2(fat_vfs_mkdir_obj, fat_vfs_mkdir);
|
||||
|
||||
/// Change current directory.
|
||||
// Change current directory.
|
||||
STATIC mp_obj_t fat_vfs_chdir(mp_obj_t vfs_in, mp_obj_t path_in) {
|
||||
mp_obj_fat_vfs_t *self = MP_OBJ_TO_PTR(vfs_in);
|
||||
const char *path;
|
||||
@ -280,7 +280,7 @@ STATIC mp_obj_t fat_vfs_chdir(mp_obj_t vfs_in, mp_obj_t path_in) {
|
||||
}
|
||||
STATIC MP_DEFINE_CONST_FUN_OBJ_2(fat_vfs_chdir_obj, fat_vfs_chdir);
|
||||
|
||||
/// Get the current directory.
|
||||
// Get the current directory.
|
||||
STATIC mp_obj_t fat_vfs_getcwd(mp_obj_t vfs_in) {
|
||||
mp_obj_fat_vfs_t *self = MP_OBJ_TO_PTR(vfs_in);
|
||||
char buf[MICROPY_ALLOC_PATH_MAX + 1];
|
||||
@ -292,8 +292,7 @@ STATIC mp_obj_t fat_vfs_getcwd(mp_obj_t vfs_in) {
|
||||
}
|
||||
STATIC MP_DEFINE_CONST_FUN_OBJ_1(fat_vfs_getcwd_obj, fat_vfs_getcwd);
|
||||
|
||||
/// \function stat(path)
|
||||
/// Get the status of a file or directory.
|
||||
// Get the status of a file or directory.
|
||||
STATIC mp_obj_t fat_vfs_stat(mp_obj_t vfs_in, mp_obj_t path_in) {
|
||||
mp_obj_fat_vfs_t *self = MP_OBJ_TO_PTR(vfs_in);
|
||||
const char *path = mp_obj_str_get_str(path_in);
|
||||
@ -475,10 +474,13 @@ STATIC const mp_vfs_proto_t fat_vfs_proto = {
|
||||
|
||||
const mp_obj_type_t mp_fat_vfs_type = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_VfsFat,
|
||||
.make_new = fat_vfs_make_new,
|
||||
.protocol = &fat_vfs_proto,
|
||||
.locals_dict = (mp_obj_dict_t *)&fat_vfs_locals_dict,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.protocol = &fat_vfs_proto,
|
||||
),
|
||||
|
||||
};
|
||||
|
||||
|
@ -244,13 +244,16 @@ STATIC const mp_stream_p_t vfs_fat_fileio_stream_p = {
|
||||
|
||||
const mp_obj_type_t mp_type_vfs_fat_fileio = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_FileIO,
|
||||
.print = file_obj_print,
|
||||
.make_new = file_obj_make_new,
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &vfs_fat_fileio_stream_p,
|
||||
.locals_dict = (mp_obj_dict_t *)&vfs_fat_rawfile_locals_dict,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &vfs_fat_fileio_stream_p,
|
||||
),
|
||||
};
|
||||
#endif
|
||||
|
||||
@ -264,13 +267,16 @@ STATIC const mp_stream_p_t vfs_fat_textio_stream_p = {
|
||||
|
||||
const mp_obj_type_t mp_type_vfs_fat_textio = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_TextIOWrapper,
|
||||
.print = file_obj_print,
|
||||
.make_new = file_obj_make_new,
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &vfs_fat_textio_stream_p,
|
||||
.locals_dict = (mp_obj_dict_t *)&vfs_fat_rawfile_locals_dict,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &vfs_fat_textio_stream_p,
|
||||
),
|
||||
};
|
||||
|
||||
// Factory function for I/O stream classes
|
||||
|
@ -484,12 +484,15 @@ STATIC const mp_vfs_proto_t MP_VFS_LFSx(proto) = {
|
||||
|
||||
const mp_obj_type_t MP_TYPE_VFS_LFSx = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
#if LFS_BUILD_VERSION == 1
|
||||
.name = MP_QSTR_VfsLfs1,
|
||||
#else
|
||||
.name = MP_QSTR_VfsLfs2,
|
||||
#endif
|
||||
.make_new = MP_VFS_LFSx(make_new),
|
||||
.protocol = &MP_VFS_LFSx(proto),
|
||||
.locals_dict = (mp_obj_dict_t *)&MP_VFS_LFSx(locals_dict),
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.protocol = &MP_VFS_LFSx(proto),
|
||||
),
|
||||
};
|
||||
|
@ -226,12 +226,15 @@ STATIC const mp_stream_p_t MP_VFS_LFSx(fileio_stream_p) = {
|
||||
|
||||
const mp_obj_type_t MP_TYPE_VFS_LFSx_(_fileio) = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_FileIO,
|
||||
.print = MP_VFS_LFSx(file_print),
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &MP_VFS_LFSx(fileio_stream_p),
|
||||
.locals_dict = (mp_obj_dict_t *)&MP_VFS_LFSx(file_locals_dict),
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &MP_VFS_LFSx(fileio_stream_p),
|
||||
),
|
||||
};
|
||||
#endif
|
||||
|
||||
@ -245,10 +248,13 @@ STATIC const mp_stream_p_t MP_VFS_LFSx(textio_stream_p) = {
|
||||
|
||||
const mp_obj_type_t MP_TYPE_VFS_LFSx_(_textio) = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_TextIOWrapper,
|
||||
.print = MP_VFS_LFSx(file_print),
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &MP_VFS_LFSx(textio_stream_p),
|
||||
.locals_dict = (mp_obj_dict_t *)&MP_VFS_LFSx(file_locals_dict),
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &MP_VFS_LFSx(textio_stream_p),
|
||||
),
|
||||
};
|
||||
|
@ -352,10 +352,13 @@ STATIC const mp_vfs_proto_t vfs_posix_proto = {
|
||||
|
||||
const mp_obj_type_t mp_type_vfs_posix = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_VfsPosix,
|
||||
.make_new = vfs_posix_make_new,
|
||||
.protocol = &vfs_posix_proto,
|
||||
.locals_dict = (mp_obj_dict_t *)&vfs_posix_locals_dict,
|
||||
.make_new = vfs_posix_make_new,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.protocol = &vfs_posix_proto,
|
||||
),
|
||||
};
|
||||
|
||||
#endif // MICROPY_VFS_POSIX
|
||||
|
@ -213,13 +213,16 @@ STATIC const mp_stream_p_t vfs_posix_fileio_stream_p = {
|
||||
|
||||
const mp_obj_type_t mp_type_vfs_posix_fileio = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_FileIO,
|
||||
.print = vfs_posix_file_print,
|
||||
.make_new = vfs_posix_file_make_new,
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &vfs_posix_fileio_stream_p,
|
||||
.locals_dict = (mp_obj_dict_t *)&vfs_posix_rawfile_locals_dict,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &vfs_posix_fileio_stream_p,
|
||||
),
|
||||
};
|
||||
#endif
|
||||
|
||||
@ -233,13 +236,16 @@ STATIC const mp_stream_p_t vfs_posix_textio_stream_p = {
|
||||
|
||||
const mp_obj_type_t mp_type_vfs_posix_textio = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_TextIOWrapper,
|
||||
.print = vfs_posix_file_print,
|
||||
.make_new = vfs_posix_file_make_new,
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &vfs_posix_textio_stream_p,
|
||||
.locals_dict = (mp_obj_dict_t *)&vfs_posix_rawfile_locals_dict,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &vfs_posix_textio_stream_p,
|
||||
),
|
||||
};
|
||||
|
||||
const mp_obj_vfs_posix_file_t mp_sys_stdin_obj = {{&mp_type_textio}, STDIN_FILENO};
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit df40a241841918d6c0a984d427e61ca831b7b431
|
||||
Subproject commit ad4f2d32d3a35b412bab7c6c0ba3b7a46d5da5aa
|
@ -1 +1 @@
|
||||
Subproject commit d2bdacf878a4bde3009370705b9b49eb1441428b
|
||||
Subproject commit e0fecb6c73f11c31cfc2a9c0e9ce9805b8fb1cf1
|
@ -1 +1 @@
|
||||
Subproject commit d68bb9e0e7a28d38d9f36627c35b6949595b2f7e
|
||||
Subproject commit c6ea5d17c8c7bd391b3977c0195cff60dddf3f25
|
@ -1 +1 @@
|
||||
Subproject commit 11bf02c3a850d390802f944a693ff4e0d531727f
|
||||
Subproject commit c31c0ef2da48bfed7da2188039b59251f02110ea
|
@ -1 +1 @@
|
||||
Subproject commit f376fcca8c829b1e68236edbef6b71cb57f7e42f
|
||||
Subproject commit 931b7de8daf3fa1e9cee0548b80de3ddbc20081f
|
@ -1 +1 @@
|
||||
Subproject commit 61e38631b557a51376edbd02501ca51311631597
|
||||
Subproject commit b96b0debef16c41c35a8579ccbbb1779ca1eaf0c
|
@ -1 +1 @@
|
||||
Subproject commit d8260f2fe2a8b3e874320483060756dce4c2a9ec
|
||||
Subproject commit 8132539c48397e01cabd8317f069e4bb8b3ab065
|
@ -1 +1 @@
|
||||
Subproject commit 06ec55ec5acc56ff98db8b4b203be3092cf44c94
|
||||
Subproject commit ea7bd9a8b14be7dfd09abb2d776170ee10ab5da7
|
@ -1 +1 @@
|
||||
Subproject commit 54cc3311b979dcd52bb870456d612f39e8bfd226
|
||||
Subproject commit 01ae093f1f73c152941cde9f4f850b163d278df2
|
@ -1 +1 @@
|
||||
Subproject commit a8e9975b3f06d454f8951254d96f99755b11d962
|
||||
Subproject commit b2f21e6e42e681b2da91bf95d586ac8e4ad8266b
|
@ -1 +1 @@
|
||||
Subproject commit 7193260344306337050a165bdee4f9d0de7bb8e9
|
||||
Subproject commit 6b5e5699d205d26d08a50580c6e3094c1d445b8b
|
@ -1 +1 @@
|
||||
Subproject commit 378616f160bbcbc85f0acd960b4eb181b9c2fd0b
|
||||
Subproject commit 4490961b28a129d2f6435c73d2bd65d2b042224c
|
@ -1 +1 @@
|
||||
Subproject commit c55425e17842cce3ec0b34489133436c3e1a3898
|
||||
Subproject commit 03f54421a050bbfda71e1c98986ddecc3862431a
|
@ -1 +1 @@
|
||||
Subproject commit f1841618d2690bb54dabd98fd8650af30bc2c9bf
|
||||
Subproject commit 9020acbab070d5842dcba83a5b7f7b7c86dc7414
|
@ -1 +1 @@
|
||||
Subproject commit 3c47a7323f81e961b06853814964d04db5b3817b
|
||||
Subproject commit 4ab8a0fc00795121d81f7e609bb7a03973725f10
|
@ -1 +1 @@
|
||||
Subproject commit 40d8a03b4569d566faa62fcb0f798178118f2954
|
||||
Subproject commit b014aa045d9014b86a4ae583f452c6b8282a61b9
|
@ -1 +1 @@
|
||||
Subproject commit a14da2e1ced1010a0da65f758199ff08eedd0bd5
|
||||
Subproject commit 88b8be84b5dce7660f58c02a63263f1d2ff0709f
|
@ -1 +1 @@
|
||||
Subproject commit ab4d30fd6bca02c73eb9b4ff82db0b2b0f403344
|
||||
Subproject commit 184f1b723fb811016063deccab9e81640e5c3e7f
|
@ -165,9 +165,14 @@ STATIC int parse_compile_execute(const void *source, mp_parse_input_kind_t input
|
||||
}
|
||||
if (result != NULL) {
|
||||
result->return_code = ret;
|
||||
#if CIRCUITPY_ALARM
|
||||
// Don't set the exception object if we exited for deep sleep.
|
||||
if (ret != 0 && ret != PYEXEC_DEEP_SLEEP) {
|
||||
#else
|
||||
if (ret != 0) {
|
||||
#endif
|
||||
mp_obj_t return_value = (mp_obj_t)nlr.ret_val;
|
||||
result->exception_type = mp_obj_get_type(return_value);
|
||||
result->exception = return_value;
|
||||
result->exception_line = -1;
|
||||
|
||||
if (mp_obj_is_exception_instance(return_value)) {
|
||||
@ -622,8 +627,8 @@ friendly_repl_reset:
|
||||
|
||||
// If the GC is locked at this point there is no way out except a reset,
|
||||
// so force the GC to be unlocked to help the user debug what went wrong.
|
||||
if (MP_STATE_MEM(gc_lock_depth) != 0) {
|
||||
MP_STATE_MEM(gc_lock_depth) = 0;
|
||||
if (MP_STATE_THREAD(gc_lock_depth) != 0) {
|
||||
MP_STATE_THREAD(gc_lock_depth) = 0;
|
||||
}
|
||||
|
||||
vstr_reset(&line);
|
||||
|
@ -35,7 +35,7 @@ typedef enum {
|
||||
|
||||
typedef struct {
|
||||
int return_code;
|
||||
const mp_obj_type_t *exception_type;
|
||||
mp_obj_t exception;
|
||||
int exception_line;
|
||||
} pyexec_result_t;
|
||||
|
||||
@ -47,9 +47,8 @@ extern pyexec_mode_kind_t pyexec_mode_kind;
|
||||
extern int pyexec_system_exit;
|
||||
|
||||
#define PYEXEC_FORCED_EXIT (0x100)
|
||||
#define PYEXEC_SWITCH_MODE (0x200)
|
||||
#define PYEXEC_EXCEPTION (0x400)
|
||||
#define PYEXEC_DEEP_SLEEP (0x800)
|
||||
#define PYEXEC_EXCEPTION (0x200)
|
||||
#define PYEXEC_DEEP_SLEEP (0x400)
|
||||
|
||||
int pyexec_raw_repl(void);
|
||||
int pyexec_friendly_repl(void);
|
||||
|
132
lib/utils/semihosting.c
Normal file
132
lib/utils/semihosting.c
Normal file
@ -0,0 +1,132 @@
|
||||
/*
|
||||
* This file is part of the MicroPython project, http://micropython.org/
|
||||
*
|
||||
* The MIT License (MIT)
|
||||
*
|
||||
* Copyright (c) 2018 Ayke van Laethem
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
* in the Software without restriction, including without limitation the rights
|
||||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
* copies of the Software, and to permit persons to whom the Software is
|
||||
* furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
* THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "semihosting.h"
|
||||
|
||||
// Resources:
|
||||
// http://embed.rs/articles/2016/semi-hosting-rust/
|
||||
// https://wiki.dlang.org/Minimal_semihosted_ARM_Cortex-M_%22Hello_World%22
|
||||
// https://github.com/arduino/OpenOCD/blob/master/src/target/arm_semihosting.c
|
||||
|
||||
#define SYS_OPEN 0x01
|
||||
#define SYS_WRITEC 0x03
|
||||
#define SYS_WRITE 0x05
|
||||
#define SYS_READC 0x07
|
||||
|
||||
// Constants:
|
||||
#define OPEN_MODE_READ (0) // mode "r"
|
||||
#define OPEN_MODE_WRITE (4) // mode "w"
|
||||
|
||||
#ifndef __thumb__
|
||||
#error Semihosting is only implemented for ARM microcontrollers.
|
||||
#endif
|
||||
|
||||
static int mp_semihosting_stdout;
|
||||
|
||||
static uint32_t mp_semihosting_call(uint32_t num, const void *arg) {
|
||||
// A semihosting call works as follows, similar to a SVCall:
|
||||
// * the call is invoked by a special breakpoint: 0xAB
|
||||
// * the command is placed in r0
|
||||
// * a pointer to the arguments is placed in r1
|
||||
// * the return value is placed in r0
|
||||
// Note that because it uses the breakpoint instruction, applications
|
||||
// will hang if they're not connected to a debugger. And they'll be
|
||||
// stuck in a breakpoint if semihosting is not specifically enabled in
|
||||
// the debugger.
|
||||
// Also note that semihosting is extremely slow (sometimes >100ms per
|
||||
// call).
|
||||
register uint32_t num_reg __asm__ ("r0") = num;
|
||||
register const void *args_reg __asm__ ("r1") = arg;
|
||||
__asm__ __volatile__ (
|
||||
"bkpt 0xAB\n" // invoke semihosting call
|
||||
: "+r" (num_reg) // call number and result
|
||||
: "r" (args_reg) // arguments
|
||||
: "memory"); // make sure args aren't optimized away
|
||||
return num_reg; // r0, which became the result
|
||||
}
|
||||
|
||||
static int mp_semihosting_open_console(uint32_t mode) {
|
||||
struct {
|
||||
char *name;
|
||||
uint32_t mode;
|
||||
uint32_t name_len;
|
||||
} args = {
|
||||
.name = ":tt", // magic path to console
|
||||
.mode = mode, // e.g. "r", "w" (see OPEN_MODE_* constants)
|
||||
.name_len = 3, // strlen(":tt")
|
||||
};
|
||||
return mp_semihosting_call(SYS_OPEN, &args);
|
||||
}
|
||||
|
||||
void mp_semihosting_init() {
|
||||
mp_semihosting_stdout = mp_semihosting_open_console(OPEN_MODE_WRITE);
|
||||
}
|
||||
|
||||
int mp_semihosting_rx_char() {
|
||||
return mp_semihosting_call(SYS_READC, NULL);
|
||||
}
|
||||
|
||||
static void mp_semihosting_tx_char(char c) {
|
||||
mp_semihosting_call(SYS_WRITEC, &c);
|
||||
}
|
||||
|
||||
uint32_t mp_semihosting_tx_strn(const char *str, size_t len) {
|
||||
if (len == 0) {
|
||||
return 0; // nothing to do
|
||||
}
|
||||
if (len == 1) {
|
||||
mp_semihosting_tx_char(*str); // maybe faster?
|
||||
return 0;
|
||||
}
|
||||
|
||||
struct {
|
||||
uint32_t fd;
|
||||
const char *str;
|
||||
uint32_t len;
|
||||
} args = {
|
||||
.fd = mp_semihosting_stdout,
|
||||
.str = str,
|
||||
.len = len,
|
||||
};
|
||||
return mp_semihosting_call(SYS_WRITE, &args);
|
||||
}
|
||||
|
||||
uint32_t mp_semihosting_tx_strn_cooked(const char *str, size_t len) {
|
||||
// Write chunks of data until (excluding) the first '\n' character,
|
||||
// insert a '\r' character, and then continue with the next chunk
|
||||
// (starting with '\n').
|
||||
// Doing byte-by-byte writes would be easier to implement but is far
|
||||
// too slow.
|
||||
size_t start = 0;
|
||||
for (size_t i = 0; i < len; i++) {
|
||||
if (str[i] == '\n') {
|
||||
mp_semihosting_tx_strn(str + start, i - start);
|
||||
mp_semihosting_tx_char('\r');
|
||||
start = i;
|
||||
}
|
||||
}
|
||||
return mp_semihosting_tx_strn(str + start, len - start);
|
||||
}
|
@ -129,13 +129,16 @@ STATIC const mp_stream_p_t stdio_obj_stream_p = {
|
||||
|
||||
STATIC const mp_obj_type_t stdio_obj_type = {
|
||||
{ &mp_type_type },
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.name = MP_QSTR_FileIO,
|
||||
// TODO .make_new?
|
||||
.print = stdio_obj_print,
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &stdio_obj_stream_p,
|
||||
.locals_dict = (mp_obj_dict_t *)&stdio_locals_dict,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &stdio_obj_stream_p,
|
||||
),
|
||||
};
|
||||
|
||||
const sys_stdio_obj_t mp_sys_stdin_obj = {{&stdio_obj_type}, .fd = STDIO_FD_IN};
|
||||
@ -166,11 +169,14 @@ STATIC const mp_stream_p_t stdio_buffer_obj_stream_p = {
|
||||
STATIC const mp_obj_type_t stdio_buffer_obj_type = {
|
||||
{ &mp_type_type },
|
||||
.name = MP_QSTR_FileIO,
|
||||
.flags = MP_TYPE_FLAG_EXTENDED,
|
||||
.print = stdio_obj_print,
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &stdio_buffer_obj_stream_p,
|
||||
.locals_dict = (mp_obj_dict_t *)&stdio_locals_dict,
|
||||
MP_TYPE_EXTENDED_FIELDS(
|
||||
.getiter = mp_identity_getiter,
|
||||
.iternext = mp_stream_unbuffered_iter,
|
||||
.protocol = &stdio_buffer_obj_stream_p,
|
||||
),
|
||||
};
|
||||
|
||||
STATIC const sys_stdio_obj_t stdio_buffer_obj = {{&stdio_buffer_obj_type}, .fd = 0}; // fd unused
|
||||
|
189
locale/ID.po
189
locale/ID.po
@ -54,6 +54,10 @@ msgstr " File \"%q\", baris %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr "output:\n"
|
||||
@ -90,10 +94,22 @@ msgstr "%q indeks di luar batas"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "indeks %q harus bilangan bulat, bukan %s"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr "daftar %q harus berupa daftar"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
@ -102,7 +118,11 @@ msgstr ""
|
||||
msgid "%q must be 1-255"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%q harus >= 0"
|
||||
|
||||
@ -118,10 +138,26 @@ msgstr "%q harus >= 1"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%q harus berupa tuple dengan panjang 2"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -364,6 +400,7 @@ msgstr ""
|
||||
msgid "All event channels in use"
|
||||
msgstr "Semua channel event sedang digunakan"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr ""
|
||||
@ -571,10 +608,6 @@ msgstr ""
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "Penyangga harus memiliki panjang setidaknya 1"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr "Buffer terlalu besar dan tidak dapat dialokasikan"
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -858,6 +891,10 @@ msgstr ""
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr "Potongan data harus mengikuti fmt chunk"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr "Data terlalu besar untuk paket advertisment"
|
||||
@ -959,7 +996,7 @@ msgstr "Diharapkan sebuah Alamat"
|
||||
msgid "Expected an alarm"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr "Diharapkan tuple dengan panjang %d, didapatkan %d"
|
||||
@ -1170,7 +1207,7 @@ msgstr "Kesalahan input/output"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
@ -1258,6 +1295,7 @@ msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1282,7 +1320,7 @@ msgstr "Bit per nilai tidak valid"
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Ukuran buffer tidak valid"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr "String byteorder tidak valid"
|
||||
|
||||
@ -1300,6 +1338,11 @@ msgstr "Jumlah kanal tidak valid"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "Arah tidak valid."
|
||||
@ -1312,7 +1355,7 @@ msgstr "File tidak valid"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "Ukuran potongan format tidak valid"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr ""
|
||||
|
||||
@ -1483,7 +1526,7 @@ msgstr ""
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr "Harus berupa subclass %q."
|
||||
|
||||
@ -1649,7 +1692,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1695,6 +1737,10 @@ msgstr ""
|
||||
"Hanya format Windows, mendukung BMP tidak dikompresi: ukuran header yang "
|
||||
"diberikan adalah %d"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1718,6 +1764,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr ""
|
||||
@ -1843,6 +1890,7 @@ msgstr ""
|
||||
"ideal. Jika ini tidak dapat dihindari, berikan allow_inefficient=True ke "
|
||||
"konstruktor"
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr "Pin harus berurutan"
|
||||
@ -2021,6 +2069,10 @@ msgstr "Kesalahan Init SPI"
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr "Kesalahan Inisialisasi ulang SPI"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr ""
|
||||
@ -2059,6 +2111,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2203,6 +2256,7 @@ msgstr "Terlalu banyak tampilan"
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2333,7 +2387,7 @@ msgstr "Kesalahan keamanan tidak dikenal: 0x%04x"
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr "Jumlah item pada RHS tidak cocok (diharapkan %d, didapatkan %d)."
|
||||
@ -2496,15 +2550,15 @@ msgstr "arg berisi urutan kosong"
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr "Argumen argsort harus berupa ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr ""
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr "argumen memiliki tipe yang salah"
|
||||
|
||||
@ -2521,8 +2575,7 @@ msgstr "argumen num/types tidak cocok"
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr "argumen harus berupa '%q' bukan '%q'"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr "argumen harus berupa ndarrays"
|
||||
|
||||
@ -2535,11 +2588,11 @@ msgstr ""
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr "diperlukan array/byte di sisi kanan"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr "berusaha mendapatkan argmin/argmax dari urutan kosong"
|
||||
|
||||
@ -2547,15 +2600,15 @@ msgstr "berusaha mendapatkan argmin/argmax dari urutan kosong"
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "atribut belum didukung"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr ""
|
||||
|
||||
@ -2579,6 +2632,10 @@ msgstr "typecode buruk"
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr ""
|
||||
@ -2620,7 +2677,7 @@ msgstr ""
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr ""
|
||||
|
||||
@ -2670,7 +2727,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr ""
|
||||
|
||||
@ -2773,6 +2830,10 @@ msgid ""
|
||||
"can't switch from manual field specification to automatic field numbering"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
@ -2869,19 +2930,19 @@ msgstr ""
|
||||
msgid "conversion to object"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr ""
|
||||
|
||||
@ -2889,7 +2950,7 @@ msgstr ""
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr ""
|
||||
|
||||
@ -2939,15 +3000,15 @@ msgstr ""
|
||||
msgid "dict update sequence has wrong length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr ""
|
||||
|
||||
@ -3074,7 +3135,7 @@ msgstr ""
|
||||
msgid "filesystem must provide mount method"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr ""
|
||||
|
||||
@ -3086,7 +3147,7 @@ msgstr ""
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3102,7 +3163,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3190,6 +3251,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "heap harus berupa sebuah list"
|
||||
@ -3226,7 +3291,7 @@ msgstr "lapisan (padding) tidak benar"
|
||||
msgid "index is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3268,7 +3333,7 @@ msgstr ""
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3301,15 +3366,15 @@ msgstr ""
|
||||
msgid "input must be square matrix"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3321,7 +3386,7 @@ msgstr ""
|
||||
msgid "integer required"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3496,7 +3561,7 @@ msgstr ""
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3513,11 +3578,15 @@ msgstr ""
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "modul tidak ditemukan"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr ""
|
||||
|
||||
@ -3751,16 +3820,24 @@ msgstr ""
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -3952,7 +4029,7 @@ msgstr ""
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4031,7 +4108,7 @@ msgstr ""
|
||||
msgid "soft reboot\n"
|
||||
msgstr "memulai ulang software(soft reboot)\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4178,11 +4255,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4345,7 +4422,7 @@ msgstr "wifi tidak diaktifkan"
|
||||
msgid "window must be <= interval"
|
||||
msgstr "jendela harus <= interval"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr "indeks sumbu salah"
|
||||
|
||||
@ -4353,12 +4430,11 @@ msgstr "indeks sumbu salah"
|
||||
msgid "wrong axis specified"
|
||||
msgstr "sumbu yang ditentukan salah"
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr "tipe input salah"
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr "jumlah argumen salah"
|
||||
|
||||
@ -4366,7 +4442,7 @@ msgstr "jumlah argumen salah"
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr ""
|
||||
|
||||
@ -4402,6 +4478,9 @@ msgstr "zi harus berjenis float"
|
||||
msgid "zi must be of shape (n_section, 2)"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Buffer too large and unable to allocate"
|
||||
#~ msgstr "Buffer terlalu besar dan tidak dapat dialokasikan"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "CircuitPython is in safe mode because you pressed the reset button during "
|
||||
#~ "boot. Press again to exit safe mode.\n"
|
||||
|
@ -87,10 +87,22 @@ msgstr ""
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
@ -99,7 +111,11 @@ msgstr ""
|
||||
msgid "%q must be 1-255"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr ""
|
||||
|
||||
@ -115,10 +131,26 @@ msgstr ""
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -361,6 +393,7 @@ msgstr ""
|
||||
msgid "All event channels in use"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr ""
|
||||
@ -566,10 +599,6 @@ msgstr ""
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -844,6 +873,10 @@ msgstr ""
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr ""
|
||||
@ -945,7 +978,7 @@ msgstr ""
|
||||
msgid "Expected an alarm"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr ""
|
||||
@ -1154,7 +1187,7 @@ msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
@ -1242,6 +1275,7 @@ msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1266,7 +1300,7 @@ msgstr ""
|
||||
msgid "Invalid buffer size"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr ""
|
||||
|
||||
@ -1284,6 +1318,11 @@ msgstr ""
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr ""
|
||||
@ -1296,7 +1335,7 @@ msgstr ""
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr ""
|
||||
|
||||
@ -1467,7 +1506,7 @@ msgstr ""
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr ""
|
||||
|
||||
@ -1633,7 +1672,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1676,6 +1714,10 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1697,6 +1739,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr ""
|
||||
@ -1817,6 +1860,7 @@ msgid ""
|
||||
"constructor"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr ""
|
||||
@ -1833,21 +1877,6 @@ msgstr ""
|
||||
msgid "Polygon needs at least 3 points"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseOut.c
|
||||
msgid ""
|
||||
"Port does not accept PWM carrier. Pass a pin, frequency and duty cycle "
|
||||
"instead"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
|
||||
#: ports/cxd56/common-hal/pulseio/PulseOut.c
|
||||
#: ports/nrf/common-hal/pulseio/PulseOut.c
|
||||
#: ports/stm/common-hal/pulseio/PulseOut.c
|
||||
msgid ""
|
||||
"Port does not accept pins or frequency. Construct and pass a PWMOut Carrier "
|
||||
"instead"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Prefix buffer must be on the heap"
|
||||
msgstr ""
|
||||
@ -1991,6 +2020,10 @@ msgstr ""
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr ""
|
||||
@ -2029,6 +2062,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2173,6 +2207,7 @@ msgstr ""
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2303,7 +2338,7 @@ msgstr ""
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr ""
|
||||
@ -2458,11 +2493,11 @@ msgstr ""
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr ""
|
||||
|
||||
@ -2483,8 +2518,7 @@ msgstr ""
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -2497,11 +2531,11 @@ msgstr ""
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr ""
|
||||
|
||||
@ -2509,15 +2543,15 @@ msgstr ""
|
||||
msgid "attributes not supported yet"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr ""
|
||||
|
||||
@ -2541,6 +2575,10 @@ msgstr ""
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr ""
|
||||
@ -2582,7 +2620,7 @@ msgstr ""
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr ""
|
||||
|
||||
@ -2632,7 +2670,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr ""
|
||||
|
||||
@ -2735,6 +2773,10 @@ msgid ""
|
||||
"can't switch from manual field specification to automatic field numbering"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
@ -2831,19 +2873,19 @@ msgstr ""
|
||||
msgid "conversion to object"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr ""
|
||||
|
||||
@ -2851,7 +2893,7 @@ msgstr ""
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr ""
|
||||
|
||||
@ -2901,15 +2943,15 @@ msgstr ""
|
||||
msgid "dict update sequence has wrong length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr ""
|
||||
|
||||
@ -3036,7 +3078,7 @@ msgstr ""
|
||||
msgid "filesystem must provide mount method"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr ""
|
||||
|
||||
@ -3048,7 +3090,7 @@ msgstr ""
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3064,7 +3106,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3152,6 +3194,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr ""
|
||||
@ -3188,7 +3234,7 @@ msgstr ""
|
||||
msgid "index is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3230,7 +3276,7 @@ msgstr ""
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3263,15 +3309,15 @@ msgstr ""
|
||||
msgid "input must be square matrix"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3283,7 +3329,7 @@ msgstr ""
|
||||
msgid "integer required"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3458,7 +3504,7 @@ msgstr ""
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3475,11 +3521,15 @@ msgstr ""
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr ""
|
||||
|
||||
@ -3712,16 +3762,24 @@ msgstr ""
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -3913,7 +3971,7 @@ msgstr ""
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3992,7 +4050,7 @@ msgstr ""
|
||||
msgid "soft reboot\n"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4139,11 +4197,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4306,7 +4364,7 @@ msgstr ""
|
||||
msgid "window must be <= interval"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr ""
|
||||
|
||||
@ -4314,12 +4372,11 @@ msgstr ""
|
||||
msgid "wrong axis specified"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr ""
|
||||
|
||||
@ -4327,7 +4384,7 @@ msgstr ""
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr ""
|
||||
|
||||
|
186
locale/cs.po
186
locale/cs.po
@ -50,6 +50,10 @@ msgstr " Soubor \"%q\", řádek %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " výstup:\n"
|
||||
@ -86,10 +90,22 @@ msgstr "Index %q je mimo rozsah"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "Indexy %q musí být celá čísla, nikoli %s"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr "Seznam %q musí být seznam"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
@ -98,7 +114,11 @@ msgstr ""
|
||||
msgid "%q must be 1-255"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%q musí být >= 0"
|
||||
|
||||
@ -114,10 +134,26 @@ msgstr "%q musí být > = 1"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%q musí být n-tice délky 2"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -360,6 +396,7 @@ msgstr ""
|
||||
msgid "All event channels in use"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr ""
|
||||
@ -565,10 +602,6 @@ msgstr ""
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -843,6 +876,10 @@ msgstr ""
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr ""
|
||||
@ -944,7 +981,7 @@ msgstr ""
|
||||
msgid "Expected an alarm"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr ""
|
||||
@ -1153,7 +1190,7 @@ msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
@ -1241,6 +1278,7 @@ msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1265,7 +1303,7 @@ msgstr ""
|
||||
msgid "Invalid buffer size"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr ""
|
||||
|
||||
@ -1283,6 +1321,11 @@ msgstr ""
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr ""
|
||||
@ -1295,7 +1338,7 @@ msgstr ""
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr ""
|
||||
|
||||
@ -1466,7 +1509,7 @@ msgstr ""
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr ""
|
||||
|
||||
@ -1632,7 +1675,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1675,6 +1717,10 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1696,6 +1742,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr ""
|
||||
@ -1816,6 +1863,7 @@ msgid ""
|
||||
"constructor"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr ""
|
||||
@ -1990,6 +2038,10 @@ msgstr ""
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr ""
|
||||
@ -2028,6 +2080,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2172,6 +2225,7 @@ msgstr ""
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2302,7 +2356,7 @@ msgstr ""
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr ""
|
||||
@ -2457,15 +2511,15 @@ msgstr ""
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr ""
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr ""
|
||||
|
||||
@ -2482,8 +2536,7 @@ msgstr ""
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -2496,11 +2549,11 @@ msgstr ""
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr ""
|
||||
|
||||
@ -2508,15 +2561,15 @@ msgstr ""
|
||||
msgid "attributes not supported yet"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr ""
|
||||
|
||||
@ -2540,6 +2593,10 @@ msgstr ""
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr ""
|
||||
@ -2581,7 +2638,7 @@ msgstr ""
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr ""
|
||||
|
||||
@ -2631,7 +2688,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr ""
|
||||
|
||||
@ -2734,6 +2791,10 @@ msgid ""
|
||||
"can't switch from manual field specification to automatic field numbering"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
@ -2830,19 +2891,19 @@ msgstr ""
|
||||
msgid "conversion to object"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr ""
|
||||
|
||||
@ -2850,7 +2911,7 @@ msgstr ""
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr ""
|
||||
|
||||
@ -2900,15 +2961,15 @@ msgstr ""
|
||||
msgid "dict update sequence has wrong length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr ""
|
||||
|
||||
@ -3035,7 +3096,7 @@ msgstr ""
|
||||
msgid "filesystem must provide mount method"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr ""
|
||||
|
||||
@ -3047,7 +3108,7 @@ msgstr ""
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3063,7 +3124,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3151,6 +3212,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr ""
|
||||
@ -3187,7 +3252,7 @@ msgstr ""
|
||||
msgid "index is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3229,7 +3294,7 @@ msgstr ""
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3262,15 +3327,15 @@ msgstr ""
|
||||
msgid "input must be square matrix"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3282,7 +3347,7 @@ msgstr ""
|
||||
msgid "integer required"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3457,7 +3522,7 @@ msgstr ""
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3474,11 +3539,15 @@ msgstr ""
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr ""
|
||||
|
||||
@ -3711,16 +3780,24 @@ msgstr ""
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -3912,7 +3989,7 @@ msgstr ""
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3991,7 +4068,7 @@ msgstr ""
|
||||
msgid "soft reboot\n"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4138,11 +4215,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4305,7 +4382,7 @@ msgstr ""
|
||||
msgid "window must be <= interval"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr ""
|
||||
|
||||
@ -4313,12 +4390,11 @@ msgstr ""
|
||||
msgid "wrong axis specified"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr ""
|
||||
|
||||
@ -4326,7 +4402,7 @@ msgstr ""
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr ""
|
||||
|
||||
|
242
locale/de_DE.po
242
locale/de_DE.po
@ -6,14 +6,14 @@ msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
|
||||
"PO-Revision-Date: 2021-03-16 00:47+0000\n"
|
||||
"Last-Translator: Daniel Glocker <mystboy666@gmail.com>\n"
|
||||
"PO-Revision-Date: 2021-06-19 20:18+0000\n"
|
||||
"Last-Translator: Zoltán Vörös <zvoros@gmail.com>\n"
|
||||
"Language: de_DE\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.5.2-dev\n"
|
||||
"X-Generator: Weblate 4.7\n"
|
||||
|
||||
#: main.c
|
||||
msgid ""
|
||||
@ -53,6 +53,10 @@ msgstr " Datei \"%q\", Zeile %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr " ist vom Type %q\n"
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " Ausgabe:\n"
|
||||
@ -91,19 +95,35 @@ msgstr "Der Index %q befindet sich außerhalb des Bereiches"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "%q Indizes müssen Integer sein, nicht %s"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr "%q Liste muss eine Liste sein"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
msgstr "%q muss 0-255 sein"
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 1-255"
|
||||
msgstr "%q muss 1-255 sein"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%q muss >= 0 sein"
|
||||
|
||||
@ -117,12 +137,28 @@ msgstr "%q muss >= 1 sein"
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr "%q muss None oder zwischen 1 und len(report_descriptor)-1 sein"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%q muss ein Tupel der Länge 2 sein"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -209,7 +245,7 @@ msgstr "'%s' erwartet {r0, r1, ...}"
|
||||
#: py/emitinlinextensa.c
|
||||
#, c-format
|
||||
msgid "'%s' integer %d isn't within range %d..%d"
|
||||
msgstr ""
|
||||
msgstr "'%s' Die ganze Zahl %d ist nicht im Bereich %d..%d"
|
||||
|
||||
#: py/emitinlinethumb.c
|
||||
#, c-format
|
||||
@ -366,6 +402,7 @@ msgstr ""
|
||||
msgid "All event channels in use"
|
||||
msgstr "Alle event Kanäle werden benutzt"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr "Alle state machines in verwendung"
|
||||
@ -537,7 +574,7 @@ msgstr "Buffer + Offset zu klein %d %d %d"
|
||||
|
||||
#: ports/raspberrypi/bindings/rp2pio/StateMachine.c
|
||||
msgid "Buffer elements must be 4 bytes long or less"
|
||||
msgstr ""
|
||||
msgstr "Puffer-Elemente müssen 4 Bytes lang oder kürzer sein"
|
||||
|
||||
#: shared-module/usb_hid/Device.c
|
||||
#, c-format
|
||||
@ -573,10 +610,6 @@ msgstr "Der Puffer muss ein vielfaches von 512 bytes sein"
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "Der Puffer muss eine Mindestenslänge von 1 haben"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr "Puffer zu groß und kann nicht reserviert werden"
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -629,11 +662,11 @@ msgstr "CCCD kann nicht auf lokales Merkmal eingestellt werden"
|
||||
#: shared-bindings/storage/__init__.c shared-bindings/usb_cdc/__init__.c
|
||||
#: shared-bindings/usb_hid/__init__.c shared-bindings/usb_midi/__init__.c
|
||||
msgid "Cannot change USB devices now"
|
||||
msgstr ""
|
||||
msgstr "Kann jetzt USB Geräte nicht laden"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Cannot create a new Adapter; use _bleio.adapter;"
|
||||
msgstr ""
|
||||
msgstr "Kann keinen neuen Adapter erstellen; benutze _bleio.adapter;"
|
||||
|
||||
#: shared-bindings/displayio/Bitmap.c
|
||||
#: shared-bindings/memorymonitor/AllocationSize.c
|
||||
@ -855,6 +888,10 @@ msgstr "Data 0 Pin muss Byte aligned sein."
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr "Dem fmt Block muss ein Datenblock folgen"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr "Zu vielen Daten für das advertisement packet"
|
||||
@ -908,7 +945,7 @@ msgstr "EXTINT Kanal ist schon in Benutzung"
|
||||
#: shared-module/synthio/MidiTrack.c
|
||||
#, c-format
|
||||
msgid "Error in MIDI stream at position %d"
|
||||
msgstr ""
|
||||
msgstr "Fehler in MIDI Datenstrom um Position %d"
|
||||
|
||||
#: extmod/modure.c
|
||||
msgid "Error in regex"
|
||||
@ -956,7 +993,7 @@ msgstr "Erwartet eine Adresse"
|
||||
msgid "Expected an alarm"
|
||||
msgstr "Alarm erwartet"
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr "Habe ein Tupel der Länge %d erwartet aber %d erhalten"
|
||||
@ -1042,7 +1079,7 @@ msgstr "Interner Flash konnte nicht geschrieben werden."
|
||||
|
||||
#: supervisor/shared/safe_mode.c
|
||||
msgid "Fatal error."
|
||||
msgstr ""
|
||||
msgstr "Fataler Fehler."
|
||||
|
||||
#: py/moduerrno.c
|
||||
msgid "File exists"
|
||||
@ -1170,8 +1207,8 @@ msgstr "Eingabe-/Ausgabefehler"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgstr "Instruktion %d springt auf Pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
@ -1186,7 +1223,7 @@ msgstr ""
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d uses extra pin"
|
||||
msgstr ""
|
||||
msgstr "Instruktion %d benötigt extra Pin"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
@ -1225,7 +1262,7 @@ msgstr "Ungültiger %q Pin"
|
||||
#: ports/stm/common-hal/busio/UART.c ports/stm/common-hal/canio/CAN.c
|
||||
#: ports/stm/common-hal/sdioio/SDCard.c
|
||||
msgid "Invalid %q pin selection"
|
||||
msgstr ""
|
||||
msgstr "Ungültige %q Pin-Auswahl"
|
||||
|
||||
#: ports/stm/common-hal/analogio/AnalogIn.c
|
||||
msgid "Invalid ADC Unit value"
|
||||
@ -1233,11 +1270,11 @@ msgstr "Ungültiger ADC-Einheitenwert"
|
||||
|
||||
#: ports/esp32s2/common-hal/wifi/Radio.c
|
||||
msgid "Invalid AuthMode"
|
||||
msgstr ""
|
||||
msgstr "Ungültiges AuthMode"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
msgid "Invalid BLE parameter"
|
||||
msgstr ""
|
||||
msgstr "Ungültiges BLE Parameter"
|
||||
|
||||
#: shared-module/displayio/OnDiskBitmap.c
|
||||
msgid "Invalid BMP file"
|
||||
@ -1254,10 +1291,11 @@ msgstr "Ungültiger DAC-Pin angegeben"
|
||||
|
||||
#: shared-bindings/synthio/__init__.c
|
||||
msgid "Invalid MIDI file"
|
||||
msgstr ""
|
||||
msgstr "Ungültige MIDI Datei"
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1282,7 +1320,7 @@ msgstr "Ungültige Bits pro Wert"
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Ungültige Puffergröße"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr "Ungültige Byteorder String"
|
||||
|
||||
@ -1300,6 +1338,11 @@ msgstr "Ungültige Anzahl von Kanälen"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "Ungültige Richtung."
|
||||
@ -1312,7 +1355,7 @@ msgstr "Ungültige Datei"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "Ungültige format chunk size"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr "Ungültige Frequenz"
|
||||
|
||||
@ -1381,15 +1424,15 @@ msgstr "Ungültiger security_mode"
|
||||
|
||||
#: ports/esp32s2/bindings/espidf/__init__.c ports/esp32s2/esp_error.c
|
||||
msgid "Invalid size"
|
||||
msgstr ""
|
||||
msgstr "Ungültige Größe"
|
||||
|
||||
#: ports/esp32s2/common-hal/ssl/SSLContext.c
|
||||
msgid "Invalid socket for TLS"
|
||||
msgstr ""
|
||||
msgstr "Ungültiges Socket für TLS"
|
||||
|
||||
#: ports/esp32s2/bindings/espidf/__init__.c ports/esp32s2/esp_error.c
|
||||
msgid "Invalid state"
|
||||
msgstr ""
|
||||
msgstr "Ungültiger Zustand"
|
||||
|
||||
#: shared-bindings/audiomixer/Mixer.c
|
||||
msgid "Invalid voice"
|
||||
@ -1426,7 +1469,7 @@ msgstr "Layer muss eine Group- oder TileGrid-Unterklasse sein."
|
||||
|
||||
#: ports/esp32s2/bindings/espidf/__init__.c ports/esp32s2/esp_error.c
|
||||
msgid "MAC address was invalid"
|
||||
msgstr ""
|
||||
msgstr "MAC Adresse war ungültig"
|
||||
|
||||
#: shared-module/bitbangio/SPI.c
|
||||
msgid "MISO pin init failed."
|
||||
@ -1443,7 +1486,7 @@ msgstr "Maximaler x-Wert beim Spiegeln ist %d"
|
||||
|
||||
#: shared-bindings/canio/Message.c
|
||||
msgid "Messages limited to 8 bytes"
|
||||
msgstr ""
|
||||
msgstr "Meldungen auf 8 Bytes limitiert"
|
||||
|
||||
#: shared-bindings/audiobusio/PDMIn.c
|
||||
msgid "Microphone startup delay must be in range 0.0 to 1.0"
|
||||
@ -1457,7 +1500,7 @@ msgstr "Fehlender MISO- oder MOSI-Pin"
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Missing first_in_pin. Instruction %d reads pin(s)"
|
||||
msgstr ""
|
||||
msgstr "Fehlender first_in_pin. Instruktion %d liest Pin(s)"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
@ -1477,14 +1520,14 @@ msgstr ""
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Missing first_out_pin. Instruction %d writes pin(s)"
|
||||
msgstr ""
|
||||
msgstr "Fehlender first_out_pin. Instruktion %d schreibt Pin(s)"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
msgstr "Fehlender first_set_pin. Instruktion %d setzt Pin(s)"
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr "Muss eine %q Unterklasse sein."
|
||||
|
||||
@ -1503,7 +1546,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/nvm/ByteArray.c
|
||||
msgid "NVS Error"
|
||||
msgstr ""
|
||||
msgstr "NVS Fehler"
|
||||
|
||||
#: py/qstr.c
|
||||
msgid "Name too long"
|
||||
@ -1650,7 +1693,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1697,6 +1739,10 @@ msgstr ""
|
||||
"Nur Windows-Format, unkomprimiertes BMP unterstützt: die gegebene Header-"
|
||||
"Größe ist %d"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1720,6 +1766,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr ""
|
||||
@ -1843,6 +1890,7 @@ msgstr ""
|
||||
"Bytes verbraucht. Wenn dies nicht vermieden werden kann, übergeben Sie "
|
||||
"allow_inefficient = True an den Konstruktor"
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr ""
|
||||
@ -2019,6 +2067,10 @@ msgstr "SPI-Init-Fehler"
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr "SPI-Neuinitialisierungsfehler"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr ""
|
||||
@ -2057,6 +2109,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2204,6 +2257,7 @@ msgstr "Zu viele displays"
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2334,7 +2388,7 @@ msgstr "Unbekannter Sicherheitsfehler: 0x%04x"
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr ""
|
||||
@ -2502,15 +2556,15 @@ msgstr "arg ist eine leere Sequenz"
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr "Das Argument argsort muss ein ndarray sein"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr ""
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr "Argument hat falschen Typ"
|
||||
|
||||
@ -2527,8 +2581,7 @@ msgstr "Anzahl/Typen der Argumente passen nicht"
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr "Argument sollte '%q' sein, nicht '%q'"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr "Argumente müssen ndarrays sein"
|
||||
|
||||
@ -2541,11 +2594,11 @@ msgstr ""
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr "Array/Bytes auf der rechten Seite erforderlich"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr "Sie haben versucht argmin/argmax von einer leeren Sequenz zu bekommen"
|
||||
|
||||
@ -2553,15 +2606,15 @@ msgstr "Sie haben versucht argmin/argmax von einer leeren Sequenz zu bekommen"
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "Attribute werden noch nicht unterstützt"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr ""
|
||||
|
||||
@ -2585,6 +2638,10 @@ msgstr "Falscher Typcode"
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr "Der binäre Operator %q ist nicht implementiert"
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr ""
|
||||
@ -2626,7 +2683,7 @@ msgstr ""
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr "Tasten müssen digitalio.DigitalInOut sein"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr "Byteorder ist kein String"
|
||||
|
||||
@ -2678,7 +2735,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr "kann %q nicht zu %q konvertieren"
|
||||
|
||||
@ -2787,6 +2844,10 @@ msgstr ""
|
||||
"kann nicht von der manuellen Feldspezifikation zur automatischen "
|
||||
"Feldnummerierung wechseln"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
@ -2885,19 +2946,19 @@ msgstr "constant muss ein integer sein"
|
||||
msgid "conversion to object"
|
||||
msgstr "Umwandlung zu Objekt"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr "Convolve-Argumente müssen lineare Arrays sein"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr "Convolve-Argumente müssen ndarrays sein"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr "Convolve Argumente dürfen nicht leer sein"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr "Vandermonde-Matrix konnte nicht invertiert werden"
|
||||
|
||||
@ -2905,7 +2966,7 @@ msgstr "Vandermonde-Matrix konnte nicht invertiert werden"
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr ""
|
||||
|
||||
@ -2957,15 +3018,15 @@ msgstr "destination_length muss ein int >= 0 sein"
|
||||
msgid "dict update sequence has wrong length"
|
||||
msgstr "Die Wörterbuch-Aktualisierungssequenz hat eine falsche Länge"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr "diff Argument muss ein ndarray sein"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr ""
|
||||
|
||||
@ -3092,7 +3153,7 @@ 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/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr ""
|
||||
|
||||
@ -3104,7 +3165,7 @@ msgstr ""
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr "Das erste Argument muss ein Ndarray sein"
|
||||
|
||||
@ -3120,7 +3181,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr "Die Abflachungsreihenfolge muss entweder \"C\" oder \"F\" sein"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr "Das Flip-Argument muss ein Ndarray sein"
|
||||
|
||||
@ -3210,6 +3271,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr "graphic muss 2048 Byte lang sein"
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "heap muss eine Liste sein"
|
||||
@ -3246,7 +3311,7 @@ msgstr "padding ist inkorrekt"
|
||||
msgid "index is out of bounds"
|
||||
msgstr "Index ist außerhalb der Grenzen"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3288,7 +3353,7 @@ msgstr "Die Länge des Eingabearrays muss eine Potenz von 2 sein"
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr "Eingabedaten müssen iterierbar sein"
|
||||
|
||||
@ -3321,15 +3386,15 @@ msgstr ""
|
||||
msgid "input must be square matrix"
|
||||
msgstr "Die Eingabe muss eine quadratische Matrix sein"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr "Die Eingabe muss Tupel, Liste, Bereich oder Ndarray sein"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr "Eingabevektoren müssen gleich lang sein"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3341,7 +3406,7 @@ msgstr "int() arg 2 muss >= 2 und <= 36 sein"
|
||||
msgid "integer required"
|
||||
msgstr "integer erforderlich"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3522,7 +3587,7 @@ msgstr ""
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3539,11 +3604,15 @@ msgstr "Speicherzuweisung fehlgeschlagen, der Heap ist gesperrt"
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "Modul nicht gefunden"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr "mehr Freiheitsgrade als Datenpunkte"
|
||||
|
||||
@ -3778,16 +3847,24 @@ msgstr ""
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr "Operanden konnten nicht zusammen gesendet werden"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr "Die Operation ist für ndarrays nicht implementiert"
|
||||
|
||||
@ -3981,7 +4058,7 @@ msgstr "rgb_pins[%d] dupliziert eine andere Pinbelegung"
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr "rgb_pins [%d] befindet sich nicht am selben Port wie clock"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4062,7 +4139,7 @@ msgstr "small int Überlauf"
|
||||
msgid "soft reboot\n"
|
||||
msgstr "weicher reboot\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr "sortierungs Argument muss ein ndarray sein"
|
||||
|
||||
@ -4210,11 +4287,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr "zu viele Werte zum Auspacken (erwartet %d)"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4381,7 +4458,7 @@ msgstr ""
|
||||
msgid "window must be <= interval"
|
||||
msgstr "Fenster muss <= Intervall sein"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr ""
|
||||
|
||||
@ -4389,12 +4466,11 @@ msgstr ""
|
||||
msgid "wrong axis specified"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr "falscher Eingabetyp"
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr "falsche Anzahl an Argumenten"
|
||||
|
||||
@ -4402,7 +4478,7 @@ msgstr "falsche Anzahl an Argumenten"
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr "falsche Anzahl zu entpackender Werte"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr "Falscher Ausgabetyp"
|
||||
|
||||
@ -4438,6 +4514,12 @@ msgstr ""
|
||||
msgid "zi must be of shape (n_section, 2)"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Instruction %d jumps on pin"
|
||||
#~ msgstr "Instruktion %d springt auf Pin"
|
||||
|
||||
#~ msgid "Buffer too large and unable to allocate"
|
||||
#~ msgstr "Puffer zu groß und kann nicht reserviert werden"
|
||||
|
||||
#~ msgid "wrong operand type"
|
||||
#~ msgstr "falscher Operandentyp"
|
||||
|
||||
|
186
locale/el.po
186
locale/el.po
@ -47,6 +47,10 @@ msgstr ""
|
||||
msgid " is of type %q\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr ""
|
||||
@ -83,10 +87,22 @@ msgstr ""
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
@ -95,7 +111,11 @@ msgstr ""
|
||||
msgid "%q must be 1-255"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr ""
|
||||
|
||||
@ -111,10 +131,26 @@ msgstr ""
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -357,6 +393,7 @@ msgstr ""
|
||||
msgid "All event channels in use"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr ""
|
||||
@ -562,10 +599,6 @@ msgstr ""
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -840,6 +873,10 @@ msgstr ""
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr ""
|
||||
@ -941,7 +978,7 @@ msgstr ""
|
||||
msgid "Expected an alarm"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr ""
|
||||
@ -1150,7 +1187,7 @@ msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
@ -1238,6 +1275,7 @@ msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1262,7 +1300,7 @@ msgstr ""
|
||||
msgid "Invalid buffer size"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr ""
|
||||
|
||||
@ -1280,6 +1318,11 @@ msgstr ""
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr ""
|
||||
@ -1292,7 +1335,7 @@ msgstr ""
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr ""
|
||||
|
||||
@ -1463,7 +1506,7 @@ msgstr ""
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr ""
|
||||
|
||||
@ -1629,7 +1672,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1672,6 +1714,10 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1693,6 +1739,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr ""
|
||||
@ -1813,6 +1860,7 @@ msgid ""
|
||||
"constructor"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr ""
|
||||
@ -1987,6 +2035,10 @@ msgstr ""
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr ""
|
||||
@ -2025,6 +2077,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2169,6 +2222,7 @@ msgstr ""
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2299,7 +2353,7 @@ msgstr ""
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr ""
|
||||
@ -2454,15 +2508,15 @@ msgstr ""
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr ""
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr ""
|
||||
|
||||
@ -2479,8 +2533,7 @@ msgstr ""
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -2493,11 +2546,11 @@ msgstr ""
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr ""
|
||||
|
||||
@ -2505,15 +2558,15 @@ msgstr ""
|
||||
msgid "attributes not supported yet"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr ""
|
||||
|
||||
@ -2537,6 +2590,10 @@ msgstr ""
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr ""
|
||||
@ -2578,7 +2635,7 @@ msgstr ""
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr ""
|
||||
|
||||
@ -2628,7 +2685,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr ""
|
||||
|
||||
@ -2731,6 +2788,10 @@ msgid ""
|
||||
"can't switch from manual field specification to automatic field numbering"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
@ -2827,19 +2888,19 @@ msgstr ""
|
||||
msgid "conversion to object"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr ""
|
||||
|
||||
@ -2847,7 +2908,7 @@ msgstr ""
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr ""
|
||||
|
||||
@ -2897,15 +2958,15 @@ msgstr ""
|
||||
msgid "dict update sequence has wrong length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr ""
|
||||
|
||||
@ -3032,7 +3093,7 @@ msgstr ""
|
||||
msgid "filesystem must provide mount method"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr ""
|
||||
|
||||
@ -3044,7 +3105,7 @@ msgstr ""
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3060,7 +3121,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3148,6 +3209,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr ""
|
||||
@ -3184,7 +3249,7 @@ msgstr ""
|
||||
msgid "index is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3226,7 +3291,7 @@ msgstr ""
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3259,15 +3324,15 @@ msgstr ""
|
||||
msgid "input must be square matrix"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3279,7 +3344,7 @@ msgstr ""
|
||||
msgid "integer required"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3454,7 +3519,7 @@ msgstr ""
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3471,11 +3536,15 @@ msgstr ""
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr ""
|
||||
|
||||
@ -3708,16 +3777,24 @@ msgstr ""
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -3909,7 +3986,7 @@ msgstr ""
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3988,7 +4065,7 @@ msgstr ""
|
||||
msgid "soft reboot\n"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4135,11 +4212,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4302,7 +4379,7 @@ msgstr ""
|
||||
msgid "window must be <= interval"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr ""
|
||||
|
||||
@ -4310,12 +4387,11 @@ msgstr ""
|
||||
msgid "wrong axis specified"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr ""
|
||||
|
||||
@ -4323,7 +4399,7 @@ msgstr ""
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr ""
|
||||
|
||||
|
194
locale/en_GB.po
194
locale/en_GB.po
@ -55,6 +55,10 @@ msgstr " File \"%q\", line %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr " is of type %q\n"
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " output:\n"
|
||||
@ -92,10 +96,22 @@ msgstr "%q index out of range"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr "%q list must be a list"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
@ -104,7 +120,11 @@ msgstr ""
|
||||
msgid "%q must be 1-255"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%q must be >= 0"
|
||||
|
||||
@ -120,10 +140,26 @@ msgstr "%q must be >= 1"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%q must be a tuple of length 2"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -366,6 +402,7 @@ msgstr "All channels in use"
|
||||
msgid "All event channels in use"
|
||||
msgstr "All event channels in use"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr "All state machines in use"
|
||||
@ -573,10 +610,6 @@ msgstr "Buffer must be a multiple of 512 bytes"
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "Buffer must be at least length 1"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr "Buffer too large and unable to allocate"
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -853,6 +886,10 @@ msgstr "Data 0 pin must be byte aligned."
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr "Data chunk must follow fmt chunk"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr "Data too large for advertisement packet"
|
||||
@ -954,7 +991,7 @@ msgstr "Expected an address"
|
||||
msgid "Expected an alarm"
|
||||
msgstr "Expected an alarm"
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr "Expected tuple of length %d, got %d"
|
||||
@ -1165,8 +1202,8 @@ msgstr "Input/output error"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgstr "Instruction %d jumps on pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
@ -1253,6 +1290,7 @@ msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1277,7 +1315,7 @@ msgstr "Invalid bits per value"
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Invalid buffer size"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr "Invalid byteorder string"
|
||||
|
||||
@ -1295,6 +1333,11 @@ msgstr "Invalid channel count"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "Invalid direction."
|
||||
@ -1307,7 +1350,7 @@ msgstr "Invalid file"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "Invalid format chunk size"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr "Invalid frequency"
|
||||
|
||||
@ -1478,7 +1521,7 @@ msgstr "Missing first_out_pin. Instruction %d writes pin(s)"
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr "Must be a %q subclass."
|
||||
|
||||
@ -1644,7 +1687,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr "Not a valid IP string"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1689,6 +1731,10 @@ msgid ""
|
||||
msgstr ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1712,6 +1758,7 @@ msgstr "Only one TouchAlarm can be set in deep sleep."
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr "Only one alarm.time alarm can be set."
|
||||
@ -1837,6 +1884,7 @@ msgstr ""
|
||||
"bytes. If this cannot be avoided, pass allow_inefficient=True to the "
|
||||
"constructor"
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr "Pins must be sequential"
|
||||
@ -2015,6 +2063,10 @@ msgstr "SPI init error"
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr "SPI reinitialisation error"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr "SPI peripheral in use"
|
||||
@ -2053,6 +2105,7 @@ msgstr "Side set pin count must be between 1 and 5"
|
||||
msgid "Size not supported"
|
||||
msgstr "Size not supported"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2197,6 +2250,7 @@ msgstr "Too many displays"
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2327,7 +2381,7 @@ msgstr "Unknown security error: 0x%04x"
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
@ -2489,15 +2543,15 @@ msgstr "arg is an empty sequence"
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr "argsort argument must be an ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr "argsort is not implemented for flattened arrays"
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr "argument has wrong type"
|
||||
|
||||
@ -2514,8 +2568,7 @@ msgstr "argument num/types mismatch"
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr "argument should be a '%q' not a '%q'"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr "arguments must be ndarrays"
|
||||
|
||||
@ -2528,11 +2581,11 @@ msgstr "array and index length must be equal"
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr "array/bytes required on right side"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr "attempt to get argmin/argmax of an empty sequence"
|
||||
|
||||
@ -2540,15 +2593,15 @@ msgstr "attempt to get argmin/argmax of an empty sequence"
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "attributes not supported yet"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr "axis is out of bounds"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr "axis must be None, or an integer"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr "axis too long"
|
||||
|
||||
@ -2572,6 +2625,10 @@ msgstr "bad typecode"
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr "binary op %q not implemented"
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr "bits must be in range 5 to 9"
|
||||
@ -2613,7 +2670,7 @@ msgstr "Buffer too small for requested bytes"
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr "Buttons must be digitalio.DigitalInOut"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr "Byteorder is not a string"
|
||||
|
||||
@ -2663,7 +2720,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr "Can't convert %q to %q"
|
||||
|
||||
@ -2768,6 +2825,10 @@ msgid ""
|
||||
msgstr ""
|
||||
"can't switch from manual field specification to automatic field numbering"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr "can't cast output with casting rule"
|
||||
@ -2864,19 +2925,19 @@ msgstr "constant must be an integer"
|
||||
msgid "conversion to object"
|
||||
msgstr "conversion to object"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr "convolve arguments must be linear arrays"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr "convolve arguments must be ndarrays"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr "convolve arguments must not be empty"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr "could not invert Vandermonde matrix"
|
||||
|
||||
@ -2884,7 +2945,7 @@ msgstr "could not invert Vandermonde matrix"
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr "couldn't determine SD card version"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr "cross is defined for 1D arrays of length 3"
|
||||
|
||||
@ -2935,15 +2996,15 @@ msgstr "destination_length must be an int >= 0"
|
||||
msgid "dict update sequence has wrong length"
|
||||
msgstr "dict update sequence has wrong length"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr "diff argument must be an ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr "differentiation order out of range"
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr "dimensions do not match"
|
||||
|
||||
@ -3070,7 +3131,7 @@ msgstr "file must be a file opened in byte mode"
|
||||
msgid "filesystem must provide mount method"
|
||||
msgstr "filesystem must provide mount method"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr "first argument must be a callable"
|
||||
|
||||
@ -3082,7 +3143,7 @@ msgstr "first argument must be a function"
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr "first argument must be a tuple of ndarrays"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr "first argument must be an ndarray"
|
||||
|
||||
@ -3098,7 +3159,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr "flattening order must be either 'C', or 'F'"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr "flip argument must be an ndarray"
|
||||
|
||||
@ -3186,6 +3247,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr "graphic must be 2048 bytes long"
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "heap must be a list"
|
||||
@ -3222,7 +3287,7 @@ msgstr "incorrect padding"
|
||||
msgid "index is out of bounds"
|
||||
msgstr "index is out of bounds"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3264,7 +3329,7 @@ msgstr "input array length must be power of 2"
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr "input arrays are not compatible"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr "input data must be an iterable"
|
||||
|
||||
@ -3297,15 +3362,15 @@ msgstr "input must be one-dimensional"
|
||||
msgid "input must be square matrix"
|
||||
msgstr "input must be square matrix"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr "input must be tuple, list, range, or ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr "input vectors must be of equal length"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr "inputs are not iterable"
|
||||
|
||||
@ -3317,7 +3382,7 @@ msgstr "int() arg 2 must be >= 2 and <= 36"
|
||||
msgid "integer required"
|
||||
msgstr "integer required"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3493,7 +3558,7 @@ msgstr "maxiter must be > 0"
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr "maxiter should be > 0"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr "median argument must be an ndarray"
|
||||
|
||||
@ -3510,11 +3575,15 @@ msgstr "memory allocation failed, heap is locked"
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr "memoryview: length is not a multiple of itemsize"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "module not found"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr "more degrees of freedom than data points"
|
||||
|
||||
@ -3747,16 +3816,24 @@ msgstr "only slices with step=1 (aka None) are supported"
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr "operands could not be broadcast together"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr "operation is implemented for 1D Boolean arrays only"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr "operation is not implemented on ndarrays"
|
||||
|
||||
@ -3948,7 +4025,7 @@ msgstr "rgb_pins[%d] duplicates another pin assignment"
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr "rgb_pins[%d] is not on the same port as clock"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr "roll argument must be an ndarray"
|
||||
|
||||
@ -4029,7 +4106,7 @@ msgstr "small int overflow"
|
||||
msgid "soft reboot\n"
|
||||
msgstr "soft reboot\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr "sort argument must be an ndarray"
|
||||
|
||||
@ -4176,11 +4253,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr "too many values to unpack (expected %d)"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr "trapz is defined for 1D arrays of equal length"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4343,7 +4420,7 @@ msgstr "WiFi is not enabled"
|
||||
msgid "window must be <= interval"
|
||||
msgstr "window must be <= interval"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr "wrong axis index"
|
||||
|
||||
@ -4351,12 +4428,11 @@ msgstr "wrong axis index"
|
||||
msgid "wrong axis specified"
|
||||
msgstr "wrong axis specified"
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr "wrong input type"
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr "wrong number of arguments"
|
||||
|
||||
@ -4364,7 +4440,7 @@ msgstr "wrong number of arguments"
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr "wrong number of values to unpack"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr "wrong output type"
|
||||
|
||||
@ -4400,6 +4476,12 @@ msgstr "zi must be of float type"
|
||||
msgid "zi must be of shape (n_section, 2)"
|
||||
msgstr "zi must be of shape (n_section, 2)"
|
||||
|
||||
#~ msgid "Instruction %d jumps on pin"
|
||||
#~ msgstr "Instruction %d jumps on pin"
|
||||
|
||||
#~ msgid "Buffer too large and unable to allocate"
|
||||
#~ msgstr "Buffer too large and unable to allocate"
|
||||
|
||||
#~ msgid "interp is defined for 1D arrays of equal length"
|
||||
#~ msgstr "interp is defined for 1D arrays of equal length"
|
||||
|
||||
|
207
locale/es.po
207
locale/es.po
@ -8,7 +8,7 @@ msgstr ""
|
||||
"Project-Id-Version: \n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
|
||||
"PO-Revision-Date: 2021-05-30 13:32+0000\n"
|
||||
"PO-Revision-Date: 2021-06-27 12:33+0000\n"
|
||||
"Last-Translator: Alvaro Figueroa <alvaro@greencore.co.cr>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: es\n"
|
||||
@ -16,7 +16,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.7-dev\n"
|
||||
"X-Generator: Weblate 4.7.1-dev\n"
|
||||
|
||||
#: main.c
|
||||
msgid ""
|
||||
@ -56,6 +56,10 @@ msgstr " Archivo \"%q\", línea %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr " es de tipo %q\n"
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr " no encontrado.\n"
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " salida:\n"
|
||||
@ -94,10 +98,22 @@ msgstr "%q indice fuera de rango"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "%q indices deben ser enteros, no %s"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr "el tamaño de %q debe ser %q"
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr "%q lista debe ser una lista"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr "%q debe ser <= %d"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr "%q debe ser %d-%d"
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr "%q debe ser de 0-255"
|
||||
@ -106,7 +122,11 @@ msgstr "%q debe ser de 0-255"
|
||||
msgid "%q must be 1-255"
|
||||
msgstr "%q debe estar entre 1-255"
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr "%q debe ser >= %d"
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%q debe ser >= 0"
|
||||
|
||||
@ -122,10 +142,26 @@ msgstr "%q debe ser >= 1"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr "%q debe ser None o entre 1 y len(report_descriptor)-1"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr "%q debe ser una cadena"
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%q debe ser una tupla de longitud 2"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr "%q debe estar entre %d y %d"
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr "%q debe ser de tipo %q"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -368,6 +404,7 @@ msgstr "Todos los canales esta en uso"
|
||||
msgid "All event channels in use"
|
||||
msgstr "Todos los canales de eventos estan siendo usados"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr "Todas las máquinas de estado en uso"
|
||||
@ -578,10 +615,6 @@ msgstr "Búfer deber ser un múltiplo de 512 bytes"
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "Buffer debe ser de longitud 1 como minimo"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr "Buffer demasiado grande e incapaz de asignar"
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -862,6 +895,10 @@ msgstr "El pin de datos 0 debe ser alineado a byte."
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr "Trozo de datos debe seguir fmt chunk"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr "Datos sin capacidad de anuncio dirigido"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr "Data es muy grande para el paquete de anuncio"
|
||||
@ -964,7 +1001,7 @@ msgstr "Se esperaba una dirección"
|
||||
msgid "Expected an alarm"
|
||||
msgstr "Un objecto alarm era esperado"
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr "Se esperaba un tuple de %d, se obtuvo %d"
|
||||
@ -1183,8 +1220,8 @@ msgstr "error Input/output"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgstr "La instruction %d salta en pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
@ -1271,6 +1308,7 @@ msgstr "Archivo MIDI inválido"
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1295,7 +1333,7 @@ msgstr "Inválido bits por valor"
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Tamaño de buffer inválido"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr "Cadena de byteorder inválida"
|
||||
|
||||
@ -1313,6 +1351,11 @@ msgstr "Cuenta de canales inválida"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr "data_count inválido %d"
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr "Inválidos los data_pins[%d]"
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "Dirección inválida."
|
||||
@ -1325,7 +1368,7 @@ msgstr "Archivo inválido"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "Formato de fragmento de formato no válido"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr "Frecuencia inválida"
|
||||
|
||||
@ -1500,7 +1543,7 @@ msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
"first_set_pin no encontrado. La instrucción %d configura el/los pin(es)"
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr "Debe de ser una subclase de %q."
|
||||
|
||||
@ -1666,7 +1709,6 @@ msgstr "El firmware del sistema Nordic no tiene memoria"
|
||||
msgid "Not a valid IP string"
|
||||
msgstr "No es una cadena de IP válida"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1713,6 +1755,10 @@ msgstr ""
|
||||
"Solo formato de Windows, sin comprimir BMP soportado: tamaño de encabezado "
|
||||
"dado es %d"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr "Solo se puede dirigir a los anuncios conectables"
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr "Este hardware solo tiene capacidad para detección de borde"
|
||||
@ -1736,6 +1782,7 @@ msgstr "Solamente una TouchAlarm puede ser configurada durante deep sleep."
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr "Solamente una alarm.time puede ser configurada."
|
||||
@ -1861,6 +1908,7 @@ msgstr ""
|
||||
"ideales. Si esto no se puede evitar, pase allow_inefficient=True al "
|
||||
"constructor"
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr "Los pines deben estar en orden secuencial"
|
||||
@ -2043,6 +2091,10 @@ msgstr "Error de inicio de SPI"
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr "Error de reinicialización de SPI"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr "Configuración de SPI fallida"
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr "Periférico SPI en uso"
|
||||
@ -2081,6 +2133,7 @@ msgstr "El conteo de pines de Side set debe estar entre 1 y 5"
|
||||
msgid "Size not supported"
|
||||
msgstr "Sin capacidades para el tamaño"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr "Memoria de sueño no disponible"
|
||||
@ -2235,6 +2288,7 @@ msgstr "Muchos displays"
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr "La cantidad total de datos es mas grande que %q"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr "Alarmas táctiles no disponibles"
|
||||
@ -2365,7 +2419,7 @@ msgstr "Error de seguridad desconocido: 0x%04x"
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr "Error desconocido en el firmware sistema: %04x"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr "Número incomparable de elementos en RHS (%d esperado,%d obtenido)."
|
||||
@ -2533,15 +2587,15 @@ msgstr "argumento es una secuencia vacía"
|
||||
msgid "arg must be user-type"
|
||||
msgstr "arg debe ser tipo-user"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr "El argumento para argsort debe ser un ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr "El argot no está implementado para arrays aplanados"
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr "el argumento tiene un tipo erroneo"
|
||||
|
||||
@ -2558,8 +2612,7 @@ 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/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr "argumentos deben ser ndarrays"
|
||||
|
||||
@ -2572,11 +2625,11 @@ msgstr "Longitud del array e índice tienen que ser iguales"
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr "array/bytes requeridos en el lado derecho"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr "Intendo de obteber (arg)min/(arg)max de secuencia vacía"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr "intento de obtener argmin/argmax de una secuencia vacía"
|
||||
|
||||
@ -2584,15 +2637,15 @@ msgstr "intento de obtener argmin/argmax de una secuencia vacía"
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "atributos aún no soportados"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr "Eje está fuera de sus límites"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr "Eje tiene que ser None, o un entero"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr "Eje demasiado largo"
|
||||
|
||||
@ -2616,6 +2669,10 @@ msgstr "typecode erroneo"
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr "operacion binaria %q no implementada"
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr "los bits deben ser 32 o menos"
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr "los bits deben estar en el rango de 5 a 9"
|
||||
@ -2657,7 +2714,7 @@ msgstr "búfer muy pequeño para los bytes solicitados"
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr "los botones necesitan ser digitalio.DigitalInOut"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr "byteorder no es una cadena"
|
||||
|
||||
@ -2707,7 +2764,7 @@ msgid "can't cancel self"
|
||||
msgstr "no se puede cancelar a si mismo"
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr "no puede convertir %q a %q"
|
||||
|
||||
@ -2815,6 +2872,10 @@ msgstr ""
|
||||
"no se puede cambiar de especificación de campo manual a numeración "
|
||||
"automática de campos"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr "No se puede realizar cast de la salida sin una regla de cast"
|
||||
@ -2911,19 +2972,19 @@ msgstr "constant debe ser un entero"
|
||||
msgid "conversion to object"
|
||||
msgstr "conversión a objeto"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr "los argumentos para convolve deben ser arreglos lineares"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr "los argumentos para convolve deben ser ndarrays"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr "los argumentos para convolve no deben estar vacíos"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr "no se pudo invertir la matriz de Vandermonde"
|
||||
|
||||
@ -2931,7 +2992,7 @@ msgstr "no se pudo invertir la matriz de Vandermonde"
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr "no se pudo determinar la versión de la tarjeta SD"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr "Cruce está definido para un array 1D de longitud 3"
|
||||
|
||||
@ -2983,15 +3044,15 @@ 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/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr "El argumento diff debe ser un ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr "Orden de diferenciación fuera de rango"
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr "las dimensiones no concuerdan"
|
||||
|
||||
@ -3118,7 +3179,7 @@ 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/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr "se debe poder llamar al primer argumento"
|
||||
|
||||
@ -3130,7 +3191,7 @@ msgstr "el primer argumento debe ser una función"
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr "Primer argumento tiene que ser una tupla de ndarrays"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr "el primer argumento debe ser ndarray"
|
||||
|
||||
@ -3140,13 +3201,13 @@ msgstr "primer argumento para super() debe ser de tipo"
|
||||
|
||||
#: extmod/ulab/code/scipy/linalg/linalg.c
|
||||
msgid "first two arguments must be ndarrays"
|
||||
msgstr ""
|
||||
msgstr "los primeros dos argumentos deben ser ndarrays"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr "el orden de aplanamiento debe ser 'C' o 'F'"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr "el argumento invertido debe ser un ndarray"
|
||||
|
||||
@ -3234,6 +3295,10 @@ msgstr "el generador genero StopIteration"
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr "graphic debe ser 2048 bytes de largo"
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr "el hash es final"
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "heap debe ser una lista"
|
||||
@ -3270,7 +3335,7 @@ msgstr "relleno (padding) incorrecto"
|
||||
msgid "index is out of bounds"
|
||||
msgstr "el índice está fuera de límites"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3312,7 +3377,7 @@ msgstr "el tamaño del arreglo de entrada debe ser potencia de 2"
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr "Arrays de entrada no son compactibles"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr "los datos de entrada deben ser iterables"
|
||||
|
||||
@ -3345,15 +3410,15 @@ msgstr "Entrada tiene que ser unidimensional"
|
||||
msgid "input must be square matrix"
|
||||
msgstr "la entrada debe ser una matriz cuadrada"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr "la entrada debe ser una tupla, lista, rango o ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr "los vectores de entrada deben ser de igual tamaño"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr "Entradas no son iterables"
|
||||
|
||||
@ -3365,9 +3430,9 @@ msgstr "int() arg 2 debe ser >= 2 y <= 36"
|
||||
msgid "integer required"
|
||||
msgstr "Entero requerido"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
msgstr "interp está definido para iterables 1D de igual tamaño"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
#, c-format
|
||||
@ -3543,7 +3608,7 @@ msgstr "maxiter tiene que ser > 0"
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr "maxiter debe ser > 0"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr "argumento median debe ser una matriz ndarray"
|
||||
|
||||
@ -3561,11 +3626,15 @@ msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
"memoryview: la longitud no es un múltiplo del tamaño del elemento (itemsize)"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "módulo no encontrado"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr "más grados de libertad que los puntos de datos"
|
||||
|
||||
@ -3801,16 +3870,24 @@ msgstr "solo se admiten segmentos con step=1 (alias None)"
|
||||
msgid "opcode"
|
||||
msgstr "código de operación"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr "los operandos no se pueden transmitir juntos"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr "operación solo está implementada para arrays booleanos de 1D"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr "la operación no está implementada para ndarrays"
|
||||
|
||||
@ -4002,7 +4079,7 @@ msgstr "rgb_pins[%d] duplica otra asignación de pin"
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr "rgb_pins[%d] no está en el mismo puerto que el reloj"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr "Argumento enrolado tiene que ser un ndarray"
|
||||
|
||||
@ -4083,7 +4160,7 @@ msgstr "pequeño int desbordamiento"
|
||||
msgid "soft reboot\n"
|
||||
msgstr "reinicio suave\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr "argumento de ordenado debe ser un ndarray"
|
||||
|
||||
@ -4231,13 +4308,13 @@ msgstr "muchas llamadas locales para método nativo"
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr "demasiados valores para descomprimir (%d esperado)"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr "trapz está definido para arreglos 1D de igual tamaño"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
msgstr "trapz está definido para iterables 1D"
|
||||
|
||||
#: py/obj.c
|
||||
msgid "tuple/list has wrong length"
|
||||
@ -4398,7 +4475,7 @@ msgstr "wifi no esta habilitado"
|
||||
msgid "window must be <= interval"
|
||||
msgstr "la ventana debe ser <= intervalo"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr "indice de eje erróneo"
|
||||
|
||||
@ -4406,12 +4483,11 @@ msgstr "indice de eje erróneo"
|
||||
msgid "wrong axis specified"
|
||||
msgstr "eje especificado erróneo"
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr "tipo de entrada incorrecta"
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr "numero erroneo de argumentos"
|
||||
|
||||
@ -4419,7 +4495,7 @@ msgstr "numero erroneo de argumentos"
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr "numero erroneo de valores a descomprimir"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr "tipo de salida incorrecta"
|
||||
|
||||
@ -4455,6 +4531,15 @@ msgstr "zi debe ser de tipo flotante"
|
||||
msgid "zi must be of shape (n_section, 2)"
|
||||
msgstr "zi debe ser una forma (n_section,2)"
|
||||
|
||||
#~ msgid "Instruction %d jumps on pin"
|
||||
#~ msgstr "La instruction %d salta en pin"
|
||||
|
||||
#~ msgid "%q must store bytes"
|
||||
#~ msgstr "%q debe almacenar bytes"
|
||||
|
||||
#~ msgid "Buffer too large and unable to allocate"
|
||||
#~ msgstr "Buffer demasiado grande e incapaz de asignar"
|
||||
|
||||
#~ msgid "interp is defined for 1D arrays of equal length"
|
||||
#~ msgstr "interp está definido para arreglos de 1D del mismo tamaño"
|
||||
|
||||
|
186
locale/fil.po
186
locale/fil.po
@ -46,6 +46,10 @@ msgstr " File \"%q\", line %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " output:\n"
|
||||
@ -82,10 +86,22 @@ msgstr "%q indeks wala sa sakop"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "%q indeks ay dapat integers, hindi %s"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
@ -94,7 +110,11 @@ msgstr ""
|
||||
msgid "%q must be 1-255"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr ""
|
||||
|
||||
@ -111,10 +131,26 @@ msgstr "aarehas na haba dapat ang buffer slices"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -360,6 +396,7 @@ msgstr ""
|
||||
msgid "All event channels in use"
|
||||
msgstr "Lahat ng event channels ginagamit"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr ""
|
||||
@ -567,10 +604,6 @@ msgstr ""
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "Buffer dapat ay hindi baba sa 1 na haba"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -849,6 +882,10 @@ msgstr ""
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr "Dapat sunurin ng Data chunk ang fmt chunk"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
#, fuzzy
|
||||
msgid "Data too large for advertisement packet"
|
||||
@ -954,7 +991,7 @@ msgstr ""
|
||||
msgid "Expected an alarm"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr ""
|
||||
@ -1165,7 +1202,7 @@ msgstr "May mali sa Input/Output"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
@ -1253,6 +1290,7 @@ msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1277,7 +1315,7 @@ msgstr ""
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Mali ang buffer size"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr ""
|
||||
|
||||
@ -1295,6 +1333,11 @@ msgstr "Maling bilang ng channel"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "Mali ang direksyon."
|
||||
@ -1307,7 +1350,7 @@ msgstr "Mali ang file"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "Mali ang format ng chunk size"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr ""
|
||||
|
||||
@ -1478,7 +1521,7 @@ msgstr ""
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr ""
|
||||
|
||||
@ -1644,7 +1687,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
#, fuzzy
|
||||
@ -1690,6 +1732,10 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1711,6 +1757,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr ""
|
||||
@ -1832,6 +1879,7 @@ msgid ""
|
||||
"constructor"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr ""
|
||||
@ -2007,6 +2055,10 @@ msgstr ""
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr ""
|
||||
@ -2045,6 +2097,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2189,6 +2242,7 @@ msgstr ""
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2320,7 +2374,7 @@ msgstr ""
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr ""
|
||||
@ -2482,15 +2536,15 @@ msgstr "arg ay walang laman na sequence"
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr ""
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr "may maling type ang argument"
|
||||
|
||||
@ -2507,8 +2561,7 @@ 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/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -2521,11 +2574,11 @@ msgstr ""
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr "array/bytes kinakailangan sa kanang bahagi"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr ""
|
||||
|
||||
@ -2533,15 +2586,15 @@ msgstr ""
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "attributes hindi sinusuportahan"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr ""
|
||||
|
||||
@ -2565,6 +2618,10 @@ msgstr "masamang typecode"
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr "binary op %q hindi implemented"
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr ""
|
||||
@ -2607,7 +2664,7 @@ msgstr ""
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr ""
|
||||
|
||||
@ -2658,7 +2715,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr ""
|
||||
|
||||
@ -2766,6 +2823,10 @@ msgstr ""
|
||||
"hindi mapalitan ang manual field specification sa awtomatikong field "
|
||||
"numbering"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
@ -2862,19 +2923,19 @@ msgstr "constant ay dapat na integer"
|
||||
msgid "conversion to object"
|
||||
msgstr "kombersyon to object"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr ""
|
||||
|
||||
@ -2882,7 +2943,7 @@ msgstr ""
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr ""
|
||||
|
||||
@ -2936,15 +2997,15 @@ 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/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr ""
|
||||
|
||||
@ -3072,7 +3133,7 @@ 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/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr ""
|
||||
|
||||
@ -3084,7 +3145,7 @@ msgstr ""
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3100,7 +3161,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3189,6 +3250,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr "graphic ay dapat 2048 bytes ang haba"
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "list dapat ang heap"
|
||||
@ -3225,7 +3290,7 @@ msgstr "mali ang padding"
|
||||
msgid "index is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3267,7 +3332,7 @@ msgstr ""
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3300,15 +3365,15 @@ msgstr ""
|
||||
msgid "input must be square matrix"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3320,7 +3385,7 @@ msgstr "int() arg 2 ay dapat >=2 at <= 36"
|
||||
msgid "integer required"
|
||||
msgstr "kailangan ng int"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3499,7 +3564,7 @@ msgstr ""
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3516,11 +3581,15 @@ msgstr "abigo ang paglalaan ng memorya, ang heap ay naka-lock"
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "module hindi nakita"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr ""
|
||||
|
||||
@ -3754,16 +3823,24 @@ msgstr "ang mga slices lamang na may hakbang = 1 (aka None) ang sinusuportahan"
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -3956,7 +4033,7 @@ msgstr ""
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4037,7 +4114,7 @@ msgstr "small int overflow"
|
||||
msgid "soft reboot\n"
|
||||
msgstr "malambot na reboot\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4186,11 +4263,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr "masyadong maraming values para i-unpact (umaasa ng %d)"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4353,7 +4430,7 @@ msgstr ""
|
||||
msgid "window must be <= interval"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr ""
|
||||
|
||||
@ -4361,12 +4438,11 @@ msgstr ""
|
||||
msgid "wrong axis specified"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr "mali ang bilang ng argumento"
|
||||
|
||||
@ -4374,7 +4450,7 @@ msgstr "mali ang bilang ng argumento"
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr "maling number ng value na i-unpack"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr ""
|
||||
|
||||
|
206
locale/fr.po
206
locale/fr.po
@ -8,14 +8,14 @@ msgstr ""
|
||||
"Project-Id-Version: 0.1\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
|
||||
"PO-Revision-Date: 2021-05-21 17:47+0000\n"
|
||||
"Last-Translator: Hugo Dahl <hugo@code-jedi.com>\n"
|
||||
"PO-Revision-Date: 2021-07-27 14:33+0000\n"
|
||||
"Last-Translator: Noel Gaetan <gaetan.noel@viacesi.fr>\n"
|
||||
"Language: fr\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=utf-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 4.7-dev\n"
|
||||
"X-Generator: Weblate 4.7.2-dev\n"
|
||||
|
||||
#: main.c
|
||||
msgid ""
|
||||
@ -56,6 +56,10 @@ msgstr " Fichier \"%q\", ligne %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr " est de type %q\n"
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr " pas trouvé\n"
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " sortie :\n"
|
||||
@ -94,19 +98,35 @@ msgstr "index %q hors de portée"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "les indices %q doivent être des entiers, pas %s"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr "La longueur de %q doit être de %q"
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr "La liste %q doit être une liste"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
msgstr "%q doit être compris entre 0 et 255"
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 1-255"
|
||||
msgstr "%q doit être compris entre 1 et 255"
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%q doit être >= 0"
|
||||
|
||||
@ -122,10 +142,26 @@ msgstr "%q doit être >= 1"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr "%q doit être une chaîne de caractères"
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%q doit être un tuple de longueur 2"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr "%q doit être une puissance de 2"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr "%q doit être de type %q"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -226,7 +262,7 @@ msgstr "l'objet %s ne supporte pas l'assignation d'éléments"
|
||||
#: py/obj.c
|
||||
#, c-format
|
||||
msgid "'%s' object doesn't support item deletion"
|
||||
msgstr ""
|
||||
msgstr "L’objet '%s' ne prend pas en charge la suppression d’éléments"
|
||||
|
||||
#: py/runtime.c
|
||||
msgid "'%s' object has no attribute '%q'"
|
||||
@ -368,6 +404,7 @@ msgstr "Tout les canaux sont utilisés"
|
||||
msgid "All event channels in use"
|
||||
msgstr "Tous les canaux d'événements sont utilisés"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr "Tous les automates finis sont utilisés"
|
||||
@ -579,10 +616,6 @@ msgstr "La mémoire tampon doit être un multiple de 512"
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "Le tampon doit être de longueur au moins 1"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr "Tampon trop volumineux et impossible à allouer"
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -639,7 +672,7 @@ msgstr "Impossible de définir CCCD sur une caractéristique locale"
|
||||
#: shared-bindings/storage/__init__.c shared-bindings/usb_cdc/__init__.c
|
||||
#: shared-bindings/usb_hid/__init__.c shared-bindings/usb_midi/__init__.c
|
||||
msgid "Cannot change USB devices now"
|
||||
msgstr ""
|
||||
msgstr "Impossible de changer de périphérique USB maintenant"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Cannot create a new Adapter; use _bleio.adapter;"
|
||||
@ -868,6 +901,10 @@ msgstr "La broche Data 0 doit être aligné sur l'octet."
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr "Un bloc de données doit suivre un bloc fmt"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr "Données trop volumineuses pour un paquet d'avertissement"
|
||||
@ -970,7 +1007,7 @@ msgstr "Un Address est attendu"
|
||||
msgid "Expected an alarm"
|
||||
msgstr "Une alarme était prévue"
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr "Tuple de longueur %d attendu, obtenu %d"
|
||||
@ -1189,8 +1226,8 @@ msgstr "Erreur d'entrée/sortie"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgstr "Instruction %d saute sur la broche"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
@ -1281,6 +1318,7 @@ msgstr "Fichier MIDI invalide"
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1305,7 +1343,7 @@ msgstr "Bits par valeur invalides"
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Longueur de tampon invalide"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr "Chaîne byteorder non valide"
|
||||
|
||||
@ -1323,6 +1361,11 @@ msgstr "Nombre de canaux invalide"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr "data_count invalide %d"
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "Direction invalide."
|
||||
@ -1335,7 +1378,7 @@ msgstr "Fichier invalide"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "Taille de bloc de formatage invalide"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr "Fréquence non valide"
|
||||
|
||||
@ -1508,7 +1551,7 @@ msgstr "first_out_pin manquant. Instruction %d écrit un/des broche(s)"
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr "first_set_pin manquant. L'instruction %d règle la/les broche(s)"
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr "Doit être une sous-classe de %q."
|
||||
|
||||
@ -1674,7 +1717,6 @@ msgstr "Logiciel systême Nordic hors de mémoire"
|
||||
msgid "Not a valid IP string"
|
||||
msgstr "Chaîne IP non valide"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1721,6 +1763,10 @@ msgstr ""
|
||||
"Seulement le format BMP Windows, non compressé est supporté : la taille de "
|
||||
"l'entête fournie est %d"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1744,6 +1790,7 @@ msgstr "Seulement une TouchAlarm peu être réglée en someil profond."
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr "Seulement une alarme alarm.time peut être réglée."
|
||||
@ -1871,6 +1918,7 @@ msgstr ""
|
||||
"octets idéal. Si cela ne peut pas être évité, transmettez allow_inefficient "
|
||||
"= True au constructeur"
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr "Les broches doivent être séquentielles"
|
||||
@ -2052,6 +2100,10 @@ msgstr "Erreur d'initialisation SPI"
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr "Erreur de réinitialisation SPI"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr "Périphérique SPI utilisé"
|
||||
@ -2090,6 +2142,7 @@ msgstr "Nombre de broches Side configurées doit être entre 1 et 5"
|
||||
msgid "Size not supported"
|
||||
msgstr "Taille n'est pas supportée"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2235,6 +2288,7 @@ msgstr "Trop d'affichages"
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr "Quantité de données à écrire est plus que %q"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2368,7 +2422,7 @@ msgstr "Erreur de sécurité inconnue : 0x%04x"
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr "Faute inconnue du logiciel systême : %04x"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr ""
|
||||
@ -2535,15 +2589,15 @@ msgstr "l'argument est une séquence vide"
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr "Le paramêtre argsort doit être un ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr "argsort n'est pas mis en œuvre pour les matrices aplatis"
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr "l'argument est d'un mauvais type"
|
||||
|
||||
@ -2560,8 +2614,7 @@ msgstr "Nombre/types de paramètres ne correspondent pas"
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr "le paramètre devrait être un(e) '%q', pas '%q'"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr "les paramètres doivent être des ndarrays"
|
||||
|
||||
@ -2574,11 +2627,11 @@ msgstr "la taille de la matrice et de l'index doivent être égaux"
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr "matrice/octets requis à la droite"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr "tentative d’obtenir (arg)min/(arg)max d'une séquence vide"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr "tenter d'obtenir argmin / argmax d'une séquence vide"
|
||||
|
||||
@ -2586,15 +2639,15 @@ msgstr "tenter d'obtenir argmin / argmax d'une séquence vide"
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "attribut pas encore supporté"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr "axis est hors limites"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr "axis doit être None ou un entier"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr "axis trop long"
|
||||
|
||||
@ -2618,6 +2671,10 @@ msgstr "mauvais code type"
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr "opération binaire '%q' non implémentée"
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr "les bits doivent être compris entre 5 et 9"
|
||||
@ -2659,7 +2716,7 @@ msgstr "tampon trop petit pour le nombre d'octets demandé"
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr "les boutons doivent être des digitalio.DigitalInOut"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr "byteorder n'est pas une chaîne"
|
||||
|
||||
@ -2710,7 +2767,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr "impossible de convertir %q en %q"
|
||||
|
||||
@ -2819,6 +2876,10 @@ msgstr ""
|
||||
"impossible de passer d'une spécification manuelle des champs à une "
|
||||
"énumération auto"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr "output ne peut être projeté sans règle de projection"
|
||||
@ -2916,19 +2977,19 @@ msgstr "constante doit être un entier"
|
||||
msgid "conversion to object"
|
||||
msgstr "conversion en objet"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr "les paramêtres pour convolve doivent être des matrices linéaires"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr "les paramêtres pour convolve doivent être des ndarrays"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr "les arguments convolve ne doivent pas être vides"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr "n'a pas pu inverser la matrice Vandermonde"
|
||||
|
||||
@ -2936,7 +2997,7 @@ msgstr "n'a pas pu inverser la matrice Vandermonde"
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr "impossible de déterminer la version de la carte SD"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr "cross est défini pour les matrices 1D de longueur 3"
|
||||
|
||||
@ -2989,15 +3050,15 @@ 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/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr "le paramêtre diff doit être un ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr "differentiation order hors de portée"
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr "les dimensions ne correspondent pas"
|
||||
|
||||
@ -3126,7 +3187,7 @@ 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/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr "le premier argument doit être un appelable"
|
||||
|
||||
@ -3138,7 +3199,7 @@ msgstr "le premier argument doit être une fonction"
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr "le premier paramêtre doit être un tuple de ndarrays"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr "le premier paramêtre doit être un ndarray"
|
||||
|
||||
@ -3154,7 +3215,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr "l'ordre d'aplatissement doit être «C» ou «F»"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr "le paramêtre flip doit être un ndarray"
|
||||
|
||||
@ -3242,6 +3303,10 @@ msgstr "générateur (generator) à surlevé StopIteration"
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr "graphic doit être long de 2048 octets"
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "le tas doit être une liste"
|
||||
@ -3278,7 +3343,7 @@ msgstr "espacement incorrect"
|
||||
msgid "index is out of bounds"
|
||||
msgstr "l'index est hors limites"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3321,7 +3386,7 @@ msgstr "longueur de la matrice d'entrée doit être une puissance de 2"
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr "les matrices d'entrée ne sont pas compatibles"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr "les données d'entrée doivent être un itérable"
|
||||
|
||||
@ -3354,15 +3419,15 @@ msgstr "l'entrée doit être uni-dimensionelle"
|
||||
msgid "input must be square matrix"
|
||||
msgstr "l'entrée doit être une matrice carrée"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr "l'entrée 'input' doit être tuple, list, range ou ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr "les vecteurs d'entrée doivent être de longueur égale"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr "les entrées ne sont pas itérables"
|
||||
|
||||
@ -3374,7 +3439,7 @@ msgstr "l'argument 2 de int() doit être >=2 et <=36"
|
||||
msgid "integer required"
|
||||
msgstr "entier requis"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3553,7 +3618,7 @@ msgstr "maxiter doit être > 0"
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr "maxiter devrait être > 0"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr "Paramètre pour median doit être un ndarray"
|
||||
|
||||
@ -3570,11 +3635,15 @@ msgstr "l'allocation de mémoire a échoué, le tas est vérrouillé"
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr "memoryview: length n'est pas un multiple de itemsize"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "module introuvable"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr "plus de degrés de liberté que de points de données"
|
||||
|
||||
@ -3809,16 +3878,24 @@ msgstr "seules les tranches avec 'step=1' (cad None) sont supportées"
|
||||
msgid "opcode"
|
||||
msgstr "opcode"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr "les opérandes ne pouvaient pas être diffusés ensemble"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr "opération implémentée que pour les matrices 1D booléennes"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr "l'opération n'est pas implémentée pour les ndarrays"
|
||||
|
||||
@ -4013,7 +4090,7 @@ msgstr "rgb_pins[%d] duplique une autre affectation de broches"
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr "rgb_pins[%d] n'est pas sur le même port que l'horloge"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr "paramêtre roll doit être un ndarray"
|
||||
|
||||
@ -4094,7 +4171,7 @@ msgstr "dépassement de capacité d'un entier court"
|
||||
msgid "soft reboot\n"
|
||||
msgstr "redémarrage logiciel\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr "le paramètre de «sort» doit être un ndarray"
|
||||
|
||||
@ -4242,11 +4319,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr "trop de valeur à dégrouper (%d attendues)"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr "trapz n'est défini que pour des matrices 1D de longueur égales"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4409,7 +4486,7 @@ msgstr "wifi n’est pas activé"
|
||||
msgid "window must be <= interval"
|
||||
msgstr "la fenêtre (window) doit être <= intervalle (interval)"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr "index d'axe incorrecte"
|
||||
|
||||
@ -4417,12 +4494,11 @@ msgstr "index d'axe incorrecte"
|
||||
msgid "wrong axis specified"
|
||||
msgstr "axe incorrecte spécifiée"
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr "type d'entrée incorrect"
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr "mauvais nombres d'arguments"
|
||||
|
||||
@ -4430,7 +4506,7 @@ msgstr "mauvais nombres d'arguments"
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr "mauvais nombre de valeurs à dégrouper"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr "type de sortie incorrect"
|
||||
|
||||
@ -4466,6 +4542,12 @@ msgstr "zi doit être de type float"
|
||||
msgid "zi must be of shape (n_section, 2)"
|
||||
msgstr "zi doit être de forme (n_section, 2)"
|
||||
|
||||
#~ msgid "Instruction %d jumps on pin"
|
||||
#~ msgstr "Instruction %d saute sur la broche"
|
||||
|
||||
#~ msgid "Buffer too large and unable to allocate"
|
||||
#~ msgstr "Tampon trop volumineux et impossible à allouer"
|
||||
|
||||
#~ msgid "interp is defined for 1D arrays of equal length"
|
||||
#~ msgstr "interp est défini pour les matrices 1D de longueur égale"
|
||||
|
||||
|
186
locale/hi.po
186
locale/hi.po
@ -47,6 +47,10 @@ msgstr ""
|
||||
msgid " is of type %q\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr ""
|
||||
@ -83,10 +87,22 @@ msgstr ""
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
@ -95,7 +111,11 @@ msgstr ""
|
||||
msgid "%q must be 1-255"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr ""
|
||||
|
||||
@ -111,10 +131,26 @@ msgstr ""
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -357,6 +393,7 @@ msgstr ""
|
||||
msgid "All event channels in use"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr ""
|
||||
@ -562,10 +599,6 @@ msgstr ""
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -840,6 +873,10 @@ msgstr ""
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr ""
|
||||
@ -941,7 +978,7 @@ msgstr ""
|
||||
msgid "Expected an alarm"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr ""
|
||||
@ -1150,7 +1187,7 @@ msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
@ -1238,6 +1275,7 @@ msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1262,7 +1300,7 @@ msgstr ""
|
||||
msgid "Invalid buffer size"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr ""
|
||||
|
||||
@ -1280,6 +1318,11 @@ msgstr ""
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr ""
|
||||
@ -1292,7 +1335,7 @@ msgstr ""
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr ""
|
||||
|
||||
@ -1463,7 +1506,7 @@ msgstr ""
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr ""
|
||||
|
||||
@ -1629,7 +1672,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1672,6 +1714,10 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1693,6 +1739,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr ""
|
||||
@ -1813,6 +1860,7 @@ msgid ""
|
||||
"constructor"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr ""
|
||||
@ -1987,6 +2035,10 @@ msgstr ""
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr ""
|
||||
@ -2025,6 +2077,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2169,6 +2222,7 @@ msgstr ""
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2299,7 +2353,7 @@ msgstr ""
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr ""
|
||||
@ -2454,15 +2508,15 @@ msgstr ""
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr ""
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr ""
|
||||
|
||||
@ -2479,8 +2533,7 @@ msgstr ""
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -2493,11 +2546,11 @@ msgstr ""
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr ""
|
||||
|
||||
@ -2505,15 +2558,15 @@ msgstr ""
|
||||
msgid "attributes not supported yet"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr ""
|
||||
|
||||
@ -2537,6 +2590,10 @@ msgstr ""
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr ""
|
||||
@ -2578,7 +2635,7 @@ msgstr ""
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr ""
|
||||
|
||||
@ -2628,7 +2685,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr ""
|
||||
|
||||
@ -2731,6 +2788,10 @@ msgid ""
|
||||
"can't switch from manual field specification to automatic field numbering"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
@ -2827,19 +2888,19 @@ msgstr ""
|
||||
msgid "conversion to object"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr ""
|
||||
|
||||
@ -2847,7 +2908,7 @@ msgstr ""
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr ""
|
||||
|
||||
@ -2897,15 +2958,15 @@ msgstr ""
|
||||
msgid "dict update sequence has wrong length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr ""
|
||||
|
||||
@ -3032,7 +3093,7 @@ msgstr ""
|
||||
msgid "filesystem must provide mount method"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr ""
|
||||
|
||||
@ -3044,7 +3105,7 @@ msgstr ""
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3060,7 +3121,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3148,6 +3209,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr ""
|
||||
@ -3184,7 +3249,7 @@ msgstr ""
|
||||
msgid "index is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3226,7 +3291,7 @@ msgstr ""
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3259,15 +3324,15 @@ msgstr ""
|
||||
msgid "input must be square matrix"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3279,7 +3344,7 @@ msgstr ""
|
||||
msgid "integer required"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3454,7 +3519,7 @@ msgstr ""
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3471,11 +3536,15 @@ msgstr ""
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr ""
|
||||
|
||||
@ -3708,16 +3777,24 @@ msgstr ""
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -3909,7 +3986,7 @@ msgstr ""
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3988,7 +4065,7 @@ msgstr ""
|
||||
msgid "soft reboot\n"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4135,11 +4212,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4302,7 +4379,7 @@ msgstr ""
|
||||
msgid "window must be <= interval"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr ""
|
||||
|
||||
@ -4310,12 +4387,11 @@ msgstr ""
|
||||
msgid "wrong axis specified"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr ""
|
||||
|
||||
@ -4323,7 +4399,7 @@ msgstr ""
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr ""
|
||||
|
||||
|
189
locale/it_IT.po
189
locale/it_IT.po
@ -55,6 +55,10 @@ msgstr " File \"%q\", riga %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr " è di tipo %q\n"
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " output:\n"
|
||||
@ -92,10 +96,22 @@ msgstr "indice %q fuori intervallo"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "gli indici %q devono essere interi, non %s"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr "lista %q deve essere una lista"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
@ -104,7 +120,11 @@ msgstr ""
|
||||
msgid "%q must be 1-255"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%q deve essere >= 0"
|
||||
|
||||
@ -121,10 +141,26 @@ msgstr "slice del buffer devono essere della stessa lunghezza"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%q deve essere una tupla di lunghezza 2"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -369,6 +405,7 @@ msgstr ""
|
||||
msgid "All event channels in use"
|
||||
msgstr "Tutti i canali eventi utilizati"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr "Tutte le state machines sono in uso"
|
||||
@ -577,10 +614,6 @@ msgstr "Il buffer deve essere un multiplo di 512 bytes"
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "Il buffer deve essere lungo almeno 1"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr "Buffer troppo grande ed impossibile allocare"
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -859,6 +892,10 @@ msgstr ""
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
#, fuzzy
|
||||
msgid "Data too large for advertisement packet"
|
||||
@ -963,7 +1000,7 @@ msgstr ""
|
||||
msgid "Expected an alarm"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr ""
|
||||
@ -1174,7 +1211,7 @@ msgstr "Errore input/output"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
@ -1262,6 +1299,7 @@ msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1287,7 +1325,7 @@ msgstr "bits per valore invalido"
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "lunghezza del buffer non valida"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr ""
|
||||
|
||||
@ -1306,6 +1344,11 @@ msgstr "Argomento non valido"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "Direzione non valida."
|
||||
@ -1318,7 +1361,7 @@ msgstr "File non valido"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr ""
|
||||
|
||||
@ -1491,7 +1534,7 @@ msgstr ""
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr ""
|
||||
|
||||
@ -1657,7 +1700,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
#, fuzzy
|
||||
@ -1704,6 +1746,10 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1725,6 +1771,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr ""
|
||||
@ -1850,6 +1897,7 @@ msgid ""
|
||||
"constructor"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr ""
|
||||
@ -2026,6 +2074,10 @@ msgstr ""
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr ""
|
||||
@ -2066,6 +2118,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2210,6 +2263,7 @@ msgstr "Troppi schermi"
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2341,7 +2395,7 @@ msgstr ""
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr ""
|
||||
@ -2497,15 +2551,15 @@ msgstr "l'argomento è una sequenza vuota"
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr ""
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr "il tipo dell'argomento è errato"
|
||||
|
||||
@ -2522,8 +2576,7 @@ 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/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -2536,11 +2589,11 @@ msgstr ""
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr ""
|
||||
|
||||
@ -2548,15 +2601,15 @@ msgstr ""
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "attributi non ancora supportati"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr ""
|
||||
|
||||
@ -2580,6 +2633,10 @@ msgstr ""
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr "operazione binaria %q non implementata"
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr ""
|
||||
@ -2624,7 +2681,7 @@ msgstr ""
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr ""
|
||||
|
||||
@ -2675,7 +2732,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr ""
|
||||
|
||||
@ -2778,6 +2835,10 @@ msgid ""
|
||||
"can't switch from manual field specification to automatic field numbering"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
@ -2876,19 +2937,19 @@ msgstr "la costante deve essere un intero"
|
||||
msgid "conversion to object"
|
||||
msgstr "conversione in oggetto"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr ""
|
||||
|
||||
@ -2896,7 +2957,7 @@ msgstr ""
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr ""
|
||||
|
||||
@ -2949,15 +3010,15 @@ 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/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr ""
|
||||
|
||||
@ -3085,7 +3146,7 @@ msgstr ""
|
||||
msgid "filesystem must provide mount method"
|
||||
msgstr "il filesystem deve fornire un metodo di mount"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr ""
|
||||
|
||||
@ -3097,7 +3158,7 @@ msgstr ""
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3113,7 +3174,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3202,6 +3263,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr "graphic deve essere lunga 2048 byte"
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "l'heap deve essere una lista"
|
||||
@ -3238,7 +3303,7 @@ msgstr "padding incorretto"
|
||||
msgid "index is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3280,7 +3345,7 @@ msgstr ""
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3313,15 +3378,15 @@ msgstr ""
|
||||
msgid "input must be square matrix"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3333,7 +3398,7 @@ msgstr "il secondo argomanto di int() deve essere >= 2 e <= 36"
|
||||
msgid "integer required"
|
||||
msgstr "intero richiesto"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3513,7 +3578,7 @@ msgstr ""
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3530,11 +3595,15 @@ msgstr "allocazione di memoria fallita, l'heap è bloccato"
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "modulo non trovato"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr ""
|
||||
|
||||
@ -3771,16 +3840,24 @@ msgstr "solo slice con step=1 (aka None) sono supportate"
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -3975,7 +4052,7 @@ msgstr ""
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4056,7 +4133,7 @@ msgstr "small int overflow"
|
||||
msgid "soft reboot\n"
|
||||
msgstr "soft reboot\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4205,11 +4282,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr "troppi valori da scompattare (%d attesi)"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4372,7 +4449,7 @@ msgstr ""
|
||||
msgid "window must be <= interval"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr ""
|
||||
|
||||
@ -4380,12 +4457,11 @@ msgstr ""
|
||||
msgid "wrong axis specified"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr "numero di argomenti errato"
|
||||
|
||||
@ -4393,7 +4469,7 @@ msgstr "numero di argomenti errato"
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr "numero di valori da scompattare non corretto"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr ""
|
||||
|
||||
@ -4431,6 +4507,9 @@ msgstr ""
|
||||
msgid "zi must be of shape (n_section, 2)"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Buffer too large and unable to allocate"
|
||||
#~ msgstr "Buffer troppo grande ed impossibile allocare"
|
||||
|
||||
#~ msgid "USB Busy"
|
||||
#~ msgstr "USB occupata"
|
||||
|
||||
|
189
locale/ja.po
189
locale/ja.po
@ -52,6 +52,10 @@ msgstr " ファイル \"%q\", 行 %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " 出力:\n"
|
||||
@ -88,10 +92,22 @@ msgstr "%q インデックスは範囲外"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr "%q リストはリストでなければなりません"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
@ -100,7 +116,11 @@ msgstr ""
|
||||
msgid "%q must be 1-255"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%qは0以上でなければなりません"
|
||||
|
||||
@ -116,10 +136,26 @@ msgstr "%qは1以上でなければなりません"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%qは長さ2のタプルでなければなりません"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -362,6 +398,7 @@ msgstr ""
|
||||
msgid "All event channels in use"
|
||||
msgstr "全てのイベントチャネルが使用中"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr ""
|
||||
@ -569,10 +606,6 @@ msgstr "バッファは512の倍数でなければなりません"
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "バッファ長は少なくとも1以上でなければなりません"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr "バッファが大きすぎて確保できません"
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -849,6 +882,10 @@ msgstr ""
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr "fmtチャンクの後にdataチャンクが続かなければなりません"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr "データが、アドバタイズメントパケットには大きすぎます"
|
||||
@ -950,7 +987,7 @@ msgstr "Addressが必要"
|
||||
msgid "Expected an alarm"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr ""
|
||||
@ -1161,7 +1198,7 @@ msgstr "入力/出力エラー"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
@ -1249,6 +1286,7 @@ msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1273,7 +1311,7 @@ msgstr "不正なbits per value"
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "不正なバッファサイズ"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr "不正なバイトオーダー文字列"
|
||||
|
||||
@ -1291,6 +1329,11 @@ msgstr "不正なチャンネル数"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "不正な方向"
|
||||
@ -1303,7 +1346,7 @@ msgstr "不正なファイル"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "フォーマットチャンクのサイズが不正"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr "不正な周波数"
|
||||
|
||||
@ -1474,7 +1517,7 @@ msgstr ""
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr "%q のサブクラスでなければなりません"
|
||||
|
||||
@ -1640,7 +1683,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr "不正なIP文字列です"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1685,6 +1727,10 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1706,6 +1752,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr ""
|
||||
@ -1827,6 +1874,7 @@ msgid ""
|
||||
"constructor"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr ""
|
||||
@ -2001,6 +2049,10 @@ msgstr "SPI初期化エラー"
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr "SPI再初期化エラー"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr ""
|
||||
@ -2039,6 +2091,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr "サイズは対応していません"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2183,6 +2236,7 @@ msgstr ""
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2314,7 +2368,7 @@ msgstr "不明なセキュリティエラー: 0x%04x"
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr "右辺の要素数が一致しません (expected %d, got %d)"
|
||||
@ -2469,15 +2523,15 @@ msgstr ""
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr "argsortの引数はndarrayでなければなりません"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr ""
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr ""
|
||||
|
||||
@ -2494,8 +2548,7 @@ msgstr ""
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr "引数には '%q' が必要('%q' ではなく)"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr "引数はndarrayでなければなりません"
|
||||
|
||||
@ -2508,11 +2561,11 @@ msgstr ""
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr "右辺にはarray/bytesが必要"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr ""
|
||||
|
||||
@ -2520,15 +2573,15 @@ msgstr ""
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "属性は未対応です"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr ""
|
||||
|
||||
@ -2552,6 +2605,10 @@ msgstr "不正なtypecode"
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr ""
|
||||
@ -2593,7 +2650,7 @@ msgstr ""
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr "buttonsはdigitalio.DigitalInOutでなければなりません"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr "byteorderが文字列ではありません"
|
||||
|
||||
@ -2643,7 +2700,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr "%qを%qに変換できません"
|
||||
|
||||
@ -2746,6 +2803,10 @@ msgid ""
|
||||
"can't switch from manual field specification to automatic field numbering"
|
||||
msgstr "手動と自動のフィールド指定は混在できません"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
@ -2844,19 +2905,19 @@ msgstr "定数は整数でなければなりません"
|
||||
msgid "conversion to object"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr "convolve引数には1次元arrayが必要"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr "convolve引数はndarrayでなければなりません"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr "ヴァンデルモンド行列の逆行列を求められません"
|
||||
|
||||
@ -2864,7 +2925,7 @@ msgstr "ヴァンデルモンド行列の逆行列を求められません"
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr ""
|
||||
|
||||
@ -2916,15 +2977,15 @@ msgstr "desitination_lengthは正の整数でなければなりません"
|
||||
msgid "dict update sequence has wrong length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr "引数はndarrayでなければなりません"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr ""
|
||||
|
||||
@ -3051,7 +3112,7 @@ msgstr "fileはバイトモードで開かれたファイルでなければな
|
||||
msgid "filesystem must provide mount method"
|
||||
msgstr "filesystemはmountメソッドを提供しなければなりません"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr "1つ目の引数は呼び出し可能でなければなりません"
|
||||
|
||||
@ -3063,7 +3124,7 @@ msgstr "1つ目の引数は関数でなければなりません"
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr "1つ目の引数はndarrayでなければなりません"
|
||||
|
||||
@ -3079,7 +3140,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr "flipの引数はndarrayでなければなりません"
|
||||
|
||||
@ -3167,6 +3228,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr "graphicは2048バイトでなければなりません"
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "heapにはリストが必要"
|
||||
@ -3203,7 +3268,7 @@ msgstr ""
|
||||
msgid "index is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3246,7 +3311,7 @@ msgstr "入力array長は2の累乗でなければなりません"
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3279,15 +3344,15 @@ msgstr ""
|
||||
msgid "input must be square matrix"
|
||||
msgstr "入力は正方行列でなければなりません"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr "入力はtuple, list, range, ndarrayでなければなりません"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3299,7 +3364,7 @@ msgstr "int()の第2引数は2以上36以下でなければなりません"
|
||||
msgid "integer required"
|
||||
msgstr "整数が必要"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3474,7 +3539,7 @@ msgstr ""
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3491,11 +3556,15 @@ msgstr "メモリ確保に失敗。ヒープがロックされています"
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "モジュールが見つかりません"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr ""
|
||||
|
||||
@ -3728,16 +3797,24 @@ msgstr ""
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr "この演算はndarray上で実装されていません"
|
||||
|
||||
@ -3931,7 +4008,7 @@ msgstr ""
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr "rgb_pins[%d]はクロックと同じポートではありません"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4011,7 +4088,7 @@ msgstr "small int オーバーフロー"
|
||||
msgid "soft reboot\n"
|
||||
msgstr "ソフトリブート\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4158,11 +4235,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr "アンパックする値が多すぎます (%d個を期待)"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr "trapzは同じ長さの1次元arrayに対して定義されています"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4325,7 +4402,7 @@ msgstr ""
|
||||
msgid "window must be <= interval"
|
||||
msgstr "windowはinterval以下でなければなりません"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr ""
|
||||
|
||||
@ -4333,12 +4410,11 @@ msgstr ""
|
||||
msgid "wrong axis specified"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr ""
|
||||
|
||||
@ -4346,7 +4422,7 @@ msgstr ""
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr "アンパックする値の個数が不正です"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr ""
|
||||
|
||||
@ -4382,6 +4458,9 @@ msgstr "ziはfloat値でなければなりません"
|
||||
msgid "zi must be of shape (n_section, 2)"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Buffer too large and unable to allocate"
|
||||
#~ msgstr "バッファが大きすぎて確保できません"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "CircuitPython is in safe mode because you pressed the reset button during "
|
||||
#~ "boot. Press again to exit safe mode.\n"
|
||||
|
186
locale/ko.po
186
locale/ko.po
@ -48,6 +48,10 @@ msgstr " 파일 \"%q\", 라인 %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " 산출:\n"
|
||||
@ -84,10 +88,22 @@ msgstr "%q 인덱스 범위를 벗어났습니다"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "%q 인덱스는 %s 가 아닌 정수 여야합니다"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
@ -96,7 +112,11 @@ msgstr ""
|
||||
msgid "%q must be 1-255"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr ""
|
||||
|
||||
@ -112,10 +132,26 @@ msgstr "%q 는 >=1이어야합니다"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -358,6 +394,7 @@ msgstr ""
|
||||
msgid "All event channels in use"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr ""
|
||||
@ -565,10 +602,6 @@ msgstr ""
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "잘못된 크기의 버퍼. >1 여야합니다"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -843,6 +876,10 @@ msgstr ""
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr "광고 (브로드 캐스트) 패킷에 대한 데이터가 너무 큽니다"
|
||||
@ -944,7 +981,7 @@ msgstr ""
|
||||
msgid "Expected an alarm"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr ""
|
||||
@ -1153,7 +1190,7 @@ msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
@ -1241,6 +1278,7 @@ msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1265,7 +1303,7 @@ msgstr ""
|
||||
msgid "Invalid buffer size"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr ""
|
||||
|
||||
@ -1283,6 +1321,11 @@ msgstr ""
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr ""
|
||||
@ -1295,7 +1338,7 @@ msgstr "파일이 유효하지 않습니다"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "형식 청크 크기가 잘못되었습니다"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr ""
|
||||
|
||||
@ -1466,7 +1509,7 @@ msgstr ""
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr ""
|
||||
|
||||
@ -1632,7 +1675,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1675,6 +1717,10 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1696,6 +1742,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr ""
|
||||
@ -1816,6 +1863,7 @@ msgid ""
|
||||
"constructor"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr ""
|
||||
@ -1990,6 +2038,10 @@ msgstr ""
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr ""
|
||||
@ -2028,6 +2080,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2172,6 +2225,7 @@ msgstr ""
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2303,7 +2357,7 @@ msgstr ""
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr ""
|
||||
@ -2458,15 +2512,15 @@ msgstr ""
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr ""
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr ""
|
||||
|
||||
@ -2483,8 +2537,7 @@ msgstr ""
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -2497,11 +2550,11 @@ msgstr ""
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr ""
|
||||
|
||||
@ -2509,15 +2562,15 @@ msgstr ""
|
||||
msgid "attributes not supported yet"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr ""
|
||||
|
||||
@ -2541,6 +2594,10 @@ msgstr ""
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr ""
|
||||
@ -2582,7 +2639,7 @@ msgstr ""
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr ""
|
||||
|
||||
@ -2632,7 +2689,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr ""
|
||||
|
||||
@ -2735,6 +2792,10 @@ msgid ""
|
||||
"can't switch from manual field specification to automatic field numbering"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
@ -2831,19 +2892,19 @@ msgstr ""
|
||||
msgid "conversion to object"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr ""
|
||||
|
||||
@ -2851,7 +2912,7 @@ msgstr ""
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr ""
|
||||
|
||||
@ -2901,15 +2962,15 @@ msgstr ""
|
||||
msgid "dict update sequence has wrong length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr ""
|
||||
|
||||
@ -3036,7 +3097,7 @@ msgstr ""
|
||||
msgid "filesystem must provide mount method"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr ""
|
||||
|
||||
@ -3048,7 +3109,7 @@ msgstr ""
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3064,7 +3125,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3152,6 +3213,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr ""
|
||||
@ -3188,7 +3253,7 @@ msgstr ""
|
||||
msgid "index is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3230,7 +3295,7 @@ msgstr ""
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3263,15 +3328,15 @@ msgstr ""
|
||||
msgid "input must be square matrix"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3283,7 +3348,7 @@ msgstr ""
|
||||
msgid "integer required"
|
||||
msgstr "정수가 필요합니다"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3458,7 +3523,7 @@ msgstr ""
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3475,11 +3540,15 @@ msgstr ""
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr ""
|
||||
|
||||
@ -3712,16 +3781,24 @@ msgstr ""
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -3913,7 +3990,7 @@ msgstr ""
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3992,7 +4069,7 @@ msgstr ""
|
||||
msgid "soft reboot\n"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4139,11 +4216,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4306,7 +4383,7 @@ msgstr ""
|
||||
msgid "window must be <= interval"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr ""
|
||||
|
||||
@ -4314,12 +4391,11 @@ msgstr ""
|
||||
msgid "wrong axis specified"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr ""
|
||||
|
||||
@ -4327,7 +4403,7 @@ msgstr ""
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr ""
|
||||
|
||||
|
189
locale/nl.po
189
locale/nl.po
@ -50,6 +50,10 @@ msgstr " Bestand \"%q\", regel %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " uitvoer:\n"
|
||||
@ -86,10 +90,22 @@ msgstr "%q index buiten bereik"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "%q indexen moeten integers zijn, niet %s"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr "%q lijst moet een lijst zijn"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
@ -98,7 +114,11 @@ msgstr ""
|
||||
msgid "%q must be 1-255"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%q moet >= 0 zijn"
|
||||
|
||||
@ -114,10 +134,26 @@ msgstr "%q moet >= 1 zijn"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%q moet een tuple van lengte 2 zijn"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -360,6 +396,7 @@ msgstr ""
|
||||
msgid "All event channels in use"
|
||||
msgstr "Alle event kanalen zijn in gebruik"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr ""
|
||||
@ -567,10 +604,6 @@ msgstr "Buffer moet een veelvoud van 512 bytes zijn"
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "Buffer moet op zijn minst lengte 1 zijn"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr "Buffer is te groot en niet in staat te alloceren"
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -849,6 +882,10 @@ msgstr ""
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr "Data chunk moet gevolgd worden door fmt chunk"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr "Data te groot voor advertisement pakket"
|
||||
@ -950,7 +987,7 @@ msgstr "Verwachtte een adres"
|
||||
msgid "Expected an alarm"
|
||||
msgstr "Verwachtte een alarm"
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr "Verwachtte een tuple met lengte %d, maar kreeg %d"
|
||||
@ -1162,7 +1199,7 @@ msgstr "Input/Output fout"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
@ -1250,6 +1287,7 @@ msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1274,7 +1312,7 @@ msgstr "Ongeldige bits per waarde"
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Ongeldige buffer grootte"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr "Ongeldige byteorder string"
|
||||
|
||||
@ -1292,6 +1330,11 @@ msgstr "Ongeldige kanaal aantallen"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "Ongeldige richting."
|
||||
@ -1304,7 +1347,7 @@ msgstr "Ongeldig bestand"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "Ongeldig formaat stuk grootte"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr "Onjuiste frequentie"
|
||||
|
||||
@ -1475,7 +1518,7 @@ msgstr ""
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr "%q moet een subklasse zijn."
|
||||
|
||||
@ -1641,7 +1684,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr "Geen geldige IP string"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1688,6 +1730,10 @@ msgstr ""
|
||||
"Alleen Windows formaat en ongecomprimeerd BMP ondersteund: gegeven header "
|
||||
"grootte is %d"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1711,6 +1757,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr "Slechts één alarm.time alarm kan worden ingesteld."
|
||||
@ -1837,6 +1884,7 @@ msgstr ""
|
||||
"gebruikt. Als dit niet kan worden vermeden, geef dan het argument "
|
||||
"allow_inefficient=True aan de constructor"
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr ""
|
||||
@ -2017,6 +2065,10 @@ msgstr "SPI Init Fout"
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr "SPI Herinitialisatie Fout"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr ""
|
||||
@ -2055,6 +2107,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr "Afmeting niet ondersteund"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2199,6 +2252,7 @@ msgstr "Teveel beeldschermen"
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2329,7 +2383,7 @@ msgstr "Onbekende veiligheidsfout: 0x%04x"
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr "Niet overeenkomend aantal RHS items (verwachtte %d, kreeg %d)."
|
||||
@ -2495,15 +2549,15 @@ msgstr "arg is een lege sequentie"
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr "argsort argument moet een ndarray zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr "argsort wordt niet geïmplementeerd voor vlakke arrays"
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr "argument heeft onjuist type"
|
||||
|
||||
@ -2520,8 +2574,7 @@ msgstr "argument num/typen komen niet overeen"
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr "argument moet een '%q' zijn en niet een '%q'"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr "argumenten moeten ndarrays zijn"
|
||||
|
||||
@ -2534,11 +2587,11 @@ msgstr "array en indexlengte moeten gelijk zijn"
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr "array/bytes vereist aan de rechterkant"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr "verzoek om (arg)min.(arg)max te krijgen van lege reeks"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr "poging om argmin/argmax van een lege sequentie te krijgen"
|
||||
|
||||
@ -2546,15 +2599,15 @@ msgstr "poging om argmin/argmax van een lege sequentie te krijgen"
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "attributen nog niet ondersteund"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr "as is buiten bereik"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr "as moet None of een integer zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr "as te lang"
|
||||
|
||||
@ -2578,6 +2631,10 @@ msgstr "verkeerde typecode"
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr "binaire op %q niet geïmplementeerd"
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr ""
|
||||
@ -2619,7 +2676,7 @@ msgstr "buffer te klein voor gevraagde bytes"
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr "buttons moeten digitalio.DigitalInOut zijn"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr "byteorder is geen string"
|
||||
|
||||
@ -2670,7 +2727,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr "kan %q niet naar %q converteren"
|
||||
|
||||
@ -2773,6 +2830,10 @@ msgid ""
|
||||
"can't switch from manual field specification to automatic field numbering"
|
||||
msgstr "kan niet schakelen tussen handmatige en automatische veld specificatie"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr "kan uitvoer niet converteren zonder conversieregel"
|
||||
@ -2870,19 +2931,19 @@ msgstr "constant moet een integer zijn"
|
||||
msgid "conversion to object"
|
||||
msgstr "conversie naar object"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr "convolutie argumenten moeten lineaire arrays zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr "convolutie argumenten moeten ndarrays zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr "convolutie argumenten mogen niet leeg zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr "kon de Vandermonde matrix niet omkeren"
|
||||
|
||||
@ -2890,7 +2951,7 @@ msgstr "kon de Vandermonde matrix niet omkeren"
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr "kon SD kaart versie niet bepalen"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr "kruis wordt gedefinieerd voor 1D-arrays van lengte 3"
|
||||
|
||||
@ -2942,15 +3003,15 @@ msgstr "destination_lengte moest een int groter dan of gelijk zijn aan 0 zijn"
|
||||
msgid "dict update sequence has wrong length"
|
||||
msgstr "dict update sequence heeft de verkeerde lengte"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr "diff argument moet een ndarray zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr "differentiatievolgorde buiten bereik"
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr ""
|
||||
|
||||
@ -3077,7 +3138,7 @@ msgstr "bestand moet een bestand zijn geopend in byte modus"
|
||||
msgid "filesystem must provide mount method"
|
||||
msgstr "bestandssysteem moet een mount methode bieden"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr "eerste argument moet een aanroepbare (callable) zijn"
|
||||
|
||||
@ -3089,7 +3150,7 @@ msgstr "eerste argument moet een functie zijn"
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr "eerste argument moet een tupel van ndarrays zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr "eerst argument moet een ndarray zijn"
|
||||
|
||||
@ -3105,7 +3166,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr "De afvlakkingsvolgorde moet ofwel \"C\", ofwel \"F\" zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr "flip argumenten moeten een ndarray zijn"
|
||||
|
||||
@ -3194,6 +3255,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr "graphic moet 2048 bytes lang zijn"
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "heap moet een lijst zijn"
|
||||
@ -3230,7 +3295,7 @@ msgstr "vulling (padding) is onjuist"
|
||||
msgid "index is out of bounds"
|
||||
msgstr "index is buiten bereik"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3272,7 +3337,7 @@ msgstr "invoer array lengte moet een macht van 2 zijn"
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr "input arrays zijn niet compatibel"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr "invoerdata moet itereerbaar zijn"
|
||||
|
||||
@ -3305,15 +3370,15 @@ msgstr "invoer moet eendimensionaal zijn"
|
||||
msgid "input must be square matrix"
|
||||
msgstr "invoer moet een vierkante matrix zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr "invoer moet een tuple, lijst, bereik of ndarray zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr "invoervectors moeten van gelijke lengte zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr "invoer is niet itereerbaar"
|
||||
|
||||
@ -3325,7 +3390,7 @@ msgstr "int() argument 2 moet >=2 en <= 36 zijn"
|
||||
msgid "integer required"
|
||||
msgstr "integer vereist"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3503,7 +3568,7 @@ msgstr "maxiter moet groter dan 0 zijn"
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr "maxiter moet groter dan 0 zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3520,11 +3585,15 @@ msgstr "geheugentoewijzing mislukt, heap is vergrendeld"
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "module niet gevonden"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr "meer vrijheidsgraden dan datapunten"
|
||||
|
||||
@ -3757,16 +3826,24 @@ msgstr "alleen segmenten met step=1 (ook wel None) worden ondersteund"
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr "operands konden niet samen verzonden worden"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr "operatie is alleen geïmplementeerd voor 1D Booleaanse arrays"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr "bewerking is voor ndarrays niet geïmplementeerd"
|
||||
|
||||
@ -3959,7 +4036,7 @@ msgstr "rgb_pins[%d] is hetzelfde als een andere pintoewijzing"
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr "rgb_pins[%d] bevindt zich niet op dezelfde poort als klok"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr "roll argument moet een ndarray zijn"
|
||||
|
||||
@ -4040,7 +4117,7 @@ msgstr "small int overloop"
|
||||
msgid "soft reboot\n"
|
||||
msgstr "zachte herstart\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr "sorteerargument moet een ndarray zijn"
|
||||
|
||||
@ -4187,11 +4264,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr "te veel waarden om uit te pakken (%d verwacht)"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr "trapz is gedefinieerd voor eendimensionale arrays van gelijke lengte"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4354,7 +4431,7 @@ msgstr ""
|
||||
msgid "window must be <= interval"
|
||||
msgstr "window moet <= interval zijn"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr "foute index voor as"
|
||||
|
||||
@ -4362,12 +4439,11 @@ msgstr "foute index voor as"
|
||||
msgid "wrong axis specified"
|
||||
msgstr "onjuiste as gespecificeerd"
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr "onjuist invoertype"
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr "onjuist aantal argumenten"
|
||||
|
||||
@ -4375,7 +4451,7 @@ msgstr "onjuist aantal argumenten"
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr "verkeerd aantal waarden om uit te pakken"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr "onjuist uitvoer type"
|
||||
|
||||
@ -4411,6 +4487,9 @@ msgstr "zi moet van type float zijn"
|
||||
msgid "zi must be of shape (n_section, 2)"
|
||||
msgstr "zi moet vorm (n_section, 2) hebben"
|
||||
|
||||
#~ msgid "Buffer too large and unable to allocate"
|
||||
#~ msgstr "Buffer is te groot en niet in staat te alloceren"
|
||||
|
||||
#~ msgid "interp is defined for 1D arrays of equal length"
|
||||
#~ msgstr ""
|
||||
#~ "interp is gedefinieerd voor eendimensionale arrays van gelijke lengte"
|
||||
|
189
locale/pl.po
189
locale/pl.po
@ -52,6 +52,10 @@ msgstr " Plik \"%q\", linia %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr ""
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " wyjście:\n"
|
||||
@ -88,10 +92,22 @@ msgstr "%q poza zakresem"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "%q indeks musi być liczbą całkowitą, a nie %s"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr ""
|
||||
@ -100,7 +116,11 @@ msgstr ""
|
||||
msgid "%q must be 1-255"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%q musi być >= 0"
|
||||
|
||||
@ -116,10 +136,26 @@ msgstr "%q musi być >= 1"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%q musi być krotką o długości 2"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -362,6 +398,7 @@ msgstr ""
|
||||
msgid "All event channels in use"
|
||||
msgstr "Wszystkie kanały zdarzeń w użyciu"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr ""
|
||||
@ -569,10 +606,6 @@ msgstr "Bufor musi być wielokrotnością 512 bajtów"
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "Bufor musi mieć długość 1 lub więcej"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr "Bufor jest zbyt duży i nie można go przydzielić"
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -849,6 +882,10 @@ msgstr ""
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr "Fragment danych musi następować po fragmencie fmt"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr "Zbyt dużo danych pakietu rozgłoszeniowego"
|
||||
@ -950,7 +987,7 @@ msgstr "Oczekiwano adresu"
|
||||
msgid "Expected an alarm"
|
||||
msgstr ""
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr "Oczekiwano krotkę długości %d, otrzymano %d"
|
||||
@ -1161,7 +1198,7 @@ msgstr "Błąd I/O"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
@ -1249,6 +1286,7 @@ msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1273,7 +1311,7 @@ msgstr "Zła liczba bitów wartości"
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Zła wielkość bufora"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr ""
|
||||
|
||||
@ -1291,6 +1329,11 @@ msgstr "Zła liczba kanałów"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr ""
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "Nieprawidłowy kierunek."
|
||||
@ -1303,7 +1346,7 @@ msgstr "Zły plik"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "Zła wielkość fragmentu formatu"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr "Nieprawidłowa częstotliwość"
|
||||
|
||||
@ -1474,7 +1517,7 @@ msgstr ""
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr ""
|
||||
|
||||
@ -1640,7 +1683,6 @@ msgstr ""
|
||||
msgid "Not a valid IP string"
|
||||
msgstr ""
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1683,6 +1725,10 @@ msgid ""
|
||||
"Only Windows format, uncompressed BMP supported: given header size is %d"
|
||||
msgstr "Wspierane są tylko nieskompresowane pliki BMP: wielkość nagłówka %d"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr ""
|
||||
@ -1704,6 +1750,7 @@ msgstr ""
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr ""
|
||||
@ -1824,6 +1871,7 @@ msgid ""
|
||||
"constructor"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr ""
|
||||
@ -1998,6 +2046,10 @@ msgstr "Błąd inicjowania SPI"
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr "Błąd ponownej inicjalizacji SPI"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr ""
|
||||
@ -2036,6 +2088,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr ""
|
||||
@ -2180,6 +2233,7 @@ msgstr "Zbyt wiele wyświetlaczy"
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr ""
|
||||
@ -2310,7 +2364,7 @@ msgstr ""
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr "Zła liczba obiektów po prawej stronie (oczekiwano %d, jest %d)."
|
||||
@ -2471,15 +2525,15 @@ msgstr "arg jest puste"
|
||||
msgid "arg must be user-type"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr ""
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr "argument ma zły typ"
|
||||
|
||||
@ -2496,8 +2550,7 @@ 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/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -2510,11 +2563,11 @@ msgstr ""
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr "tablica/bytes wymagane po prawej stronie"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr ""
|
||||
|
||||
@ -2522,15 +2575,15 @@ msgstr ""
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "atrybuty nie są jeszcze obsługiwane"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr ""
|
||||
|
||||
@ -2554,6 +2607,10 @@ msgstr "zły typecode"
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr "brak dwu-argumentowego operatora %q"
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr ""
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr ""
|
||||
@ -2595,7 +2652,7 @@ msgstr ""
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr "buttons musi być digitalio.DigitalInOut"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr ""
|
||||
|
||||
@ -2645,7 +2702,7 @@ msgid "can't cancel self"
|
||||
msgstr ""
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr "nie można dokonać konwersji %q na %q"
|
||||
|
||||
@ -2748,6 +2805,10 @@ msgid ""
|
||||
"can't switch from manual field specification to automatic field numbering"
|
||||
msgstr "nie można zmienić z ręcznego numerowaniu pól do automatycznego"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
@ -2844,19 +2905,19 @@ msgstr "stała musi być liczbą całkowitą"
|
||||
msgid "conversion to object"
|
||||
msgstr "konwersja do obiektu"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr ""
|
||||
|
||||
@ -2864,7 +2925,7 @@ msgstr ""
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr "nie można określić wersji karty SD"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr ""
|
||||
|
||||
@ -2915,15 +2976,15 @@ 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/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr ""
|
||||
|
||||
@ -3050,7 +3111,7 @@ 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/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr ""
|
||||
|
||||
@ -3062,7 +3123,7 @@ msgstr "pierwszy argument musi być funkcją"
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3078,7 +3139,7 @@ msgstr ""
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3166,6 +3227,10 @@ msgstr ""
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr "graphic musi mieć 2048 bajtów długości"
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "heap musi być listą"
|
||||
@ -3202,7 +3267,7 @@ msgstr "złe wypełnienie"
|
||||
msgid "index is out of bounds"
|
||||
msgstr "indeks jest poza zakresem"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3244,7 +3309,7 @@ msgstr "długość tablicy wejściowej musi być potęgą 2"
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3277,15 +3342,15 @@ msgstr ""
|
||||
msgid "input must be square matrix"
|
||||
msgstr "wejście musi być macierzą kwadratową"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr "wektory wejściowe muszą być równej długości"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr ""
|
||||
|
||||
@ -3297,7 +3362,7 @@ msgstr "argument 2 do int() busi być pomiędzy 2 a 36"
|
||||
msgid "integer required"
|
||||
msgstr "wymagana liczba całkowita"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
|
||||
@ -3472,7 +3537,7 @@ msgstr ""
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -3489,11 +3554,15 @@ msgstr "alokacja pamięci nie powiodła się, sterta zablokowana"
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "brak modułu"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr ""
|
||||
|
||||
@ -3726,16 +3795,24 @@ msgstr "tylko fragmenty ze step=1 (lub None) są wspierane"
|
||||
msgid "opcode"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr "operandy nie mogły być rozgłaszane razem"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr ""
|
||||
|
||||
@ -3928,7 +4005,7 @@ msgstr ""
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr ""
|
||||
|
||||
@ -4008,7 +4085,7 @@ msgstr "przepełnienie small int"
|
||||
msgid "soft reboot\n"
|
||||
msgstr "programowy reset\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr "argument sort musi być ndarray"
|
||||
|
||||
@ -4155,11 +4232,11 @@ msgstr ""
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr "zbyt wiele wartości do rozpakowania (oczekiwano %d)"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
|
||||
@ -4322,7 +4399,7 @@ msgstr ""
|
||||
msgid "window must be <= interval"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr ""
|
||||
|
||||
@ -4330,12 +4407,11 @@ msgstr ""
|
||||
msgid "wrong axis specified"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr "nieprawidłowy typ wejścia"
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr "zła liczba argumentów"
|
||||
|
||||
@ -4343,7 +4419,7 @@ msgstr "zła liczba argumentów"
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr "zła liczba wartości do rozpakowania"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr "nieprawidłowy typ wyjścia"
|
||||
|
||||
@ -4379,6 +4455,9 @@ msgstr ""
|
||||
msgid "zi must be of shape (n_section, 2)"
|
||||
msgstr ""
|
||||
|
||||
#~ msgid "Buffer too large and unable to allocate"
|
||||
#~ msgstr "Bufor jest zbyt duży i nie można go przydzielić"
|
||||
|
||||
#~ msgid "wrong operand type"
|
||||
#~ msgstr "zły typ operandu"
|
||||
|
||||
|
207
locale/pt_BR.po
207
locale/pt_BR.po
@ -6,7 +6,7 @@ msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
|
||||
"PO-Revision-Date: 2021-05-30 13:32+0000\n"
|
||||
"PO-Revision-Date: 2021-07-24 15:35+0000\n"
|
||||
"Last-Translator: Wellington Terumi Uemura <wellingtonuemura@gmail.com>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: pt_BR\n"
|
||||
@ -14,7 +14,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n > 1;\n"
|
||||
"X-Generator: Weblate 4.7-dev\n"
|
||||
"X-Generator: Weblate 4.7.2-dev\n"
|
||||
|
||||
#: main.c
|
||||
msgid ""
|
||||
@ -54,6 +54,10 @@ msgstr " Arquivo \"%q\", linha %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr " é do tipo %q\n"
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr " não encontrado.\n"
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " saída:\n"
|
||||
@ -92,10 +96,22 @@ msgstr "O índice %q está fora do intervalo"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "Os índices %q devem ser inteiros, e não %s"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr "o comprimento %q deve ser %q"
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr "A lista %q deve ser uma lista"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr "o %q deve ser <= %d"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr "o %q deve ser %d-%d"
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr "%q deve ser entre 0-255"
|
||||
@ -104,7 +120,11 @@ msgstr "%q deve ser entre 0-255"
|
||||
msgid "%q must be 1-255"
|
||||
msgstr "%q deve ser 1-255"
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr "o %q deve ser >= %d"
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%q deve ser >= 0"
|
||||
|
||||
@ -120,10 +140,26 @@ msgstr "%q deve ser >= 1"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr "%q deve ser None ou entre 1 e len(report_descriptor)-1"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr "%q deve ser uma string"
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%q deve ser uma tupla de comprimento 2"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr "%q deve estar entre %d e %d"
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr "%q deve ser a potência de 2"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr "o %q deve ser do tipo %q"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -370,6 +406,7 @@ msgstr "Todos os canais estão em uso"
|
||||
msgid "All event channels in use"
|
||||
msgstr "Todos os canais de eventos em uso"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr "O estado de todas as máquinas em uso"
|
||||
@ -580,10 +617,6 @@ msgstr "O buffer deve ser um múltiplo de 512 bytes"
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "O comprimento do buffer deve ter pelo menos 1"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr "O buffer é muito grande e incapaz de alocar"
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -865,6 +898,10 @@ msgstr "O pino de dados 0 deve ser alinhado por bytes."
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr "Pedaço de dados deve seguir o pedaço de cortes"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr "Os dados não são compatíveis com publicidade direcionada"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr "Os dados são grandes demais para o pacote de publicidade"
|
||||
@ -966,7 +1003,7 @@ msgstr "Um endereço esperado"
|
||||
msgid "Expected an alarm"
|
||||
msgstr "Um alarme era esperado"
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr "Tupla esperada com comprimento %d, obteve %d"
|
||||
@ -1184,8 +1221,8 @@ msgstr "Erro de entrada/saída"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgstr "A instrução %d salta no pino"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr "Falta o jmp_pin. A instrução %d salta no pino"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
@ -1272,6 +1309,7 @@ msgstr "O arquivo MIDI é inválido"
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1296,7 +1334,7 @@ msgstr "Os valores por bits são inválidos"
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "O tamanho do buffer é inválido"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr "A cadeia de bytes é inválida"
|
||||
|
||||
@ -1314,6 +1352,11 @@ msgstr "A contagem do canal é inválido"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr "data_count %d inválido"
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr "data_pins[%d] inválido"
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "Direção inválida."
|
||||
@ -1326,7 +1369,7 @@ msgstr "Arquivo inválido"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "Tamanho do pedaço de formato inválido"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr "Frequência inválida"
|
||||
|
||||
@ -1497,7 +1540,7 @@ msgstr "Faltando first_out_pin. A instrução %d escreve nos pinos(s)"
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr "Faltando first_set_pin. A instrução %d define os pinos(s)"
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr "Deve ser uma subclasse %q."
|
||||
|
||||
@ -1665,7 +1708,6 @@ msgstr "O firmware do sistema nórdico está sem memória"
|
||||
msgid "Not a valid IP string"
|
||||
msgstr "Não é uma sequência válida de IP"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1711,6 +1753,10 @@ msgstr ""
|
||||
"O BMP descompactado é compatível apenas no formato Windows: o tamanho do "
|
||||
"cabeçalho é %d"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr "Somente anúncios conectáveis podem ser direcionados"
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr "Apenas a detecção de borda está disponível neste hardware"
|
||||
@ -1734,6 +1780,7 @@ msgstr "Apenas um TouchAlarm pode ser colocado em deep sleep."
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr "Apenas um alarme alarm.time pode ser definido."
|
||||
@ -1861,6 +1908,7 @@ msgstr ""
|
||||
"ideal. Caso isso não possa ser evitado, passe allow_inefficient=True ao "
|
||||
"construtor"
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr "Os pinos devem ser sequenciais"
|
||||
@ -2044,6 +2092,10 @@ msgstr "Houve um erro na inicialização SPI"
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr "Houve um erro na reinicialização SPI"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr "A configuração SPI falhou"
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr "O periférico SPI está em uso"
|
||||
@ -2083,6 +2135,7 @@ msgstr ""
|
||||
msgid "Size not supported"
|
||||
msgstr "O tamanho não é suportado"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr "Sleep memory não está disponível"
|
||||
@ -2238,6 +2291,7 @@ msgstr "Exibições demais"
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr "O total dos dados que serão escritos é maior do que %q"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr "Alarmes de toque não estão disponíveis"
|
||||
@ -2369,7 +2423,7 @@ msgstr "Erro de segurança desconhecido: 0x%04x"
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr "Erro desconhecido do firmware: %04x"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr "Quantidade inigualável de itens no RHS (%d esperado, obteve %d)."
|
||||
@ -2538,15 +2592,15 @@ msgstr "o arg é uma sequência vazia"
|
||||
msgid "arg must be user-type"
|
||||
msgstr "o arg deve ser do tipo usuário"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr "O argumento argsort deve ser um ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr "argsort não é implementado para matrizes achatadas"
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr "argumento tem tipo errado"
|
||||
|
||||
@ -2563,8 +2617,7 @@ msgstr "o argumento num/tipos não combinam"
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr "o argumento deve ser um '%q' e não um '%q'"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr "os argumentos devem ser ndarrays"
|
||||
|
||||
@ -2577,11 +2630,11 @@ msgstr "a matriz e comprimento do índice devem ser iguais"
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr "matriz/bytes são necessários no lado direito"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr "tentativa de obter (arg)min/(arg)max da sequência vazia"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr "tente obter argmin/argmax de uma sequência vazia"
|
||||
|
||||
@ -2589,15 +2642,15 @@ msgstr "tente obter argmin/argmax de uma sequência vazia"
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "atributos ainda não suportados"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr "o eixo está fora dos limites"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr "eixo deve ser Nenhum ou um número inteiro"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr "o eixo é muito longo"
|
||||
|
||||
@ -2621,6 +2674,10 @@ msgstr "typecode incorreto"
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr "a operação binário %q não foi implementada"
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr "bits deve ser 32 ou menos"
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr "os bits devem estar na faixa entre 5 a 9"
|
||||
@ -2662,7 +2719,7 @@ msgstr "o buffer é pequeno demais para os bytes requisitados"
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr "os botões devem ser digitalio.DigitalInOut"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr "a ordem dos bytes não é uma cadeia de caracteres"
|
||||
|
||||
@ -2712,7 +2769,7 @@ msgid "can't cancel self"
|
||||
msgstr "não é possível cancelar a si mesmo"
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr "não é possível converter %q para %q"
|
||||
|
||||
@ -2819,6 +2876,10 @@ msgid ""
|
||||
msgstr ""
|
||||
"não é possível alternar da especificação de campo manual para a automática"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr "não é possível atribuir uma nova forma"
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr "não pode lançar a saída com a regra de fundição"
|
||||
@ -2917,19 +2978,19 @@ msgstr "constante deve ser um inteiro"
|
||||
msgid "conversion to object"
|
||||
msgstr "conversão para o objeto"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr "os argumentos convolutivos devem ser matrizes lineares"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr "os argumentos convolutivos devem ser ndarrays"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr "os argumentos convolutivos não devem estar vazios"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr "não foi possível inverter a matriz Vandermonde"
|
||||
|
||||
@ -2937,7 +2998,7 @@ msgstr "não foi possível inverter a matriz Vandermonde"
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr "não foi possível determinar a versão do cartão SD"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr "a cruz é definida para matrizes 1D de comprimento 3"
|
||||
|
||||
@ -2990,15 +3051,15 @@ msgstr "destination_length deve ser um int >= 0"
|
||||
msgid "dict update sequence has wrong length"
|
||||
msgstr "sequência da atualização dict tem o comprimento errado"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr "O argumento diff deve ser um ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr "ordem de diferenciação fora do alcance"
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr "as dimensões não coincidem"
|
||||
|
||||
@ -3125,7 +3186,7 @@ msgstr "o arquivo deve ser um arquivo aberto no modo byte"
|
||||
msgid "filesystem must provide mount method"
|
||||
msgstr "sistema de arquivos deve fornecer método de montagem"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr "o primeiro argumento deve ser chamável"
|
||||
|
||||
@ -3137,7 +3198,7 @@ msgstr "o primeiro argumento deve ser uma função"
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr "o primeiro argumento deve ser um tuple de ndarrays"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr "o primeiro argumento deve ser um ndarray"
|
||||
|
||||
@ -3147,13 +3208,13 @@ msgstr "o primeiro argumento para super() deve ser um tipo"
|
||||
|
||||
#: extmod/ulab/code/scipy/linalg/linalg.c
|
||||
msgid "first two arguments must be ndarrays"
|
||||
msgstr ""
|
||||
msgstr "os dois primeiros argumentos devem ser ndarrays"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr "a ordem do nivelamento deve ser 'C' ou 'F'"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr "o argumento flip deve ser um ndarray"
|
||||
|
||||
@ -3241,6 +3302,10 @@ msgstr "gerador StopIteration elevado"
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr "o gráfico deve ter 2048 bytes de comprimento"
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr "o hash é final"
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "a área de alocação dinâmica de variáveis (heap) deve ser uma lista"
|
||||
@ -3277,7 +3342,7 @@ msgstr "preenchimento incorreto"
|
||||
msgid "index is out of bounds"
|
||||
msgstr "o índice está fora dos limites"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3320,7 +3385,7 @@ msgstr "comprimento da matriz da entrada deve ter potência de 2"
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr "as matrizes da entrada não são compatíveis"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr "os dados da entrada devem ser iteráveis"
|
||||
|
||||
@ -3353,15 +3418,15 @@ msgstr "a entrada deve ser unidimensional"
|
||||
msgid "input must be square matrix"
|
||||
msgstr "a entrada deve ser uma matriz quadrada"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr "A entrada deve ser tupla, lista, intervalo ou matriz"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr "os vetores da entrada devem ter o mesmo comprimento"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr "as entradas não são iteráveis"
|
||||
|
||||
@ -3373,9 +3438,9 @@ msgstr "int() arg 2 deve ser >= 2 e <= 36"
|
||||
msgid "integer required"
|
||||
msgstr "inteiro requerido"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
msgstr "o interp é definido para iteráveis 1D com comprimento igual"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
#, c-format
|
||||
@ -3551,7 +3616,7 @@ msgstr "maxiter deve ser > 0"
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr "maxiter pode ser > 0"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr "o argumento mediano deve ser um ndarray"
|
||||
|
||||
@ -3570,11 +3635,15 @@ msgstr ""
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr "memoryview: o comprimento não é um múltiplo do tamanho dos itens"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr "o modo deve ser completo ou reduzido"
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "o módulo não foi encontrado"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr "mais graus de liberdade do que pontos de dados"
|
||||
|
||||
@ -3808,16 +3877,24 @@ msgstr ""
|
||||
msgid "opcode"
|
||||
msgstr "opcode"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr "os operandos não puderam ser transmitidos juntos"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr "a operação é definida apenas para as matrizes 2D"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr "a operação é definida apenas para ndarrays"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr "A operação é implementada apenas para matrizes booleanas 1D"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr "a operação não foi implementada nos ndarrays"
|
||||
|
||||
@ -4013,7 +4090,7 @@ msgstr "rgb_pins[%d] duplica outra atribuição dos pinos"
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr "rgb_pins[%d] não está na mesma porta que o clock"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr "argumento de enrolar deve ser um ndarray"
|
||||
|
||||
@ -4094,7 +4171,7 @@ msgstr "transbordamento int pequeno"
|
||||
msgid "soft reboot\n"
|
||||
msgstr "reinicialização soft\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr "o argumento da classificação deve ser um ndarray"
|
||||
|
||||
@ -4241,13 +4318,13 @@ msgstr "locais demais para o método nativo"
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr "valores demais para descompactar (esperado %d)"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr "o trapz está definido para 1D arrays de igual tamanho"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
msgstr "o trapz é definido para iteráveis 1D"
|
||||
|
||||
#: py/obj.c
|
||||
msgid "tuple/list has wrong length"
|
||||
@ -4408,7 +4485,7 @@ msgstr "o wifi não está ativo"
|
||||
msgid "window must be <= interval"
|
||||
msgstr "a janela deve ser <= intervalo"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr "índice do eixo errado"
|
||||
|
||||
@ -4416,12 +4493,11 @@ msgstr "índice do eixo errado"
|
||||
msgid "wrong axis specified"
|
||||
msgstr "um eixo errado foi definido"
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr "tipo da entrada incorreta"
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr "quantidade errada dos argumentos"
|
||||
|
||||
@ -4429,7 +4505,7 @@ msgstr "quantidade errada dos argumentos"
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr "quantidade incorreta dos valores para descompressão"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr "tipo da saída incorreta"
|
||||
|
||||
@ -4465,6 +4541,15 @@ msgstr "zi deve ser de um tipo float"
|
||||
msgid "zi must be of shape (n_section, 2)"
|
||||
msgstr "zi deve estar na forma (n_section, 2)"
|
||||
|
||||
#~ msgid "Instruction %d jumps on pin"
|
||||
#~ msgstr "A instrução %d salta no pino"
|
||||
|
||||
#~ msgid "%q must store bytes"
|
||||
#~ msgstr "o %q deve armazenar bytes"
|
||||
|
||||
#~ msgid "Buffer too large and unable to allocate"
|
||||
#~ msgstr "O buffer é muito grande e incapaz de alocar"
|
||||
|
||||
#~ msgid "interp is defined for 1D arrays of equal length"
|
||||
#~ msgstr "o interp é definido para matrizes 1D de igual comprimento"
|
||||
|
||||
|
207
locale/sv.po
207
locale/sv.po
@ -6,7 +6,7 @@ msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
|
||||
"PO-Revision-Date: 2021-05-30 13:32+0000\n"
|
||||
"PO-Revision-Date: 2021-07-24 15:35+0000\n"
|
||||
"Last-Translator: Jonny Bergdahl <jonny@bergdahl.it>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"Language: sv\n"
|
||||
@ -14,7 +14,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
||||
"X-Generator: Weblate 4.7-dev\n"
|
||||
"X-Generator: Weblate 4.7.2-dev\n"
|
||||
|
||||
#: main.c
|
||||
msgid ""
|
||||
@ -54,6 +54,10 @@ msgstr " Fil \"%q\", rad %d"
|
||||
msgid " is of type %q\n"
|
||||
msgstr " är av typen %q\n"
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr " hittades inte.\n"
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " utdata:\n"
|
||||
@ -91,10 +95,22 @@ msgstr "Index %q ligger utanför intervallet"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "Indexet %q måste vara ett heltal, inte %s"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr "längden på %q måste vara %q"
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr "%q-listan måste vara en lista"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr "%q måste vara <=%d"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr "%q måste vara %d-%d"
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr "%q måste vara 0-255"
|
||||
@ -103,7 +119,11 @@ msgstr "%q måste vara 0-255"
|
||||
msgid "%q must be 1-255"
|
||||
msgstr "%q måste vara 1-255"
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr "%q måste vara >= %d"
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%q måste vara >= 0"
|
||||
|
||||
@ -119,10 +139,26 @@ msgstr "%q måste vara >= 1"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr "%q måste vara None eller mellan 1 och len(report_descriptor)-1"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr "%q måste vara en sträng"
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%q måste vara en tuple av längd 2"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr "%q måste vara mellan %d och %d"
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr "%q måste vara en potens av 2"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr "%q måste av typen %q"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -365,6 +401,7 @@ msgstr "Alla kanaler används"
|
||||
msgid "All event channels in use"
|
||||
msgstr "Alla händelsekanaler används"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr "Alla tillståndsmaskiner används"
|
||||
@ -572,10 +609,6 @@ msgstr "Bufferten måste vara en multipel av 512 byte"
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "Bufferten måste ha minst längd 1"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr "Bufferten är för stor och kan inte allokeras"
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
@ -855,6 +888,10 @@ msgstr "Datapinne 0 måste vara byte-justerad."
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr "Datasegmentet måste följa fmt-segmentet"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr "Data stöds inte med riktad annonsering"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr "Data för stor för annonseringspaket"
|
||||
@ -956,7 +993,7 @@ msgstr "Förväntade en adress"
|
||||
msgid "Expected an alarm"
|
||||
msgstr "Förväntade ett larm"
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr "Förväntad tupel med längd %d, fick %d"
|
||||
@ -1169,8 +1206,8 @@ msgstr "Indata-/utdatafel"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgstr "Instruktion %d hoppar på pinne"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr "Saknar jmp_pin. Instruktion %d hoppar på pin"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
@ -1257,6 +1294,7 @@ msgstr "Ogiltig MIDI-fil"
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1281,7 +1319,7 @@ msgstr "Ogiltigt värde för bitar per värde"
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Ogiltig buffertstorlek"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr "Ogiltig byteorder-sträng"
|
||||
|
||||
@ -1299,6 +1337,11 @@ msgstr "Ogiltigt kanalantal"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr "Ogiltig data_count %d"
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr "Ogiltig data_pins[%d]"
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "Ogiltig riktning."
|
||||
@ -1311,7 +1354,7 @@ msgstr "Felaktig fil"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "Ogiltig formatsegmentstorlek"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr "Ogiltig frekvens"
|
||||
|
||||
@ -1483,7 +1526,7 @@ msgstr "Saknad first_out_pin. Instruktion %d skriver till pinnar"
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr "Saknad first_set_pin. Instruktion %d sätter pinnar"
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr "Måste vara en %q-subklass."
|
||||
|
||||
@ -1649,7 +1692,6 @@ msgstr "Nordic systemfirmware fick slut på minne"
|
||||
msgid "Not a valid IP string"
|
||||
msgstr "Inte en giltig IP-sträng"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1695,6 +1737,10 @@ msgid ""
|
||||
msgstr ""
|
||||
"Endast Windows-format, okomprimerad BMP stöds: given headerstorlek är %d"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr "Endast anslutningsbara annonseringar kan dirigeras"
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr "Endast kantdetektering är tillgänglig för denna hårdvara"
|
||||
@ -1718,6 +1764,7 @@ msgstr "Endast ett TouchAlarm kan ställas in för djupsömn."
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr "Endast ett alarm.time kan ställas in."
|
||||
@ -1843,6 +1890,7 @@ msgstr ""
|
||||
"%d byte. Om detta inte kan undvikas, skicka allow_inefficient=True till "
|
||||
"konstruktorn"
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr "Pinnarna måste vara i sekvens"
|
||||
@ -2023,6 +2071,10 @@ msgstr "SPI Init-fel"
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr "SPI reinitialiseringsfel"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr "SPI-konfigurationen misslyckades"
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr "SPI-enhet används redan"
|
||||
@ -2061,6 +2113,7 @@ msgstr "Sido-setets antal pinnar måste vara mellan 1 och 5"
|
||||
msgid "Size not supported"
|
||||
msgstr "Storleken stöds inte"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr "Sömnminne inte tillgängligt"
|
||||
@ -2213,6 +2266,7 @@ msgstr "För många displayer"
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr "Totala data att skriva är större än %q"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr "Touchalarm är inte tillgängligt"
|
||||
@ -2343,7 +2397,7 @@ msgstr "Okänt säkerhetsfel: 0x%04x"
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr "Okänt systemfirmwarefel: %04x"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr "Omatchat antal på RHS (förväntat %d, fick %d)."
|
||||
@ -2508,15 +2562,15 @@ msgstr "arg är en tom sekvens"
|
||||
msgid "arg must be user-type"
|
||||
msgstr "arg måste vara av användartyp"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr "argumentet argsort måste vara en ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr "argsort är inte implementerad för tillplattade matriser"
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr "argumentet har fel typ"
|
||||
|
||||
@ -2533,8 +2587,7 @@ msgstr "argument antal/typ matchar inte"
|
||||
msgid "argument should be a '%q' not a '%q'"
|
||||
msgstr "argumentet skall vara en '%q', inte en '%q'"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr "argumenten måste vara ndarray"
|
||||
|
||||
@ -2547,11 +2600,11 @@ msgstr "array och indexlängd måste vara lika"
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr "array/bytes krävs på höger sida"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr "försök att läsa (arg)min/(arg)max av tom sekvens"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr "försök att få argmin/argmax för en tom sekvens"
|
||||
|
||||
@ -2559,15 +2612,15 @@ msgstr "försök att få argmin/argmax för en tom sekvens"
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "attribut stöds inte än"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr "axis är utanför gränsen"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr "axis måste vara None eller ett heltal"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr "axis för lång"
|
||||
|
||||
@ -2591,6 +2644,10 @@ msgstr "Ogiltig typkod"
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr "binär op %q är inte implementerad"
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr "bits måste vara 32 eller färre"
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr "bits måste mellan 5 och 9"
|
||||
@ -2632,7 +2689,7 @@ msgstr "buffert för liten för begärd längd"
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr "buttons måste vara digitalio.DigitalInOut"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr "byteorder är inte en sträng"
|
||||
|
||||
@ -2682,7 +2739,7 @@ msgid "can't cancel self"
|
||||
msgstr "kan inte avbryta sig själv"
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr "kan inte konvertera %q till %q"
|
||||
|
||||
@ -2787,6 +2844,10 @@ msgid ""
|
||||
msgstr ""
|
||||
"kan inte byta från manuell fältspecifikation till automatisk fältnumrering"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr "kan inte tilldela en ny form"
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr "kan inte casta utdata med regel"
|
||||
@ -2883,19 +2944,19 @@ msgstr "konstant måste vara ett heltal"
|
||||
msgid "conversion to object"
|
||||
msgstr "konvertering till objekt"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr "Argumenten convolve måste vara linjära matriser"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr "Argumenten convolve måste vara ndarray:er"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr "Argumenten convolve kan inte vara tomma"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr "kan inte invertera Vandermonde-matris"
|
||||
|
||||
@ -2903,7 +2964,7 @@ msgstr "kan inte invertera Vandermonde-matris"
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr "kan inte avgöra SD-kortversion"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr "cross är definierad för 1D-matriser med längd 3"
|
||||
|
||||
@ -2956,15 +3017,15 @@ msgstr "destination_length måste vara ett heltal >= 0"
|
||||
msgid "dict update sequence has wrong length"
|
||||
msgstr "uppdateringssekvensen för dict har fel längd"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr "argumentet diff måste vara en ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr "differentieringsordning utanför intervallet"
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr "dimensioner matchar inte"
|
||||
|
||||
@ -3091,7 +3152,7 @@ msgstr "filen måste vara en fil som öppnats i byte-läge"
|
||||
msgid "filesystem must provide mount method"
|
||||
msgstr "filsystemet måste tillhandahålla mount-metod"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr "första argumentet måste vara en callable"
|
||||
|
||||
@ -3103,7 +3164,7 @@ msgstr "första argumentet måste vara en funktion"
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr "första argumentet måste vara en tupel av ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr "första argumentet måste vara en ndarray"
|
||||
|
||||
@ -3113,13 +3174,13 @@ msgstr "första argumentet till super() måste vara typ"
|
||||
|
||||
#: extmod/ulab/code/scipy/linalg/linalg.c
|
||||
msgid "first two arguments must be ndarrays"
|
||||
msgstr ""
|
||||
msgstr "De två första argumenten måste vara ndarray:er"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr "förenklingsordningen måste vara antingen \"C\" eller \"F\""
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr "Argumentet flip måste vara en ndarray"
|
||||
|
||||
@ -3207,6 +3268,10 @@ msgstr "generator kastade StopIteration"
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr "graphic måste vara 2048 byte lång"
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr "hash är slutgiltig"
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "heap måste vara en lista"
|
||||
@ -3243,7 +3308,7 @@ msgstr "felaktig utfyllnad"
|
||||
msgid "index is out of bounds"
|
||||
msgstr "index är utanför gränserna"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3285,7 +3350,7 @@ msgstr "indataarraylängden måste vara en multipel av 2"
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr "indatamatriser är inte kompatibla"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr "indata måste vara en iterable"
|
||||
|
||||
@ -3318,15 +3383,15 @@ msgstr "indata måste vara endimensionell"
|
||||
msgid "input must be square matrix"
|
||||
msgstr "indata måste vara kvadratmatris"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr "indata måste vara tupel, lista, range, eller ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr "indatavektorer måste ha samma längd"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr "indata är inte iterbara"
|
||||
|
||||
@ -3338,9 +3403,9 @@ msgstr "int() arg 2 måste vara >= 2 och <= 36"
|
||||
msgid "integer required"
|
||||
msgstr "heltal krävs"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
msgstr "interp är definierad för 1D-iterabla med samma längd"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
#, c-format
|
||||
@ -3516,7 +3581,7 @@ msgstr "maxiter måste vara > 0"
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr "maxiter bör vara > 0"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr "argumentet median måste vara en ndarray"
|
||||
|
||||
@ -3533,11 +3598,15 @@ msgstr "minnesallokeringen misslyckades, heapen är låst"
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr "memoryview: längden är inte en multipel av itemsize"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr "mode måste vara complete, eller reduced"
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "modulen hittades inte"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr "fler frihetsgrader än datapunkter"
|
||||
|
||||
@ -3770,16 +3839,24 @@ msgstr "endast segment med steg=1 (aka Ingen) stöds"
|
||||
msgid "opcode"
|
||||
msgstr "opkod"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr "operander kan inte sändas tillsammans"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr "operation definierad endast för 2D-matriser"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr "operation definierad endast för ndarrays"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr "operationen är enbart implementerad för 1D Boolean-matriser"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr "åtgärden är inte implementerad för ndarray:er"
|
||||
|
||||
@ -3972,7 +4049,7 @@ msgstr "rgb_pins[%d] duplicerar en annan pinntilldelning"
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr "rgb_pins[%d] är inte på samma port som en klocka"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr "argumentet roll måste vara en ndarray"
|
||||
|
||||
@ -4053,7 +4130,7 @@ msgstr "värdet för small int överskreds"
|
||||
msgid "soft reboot\n"
|
||||
msgstr "mjuk omstart\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr "argumentet sort måste vara en ndarray"
|
||||
|
||||
@ -4200,13 +4277,13 @@ msgstr "för många locals för nativ metod"
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr "för många värden att packa upp (förväntat %d)"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr "trapz är definierad för 1D-matriser med samma längd"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
msgstr "trapz är definierat för 1D-iterabla"
|
||||
|
||||
#: py/obj.c
|
||||
msgid "tuple/list has wrong length"
|
||||
@ -4367,7 +4444,7 @@ msgstr "wifi är inte aktiverat"
|
||||
msgid "window must be <= interval"
|
||||
msgstr "window måste vara <= interval"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr "fel axelindex"
|
||||
|
||||
@ -4375,12 +4452,11 @@ msgstr "fel axelindex"
|
||||
msgid "wrong axis specified"
|
||||
msgstr "fel axel angiven"
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr "fel indatatyp"
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr "fel antal argument"
|
||||
|
||||
@ -4388,7 +4464,7 @@ msgstr "fel antal argument"
|
||||
msgid "wrong number of values to unpack"
|
||||
msgstr "fel antal värden för att packa upp"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr "fel utdatatyp"
|
||||
|
||||
@ -4424,6 +4500,15 @@ msgstr "zi måste vara av typ float"
|
||||
msgid "zi must be of shape (n_section, 2)"
|
||||
msgstr "zi måste vara i formen (n_section, 2)"
|
||||
|
||||
#~ msgid "Instruction %d jumps on pin"
|
||||
#~ msgstr "Instruktion %d hoppar på pinne"
|
||||
|
||||
#~ msgid "%q must store bytes"
|
||||
#~ msgstr "%q måste lagra bytes"
|
||||
|
||||
#~ msgid "Buffer too large and unable to allocate"
|
||||
#~ msgstr "Bufferten är för stor och kan inte allokeras"
|
||||
|
||||
#~ msgid "interp is defined for 1D arrays of equal length"
|
||||
#~ msgstr "interp är definierad för 1D-matriser med samma längd"
|
||||
|
||||
|
@ -7,7 +7,7 @@ msgstr ""
|
||||
"Project-Id-Version: circuitpython-cn\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2021-01-04 12:55-0600\n"
|
||||
"PO-Revision-Date: 2021-06-01 13:10+0000\n"
|
||||
"PO-Revision-Date: 2021-07-06 16:32+0000\n"
|
||||
"Last-Translator: hexthat <hexthat@gmail.com>\n"
|
||||
"Language-Team: Chinese Hanyu Pinyin\n"
|
||||
"Language: zh_Latn_pinyin\n"
|
||||
@ -15,7 +15,7 @@ msgstr ""
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"Plural-Forms: nplurals=1; plural=0;\n"
|
||||
"X-Generator: Weblate 4.7-dev\n"
|
||||
"X-Generator: Weblate 4.8-dev\n"
|
||||
|
||||
#: main.c
|
||||
msgid ""
|
||||
@ -55,6 +55,10 @@ msgstr " Wénjiàn \"%q\", dì %d xíng"
|
||||
msgid " is of type %q\n"
|
||||
msgstr " shì %q lèi xíng\n"
|
||||
|
||||
#: main.c
|
||||
msgid " not found.\n"
|
||||
msgstr " wèi zhǎo dào.\n"
|
||||
|
||||
#: main.c
|
||||
msgid " output:\n"
|
||||
msgstr " shūchū:\n"
|
||||
@ -93,10 +97,22 @@ msgstr "%q suǒyǐn chāochū fànwéi"
|
||||
msgid "%q indices must be integers, not %s"
|
||||
msgstr "%q suǒyǐn bìxū shì zhěngshù, ér bùshì %s"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q length must be %q"
|
||||
msgstr "%q cháng dù bì xū wéi %q"
|
||||
|
||||
#: shared-bindings/vectorio/Polygon.c
|
||||
msgid "%q list must be a list"
|
||||
msgstr "%q lièbiǎo bìxū shì lièbiǎo"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must <= %d"
|
||||
msgstr "%q bì xū <= %d"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be %d-%d"
|
||||
msgstr "%q bì xū wéi %d-%d"
|
||||
|
||||
#: shared-bindings/usb_hid/Device.c
|
||||
msgid "%q must be 0-255"
|
||||
msgstr "%q bì xū wéi 0-255"
|
||||
@ -105,7 +121,11 @@ msgstr "%q bì xū wéi 0-255"
|
||||
msgid "%q must be 1-255"
|
||||
msgstr "%q bì xū wéi 1-255"
|
||||
|
||||
#: shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be >= %d"
|
||||
msgstr "%q bì xū >= %d"
|
||||
|
||||
#: py/argcheck.c shared-bindings/memorymonitor/AllocationAlarm.c
|
||||
msgid "%q must be >= 0"
|
||||
msgstr "%q Bìxū > = 0"
|
||||
|
||||
@ -121,10 +141,26 @@ msgstr "%q bìxū dàyú huò děngyú 1"
|
||||
msgid "%q must be None or between 1 and len(report_descriptor)-1"
|
||||
msgstr "%q bì xū wéi wú huò zài 1 hé len(report_descriptor)-1 zhī jiān"
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must be a string"
|
||||
msgstr "%q bì xū shì yí gè zì fú chuàn"
|
||||
|
||||
#: shared-module/vectorio/Polygon.c
|
||||
msgid "%q must be a tuple of length 2"
|
||||
msgstr "%q bìxū shì chángdù wèi 2 de yuán zǔ"
|
||||
|
||||
#: ports/esp32s2/common-hal/imagecapture/ParallelImageCapture.c
|
||||
msgid "%q must be between %d and %d"
|
||||
msgstr "%q bì xū zài %d hé %d zhī jiān"
|
||||
|
||||
#: ports/atmel-samd/common-hal/busio/UART.c
|
||||
msgid "%q must be power of 2"
|
||||
msgstr ""
|
||||
|
||||
#: py/argcheck.c
|
||||
msgid "%q must of type %q"
|
||||
msgstr "%q bì xū lèi xíng %q"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#: shared-bindings/canio/Match.c
|
||||
msgid "%q out of range"
|
||||
@ -367,6 +403,7 @@ msgstr "suǒ yǒu shǐ yòng de tōng dào"
|
||||
msgid "All event channels in use"
|
||||
msgstr "Suǒyǒu shǐyòng de shìjiàn píndào"
|
||||
|
||||
#: ports/raspberrypi/common-hal/pulseio/PulseIn.c
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
msgid "All state machines in use"
|
||||
msgstr "suǒ yǒu zhèng zài shǐ yòng de zhuàng tài jī"
|
||||
@ -502,7 +539,7 @@ msgstr "Bǐtè shízhōng hé dānzì xuǎnzé bìxū gòngxiǎng shízhōng dā
|
||||
#: shared-bindings/rgbmatrix/RGBMatrix.c
|
||||
#, c-format
|
||||
msgid "Bit depth must be from 1 to 6 inclusive, not %d"
|
||||
msgstr "wèi shēn dù bì xū bāo hán 1 dào 6, ér bù shì %d"
|
||||
msgstr "wèi shēn dù bì xū bāo hán 1 dào 6, ér bù shì %d"
|
||||
|
||||
#: shared-bindings/audiobusio/PDMIn.c
|
||||
msgid "Bit depth must be multiple of 8."
|
||||
@ -574,14 +611,10 @@ msgstr "Huǎn chōng qū bì xū shì 512 zì jié de bèi shù"
|
||||
msgid "Buffer must be at least length 1"
|
||||
msgstr "Huǎnchōng qū bìxū zhìshǎo chángdù 1"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
msgid "Buffer too large and unable to allocate"
|
||||
msgstr "Huǎn chōng qū tài dà , wú fǎ fēn pèi"
|
||||
|
||||
#: shared-bindings/_bleio/PacketBuffer.c
|
||||
#, c-format
|
||||
msgid "Buffer too short by %d bytes"
|
||||
msgstr "Huǎn chōng qū tài duǎn , àn %d zì jié"
|
||||
msgstr "Huǎn chōng qū tài duǎn , àn %d zì jié"
|
||||
|
||||
#: ports/atmel-samd/common-hal/displayio/ParallelBus.c
|
||||
#: ports/esp32s2/common-hal/displayio/ParallelBus.c
|
||||
@ -854,6 +887,10 @@ msgstr "shù jù 0 yǐn jiǎo bì xū àn zì jié duì qí."
|
||||
msgid "Data chunk must follow fmt chunk"
|
||||
msgstr "Shùjù kuài bìxū zūnxún fmt qū kuài"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data not supported with directed advertising"
|
||||
msgstr "bù zhī chí dìng xiàng guǎng gào de shù jù"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/Adapter.c
|
||||
msgid "Data too large for advertisement packet"
|
||||
msgstr "Guǎnggào bāo de shùjù tài dà"
|
||||
@ -956,7 +993,7 @@ msgstr "Qídài yīgè dìzhǐ"
|
||||
msgid "Expected an alarm"
|
||||
msgstr "yù qī yǒu jǐng bào"
|
||||
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Expected tuple of length %d, got %d"
|
||||
msgstr "Qīwàng de chángdù wèi %d de yuán zǔ, dédào %d"
|
||||
@ -1172,8 +1209,8 @@ msgstr "Shūrù/shūchū cuòwù"
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
msgid "Instruction %d jumps on pin"
|
||||
msgstr "zhǐ lìng %d zài yǐn jiǎo shàng tiào zhuǎn"
|
||||
msgid "Missing jmp_pin. Instruction %d jumps on pin"
|
||||
msgstr ""
|
||||
|
||||
#: ports/raspberrypi/common-hal/rp2pio/StateMachine.c
|
||||
#, c-format
|
||||
@ -1260,6 +1297,7 @@ msgstr "wú xiào de MIDI wén jiàn"
|
||||
|
||||
#: ports/atmel-samd/common-hal/pwmio/PWMOut.c
|
||||
#: ports/cxd56/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/mimxrt10xx/common-hal/pwmio/PWMOut.c
|
||||
#: ports/nrf/common-hal/pwmio/PWMOut.c
|
||||
#: ports/raspberrypi/common-hal/pwmio/PWMOut.c shared-bindings/pwmio/PWMOut.c
|
||||
@ -1284,7 +1322,7 @@ msgstr "Měi gè zhí de wèi wúxiào"
|
||||
msgid "Invalid buffer size"
|
||||
msgstr "Wúxiào de huǎnchōng qū dàxiǎo"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "Invalid byteorder string"
|
||||
msgstr "Wúxiào de zì jié shùnxù zìfú chuàn"
|
||||
|
||||
@ -1302,6 +1340,11 @@ msgstr "Wúxiào de tōngdào jìshù"
|
||||
msgid "Invalid data_count %d"
|
||||
msgstr "wú xiào data_count %d"
|
||||
|
||||
#: ports/atmel-samd/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#, c-format
|
||||
msgid "Invalid data_pins[%d]"
|
||||
msgstr "wú xiào data_pins[%d]"
|
||||
|
||||
#: shared-bindings/digitalio/DigitalInOut.c
|
||||
msgid "Invalid direction."
|
||||
msgstr "Wúxiào de fāngxiàng."
|
||||
@ -1314,7 +1357,7 @@ msgstr "Wúxiào de wénjiàn"
|
||||
msgid "Invalid format chunk size"
|
||||
msgstr "Géshì kuài dàxiǎo wúxiào"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c ports/esp32s2/common-hal/pwmio/PWMOut.c
|
||||
#: ports/esp32s2/common-hal/busio/I2C.c
|
||||
msgid "Invalid frequency"
|
||||
msgstr "Wúxiào de pínlǜ"
|
||||
|
||||
@ -1486,7 +1529,7 @@ msgstr "xiān lòu chū yǐn jiǎo. zhǐ lìng %d xiě rù yǐn jiǎo"
|
||||
msgid "Missing first_set_pin. Instruction %d sets pin(s)"
|
||||
msgstr "quē shǎo dì yī zǔ yǐn jiǎo. zhǐ lìng %d shè zhì yǐn jiǎo"
|
||||
|
||||
#: shared-bindings/displayio/Group.c
|
||||
#: shared-bindings/busio/UART.c shared-bindings/displayio/Group.c
|
||||
msgid "Must be a %q subclass."
|
||||
msgstr "Bìxū shì %q zi lèi."
|
||||
|
||||
@ -1652,7 +1695,6 @@ msgstr "běi ōu xì tǒng gù jiàn chū nèi cún"
|
||||
msgid "Not a valid IP string"
|
||||
msgstr "Wúxiào de IP zìfú chuàn"
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/PacketBuffer.c
|
||||
#: ports/nrf/common-hal/_bleio/__init__.c
|
||||
#: shared-bindings/_bleio/CharacteristicBuffer.c
|
||||
msgid "Not connected"
|
||||
@ -1698,6 +1740,10 @@ msgstr ""
|
||||
"Jǐn zhīchí Windows géshì, zhīchí wèi yāsuō de BMP: Gěi dìng de biāo tóu "
|
||||
"dàxiǎo wèi %d"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
msgid "Only connectable advertisements can be directed"
|
||||
msgstr "zhǐ yǒu kě lián jiē de guǎng gào cái néng bèi yǐn dǎo"
|
||||
|
||||
#: ports/stm/common-hal/alarm/pin/PinAlarm.c
|
||||
msgid "Only edge detection is available on this hardware"
|
||||
msgstr "cǐ yìng jiàn shàng jǐn tí gòng biān yuán jiǎn cè"
|
||||
@ -1721,6 +1767,7 @@ msgstr "zhǐ yǒu yí gè chù mō bì kě yǐ shè zhì zài shēn dù shuì mi
|
||||
|
||||
#: ports/esp32s2/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/nrf/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/raspberrypi/common-hal/alarm/time/TimeAlarm.c
|
||||
#: ports/stm/common-hal/alarm/time/TimeAlarm.c
|
||||
msgid "Only one alarm.time alarm can be set."
|
||||
msgstr "zhǐ néng shè zhì yí gè bào jǐng."
|
||||
@ -1845,6 +1892,7 @@ msgstr ""
|
||||
"duōzì jié. Rúguǒ wúfǎ bìmiǎn, qǐng jiāng allow_inefficient = True chuándì "
|
||||
"gěigòuzào hánshù"
|
||||
|
||||
#: ports/raspberrypi/common-hal/imagecapture/ParallelImageCapture.c
|
||||
#: ports/raspberrypi/common-hal/rotaryio/IncrementalEncoder.c
|
||||
msgid "Pins must be sequential"
|
||||
msgstr "yǐn jiǎo bì xū shì lián xù de"
|
||||
@ -2022,6 +2070,10 @@ msgstr "SPI chūshǐhuà cuòwù"
|
||||
msgid "SPI Re-initialization error"
|
||||
msgstr "SPI chóngxīn chūshǐhuà cuòwù"
|
||||
|
||||
#: ports/esp32s2/common-hal/busio/SPI.c
|
||||
msgid "SPI configuration failed"
|
||||
msgstr "SPI pèi zhì shī bài"
|
||||
|
||||
#: ports/raspberrypi/common-hal/busio/SPI.c
|
||||
msgid "SPI peripheral in use"
|
||||
msgstr "SPI wài shè zhèng zài shǐ yòng zhōng"
|
||||
@ -2060,6 +2112,7 @@ msgstr "cè miàn shè zhì yǐn jiǎo shù bì xū jiè yú 1 hé 5 zhī jiān"
|
||||
msgid "Size not supported"
|
||||
msgstr "bù zhī chí dà xiǎo"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/SleepMemory.c
|
||||
#: ports/stm/common-hal/alarm/SleepMemory.c
|
||||
msgid "Sleep Memory not available"
|
||||
msgstr "shuì mián jì yì bù kě yòng"
|
||||
@ -2125,7 +2178,7 @@ msgid ""
|
||||
"Increase the stack size if you know how. If not:"
|
||||
msgstr ""
|
||||
"diàn lù dàn duī bèi sǔn huài, yīn wéi duī zhàn tài xiǎo.\n"
|
||||
"rú guǒ nín zhī dào rú hé zēng jiā duī zhàn dà xiǎo. rú guǒ méi yǒu:"
|
||||
"rú guǒ nín zhī dào rú hé zēng jiā duī zhàn dà xiǎo. rú guǒ méi yǒu:"
|
||||
|
||||
#: supervisor/shared/safe_mode.c
|
||||
msgid ""
|
||||
@ -2211,6 +2264,7 @@ msgstr "Xiǎnshì tài duō"
|
||||
msgid "Total data to write is larger than %q"
|
||||
msgstr "yào biān xiě de zǒng shù jù dà yú %q"
|
||||
|
||||
#: ports/raspberrypi/common-hal/alarm/touch/TouchAlarm.c
|
||||
#: ports/stm/common-hal/alarm/touch/TouchAlarm.c
|
||||
msgid "Touch alarms not available"
|
||||
msgstr "bù kě yòng chù mō bào jǐng qì"
|
||||
@ -2306,7 +2360,7 @@ msgstr "Wúfǎ xiě rù nvm."
|
||||
|
||||
#: shared-bindings/alarm/SleepMemory.c
|
||||
msgid "Unable to write to sleep_memory."
|
||||
msgstr "wú fǎ xiě rù sleep_memory。"
|
||||
msgstr "wú fǎ xiě rù sleep_memory."
|
||||
|
||||
#: ports/nrf/common-hal/_bleio/UUID.c
|
||||
msgid "Unexpected nrfx uuid type"
|
||||
@ -2341,7 +2395,7 @@ msgstr "Wèizhī de ānquán cuòwù: 0x%04x"
|
||||
msgid "Unknown system firmware error: %04x"
|
||||
msgstr "wèi zhī xì tǒng gù jiàn cuò wù: %04x"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
#, c-format
|
||||
msgid "Unmatched number of items on RHS (expected %d, got %d)."
|
||||
msgstr "RHS (yùqí %d, huòdé %d) shàng wèi pǐpèi de xiàngmù."
|
||||
@ -2507,15 +2561,15 @@ msgstr "cānshù shì yīgè kōng de xùliè"
|
||||
msgid "arg must be user-type"
|
||||
msgstr "cān shù bì xū shì yòng hù lèi xíng"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort argument must be an ndarray"
|
||||
msgstr "argsort cānshù bìxū shì ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "argsort is not implemented for flattened arrays"
|
||||
msgstr "wèi wéi pīn hé shù zǔ shí xiàn argsort"
|
||||
|
||||
#: py/runtime.c
|
||||
#: py/runtime.c shared-bindings/supervisor/__init__.c
|
||||
msgid "argument has wrong type"
|
||||
msgstr "cānshù lèixíng cuòwù"
|
||||
|
||||
@ -2532,8 +2586,7 @@ 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/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/numpy/transform.c
|
||||
msgid "arguments must be ndarrays"
|
||||
msgstr "cānshù bìxū shì ndarrays"
|
||||
|
||||
@ -2546,11 +2599,11 @@ msgstr "shù zǔ hé suǒ yǐn cháng dù bì xū xiāng děng"
|
||||
msgid "array/bytes required on right side"
|
||||
msgstr "yòu cè xūyào shùzǔ/zì jié"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get (arg)min/(arg)max of empty sequence"
|
||||
msgstr "cháng shì huò qǔ (arg) zuì xiǎo zhí /(arg) zuì dà kōng xù liè"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "attempt to get argmin/argmax of an empty sequence"
|
||||
msgstr "chángshì huòqǔ kōng xùliè de argmin/ argmax"
|
||||
|
||||
@ -2558,15 +2611,15 @@ msgstr "chángshì huòqǔ kōng xùliè de argmin/ argmax"
|
||||
msgid "attributes not supported yet"
|
||||
msgstr "shǔxìng shàngwèi zhīchí"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis is out of bounds"
|
||||
msgstr "zhóu chāo chū biān jiè"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
msgid "axis must be None, or an integer"
|
||||
msgstr "zhóu bì xū wéi \" wú \" huò zhěng shù"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "axis too long"
|
||||
msgstr "zhóu tài cháng"
|
||||
|
||||
@ -2590,6 +2643,10 @@ msgstr "cuòwù de dàimǎ lèixíng"
|
||||
msgid "binary op %q not implemented"
|
||||
msgstr "èrjìnzhì bǎn qián bǎn %q wèi zhíxíng"
|
||||
|
||||
#: extmod/modurandom.c
|
||||
msgid "bits must be 32 or less"
|
||||
msgstr "wèi bì xū shì 32 huò gèng shǎo"
|
||||
|
||||
#: shared-bindings/busio/UART.c
|
||||
msgid "bits must be in range 5 to 9"
|
||||
msgstr "wèi bì xū zài fàn wéi nèi 5 zhì 9"
|
||||
@ -2631,7 +2688,7 @@ msgstr "huǎn chōng qū tài xiǎo, duì yú qǐng qiú de zì jié"
|
||||
msgid "buttons must be digitalio.DigitalInOut"
|
||||
msgstr "ànniǔ bìxū shì digitalio.DigitalInOut"
|
||||
|
||||
#: shared-bindings/_pixelbuf/PixelBuf.c
|
||||
#: shared-bindings/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "byteorder is not a string"
|
||||
msgstr "byteorder bùshì zìfú chuàn"
|
||||
|
||||
@ -2681,7 +2738,7 @@ msgid "can't cancel self"
|
||||
msgstr "bù néng qǔ xiāo zì wǒ"
|
||||
|
||||
#: py/obj.c py/objint.c shared-bindings/i2cperipheral/I2CPeripheral.c
|
||||
#: shared-module/_pixelbuf/PixelBuf.c
|
||||
#: shared-module/adafruit_pixelbuf/PixelBuf.c
|
||||
msgid "can't convert %q to %q"
|
||||
msgstr "Wúfǎ jiāng %q zhuǎnhuàn wèi %q"
|
||||
|
||||
@ -2784,6 +2841,10 @@ msgid ""
|
||||
"can't switch from manual field specification to automatic field numbering"
|
||||
msgstr "wúfǎ cóng shǒudòng zìduàn guīgé qiēhuàn dào zìdòng zìduàn biānhào"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "cannot assign new shape"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray_operators.c
|
||||
msgid "cannot cast output with casting rule"
|
||||
msgstr ""
|
||||
@ -2884,19 +2945,19 @@ 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/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be linear arrays"
|
||||
msgstr "juàn jī cānshù bìxū shì xiànxìng shùzǔ"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must be ndarrays"
|
||||
msgstr "juàn jī cānshù bìxū shì ndarrays"
|
||||
|
||||
#: extmod/ulab/code/numpy/filter/filter.c
|
||||
#: extmod/ulab/code/numpy/filter.c
|
||||
msgid "convolve arguments must not be empty"
|
||||
msgstr "juàn jī cān shǔ bùnéng wéi kōng"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "could not invert Vandermonde matrix"
|
||||
msgstr "wúfǎ fǎn zhuǎn fàndéméng dé jǔzhèn"
|
||||
|
||||
@ -2904,7 +2965,7 @@ msgstr "wúfǎ fǎn zhuǎn fàndéméng dé jǔzhèn"
|
||||
msgid "couldn't determine SD card version"
|
||||
msgstr "wúfǎ quèdìng SD kǎ bǎnběn"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "cross is defined for 1D arrays of length 3"
|
||||
msgstr "duì yú cháng dù wéi 3 de 1D shù zǔ dìng yì cross"
|
||||
|
||||
@ -2956,15 +3017,15 @@ 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/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "diff argument must be an ndarray"
|
||||
msgstr "bùtóng de cānshù bìxū shì ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "differentiation order out of range"
|
||||
msgstr "chā yì shùn xù fàn wéi"
|
||||
|
||||
#: extmod/ulab/code/numpy/transform/transform.c
|
||||
#: extmod/ulab/code/numpy/transform.c
|
||||
msgid "dimensions do not match"
|
||||
msgstr "chǐ cùn bù pǐ pèi"
|
||||
|
||||
@ -3091,7 +3152,7 @@ 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/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be a callable"
|
||||
msgstr "dì yī gè cānshù bìxū shì kě tiáo yòng de"
|
||||
|
||||
@ -3103,7 +3164,7 @@ msgstr "dì yīgè cānshù bìxū shì yī gè hánshù"
|
||||
msgid "first argument must be a tuple of ndarrays"
|
||||
msgstr "dì yī gè cān shù bì xū shì yí gè yuán zǔ ndarrays"
|
||||
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "first argument must be an ndarray"
|
||||
msgstr "dì yī gè cānshù bìxū shì ndarray"
|
||||
|
||||
@ -3113,13 +3174,13 @@ msgstr "chāojí () de dì yī gè cānshù bìxū shì lèixíng"
|
||||
|
||||
#: extmod/ulab/code/scipy/linalg/linalg.c
|
||||
msgid "first two arguments must be ndarrays"
|
||||
msgstr ""
|
||||
msgstr "qián liǎng gè cān shù bì xū shì ndarrays"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "flattening order must be either 'C', or 'F'"
|
||||
msgstr "īnhé shùnxù bìxū wèi 'C' huò 'F'"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "flip argument must be an ndarray"
|
||||
msgstr "fānzhuǎn shēn shù bìxū shì ndarray"
|
||||
|
||||
@ -3207,6 +3268,10 @@ msgstr "fā diàn jī tí chū tíng zhǐ"
|
||||
msgid "graphic must be 2048 bytes long"
|
||||
msgstr "túxíng bìxū wèi 2048 zì jié"
|
||||
|
||||
#: extmod/moduhashlib.c
|
||||
msgid "hash is final"
|
||||
msgstr "hā xī shì zuì zhōng de"
|
||||
|
||||
#: extmod/moduheapq.c
|
||||
msgid "heap must be a list"
|
||||
msgstr "duī bìxū shì yīgè lièbiǎo"
|
||||
@ -3243,7 +3308,7 @@ msgstr "bù zhèngquè de tiánchōng"
|
||||
msgid "index is out of bounds"
|
||||
msgstr "suǒyǐn chāochū fànwéi"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: extmod/ulab/code/numpy/numerical.c extmod/ulab/code/ulab_tools.c
|
||||
#: ports/esp32s2/common-hal/pulseio/PulseIn.c py/obj.c
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
msgid "index out of range"
|
||||
@ -3285,7 +3350,7 @@ msgstr "shūrù shùzǔ de chángdù bìxū shì 2 de mì"
|
||||
msgid "input arrays are not compatible"
|
||||
msgstr "shū rù shù zǔ bù jiān róng"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input data must be an iterable"
|
||||
msgstr "shūrù shùjù bìxū shì kě diédài de"
|
||||
|
||||
@ -3318,15 +3383,15 @@ msgstr "shū rù bì xū shì yì wéi de"
|
||||
msgid "input must be square matrix"
|
||||
msgstr "shūrù bìxū wèi fāng jǔzhèn"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "input must be tuple, list, range, or ndarray"
|
||||
msgstr "shūrù bìxū shì yuán zǔ, lièbiǎo, fànwéi huò ndarray"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "input vectors must be of equal length"
|
||||
msgstr "shūrù xiàngliàng de chángdù bìxū xiāngděng"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "inputs are not iterable"
|
||||
msgstr "shū rù bù kě yí dòng"
|
||||
|
||||
@ -3338,9 +3403,9 @@ msgstr "zhěngshù() cānshù 2 bìxū > = 2 qiě <= 36"
|
||||
msgid "integer required"
|
||||
msgstr "xūyào zhěngshù"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "interp is defined for 1D iterables of equal length"
|
||||
msgstr ""
|
||||
msgstr "zhōng jiān wéi cháng dù xiāng děng de 1D kě yì jiāo qì dìng yì"
|
||||
|
||||
#: shared-bindings/_bleio/Adapter.c
|
||||
#, c-format
|
||||
@ -3358,7 +3423,7 @@ msgstr "wúxiào de cānshù"
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
#, c-format
|
||||
msgid "invalid bits_per_pixel %d, must be, 1, 4, 8, 16, 24, or 32"
|
||||
msgstr "wú xiào bits_per_pixel %d, bì xū shì, 1, 4, 8, 16, 24, huò 32"
|
||||
msgstr "wú xiào bits_per_pixel %d, bì xū shì, 1, 4, 8, 16, 24, huò 32"
|
||||
|
||||
#: shared-bindings/bitmaptools/__init__.c
|
||||
#, c-format
|
||||
@ -3514,7 +3579,7 @@ msgstr "maxiter bì xū > 0"
|
||||
msgid "maxiter should be > 0"
|
||||
msgstr "maxiter yìng wéi > 0"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "median argument must be an ndarray"
|
||||
msgstr "zhōng wèi shù cān shù bì xū shì ndarray"
|
||||
|
||||
@ -3531,11 +3596,15 @@ msgstr "jìyì tǐ fēnpèi shībài, duī bèi suǒdìng"
|
||||
msgid "memoryview: length is not a multiple of itemsize"
|
||||
msgstr "nèi cún shì tú: cháng dù bú shì xiàng mù huà de bèi shù"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "mode must be complete, or reduced"
|
||||
msgstr ""
|
||||
|
||||
#: py/builtinimport.c
|
||||
msgid "module not found"
|
||||
msgstr "zhǎo bù dào mókuài"
|
||||
|
||||
#: extmod/ulab/code/numpy/poly/poly.c
|
||||
#: extmod/ulab/code/numpy/poly.c
|
||||
msgid "more degrees of freedom than data points"
|
||||
msgstr "bǐ shùjù diǎn gèng duō de zìyóu dù"
|
||||
|
||||
@ -3768,16 +3837,24 @@ msgstr "jǐn zhīchí bù zhǎng = 1(jí wú) de qiēpiàn"
|
||||
msgid "opcode"
|
||||
msgstr "cāo zuò dài mǎ"
|
||||
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/ndarray.c extmod/ulab/code/numpy/compare.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "operands could not be broadcast together"
|
||||
msgstr "cāozuò shǔ bùnéng yīqǐ guǎngbò"
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for 2D arrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/numpy/linalg/linalg.c
|
||||
msgid "operation is defined for ndarrays only"
|
||||
msgstr ""
|
||||
|
||||
#: extmod/ulab/code/ndarray.c
|
||||
msgid "operation is implemented for 1D Boolean arrays only"
|
||||
msgstr "jǐn duì 1D bù ěr shù zǔ shí xiàn cāo zuò"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "operation is not implemented on ndarrays"
|
||||
msgstr "cāozuò wèi zài ndarrays shàng shíxiàn"
|
||||
|
||||
@ -3817,7 +3894,7 @@ msgstr "chāo gāo zhuǎnhuàn zhǎng zhěng shùzì shí"
|
||||
#: py/modstruct.c
|
||||
#, c-format
|
||||
msgid "pack expected %d items for packing (got %d)"
|
||||
msgstr "bāo zhuāng yù qī de %d bāo zhuāng xiàng mù (dé dào %d)"
|
||||
msgstr "bāo zhuāng yù qī de %d bāo zhuāng xiàng mù (dé dào %d)"
|
||||
|
||||
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
|
||||
msgid "palette must be 32 bytes long"
|
||||
@ -3969,7 +4046,7 @@ msgstr "rgb_pins[%d] fùzhì lìng yīgè yǐn jiǎo fēnpèi"
|
||||
msgid "rgb_pins[%d] is not on the same port as clock"
|
||||
msgstr "rgb_pins[%d] yǔ shízhōng bùzài tóng yīgè duānkǒu shàng"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "roll argument must be an ndarray"
|
||||
msgstr "gǔn dòng cān shù bì xū shì ndarray"
|
||||
|
||||
@ -4050,7 +4127,7 @@ msgstr "xiǎo zhěngshù yìchū"
|
||||
msgid "soft reboot\n"
|
||||
msgstr "ruǎn chóngqǐ\n"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "sort argument must be an ndarray"
|
||||
msgstr "páixù cānshù bìxū shì ndarray"
|
||||
|
||||
@ -4197,13 +4274,13 @@ msgstr "běn de fāng fǎ de dāng dì rén tài duō"
|
||||
msgid "too many values to unpack (expected %d)"
|
||||
msgstr "dǎkāi tài duō zhí (yùqí %d)"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D arrays of equal length"
|
||||
msgstr "Trapz shì wèi děng zhǎng de 1D shùzǔ dìngyì de"
|
||||
|
||||
#: extmod/ulab/code/numpy/approx/approx.c
|
||||
#: extmod/ulab/code/numpy/approx.c
|
||||
msgid "trapz is defined for 1D iterables"
|
||||
msgstr ""
|
||||
msgstr "tī xíng dìng yì wéi yì wéi kě dié dài duì xiàng"
|
||||
|
||||
#: py/obj.c
|
||||
msgid "tuple/list has wrong length"
|
||||
@ -4364,7 +4441,7 @@ msgstr "wèi qǐ yòng WIFI"
|
||||
msgid "window must be <= interval"
|
||||
msgstr "Chuāngkǒu bìxū shì <= jiàngé"
|
||||
|
||||
#: extmod/ulab/code/numpy/numerical/numerical.c
|
||||
#: extmod/ulab/code/numpy/numerical.c
|
||||
msgid "wrong axis index"
|
||||
msgstr "cuò wù de zhóu suǒ yǐn"
|
||||
|
||||
@ -4372,12 +4449,11 @@ msgstr "cuò wù de zhóu suǒ yǐn"
|
||||
msgid "wrong axis specified"
|
||||
msgstr "zhǐ dìng de zhóu cuò wù"
|
||||
|
||||
#: extmod/ulab/code/numpy/compare/compare.c
|
||||
#: extmod/ulab/code/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/compare.c extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong input type"
|
||||
msgstr "shūrù lèixíng cuòwù"
|
||||
|
||||
#: extmod/ulab/code/ulab_create.c py/objstr.c
|
||||
#: extmod/ulab/code/ulab_create.c py/objarray.c py/objstr.c
|
||||
msgid "wrong number of arguments"
|
||||
msgstr "cānshù shù cuòwù"
|
||||
|
||||
@ -4385,7 +4461,7 @@ 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/numpy/vector/vector.c
|
||||
#: extmod/ulab/code/numpy/vector.c
|
||||
msgid "wrong output type"
|
||||
msgstr "cuòwù de shūchū lèixíng"
|
||||
|
||||
@ -4421,6 +4497,15 @@ msgstr "zi bìxū wèi fú diǎn xíng"
|
||||
msgid "zi must be of shape (n_section, 2)"
|
||||
msgstr "zi bìxū jùyǒu xíngzhuàng (n_section,2)"
|
||||
|
||||
#~ msgid "Instruction %d jumps on pin"
|
||||
#~ msgstr "zhǐ lìng %d zài yǐn jiǎo shàng tiào zhuǎn"
|
||||
|
||||
#~ msgid "%q must store bytes"
|
||||
#~ msgstr "%q bì xū cún chǔ zì jié"
|
||||
|
||||
#~ msgid "Buffer too large and unable to allocate"
|
||||
#~ msgstr "Huǎn chōng qū tài dà , wú fǎ fēn pèi"
|
||||
|
||||
#~ msgid "interp is defined for 1D arrays of equal length"
|
||||
#~ msgstr "interp shì wèi děng zhǎng de 1D shùzǔ dìngyì de"
|
||||
|
||||
|
103
main.c
103
main.c
@ -56,6 +56,7 @@
|
||||
#include "supervisor/shared/safe_mode.h"
|
||||
#include "supervisor/shared/stack.h"
|
||||
#include "supervisor/shared/status_leds.h"
|
||||
#include "supervisor/shared/traceback.h"
|
||||
#include "supervisor/shared/translate.h"
|
||||
#include "supervisor/shared/workflow.h"
|
||||
#include "supervisor/usb.h"
|
||||
@ -71,7 +72,7 @@
|
||||
|
||||
#if CIRCUITPY_BLEIO
|
||||
#include "shared-bindings/_bleio/__init__.h"
|
||||
#include "supervisor/shared/bluetooth.h"
|
||||
#include "supervisor/shared/bluetooth/bluetooth.h"
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_BOARD
|
||||
@ -86,12 +87,12 @@
|
||||
#include "shared-module/displayio/__init__.h"
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_MEMORYMONITOR
|
||||
#include "shared-module/memorymonitor/__init__.h"
|
||||
#if CIRCUITPY_KEYPAD
|
||||
#include "shared-module/keypad/__init__.h"
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_NETWORK
|
||||
#include "shared-module/network/__init__.h"
|
||||
#if CIRCUITPY_MEMORYMONITOR
|
||||
#include "shared-module/memorymonitor/__init__.h"
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_USB_HID
|
||||
@ -164,17 +165,9 @@ STATIC void start_mp(supervisor_allocation* heap) {
|
||||
// Reset alarm module only after we retrieved the wakeup alarm.
|
||||
alarm_reset();
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_NETWORK
|
||||
network_module_init();
|
||||
#endif
|
||||
}
|
||||
|
||||
STATIC void stop_mp(void) {
|
||||
#if CIRCUITPY_NETWORK
|
||||
network_module_deinit();
|
||||
#endif
|
||||
|
||||
#if MICROPY_VFS
|
||||
mp_vfs_mount_t *vfs = MP_STATE_VM(vfs_mount_table);
|
||||
|
||||
@ -223,16 +216,52 @@ STATIC bool maybe_run_list(const char * const * filenames, pyexec_result_t* exec
|
||||
return true;
|
||||
}
|
||||
|
||||
STATIC void cleanup_after_vm(supervisor_allocation* heap) {
|
||||
STATIC void count_strn(void *data, const char *str, size_t len) {
|
||||
*(size_t*)data += len;
|
||||
}
|
||||
|
||||
STATIC void cleanup_after_vm(supervisor_allocation* heap, mp_obj_t exception) {
|
||||
// Get the traceback of any exception from this run off the heap.
|
||||
// MP_OBJ_SENTINEL means "this run does not contribute to traceback storage, don't touch it"
|
||||
// MP_OBJ_NULL (=0) means "this run completed successfully, clear any stored traceback"
|
||||
if (exception != MP_OBJ_SENTINEL) {
|
||||
free_memory(prev_traceback_allocation);
|
||||
// ReloadException is exempt from traceback printing in pyexec_file(), so treat it as "no
|
||||
// traceback" here too.
|
||||
if (exception && exception != MP_OBJ_FROM_PTR(&MP_STATE_VM(mp_reload_exception))) {
|
||||
size_t traceback_len = 0;
|
||||
mp_print_t print_count = {&traceback_len, count_strn};
|
||||
mp_obj_print_exception(&print_count, exception);
|
||||
prev_traceback_allocation = allocate_memory(align32_size(traceback_len + 1), false, true);
|
||||
// Empirically, this never fails in practice - even when the heap is totally filled up
|
||||
// with single-block-sized objects referenced by a root pointer, exiting the VM frees
|
||||
// up several hundred bytes, sufficient for the traceback (which tends to be shortened
|
||||
// because there wasn't memory for the full one). There may be convoluted ways of
|
||||
// making it fail, but at this point I believe they are not worth spending code on.
|
||||
if (prev_traceback_allocation != NULL) {
|
||||
vstr_t vstr;
|
||||
vstr_init_fixed_buf(&vstr, traceback_len, (char*)prev_traceback_allocation->ptr);
|
||||
mp_print_t print = {&vstr, (mp_print_strn_t)vstr_add_strn};
|
||||
mp_obj_print_exception(&print, exception);
|
||||
((char*)prev_traceback_allocation->ptr)[traceback_len] = '\0';
|
||||
}
|
||||
}
|
||||
else {
|
||||
prev_traceback_allocation = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
// Reset port-independent devices, like CIRCUITPY_BLEIO_HCI.
|
||||
reset_devices();
|
||||
// Turn off the display and flush the filesystem before the heap disappears.
|
||||
#if CIRCUITPY_DISPLAYIO
|
||||
reset_displays();
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_MEMORYMONITOR
|
||||
memorymonitor_reset();
|
||||
#endif
|
||||
|
||||
filesystem_flush();
|
||||
stop_mp();
|
||||
free_memory(heap);
|
||||
@ -242,6 +271,10 @@ STATIC void cleanup_after_vm(supervisor_allocation* heap) {
|
||||
common_hal_canio_reset();
|
||||
#endif
|
||||
|
||||
#if CIRCUITPY_KEYPAD
|
||||
keypad_reset();
|
||||
#endif
|
||||
|
||||
// reset_board_busses() first because it may release pins from the never_reset state, so that
|
||||
// reset_port() can reset them.
|
||||
#if CIRCUITPY_BOARD
|
||||
@ -277,7 +310,7 @@ STATIC bool run_code_py(safe_mode_t safe_mode) {
|
||||
pyexec_result_t result;
|
||||
|
||||
result.return_code = 0;
|
||||
result.exception_type = NULL;
|
||||
result.exception = MP_OBJ_NULL;
|
||||
result.exception_line = 0;
|
||||
|
||||
bool skip_repl;
|
||||
@ -338,8 +371,16 @@ STATIC bool run_code_py(safe_mode_t safe_mode) {
|
||||
#endif
|
||||
}
|
||||
|
||||
// Print done before resetting everything so that we get the message over
|
||||
// BLE before it is reset and we have a delay before reconnect.
|
||||
if (reload_requested && result.return_code == PYEXEC_EXCEPTION) {
|
||||
serial_write_compressed(translate("\nCode stopped by auto-reload.\n"));
|
||||
} else {
|
||||
serial_write_compressed(translate("\nCode done running.\n"));
|
||||
}
|
||||
|
||||
// Finished executing python code. Cleanup includes a board reset.
|
||||
cleanup_after_vm(heap);
|
||||
cleanup_after_vm(heap, result.exception);
|
||||
|
||||
// If a new next code file was set, that is a reason to keep it (obviously). Stuff this into
|
||||
// the options because it can be treated like any other reason-for-stickiness bit. The
|
||||
@ -351,15 +392,13 @@ STATIC bool run_code_py(safe_mode_t safe_mode) {
|
||||
|
||||
if (reload_requested) {
|
||||
next_code_stickiness_situation |= SUPERVISOR_NEXT_CODE_OPT_STICKY_ON_RELOAD;
|
||||
}
|
||||
else if (result.return_code == 0) {
|
||||
} else if (result.return_code == 0) {
|
||||
next_code_stickiness_situation |= SUPERVISOR_NEXT_CODE_OPT_STICKY_ON_SUCCESS;
|
||||
if (next_code_options & SUPERVISOR_NEXT_CODE_OPT_RELOAD_ON_SUCCESS) {
|
||||
skip_repl = true;
|
||||
skip_wait = true;
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
next_code_stickiness_situation |= SUPERVISOR_NEXT_CODE_OPT_STICKY_ON_ERROR;
|
||||
// Deep sleep cannot be skipped
|
||||
// TODO: settings in deep sleep should persist, using a new sleep memory API
|
||||
@ -373,12 +412,6 @@ STATIC bool run_code_py(safe_mode_t safe_mode) {
|
||||
skip_repl = reload_requested;
|
||||
skip_wait = true;
|
||||
}
|
||||
|
||||
if (reload_requested && result.return_code == PYEXEC_EXCEPTION) {
|
||||
serial_write_compressed(translate("\nCode stopped by auto-reload.\n"));
|
||||
} else {
|
||||
serial_write_compressed(translate("\nCode done running.\n"));
|
||||
}
|
||||
}
|
||||
|
||||
// Program has finished running.
|
||||
@ -598,7 +631,7 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
|
||||
&& safe_mode == NO_SAFE_MODE
|
||||
&& MP_STATE_VM(vfs_mount_table) != NULL;
|
||||
|
||||
static const char * const boot_py_filenames[] = STRING_LIST("settings.txt", "settings.py", "boot.py", "boot.txt");
|
||||
static const char * const boot_py_filenames[] = STRING_LIST("boot.py", "boot.txt");
|
||||
bool skip_boot_output = false;
|
||||
|
||||
if (ok_to_run) {
|
||||
@ -664,8 +697,9 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
|
||||
usb_set_defaults();
|
||||
#endif
|
||||
|
||||
pyexec_result_t result = {0, MP_OBJ_NULL, 0};
|
||||
if (ok_to_run) {
|
||||
bool found_boot = maybe_run_list(boot_py_filenames, NULL);
|
||||
bool found_boot = maybe_run_list(boot_py_filenames, &result);
|
||||
(void) found_boot;
|
||||
|
||||
#ifdef CIRCUITPY_BOOT_OUTPUT_FILE
|
||||
@ -677,21 +711,18 @@ STATIC void __attribute__ ((noinline)) run_boot_py(safe_mode_t safe_mode) {
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
#if CIRCUITPY_USB
|
||||
|
||||
// Some data needs to be carried over from the USB settings in boot.py
|
||||
// to the next VM, while the heap is still available.
|
||||
// Its size can vary, so save it temporarily on the stack,
|
||||
// and then when the heap goes away, copy it in into a
|
||||
// storage_allocation.
|
||||
|
||||
size_t size = usb_boot_py_data_size();
|
||||
uint8_t usb_boot_py_data[size];
|
||||
usb_get_boot_py_data(usb_boot_py_data, size);
|
||||
#endif
|
||||
|
||||
cleanup_after_vm(heap);
|
||||
cleanup_after_vm(heap, result.exception);
|
||||
|
||||
#if CIRCUITPY_USB
|
||||
// Now give back the data we saved from the heap going away.
|
||||
@ -726,12 +757,13 @@ STATIC int run_repl(void) {
|
||||
} else {
|
||||
exit_code = pyexec_friendly_repl();
|
||||
}
|
||||
cleanup_after_vm(heap);
|
||||
cleanup_after_vm(heap, MP_OBJ_SENTINEL);
|
||||
#if CIRCUITPY_STATUS_LED
|
||||
status_led_init();
|
||||
new_status_color(BLACK);
|
||||
status_led_deinit();
|
||||
#endif
|
||||
|
||||
autoreload_resume();
|
||||
return exit_code;
|
||||
}
|
||||
@ -750,6 +782,11 @@ int __attribute__((used)) main(void) {
|
||||
|
||||
stack_init();
|
||||
|
||||
#if CIRCUITPY_BLEIO
|
||||
// Early init so that a reset press can cause BLE public advertising.
|
||||
supervisor_bluetooth_init();
|
||||
#endif
|
||||
|
||||
// Create a new filesystem only if we're not in a safe mode.
|
||||
// A power brownout here could make it appear as if there's
|
||||
// no SPI flash filesystem, and we might erase the existing one.
|
||||
|
@ -326,32 +326,6 @@ ifeq ($(CIRCUITPY_SDIOIO),1)
|
||||
SRC_C += ports/atmel-samd/sd_mmc/sd_mmc.c
|
||||
endif
|
||||
|
||||
ifeq ($(CIRCUITPY_NETWORK),1)
|
||||
CFLAGS += -DMICROPY_PY_NETWORK=1
|
||||
|
||||
SRC_MOD += lib/netutils/netutils.c
|
||||
|
||||
ifneq ($(MICROPY_PY_WIZNET5K),0)
|
||||
WIZNET5K_DIR=drivers/wiznet5k
|
||||
INC += -I$(TOP)/$(WIZNET5K_DIR)
|
||||
CFLAGS_MOD += -DMICROPY_PY_WIZNET5K=$(MICROPY_PY_WIZNET5K) -D_WIZCHIP_=$(MICROPY_PY_WIZNET5K)
|
||||
SRC_MOD += $(addprefix $(WIZNET5K_DIR)/,\
|
||||
ethernet/w$(MICROPY_PY_WIZNET5K)/w$(MICROPY_PY_WIZNET5K).c \
|
||||
ethernet/wizchip_conf.c \
|
||||
ethernet/socket.c \
|
||||
internet/dns/dns.c \
|
||||
internet/dhcp/dhcp.c \
|
||||
)
|
||||
|
||||
endif # MICROPY_PY_WIZNET5K
|
||||
endif # CIRCUITPY_NETWORK
|
||||
|
||||
ifeq ($(CIRCUITPY_NETWORK),1)
|
||||
ifneq ($(MICROPY_PY_WIZNET5K),0)
|
||||
SRC_SHARED_MODULE += wiznet/__init__.c wiznet/wiznet5k.c
|
||||
endif
|
||||
endif
|
||||
|
||||
# The smallest SAMD51 packages don't have I2S. Everything else does.
|
||||
ifeq ($(CIRCUITPY_AUDIOBUSIO),1)
|
||||
SRC_C += peripherals/samd/i2s.c peripherals/samd/$(PERIPHERALS_CHIP_FAMILY)/i2s.c
|
||||
|
@ -131,7 +131,7 @@ void audio_dma_load_next_block(audio_dma_t *dma) {
|
||||
uint8_t *buffer;
|
||||
uint32_t buffer_length;
|
||||
audioio_get_buffer_result_t get_buffer_result =
|
||||
audiosample_get_buffer(dma->sample, dma->single_channel, dma->audio_channel,
|
||||
audiosample_get_buffer(dma->sample, dma->single_channel_output, dma->audio_channel,
|
||||
&buffer, &buffer_length);
|
||||
|
||||
DmacDescriptor *descriptor = dma->second_descriptor;
|
||||
@ -155,7 +155,7 @@ void audio_dma_load_next_block(audio_dma_t *dma) {
|
||||
descriptor->SRCADDR.reg = ((uint32_t)output_buffer) + output_buffer_length;
|
||||
if (get_buffer_result == GET_BUFFER_DONE) {
|
||||
if (dma->loop) {
|
||||
audiosample_reset_buffer(dma->sample, dma->single_channel, dma->audio_channel);
|
||||
audiosample_reset_buffer(dma->sample, dma->single_channel_output, dma->audio_channel);
|
||||
} else {
|
||||
descriptor->DESCADDR.reg = 0;
|
||||
}
|
||||
@ -183,7 +183,7 @@ static void setup_audio_descriptor(DmacDescriptor *descriptor, uint8_t beat_size
|
||||
audio_dma_result audio_dma_setup_playback(audio_dma_t *dma,
|
||||
mp_obj_t sample,
|
||||
bool loop,
|
||||
bool single_channel,
|
||||
bool single_channel_output,
|
||||
uint8_t audio_channel,
|
||||
bool output_signed,
|
||||
uint32_t output_register_address,
|
||||
@ -195,7 +195,7 @@ audio_dma_result audio_dma_setup_playback(audio_dma_t *dma,
|
||||
|
||||
dma->sample = sample;
|
||||
dma->loop = loop;
|
||||
dma->single_channel = single_channel;
|
||||
dma->single_channel_output = single_channel_output;
|
||||
dma->audio_channel = audio_channel;
|
||||
dma->dma_channel = dma_channel;
|
||||
dma->signed_to_unsigned = false;
|
||||
@ -203,12 +203,12 @@ audio_dma_result audio_dma_setup_playback(audio_dma_t *dma,
|
||||
dma->second_descriptor = NULL;
|
||||
dma->spacing = 1;
|
||||
dma->first_descriptor_free = true;
|
||||
audiosample_reset_buffer(sample, single_channel, audio_channel);
|
||||
audiosample_reset_buffer(sample, single_channel_output, audio_channel);
|
||||
|
||||
bool single_buffer;
|
||||
bool samples_signed;
|
||||
uint32_t max_buffer_length;
|
||||
audiosample_get_buffer_structure(sample, single_channel, &single_buffer, &samples_signed,
|
||||
audiosample_get_buffer_structure(sample, single_channel_output, &single_buffer, &samples_signed,
|
||||
&max_buffer_length, &dma->spacing);
|
||||
uint8_t output_spacing = dma->spacing;
|
||||
if (output_signed != samples_signed) {
|
||||
@ -254,12 +254,12 @@ audio_dma_result audio_dma_setup_playback(audio_dma_t *dma,
|
||||
} else {
|
||||
dma->beat_size = 1;
|
||||
dma->bytes_per_sample = 1;
|
||||
if (single_channel) {
|
||||
if (single_channel_output) {
|
||||
output_register_address += 1;
|
||||
}
|
||||
}
|
||||
// Transfer both channels at once.
|
||||
if (!single_channel && audiosample_channel_count(sample) == 2) {
|
||||
if (!single_channel_output && audiosample_channel_count(sample) == 2) {
|
||||
dma->beat_size *= 2;
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ typedef struct {
|
||||
uint8_t beat_size;
|
||||
uint8_t spacing;
|
||||
bool loop;
|
||||
bool single_channel;
|
||||
bool single_channel_output;
|
||||
bool signed_to_unsigned;
|
||||
bool unsigned_to_signed;
|
||||
bool first_buffer_free;
|
||||
@ -72,16 +72,16 @@ void dma_free_channel(uint8_t channel);
|
||||
// This sets everything up but doesn't start the timer.
|
||||
// Sample is the python object for the sample to play.
|
||||
// loop is true if we should loop the sample.
|
||||
// single_channel is true if we only output a single channel. When false, all channels will be
|
||||
// single_channel_output is true if we only output a single channel. When false, all channels will be
|
||||
// output.
|
||||
// audio_channel is the index of the channel to dma. single_channel must be false in this case.
|
||||
// audio_channel is the index of the channel to dma. single_channel_output must be false in this case.
|
||||
// output_signed is true if the dma'd data should be signed. False and it will be unsigned.
|
||||
// output_register_address is the address to copy data to.
|
||||
// dma_trigger_source is the DMA trigger source which cause another copy
|
||||
audio_dma_result audio_dma_setup_playback(audio_dma_t *dma,
|
||||
mp_obj_t sample,
|
||||
bool loop,
|
||||
bool single_channel,
|
||||
bool single_channel_output,
|
||||
uint8_t audio_channel,
|
||||
bool output_signed,
|
||||
uint32_t output_register_address,
|
||||
|
@ -31,7 +31,6 @@
|
||||
#include "supervisor/usb.h"
|
||||
|
||||
#include "py/runtime.h"
|
||||
#include "shared-module/network/__init__.h"
|
||||
#include "supervisor/shared/stack.h"
|
||||
#include "supervisor/port.h"
|
||||
|
||||
|
@ -6,10 +6,6 @@
|
||||
|
||||
#define MICROPY_HW_LED_STATUS (&pin_PA06)
|
||||
|
||||
#define MICROPY_PORT_A (0)
|
||||
#define MICROPY_PORT_B (0)
|
||||
#define MICROPY_PORT_C (0)
|
||||
|
||||
// USB is always used internally so skip the pin objects for it.
|
||||
#define IGNORE_PIN_PA24 1
|
||||
#define IGNORE_PIN_PA25 1
|
||||
|
@ -12,8 +12,8 @@ EXTERNAL_FLASH_DEVICES = "W25Q128JVxQ"
|
||||
LONGINT_IMPL = NONE
|
||||
CIRCUITPY_FULL_BUILD = 0
|
||||
|
||||
CIRCUITPY_GAMEPAD = 1
|
||||
CIRCUITPY_BUSDEVICE = 1
|
||||
CIRCUITPY_KEYPAD = 1
|
||||
|
||||
# Include these Python libraries in firmware.
|
||||
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID
|
||||
|
@ -3,10 +3,6 @@
|
||||
|
||||
#define MICROPY_HW_NEOPIXEL (&pin_PA15)
|
||||
|
||||
#define MICROPY_PORT_A (0)
|
||||
#define MICROPY_PORT_B (0)
|
||||
#define MICROPY_PORT_C (0)
|
||||
|
||||
#define IGNORE_PIN_PA00 1
|
||||
#define IGNORE_PIN_PA01 1
|
||||
#define IGNORE_PIN_PA02 1
|
||||
|
@ -3,10 +3,6 @@
|
||||
|
||||
#define MICROPY_HW_NEOPIXEL (&pin_PA15)
|
||||
|
||||
#define MICROPY_PORT_A (0)
|
||||
#define MICROPY_PORT_B (0)
|
||||
#define MICROPY_PORT_C (0)
|
||||
|
||||
#define IGNORE_PIN_PA01 1
|
||||
#define IGNORE_PIN_PA02 1
|
||||
#define IGNORE_PIN_PA04 1
|
||||
|
@ -21,6 +21,7 @@ CIRCUITPY_RTC = 0
|
||||
CIRCUITPY_USB_MIDI = 0
|
||||
|
||||
CIRCUITPY_PIXELBUF = 1
|
||||
CIRCUITPY_BUSDEVICE = 1
|
||||
|
||||
# Include these Python libraries in firmware.
|
||||
FROZEN_MPY_DIRS += $(TOP)/frozen/Adafruit_CircuitPython_HID
|
||||
|
@ -3,10 +3,6 @@
|
||||
|
||||
#define MICROPY_HW_NEOPIXEL (&pin_PA01)
|
||||
|
||||
#define MICROPY_PORT_A (0)
|
||||
#define MICROPY_PORT_B (0)
|
||||
#define MICROPY_PORT_C (0)
|
||||
|
||||
#define IGNORE_PIN_PA02 1
|
||||
#define IGNORE_PIN_PA03 1
|
||||
#define IGNORE_PIN_PA05 1
|
||||
|
@ -3,10 +3,6 @@
|
||||
|
||||
#define MICROPY_HW_NEOPIXEL (&pin_PA04)
|
||||
|
||||
#define MICROPY_PORT_A (0)
|
||||
#define MICROPY_PORT_B (0)
|
||||
#define MICROPY_PORT_C (0)
|
||||
|
||||
#define IGNORE_PIN_PA00 1
|
||||
#define IGNORE_PIN_PA01 1
|
||||
#define IGNORE_PIN_PA03 1
|
||||
|
@ -2,7 +2,10 @@
|
||||
|
||||
STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
|
||||
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_PA04) },
|
||||
|
||||
{ MP_ROM_QSTR(MP_QSTR_POTENTIOMETER), MP_ROM_PTR(&pin_PA02) },
|
||||
{ MP_ROM_QSTR(MP_QSTR_A0), MP_ROM_PTR(&pin_PA02) },
|
||||
|
||||
{ MP_ROM_QSTR(MP_QSTR_TOUCH), MP_ROM_PTR(&pin_PA07) },
|
||||
};
|
||||
MP_DEFINE_CONST_DICT(board_module_globals, board_global_dict_table);
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user