Skip to content

Linux + iPhone Continuity / iMessage / SMS

Merge pull request #67 from brynnb: pairing reliability and Bluetooth status

Zack Bartele7220bffb50f
diff --cc po/cs.po
index e4697a4,bbb1dcf..52d51e3
--- a/po/cs.po
+++ b/po/cs.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Czech\n"
@@@ -1109,6 -1075,10 +1109,11 @@@ msgstr "Offline
msgid "Nearby (Tap to Pair)"
msgstr "V okolí (klepnutím spárujete)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "Částečně připojeno"
++msgstr "nepřipojeno"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "Spárováno"
@@@ -1324,6 -1294,14 +1329,15 @@@ msgstr "Včera
msgid "Today"
msgstr "Dnes"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "Pro synchronizaci zpráv je potřeba připojení Bluetooth."
++msgstr "Démon uzavřel spojení dříve, než byla zpráva odeslána.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "Vyberte konverzaci"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "Odesílání…"
diff --cc po/de.po
index 8b55cb1,3f5fbd4..ebb9e89
--- a/po/de.po
+++ b/po/de.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-22\n"
"Last-Translator: Tether project\n"
"Language-Team: German\n"
@@@ -1135,6 -1101,10 +1135,11 @@@ msgstr "Offline
msgid "Nearby (Tap to Pair)"
msgstr "In der Nähe (zum Koppeln tippen)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "Teilweise verbunden"
++msgstr "nicht verbunden"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "Gekoppelt"
@@@ -1350,6 -1320,16 +1355,17 @@@ msgstr "Gestern
msgid "Today"
msgstr "Heute"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
+ msgstr ""
-"Zum Synchronisieren von Nachrichten ist eine Bluetooth-Verbindung "
-"erforderlich."
++"Der Daemon hat die Verbindung geschlossen, bevor die Nachricht gesendet "
++"wurde.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "Wählen Sie eine Unterhaltung"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "Wird gesendet…"
diff --cc po/es.po
index 74fd606,1fd36fc..7bf24ba
--- a/po/es.po
+++ b/po/es.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-22\n"
"Last-Translator: Tether project\n"
"Language-Team: Spanish\n"
@@@ -1126,6 -1092,10 +1126,11 @@@ msgstr "Desconectado
msgid "Nearby (Tap to Pair)"
msgstr "Cerca (toque para emparejar)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "Parcialmente conectado"
++msgstr "no conectado"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "Emparejado"
@@@ -1341,6 -1311,14 +1346,15 @@@ msgstr "Ayer
msgid "Today"
msgstr "Hoy"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "Se necesita una conexión Bluetooth para sincronizar los mensajes."
++msgstr "El daemon cerró la conexión antes de enviar el mensaje.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "Seleccione una conversación"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "Enviando…"
diff --cc po/fr.po
index 7c8ebe1,64d9169..5c33ddb
--- a/po/fr.po
+++ b/po/fr.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-22\n"
"Last-Translator: Tether project\n"
"Language-Team: French\n"
@@@ -1134,6 -1098,10 +1134,11 @@@ msgstr "Hors ligne
msgid "Nearby (Tap to Pair)"
msgstr "À proximité (toucher pour appairer)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "Partiellement connecté"
++msgstr "non connecté"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "Appairé"
@@@ -1349,6 -1317,14 +1354,15 @@@ msgstr "Hier
msgid "Today"
msgstr "Aujourd'hui"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "Une connexion Bluetooth est nécessaire pour synchroniser les messages."
++msgstr "Le démon a fermé la connexion avant l'envoi du message.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "Sélectionnez une conversation"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "Envoi…"
diff --cc po/it.po
index 6d5dab0,327dc1f..fa7dda5
--- a/po/it.po
+++ b/po/it.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Italian\n"
@@@ -1123,6 -1089,10 +1123,11 @@@ msgstr "Offline
msgid "Nearby (Tap to Pair)"
msgstr "Nelle vicinanze (tocca per accoppiare)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "Parzialmente connesso"
++msgstr "non connesso"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "Accoppiato"
@@@ -1337,6 -1307,14 +1342,16 @@@ msgstr "Ieri
msgid "Today"
msgstr "Oggi"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "È necessaria una connessione Bluetooth per sincronizzare i messaggi."
++msgstr ""
++"Il daemon ha chiuso la connessione prima che il messaggio fosse inviato.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "Seleziona una conversazione"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "Invio…"
diff --cc po/ja.po
index ce11e68,dcd4a1f..3cb6893
--- a/po/ja.po
+++ b/po/ja.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Japanese\n"
@@@ -1095,6 -1061,10 +1095,11 @@@ msgstr "オフライン
msgid "Nearby (Tap to Pair)"
msgstr "近くにあります (タップしてペアリング)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "部分的に接続"
++msgstr "未接続"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "ペアリング済み"
@@@ -1306,6 -1276,14 +1311,15 @@@ msgstr "昨日
msgid "Today"
msgstr "今日"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "メッセージの同期にはBluetooth接続が必要です。"
++msgstr "メッセージが送信される前にデーモンが接続を閉じました。\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "会話を選択"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "送信中…"
diff --cc po/ko.po
index f99fc19,731b598..a764d60
--- a/po/ko.po
+++ b/po/ko.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Korean\n"
@@@ -1085,6 -1051,10 +1085,11 @@@ msgstr "오프라인
msgid "Nearby (Tap to Pair)"
msgstr "근처 (탭하여 페어링)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "부분적으로 연결됨"
++msgstr "연결 안 됨"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "페어링됨"
@@@ -1294,6 -1264,14 +1299,15 @@@ msgstr "어제
msgid "Today"
msgstr "오늘"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "메시지를 동기화하려면 Bluetooth 연결이 필요합니다."
++msgstr "메시지가 전송되기 전에 데몬이 연결을 닫았습니다.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "대화 선택"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "보내는 중…"
diff --cc po/nl.po
index 0953176,d9a4a49..330a463
--- a/po/nl.po
+++ b/po/nl.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Dutch\n"
@@@ -1119,6 -1085,10 +1119,11 @@@ msgstr "Offline
msgid "Nearby (Tap to Pair)"
msgstr "In de buurt (tik om te koppelen)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "Gedeeltelijk verbonden"
++msgstr "niet verbonden"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "Gekoppeld"
@@@ -1333,6 -1303,14 +1338,15 @@@ msgstr "Gisteren
msgid "Today"
msgstr "Vandaag"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "Er is een Bluetooth-verbinding nodig om berichten te synchroniseren."
++msgstr "De daemon sloot de verbinding voordat het bericht verstuurd was.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "Selecteer een gesprek"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "Versturen…"
diff --cc po/pl.po
index a0ffa45,9ec25a8..3210445
--- a/po/pl.po
+++ b/po/pl.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Polish\n"
@@@ -1121,6 -1087,10 +1121,11 @@@ msgstr "Offline
msgid "Nearby (Tap to Pair)"
msgstr "W pobliżu (dotknij, aby sparować)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "Częściowo połączono"
++msgstr "nie połączono"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "Sparowano"
@@@ -1337,6 -1307,14 +1342,15 @@@ msgstr "Wczoraj
msgid "Today"
msgstr "Dzisiaj"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "Do synchronizacji wiadomości wymagane jest połączenie Bluetooth."
++msgstr "Demon zamknął połączenie, zanim wiadomość została wysłana.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "Wybierz rozmowę"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "Wysyłanie…"
diff --cc po/pt_BR.po
index f234893,9fbebc6..647555d
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Brazilian Portuguese\n"
@@@ -1118,6 -1083,10 +1118,11 @@@ msgstr "Offline
msgid "Nearby (Tap to Pair)"
msgstr "Por perto (toque para parear)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "Parcialmente conectado"
++msgstr "não conectado"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "Pareado"
@@@ -1332,6 -1301,14 +1337,15 @@@ msgstr "Ontem
msgid "Today"
msgstr "Hoje"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "É necessária uma conexão Bluetooth para sincronizar as mensagens."
++msgstr "O daemon fechou a conexão antes de a mensagem ser enviada.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "Selecione uma conversa"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "Enviando…"
diff --cc po/ru.po
index 6f85638,6c4235b..36bf155
--- a/po/ru.po
+++ b/po/ru.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Russian\n"
@@@ -1121,6 -1087,10 +1121,11 @@@ msgstr "Не в сети
msgid "Nearby (Tap to Pair)"
msgstr "Поблизости (нажмите, чтобы создать пару)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "Подключено частично"
++msgstr "не подключено"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "Сопряжено"
@@@ -1337,6 -1307,14 +1342,15 @@@ msgstr "Вчера
msgid "Today"
msgstr "Сегодня"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "Для синхронизации сообщений требуется подключение Bluetooth."
++msgstr "Демон закрыл соединение до того, как сообщение было отправлено.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "Выберите переписку"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "Отправка…"
diff --cc po/sv.po
index a1941d1,0ba4cea..f6c7535
--- a/po/sv.po
+++ b/po/sv.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Swedish\n"
@@@ -1104,6 -1070,10 +1104,11 @@@ msgstr "Offline
msgid "Nearby (Tap to Pair)"
msgstr "I närheten (tryck för att parkoppla)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "Delvis ansluten"
++msgstr "inte ansluten"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "Parkopplad"
@@@ -1319,6 -1289,14 +1324,15 @@@ msgstr "Igår
msgid "Today"
msgstr "Idag"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "En Bluetooth-anslutning krävs för att synkronisera meddelanden."
++msgstr "Demonen stängde anslutningen innan meddelandet skickades.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "Välj en konversation"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "Skickar…"
diff --cc po/tether.pot
index cb13ba6,02fb176..016898e
--- a/po/tether.pot
+++ b/po/tether.pot
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether 0.2.19\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
diff --cc po/tr.po
index 2d7ba33,33d5d57..7fd75b1
--- a/po/tr.po
+++ b/po/tr.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Turkish\n"
@@@ -1102,6 -1068,10 +1102,11 @@@ msgstr "Çevrimdışı
msgid "Nearby (Tap to Pair)"
msgstr "Yakında (eşleşmek için dokunun)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "Kısmen bağlı"
++msgstr "bağlı değil"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "Eşleşti"
@@@ -1316,6 -1286,14 +1321,15 @@@ msgstr "Dün
msgid "Today"
msgstr "Bugün"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "Mesajları eşitlemek için Bluetooth bağlantısı gerekli."
++msgstr "Arka plan hizmeti, mesaj gönderilmeden bağlantıyı kapattı.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "Bir konuşma seçin"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "Gönderiliyor…"
diff --cc po/uk.po
index 55e1626,fb7aa5c..f235ed5
--- a/po/uk.po
+++ b/po/uk.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Ukrainian\n"
@@@ -1117,6 -1083,10 +1117,11 @@@ msgstr "Не в мережі
msgid "Nearby (Tap to Pair)"
msgstr "Поблизу (торкніться, щоб створити пару)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "Під'єднано частково"
++msgstr "не під'єднано"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "Спарено"
@@@ -1333,6 -1303,14 +1338,15 @@@ msgstr "Учора
msgid "Today"
msgstr "Сьогодні"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "Для синхронізації повідомлень потрібне з’єднання Bluetooth."
++msgstr "Демон закрив з'єднання до того, як повідомлення було надіслано.\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "Виберіть розмову"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "Надсилання…"
diff --cc po/zh_CN.po
index 1286b20,b5330aa..128fe88
--- a/po/zh_CN.po
+++ b/po/zh_CN.po
@@@ -8,7 -8,7 +8,7 @@@ msgid "
msgstr ""
"Project-Id-Version: tether\n"
"Report-Msgid-Bugs-To: [email protected]\n"
- "POT-Creation-Date: 2026-08-31 19:17-0700\n"
-"POT-Creation-Date: 2026-08-31 19:04-0700\n"
++"POT-Creation-Date: 2026-08-31 20:10-0700\n"
"PO-Revision-Date: 2026-08-23\n"
"Last-Translator: Tether project\n"
"Language-Team: Simplified Chinese\n"
@@@ -1061,6 -1029,10 +1061,11 @@@ msgstr "离线
msgid "Nearby (Tap to Pair)"
msgstr "附近(轻点以配对)"
+ #: src/gtk/devices_view.cpp
++#, fuzzy
+ msgid "Partially connected"
-msgstr "部分连接"
++msgstr "未连接"
+
#: src/gtk/devices_view.cpp
msgid "Paired"
msgstr "已配对"
@@@ -1268,6 -1240,14 +1273,15 @@@ msgstr "昨天
msgid "Today"
msgstr "今天"
+ #: src/gtk/messages_view.cpp
++#, fuzzy
+ msgid "Bluetooth connection needed to sync messages."
-msgstr "需要蓝牙连接才能同步消息。"
++msgstr "信息发送前守护进程已关闭连接。\n"
+
+ #: src/gtk/messages_view.cpp
+ msgid "Select a conversation"
+ msgstr "选择一个会话"
+
#: src/gtk/messages_view.cpp
msgid "Sending…"
msgstr "正在发送……"
diff --cc src/core/src/bluetooth/objects.cpp
index 6c7acb3,810a25f..8cddd31
--- a/src/core/src/bluetooth/objects.cpp
+++ b/src/core/src/bluetooth/objects.cpp
@@@ -1,9 -1,7 +1,8 @@@
#include "tether/bluetooth/objects.hpp"
#include <tether/i18n.hpp>
+#include <tether/packaging.hpp>
#include <algorithm>
- #include <cstdio>
#include <cstring>
#include <filesystem>
@@@ -333,28 -302,9 +303,28 @@@ namespace tether::bluetooth
"sudo systemctl daemon-reload && sudo systemctl restart bluetooth";
}
+ // Distro packages install the unit. A portable build writes it out.
+ std::string set_class_command(const std::string& adapter_id) {
+ const std::string enable = "sudo systemctl enable --now tether-btclass@" + adapter_id;
+ std::error_code ec;
+ for (const char* dir : {"/etc/systemd/system",
+ "/usr/lib/systemd/system",
+ "/lib/systemd/system",
+ "/usr/local/lib/systemd/system"}) {
+ if (std::filesystem::exists(std::string(dir) + "/[email protected]", ec))
+ return enable;
+ }
+
+ return "sudo tee /etc/systemd/system/[email protected] >/dev/null <<'EOF'\n" +
+ std::string(packaging::BTCLASS_UNIT) +
+ "EOF\n"
+ "sudo systemctl daemon-reload\n" +
+ enable;
+ }
+
} // namespace
- Capability resolve_capability(const BluezObjects& objects) {
+ Capability resolve_capability(const BluezObjects& objects, std::optional<bool> secure_connections) {
Capability cap;
// prefer powered adapter, fall back to the first so the reasons below