Merge pull request #1244 from urish/armthumb-fix

fix compilation errors in emitinlinethumb.c
This commit is contained in:
Dan Halbert 2018-10-06 19:48:27 -04:00 committed by GitHub
commit c23d2028a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 508 additions and 194 deletions

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-03 23:15+0700\n" "POT-Creation-Date: 2018-10-07 02:07+0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n" "Language-Team: LANGUAGE <LL@li.org>\n"
@ -702,10 +702,6 @@ msgstr ""
msgid "All SPI peripherals are in use" msgid "All SPI peripherals are in use"
msgstr "" msgstr ""
#: ports/nrf/common-hal/busio/SPI.c:176
msgid "Baud rate too high for this SPI peripheral"
msgstr ""
#: ports/nrf/common-hal/busio/UART.c:48 #: ports/nrf/common-hal/busio/UART.c:48
#, c-format #, c-format
msgid "error = 0x%08lX" msgid "error = 0x%08lX"
@ -1095,6 +1091,72 @@ msgstr ""
msgid "'data' requires integer arguments" msgid "'data' requires integer arguments"
msgstr "" msgstr ""
#: py/emitinlinethumb.c:102
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
#: py/emitinlinethumb.c:107 py/emitinlinethumb.c:112
msgid "parameters must be registers in sequence r0 to r3"
msgstr ""
#: py/emitinlinethumb.c:188 py/emitinlinethumb.c:230
#, c-format
msgid "'%s' expects at most r%d"
msgstr ""
#: py/emitinlinethumb.c:197 py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr ""
#: py/emitinlinethumb.c:211
#, c-format
msgid "'%s' expects a special register"
msgstr ""
#: py/emitinlinethumb.c:239
#, c-format
msgid "'%s' expects an FPU register"
msgstr ""
#: py/emitinlinethumb.c:292
#, c-format
msgid "'%s' expects {r0, r1, ...}"
msgstr ""
#: py/emitinlinethumb.c:299 py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr ""
#: py/emitinlinethumb.c:304
#, c-format
msgid "'%s' integer 0x%x does not fit in mask 0x%x"
msgstr ""
#: py/emitinlinethumb.c:328
#, c-format
msgid "'%s' expects an address of the form [a, b]"
msgstr ""
#: py/emitinlinethumb.c:334 py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinethumb.c:345 py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr ""
#: py/emitinlinethumb.c:806
#, c-format
msgid "unsupported Thumb instruction '%s' with %d arguments"
msgstr ""
#: py/emitinlinethumb.c:810
msgid "branch not in range"
msgstr ""
#: py/emitinlinextensa.c:86 #: py/emitinlinextensa.c:86
msgid "can only have up to 4 parameters to Xtensa assembly" msgid "can only have up to 4 parameters to Xtensa assembly"
msgstr "" msgstr ""
@ -1103,30 +1165,11 @@ msgstr ""
msgid "parameters must be registers in sequence a2 to a5" msgid "parameters must be registers in sequence a2 to a5"
msgstr "" msgstr ""
#: py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr ""
#: py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr ""
#: py/emitinlinextensa.c:174 #: py/emitinlinextensa.c:174
#, c-format #, c-format
msgid "'%s' integer %d is not within range %d..%d" msgid "'%s' integer %d is not within range %d..%d"
msgstr "" msgstr ""
#: py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr ""
#: py/emitinlinextensa.c:327 #: py/emitinlinextensa.c:327
#, c-format #, c-format
msgid "unsupported Xtensa instruction '%s' with %d arguments" msgid "unsupported Xtensa instruction '%s' with %d arguments"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-03 23:15+0700\n" "POT-Creation-Date: 2018-10-07 02:07+0300\n"
"PO-Revision-Date: 2018-07-27 11:55-0700\n" "PO-Revision-Date: 2018-07-27 11:55-0700\n"
"Last-Translator: Sebastian Plamauer\n" "Last-Translator: Sebastian Plamauer\n"
"Language-Team: \n" "Language-Team: \n"
@ -713,10 +713,6 @@ msgstr "Alle timer werden benutzt"
msgid "All SPI peripherals are in use" msgid "All SPI peripherals are in use"
msgstr "Alle timer werden benutzt" msgstr "Alle timer werden benutzt"
#: ports/nrf/common-hal/busio/SPI.c:176
msgid "Baud rate too high for this SPI peripheral"
msgstr ""
#: ports/nrf/common-hal/busio/UART.c:48 #: ports/nrf/common-hal/busio/UART.c:48
#, c-format #, c-format
msgid "error = 0x%08lX" msgid "error = 0x%08lX"
@ -1108,6 +1104,73 @@ msgstr ""
msgid "'data' requires integer arguments" msgid "'data' requires integer arguments"
msgstr "" msgstr ""
#: py/emitinlinethumb.c:102
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
#: py/emitinlinethumb.c:107 py/emitinlinethumb.c:112
msgid "parameters must be registers in sequence r0 to r3"
msgstr ""
#: py/emitinlinethumb.c:188 py/emitinlinethumb.c:230
#, c-format
msgid "'%s' expects at most r%d"
msgstr ""
#: py/emitinlinethumb.c:197 py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr ""
#: py/emitinlinethumb.c:211
#, c-format
msgid "'%s' expects a special register"
msgstr ""
#: py/emitinlinethumb.c:239
#, c-format
msgid "'%s' expects an FPU register"
msgstr ""
#: py/emitinlinethumb.c:292
#, c-format
msgid "'%s' expects {r0, r1, ...}"
msgstr ""
#: py/emitinlinethumb.c:299 py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr ""
#: py/emitinlinethumb.c:304
#, c-format
msgid "'%s' integer 0x%x does not fit in mask 0x%x"
msgstr ""
#: py/emitinlinethumb.c:328
#, c-format
msgid "'%s' expects an address of the form [a, b]"
msgstr ""
#: py/emitinlinethumb.c:334 py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinethumb.c:345 py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr ""
#: py/emitinlinethumb.c:806
#, c-format
msgid "unsupported Thumb instruction '%s' with %d arguments"
msgstr ""
#: py/emitinlinethumb.c:810
#, fuzzy
msgid "branch not in range"
msgstr "Kalibrierung ist außerhalb der Reichweite"
#: py/emitinlinextensa.c:86 #: py/emitinlinextensa.c:86
msgid "can only have up to 4 parameters to Xtensa assembly" msgid "can only have up to 4 parameters to Xtensa assembly"
msgstr "" msgstr ""
@ -1116,30 +1179,11 @@ msgstr ""
msgid "parameters must be registers in sequence a2 to a5" msgid "parameters must be registers in sequence a2 to a5"
msgstr "" msgstr ""
#: py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr ""
#: py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr ""
#: py/emitinlinextensa.c:174 #: py/emitinlinextensa.c:174
#, c-format #, c-format
msgid "'%s' integer %d is not within range %d..%d" msgid "'%s' integer %d is not within range %d..%d"
msgstr "" msgstr ""
#: py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr ""
#: py/emitinlinextensa.c:327 #: py/emitinlinextensa.c:327
#, c-format #, c-format
msgid "unsupported Xtensa instruction '%s' with %d arguments" msgid "unsupported Xtensa instruction '%s' with %d arguments"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-03 23:15+0700\n" "POT-Creation-Date: 2018-10-07 02:07+0300\n"
"PO-Revision-Date: 2018-07-27 11:55-0700\n" "PO-Revision-Date: 2018-07-27 11:55-0700\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -702,10 +702,6 @@ msgstr ""
msgid "All SPI peripherals are in use" msgid "All SPI peripherals are in use"
msgstr "" msgstr ""
#: ports/nrf/common-hal/busio/SPI.c:176
msgid "Baud rate too high for this SPI peripheral"
msgstr ""
#: ports/nrf/common-hal/busio/UART.c:48 #: ports/nrf/common-hal/busio/UART.c:48
#, c-format #, c-format
msgid "error = 0x%08lX" msgid "error = 0x%08lX"
@ -1095,6 +1091,72 @@ msgstr ""
msgid "'data' requires integer arguments" msgid "'data' requires integer arguments"
msgstr "" msgstr ""
#: py/emitinlinethumb.c:102
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
#: py/emitinlinethumb.c:107 py/emitinlinethumb.c:112
msgid "parameters must be registers in sequence r0 to r3"
msgstr ""
#: py/emitinlinethumb.c:188 py/emitinlinethumb.c:230
#, c-format
msgid "'%s' expects at most r%d"
msgstr ""
#: py/emitinlinethumb.c:197 py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr ""
#: py/emitinlinethumb.c:211
#, c-format
msgid "'%s' expects a special register"
msgstr ""
#: py/emitinlinethumb.c:239
#, c-format
msgid "'%s' expects an FPU register"
msgstr ""
#: py/emitinlinethumb.c:292
#, c-format
msgid "'%s' expects {r0, r1, ...}"
msgstr ""
#: py/emitinlinethumb.c:299 py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr ""
#: py/emitinlinethumb.c:304
#, c-format
msgid "'%s' integer 0x%x does not fit in mask 0x%x"
msgstr ""
#: py/emitinlinethumb.c:328
#, c-format
msgid "'%s' expects an address of the form [a, b]"
msgstr ""
#: py/emitinlinethumb.c:334 py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinethumb.c:345 py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr ""
#: py/emitinlinethumb.c:806
#, c-format
msgid "unsupported Thumb instruction '%s' with %d arguments"
msgstr ""
#: py/emitinlinethumb.c:810
msgid "branch not in range"
msgstr ""
#: py/emitinlinextensa.c:86 #: py/emitinlinextensa.c:86
msgid "can only have up to 4 parameters to Xtensa assembly" msgid "can only have up to 4 parameters to Xtensa assembly"
msgstr "" msgstr ""
@ -1103,30 +1165,11 @@ msgstr ""
msgid "parameters must be registers in sequence a2 to a5" msgid "parameters must be registers in sequence a2 to a5"
msgstr "" msgstr ""
#: py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr ""
#: py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr ""
#: py/emitinlinextensa.c:174 #: py/emitinlinextensa.c:174
#, c-format #, c-format
msgid "'%s' integer %d is not within range %d..%d" msgid "'%s' integer %d is not within range %d..%d"
msgstr "" msgstr ""
#: py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr ""
#: py/emitinlinextensa.c:327 #: py/emitinlinextensa.c:327
#, c-format #, c-format
msgid "unsupported Xtensa instruction '%s' with %d arguments" msgid "unsupported Xtensa instruction '%s' with %d arguments"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-03 23:15+0700\n" "POT-Creation-Date: 2018-10-07 02:07+0300\n"
"PO-Revision-Date: 2018-08-24 22:56-0500\n" "PO-Revision-Date: 2018-08-24 22:56-0500\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -719,10 +719,6 @@ msgstr "Todos los timers están siendo utilizados"
msgid "All SPI peripherals are in use" msgid "All SPI peripherals are in use"
msgstr "Todos los timers están siendo utilizados" msgstr "Todos los timers están siendo utilizados"
#: ports/nrf/common-hal/busio/SPI.c:176
msgid "Baud rate too high for this SPI peripheral"
msgstr "Baud rate demasiado alto para este periférico SPI"
#: ports/nrf/common-hal/busio/UART.c:48 #: ports/nrf/common-hal/busio/UART.c:48
#, c-format #, c-format
msgid "error = 0x%08lX" msgid "error = 0x%08lX"
@ -1113,6 +1109,73 @@ msgstr ""
msgid "'data' requires integer arguments" msgid "'data' requires integer arguments"
msgstr "" msgstr ""
#: py/emitinlinethumb.c:102
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
#: py/emitinlinethumb.c:107 py/emitinlinethumb.c:112
msgid "parameters must be registers in sequence r0 to r3"
msgstr ""
#: py/emitinlinethumb.c:188 py/emitinlinethumb.c:230
#, c-format
msgid "'%s' expects at most r%d"
msgstr ""
#: py/emitinlinethumb.c:197 py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr ""
#: py/emitinlinethumb.c:211
#, fuzzy, c-format
msgid "'%s' expects a special register"
msgstr "ord espera un carácter"
#: py/emitinlinethumb.c:239
#, c-format
msgid "'%s' expects an FPU register"
msgstr ""
#: py/emitinlinethumb.c:292
#, c-format
msgid "'%s' expects {r0, r1, ...}"
msgstr ""
#: py/emitinlinethumb.c:299 py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr ""
#: py/emitinlinethumb.c:304
#, c-format
msgid "'%s' integer 0x%x does not fit in mask 0x%x"
msgstr ""
#: py/emitinlinethumb.c:328
#, c-format
msgid "'%s' expects an address of the form [a, b]"
msgstr ""
#: py/emitinlinethumb.c:334 py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinethumb.c:345 py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr ""
#: py/emitinlinethumb.c:806
#, c-format
msgid "unsupported Thumb instruction '%s' with %d arguments"
msgstr ""
#: py/emitinlinethumb.c:810
#, fuzzy
msgid "branch not in range"
msgstr "El argumento de chr() no esta en el rango(256)"
#: py/emitinlinextensa.c:86 #: py/emitinlinextensa.c:86
msgid "can only have up to 4 parameters to Xtensa assembly" msgid "can only have up to 4 parameters to Xtensa assembly"
msgstr "" msgstr ""
@ -1121,30 +1184,11 @@ msgstr ""
msgid "parameters must be registers in sequence a2 to a5" msgid "parameters must be registers in sequence a2 to a5"
msgstr "" msgstr ""
#: py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr ""
#: py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr ""
#: py/emitinlinextensa.c:174 #: py/emitinlinextensa.c:174
#, c-format #, c-format
msgid "'%s' integer %d is not within range %d..%d" msgid "'%s' integer %d is not within range %d..%d"
msgstr "" msgstr ""
#: py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr ""
#: py/emitinlinextensa.c:327 #: py/emitinlinextensa.c:327
#, c-format #, c-format
msgid "unsupported Xtensa instruction '%s' with %d arguments" msgid "unsupported Xtensa instruction '%s' with %d arguments"
@ -2410,3 +2454,6 @@ msgstr ""
#: shared-module/struct/__init__.c:83 #: shared-module/struct/__init__.c:83
msgid "too many arguments provided with the given format" msgid "too many arguments provided with the given format"
msgstr "" msgstr ""
#~ msgid "Baud rate too high for this SPI peripheral"
#~ msgstr "Baud rate demasiado alto para este periférico SPI"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: \n" "Project-Id-Version: \n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-03 23:15+0700\n" "POT-Creation-Date: 2018-10-07 02:07+0300\n"
"PO-Revision-Date: 2018-08-30 23:04-0700\n" "PO-Revision-Date: 2018-08-30 23:04-0700\n"
"Last-Translator: Timothy <me@timothygarcia.ca>\n" "Last-Translator: Timothy <me@timothygarcia.ca>\n"
"Language-Team: fil\n" "Language-Team: fil\n"
@ -719,10 +719,6 @@ msgstr "Lahat ng timer ginagamit"
msgid "All SPI peripherals are in use" msgid "All SPI peripherals are in use"
msgstr "Lahat ng timer ginagamit" msgstr "Lahat ng timer ginagamit"
#: ports/nrf/common-hal/busio/SPI.c:176
msgid "Baud rate too high for this SPI peripheral"
msgstr ""
#: ports/nrf/common-hal/busio/UART.c:48 #: ports/nrf/common-hal/busio/UART.c:48
#, c-format #, c-format
msgid "error = 0x%08lX" msgid "error = 0x%08lX"
@ -743,7 +739,6 @@ msgstr "hindi sinusuportahan ang bytes > 8 bits"
#: ports/nrf/common-hal/busio/UART.c:342 ports/nrf/common-hal/busio/UART.c:347 #: ports/nrf/common-hal/busio/UART.c:342 ports/nrf/common-hal/busio/UART.c:347
#: ports/nrf/common-hal/busio/UART.c:352 ports/nrf/common-hal/busio/UART.c:356 #: ports/nrf/common-hal/busio/UART.c:352 ports/nrf/common-hal/busio/UART.c:356
#: ports/nrf/common-hal/busio/UART.c:364 #: ports/nrf/common-hal/busio/UART.c:364
#, fuzzy
msgid "busio.UART not available" msgid "busio.UART not available"
msgstr "" msgstr ""
@ -1119,6 +1114,75 @@ msgstr "'data' kailangan ng hindi bababa sa 2 argument"
msgid "'data' requires integer arguments" msgid "'data' requires integer arguments"
msgstr "'data' kailangan ng integer arguments" msgstr "'data' kailangan ng integer arguments"
#: py/emitinlinethumb.c:102
#, fuzzy
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr "maaari lamang magkaroon ng hanggang 4 na parameter sa Xtensa assembly"
#: py/emitinlinethumb.c:107 py/emitinlinethumb.c:112
#, fuzzy
msgid "parameters must be registers in sequence r0 to r3"
msgstr "ang mga parameter ay dapat na nagrerehistro sa sequence a2 hanggang a5"
#: py/emitinlinethumb.c:188 py/emitinlinethumb.c:230
#, fuzzy, c-format
msgid "'%s' expects at most r%d"
msgstr "Inaasahan ng '%s' ang isang rehistro"
#: py/emitinlinethumb.c:197 py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr "Inaasahan ng '%s' ang isang rehistro"
#: py/emitinlinethumb.c:211
#, fuzzy, c-format
msgid "'%s' expects a special register"
msgstr "Inaasahan ng '%s' ang isang rehistro"
#: py/emitinlinethumb.c:239
#, fuzzy, c-format
msgid "'%s' expects an FPU register"
msgstr "Inaasahan ng '%s' ang isang rehistro"
#: py/emitinlinethumb.c:292
#, fuzzy, c-format
msgid "'%s' expects {r0, r1, ...}"
msgstr "Inaasahan ng '%s' ang isang rehistro"
#: py/emitinlinethumb.c:299 py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr "Inaasahan ng '%s' ang isang integer"
#: py/emitinlinethumb.c:304
#, fuzzy, c-format
msgid "'%s' integer 0x%x does not fit in mask 0x%x"
msgstr "'%s' integer %d ay wala sa sakop ng %d..%d"
#: py/emitinlinethumb.c:328
#, fuzzy, c-format
msgid "'%s' expects an address of the form [a, b]"
msgstr "Inaasahan ng '%s' ang isang rehistro"
#: py/emitinlinethumb.c:334 py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr "'%s' umaasa ng label"
#: py/emitinlinethumb.c:345 py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr "label '%d' kailangan na i-define"
#: py/emitinlinethumb.c:806
#, fuzzy, c-format
msgid "unsupported Thumb instruction '%s' with %d arguments"
msgstr "hindi sinusuportahan ang instruction ng Xtensa '%s' sa %d argumento"
#: py/emitinlinethumb.c:810
#, fuzzy
msgid "branch not in range"
msgstr "chr() arg wala sa sakop ng range(256)"
#: py/emitinlinextensa.c:86 #: py/emitinlinextensa.c:86
msgid "can only have up to 4 parameters to Xtensa assembly" msgid "can only have up to 4 parameters to Xtensa assembly"
msgstr "maaari lamang magkaroon ng hanggang 4 na parameter sa Xtensa assembly" msgstr "maaari lamang magkaroon ng hanggang 4 na parameter sa Xtensa assembly"
@ -1127,30 +1191,11 @@ msgstr "maaari lamang magkaroon ng hanggang 4 na parameter sa Xtensa assembly"
msgid "parameters must be registers in sequence a2 to a5" msgid "parameters must be registers in sequence a2 to a5"
msgstr "ang mga parameter ay dapat na nagrerehistro sa sequence a2 hanggang a5" msgstr "ang mga parameter ay dapat na nagrerehistro sa sequence a2 hanggang a5"
#: py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr "Inaasahan ng '%s' ang isang rehistro"
#: py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr "Inaasahan ng '%s' ang isang integer"
#: py/emitinlinextensa.c:174 #: py/emitinlinextensa.c:174
#, c-format #, c-format
msgid "'%s' integer %d is not within range %d..%d" msgid "'%s' integer %d is not within range %d..%d"
msgstr "'%s' integer %d ay wala sa sakop ng %d..%d" msgstr "'%s' integer %d ay wala sa sakop ng %d..%d"
#: py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr "'%s' umaasa ng label"
#: py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr "label '%d' kailangan na i-define"
#: py/emitinlinextensa.c:327 #: py/emitinlinextensa.c:327
#, c-format #, c-format
msgid "unsupported Xtensa instruction '%s' with %d arguments" msgid "unsupported Xtensa instruction '%s' with %d arguments"

