8000 Merge pull request #1513 from tannewt/rotation · tannewt/circuitpython@12917d3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 12917d3

Browse files
authored
Merge pull request micropython#1513 from tannewt/rotation
Add support for display rotation and raw commands
2 parents 7d039a5 + 845783a commit 12917d3

File tree

19 files changed

+474
-256
lines changed

19 files changed

+474
-256
lines changed

locale/ID.po

Lines changed: 32 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-01-31 09:38-0800\n"
11+
"POT-Creation-Date: 2019-02-01 00:36-0800\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -657,22 +657,22 @@ msgstr "konfigurasi param tidak diketahui"
657657
msgid "AnalogOut functionality not supported"
658658
msgstr "fungsionalitas AnalogOut tidak didukung"
659659

660-
#: ports/nrf/common-hal/bleio/Adapter.c:41
660+
#: ports/nrf/common-hal/bleio/Adapter.c:43
661661
#, c-format
662662
msgid "Soft device assert, id: 0x%08lX, pc: 0x%08lX"
663663
msgstr "Dukungan soft device, id: 0x%08lX, pc: 0x%08l"
664664

665-
#: ports/nrf/common-hal/bleio/Adapter.c:110
665+
#: ports/nrf/common-hal/bleio/Adapter.c:119
666666
#, fuzzy
667667
msgid "Failed to change softdevice state"
668668
msgstr "Gagal untuk merubah status softdevice, error: 0x%08lX"
669669

670-
#: ports/nrf/common-hal/bleio/Adapter.c:119
670+
#: ports/nrf/common-hal/bleio/Adapter.c:128
671671
#, fuzzy
672672
msgid "Failed to get softdevice state"
673673
msgstr "Gagal untuk mendapatkan status softdevice, error: 0x%08lX"
674674

675-
#: ports/nrf/common-hal/bleio/Adapter.c:138
675+
#: ports/nrf/common-hal/bleio/Adapter.c:147
676676
#, fuzzy
677677
msgid "Failed to get local address"
678678
msgstr "Gagal untuk mendapatkan alamat lokal, error: 0x%08lX"
@@ -2355,16 +2355,20 @@ msgstr ""
23552355
msgid "color should be an int"
23562356
msgstr ""
23572357

2358-
#: shared-bindings/displayio/Display.c:124
2358+
#: shared-bindings/displayio/Display.c:131
2359+
msgid "Display rotation must be in 90 degree increments"
2360+
msgstr ""
2361+
2362+
#: shared-bindings/displayio/Display.c:143
23592363
msgid "Too many displays"
23602364
msgstr ""
23612365

2362-
#: shared-bindings/displayio/Display.c:145
2366+
#: shared-bindings/displayio/Display.c:167
23632367
msgid "Must be a Group subclass."
23642368
msgstr ""
23652369

2366-
#: shared-bindings/displayio/Display.c:187
2367-
#: shared-bindings/displayio/Display.c:197
2370+
#: shared-bindings/displayio/Display.c:209
2371+
#: shared-bindings/displayio/Display.c:219
23682372
msgid "Brightness not adjustable"
23692373
msgstr ""
23702374

@@ -2373,6 +2377,11 @@ msgstr ""
23732377
msgid "Too many display busses"
23742378
msgstr ""
23752379

2380+
#: shared-bindings/displayio/FourWire.c:109
2381+
#: shared-bindings/displayio/ParallelBus.c:113
2382+
msgid "Command must be an int between 0 and 255"
2383+
msgstr ""
2384+
23762385
#: shared-bindings/displayio/Group.c:62
23772386
msgid "Group must have size at least 1"
23782387
msgstr ""
@@ -2687,7 +2696,7 @@ msgstr ""
26872696
msgid "row must be packed and word aligned"
26882697
msgstr ""
26892698

2690-
#: shared-module/displayio/Display.c:69
2699+
#: shared-module/displayio/Display.c:67
26912700
#, fuzzy
26922701
msgid "Unsupported display bus type"
26932702
msgstr "Baudrate tidak didukung"
@@ -2834,31 +2843,31 @@ msgid ""
28342843
"exit safe mode.\n"
28352844
msgstr ""
28362845

