8000 Fix error messages in bleio · cpforbes/circuitpython@bb10a8a · GitHub
[go: up one dir, main page]

Skip to content

Commit bb10a8a

Browse files
committed
Fix error messages in bleio
1 parent fce63b1 commit bb10a8a

File tree

11 files changed

+552
-518
lines changed

11 files changed

+552
-518
lines changed

locale/ID.po

Lines changed: 59 additions & 53 deletions
341A
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-03-19 18:37-0700\n"
11+
"POT-Creation-Date: 2019-03-25 09:19+0100\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"
@@ -52,8 +52,8 @@ msgstr ""
5252
msgid "%q indices must be integers, not %s"
5353
msgstr ""
5454

55-
#: shared-bindings/bleio/CharacteristicBuffer.c
5655
#: shared-bindings/displayio/Group.c shared-bindings/displayio/Shape.c
56+
#: shared-bindings/bleio/CharacteristicBuffer.c
5757
#, fuzzy
5858
msgid "%q must be >= 1"
5959
msgstr "buffers harus mempunyai panjang yang sama"
@@ -62,20 +62,20 @@ msgstr "buffers harus mempunyai panjang yang sama"
6262
msgid "%q should be an int"
6363
msgstr ""
6464

65-
#: py/bc.c py/objnamedtuple.c
65+
#: py/objnamedtuple.c py/bc.c
6666
msgid "%q() takes %d positional arguments but %d were given"
6767
msgstr "%q() mengambil posisi argumen %d tapi %d yang diberikan"
6868

6969
#: py/argcheck.c
7070
msgid "'%q' argument required"
7171
msgstr "'%q' argumen dibutuhkan"
7272

73-
#: py/emitinlinethumb.c py/emitinlinextensa.c
73+
#: py/emitinlinextensa.c py/emitinlinethumb.c
7474
#, c-format
7575
msgid "'%s' expects a label"
7676
msgstr ""
7777

78-
#: py/emitinlinethumb.c py/emitinlinextensa.c
78+
#: py/emitinlinextensa.c py/emitinlinethumb.c
7979
#, c-format
8080
msgid "'%s' expects a register"
8181
msgstr "'%s' mengharapkan sebuah register"
@@ -95,7 +95,7 @@ msgstr "'%s' mengharapkan sebuah FPU register"
9595
msgid "'%s' expects an address of the form [a, b]"
9696
msgstr "'%s' mengharapkan sebuah alamat dengan bentuk [a, b]"
9797

98-
#: py/emitinlinethumb.c py/emitinlinextensa.c
98+
#: py/emitinlinextensa.c py/emitinlinethumb.c
9999
#, c-format
100100
msgid "'%s' expects an integer"
101101
msgstr "'%s' mengharapkan integer"
@@ -249,17 +249,17 @@ msgstr "Semua perangkat I2C sedang digunakan"
249249
msgid "All event channels in use"
250250
msgstr "Semua channel event sedang digunakan"
251251

252-
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
252+
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
253253
msgid "All sync event channels in use"
254254
msgstr "Semua channel event yang disinkronisasi sedang digunakan"
255255

256256
#: shared-bindings/pulseio/PWMOut.c
257257
msgid "All timers for this pin are in use"
258258
msgstr "Semua timer untuk pin ini sedang digunakan"
259259

260-
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
261260
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
262261
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
262+
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
263263
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
264264
#: shared-module/_pew/PewPew.c
265265
msgid "All timers in use"
@@ -563,18 +563,17 @@ msgstr "Errod pada ffi_prep_cif"
563563
msgid "Error in regex"
564564
msgstr "Error pada regex"
565565

566-
#: shared-bindings/microcontroller/Pin.c
567-
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
568-
#: shared-bindings/terminalio/Terminal.c
566+
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
567+
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
569568
msgid "Expected a %q"
570569
msgstr ""
571570

572571
#: shared-bindings/bleio/CharacteristicBuffer.c
573572
msgid "Expected a Characteristic"
574573
msgstr ""
575574

576-
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
577-
#: shared-bindings/bleio/Service.c
575+
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
576+
#: shared-bindings/bleio/Characteristic.c
578577
msgid "Expected a UUID"
579578
msgstr ""
580579

@@ -613,8 +612,8 @@ msgid "Failed to allocate RX buffer"
613612
msgstr "Gagal untuk mengalokasikan buffer RX"
614613