View File

@ -7,7 +7,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: 0.1\n" "Project-Id-Version: 0.1\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-03 23:15+0700\n" "POT-Creation-Date: 2018-10-07 02:07+0300\n"
"PO-Revision-Date: 2018-08-14 11:01+0200\n" "PO-Revision-Date: 2018-08-14 11:01+0200\n"
"Last-Translator: Pierrick Couturier <arofarn@arofarn.info>\n" "Last-Translator: Pierrick Couturier <arofarn@arofarn.info>\n"
"Language-Team: fr\n" "Language-Team: fr\n"
@ -715,10 +715,6 @@ msgstr "Tous les timers sont utilisés"
msgid "All SPI peripherals are in use" msgid "All SPI peripherals are in use"
msgstr "Tous les timers sont utilisés" msgstr "Tous les timers sont utilisés"
#: ports/nrf/common-hal/busio/SPI.c:176
msgid "Baud rate too high for this SPI peripheral"
msgstr ""
#: ports/nrf/common-hal/busio/UART.c:48 #: ports/nrf/common-hal/busio/UART.c:48
#, c-format #, c-format
msgid "error = 0x%08lX" msgid "error = 0x%08lX"
@ -1112,6 +1108,74 @@ msgstr "'data' nécessite au moins 2 arguments"
msgid "'data' requires integer arguments" msgid "'data' requires integer arguments"
msgstr "'data' nécessite des arguments entiers" msgstr "'data' nécessite des arguments entiers"
#: py/emitinlinethumb.c:102
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
#: py/emitinlinethumb.c:107 py/emitinlinethumb.c:112
#, fuzzy
msgid "parameters must be registers in sequence r0 to r3"
msgstr "les paramètres doivent être des registres dans la séquence a2 à a5"
#: py/emitinlinethumb.c:188 py/emitinlinethumb.c:230
#, fuzzy, c-format
msgid "'%s' expects at most r%d"
msgstr "'%s' attend un registre"
#: py/emitinlinethumb.c:197 py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr "'%s' attend un registre"
#: py/emitinlinethumb.c:211
#, fuzzy, c-format
msgid "'%s' expects a special register"
msgstr "'%s' attend un registre"
#: py/emitinlinethumb.c:239
#, fuzzy, c-format
msgid "'%s' expects an FPU register"
msgstr "'%s' attend un registre"
#: py/emitinlinethumb.c:292
#, fuzzy, c-format
msgid "'%s' expects {r0, r1, ...}"
msgstr "'%s' attend un registre"
#: py/emitinlinethumb.c:299 py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr "'%s' attend un entier"
#: py/emitinlinethumb.c:304
#, fuzzy, c-format
msgid "'%s' integer 0x%x does not fit in mask 0x%x"
msgstr "'%s' l'entier %d n'est pas dans la gamme %d..%d"
#: py/emitinlinethumb.c:328
#, fuzzy, c-format
msgid "'%s' expects an address of the form [a, b]"
msgstr "'%s' attend un registre"
#: py/emitinlinethumb.c:334 py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr "'%s' attend un label"
#: py/emitinlinethumb.c:345 py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr "label '%q' non supporté"
#: py/emitinlinethumb.c:806
#, fuzzy, c-format
msgid "unsupported Thumb instruction '%s' with %d arguments"
msgstr "instruction Xtensa '%s' non supportée avec %d arguments"
#: py/emitinlinethumb.c:810
#, fuzzy
msgid "branch not in range"
msgstr "argument de chr() hors de la gamme range(256)"
#: py/emitinlinextensa.c:86 #: py/emitinlinextensa.c:86
msgid "can only have up to 4 parameters to Xtensa assembly" msgid "can only have up to 4 parameters to Xtensa assembly"
msgstr "" msgstr ""
@ -1120,30 +1184,11 @@ msgstr ""
msgid "parameters must be registers in sequence a2 to a5" msgid "parameters must be registers in sequence a2 to a5"
msgstr "les paramètres doivent être des registres dans la séquence a2 à a5" msgstr "les paramètres doivent être des registres dans la séquence a2 à a5"
#: py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr "'%s' attend un registre"
#: py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr "'%s' attend un entier"
#: py/emitinlinextensa.c:174 #: py/emitinlinextensa.c:174
#, c-format #, c-format
msgid "'%s' integer %d is not within range %d..%d" msgid "'%s' integer %d is not within range %d..%d"
msgstr "'%s' l'entier %d n'est pas dans la gamme %d..%d" msgstr "'%s' l'entier %d n'est pas dans la gamme %d..%d"
#: py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr "'%s' attend un label"
#: py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr "label '%q' non supporté"
#: py/emitinlinextensa.c:327 #: py/emitinlinextensa.c:327
#, c-format #, c-format
msgid "unsupported Xtensa instruction '%s' with %d arguments" msgid "unsupported Xtensa instruction '%s' with %d arguments"
@ -2425,10 +2470,10 @@ msgstr "'S' et 'O' ne sont pas des types de format supportés"
msgid "too many arguments provided with the given format" msgid "too many arguments provided with the given format"
msgstr "trop d'arguments fournis avec ce format" msgstr "trop d'arguments fournis avec ce format"
#, fuzzy
#~ msgid "value_size must be power of two"
#~ msgstr "'len' doit être un multiple de 4"
#, fuzzy #, fuzzy
#~ msgid "palette must be displayio.Palette" #~ msgid "palette must be displayio.Palette"
#~ msgstr "la palette doit être longue de 32 octets" #~ msgstr "la palette doit être longue de 32 octets"
#, fuzzy
#~ msgid "value_size must be power of two"
#~ msgstr "'len' doit être un multiple de 4"