2846+
#~ msgid ""
2847+
#~ "enough power for the whole circuit and press reset (after ejecting "
2848+
#~ "CIRCUITPY).\n"
2849+
#~ msgstr ""
2850+
#~ "tegangan cukup untuk semua sirkuit dan tekan reset (setelah mencabut "
2851+
#~ "CIRCUITPY).\n"
2852+
28372853
#, fuzzy
28382854
#~ msgid "unpack requires a buffer of %d bytes"
28392855
#~ msgstr "Gagal untuk megalokasikan buffer RX dari %d byte"
28402856

2841-
#~ msgid "All PWM peripherals are in use"
2842-
#~ msgstr "Semua perangkat PWM sedang digunakan"
2857+
#~ msgid "Invalid UUID string length"
2858+
#~ msgstr "Panjang string UUID tidak valid"
28432859

28442860
#~ msgid "Invalid UUID parameter"
28452861
#~ msgstr "Parameter UUID tidak valid"
28462862

2847-
#~ msgid "Invalid UUID string length"
2848-
#~ msgstr "Panjang string UUID tidak valid"
2849-
2850-
#~ msgid ""
2851-
#~ "Please file an issue here with the contents of your CIRCUITPY drive:\n"
2852-
#~ msgstr ""
2853-
#~ "Silahkan taruh masalah disini dengan isi dari CIRCUITPY drive: anda \n"
2863+
#~ msgid "All PWM peripherals are in use"
2864+
#~ msgstr "Semua perangkat PWM sedang digunakan"
28542865

28552866
#~ msgid "Looks like our core CircuitPython code crashed hard. Whoops!\n"
28562867
#~ msgstr ""
28572868
#~ "Sepertinya inti kode CircuitPython kita crash dengan sangat keras. Ups!\n"
28582869

28592870
#~ msgid ""
2860-
#~ "enough power for the whole circuit and press reset (after ejecting "
2861-
#~ "CIRCUITPY).\n"
2871+
#~ "Please file an issue here with the contents of your CIRCUITPY drive:\n"
28622872
#~ msgstr ""
2863-
#~ "tegangan cukup untuk semua sirkuit dan tekan reset (setelah mencabut "
2864-
#~ "CIRCUITPY).\n"
2873+
#~ "Silahkan taruh masalah disini dengan isi dari CIRCUITPY drive: anda \n"

locale/circuitpython.pot

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: PACKAGE VERSION\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-01-31 09:38-0800\n"
11+
"POT-Creation-Date: 2019-02-01 00:36-0800\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -646,20 +646,20 @@ msgstr ""
646646
msgid "AnalogOut functionality not supported"
647647
msgstr ""
648648

649-
#: ports/nrf/common-hal/bleio/Adapter.c:41
649+
#: ports/nrf/common-hal/bleio/Adapter.c:43
650650
#, c-format
651651
msgid "Soft device assert, id: 0x%08lX, pc: 0x%08lX"
652652
msgstr ""
653653

654-
#: ports/nrf/common-hal/bleio/Adapter.c:110
654+
#: ports/nrf/common-hal/bleio/Adapter.c:119
655655
msgid "Failed to change softdevice state"
656656
msgstr ""
657657

658-
#: ports/nrf/common-hal/bleio/Adapter.c:119
658+
#: ports/nrf/common-hal/bleio/Adapter.c:128
659659
msgid "Failed to get softdevice state"
660660
msgstr ""
661661

662-
#: ports/nrf/common-hal/bleio/Adapter.c:138
662+
#: ports/nrf/common-hal/bleio/Adapter.c:147
663663
msgid "Failed to get local address"
664664
msgstr ""
665665

@@ -2317,16 +2317,20 @@ msgstr ""
23172317
msgid "color should be an int"
23182318
msgstr ""
23192319

2320-
#: shared-bindings/displayio/Display.c:124
2320+
#: shared-bindings/displayio/Display.c:131
2321+
msgid "Display rotation must be in 90 degree increments"
2322+
msgstr ""
2323+
2324+
#: shared-bindings/displayio/Display.c:143
23212325
msgid "Too many displays"
23222326
msgstr ""
23232327

