Skip to content

Commit 7e89bee

Browse files
committed
Optimize the size of code for gamepad
1 parent 3469b1e commit 7e89bee

13 files changed

Lines changed: 424 additions & 483 deletions

File tree

locale/ID.po

Lines changed: 34 additions & 40 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-04-08 16:48-0700\n"
11+
"POT-Creation-Date: 2019-04-11 11:22+0200\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"
@@ -245,17 +245,17 @@ msgstr "Semua perangkat I2C sedang digunakan"
245245
msgid "All event channels in use"
246246
msgstr "Semua channel event sedang digunakan"
247247

248-
#: ports/atmel-samd/audio_dma.c ports/atmel-samd/common-hal/audiobusio/PDMIn.c
248+
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c ports/atmel-samd/audio_dma.c
249249
msgid "All sync event channels in use"
250250
msgstr "Semua channel event yang disinkronisasi sedang digunakan"
251251

252252
#: shared-bindings/pulseio/PWMOut.c
253253
msgid "All timers for this pin are in use"
254254
msgstr "Semua timer untuk pin ini sedang digunakan"
255255

256-
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
257256
#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
258257
#: ports/atmel-samd/common-hal/pulseio/PulseOut.c
258+
#: ports/atmel-samd/common-hal/audioio/AudioOut.c
259259
#: ports/nrf/common-hal/pulseio/PulseOut.c shared-bindings/pulseio/PWMOut.c
260260
#: shared-module/_pew/PewPew.c
261261
msgid "All timers in use"
@@ -522,18 +522,17 @@ msgstr "Channel EXTINT sedang digunakan"
522522
msgid "Error in regex"
523523
msgstr "Error pada regex"
524524

525-
#: shared-bindings/microcontroller/Pin.c
526-
#: shared-bindings/neopixel_write/__init__.c shared-bindings/pulseio/PulseOut.c
527-
#: shared-bindings/terminalio/Terminal.c
525+
#: shared-bindings/pulseio/PulseOut.c shared-bindings/neopixel_write/__init__.c
526+
#: shared-bindings/terminalio/Terminal.c shared-bindings/microcontroller/Pin.c
528527
msgid "Expected a %q"
529528
msgstr ""
530529

531530
#: shared-bindings/bleio/CharacteristicBuffer.c
532531
msgid "Expected a Characteristic"
533532
msgstr ""
534533

535-
#: shared-bindings/bleio/Characteristic.c shared-bindings/bleio/Descriptor.c
536-
#: shared-bindings/bleio/Service.c
534+
#: shared-bindings/bleio/Descriptor.c shared-bindings/bleio/Service.c
535+
#: shared-bindings/bleio/Characteristic.c
537536
msgid "Expected a UUID"
538537
msgstr ""
539538

@@ -720,8 +719,8 @@ msgstr ""
720719
msgid "Frequency captured is above capability. Capture Paused."
721720
msgstr ""
722721

723-
#: shared-bindings/bitbangio/I2C.c shared-bindings/bitbangio/SPI.c
724-
#: shared-bindings/busio/I2C.c shared-bindings/busio/SPI.c
722+
#: shared-bindings/bitbangio/SPI.c shared-bindings/bitbangio/I2C.c
723+
#: shared-bindings/busio/SPI.c shared-bindings/busio/I2C.c
725724
msgid "Function requires lock"
726725
msgstr ""
727726

@@ -827,11 +826,10 @@ msgstr "Pin untuk channel kiri tidak valid"
827826
msgid "Invalid pin for right channel"
828827
msgstr "Pin untuk channel kanan tidak valid"
829828