View File

@ -8,7 +8,7 @@ msgid ""
msgstr "" msgstr ""
"Project-Id-Version: PACKAGE VERSION\n" "Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n" "Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-03 23:15+0700\n" "POT-Creation-Date: 2018-10-07 02:07+0300\n"
"PO-Revision-Date: 2018-10-02 21:14-0000\n" "PO-Revision-Date: 2018-10-02 21:14-0000\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: \n" "Language-Team: \n"
@ -702,10 +702,6 @@ msgstr "Todos os periféricos I2C estão em uso"
msgid "All SPI peripherals are in use" msgid "All SPI peripherals are in use"
msgstr "Todos os periféricos SPI estão em uso" msgstr "Todos os periféricos SPI estão em uso"
#: ports/nrf/common-hal/busio/SPI.c:176
msgid "Baud rate too high for this SPI peripheral"
msgstr "Taxa de transmissão muito alta para esse periférico SPI"
#: ports/nrf/common-hal/busio/UART.c:48 #: ports/nrf/common-hal/busio/UART.c:48
#, c-format #, c-format
msgid "error = 0x%08lX" msgid "error = 0x%08lX"
@ -1097,6 +1093,73 @@ msgstr ""
msgid "'data' requires integer arguments" msgid "'data' requires integer arguments"
msgstr "" msgstr ""
#: py/emitinlinethumb.c:102
msgid "can only have up to 4 parameters to Thumb assembly"
msgstr ""
#: py/emitinlinethumb.c:107 py/emitinlinethumb.c:112
msgid "parameters must be registers in sequence r0 to r3"
msgstr ""
#: py/emitinlinethumb.c:188 py/emitinlinethumb.c:230
#, c-format
msgid "'%s' expects at most r%d"
msgstr ""
#: py/emitinlinethumb.c:197 py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr ""
#: py/emitinlinethumb.c:211
#, c-format
msgid "'%s' expects a special register"
msgstr ""
#: py/emitinlinethumb.c:239
#, c-format
msgid "'%s' expects an FPU register"
msgstr ""
#: py/emitinlinethumb.c:292
#, c-format
msgid "'%s' expects {r0, r1, ...}"
msgstr ""
#: py/emitinlinethumb.c:299 py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr ""
#: py/emitinlinethumb.c:304
#, c-format
msgid "'%s' integer 0x%x does not fit in mask 0x%x"
msgstr ""
#: py/emitinlinethumb.c:328
#, c-format
msgid "'%s' expects an address of the form [a, b]"
msgstr ""
#: py/emitinlinethumb.c:334 py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinethumb.c:345 py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr ""
#: py/emitinlinethumb.c:806
#, c-format
msgid "unsupported Thumb instruction '%s' with %d arguments"
msgstr ""
#: py/emitinlinethumb.c:810
#, fuzzy
msgid "branch not in range"
msgstr "Calibração está fora do intervalo"
#: py/emitinlinextensa.c:86 #: py/emitinlinextensa.c:86
msgid "can only have up to 4 parameters to Xtensa assembly" msgid "can only have up to 4 parameters to Xtensa assembly"
msgstr "" msgstr ""
@ -1105,30 +1168,11 @@ msgstr ""
msgid "parameters must be registers in sequence a2 to a5" msgid "parameters must be registers in sequence a2 to a5"
msgstr "" msgstr ""
#: py/emitinlinextensa.c:162
#, c-format
msgid "'%s' expects a register"
msgstr ""
#: py/emitinlinextensa.c:169
#, c-format
msgid "'%s' expects an integer"
msgstr ""
#: py/emitinlinextensa.c:174 #: py/emitinlinextensa.c:174
#, c-format #, c-format
msgid "'%s' integer %d is not within range %d..%d" msgid "'%s' integer %d is not within range %d..%d"
msgstr "" msgstr ""
#: py/emitinlinextensa.c:182
#, c-format
msgid "'%s' expects a label"
msgstr ""
#: py/emitinlinextensa.c:193
msgid "label '%q' not defined"
msgstr ""
#: py/emitinlinextensa.c:327 #: py/emitinlinextensa.c:327
#, c-format #, c-format
msgid "unsupported Xtensa instruction '%s' with %d arguments" msgid "unsupported Xtensa instruction '%s' with %d arguments"
@ -2009,19 +2053,19 @@ msgstr ""
msgid "Buffer must be at least length 1" msgid "Buffer must be at least length 1"
msgstr "" msgstr ""
#: shared-bindings/bitbangio/SPI.c:151 shared-bindings/busio/SPI.c:168 #: shared-bindings/bitbangio/SPI.c:151 shared-bindings/busio/SPI.c:175
msgid "Invalid polarity" msgid "Invalid polarity"
msgstr "" msgstr ""
#: shared-bindings/bitbangio/SPI.c:155 shared-bindings/busio/SPI.c:172 #: shared-bindings/bitbangio/SPI.c:155 shared-bindings/busio/SPI.c:179
msgid "Invalid phase" msgid "Invalid phase"
msgstr "Fase Inválida" msgstr "Fase Inválida"
#: shared-bindings/bitbangio/SPI.c:159 shared-bindings/busio/SPI.c:176 #: shared-bindings/bitbangio/SPI.c:159 shared-bindings/busio/SPI.c:183
msgid "Invalid number of bits" msgid "Invalid number of bits"
msgstr "Número inválido de bits" msgstr "Número inválido de bits"
#: shared-bindings/bitbangio/SPI.c:284 shared-bindings/busio/SPI.c:341 #: shared-bindings/bitbangio/SPI.c:284 shared-bindings/busio/SPI.c:348
msgid "buffer slices must be of equal length" msgid "buffer slices must be of equal length"
msgstr "" msgstr ""
@ -2369,3 +2413,6 @@ msgstr "'S' e 'O' não são tipos de formato suportados"
#: shared-module/struct/__init__.c:83 #: shared-module/struct/__init__.c:83
msgid "too many arguments provided with the given format" msgid "too many arguments provided with the given format"
msgstr "Muitos argumentos fornecidos com o formato dado" msgstr "Muitos argumentos fornecidos com o formato dado"
#~ msgid "Baud rate too high for this SPI peripheral"
#~ msgstr "Taxa de transmissão muito alta para esse periférico SPI"

