Skip to content

Commit 82ab998

Browse files
authored
Merge pull request #1998 from tannewt/monocolor
Add support for grayscale displays
2 parents 7cb2aa2 + 1d1b870 commit 82ab998

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

57 files changed

+1060
-226
lines changed

locale/ID.po

Lines changed: 16 additions & 2 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-07-09 09:06-0400\n"
11+
"POT-Creation-Date: 2019-07-19 16:10-0700\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -312,6 +312,10 @@ msgstr ""
312312
msgid "Both pins must support hardware interrupts"
313313
msgstr "Kedua pin harus mendukung hardware interrut"
314314

315+
#: shared-bindings/displayio/Display.c
316+
msgid "Brightness must be 0-1.0"
317+
msgstr ""
318+
315319
#: shared-bindings/supervisor/__init__.c
316320
msgid "Brightness must be between 0 and 255"
317321
msgstr ""
@@ -443,6 +447,10 @@ msgstr "Clock unit sedang digunakan"
443447
msgid "Column entry must be digitalio.DigitalInOut"
444448
msgstr ""
445449

450+
#: shared-bindings/displayio/I2CDisplay.c
451+
msgid "Command must be 0-255"
452+
msgstr ""
453+
446454
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
447455
msgid "Command must be an int between 0 and 255"
448456
msgstr ""
@@ -1171,7 +1179,8 @@ msgstr "Untuk keluar, silahkan reset board tanpa "
11711179
msgid "Too many channels in sample."
11721180
msgstr "Terlalu banyak channel dalam sampel"
11731181

1174-
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
1182+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/I2CDisplay.c
1183+
#: shared-bindings/displayio/ParallelBus.c
11751184
msgid "Too many display busses"
11761185
msgstr ""
11771186

@@ -1212,6 +1221,11 @@ msgstr ""
12121221
msgid "Unable to allocate buffers for signed conversion"
12131222
msgstr "Tidak dapat mengalokasikan buffer untuk signed conversion"
12141223

1224+
#: shared-module/displayio/I2CDisplay.c
1225+
#, c-format
1226+
msgid "Unable to find I2C Display at %x"
1227+
msgstr ""
1228+
12151229
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
12161230
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
12171231
msgid "Unable to find free GCLK"

locale/circuitpython.pot

Lines changed: 16 additions & 2 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-07-11 18:42-0400\n"
11+
"POT-Creation-Date: 2019-07-19 16:10-0700\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"
@@ -308,6 +308,10 @@ msgstr ""
308308
msgid "Both pins must support hardware interrupts"
309309
msgstr ""
310310

311+
#: shared-bindings/displayio/Display.c
312+
msgid "Brightness must be 0-1.0"
313+
msgstr ""
314+
311315
#: shared-bindings/supervisor/__init__.c
312316
msgid "Brightness must be between 0 and 255"
313317
msgstr ""
@@ -433,6 +437,10 @@ msgstr ""
433437
msgid "Column entry must be digitalio.DigitalInOut"
434438
msgstr ""
435439

440+
#: shared-bindings/displayio/I2CDisplay.c
441+
msgid "Command must be 0-255"
442+
msgstr ""
443+
436444
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
437445
msgid "Command must be an int between 0 and 255"
438446
msgstr ""
@@ -1148,7 +1156,8 @@ msgstr ""
11481156
msgid "Too many channels in sample."
11491157
msgstr ""
11501158

1151-
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
1159+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/I2CDisplay.c
1160+
#: shared-bindings/displayio/ParallelBus.c
11521161
msgid "Too many display busses"
11531162
msgstr ""
11541163

@@ -1189,6 +1198,11 @@ msgstr ""
11891198
msgid "Unable to allocate buffers for signed conversion"
11901199
msgstr ""
11911200

1201+
#: shared-module/displayio/I2CDisplay.c
1202+
#, c-format
1203+
msgid "Unable to find I2C Display at %x"
1204+
msgstr ""
1205+
11921206
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
11931207
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
11941208
msgid "Unable to find free GCLK"

locale/de_DE.po

Lines changed: 16 additions & 2 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-07-09 09:06-0400\n"
10+
"POT-Creation-Date: 2019-07-19 16:10-0700\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: Pascal Deneaux\n"
1313
"Language-Team: Sebastian Plamauer, Pascal Deneaux\n"
@@ -312,6 +312,10 @@ msgstr "Bit depth muss ein Vielfaches von 8 sein."
312312
msgid "Both pins must support hardware interrupts"
313313
msgstr "Beide pins müssen Hardware Interrupts unterstützen"
314314

315+
#: shared-bindings/displayio/Display.c
316+
msgid "Brightness must be 0-1.0"
317+
msgstr ""
318+
315319
#: shared-bindings/supervisor/__init__.c
316320
msgid "Brightness must be between 0 and 255"
317321
msgstr "Die Helligkeit muss zwischen 0 und 255 liegen"
@@ -437,6 +441,10 @@ msgstr "Clock unit wird benutzt"
437441
msgid "Column entry must be digitalio.DigitalInOut"
438442
msgstr ""
439443