830-
#: ports/atmel-samd/common-hal/busio/I2C.c
831-
#: ports/atmel-samd/common-hal/busio/SPI.c
832-
#: ports/atmel-samd/common-hal/busio/UART.c
833829
#: ports/atmel-samd/common-hal/i2cslave/I2CSlave.c
834-
#: ports/nrf/common-hal/busio/I2C.c
830+
#: ports/atmel-samd/common-hal/busio/UART.c
831+
#: ports/atmel-samd/common-hal/busio/SPI.c
832+
#: ports/atmel-samd/common-hal/busio/I2C.c ports/nrf/common-hal/busio/I2C.c
835833
msgid "Invalid pins"
836834
msgstr "Pin-pin tidak valid"
837835

@@ -1093,8 +1091,8 @@ msgstr "Serializer sedang digunakan"
10931091
msgid "Slice and value different lengths."
10941092
msgstr ""
10951093

1096-
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/Group.c
1097-
#: shared-bindings/displayio/TileGrid.c shared-bindings/pulseio/PulseIn.c
1094+
#: shared-bindings/displayio/Bitmap.c shared-bindings/displayio/TileGrid.c
1095+
#: shared-bindings/displayio/Group.c shared-bindings/pulseio/PulseIn.c
10981096
msgid "Slices not supported"
10991097
msgstr ""
11001098

@@ -1347,7 +1345,7 @@ msgstr ""
13471345
msgid "argument has wrong type"
13481346
msgstr ""
13491347

1350-
#: py/argcheck.c
1348+
#: py/argcheck.c shared-bindings/gamepad/GamePad.c
13511349
msgid "argument num/types mismatch"
13521350
msgstr "argumen num/types tidak cocok"
13531351

@@ -1660,7 +1658,7 @@ msgstr ""
16601658
msgid "complex division by zero"
16611659
msgstr ""
16621660

1663-
#: py/objfloat.c py/parsenum.c
1661+
#: py/parsenum.c py/objfloat.c
16641662
msgid "complex values not supported"
16651663
msgstr ""
16661664

@@ -1701,7 +1699,7 @@ msgstr ""
17011699
msgid "dict update sequence has wrong length"
17021700
msgstr ""
17031701

1704-
#: py/modmath.c py/objfloat.c py/objint_longlong.c py/objint_mpz.c py/runtime.c
1702+
#: py/runtime.c py/modmath.c py/objint_mpz.c py/objint_longlong.c py/objfloat.c
17051703
#: shared-bindings/math/__init__.c
17061704
msgid "division by zero"
17071705
msgstr ""
@@ -1710,7 +1708,7 @@ msgstr ""
17101708
msgid "empty"
17111709
msgstr ""
17121710

1713-
#: extmod/moduheapq.c extmod/modutimeq.c
1711+
#: extmod/modutimeq.c extmod/moduheapq.c
17141712
msgid "empty heap"
17151713
msgstr "heap kosong"
17161714

@@ -1775,7 +1773,7 @@ msgstr "argumen keyword ekstra telah diberikan"
17751773
msgid "extra positional arguments given"
17761774
msgstr "argumen posisi ekstra telah diberikan"
17771775

1778-
#: shared-bindings/audioio/WaveFile.c shared-bindings/displayio/OnDiskBitmap.c
1776+
#: shared-bindings/displayio/OnDiskBitmap.c shared-bindings/audioio/WaveFile.c
17791777
msgid "file must be a file opened in byte mode"
17801778
msgstr ""
17811779

@@ -1816,7 +1814,7 @@ msgstr "fungsi tidak dapat mengambil argumen keyword"
18161814
msgid "function expected at most %d arguments, got %d"
18171815
msgstr "fungsi diharapkan setidaknya %d argumen, hanya mendapatkan %d"
18181816

1819-
#: py/bc.c py/objnamedtuple.c
1817+
#: py/objnamedtuple.c py/bc.c
18201818
msgid "function got multiple values for argument '%q'"
18211819
msgstr "fungsi mendapatkan nilai ganda untuk argumen '%q'"
18221820

@@ -1838,7 +1836,7 @@ msgstr "fungsi kehilangan argumen keyword '%q' yang dibutuhkan"
18381836
msgid "function missing required positional argument #%d"
18391837
msgstr "fungsi kehilangan argumen posisi #%d yang dibutuhkan"
18401838

