Skip to content

Fix flash write error handling; clean up safe mode message printing #2381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 65 additions & 51 deletions locale/ID.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2019-12-10 13:55-0600\n"
"POT-Creation-Date: 2019-12-12 14:51-0500\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
Expand All @@ -23,6 +23,19 @@ msgid ""
"Code done running. Waiting for reload.\n"
msgstr ""

#: supervisor/shared/safe_mode.c
msgid ""
"\n"
"Please file an issue with the contents of your CIRCUITPY drive at \n"
"https://github.com/adafruit/circuitpython/issues\n"
msgstr ""

#: supervisor/shared/safe_mode.c
msgid ""
"\n"
"To exit, please reset the board without "
msgstr ""

#: py/obj.c
msgid " File \"%q\""
msgstr ""
Expand Down Expand Up @@ -294,7 +307,7 @@ msgid "Array values should be single bytes."
msgstr ""

#: supervisor/shared/safe_mode.c
msgid "Attempted heap allocation when MicroPython VM not running.\n"
msgid "Attempted heap allocation when MicroPython VM not running."
msgstr ""

#: main.c
Expand Down Expand Up @@ -454,6 +467,16 @@ msgstr ""
msgid "CharacteristicBuffer writing not provided"
msgstr ""

#: supervisor/shared/safe_mode.c
msgid "CircuitPython core code crashed hard. Whoops!\n"
msgstr ""

#: supervisor/shared/safe_mode.c
msgid ""
"CircuitPython is in safe mode because you pressed the reset button during "
"boot. Press again to exit safe mode.\n"
msgstr ""

#: shared-module/bitbangio/SPI.c
msgid "Clock pin init failed."
msgstr ""
Expand Down Expand Up @@ -515,7 +538,7 @@ msgid "Couldn't allocate second buffer"
msgstr ""

#: supervisor/shared/safe_mode.c
msgid "Crash into the HardFault_Handler.\n"
msgid "Crash into the HardFault_Handler."
msgstr ""

#: ports/atmel-samd/common-hal/audioio/AudioOut.c
Expand Down Expand Up @@ -632,28 +655,18 @@ msgstr ""
msgid "Failed to release mutex, err 0x%04x"
msgstr "Gagal untuk melepaskan mutex, status: 0x%08lX"

#: py/moduerrno.c
msgid "File exists"
msgstr ""

#: ports/nrf/peripherals/nrf/nvm.c
msgid "Flash erase failed"
#: supervisor/shared/safe_mode.c
msgid "Failed to write internal flash."
msgstr ""

#: ports/nrf/peripherals/nrf/nvm.c
#, c-format
msgid "Flash erase failed to start, err 0x%04x"
#: py/moduerrno.c
msgid "File exists"
msgstr ""

#: ports/nrf/peripherals/nrf/nvm.c
#: ports/nrf/common-hal/nvm/ByteArray.c
msgid "Flash write failed"
msgstr ""

#: ports/nrf/peripherals/nrf/nvm.c
#, c-format
msgid "Flash write failed to start, err 0x%04x"
msgstr ""

#: ports/atmel-samd/common-hal/frequencyio/FrequencyIn.c
msgid "Frequency captured is above capability. Capture Paused."
msgstr ""
Expand Down Expand Up @@ -826,13 +839,6 @@ msgstr ""
msgid "Length must be non-negative"
msgstr ""

#: supervisor/shared/safe_mode.c
msgid ""
"Looks like our core CircuitPython code crashed hard. Whoops!\n"
"Please file an issue at https://github.com/adafruit/circuitpython/issues\n"
" with the contents of your CIRCUITPY drive and this message:\n"
msgstr ""

#: shared-module/bitbangio/SPI.c
msgid "MISO pin init failed."
msgstr ""
Expand All @@ -847,11 +853,11 @@ msgid "Maximum x value when mirrored is %d"
msgstr ""

#: supervisor/shared/safe_mode.c
msgid "MicroPython NLR jump failed. Likely memory corruption.\n"
msgid "MicroPython NLR jump failed. Likely memory corruption."
msgstr ""

#: supervisor/shared/safe_mode.c
msgid "MicroPython fatal error.\n"
msgid "MicroPython fatal error."
msgstr ""

#: shared-bindings/audiobusio/PDMIn.c
Expand Down Expand Up @@ -920,6 +926,10 @@ msgstr ""
msgid "No such file/directory"
msgstr ""

#: supervisor/shared/safe_mode.c
msgid "Nordic Soft Device failure assertion."
msgstr ""

