8000 Add better PewPew error messages and update translations · rhwlo/circuitpython@946790b · GitHub
[go: up one dir, main page]

Skip to content

Commit 946790b

Browse files
committed
Add better PewPew error messages and update translations
1 parent afbf590 commit 946790b

File tree

12 files changed

+279
-68
lines changed

12 files changed

+279
-68
lines changed

locale/ID.po

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This file is distributed under the same license as the PACKAGE package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6-
#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
76
#, fuzzy
87
msgid ""
98
msgstr ""
@@ -262,6 +261,7 @@ msgstr "Semua timer untuk pin ini sedang digunakan"
262261
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
263262
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
264263
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
264+
#: shared-module/_pew/PewPew.c
265265
msgid "All timers in use"
266266
msgstr "Semua timer sedang digunakan"
267267

@@ -473,6 +473,10 @@ msgstr ""
473473
msgid "Clock unit in use"
474474
msgstr "Clock unit sedang digunakan"
475475

476+
#: shared-bindings/_pew/PewPew.c
477+
msgid "Column entry must be digitalio.DigitalInOut"
478+
msgstr ""
479+
476480
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
477481
msgid "Command must be an int between 0 and 255"
478482
msgstr ""
@@ -771,6 +775,10 @@ msgid ""
771775
"mpy-update for more info."
772776
msgstr ""
773777

778+
#: shared-bindings/_pew/PewPew.c
779+
msgid "Incorrect buffer size"
780+
msgstr ""
781+
774782
#: py/moduerrno.c
775783
msgid "Input/output error"
776784
msgstr ""
@@ -1137,6 +1145,10 @@ msgstr "sistem file (filesystem) bersifat Read-only"
11371145
msgid "Right channel unsupported"
11381146
msgstr "Channel Kanan tidak didukung"
11391147

1148+
#: shared-bindings/_pew/PewPew.c
1149+
msgid "Row entry must be digitalio.DigitalInOut"
1150+
msgstr ""
1151+
11401152
#: main.c
11411153
msgid "Running in safe mode! Auto-reload is off.\n"
11421154
msgstr "Berjalan di mode aman(safe mode)! Auto-reload tidak aktif.\n"
@@ -1177,7 +1189,7 @@ msgid "Slice and value different lengths."
11771189
msgstr ""
11781190

11791191
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
1180-
#: shared-bindings/pulseio/PulseIn.c
1192+
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
11811193
msgid "Slices not supported"
11821194
msgstr ""
11831195

@@ -1244,6 +1256,10 @@ msgstr ""
12441256
msgid "Tile height must exactly divide bitmap height"
12451257
msgstr ""
12461258

1259+
#: shared-bindings/displayio/TileGrid.c
1260+
msgid "Tile indices must be 0 - 255"
1261+
msgstr ""
1262+
12471263
#: shared-bindings/displayio/TileGrid.c
12481264
msgid "Tile width must exactly divide bitmap width"
12491265
msgstr ""
@@ -1541,6 +1557,10 @@ msgstr ""
15411557
msgid "buffers must be the same length"
15421558
msgstr "buffers harus mempunyai panjang yang sama"
15431559

1560+
#: shared-bindings/_pew/PewPew.c
1561+
msgid "buttons must be digitalio.DigitalInOut"
1562+
msgstr ""
1563+
15441564
#: py/vm.c
15451565
msgid "byte code not implemented"
15461566
msgstr ""
@@ -2461,10 +2481,6 @@ msgstr ""
24612481
msgid "popitem(): dictionary is empty"
24622482
msgstr ""
24632483

2464-
#: shared-bindings/displayio/TileGrid.c
2465-
msgid "position must be 2-tuple"
2466-
msgstr ""
2467-
24682484
#: py/objint_mpz.c
24692485
msgid "pow() 3rd argument cannot be 0"
24702486
msgstr ""
@@ -2633,6 +2649,10 @@ msgstr "sintaksis error pada pendeskripsi uctypes"
26332649
msgid "threshold must be in the range 0-65536"
26342650
msgstr ""
26352651

2652+
#: shared-bindings/displayio/TileGrid.c
2653+
msgid "tile index out of bounds"
2654+
msgstr ""
2655+
26362656
#: shared-bindings/time/__init__.c
26372657
msgid "time.struct_time() takes a 9-sequence"
26382658
msgstr ""