View File

@ -59,7 +59,7 @@ struct _emit_inline_asm_t {
qstr *label_lookup; qstr *label_lookup;
}; };
STATIC void emit_inline_thumb_error_msg(emit_inline_asm_t *emit, const char *msg) { STATIC void emit_inline_thumb_error_msg(emit_inline_asm_t *emit, const compressed_string_t *msg) {
*emit->error_slot = mp_obj_new_exception_msg(&mp_type_SyntaxError, msg); *emit->error_slot = mp_obj_new_exception_msg(&mp_type_SyntaxError, msg);
} }
@ -99,17 +99,17 @@ STATIC void emit_inline_thumb_end_pass(emit_inline_asm_t *emit, mp_uint_t type_s
STATIC mp_uint_t emit_inline_thumb_count_params(emit_inline_asm_t *emit, mp_uint_t n_params, mp_parse_node_t *pn_params) { STATIC mp_uint_t emit_inline_thumb_count_params(emit_inline_asm_t *emit, mp_uint_t n_params, mp_parse_node_t *pn_params) {
if (n_params > 4) { if (n_params > 4) {
emit_inline_thumb_error_msg(emit, "can only have up to 4 parameters to Thumb assembly"); emit_inline_thumb_error_msg(emit, translate("can only have up to 4 parameters to Thumb assembly"));
return 0; return 0;
} }
for (mp_uint_t i = 0; i < n_params; i++) { for (mp_uint_t i = 0; i < n_params; i++) {
if (!MP_PARSE_NODE_IS_ID(pn_params[i])) { if (!MP_PARSE_NODE_IS_ID(pn_params[i])) {
emit_inline_thumb_error_msg(emit, "parameters must be registers in sequence r0 to r3"); emit_inline_thumb_error_msg(emit, translate("parameters must be registers in sequence r0 to r3"));
return 0; return 0;
} }
const char *p = qstr_str(MP_PARSE_NODE_LEAF_ARG(pn_params[i])); const char *p = qstr_str(MP_PARSE_NODE_LEAF_ARG(pn_params[i]));
if (!(strlen(p) == 2 && p[0] == 'r' && p[1] == '0' + i)) { if (!(strlen(p) == 2 && p[0] == 'r' && p[1] == '0' + i)) {
emit_inline_thumb_error_msg(emit, "parameters must be registers in sequence r0 to r3"); emit_inline_thumb_error_msg(emit, translate("parameters must be registers in sequence r0 to r3"));
return 0; return 0;
} }
} }
@ -185,7 +185,7 @@ STATIC mp_uint_t get_arg_reg(emit_inline_asm_t *emit, const char *op, mp_parse_n
if (r->reg > max_reg) { if (r->reg > max_reg) {
emit_inline_thumb_error_exc(emit, emit_inline_thumb_error_exc(emit,
mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError,
"'%s' expects at most r%d", op, max_reg)); translate("'%s' expects at most r%d"), op, max_reg));
return 0; return 0;
} else { } else {
return r->reg; return r->reg;
@ -194,7 +194,7 @@ STATIC mp_uint_t get_arg_reg(emit_inline_asm_t *emit, const char *op, mp_parse_n
} }
emit_inline_thumb_error_exc(emit, emit_inline_thumb_error_exc(emit,
mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError,
"'%s' expects a register", op)); translate("'%s' expects a register"), op));
return 0; return 0;
} }
@ -208,7 +208,7 @@ STATIC mp_uint_t get_arg_special_reg(emit_inline_asm_t *emit, const char *op, mp
} }
emit_inline_thumb_error_exc(emit, emit_inline_thumb_error_exc(emit,
mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError,
"'%s' expects a special register", op)); translate("'%s' expects a special register"), op));
return 0; return 0;
} }
@ -227,7 +227,7 @@ STATIC mp_uint_t get_arg_vfpreg(emit_inline_asm_t *emit, const char *op, mp_pars
if (regno > 31) { if (regno > 31) {
emit_inline_thumb_error_exc(emit, emit_inline_thumb_error_exc(emit,
mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError,
"'%s' expects at most r%d", op, 31)); translate("'%s' expects at most r%d"), op, 31));
return 0; return 0;
} else { } else {
return regno; return regno;
@ -236,7 +236,7 @@ STATIC mp_uint_t get_arg_vfpreg(emit_inline_asm_t *emit, const char *op, mp_pars
malformed: malformed:
emit_inline_thumb_error_exc(emit, emit_inline_thumb_error_exc(emit,
mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError,
"'%s' expects an FPU register", op)); translate("'%s' expects an FPU register"), op));
return 0; return 0;
} }
#endif #endif
@ -289,19 +289,19 @@ STATIC mp_uint_t get_arg_reglist(emit_inline_asm_t *emit, const char *op, mp_par
return reglist; return reglist;
bad_arg: bad_arg:
emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, "'%s' expects {r0, r1, ...}", op)); emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, translate("'%s' expects {r0, r1, ...}"), op));
return 0; return 0;
} }
STATIC uint32_t get_arg_i(emit_inline_asm_t *emit, const char *op, mp_parse_node_t pn, uint32_t fit_mask) { STATIC uint32_t get_arg_i(emit_inline_asm_t *emit, const char *op, mp_parse_node_t pn, uint32_t fit_mask) {
mp_obj_t o; mp_obj_t o;
if (!mp_parse_node_get_int_maybe(pn, &o)) { if (!mp_parse_node_get_int_maybe(pn, &o)) {
emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, "'%s' expects an integer", op)); emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, translate("'%s' expects an integer"), op));
return 0; return 0;
} }
uint32_t i = mp_obj_get_int_truncated(o); uint32_t i = mp_obj_get_int_truncated(o);
if ((i & (~fit_mask)) != 0) { if ((i & (~fit_mask)) != 0) {
emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, "'%s' integer 0x%x does not fit in mask 0x%x", op, i, fit_mask)); emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, translate("'%s' integer 0x%x does not fit in mask 0x%x"), op, i, fit_mask));
return 0; return 0;
} }
return i; return i;
@ -325,13 +325,13 @@ STATIC bool get_arg_addr(emit_inline_asm_t *emit, const char *op, mp_parse_node_
return true; return true;
bad_arg: bad_arg:
emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, "'%s' expects an address of the form [a, b]", op)); emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, translate("'%s' expects an address of the form [a, b]"), op));
return false; return false;
} }
STATIC int get_arg_label(emit_inline_asm_t *emit, const char *op, mp_parse_node_t pn) { STATIC int get_arg_label(emit_inline_asm_t *emit, const char *op, mp_parse_node_t pn) {
if (!MP_PARSE_NODE_IS_ID(pn)) { if (!MP_PARSE_NODE_IS_ID(pn)) {
emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, "'%s' expects a label", op)); emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, translate("'%s' expects a label"), op));
return 0; return 0;
} }
qstr label_qstr = MP_PARSE_NODE_LEAF_ARG(pn); qstr label_qstr = MP_PARSE_NODE_LEAF_ARG(pn);
@ -342,7 +342,7 @@ STATIC int get_arg_label(emit_inline_asm_t *emit, const char *op, mp_parse_node_
} }
// only need to have the labels on the last pass // only need to have the labels on the last pass
if (emit->pass == MP_PASS_EMIT) { if (emit->pass == MP_PASS_EMIT) {
emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, "label '%q' not defined", label_qstr)); emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, translate("label '%q' not defined"), label_qstr));
} }
return 0; return 0;
} }
@ -803,11 +803,11 @@ STATIC void emit_inline_thumb_op(emit_inline_asm_t *emit, qstr op, mp_uint_t n_a
return; return;
unknown_op: unknown_op:
emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, "unsupported Thumb instruction '%s' with %d arguments", op_str, n_args)); emit_inline_thumb_error_exc(emit, mp_obj_new_exception_msg_varg(&mp_type_SyntaxError, translate("unsupported Thumb instruction '%s' with %d arguments"), op_str, n_args));
return; return;
branch_not_in_range: branch_not_in_range:
emit_inline_thumb_error_msg(emit, "branch not in range"); emit_inline_thumb_error_msg(emit, translate("branch not in range"));
return; return;
} }