615614
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
616-
#: ports/esp8266/common-hal/pulseio/PulseIn.c
617615
#: ports/nrf/common-hal/pulseio/PulseIn.c
616+
#: ports/esp8266/common-hal/pulseio/PulseIn.c
618617
#, c-format
619618
msgid "Failed to allocate RX buffer of %d bytes"
620619
msgstr "Gagal untuk megalokasikan buffer RX dari %d byte"
@@ -660,19 +659,19 @@ msgid "Failed to get softdevice state"
660659
msgstr "Gagal untuk mendapatkan status softdevice, error: 0x%08lX"
661660

662661
#: ports/nrf/common-hal/bleio/Characteristic.c
663-
#, fuzzy, c-format
664-
msgid "Failed to notify or indicate attribute value, err %0x04x"
665-
msgstr "Gagal untuk melaporkan nilai atribut, status: 0x%08lX"
662+
#, c-format
663+
msgid "Failed to notify or indicate attribute value, err x0%04x"
664+
msgstr ""
666665

667666
#: ports/nrf/common-hal/bleio/Characteristic.c
668667
#, fuzzy, c-format
669668
msgid "Failed to read CCCD value, err 0x%04x"
670669
msgstr "Gagal untuk membaca nilai atribut, status: 0x%08lX"
671670

672671
#: ports/nrf/common-hal/bleio/Characteristic.c
673-
#, fuzzy, c-format
674-
msgid "Failed to read attribute value, err %0x04x"
675-
msgstr "Gagal untuk membaca nilai atribut, status: 0x%08lX"
672+
#, c-format
673+
msgid "Failed to read attribute value, err x0%04x"
674+
msgstr ""
676675

677676
#: ports/nrf/common-hal/bleio/Characteristic.c
678677
#, fuzzy, c-format
@@ -762,7 +761,7 @@ msgstr ""
762761
msgid "Frequency captured is above capability. Capture Paused."
763762
msgstr ""
764763

765-
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
764+
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
766765
#: shared-bindings/busio/SPI.c
767766
msgid "Function requires lock"
768767
msgstr ""
@@ -779,7 +778,7 @@ msgstr "GPIO16 tidak mendukung pull up"
779778
msgid "Group full"
780779
msgstr ""
781780

782-
#: extmod/vfs_posix_file.c ports/unix/file.c py/objstringio.c
781+
#: ports/unix/file.c extmod/vfs_posix_file.c py/objstringio.c
783782
msgid "I/O operation on closed file"
784783
msgstr "operasi I/O pada file tertutup"
785784

@@ -873,11 +872,10 @@ msgstr "Pin untuk channel kiri tidak valid"
873872
msgid "Invalid pin for right channel"
874873
msgstr "Pin untuk channel kanan tidak valid"
875874

876-
#: ports/atmel-samd/common-hal/busio/I2C.c
877-
#: ports/atmel-samd/common-hal/busio/SPI.c
878-
#: ports/atmel-samd/common-hal/busio/UART.c
879875
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
880-
#: ports/nrf/common-hal/busio/I2C.c
876+
#: ports/atmel-samd/common-hal/busio/UART.c
877+
#: ports/atmel-samd/common-hal/busio/SPI.c
878+
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
881879
msgid "Invalid pins"
882880
msgstr "Pin-pin tidak valid"
883881

@@ -1206,8 +1204,8 @@ msgstr "Serializer sedang digunakan"
12061204
msgid "Slice and value different lengths."
12071205
msgstr ""
12081206

1209-
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
1210-
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
1207+
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
1208+
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
12111209
msgid "Slices not supported"
12121210
msgstr ""
12131211

@@ -1467,7 +1465,7 @@ msgstr "sebuah objek menyerupai byte (bytes-like) dibutuhkan"
14671465
msgid "abort() called"
14681466
msgstr "abort() dipanggil"
14691467

1470-
#: extmod/machine_mem.c ports/unix/modmachine.c
1468+
#: ports/unix/modmachine.c extmod/machine_mem.c
14711469
#, c-format
14721470
msgid "address %08x is not aligned to %d bytes"
14731471
msgstr "alamat %08x tidak selaras dengan %d bytes"
@@ -1496,7 +1494,7 @@ msgstr "argumen num/types tidak cocok"
14961494
msgid "argument should be a '%q' not a '%q'"
14971495
msgstr ""
14981496