locale/circuitpython.pot

Lines changed: 27 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@
33
# This file is distributed under the same license as the PACKAGE package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6-
#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
76
#, fuzzy
87
msgid ""
98
msgstr ""
109
"Project-Id-Version: PACKAGE VERSION\n"
1110
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2019-03-12 11:17-0700\n"
11+
"POT-Creation-Date: 2019-03-12 17:20-0700\n"
1312
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1413
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1514
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -260,6 +259,7 @@ msgstr ""
260259
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
261260
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
262261
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
262+
#: shared-module/_pew/PewPew.c
263263
msgid "All timers in use"
264264
msgstr ""
265265

@@ -463,6 +463,10 @@ msgstr ""
463463
msgid "Clock unit in use"
464464
msgstr ""
465465

466+
#: shared-bindings/_pew/PewPew.c
467+
msgid "Column entry must be digitalio.DigitalInOut"
468+
msgstr ""
469+
466470
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
467471
msgid "Command must be an int between 0 and 255"
468472
msgstr ""
@@ -746,6 +750,10 @@ msgid ""
746750
"mpy-update for more info."
747751
msgstr ""
748752

753+
#: shared-bindings/_pew/PewPew.c
754+
msgid "Incorrect buffer size"
755+< 10000 div class="diff-text-inner">msgstr ""
756+
749757
#: py/moduerrno.c
750758
msgid "Input/output error"
751759
msgstr ""
@@ -1108,6 +1116,10 @@ msgstr ""
11081116
msgid "Right channel unsupported"
11091117
msgstr ""
11101118

1119+
#: shared-bindings/_pew/PewPew.c
1120+
msgid "Row entry must be digitalio.DigitalInOut"
1121+
msgstr ""
1122+
11111123
#: main.c
11121124
msgid "Running in safe mode! Auto-reload is off.\n"
11131125
msgstr ""
@@ -1147,7 +1159,7 @@ msgid "Slice and value different lengths."
11471159
msgstr ""
11481160

11491161
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
1150-
#: shared-bindings/pulseio/PulseIn.c
1162+
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
11511163
msgid "Slices not supported"
11521164
msgstr ""
11531165

@@ -1211,6 +1223,10 @@ msgstr ""
12111223
msgid "Tile height must exactly divide bitmap height"
12121224
msgstr ""
12131225

1226+
#: shared-bindings/displayio/TileGrid.c
1227+
msgid "Tile indices must be 0 - 255"
1228+
msgstr ""
1229+
12141230
#: shared-bindings/displayio/TileGrid.c
12151231
msgid "Tile width must exactly divide bitmap width"
12161232
msgstr ""
@@ -1495,6 +1511,10 @@ msgstr ""
14951511
msgid "buffers must be the same length"
14961512
msgstr ""
14971513

1514+
#: shared-bindings/_pew/PewPew.c
1515+
msgid "buttons must be digitalio.DigitalInOut"
1516+
msgstr ""
1517+
14981518
#: py/vm.c
14991519
msgid "byte code not implemented"
15001520
msgstr ""
@@ -2413,10 +2433,6 @@ msgstr ""
24132433
msgid "popitem(): dictionary is empty"
24142434
msgstr ""
24152435

2416-
#: shared-bindings/displayio/TileGrid.c
2417-
msgid "position must be 2-tuple"
2418-
msgstr ""
2419-
24202436
#: py/objint_mpz.c
24212437
msgid "pow() 3rd argument cannot be 0"
24222438
msgstr ""
@@ -2585,6 +2601,10 @@ msgstr ""
25852601
msgid "threshold must be in the range 0-65536"
25862602
msgstr ""
25872603

2604+
#: shared-bindings/displayio/TileGrid.c
2605+
msgid "tile index out of bounds"
2606+
msgstr ""
2607+
25882608
#: shared-bindings/time/__init__.c
25892609
msgid "time.struct_time() takes a 9-sequence"
25902610
msgstr ""

locale/de_DE.po

Lines changed: 26 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
# This file is distributed under the same license as the PACKAGE package.
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
6-
#: shared-bindings/_pew/PewPew.c shared-module/_pew/PewPew.c
76
msgid ""
87
msgstr ""
98
"Project-Id-Version: \n"
@@ -262,6 +261,7 @@ msgstr "Alle timer für diesen Pin werden bereits benutzt"
262261
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
263262
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
264263
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
264+
#: shared-module/_pew/PewPew.c
265265
msgid "All timers in use"
266266
msgstr "Alle timer werden benutzt"
267267