444+
#: shared-bindings/displayio/I2CDisplay.c
445+
msgid "Command must be 0-255"
446+
msgstr ""
447+
440448
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
441449
msgid "Command must be an int between 0 and 255"
442450
msgstr "Der Befehl muss ein int zwischen 0 und 255 sein"
@@ -1177,7 +1185,8 @@ msgstr "Zum beenden, resette bitte das board ohne "
11771185
msgid "Too many channels in sample."
11781186
msgstr "Zu viele Kanäle im sample"
11791187

1180-
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
1188+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/I2CDisplay.c
1189+
#: shared-bindings/displayio/ParallelBus.c
11811190
msgid "Too many display busses"
11821191
msgstr ""
11831192

@@ -1218,6 +1227,11 @@ msgstr "Der UUID-Wert ist kein str-, int- oder Byte-Puffer"
12181227
msgid "Unable to allocate buffers for signed conversion"
12191228
msgstr "Konnte keine Buffer für Vorzeichenumwandlung allozieren"
12201229

1230+
#: shared-module/displayio/I2CDisplay.c
1231+
#, c-format
1232+
msgid "Unable to find I2C Display at %x"
1233+
msgstr ""
1234+
12211235
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
12221236
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
12231237
msgid "Unable to find free GCLK"

locale/en_US.po

Lines changed: 16 additions & 2 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-07-09 09:06-0400\n"
10+
"POT-Creation-Date: 2019-07-19 16:10-0700\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -308,6 +308,10 @@ msgstr ""
308308
msgid "Both pins must support hardware interrupts"
309309
msgstr ""
310310

311+
#: shared-bindings/displayio/Display.c
312+
msgid "Brightness must be 0-1.0"
313+
msgstr ""
314+
311315
#: shared-bindings/supervisor/__init__.c
312316
msgid "Brightness must be between 0 and 255"
313317
msgstr ""
@@ -433,6 +437,10 @@ msgstr ""
433437
msgid "Column entry must be digitalio.DigitalInOut"
434438
msgstr ""
435439

440+
#: shared-bindings/displayio/I2CDisplay.c
441+
msgid "Command must be 0-255"
442+
msgstr ""
443+
436444
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
437445
msgid "Command must be an int between 0 and 255"
438446
msgstr ""
@@ -1148,7 +1156,8 @@ msgstr ""
11481156
msgid "Too many channels in sample."
11491157
msgstr ""
11501158

1151-
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
1159+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/I2CDisplay.c
1160+
#: shared-bindings/displayio/ParallelBus.c
11521161
msgid "Too many display busses"
11531162
msgstr ""
11541163

@@ -1189,6 +1198,11 @@ msgstr ""
11891198
msgid "Unable to allocate buffers for signed conversion"
11901199
msgstr ""
11911200

1201+
#: shared-module/displayio/I2CDisplay.c
1202+
#, c-format
1203+
msgid "Unable to find I2C Display at %x"
1204+
msgstr ""
1205+
11921206
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
11931207
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
11941208
msgid "Unable to find free GCLK"

locale/en_x_pirate.po

Lines changed: 16 additions & 2 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-07-09 09:06-0400\n"
10+
"POT-Creation-Date: 2019-07-19 16:10-0700\n"
1111
"PO-Revision-Date: 2018-07-27 11:55-0700\n"
1212
"Last-Translator: \n"
1313
"Language-Team: @sommersoft, @MrCertainly\n"
@@ -312,6 +312,10 @@ msgstr ""
312312
msgid "Both pins must support hardware interrupts"
313313
msgstr ""
314314

315+
#: shared-bindings/displayio/Display.c
316+
msgid "Brightness must be 0-1.0"
317+
msgstr ""
318+
315319
#: shared-bindings/supervisor/__init__.c
316320
msgid "Brightness must be between 0 and 255"
317321
msgstr ""
@@ -437,6 +441,10 @@ msgstr ""
437441
msgid "Column entry must be digitalio.DigitalInOut"
438442
msgstr ""
439443

444+
#: shared-bindings/displayio/I2CDisplay.c
445+
msgid "Command must be 0-255"
446+
msgstr ""
447+
440448
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
441449
msgid "Command must be an int between 0 and 255"
442450
msgstr ""
@@ -1152,7 +1160,8 @@ msgstr ""
11521160
msgid "Too many channels in sample."
11531161
msgstr ""
11541162

1155-
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
1163+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/I2CDisplay.c
1164+
#: shared-bindings/displayio/ParallelBus.c
11561165
msgid "Too many display busses"
11571166
msgstr ""
11581167

@@ -1193,6 +1202,11 @@ msgstr ""
11931202
msgid "Unable to allocate buffers for signed conversion"
11941203
msgstr ""
11951204

1205+
#: shared-module/displayio/I2CDisplay.c
1206+
#, c-format
1207+
msgid "Unable to find I2C Display at %x"
1208+
msgstr ""
1209+
11961210
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
11971211
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
11981212
msgid "Unable to find free GCLK"