1499-
#: py/objarray.c shared-bindings/nvm/ByteArray.c
1497+
#: shared-bindings/nvm/ByteArray.c py/objarray.c
15001498
msgid "array/bytes required on right side"
15011499
msgstr ""
15021500

@@ -1566,8 +1564,8 @@ msgstr ""
15661564
msgid "buffer too long"
15671565
msgstr "buffer terlalu panjang"
15681566

1569-
#: py/modstruct.c shared-bindings/struct/__init__.c
1570-
#: shared-module/struct/__init__.c
1567+
#: shared-bindings/struct/__init__.c shared-module/struct/__init__.c
1568+
#: py/modstruct.c
15711569
msgid "buffer too small"
15721570
msgstr ""
15731571

@@ -1825,7 +1823,7 @@ msgstr ""
18251823
msgid "complex division by zero"
18261824
msgstr ""
18271825

1828-
#: py/objfloat.c py/parsenum.c
1826+
#: py/parsenum.c py/objfloat.c
18291827
msgid "complex values not supported"
18301828
msgstr ""
18311829

@@ -1866,8 +1864,8 @@ msgstr ""
18661864
msgid "dict update sequence has wrong length"
18671865
msgstr ""
18681866

1869-
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
1870-
#: shared-bindings/math/__init__.c
1867+
#: shared-bindings/math/__init__.c py/runtime.c py/modmath.c py/objint_mpz.c
1868+
#: py/objint_longlong.c py/objfloat.c
18711869
msgid "division by zero"
18721870
msgstr ""
18731871

@@ -1879,7 +1877,7 @@ msgstr "hanya antar pos atau kw args yang diperbolehkan"
18791877
msgid "empty"
18801878
msgstr ""
18811879

1882-
#: extmod/moduheapq.c extmod/modutimeq.c
1880+
#: extmod/modutimeq.c extmod/moduheapq.c
18831881
msgid "empty heap"
18841882
msgstr "heap kosong"
18851883

@@ -1952,7 +1950,7 @@ msgstr "argumen posisi ekstra telah diberikan"
19521950
msgid "ffi_prep_closure_loc"
19531951
msgstr "ffi_prep_closure_loc"
19541952

1955-
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
1953+
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
19561954
msgid "file must be a file opened in byte mode"
19571955
msgstr ""
19581956

@@ -2001,7 +1999,7 @@ msgstr "fungsi tidak dapat mengambil argumen keyword"
20011999
msgid "function expected at most %d arguments, got %d"
20022000
msgstr "fungsi diharapkan setidaknya %d argumen, hanya mendapatkan %d"
20032001

2004-
#: py/bc.c py/objnamedtuple.c
2002+
#: py/objnamedtuple.c py/bc.c
20052003
msgid "function got multiple values for argument '%q'"
20062004
msgstr "fungsi mendapatkan nilai ganda untuk argumen '%q'"
20072005

@@ -2023,7 +2021,7 @@ msgstr "fungsi kehilangan argumen keyword '%q' yang dibutuhkan"
20232021
msgid "function missing required positional argument #%d"
20242022
msgstr "fungsi kehilangan argumen posisi #%d yang dibutuhkan"
20252023

2026-
#: py/argcheck.c py/bc.c py/objnamedtuple.c
2024+
#: py/argcheck.c py/objnamedtuple.c py/bc.c
20272025
#, c-format
20282026
msgid "function takes %d positional arguments but %d were given"
20292027
msgstr "fungsi mengambil posisi argumen %d tapi %d yang diberikan"
@@ -2073,8 +2071,8 @@ msgid "incorrect padding"
20732071
msgstr "lapisan (padding) tidak benar"
20742072

20752073
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
2076-
#: ports/esp8266/common-hal/pulseio/PulseIn.c
2077-
#: ports/nrf/common-hal/pulseio/PulseIn.c py/obj.c
2074+
#: ports/nrf/common-hal/pulseio/PulseIn.c
2075+
#: ports/esp8266/common-hal/pulseio/PulseIn.c py/obj.c
20782076
msgid "index out of range"
20792077
msgstr "index keluar dari jangkauan"
20802078

@@ -2195,7 +2193,7 @@ msgstr "argumen keyword belum diimplementasi - gunakan args normal"
21952193
msgid "keywords must be strings"
21962194
msgstr "keyword harus berupa string"
21972195

2198-
#: py/emitinlinethumb.c py/emitinlinextensa.c
2196+
#: py/emitinlinextensa.c py/emitinlinethumb.c
21992197
msgid "label '%q' not defined"
22002198
msgstr ""
22012199