@@ -467,6 +467,10 @@ msgstr "Clock stretch zu lang"
467467
msgid "Clock unit in use"
468468
msgstr "Clock unit wird benutzt"
469469

470+
#: shared-bindings/_pew/PewPew.c
471+
msgid "Column entry must be digitalio.DigitalInOut"
472+
msgstr ""
473+
470474
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
471475
msgid "Command must be an int between 0 and 255"
472476
msgstr "Der Befehl muss ein int zwischen 0 und 255 sein"
@@ -753,6 +757,10 @@ msgstr ""
753757
"Inkompatible mpy-Datei. Bitte aktualisieren Sie alle mpy-Dateien. Siehe "
754758
"http://adafru.it/mpy-update für weitere Informationen."
755759

760+
#: shared-bindings/_pew/PewPew.c
761+
msgid "Incorrect buffer size"
762+
msgstr ""
763+
756764
#: py/moduerrno.c
757765
msgid "Input/output error"
758766
msgstr "Eingabe-/Ausgabefehler"
@@ -1129,6 +1137,10 @@ msgstr "Schreibgeschützte Objekt"
11291137
msgid "Right channel unsupported"
11301138
msgstr "Rechter Kanal wird nicht unterstützt"
11311139

1140+
#: shared-bindings/_pew/PewPew.c
1141+
msgid "Row entry must be digitalio.DigitalInOut"
1142+
msgstr ""
1143+
11321144
#: main.c
11331145
msgid "Running in safe mode! Auto-reload is off.\n"
11341146
msgstr "Sicherheitsmodus aktiv! Automatisches Neuladen ist deaktiviert.\n"
@@ -1168,7 +1180,7 @@ msgid "Slice and value different lengths."
11681180
msgstr "Slice und Wert (value) haben unterschiedliche Längen."
11691181

11701182
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
1171-
#: shared-bindings/pulseio/PulseIn.c
1183+
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
11721184
msgid "Slices not supported"
11731185
msgstr "Slices werden nicht unterstützt"
11741186

@@ -1244,6 +1256,10 @@ msgstr ""
12441256
msgid "Tile height must exactly divide bitmap height"
12451257
msgstr ""
12461258

1259+
#: shared-bindings/displayio/TileGrid.c
1260+
msgid "Tile indices must be 0 - 255"
1261+
msgstr ""
1262+
12471263
#: shared-bindings/displayio/TileGrid.c
12481264
msgid "Tile width must exactly divide bitmap width"
12491265
msgstr ""
@@ -1540,6 +1556,10 @@ msgstr "Der Puffer ist zu klein"
15401556
msgid "buffers must be the same length"
15411557
msgstr "Buffer müssen gleich lang sein"
15421558

1559+
#: shared-bindings/_pew/PewPew.c
1560+
msgid "buttons must be digitalio.DigitalInOut"
1561+
msgstr ""
1562+
15431563
#: py/vm.c
15441564
msgid "byte code not implemented"
15451565
msgstr ""
@@ -2468,10 +2488,6 @@ msgstr "pop von einer leeren Liste"
24682488
msgid "popitem(): dictionary is empty"
24692489
msgstr "popitem(): dictionary ist leer"
24702490

2471-
#: shared-bindings/displayio/TileGrid.c
2472-
msgid "position must be 2-tuple"
2473-
msgstr ""
2474-
24752491
#: py/objint_mpz.c
24762492
msgid "pow() 3rd argument cannot be 0"
24772493
msgstr "pow() drittes Argument darf nicht 0 sein"
@@ -2643,6 +2659,10 @@ msgstr "Syntaxfehler in uctypes Deskriptor"
26432659
msgid "threshold must be in the range 0-65536"
26442660
msgstr "threshold muss im Intervall 0-65536 liegen"
26452661

2662+
#: shared-bindings/displayio/TileGrid.c
2663+
msgid "tile index out of bounds"
2664+
msgstr ""
2665+
26462666
#: shared-bindings/time/__init__.c
26472667
msgid "time.struct_time() takes a 9-sequence"
26482668
msgstr ""

0 commit comments

Comments
 (0)
0