#: ports/nrf/common-hal/_bleio/__init__.c
#: shared-bindings/_bleio/CharacteristicBuffer.c
#, fuzzy
Expand Down Expand Up @@ -1103,10 +1113,7 @@ msgstr ""
#: supervisor/shared/safe_mode.c
msgid ""
"The CircuitPython heap was corrupted because the stack was too small.\n"
"Please increase stack size limits and press reset (after ejecting "
"CIRCUITPY).\n"
"If you didn't change the stack, then file an issue here with the contents of "
"your CIRCUITPY drive:\n"
"Please increase the stack size if you know how, or if not:"
msgstr ""

#: supervisor/shared/safe_mode.c
Expand All @@ -1116,21 +1123,11 @@ msgid ""
msgstr ""

#: supervisor/shared/safe_mode.c
#, fuzzy
msgid ""
"The microcontroller's power dipped. Please make sure your power supply "
"provides\n"
"The microcontroller's power dipped. Make sure your power supply provides\n"
"enough power for the whole circuit and press reset (after ejecting "
"CIRCUITPY).\n"
msgstr ""
"Tegangan dari mikrokontroler turun atau mati. Pastikan sumber tegangan "
"memberikan daya\n"

#: supervisor/shared/safe_mode.c
msgid ""
"The reset button was pressed while booting CircuitPython. Press again to "
"exit safe mode.\n"
msgstr ""

#: shared-module/audiomixer/MixerVoice.c
msgid "The sample's bits_per_sample does not match the mixer's"
Expand Down Expand Up @@ -1164,10 +1161,6 @@ msgstr ""
msgid "Tile width must exactly divide bitmap width"
msgstr ""

#: supervisor/shared/safe_mode.c
msgid "To exit, please reset the board without "
msgstr "Untuk keluar, silahkan reset board tanpa "

#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
msgid "Too many channels in sample."
msgstr "Terlalu banyak channel dalam sampel"
Expand Down Expand Up @@ -1246,6 +1239,10 @@ msgstr ""
msgid "Unknown gatt error: 0x%04x"
msgstr ""

#: supervisor/shared/safe_mode.c
msgid "Unknown reason."
msgstr ""

#: ports/nrf/common-hal/_bleio/__init__.c
#, c-format
msgid "Unknown security error: 0x%04x"
Expand Down Expand Up @@ -1323,12 +1320,8 @@ msgstr ""
"Untuk menampilkan modul built-in silahkan ketik `help(\"modules\")`.\n"

#: supervisor/shared/safe_mode.c
#, fuzzy
msgid ""
"You are running in safe mode which means something unanticipated happened.\n"
msgid "You are in safe mode: something unanticipated happened.\n"
msgstr ""
"Anda sedang menjalankan mode aman (safe mode) yang berarti sesuatu yang "
"sangat buruk telah terjadi.\n"

#: supervisor/shared/safe_mode.c
msgid "You requested starting safe mode by "
Expand Down Expand Up @@ -2853,6 +2846,19 @@ msgstr ""
#~ msgid "Soft device assert, id: 0x%08lX, pc: 0x%08lX"
#~ msgstr "Dukungan soft device, id: 0x%08lX, pc: 0x%08l"

#, fuzzy
#~ msgid ""
#~ "The microcontroller's power dipped. Please make sure your power supply "
#~ "provides\n"
#~ "enough power for the whole circuit and press reset (after ejecting "
#~ "CIRCUITPY).\n"
#~ msgstr ""
#~ "Tegangan dari mikrokontroler turun atau mati. Pastikan sumber tegangan "
#~ "memberikan daya\n"

#~ msgid "To exit, please reset the board without "
#~ msgstr "Untuk keluar, silahkan reset board tanpa "

#~ msgid "UART(%d) does not exist"
#~ msgstr "UART(%d) tidak ada"

Expand All @@ -2870,6 +2876,14 @@ msgstr ""
#~ "Gunakan esptool untuk menghapus flash dan upload ulang Python sebagai "
#~ "gantinya"

#, fuzzy
#~ msgid ""
#~ "You are running in safe mode which means something unanticipated "
#~ "happened.\n"
#~ msgstr ""
#~ "Anda sedang menjalankan mode aman (safe mode) yang berarti sesuatu yang "
#~ "sangat buruk telah terjadi.\n"

#~ msgid "[addrinfo error %d]"
#~ msgstr "[addrinfo error %d]"

Expand Down
Loading