@@ -2235,7 +2233,7 @@ msgstr ""
22352233
msgid "map buffer too small"
22362234
msgstr ""
22372235

2238-
#: py/modmath.c shared-bindings/math/__init__.c
2236+
#: shared-bindings/math/__init__.c py/modmath.c
22392237
msgid "math domain error"
22402238
msgstr ""
22412239

@@ -2311,11 +2309,11 @@ msgstr ""
23112309
msgid "need more than %d values to unpack"
23122310
msgstr ""
23132311

2314-
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
2312+
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
23152313
msgid "negative power with no float support"
23162314
msgstr ""
23172315

2318-
#: py/objint_mpz.c py/runtime.c
2316+
#: py/runtime.c py/objint_mpz.c
23192317
msgid "negative shift count"
23202318
msgstr ""
23212319

@@ -2335,7 +2333,7 @@ msgstr "tidak ada ikatan/bind pada temuan nonlocal"
23352333
msgid "no module named '%q'"
23362334
msgstr "tidak ada modul yang bernama '%q'"
23372335

2338-
#: py/runtime.c shared-bindings/_pixelbuf/__init__.c
2336+
#: shared-bindings/_pixelbuf/__init__.c py/runtime.c
23392337
msgid "no such attribute"
23402338
msgstr ""
23412339

@@ -2422,13 +2420,13 @@ msgstr ""
24222420
msgid "odd-length string"
24232421
msgstr "panjang data string memiliki keganjilan (odd-length)"
24242422

2425-
#: py/objstr.c py/objstrunicode.c
2423+
#: py/objstrunicode.c py/objstr.c
24262424
#, fuzzy
24272425
msgid "offset out of bounds"
24282426
msgstr "modul tidak ditemukan"
24292427

2430-
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
2431-
#: shared-bindings/nvm/ByteArray.c
2428+
#: shared-bindings/nvm/ByteArray.c py/objarray.c py/objtuple.c
2429+
#: py/objstrunicode.c py/objstr.c
24322430
msgid "only slices with step=1 (aka None) are supported"
24332431
msgstr ""
24342432

@@ -2445,7 +2443,7 @@ msgstr ""
24452443
msgid "overflow converting long int to machine word"
24462444
msgstr ""
24472445

2448-
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
2446+
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
24492447
msgid "palette must be 32 bytes long"
24502448
msgstr ""
24512449

@@ -2482,8 +2480,8 @@ msgid "pixel_shader must be displayio.Palette or displayio.ColorConverter"
24822480
msgstr ""
24832481

24842482
#: ports/atmel-samd/common-hal/pulseio/PulseIn.c
2485-
#: ports/esp8266/common-hal/pulseio/PulseIn.c
24862483
#: ports/nrf/common-hal/pulseio/PulseIn.c
2484+
#: ports/esp8266/common-hal/pulseio/PulseIn.c
24872485
msgid "pop from an empty PulseIn"
24882486
msgstr "Muncul dari PulseIn yang kosong"
24892487

@@ -2590,7 +2588,7 @@ msgstr ""
25902588
msgid "slice step cannot be zero"
25912589
msgstr ""
25922590

2593-
#: py/objint.c py/sequence.c
2591+
#: py/sequence.c py/objint.c
25942592
msgid "small int overflow"
25952593
msgstr ""
25962594

@@ -2753,7 +2751,7 @@ msgstr ""
27532751
msgid "unexpected keyword argument"
27542752
msgstr "argumen keyword tidak diharapkan"
27552753

2756-
#: py/bc.c py/objnamedtuple.c
2754+
#: py/objnamedtuple.c py/bc.c
27572755
msgid "unexpected keyword argument '%q'"
27582756
msgstr "keyword argumen '%q' tidak diharapkan"
27592757

@@ -2871,3 +2869,11 @@ msgstr ""
28712869
#: py/objrange.c
28722870
msgid "zero step"
28732871
msgstr ""
2872+
2873+
#, fuzzy
2874+
#~ msgid "Failed to notify or indicate attribute value, err %0x04x"
2875+
#~ msgstr "Gagal untuk melaporkan nilai atribut, status: 0x%08lX"
2876+
2877+
#, fuzzy
2878+
#~ msgid "Failed to read attribute value, err %0x04x"
2879+
#~ msgstr "Gagal untuk membaca nilai atribut, status: 0x%08lX"

0 commit comments

Comments
 (0)
0