Skip to content

Commit 2009f96

Browse files
committed
Remove extra translations
1 parent 7e5f200 commit 2009f96

2 files changed

Lines changed: 2 additions & 50 deletions

File tree

locale/circuitpython.pot

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -491,14 +491,6 @@ msgstr ""
491491
msgid "Address range wraps around"
492492
msgstr ""
493493

494-
#: ports/zephyr-cp/common-hal/_bleio/Adapter.c
495-
msgid "Advertising data too long"
496-
msgstr ""
497-
498-
#: ports/zephyr-cp/common-hal/_bleio/Adapter.c
499-
msgid "Advertising timeout not supported"
500-
msgstr ""
501-
502494
#: ports/espressif/common-hal/canio/CAN.c
503495
msgid "All CAN peripherals are in use"
504496
msgstr ""
@@ -565,10 +557,6 @@ msgstr ""
565557
msgid "All timers in use"
566558
msgstr ""
567559

568-
#: ports/zephyr-cp/common-hal/_bleio/Adapter.c
569-
msgid "Already advertising"
570-
msgstr ""
571-
572560
#: ports/espressif/common-hal/_bleio/Adapter.c
573561
#: ports/nordic/common-hal/_bleio/Adapter.c
574562
msgid "Already advertising."
@@ -600,10 +588,6 @@ msgstr ""
600588
msgid "An error occurred while retrieving '%s':\n"
601589
msgstr ""
602590

603-
#: ports/zephyr-cp/common-hal/_bleio/Adapter.c
604-
msgid "Anonymous advertising not supported"
605-
msgstr ""
606-
607591
#: ports/stm/common-hal/audiopwmio/PWMAudioOut.c
608592
msgid "Another PWMAudioOut is already active"
609593
msgstr ""
@@ -1003,10 +987,6 @@ msgstr ""
1003987
msgid "Extended advertisements with scan response not supported."
1004988
msgstr ""
1005989

1006-
#: ports/zephyr-cp/common-hal/_bleio/Adapter.c
1007-
msgid "Extended advertising not supported"
1008-
msgstr ""
1009-
1010990
#: extmod/ulab/code/numpy/fft/fft_tools.c
1011991
msgid "FFT is defined for ndarrays only"
1012992
msgstr ""
@@ -1058,10 +1038,6 @@ msgstr ""
10581038
msgid "Failed to connect: timeout"
10591039
msgstr ""
10601040

1061-
#: ports/zephyr-cp/common-hal/_bleio/Adapter.c
1062-
msgid "Failed to create BLE identity"
1063-
msgstr ""
1064-
10651041
#: ports/espressif/common-hal/audioio/AudioOut.c
10661042
msgid "Failed to create continuous channels: invalid arg"
10671043
msgstr ""
@@ -1078,14 +1054,6 @@ msgstr ""
10781054
msgid "Failed to create continuous channels: not found"
10791055
msgstr ""
10801056

1081-
#: ports/zephyr-cp/common-hal/_bleio/Adapter.c
1082-
msgid "Failed to disable BLE"
1083-
msgstr ""
1084-
1085-
#: ports/zephyr-cp/common-hal/_bleio/Adapter.c
1086-
msgid "Failed to enable BLE"
1087-
msgstr ""
1088-
10891057
#: ports/espressif/common-hal/audioio/AudioOut.c
10901058
msgid "Failed to enable continuous"
10911059
msgstr ""
@@ -1098,19 +1066,11 @@ msgstr ""
10981066
msgid "Failed to register continuous events callback"
10991067
msgstr ""
11001068

1101-
#: ports/zephyr-cp/common-hal/_bleio/Adapter.c
1102-
msgid "Failed to register scan callback"
1103-
msgstr ""
1104-
11051069
#: ports/nordic/sd_mutex.c
11061070
#, c-format
11071071
msgid "Failed to release mutex, err 0x%04x"
11081072
msgstr ""
11091073

1110-
#: ports/zephyr-cp/common-hal/_bleio/Adapter.c
1111-
msgid "Failed to set BLE name"
1112-
msgstr ""
1113-
11141074
#: ports/analog/common-hal/busio/SPI.c
11151075
msgid "Failed to set SPI Clock Mode"
11161076
msgstr ""
@@ -1123,10 +1083,6 @@ msgstr ""
11231083
msgid "Failed to start async audio"
11241084
msgstr ""
11251085

1126-
#: ports/zephyr-cp/common-hal/_bleio/Adapter.c
1127-
msgid "Failed to start scan"
1128-
msgstr ""
1129-
11301086
#: supervisor/shared/safe_mode.c
11311087
msgid "Failed to write internal flash."
11321088
msgstr ""
@@ -2211,10 +2167,6 @@ msgstr ""
22112167
msgid "Timeout must be < 100 seconds"
22122168
msgstr ""
22132169

2214-
#: ports/zephyr-cp/common-hal/_bleio/Adapter.c
2215-
msgid "Too many advertising fields"
2216-
msgstr ""
2217-
22182170
#: ports/atmel-samd/common-hal/audiobusio/I2SOut.c
22192171
msgid "Too many channels in sample"
22202172
msgstr ""

ports/zephyr-cp/common-hal/_bleio/Adapter.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ void common_hal_bleio_adapter_start_advertising(bleio_adapter_obj_t *self,
200200
}
201201

202202
if (ble_advertising) {
203-
mp_raise_bleio_BluetoothError(MP_ERROR_TEXT("Invalid state"));
203+
raise_zephyr_error(-EALREADY);
204204
}
205205

206206
bt_addr_le_t id_addrs[CONFIG_BT_ID_MAX];
@@ -302,7 +302,7 @@ mp_obj_t common_hal_bleio_adapter_start_scan(bleio_adapter_obj_t *self, uint8_t
302302
if (err != 0) {
303303
self->scan_results = NULL;
304304
active_scan_results = NULL;
305-
mp_raise_bleio_BluetoothError(MP_ERROR_TEXT("Failed to register scan callback"));
305+
raise_zephyr_error(err);
306306
}
307307
scan_callbacks_registered = true;
308308
}

0 commit comments

Comments
 (0)