locale/es.po

Lines changed: 16 additions & 2 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-07-09 09:07-0400\n"
10+
"POT-Creation-Date: 2019-07-19 16:10-0700\n"
1111
"PO-Revision-Date: 2018-08-24 22:56-0500\n"
1212
"Last-Translator: \n"
1313
"Language-Team: \n"
@@ -316,6 +316,10 @@ msgstr "Bits depth debe ser múltiplo de 8."
316316
msgid "Both pins must support hardware interrupts"
317317
msgstr "Ambos pines deben soportar interrupciones por hardware"
318318

319+
#: shared-bindings/displayio/Display.c
320+
msgid "Brightness must be 0-1.0"
321+
msgstr ""
322+
319323
#: shared-bindings/supervisor/__init__.c
320324
msgid "Brightness must be between 0 and 255"
321325
msgstr "El brillo debe estar entro 0 y 255"
@@ -441,6 +445,10 @@ msgstr "Clock unit está siendo utilizado"
441445
msgid "Column entry must be digitalio.DigitalInOut"
442446
msgstr "Entrada de columna debe ser digitalio.DigitalInOut"
443447

448+
#: shared-bindings/displayio/I2CDisplay.c
449+
msgid "Command must be 0-255"
450+
msgstr ""
451+
444452
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
445453
msgid "Command must be an int between 0 and 255"
446454
msgstr "Command debe estar entre 0 y 255."
@@ -1188,7 +1196,8 @@ msgstr "Para salir, por favor reinicia la tarjeta sin "
11881196
msgid "Too many channels in sample."
11891197
msgstr "Demasiados canales en sample."
11901198

1191-
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
1199+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/I2CDisplay.c
1200+
#: shared-bindings/displayio/ParallelBus.c
11921201
msgid "Too many display busses"
11931202
msgstr "Demasiados buses de pantalla"
11941203

@@ -1229,6 +1238,11 @@ msgstr "UUID valor no es un str, int o byte buffer"
12291238
msgid "Unable to allocate buffers for signed conversion"
12301239
msgstr "No se pudieron asignar buffers para la conversión con signo"
12311240

1241+
#: shared-module/displayio/I2CDisplay.c
1242+
#, c-format
1243+
msgid "Unable to find I2C Display at %x"
1244+
msgstr ""
1245+
12321246
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
12331247
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
12341248
msgid "Unable to find free GCLK"

locale/fil.po

Lines changed: 16 additions & 2 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-07-09 09:06-0400\n"
10+
"POT-Creation-Date: 2019-07-19 16:10-0700\n"
1111
"PO-Revision-Date: 2018-12-20 22:15-0800\n"
1212
"Last-Translator: Timothy <[email protected]>\n"
1313
"Language-Team: fil\n"
@@ -314,6 +314,10 @@ msgstr "Bit depth ay dapat multiple ng 8."
314314
msgid "Both pins must support hardware interrupts"
315315
msgstr "Ang parehong mga pin ay dapat na sumusuporta sa hardware interrupts"
316316

317+
#: shared-bindings/displayio/Display.c
318+
msgid "Brightness must be 0-1.0"
319+
msgstr ""
320+
317321
#: shared-bindings/supervisor/__init__.c
318322
msgid "Brightness must be between 0 and 255"
319323
msgstr "Ang liwanag ay dapat sa gitna ng 0 o 255"
@@ -441,6 +445,10 @@ msgstr "Clock unit ginagamit"
441445
msgid "Column entry must be digitalio.DigitalInOut"
442446
msgstr ""
443447

448+
#: shared-bindings/displayio/I2CDisplay.c
449+
msgid "Command must be 0-255"
450+
msgstr ""
451+
444452
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
445453
#, fuzzy
446454
msgid "Command must be an int between 0 and 255"
@@ -1191,7 +1199,8 @@ msgstr "Para lumabas, paki-reset ang board na wala ang "
11911199
msgid "Too many channels in sample."
11921200
msgstr "Sobra ang channels sa sample."
11931201

1194-
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/ParallelBus.c
1202+
#: shared-bindings/displayio/FourWire.c shared-bindings/displayio/I2CDisplay.c
1203+
#: shared-bindings/displayio/ParallelBus.c
11951204
msgid "Too many display busses"
11961205
msgstr ""
11971206

@@ -1232,6 +1241,11 @@ msgstr ""
12321241
msgid "Unable to allocate buffers for signed conversion"
12331242
msgstr "Hindi ma-allocate ang buffers para sa naka-sign na conversion"
12341243

1244+
#: shared-module/displayio/I2CDisplay.c
1245+
#, c-format
1246+
msgid "Unable to find I2C Display at %x"
1247+
msgstr ""
1248+
12351249
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
12361250
#: ports/atmel-samd/common-hal/audiobusio/PDMIn.c
12371251
msgid "Unable to find free GCLK"

0 commit comments

Comments
 (0)