2324-
#: shared-bindings/displayio/Display.c:145
2328+
#: shared-bindings/displayio/Display.c:167
23252329
msgid "Must be a Group subclass."
23262330
msgstr ""
23272331

2328-
#: shared-bindings/displayio/Display.c:187
2329-
#: shared-bindings/displayio/Display.c:197
2332+
#: shared-bindings/displayio/Display.c:209
2333+
#: shared-bindings/displayio/Display.c:219
23302334
msgid "Brightness not adjustable"
23312335
msgstr ""
23322336

@@ -2335,6 +2339,11 @@ msgstr ""
23352339
msgid "Too many display busses"
23362340
msgstr ""
23372341

2342+
#: shared-bindings/displayio/FourWire.c:109
2343+
#: shared-bindings/displayio/ParallelBus.c:113
2344+
msgid "Command must be an int between 0 and 255"
2345+
msgstr ""
2346+
23382347
#: shared-bindings/displayio/Group.c:62
23392348
msgid "Group must have size at least 1"
23402349
msgstr ""
@@ -2648,7 +2657,7 @@ msgstr ""
26482657
msgid "row must be packed and word aligned"
26492658
msgstr ""
26502659

2651-
#: shared-module/displayio/Display.c:69
2660+
#: shared-module/displayio/Display.c:67
26522661
msgid "Unsupported display bus type"
26532662
msgstr ""
26542663

locale/de_DE.po

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-01-31 09:38-0800\n"
10+
"POT-Creation-Date: 2019-02-01 00:36-0800\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: Sebastian Plamauer\n"
1313
"Language-Team: \n"
@@ -655,20 +655,20 @@ msgstr ""
655655
msgid "AnalogOut functionality not supported"
656656
msgstr "AnalogOut-Funktion wird nicht unterstützt"
657657

658-
#: ports/nrf/common-hal/bleio/Adapter.c:41
658+
#: ports/nrf/common-hal/bleio/Adapter.c:43
659659
#, c-format
660660
msgid "Soft device assert, id: 0x%08lX, pc: 0x%08lX"
661661
msgstr "Soft device assert, id: 0x%08lX, pc: 0x%08lX"
662662

663-
#: ports/nrf/common-hal/bleio/Adapter.c:110
663+
#: ports/nrf/common-hal/bleio/Adapter.c:119
664664
msgid "Failed to change softdevice state"
665665
msgstr "Fehler beim Ändern des Softdevice-Status"
666666

667-
#: ports/nrf/common-hal/bleio/Adapter.c:119
667+
#: ports/nrf/common-hal/bleio/Adapter.c:128
668668
msgid "Failed to get softdevice state"
669669
msgstr "Fehler beim Abrufen des Softdevice-Status"
670670

671-
#: ports/nrf/common-hal/bleio/Adapter.c:138
671+
#: ports/nrf/common-hal/bleio/Adapter.c:147
672672
msgid "Failed to get local address"
673673
msgstr "Lokale Adresse konnte nicht abgerufen werden"
674674

@@ -2341,16 +2341,20 @@ msgstr ""
23412341
msgid "color should be an int"
23422342
msgstr ""
23432343

2344-
#: shared-bindings/displayio/Display.c:124
2344+
#: shared-bindings/displayio/Display.c:131
2345+
msgid "Display rotation must be in 90 degree increments"
2346+
msgstr ""
2347+
2348+
#: shared-bindings/displayio/Display.c:143
23452349
msgid "Too many displays"
23462350
msgstr ""
23472351

2348-
#: shared-bindings/displayio/Display.c:145
2352+
#: shared-bindings/displayio/Display.c:167
23492353
msgid "Must be a Group subclass."
23502354
msgstr ""
23512355

2352-
#: shared-bindings/displayio/Display.c:187
2353-
#: shared-bindings/displayio/Display.c:197
2356+
#: shared-bindings/displayio/Display.c:209
2357+
#: shared-bindings/displayio/Display.c:219
23542358
msgid "Brightness not adjustable"
23552359
msgstr ""
23562360