1841-
#: py/argcheck.c py/bc.c py/objnamedtuple.c
1839+
#: py/argcheck.c py/objnamedtuple.c py/bc.c
18421840
#, c-format
18431841
msgid "function takes %d positional arguments but %d were given"
18441842
msgstr "fungsi mengambil posisi argumen %d tapi %d yang diberikan"
@@ -1985,7 +1983,7 @@ msgstr "argumen keyword belum diimplementasi - gunakan args normal"
19851983
msgid "keywords must be strings"
19861984
msgstr "keyword harus berupa string"
19871985

1988-
#: py/emitinlinethumb.c py/emitinlinextensa.c
1986+
#: py/emitinlinextensa.c py/emitinlinethumb.c
19891987
msgid "label '%q' not defined"
19901988
msgstr ""
19911989

@@ -2092,11 +2090,11 @@ msgstr ""
20922090
msgid "need more than %d values to unpack"
20932091
msgstr ""
20942092

2095-
#: py/objint_longlong.c py/objint_mpz.c py/runtime.c
2093+
#: py/runtime.c py/objint_mpz.c py/objint_longlong.c
20962094
msgid "negative power with no float support"
20972095
msgstr ""
20982096

2099-
#: py/objint_mpz.c py/runtime.c
2097+
#: py/runtime.c py/objint_mpz.c
21002098
msgid "negative shift count"
21012099
msgstr ""
21022100

@@ -2198,12 +2196,12 @@ msgstr ""
21982196
msgid "odd-length string"
21992197
msgstr "panjang data string memiliki keganjilan (odd-length)"
22002198

2201-
#: py/objstr.c py/objstrunicode.c
2199+
#: py/objstrunicode.c py/objstr.c
22022200
#, fuzzy
22032201
msgid "offset out of bounds"
22042202
msgstr "modul tidak ditemukan"
22052203

2206-
#: py/objarray.c py/objstr.c py/objstrunicode.c py/objtuple.c
2204+
#: py/objarray.c py/objtuple.c py/objstrunicode.c py/objstr.c
22072205
#: shared-bindings/nvm/ByteArray.c
22082206
msgid "only slices with step=1 (aka None) are supported"
22092207
msgstr ""
@@ -2221,7 +2219,7 @@ msgstr ""
22212219
msgid "overflow converting long int to machine word"
22222220
msgstr ""
22232221

2224-
#: shared-bindings/_stage/Layer.c shared-bindings/_stage/Text.c
2222+
#: shared-bindings/_stage/Text.c shared-bindings/_stage/Layer.c
22252223
msgid "palette must be 32 bytes long"
22262224
msgstr ""
22272225

@@ -2353,7 +2351,7 @@ msgstr ""
23532351
msgid "slice step cannot be zero"
23542352
msgstr ""
23552353

2356-
#: py/objint.c py/sequence.c
2354+
#: py/sequence.c py/objint.c
23572355
msgid "small int overflow"
23582356
msgstr ""
23592357

@@ -2455,10 +2453,6 @@ msgstr "bits harus memilki nilai 8"
24552453
msgid "timestamp out of range for platform time_t"
24562454
msgstr ""
24572455

2458-
#: shared-bindings/gamepad/GamePad.c
2459-
msgid "too many arguments"
2460-
msgstr ""
2461-
24622456
#: shared-module/struct/__init__.c
24632457
msgid "too many arguments provided with the given format"
24642458
msgstr ""
@@ -2516,7 +2510,7 @@ msgstr ""
25162510
msgid "unexpected keyword argument"
25172511
msgstr "argumen keyword tidak diharapkan"
25182512

2519-
#: py/bc.c py/objnamedtuple.c
2513+
#: py/objnamedtuple.c py/bc.c
25202514
msgid "unexpected keyword argument '%q'"
25212515
msgstr "keyword argumen '%q' tidak diharapkan"
25222516

0 commit comments

Comments
 (0)