From 3c8b8cdba72ed594ec3e4eedc8a2213e7ff64497 Mon Sep 17 00:00:00 2001 From: ajs256 <67526318+ajs256@users.noreply.github.com> Date: Mon, 10 May 2021 16:57:38 -0700 Subject: [PATCH] `make translate` --- locale/circuitpython.pot | 10 +++++----- shared-module/usb_hid/Device.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/locale/circuitpython.pot b/locale/circuitpython.pot index 2434ff5da9..dd88cbe153 100644 --- a/locale/circuitpython.pot +++ b/locale/circuitpython.pot @@ -2182,11 +2182,7 @@ msgid "UART write error" msgstr "" #: shared-module/usb_hid/Device.c -msgid "USB Busy" -msgstr "" - -#: shared-module/usb_hid/Device.c -msgid "USB Error" +msgid "USB busy" msgstr "" #: supervisor/shared/safe_mode.c @@ -2197,6 +2193,10 @@ msgstr "" msgid "USB devices specify too many interface names." msgstr "" +#: shared-module/usb_hid/Device.c +msgid "USB error" +msgstr "" + #: shared-bindings/_bleio/UUID.c msgid "UUID integer value must be 0-0xffff" msgstr "" diff --git a/shared-module/usb_hid/Device.c b/shared-module/usb_hid/Device.c index ea7ca06dff..ad64070448 100644 --- a/shared-module/usb_hid/Device.c +++ b/shared-module/usb_hid/Device.c @@ -210,7 +210,7 @@ void common_hal_usb_hid_device_send_report(usb_hid_device_obj_t *self, uint8_t * memcpy(self->in_report_buffer, report, len); if (!tud_hid_report(self->report_id, self->in_report_buffer, len)) { - mp_raise_msg(&mp_type_OSError, translate("USB brror")); + mp_raise_msg(&mp_type_OSError, translate("USB error")); } }