@@ -2359,6 +2363,11 @@ msgstr ""
23592363
msgid "Too many display busses"
23602364
msgstr ""
23612365

2366+
#: shared-bindings/displayio/FourWire.c:109
2367+
#: shared-bindings/displayio/ParallelBus.c:113
2368+
msgid "Command must be an int between 0 and 255"
2369+
msgstr ""
2370+
23622371
#: shared-bindings/displayio/Group.c:62
23632372
msgid "Group must have size at least 1"
23642373
msgstr ""
@@ -2673,7 +2682,7 @@ msgstr ""
26732682
msgid "row must be packed and word aligned"
26742683
msgstr ""
26752684

2676-
#: shared-module/displayio/Display.c:69
2685+
#: shared-module/displayio/Display.c:67
26772686
msgid "Unsupported display bus type"
26782687
msgstr "Nicht unterstützter display bus type"
26792688

locale/en_US.po

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: \n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2019-01-31 09:38-0800\n"
10+
"POT-Creation-Date: 2019-02-01 00:36-0800\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -646,20 +646,20 @@ msgstr ""
646646
msgid "AnalogOut functionality not supported"
647647
msgstr ""
648648

649-
#: ports/nrf/common-hal/bleio/Adapter.c:41
649+
#: ports/nrf/common-hal/bleio/Adapter.c:43
650650
#, c-format
651651
msgid "Soft device assert, id: 0x%08lX, pc: 0x%08lX"
652652
msgstr ""
653653

654-
#: ports/nrf/common-hal/bleio/Adapter.c:110
654+
#: ports/nrf/common-hal/bleio/Adapter.c:119
655655
msgid "Failed to change softdevice state"
656656
msgstr ""
657657

658-
#: ports/nrf/common-hal/bleio/Adapter.c:119
658+
#: ports/nrf/common-hal/bleio/Adapter.c:128
659659
msgid "Failed to get softdevice state"
660660
msgstr ""
661661

662-
#: ports/nrf/common-hal/bleio/Adapter.c:138
662+
#: ports/nrf/common-hal/bleio/Adapter.c:147
663663
msgid "Failed to get local address"
664664
msgstr ""
665665

@@ -2317,16 +2317,20 @@ msgstr ""
23172317
msgid "color should be an int"
23182318
msgstr ""
23192319

2320-
#: shared-bindings/displayio/Display.c:124
2320+
#: shared-bindings/displayio/Display.c:131
2321+
msgid "Display rotation must be in 90 degree increments"
2322+
msgstr ""
2323+
2324+
#: shared-bindings/displayio/Display.c:143
23212325
msgid "Too many displays"
23222326
msgstr ""
23232327

2324-
#: shared-bindings/displayio/Display.c:145
2328+
#: shared-bindings/displayio/Display.c:167
23252329
msgid "Must be a Group subclass."
23262330
msgstr ""
23272331

2328-
#: shared-bindings/displayio/Display.c:187
2329-
#: shared-bindings/displayio/Display.c:197
2332+
#: shared-bindings/displayio/Display.c:209
2333+
#: shared-bindings/displayio/Display.c:219
23302334
msgid "Brightness not adjustable"
23312335
msgstr ""
23322336

@@ -2335,6 +2339,11 @@ msgstr ""
23352339
msgid "Too many display busses"
23362340
msgstr ""
23372341

2342+
#: shared-bindings/displayio/FourWire.c:109
2343+
#: shared-bindings/displayio/ParallelBus.c:113
2344+
msgid "Command must be an int between 0 and 255"
2345+
msgstr ""
2346+
23382347
#: shared-bindings/displayio/Group.c:62
23392348
msgid "Group must have size at least 1"
23402349
msgstr ""
@@ -2648,7 +2657,7 @@ msgstr ""
26482657
msgid "row must be packed and word aligned"
26492658
msgstr ""
26502659

2651-
#: shared-module/displayio/Display.c:69
2660+
#: shared-module/displayio/Display.c:67
26522661
msgid "Unsupported display bus type"
26532662
msgstr ""
26542663

0 commit comments

Comments
 (0)
0