Linux + iPhone Continuity / iMessage / SMS
feat: add plumbing for telephony
Zack Bartele0001b2e15fc
diff --git a/README.md b/README.mdindex a7e8898..f663898 100644--- a/README.md+++ b/README.md@@ -32,6 +32,7 @@| **Mail Extension** | ✅ Stable || **Messages (SMS/iMessage)** | 🧪 Beta || **Notification Mirroring** | 🧪 Beta |+| **Phone Calls** | 🧪 Beta || **TOTP/OTP Vault** | 🗓️ Planning |### Clipboard Sync@@ -43,10 +44,15 @@ Drag and drop files from Linux directly into the iPhone app, or receive files au### Messages and NotificationsRead and reply to SMS and iMessage conversations, and see notifications from any app on the phone, on the Linux desktop.+### Phone Calls+Place, answer and end calls on the iPhone from the desktop, with caller ID resolved+against your contacts, plus the phone's carrier and signal. The call audio stays on the+iPhone. Nothing to configure; see [docs/BLUETOOTH.md](docs/BLUETOOTH.md).+### Device PairingThere are two ways tether communicates with the iPhone:- WiFi: for clipboard sync, file transfer, and OTP handling-- Bluetooth: for Messages and Notifications+- Bluetooth: for Messages, Notifications, and CallsYou can use either or both, depending on your needs.diff --git a/docs/BLUETOOTH.md b/docs/BLUETOOTH.mdindex 975f31a..8fd0bea 100644--- a/docs/BLUETOOTH.md+++ b/docs/BLUETOOTH.md@@ -9,6 +9,7 @@ Bluetooth accessory. No iOS-side code is involved.| SMS / iMessage, read + send | **MAP** (Message Access Profile) via BlueZ `obexd` | BR/EDR | OBEX client || Contacts, for sender names | **PBAP** (Phonebook Access Profile) via `obexd` | BR/EDR | OBEX client || Notifications from any app | **ANCS** (Apple Notification Center Service) | BLE / GATT | GATT central |+| Phone calls, place + answer | **HFP** (Hands-Free Profile) via BlueZ | BR/EDR | Hands-free unit |The Tether iOS app is unrelated to these features and just keeps handling clipboard sync and file transfer over TCP + mTLS.@@ -141,6 +142,104 @@ OBEX connection with `Forbidden` / `0x43`. That is a permissions state, not a pafailure (do not re-pair). A transport-level `Connection refused (111)` is different andusually means another computer already owns the iPhone's single MAP session.+## Calls++Tether can place, answer and end calls on the iPhone. It implements no HFP.++BlueZ's own hands-free profile owns the RFCOMM link and the AT command layer, and+exports the result on the same object tree Tether already watches:++```+/org/bluez/hciN/dev_BDADDR/telephonyM org.bluez.Telephony1+ Dial(s uri) -> object, SwapCalls, ReleaseAndAnswer, ReleaseAndSwap,+ HoldAndAnswer, HangupAll, CreateMultiparty, SendTones(s)+ UUID, State, Service, Signal, Roaming, BattChg, OperatorName,+ InbandRingtone, SupportedURISchemes++/org/bluez/hciN/dev_BDADDR/telephonyM/callK org.bluez.Call1+ Answer, Hangup+ LineIdentification, IncomingLine, Name, Multiparty, State+```++Both are `[experimental]`, so they exist only under `bluetoothd --experimental` --+which Tether already requires for `org.bluez.Bearer.LE1`. They appear only while the+phone has Hands-Free connected, and their absence is a normal state, not a fault.+Documented in `man org.bluez.Telephony` and `man org.bluez.Call`, with a+`bluetoothctl` submenu behind `menu telephony`.++`BluezMonitor` already subscribes to `InterfacesAdded`/`InterfacesRemoved` and to+`PropertiesChanged` across `org.bluez`, so the telephony objects arrive in the+snapshot with no new bus, thread or subscription. `TelephonyClient` holds no state at+all: it reads the snapshot and issues method calls on the monitor's connection.++### The audio stays on the phone++This is control only, by construction rather than by choice. BlueZ owns the SCO link+and exports no transport for it, so there is nothing to route to PipeWire. Ringing,+caller ID, answering, hanging up and dialling all work from the desktop; the call+itself plays on the iPhone.++The consequence is that **no WirePlumber configuration is needed or wanted**. The+`hfp_hf` role stays off, the machine never becomes an audio destination for the phone,+and "Keeping the phone's audio on the phone" below continues to apply unchanged.++### What was tried instead++PipeWire's `bluez5` plugin implements the same profile in the HF role and publishes+`org.pipewire.Telephony`, and it *can* carry the audio (`AudioGatewayTransport1.Activate()`,+with `bluez5.telephony.default-reject-sco` to keep it on the phone until asked).++It cannot be used at the same time. Both register for UUID `0000111e`, and BlueZ's+built-in profile wins: `Device1.Connect()` routes into it and fails, and PipeWire's+profile never gets the link.++```+profiles/audio/hfp-hf.c:hfp_connect() unable to start connection+btd_service_connect() hfp profile connect failed for <phone>: Input/output error+```++Dropping `hfp_hf` from `bluez5.roles` makes BlueZ's profile connect immediately and+export `telephony0`. Using PipeWire's instead would mean `bluetoothd --noplugin=hfp`,+a system-wide change to every Bluetooth device on the machine, in exchange for desktop+call audio. That trade was not taken -- see 2026-09-04 below.++### Turning it on++`tether --bt-calls-enable on`, or the Calls page in the GTK app. Off by default.++It also widens the pairing agent's service whitelist to the hands-free and headset+UUIDs (`agent.cpp` `is_authorized_service`), which the iPhone authorizes against during+pairing. With calls off, those stay refused. A bond made before calls were enabled+keeps working; only a fresh pairing goes through the agent.++### Commands++```bash+tether --bt-calls # what is ringing, dialing or connected+tether --bt-call +15555550123 # dial+tether --bt-answer # answer the ringing call+tether --bt-hangup # end every call+tether --bt-calls-enable on|off+```++`tether --bt-connection` reports the gateway alongside the other profiles, with the+carrier, signal and phone battery HFP supplies.++Dial strings are normalized in the daemon: a leading `+` and digits survive, spaces,+dashes, dots and parentheses are dropped, and anything else is refused rather than+handed to the cellular network. BlueZ itself accepts `[0-9+*#,ABCD]{1,80}`, so this is+the narrower check; it rules out the `*`/`#` supplementary-service codes deliberately.++### What it does not do++- No call audio on the desktop, per above.+- No call history. A missed call still arrives as an ANCS `MissedCall` notification.+- `HangupActive` and `HangupHeld` are documented but absent from BlueZ 5.87, so only+ `HangupAll` is offered.+- Caller ID is whatever HFP carries. When the phone sends no name, Tether fills it from+ the PBAP address book by number. A network that refuses caller ID sends the literal+ `withheld`, which is shown as unknown and never offered to redial.+## ConflictsThe iPhone serves one MAP session at a time. Any other program on any machine holding it will block Tether.@@ -191,11 +290,17 @@ checks the daemon does not make.| A group conversation cannot be replied to | Working as designed until the route is unambiguous | The thread's `reply_reason` says which condition failed || The iPhone never offers the "Show Notifications" toggle, and messages and contacts work | Fixed. A BR/EDR-only bond used to latch notification mirroring off in the config, which takes the ANCS solicitation off air -- so the phone is never asked for the service | Nothing. On an older build, `tether --bt-ancs on` then `tether --bt-solicit`; `tether --bt-status` now shows mirroring under `Notifications:` -- see 2026-09-01 || Pairing bonds but the LE half never derives, on a machine with a USB dongle plugged in | Tether used the first powered controller, which is the dongle, not the built-in one | `tether --bt-status` marks the controller in use; `tether --bt-adapter <hciN>` picks another -- see 2026-09-01 |-| The link reads down forever with `br-connection-unknown`, while messages, contacts and notifications all work | This computer offers the iPhone no BR/EDR profile to connect to, and BlueZ only reports a link up while some local profile is connected | Nothing. Tether no longer waits on that link -- see 2026-08-23 below. Restoring the `a2dp_sink` and `hfp_hf` roles makes it read up again, at the cost of the phone's audio moving here |+| The link reads down forever with `br-connection-unknown`, while messages, contacts and notifications all work | This computer offers the iPhone no BR/EDR profile to connect to, and BlueZ only reports a link up while some local profile is connected | Nothing. Tether no longer waits on that link -- see 2026-08-23 below. Call support does not change this: BlueZ's hands-free profile is not one of the local profiles BlueZ counts || The iPhone's audio moves to the computer when Tether connects | The machine advertises itself as a Bluetooth speaker/headset, and iOS routes to it. Not caused by Tether beyond bringing the link up | See "Keeping the phone's audio on the phone" below |+| `tether --bt-calls` reports call control off | The iPhone has not connected Hands-Free, or `bluetoothd` is running without `--experimental` | The daemon's reason line names which. Confirm with `busctl --system tree org.bluez \| grep telephony` |+| Calls work but the audio is on the iPhone | Working as designed. BlueZ owns the SCO link and exports no transport, so there is nothing to route here | Nothing. See "Calls" |+| `hfp_connect() unable to start connection` in the bluetoothd log | PipeWire's `hfp_hf` role and BlueZ's built-in profile are both claiming UUID `0000111e` | Remove `hfp_hf` from `bluez5.roles` -- see "Calls" and 2026-09-04 |### Keeping the phone's audio on the phone+Unaffected by call support: calls run over BlueZ's own profile and never make this+machine an audio destination. This still applies exactly as written.+Once the Classic link is up, the iPhone's calls, music, and system sounds play on thecomputer instead of the phone. PipeWire registers A2DP sink and HFP audio-gatewayendpoints for every adapter, so the machine advertises itself as a speaker and headset,@@ -1646,3 +1751,59 @@ Also in the dump, unrelated and already reported correctly: MAP cycling through`no_record` / `busy` / `forbidden` / `none` for hours (another client holding thephone's single MAP session), and `bt_message_read` with `success: true, synced: 0`(marked read locally, not pushed to the phone -- working as designed).++### 2026-09-04 - Two HFP hands-free implementations, one UUID++Adding calls meant choosing which stack owns the hands-free profile, and on this+machine both were installed.++- PipeWire 1.6.8's `bluez5` plugin implements HFP HF in `backend-native.c` and, with+ `bluez5.telephony-dbus-service`, publishes `org.pipewire.Telephony` on the session+ bus. It carries the SCO audio, so it can move a call to the desktop speakers.+- BlueZ 5.87 ships its own `profiles/audio/hfp-hf.c` with `org.bluez.Telephony1` and+ `org.bluez.Call1`, gated behind `--experimental` -- which Tether already sets for+ `Bearer.LE1`. It carries no audio.++Both register `org.bluez.Profile1` for `0000111e`. With PipeWire's `hfp_hf` role on:++```+$ busctl --user tree org.pipewire.Telephony+(no ag0)+bluetoothd: profiles/audio/hfp-hf.c:hfp_connect() unable to start connection+bluetoothd: btd_service_connect() hfp profile connect failed: Input/output error+```++PipeWire had registered its profile -- `Registering Profile /Profile/HFPHF+0000111e-...` in `backend-native.c` -- and could serve an *inbound* connection: once+the phone initiated, the log showed `NewConnection ... fd=59, profile /Profile/HFPHF`+followed by `RFCOMM >> AT+BRSF=695`. Only the outbound path was broken, because+`Device1.Connect()` routes into BlueZ's built-in profile, which fails.++Removing `hfp_hf` from `bluez5.roles` and reconnecting resolved it immediately:++```+$ busctl --system introspect org.bluez \+ /org/bluez/hci0/dev_.../telephony0 org.bluez.Telephony1+.State property s "connected"+.OperatorName property s "AT&T"+.Signal property y 1+.BattChg property y 4+.Service property b true+```++BlueZ's was taken. It needs no WirePlumber configuration at all, so the machine never+becomes an audio destination and the "Keeping the phone's audio on the phone" advice+stands unchanged; it reuses the ObjectManager subscriptions `BluezMonitor` already+holds; and it reports carrier, signal, roaming and phone battery, which PipeWire's API+does not expose. The cost is that call audio cannot come to the desktop.++The alternative was `bluetoothd --noplugin=hfp` to disable BlueZ's built-in and let+PipeWire own the profile. That buys desktop call audio at the price of a system-wide+change to every Bluetooth device on the machine. Not taken.++Two smaller findings from the same session:++- A backup file left in `~/.config/wireplumber/wireplumber.conf.d/` is loaded as+ configuration if it still ends in `.conf`. Keep backups outside that directory.+- `HangupActive` and `HangupHeld` are in `man org.bluez.Telephony` but are not exported+ by 5.87. Only `HangupAll` is.diff --git a/docs/man/man1/tether.1.in b/docs/man/man1/tether.1.inindex ea4973e..7449425 100644--- a/docs/man/man1/tether.1.in+++ b/docs/man/man1/tether.1.in@@ -123,6 +123,25 @@ Turn notification mirroring on or off.\fB\-\-bt-ancs-content\fR \fIon\fR|\fIoff\fRMirror notification titles and bodies, not just the app..TP+\fB\-\-bt-calls\fR+List calls on the iPhone: what is ringing, dialing, or connected.+.TP+\fB\-\-bt-call\fR \fInumber\fR+Place a call from the iPhone. A leading \fI+\fR and digits are kept; spaces, dashes,+dots and parentheses are dropped and anything else is refused.+.TP+\fB\-\-bt-answer\fR+Answer the ringing call.+.TP+\fB\-\-bt-hangup\fR+End every call.+.TP+\fB\-\-bt-calls-enable\fR \fIon\fR|\fIoff\fR+Turn call control on or off. Off by default. Calls run over BlueZ's own hands-free+profile, which needs \fBbluetoothd --experimental\fR -- the same flag notification+mirroring requires. Control only: the call audio stays on the iPhone. See+\fIdocs/BLUETOOTH.md\fR.+.TP\fB\-\-bt-adapter\fR \fIhciN\fR|\fIauto\fRChoose which Bluetooth controller to use, by \fIhciN\fR or by address. Defaults to\fIauto\fR, the first powered controller, which is the wrong one on a machine withdiff --git a/po/POTFILES.in b/po/POTFILES.inindex c7cad6a..92f0ed2 100644--- a/po/POTFILES.in+++ b/po/POTFILES.in@@ -5,9 +5,11 @@ src/core/src/bluetooth/groups.cppsrc/core/src/bluetooth/objects.cppsrc/core/src/bluetooth/pairing.cppsrc/core/src/bluetooth/profile_supervisor.cpp+src/core/src/bluetooth/telephony.cppsrc/core/src/net.cppsrc/daemon/main.cppsrc/daemon/notification.cpp+src/gtk/calls_view.cppsrc/gtk/contacts_view.cppsrc/gtk/daemon_client.cppsrc/gtk/devices_view.cppdiff --git a/po/cs.po b/po/cs.poindex b0a2031..bb209ae 100644--- a/po/cs.po+++ b/po/cs.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Czech\n"@@ -155,6 +155,30 @@ msgstr "Vybere, který adaptér Bluetooth se použije."msgid "List mirrored iPhone notifications."msgstr "Vypsat zrcadlená oznámení z iPhonu."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "Vypsat hovory na iPhonu."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "Zavolat z iPhonu."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "Přijmout příchozí hovor."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "Ukončit všechny hovory."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"Zapnout nebo vypnout ovládání hovorů. Hovory jdou přes Bluetooth hands-free; "+"zvuk zůstává v iPhonu."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "Vypsat očištěnou zprávu o Bluetooth pro hlášení chyby."@@ -425,10 +449,44 @@ msgstr "Zprávy (MAP)"msgid "Contacts (PBAP)"msgstr "Kontakty (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "žádný operátor"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " signál {0}/5 baterie {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "roaming"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "Hovory (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "Nepodařilo se načíst diagnostiku Bluetooth od démona.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "Hovor se nepodařilo uskutečnit."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "Hovory se nepodařilo načíst ze služby.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "Žádné hovory. Zkontrolujte 'tether --bt-connection'.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "skryté"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "Nepodařilo se načíst oznámení od démona.\n"@@ -567,6 +625,34 @@ msgstr "S tímto otiskem není spárováno žádné zařízení.\n"msgid "Transfer Failed: {}"msgstr "Přenos selhal: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "Je vyžadováno číslo, např. --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "Vytáčení."++#: src/cli/main.cpp+msgid "Answering."+msgstr "Přijímání."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "Zavěšování."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "Očekáváno on nebo off, např. --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "Ovládání hovorů zapnuto."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "Ovládání hovorů vypnuto."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr "Je vyžadován klíč konverzace, např. --bt-messages tel:+15551234567\n"@@ -752,6 +838,10 @@ msgid """The iPhone is not offering notifications on this link. Asking it again..."msgstr "iPhone na tomto spojení nenabízí oznámení. Žádáme znovu..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "Ovládání hovorů je vypnuté."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "Není vybrán žádný spárovaný iPhone."@@ -988,7 +1078,8 @@ msgstr ""msgid "{} could not be opened."msgstr "{} se nepodařilo otevřít."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "Čeká se na iPhone."@@ -1000,6 +1091,34 @@ msgstr "Zprávy a kontakty jsou připojeny."msgid "Opening messages and contacts..."msgstr "Otevírání zpráv a kontaktů..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "iPhone nepřipojil hands-free k tomuto počítači."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "Připojování ke službě hands-free iPhonu."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "Není to vytáčitelné číslo."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "Nebyl uveden žádný hovor."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "Tento hovor už není aktivní."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "Neznámá akce hovoru."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "Není to sekvence DTMF."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "Zrcadlení oznámení je již aktivní, není co dělat."@@ -1072,6 +1191,76 @@ msgstr "Odpovědět"msgid "Copy Code"msgstr "Kopírovat kód"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "Příchozí"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "Čekající hovor"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "Vytáčení"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "Vyzvání"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "Probíhá hovor"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "Přidržený"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "Ukončeno"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "Bez signálu"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "Neznámý volající"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "Přijmout"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "Odmítnout"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "Zavěsit"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "Žádné hovory."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr ""+"Ovládání hovorů je vypnuté. Zapněte je příkazem 'tether --bt-calls-enable "+"on'."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "Číslo k volání"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "Volat"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "Operátor, signál a baterie iPhonu."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "Kopírovat"@@ -1557,6 +1746,10 @@ msgstr "Ukončit"msgid "Devices"msgstr "Zařízení"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "Hovory"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "Spouštět skrytě v oznamovací oblasti"@@ -1695,6 +1888,41 @@ msgstr "Synchronizace zařízení"msgid "Pair devices and synchronize clipboard across the network"msgstr "Spárujte zařízení a synchronizujte schránku po síti"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr "Přesunout zvuk hovoru do tohoto počítače, nebo zpět do iPhonu."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "Zapnout nebo vypnout ovládání hovorů. Vyžaduje roli hfp_hf a službu "+#~ "telefonie ve WirePlumberu; viz docs/BLUETOOTH.md."++#~ msgid "Call audio moved to this computer."+#~ msgstr "Zvuk hovoru přesunut do tohoto počítače."++#~ msgid "Take audio here"+#~ msgstr "Přesunout zvuk sem"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "Přehrávat hovor přes reproduktory a mikrofon tohoto počítače. Vrácení "+#~ "platí až pro další hovor."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "Očekáváno here nebo phone, např. --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "Nové hovory zůstanou v iPhonu. Hovor, který zde už hraje, se nevrátí."++#~ msgid "Move audio to iPhone"+#~ msgstr "Přesunout zvuk do iPhonu"+#, fuzzy#~ msgid "Tether version"#~ msgstr "Vypsat verzi tether."diff --git a/po/de.po b/po/de.poindex 646748b..acb3480 100644--- a/po/de.po+++ b/po/de.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-22\n""Last-Translator: Tether project\n""Language-Team: German\n"@@ -157,6 +157,30 @@ msgstr "Wählt den zu verwendenden Bluetooth-Adapter."msgid "List mirrored iPhone notifications."msgstr "Gespiegelte iPhone-Mitteilungen auflisten."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "Anrufe auf dem iPhone auflisten."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "Einen Anruf über das iPhone tätigen."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "Den eingehenden Anruf annehmen."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "Alle Anrufe beenden."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"Anrufsteuerung ein- oder ausschalten. Anrufe laufen über Bluetooth Hands-"+"Free; der Ton bleibt auf dem iPhone."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "Einen bereinigten Bluetooth-Bericht für Fehlermeldungen ausgeben."@@ -425,10 +449,44 @@ msgstr "Nachrichten (MAP)"msgid "Contacts (PBAP)"msgstr "Kontakte (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "kein Netzbetreiber"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " Signal {0}/5 Akku {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "Roaming"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "Anrufe (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "Die Bluetooth-Diagnose konnte nicht vom Daemon gelesen werden.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "Der Anruf konnte nicht getätigt werden."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "Anrufe konnten nicht vom Dienst gelesen werden.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "Keine Anrufe. Prüfen Sie 'tether --bt-connection'.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "unterdrückt"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "Die Mitteilungen konnten nicht vom Daemon gelesen werden.\n"@@ -568,6 +626,34 @@ msgstr "Kein gekoppeltes Gerät mit diesem Fingerabdruck.\n"msgid "Transfer Failed: {}"msgstr "Übertragung fehlgeschlagen: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "Eine Nummer ist erforderlich, z. B. --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "Wird gewählt."++#: src/cli/main.cpp+msgid "Answering."+msgstr "Wird angenommen."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "Wird aufgelegt."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "Erwartet wurde on oder off, z. B. --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "Anrufsteuerung eingeschaltet."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "Anrufsteuerung ausgeschaltet."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr ""@@ -763,6 +849,10 @@ msgstr """Das iPhone bietet auf dieser Verbindung keine Mitteilungen an. Es wird ""erneut angefragt ..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "Die Anrufsteuerung ist aus."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "Kein gekoppeltes iPhone ausgewählt."@@ -1012,7 +1102,8 @@ msgstr ""msgid "{} could not be opened."msgstr "{} konnte nicht geöffnet werden."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "Warten auf das iPhone."@@ -1024,6 +1115,34 @@ msgstr "Nachrichten und Kontakte sind verbunden."msgid "Opening messages and contacts..."msgstr "Nachrichten und Kontakte werden geöffnet..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "Das iPhone hat Hands-Free nicht mit diesem Computer verbunden."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "Verbindung zum Hands-Free-Dienst des iPhones wird aufgebaut."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "Keine wählbare Nummer."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "Kein Anruf angegeben."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "Dieser Anruf ist nicht mehr aktiv."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "Unbekannte Anrufaktion."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "Keine DTMF-Folge."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "Die Spiegelung von Mitteilungen ist bereits aktiv, nichts zu tun."@@ -1097,6 +1216,75 @@ msgstr "Antworten"msgid "Copy Code"msgstr "Code kopieren"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "Eingehend"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "Anklopfen"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "Wählt"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "Klingelt"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "Im Gespräch"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "Gehalten"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "Beendet"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "Kein Netz"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "Unbekannter Anrufer"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "Annehmen"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "Ablehnen"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "Auflegen"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "Keine Anrufe."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr ""+"Die Anrufsteuerung ist aus. Mit 'tether --bt-calls-enable on' einschalten."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "Zu wählende Nummer"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "Anrufen"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "Netzbetreiber, Signal und Akku des iPhones."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "Kopieren"@@ -1590,6 +1778,10 @@ msgstr "Beenden"msgid "Devices"msgstr "Geräte"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "Anrufe"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "Versteckt im Benachrichtigungsfeld starten"@@ -1733,6 +1925,44 @@ msgid "Pair devices and synchronize clipboard across the network"msgstr """Geräte koppeln und die Zwischenablage über das Netzwerk synchronisieren"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr ""+#~ "Die Anrufaudioausgabe auf diesen Computer oder zurück auf das iPhone "+#~ "verlegen."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "Anrufsteuerung ein- oder ausschalten. Erfordert die Rolle hfp_hf und den "+#~ "Telefoniedienst in WirePlumber; siehe docs/BLUETOOTH.md."++#~ msgid "Call audio moved to this computer."+#~ msgstr "Anrufaudio auf diesen Computer verlegt."++#~ msgid "Take audio here"+#~ msgstr "Audio hierher holen"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "Den Anruf über die Lautsprecher und das Mikrofon dieses Computers führen. "+#~ "Das Zurückgeben gilt ab dem nächsten Anruf."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "Erwartet wurde here oder phone, z. B. --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "Neue Anrufe bleiben auf dem iPhone. Ein Anruf, der hier bereits läuft, "+#~ "wird nicht zurückverlegt."++#~ msgid "Move audio to iPhone"+#~ msgstr "Audio zum iPhone verlegen"+#, fuzzy#~ msgid "Tether version"#~ msgstr "Die tether-Version ausgeben."diff --git a/po/es.po b/po/es.poindex 752fd93..2fbf35f 100644--- a/po/es.po+++ b/po/es.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-22\n""Last-Translator: Tether project\n""Language-Team: Spanish\n"@@ -157,6 +157,30 @@ msgstr "Elige qué adaptador Bluetooth usar."msgid "List mirrored iPhone notifications."msgstr "Listar las notificaciones duplicadas del iPhone."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "Listar las llamadas del iPhone."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "Realizar una llamada desde el iPhone."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "Responder la llamada entrante."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "Colgar todas las llamadas."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"Activar o desactivar el control de llamadas. Las llamadas usan el manos "+"libres Bluetooth; el audio se queda en el iPhone."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "Imprimir un informe Bluetooth redactado para un informe de error."@@ -424,10 +448,44 @@ msgstr "Mensajes (MAP)"msgid "Contacts (PBAP)"msgstr "Contactos (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "sin operador"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " señal {0}/5 batería {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "itinerancia"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "Llamadas (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "No se pudieron leer los diagnósticos de Bluetooth del daemon.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "No se pudo realizar la llamada."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "No se pudieron leer las llamadas del servicio.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "No hay llamadas. Compruebe 'tether --bt-connection'.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "oculto"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "No se pudieron leer las notificaciones del daemon.\n"@@ -564,6 +622,34 @@ msgstr "No hay ningún dispositivo emparejado con esa huella.\n"msgid "Transfer Failed: {}"msgstr "Fallo en la transferencia: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "Se requiere un número, p. ej. --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "Marcando."++#: src/cli/main.cpp+msgid "Answering."+msgstr "Respondiendo."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "Colgando."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "Se esperaba on u off, p. ej. --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "Control de llamadas activado."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "Control de llamadas desactivado."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr ""@@ -759,6 +845,10 @@ msgstr """El iPhone no ofrece notificaciones en este enlace. Se le vuelve a ""preguntar..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "El control de llamadas está desactivado."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "No hay ningún iPhone emparejado seleccionado."@@ -1002,7 +1092,8 @@ msgstr ""msgid "{} could not be opened."msgstr "No se pudo abrir {}."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "Esperando al iPhone."@@ -1014,6 +1105,34 @@ msgstr "Los mensajes y los contactos están conectados."msgid "Opening messages and contacts..."msgstr "Abriendo mensajes y contactos..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "El iPhone no ha conectado el manos libres a este equipo."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "Conectando con el servicio manos libres del iPhone."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "No es un número marcable."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "No se indicó ninguna llamada."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "Esa llamada ya no está activa."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "Acción de llamada desconocida."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "No es una secuencia DTMF."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr ""@@ -1088,6 +1207,76 @@ msgstr "Responder"msgid "Copy Code"msgstr "Copiar código"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "Entrante"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "Llamada en espera"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "Marcando"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "Sonando"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "En llamada"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "En espera"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "Finalizada"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "Sin servicio"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "Llamante desconocido"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "Responder"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "Rechazar"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "Colgar"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "No hay llamadas."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr ""+"El control de llamadas está desactivado. Actívelo con 'tether --bt-calls-"+"enable on'."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "Número al que llamar"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "Llamar"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "Operador, señal y batería del iPhone."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "Copiar"@@ -1580,6 +1769,10 @@ msgstr "Salir"msgid "Devices"msgstr "Dispositivos"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "Llamadas"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "Iniciar oculto en la bandeja del sistema"@@ -1718,6 +1911,42 @@ msgstr "Sincronización de dispositivos"msgid "Pair devices and synchronize clipboard across the network"msgstr "Empareje dispositivos y sincronice el portapapeles a través de la red"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr "Pasar el audio de la llamada a este equipo, o devolverlo al iPhone."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "Activar o desactivar el control de llamadas. Necesita el rol hfp_hf y el "+#~ "servicio de telefonía en WirePlumber; consulte docs/BLUETOOTH.md."++#~ msgid "Call audio moved to this computer."+#~ msgstr "Audio de la llamada pasado a este equipo."++#~ msgid "Take audio here"+#~ msgstr "Traer el audio aquí"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "Reproducir la llamada por los altavoces y el micrófono de este equipo. "+#~ "Devolverla se aplica a la siguiente llamada."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "Se esperaba here o phone, p. ej. --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "Las nuevas llamadas se quedarán en el iPhone. Una llamada que ya suena "+#~ "aquí no vuelve."++#~ msgid "Move audio to iPhone"+#~ msgstr "Pasar el audio al iPhone"+#, fuzzy#~ msgid "Tether version"#~ msgstr "Mostrar la versión de tether."diff --git a/po/fr.po b/po/fr.poindex 757c0dd..5d9f6bf 100644--- a/po/fr.po+++ b/po/fr.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-22\n""Last-Translator: Tether project\n""Language-Team: French\n"@@ -160,6 +160,30 @@ msgstr "Choisit l'adaptateur Bluetooth à utiliser."msgid "List mirrored iPhone notifications."msgstr "Lister les notifications dupliquées de l'iPhone."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "Lister les appels sur l'iPhone."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "Passer un appel depuis l'iPhone."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "Répondre à l'appel entrant."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "Raccrocher tous les appels."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"Activer ou désactiver la gestion des appels. Les appels passent par le mode "+"mains libres Bluetooth ; l'audio reste sur l'iPhone."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "Afficher un rapport Bluetooth expurgé pour un rapport de bogue."@@ -428,10 +452,44 @@ msgstr "Messages (MAP)"msgid "Contacts (PBAP)"msgstr "Contacts (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "aucun opérateur"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " signal {0}/5 batterie {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "itinérance"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "Appels (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "Impossible de lire les diagnostics Bluetooth depuis le démon.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "L'appel n'a pas pu être passé."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "Impossible de lire les appels depuis le service.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "Aucun appel. Vérifiez 'tether --bt-connection'.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "masqué"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "Impossible de lire les notifications depuis le démon.\n"@@ -571,6 +629,34 @@ msgstr "Aucun appareil appairé avec cette empreinte.\n"msgid "Transfer Failed: {}"msgstr "Échec du transfert : {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "Un numéro est requis, par ex. --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "Numérotation en cours."++#: src/cli/main.cpp+msgid "Answering."+msgstr "Réponse en cours."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "Raccrochage."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "on ou off attendu, par ex. --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "Gestion des appels activée."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "Gestion des appels désactivée."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr ""@@ -764,6 +850,10 @@ msgstr """L'iPhone ne propose pas de notifications sur cette liaison. Nouvelle demande ""en cours..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "La gestion des appels est désactivée."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "Aucun iPhone appairé sélectionné."@@ -1009,7 +1099,8 @@ msgstr ""msgid "{} could not be opened."msgstr "Impossible d'ouvrir {}."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "En attente de l'iPhone."@@ -1021,6 +1112,34 @@ msgstr "Les messages et les contacts sont connectés."msgid "Opening messages and contacts..."msgstr "Ouverture des messages et des contacts..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "L'iPhone n'a pas connecté le mode mains libres à cet ordinateur."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "Connexion au service mains libres de l'iPhone."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "Numéro non composable."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "Aucun appel indiqué."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "Cet appel n'est plus actif."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "Action inconnue."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "Séquence DTMF invalide."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "La duplication des notifications est déjà active, rien à faire."@@ -1095,6 +1214,76 @@ msgstr "Répondre"msgid "Copy Code"msgstr "Copier le code"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "Entrant"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "Appel en attente"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "Numérotation"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "Sonnerie"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "En communication"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "En attente"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "Terminé"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "Aucun service"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "Appelant inconnu"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "Répondre"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "Refuser"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "Raccrocher"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "Aucun appel."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr ""+"La gestion des appels est désactivée. Activez-la avec 'tether --bt-calls-"+"enable on'."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "Numéro à appeler"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "Appeler"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "Opérateur, signal et batterie de l'iPhone."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "Copier"@@ -1587,6 +1776,10 @@ msgstr "Quitter"msgid "Devices"msgstr "Appareils"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "Appels"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "Démarrer masqué dans la zone de notification"@@ -1725,6 +1918,44 @@ msgstr "Synchronisation d'appareils"msgid "Pair devices and synchronize clipboard across the network"msgstr "Appairez des appareils et synchronisez le presse-papiers sur le réseau"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr ""+#~ "Transférer l'audio de l'appel vers cet ordinateur, ou le renvoyer vers "+#~ "l'iPhone."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "Activer ou désactiver la gestion des appels. Nécessite le rôle hfp_hf et "+#~ "le service de téléphonie dans WirePlumber ; voir docs/BLUETOOTH.md."++#~ msgid "Call audio moved to this computer."+#~ msgstr "Audio de l'appel transféré vers cet ordinateur."++#~ msgid "Take audio here"+#~ msgstr "Prendre l'audio ici"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "Diffuser l'appel par les haut-parleurs et le microphone de cet "+#~ "ordinateur. Le renvoi s'applique à l'appel suivant."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "here ou phone attendu, par ex. --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "Les nouveaux appels resteront sur l'iPhone. Un appel déjà diffusé ici "+#~ "n'est pas renvoyé."++#~ msgid "Move audio to iPhone"+#~ msgstr "Transférer l'audio vers l'iPhone"+#, fuzzy#~ msgid "Tether version"#~ msgstr "Afficher la version de tether."diff --git a/po/it.po b/po/it.poindex 8cc9c43..7fcd077 100644--- a/po/it.po+++ b/po/it.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Italian\n"@@ -158,6 +158,30 @@ msgstr "Sceglie quale adattatore Bluetooth usare."msgid "List mirrored iPhone notifications."msgstr "Elenca le notifiche dell'iPhone rispecchiate."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "Elencare le chiamate sull'iPhone."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "Effettuare una chiamata dall'iPhone."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "Rispondere alla chiamata in arrivo."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "Chiudere tutte le chiamate."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"Attivare o disattivare il controllo delle chiamate. Le chiamate usano il "+"vivavoce Bluetooth; l'audio resta sull'iPhone."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "Stampa un rapporto Bluetooth epurato per una segnalazione di errore."@@ -424,10 +448,44 @@ msgstr "Messaggi (MAP)"msgid "Contacts (PBAP)"msgstr "Contatti (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "nessun operatore"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " segnale {0}/5 batteria {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "roaming"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "Chiamate (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "Impossibile leggere la diagnostica Bluetooth dal daemon.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "Non è stato possibile effettuare la chiamata."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "Impossibile leggere le chiamate dal servizio.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "Nessuna chiamata. Controllare 'tether --bt-connection'.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "nascosto"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "Impossibile leggere le notifiche dal daemon.\n"@@ -565,6 +623,34 @@ msgstr "Nessun dispositivo accoppiato con quell'impronta.\n"msgid "Transfer Failed: {}"msgstr "Trasferimento non riuscito: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "È richiesto un numero, ad es. --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "Composizione in corso."++#: src/cli/main.cpp+msgid "Answering."+msgstr "Risposta in corso."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "Chiusura in corso."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "Atteso on o off, ad es. --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "Controllo delle chiamate attivato."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "Controllo delle chiamate disattivato."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr ""@@ -759,6 +845,10 @@ msgstr """L'iPhone non offre notifiche su questo collegamento. Nuova richiesta in ""corso..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "Il controllo delle chiamate è disattivato."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "Nessun iPhone accoppiato selezionato."@@ -1002,7 +1092,8 @@ msgstr ""msgid "{} could not be opened."msgstr "Non è stato possibile aprire {}."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "In attesa dell'iPhone."@@ -1014,6 +1105,34 @@ msgstr "Messaggi e contatti sono connessi."msgid "Opening messages and contacts..."msgstr "Apertura di messaggi e contatti..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "L'iPhone non ha collegato il vivavoce a questo computer."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "Connessione al servizio vivavoce dell'iPhone."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "Non è un numero componibile."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "Nessuna chiamata indicata."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "Quella chiamata non è più attiva."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "Azione di chiamata sconosciuta."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "Non è una sequenza DTMF."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "Il mirroring delle notifiche è già attivo, non c'è nulla da fare."@@ -1086,6 +1205,76 @@ msgstr "Rispondi"msgid "Copy Code"msgstr "Copia codice"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "In arrivo"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "Avviso di chiamata"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "Composizione"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "Squilla"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "In chiamata"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "In attesa"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "Terminata"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "Nessun servizio"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "Chiamante sconosciuto"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "Rispondi"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "Rifiuta"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "Chiudi"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "Nessuna chiamata."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr ""+"Il controllo delle chiamate è disattivato. Attivarlo con 'tether --bt-calls-"+"enable on'."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "Numero da chiamare"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "Chiama"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "Operatore, segnale e batteria dell'iPhone."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "Copia"@@ -1578,6 +1767,10 @@ msgstr "Esci"msgid "Devices"msgstr "Dispositivi"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "Chiamate"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "Avvia nascosto nella tray di sistema"@@ -1718,6 +1911,45 @@ msgstr "Sincronizzazione dispositivi"msgid "Pair devices and synchronize clipboard across the network"msgstr "Accoppia dispositivi e sincronizza gli appunti sulla rete"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr ""+#~ "Spostare l'audio della chiamata su questo computer, o di nuovo "+#~ "sull'iPhone."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "Attivare o disattivare il controllo delle chiamate. Richiede il ruolo "+#~ "hfp_hf e il servizio di telefonia in WirePlumber; vedere docs/"+#~ "BLUETOOTH.md."++#~ msgid "Call audio moved to this computer."+#~ msgstr "Audio della chiamata spostato su questo computer."++#~ msgid "Take audio here"+#~ msgstr "Porta l'audio qui"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "Riprodurre la chiamata con gli altoparlanti e il microfono di questo "+#~ "computer. La restituzione vale dalla chiamata successiva."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "Atteso here o phone, ad es. --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "Le nuove chiamate resteranno sull'iPhone. Una chiamata già in corso qui "+#~ "non torna indietro."++#~ msgid "Move audio to iPhone"+#~ msgstr "Sposta l'audio sull'iPhone"+#, fuzzy#~ msgid "Tether version"#~ msgstr "Mostra la versione di tether."diff --git a/po/ja.po b/po/ja.poindex d1d7a72..0e48c87 100644--- a/po/ja.po+++ b/po/ja.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Japanese\n"@@ -156,6 +156,30 @@ msgstr "使用する Bluetooth アダプタを選択します。"msgid "List mirrored iPhone notifications."msgstr "ミラーリングされた iPhone の通知を一覧表示します。"+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "iPhone の通話を一覧表示します。"++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "iPhone から発信します。"++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "着信中の通話に応答します。"++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "すべての通話を終了します。"++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"通話操作をオンまたはオフにします。通話は Bluetooth ハンズフリー経由で、音声"+"は iPhone に残ります。"+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "バグ報告用に情報を伏せた Bluetooth レポートを出力します。"@@ -414,10 +438,44 @@ msgstr "メッセージ (MAP)"msgid "Contacts (PBAP)"msgstr "連絡先 (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "通信事業者なし"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " 信号 {0}/5 バッテリー {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "ローミング"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "通話 (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "デーモンから Bluetooth の診断情報を読み取れませんでした。\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "発信できませんでした。"++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "デーモンから通話を読み取れませんでした。\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "通話はありません。'tether --bt-connection' を確認してください。\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "非通知"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "デーモンから通知を読み取れませんでした。\n"@@ -554,6 +612,34 @@ msgstr "そのフィンガープリントを持つペアリング済みデバイmsgid "Transfer Failed: {}"msgstr "転送に失敗しました: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "番号が必要です。例: --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "発信しています。"++#: src/cli/main.cpp+msgid "Answering."+msgstr "応答しています。"++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "終了しています。"++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "on または off を指定してください。例: --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "通話操作をオンにしました。"++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "通話操作をオフにしました。"+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr "会話のキーが必要です。例: --bt-messages tel:+15551234567\n"@@ -739,6 +825,10 @@ msgid """The iPhone is not offering notifications on this link. Asking it again..."msgstr "iPhone はこのリンクで通知を提供していません。再度要求しています..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "通話操作はオフです。"+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "ペアリング済みの iPhone が選択されていません。"@@ -976,7 +1066,8 @@ msgstr ""msgid "{} could not be opened."msgstr "{} を開けませんでした。"-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "iPhone を待っています。"@@ -988,6 +1079,34 @@ msgstr "メッセージと連絡先が接続されています。"msgid "Opening messages and contacts..."msgstr "メッセージと連絡先を開いています..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "iPhone がこのコンピューターにハンズフリーを接続していません。"++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "iPhone のハンズフリーサービスに接続しています。"++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "発信できる番号ではありません。"++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "通話が指定されていません。"++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "その通話はもう有効ではありません。"++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "不明な通話操作です。"++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "DTMF シーケンスではありません。"+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "通知のミラーリングはすでに有効です。操作は不要です。"@@ -1061,6 +1180,75 @@ msgstr "返信"msgid "Copy Code"msgstr "コードをコピー"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "着信"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "キャッチホン"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "発信中"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "呼び出し中"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "通話中"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "保留中"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "終了"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "圏外"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "不明な発信者"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "応答"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "拒否"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "終了"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "通話はありません。"++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr ""+"通話操作はオフです。'tether --bt-calls-enable on' でオンにしてください。"++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "発信先の番号"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "発信"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "iPhone の通信事業者、電波、バッテリー。"+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "コピー"@@ -1546,6 +1734,10 @@ msgstr "終了"msgid "Devices"msgstr "デバイス"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "通話"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "システムトレイに隠して起動"@@ -1684,6 +1876,41 @@ msgstr "デバイスの同期"msgid "Pair devices and synchronize clipboard across the network"msgstr "デバイスをペアリングし、ネットワーク越しにクリップボードを同期します"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr "通話音声をこのコンピューターに移す、または iPhone に戻します。"++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "通話操作をオンまたはオフにします。WirePlumber の hfp_hf ロールとテレフォ"+#~ "ニーサービスが必要です。docs/BLUETOOTH.md を参照してください。"++#~ msgid "Call audio moved to this computer."+#~ msgstr "通話音声をこのコンピューターに移しました。"++#~ msgid "Take audio here"+#~ msgstr "音声をここに移す"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "このコンピューターのスピーカーとマイクで通話します。戻す操作は次の通話から"+#~ "有効です。"++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "here または phone を指定してください。例: --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "新しい通話は iPhone に残ります。すでにここで再生中の通話は戻りません。"++#~ msgid "Move audio to iPhone"+#~ msgstr "音声を iPhone に移す"+#, fuzzy#~ msgid "Tether version"#~ msgstr "tether のバージョンを表示します。"diff --git a/po/ko.po b/po/ko.poindex eb3c427..cae9bcd 100644--- a/po/ko.po+++ b/po/ko.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Korean\n"@@ -155,6 +155,30 @@ msgstr "사용할 Bluetooth 어댑터를 선택합니다."msgid "List mirrored iPhone notifications."msgstr "미러링된 iPhone 알림을 나열합니다."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "iPhone의 통화를 나열합니다."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "iPhone에서 전화를 겁니다."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "수신 중인 통화를 받습니다."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "모든 통화를 종료합니다."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"통화 제어를 켜거나 끕니다. 통화는 Bluetooth 핸즈프리를 사용하며 오디오는 "+"iPhone에 남습니다."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "버그 리포트용으로 민감 정보를 가린 Bluetooth 보고서를 출력합니다."@@ -413,10 +437,44 @@ msgstr "메시지 (MAP)"msgid "Contacts (PBAP)"msgstr "연락처 (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "통신사 없음"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " 신호 {0}/5 배터리 {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "로밍"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "통화 (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "데몬에서 Bluetooth 진단 정보를 읽지 못했습니다.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "전화를 걸 수 없습니다."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "데몬에서 통화를 읽을 수 없습니다.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "통화가 없습니다. 'tether --bt-connection'을 확인하십시오.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "발신 표시 제한"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "데몬에서 알림을 읽지 못했습니다.\n"@@ -551,6 +609,34 @@ msgstr "해당 지문을 가진 페어링된 기기가 없습니다.\n"msgid "Transfer Failed: {}"msgstr "전송 실패: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "번호가 필요합니다. 예: --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "전화를 거는 중입니다."++#: src/cli/main.cpp+msgid "Answering."+msgstr "전화를 받는 중입니다."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "전화를 끊는 중입니다."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "on 또는 off가 필요합니다. 예: --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "통화 제어를 켰습니다."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "통화 제어를 껐습니다."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr "대화 키가 필요합니다. 예: --bt-messages tel:+15551234567\n"@@ -733,6 +819,10 @@ msgid """The iPhone is not offering notifications on this link. Asking it again..."msgstr "iPhone이 이 링크에서 알림을 제공하지 않습니다. 다시 요청하는 중..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "통화 제어가 꺼져 있습니다."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "선택된 페어링 iPhone이 없습니다."@@ -965,7 +1055,8 @@ msgstr ""msgid "{} could not be opened."msgstr "{}을(를) 열지 못했습니다."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "iPhone을 기다리는 중입니다."@@ -977,6 +1068,34 @@ msgstr "메시지와 연락처가 연결되었습니다."msgid "Opening messages and contacts..."msgstr "메시지와 연락처를 여는 중..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "iPhone이 이 컴퓨터에 핸즈프리를 연결하지 않았습니다."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "iPhone의 핸즈프리 서비스에 연결하는 중입니다."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "전화를 걸 수 있는 번호가 아닙니다."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "통화를 지정하지 않았습니다."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "그 통화는 더 이상 활성 상태가 아닙니다."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "알 수 없는 통화 동작입니다."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "DTMF 시퀀스가 아닙니다."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "알림 미러링이 이미 활성 상태입니다. 할 일이 없습니다."@@ -1049,6 +1168,74 @@ msgstr "답장"msgid "Copy Code"msgstr "코드 복사"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "수신"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "통화 대기"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "발신 중"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "벨 울리는 중"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "통화 중"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "대기 중"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "종료됨"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "서비스 없음"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "알 수 없는 발신자"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "받기"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "거절"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "끊기"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "통화가 없습니다."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr "통화 제어가 꺼져 있습니다. 'tether --bt-calls-enable on'으로 켜십시오."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "전화를 걸 번호"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "전화 걸기"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "iPhone의 통신사, 신호, 배터리입니다."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "복사"@@ -1527,6 +1714,10 @@ msgstr "종료"msgid "Devices"msgstr "기기"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "통화"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "시스템 트레이에 숨겨서 시작"@@ -1663,6 +1854,42 @@ msgstr "기기 동기화"msgid "Pair devices and synchronize clipboard across the network"msgstr "기기를 페어링하고 네트워크를 통해 클립보드를 동기화합니다"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr "통화 오디오를 이 컴퓨터로 옮기거나 iPhone으로 되돌립니다."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "통화 제어를 켜거나 끕니다. WirePlumber의 hfp_hf 역할과 전화 서비스가 필요"+#~ "합니다. docs/BLUETOOTH.md를 참고하십시오."++#~ msgid "Call audio moved to this computer."+#~ msgstr "통화 오디오를 이 컴퓨터로 옮겼습니다."++#~ msgid "Take audio here"+#~ msgstr "오디오 가져오기"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "이 컴퓨터의 스피커와 마이크로 통화합니다. 되돌리기는 다음 통화부터 적용됩"+#~ "니다."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "here 또는 phone이 필요합니다. 예: --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "새 통화는 iPhone에 남습니다. 이미 여기서 재생 중인 통화는 되돌아가지 않습"+#~ "니다."++#~ msgid "Move audio to iPhone"+#~ msgstr "오디오를 iPhone으로 옮기기"+#, fuzzy#~ msgid "Tether version"#~ msgstr "tether 버전을 표시합니다."diff --git a/po/nl.po b/po/nl.poindex 86614b9..82be201 100644--- a/po/nl.po+++ b/po/nl.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Dutch\n"@@ -157,6 +157,30 @@ msgstr "Kiest welke Bluetooth-adapter wordt gebruikt."msgid "List mirrored iPhone notifications."msgstr "Gespiegelde iPhone-meldingen tonen."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "Oproepen op de iPhone tonen."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "Een oproep vanaf de iPhone plaatsen."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "De binnenkomende oproep beantwoorden."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "Alle oproepen beëindigen."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"Oproepbediening in- of uitschakelen. Oproepen lopen via Bluetooth-handsfree; "+"het geluid blijft op de iPhone."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "Een geschoond Bluetooth-rapport voor een foutmelding afdrukken."@@ -423,10 +447,44 @@ msgstr "Berichten (MAP)"msgid "Contacts (PBAP)"msgstr "Contacten (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "geen provider"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " signaal {0}/5 batterij {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "roaming"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "Oproepen (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "Kon de Bluetooth-diagnostiek niet van de daemon lezen.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "De oproep kon niet worden geplaatst."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "Kon de oproepen niet van de service lezen.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "Geen oproepen. Controleer 'tether --bt-connection'.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "afgeschermd"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "Kon de meldingen niet van de daemon lezen.\n"@@ -563,6 +621,34 @@ msgstr "Geen gekoppeld apparaat met die vingerafdruk.\n"msgid "Transfer Failed: {}"msgstr "Overdracht mislukt: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "Een nummer is vereist, bijv. --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "Bezig met kiezen."++#: src/cli/main.cpp+msgid "Answering."+msgstr "Wordt beantwoord."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "Wordt opgehangen."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "on of off verwacht, bijv. --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "Oproepbediening ingeschakeld."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "Oproepbediening uitgeschakeld."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr "Een gesprekssleutel is vereist, bijv. --bt-messages tel:+15551234567\n"@@ -753,6 +839,10 @@ msgid ""msgstr """De iPhone biedt geen meldingen aan op deze verbinding. Opnieuw vragen..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "De oproepbediening staat uit."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "Geen gekoppelde iPhone geselecteerd."@@ -997,7 +1087,8 @@ msgstr ""msgid "{} could not be opened."msgstr "{} kon niet worden geopend."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "Wachten op de iPhone."@@ -1009,6 +1100,34 @@ msgstr "Berichten en contacten zijn verbonden."msgid "Opening messages and contacts..."msgstr "Berichten en contacten openen..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "De iPhone heeft handsfree niet met deze computer verbonden."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "Verbinden met de handsfree-dienst van de iPhone."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "Geen belbaar nummer."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "Geen oproep opgegeven."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "Die oproep is niet meer actief."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "Onbekende oproepactie."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "Geen DTMF-reeks."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "Het spiegelen van meldingen is al actief, niets te doen."@@ -1082,6 +1201,76 @@ msgstr "Antwoorden"msgid "Copy Code"msgstr "Code kopiëren"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "Binnenkomend"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "Wisselgesprek"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "Kiezen"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "Gaat over"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "In gesprek"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "In de wacht"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "Beëindigd"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "Geen bereik"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "Onbekende beller"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "Beantwoorden"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "Weigeren"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "Ophangen"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "Geen oproepen."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr ""+"De oproepbediening staat uit. Schakel deze in met 'tether --bt-calls-enable "+"on'."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "Te bellen nummer"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "Bellen"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "Provider, signaal en batterij van de iPhone."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "Kopiëren"@@ -1571,6 +1760,10 @@ msgstr "Afsluiten"msgid "Devices"msgstr "Apparaten"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "Oproepen"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "Verborgen starten in het systeemvak"@@ -1708,6 +1901,44 @@ msgstr "Apparaatsynchronisatie"msgid "Pair devices and synchronize clipboard across the network"msgstr "Apparaten koppelen en het klembord over het netwerk synchroniseren"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr ""+#~ "De audio van de oproep naar deze computer verplaatsen, of terug naar de "+#~ "iPhone."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "Oproepbediening in- of uitschakelen. Vereist de rol hfp_hf en de "+#~ "telefoniedienst in WirePlumber; zie docs/BLUETOOTH.md."++#~ msgid "Call audio moved to this computer."+#~ msgstr "Oproepaudio naar deze computer verplaatst."++#~ msgid "Take audio here"+#~ msgstr "Audio hierheen halen"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "De oproep via de luidsprekers en microfoon van deze computer afspelen. "+#~ "Teruggeven geldt vanaf de volgende oproep."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "here of phone verwacht, bijv. --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "Nieuwe oproepen blijven op de iPhone. Een oproep die hier al speelt gaat "+#~ "niet terug."++#~ msgid "Move audio to iPhone"+#~ msgstr "Audio naar iPhone verplaatsen"+#, fuzzy#~ msgid "Tether version"#~ msgstr "De tether-versie tonen."diff --git a/po/pl.po b/po/pl.poindex 8a50a95..16a6a02 100644--- a/po/pl.po+++ b/po/pl.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Polish\n"@@ -157,6 +157,30 @@ msgstr "Wybiera używany adapter Bluetooth."msgid "List mirrored iPhone notifications."msgstr "Wypisz skopiowane powiadomienia z iPhone'a."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "Wyświetl połączenia na iPhonie."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "Nawiąż połączenie z iPhone’a."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "Odbierz przychodzące połączenie."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "Zakończ wszystkie połączenia."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"Włącz lub wyłącz sterowanie połączeniami. Połączenia idą przez zestaw "+"głośnomówiący Bluetooth; dźwięk zostaje na iPhonie."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "Wypisz oczyszczony raport Bluetooth do zgłoszenia błędu."@@ -427,10 +451,44 @@ msgstr "Wiadomości (MAP)"msgid "Contacts (PBAP)"msgstr "Kontakty (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "brak operatora"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " sygnał {0}/5 bateria {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "roaming"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "Połączenia (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "Nie udało się odczytać diagnostyki Bluetooth od demona.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "Nie udało się nawiązać połączenia."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "Nie można odczytać połączeń z usługi.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "Brak połączeń. Sprawdź 'tether --bt-connection'.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "zastrzeżony"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "Nie udało się odczytać powiadomień od demona.\n"@@ -569,6 +627,34 @@ msgstr "Brak sparowanego urządzenia o tym odcisku.\n"msgid "Transfer Failed: {}"msgstr "Przesyłanie nie powiodło się: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "Wymagany jest numer, np. --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "Wybieranie numeru."++#: src/cli/main.cpp+msgid "Answering."+msgstr "Odbieranie."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "Rozłączanie."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "Oczekiwano on lub off, np. --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "Sterowanie połączeniami włączone."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "Sterowanie połączeniami wyłączone."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr "Wymagany jest klucz rozmowy, np. --bt-messages tel:+15551234567\n"@@ -757,6 +843,10 @@ msgid """The iPhone is not offering notifications on this link. Asking it again..."msgstr "iPhone nie oferuje powiadomień na tym połączeniu. Ponawianie prośby..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "Sterowanie połączeniami jest wyłączone."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "Nie wybrano żadnego sparowanego iPhone'a."@@ -998,7 +1088,8 @@ msgstr ""msgid "{} could not be opened."msgstr "Nie udało się otworzyć {}."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "Oczekiwanie na iPhone'a."@@ -1010,6 +1101,34 @@ msgstr "Wiadomości i kontakty są połączone."msgid "Opening messages and contacts..."msgstr "Otwieranie wiadomości i kontaktów..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "iPhone nie połączył zestawu głośnomówiącego z tym komputerem."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "Łączenie z usługą zestawu głośnomówiącego iPhone’a."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "To nie jest numer, który można wybrać."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "Nie wskazano połączenia."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "To połączenie nie jest już aktywne."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "Nieznana akcja połączenia."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "To nie jest sekwencja DTMF."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "Kopiowanie powiadomień jest już aktywne, nie ma nic do zrobienia."@@ -1083,6 +1202,76 @@ msgstr "Odpowiedz"msgid "Copy Code"msgstr "Kopiuj kod"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "Przychodzące"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "Połączenie oczekujące"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "Wybieranie"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "Dzwoni"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "W trakcie rozmowy"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "Zawieszone"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "Zakończone"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "Brak zasięgu"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "Nieznany numer"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "Odbierz"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "Odrzuć"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "Rozłącz"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "Brak połączeń."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr ""+"Sterowanie połączeniami jest wyłączone. Włącz je poleceniem 'tether --bt-"+"calls-enable on'."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "Numer do wybrania"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "Zadzwoń"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "Operator, sygnał i bateria iPhone’a."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "Kopiuj"@@ -1570,6 +1759,10 @@ msgstr "Zakończ"msgid "Devices"msgstr "Urządzenia"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "Połączenia"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "Uruchamiaj ukryte w zasobniku systemowym"@@ -1710,6 +1903,43 @@ msgstr "Synchronizacja urządzeń"msgid "Pair devices and synchronize clipboard across the network"msgstr "Sparuj urządzenia i synchronizuj schowek przez sieć"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr ""+#~ "Przenieś dźwięk połączenia na ten komputer lub z powrotem na iPhone."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "Włącz lub wyłącz sterowanie połączeniami. Wymaga roli hfp_hf i usługi "+#~ "telefonii w WirePlumber; zobacz docs/BLUETOOTH.md."++#~ msgid "Call audio moved to this computer."+#~ msgstr "Dźwięk połączenia przeniesiony na ten komputer."++#~ msgid "Take audio here"+#~ msgstr "Przenieś dźwięk tutaj"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "Odtwarzaj połączenie przez głośniki i mikrofon tego komputera. Zwrot "+#~ "obowiązuje od następnego połączenia."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "Oczekiwano here lub phone, np. --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "Nowe połączenia pozostaną na iPhonie. Połączenie już odtwarzane tutaj nie "+#~ "wróci."++#~ msgid "Move audio to iPhone"+#~ msgstr "Przenieś dźwięk na iPhone"+#, fuzzy#~ msgid "Tether version"#~ msgstr "Wyświetl wersję tether."diff --git a/po/pt_BR.po b/po/pt_BR.poindex c3a295c..aa0e5a6 100644--- a/po/pt_BR.po+++ b/po/pt_BR.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Brazilian Portuguese\n"@@ -157,6 +157,30 @@ msgstr "Escolhe qual adaptador Bluetooth usar."msgid "List mirrored iPhone notifications."msgstr "Listar as notificações espelhadas do iPhone."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "Listar as chamadas do iPhone."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "Fazer uma chamada pelo iPhone."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "Atender a chamada recebida."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "Encerrar todas as chamadas."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"Ativar ou desativar o controle de chamadas. As chamadas usam o viva-voz "+"Bluetooth; o áudio fica no iPhone."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "Imprimir um relatório Bluetooth sanitizado para um relato de erro."@@ -423,10 +447,44 @@ msgstr "Mensagens (MAP)"msgid "Contacts (PBAP)"msgstr "Contatos (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "sem operadora"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " sinal {0}/5 bateria {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "roaming"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "Chamadas (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "Não foi possível ler o diagnóstico do Bluetooth no daemon.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "Não foi possível fazer a chamada."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "Não foi possível ler as chamadas do serviço.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "Nenhuma chamada. Verifique 'tether --bt-connection'.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "oculto"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "Não foi possível ler as notificações no daemon.\n"@@ -563,6 +621,34 @@ msgstr "Nenhum dispositivo pareado com essa impressão digital.\n"msgid "Transfer Failed: {}"msgstr "Falha na transferência: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "Um número é obrigatório, p. ex. --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "Discando."++#: src/cli/main.cpp+msgid "Answering."+msgstr "Atendendo."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "Encerrando."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "Esperado on ou off, p. ex. --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "Controle de chamadas ativado."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "Controle de chamadas desativado."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr ""@@ -756,6 +842,10 @@ msgstr """O iPhone não está oferecendo notificações neste enlace. Solicitando de ""novo..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "O controle de chamadas está desativado."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "Nenhum iPhone pareado selecionado."@@ -998,7 +1088,8 @@ msgstr ""msgid "{} could not be opened."msgstr "Não foi possível abrir {}."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "Aguardando o iPhone."@@ -1010,6 +1101,34 @@ msgstr "Mensagens e contatos estão conectados."msgid "Opening messages and contacts..."msgstr "Abrindo mensagens e contatos..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "O iPhone não conectou o viva-voz a este computador."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "Conectando ao serviço viva-voz do iPhone."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "Não é um número discável."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "Nenhuma chamada indicada."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "Essa chamada não está mais ativa."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "Ação de chamada desconhecida."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "Não é uma sequência DTMF."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "O espelhamento de notificações já está ativo; nada a fazer."@@ -1083,6 +1202,76 @@ msgstr "Responder"msgid "Copy Code"msgstr "Copiar código"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "Recebida"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "Chamada em espera"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "Discando"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "Chamando"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "Em chamada"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "Em espera"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "Encerrada"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "Sem serviço"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "Chamador desconhecido"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "Atender"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "Recusar"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "Encerrar"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "Nenhuma chamada."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr ""+"O controle de chamadas está desativado. Ative-o com 'tether --bt-calls-"+"enable on'."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "Número para ligar"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "Ligar"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "Operadora, sinal e bateria do iPhone."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "Copiar"@@ -1571,6 +1760,10 @@ msgstr "Sair"msgid "Devices"msgstr "Dispositivos"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "Chamadas"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "Iniciar oculto na bandeja do sistema"@@ -1709,6 +1902,43 @@ msgstr "Sincronização de dispositivos"msgid "Pair devices and synchronize clipboard across the network"msgstr "Pareie dispositivos e sincronize a área de transferência pela rede"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr ""+#~ "Mover o áudio da chamada para este computador, ou de volta para o iPhone."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "Ativar ou desativar o controle de chamadas. Requer o papel hfp_hf e o "+#~ "serviço de telefonia no WirePlumber; consulte docs/BLUETOOTH.md."++#~ msgid "Call audio moved to this computer."+#~ msgstr "Áudio da chamada movido para este computador."++#~ msgid "Take audio here"+#~ msgstr "Trazer o áudio para cá"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "Reproduzir a chamada pelos alto-falantes e microfone deste computador. "+#~ "Devolver vale a partir da próxima chamada."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "Esperado here ou phone, p. ex. --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "As novas chamadas ficarão no iPhone. Uma chamada que já toca aqui não "+#~ "volta."++#~ msgid "Move audio to iPhone"+#~ msgstr "Mover o áudio para o iPhone"+#, fuzzy#~ msgid "Tether version"#~ msgstr "Mostrar a versão do tether."diff --git a/po/ru.po b/po/ru.poindex 31ede25..ab2f1af 100644--- a/po/ru.po+++ b/po/ru.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Russian\n"@@ -157,6 +157,30 @@ msgstr "Выбор используемого адаптера Bluetooth."msgid "List mirrored iPhone notifications."msgstr "Показать продублированные уведомления iPhone."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "Показать вызовы на iPhone."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "Совершить вызов с iPhone."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "Ответить на входящий вызов."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "Завершить все вызовы."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"Включить или выключить управление вызовами. Вызовы идут через Bluetooth "+"Hands-Free; звук остаётся на iPhone."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "Вывести очищенный отчёт Bluetooth для сообщения об ошибке."@@ -427,10 +451,44 @@ msgstr "Сообщения (MAP)"msgid "Contacts (PBAP)"msgstr "Контакты (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "нет оператора"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " сигнал {0}/5 батарея {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "роуминг"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "Вызовы (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "Не удалось прочитать диагностику Bluetooth у демона.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "Не удалось совершить вызов."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "Не удалось получить вызовы от службы.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "Вызовов нет. Проверьте 'tether --bt-connection'.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "скрыт"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "Не удалось прочитать уведомления у демона.\n"@@ -570,6 +628,34 @@ msgstr "Нет сопряжённого устройства с таким отmsgid "Transfer Failed: {}"msgstr "Передача не удалась: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "Требуется номер, например --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "Идёт набор."++#: src/cli/main.cpp+msgid "Answering."+msgstr "Ответ на вызов."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "Завершение вызова."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "Ожидалось on или off, например --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "Управление вызовами включено."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "Управление вызовами выключено."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr "Требуется ключ переписки, например --bt-messages tel:+15551234567\n"@@ -758,6 +844,10 @@ msgid ""msgstr """iPhone не предлагает уведомления по этому соединению. Повторный запрос..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "Управление вызовами выключено."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "Не выбран сопряжённый iPhone."@@ -997,7 +1087,8 @@ msgstr ""msgid "{} could not be opened."msgstr "Не удалось открыть {}."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "Ожидание iPhone."@@ -1009,6 +1100,34 @@ msgstr "Сообщения и контакты подключены."msgid "Opening messages and contacts..."msgstr "Открытие сообщений и контактов..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "iPhone не подключил Hands-Free к этому компьютеру."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "Подключение к службе Hands-Free на iPhone."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "Такой номер набрать нельзя."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "Вызов не указан."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "Этот вызов уже не активен."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "Неизвестное действие с вызовом."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "Это не последовательность DTMF."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "Дублирование уведомлений уже активно, делать ничего не нужно."@@ -1082,6 +1201,76 @@ msgstr "Ответить"msgid "Copy Code"msgstr "Скопировать код"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "Входящий"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "Ожидающий вызов"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "Набор"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "Идёт вызов"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "Разговор"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "На удержании"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "Завершён"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "Нет сети"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "Неизвестный абонент"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "Ответить"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "Отклонить"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "Завершить"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "Вызовов нет."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr ""+"Управление вызовами выключено. Включите его командой 'tether --bt-calls-"+"enable on'."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "Номер для вызова"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "Позвонить"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "Оператор, сигнал и батарея iPhone."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "Копировать"@@ -1572,6 +1761,10 @@ msgstr "Выйти"msgid "Devices"msgstr "Устройства"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "Вызовы"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "Запускаться скрыто в системном лотке"@@ -1710,6 +1903,41 @@ msgstr "Синхронизация устройств"msgid "Pair devices and synchronize clipboard across the network"msgstr "Создавайте пары устройств и синхронизируйте буфер обмена по сети"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr "Перевести звук вызова на этот компьютер или обратно на iPhone."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "Включить или выключить управление вызовами. Требуется роль hfp_hf и "+#~ "служба телефонии в WirePlumber; см. docs/BLUETOOTH.md."++#~ msgid "Call audio moved to this computer."+#~ msgstr "Звук вызова переведён на этот компьютер."++#~ msgid "Take audio here"+#~ msgstr "Перевести звук сюда"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "Воспроизводить вызов через динамики и микрофон этого компьютера. Возврат "+#~ "действует со следующего вызова."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "Ожидалось here или phone, например --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "Новые вызовы останутся на iPhone. Уже идущий здесь вызов не вернётся."++#~ msgid "Move audio to iPhone"+#~ msgstr "Перевести звук на iPhone"+#, fuzzy#~ msgid "Tether version"#~ msgstr "Показать версию tether."diff --git a/po/sv.po b/po/sv.poindex 6f9d6cd..0d0c628 100644--- a/po/sv.po+++ b/po/sv.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Swedish\n"@@ -157,6 +157,30 @@ msgstr "Väljer vilken Bluetooth-adapter som ska användas."msgid "List mirrored iPhone notifications."msgstr "Lista speglade iPhone-aviseringar."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "Lista samtal på iPhone."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "Ring ett samtal från iPhone."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "Besvara det inkommande samtalet."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "Lägg på alla samtal."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"Slå på eller av samtalsstyrning. Samtal går via Bluetooth-handsfree; ljudet "+"stannar på iPhone."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "Skriv ut en rensad Bluetooth-rapport för en felrapport."@@ -421,10 +445,44 @@ msgstr "Meddelanden (MAP)"msgid "Contacts (PBAP)"msgstr "Kontakter (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "ingen operatör"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " signal {0}/5 batteri {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "roaming"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "Samtal (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "Kunde inte läsa Bluetooth-diagnostiken från demonen.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "Samtalet kunde inte rings upp."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "Kunde inte läsa samtal från tjänsten.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "Inga samtal. Kontrollera 'tether --bt-connection'.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "dolt"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "Kunde inte läsa aviseringarna från demonen.\n"@@ -561,6 +619,34 @@ msgstr "Ingen parkopplad enhet med det fingeravtrycket.\n"msgid "Transfer Failed: {}"msgstr "Överföringen misslyckades: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "Ett nummer krävs, t.ex. --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "Ringer upp."++#: src/cli/main.cpp+msgid "Answering."+msgstr "Besvarar."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "Lägger på."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "Förväntade on eller off, t.ex. --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "Samtalsstyrning påslagen."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "Samtalsstyrning avstängd."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr "En konversationsnyckel krävs, t.ex. --bt-messages tel:+15551234567\n"@@ -749,6 +835,10 @@ msgid """The iPhone is not offering notifications on this link. Asking it again..."msgstr "iPhonen erbjuder inga aviseringar på den här länken. Frågar igen..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "Samtalsstyrningen är av."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "Ingen parkopplad iPhone vald."@@ -985,7 +1075,8 @@ msgstr ""msgid "{} could not be opened."msgstr "{} kunde inte öppnas."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "Väntar på iPhonen."@@ -997,6 +1088,34 @@ msgstr "Meddelanden och kontakter är anslutna."msgid "Opening messages and contacts..."msgstr "Öppnar meddelanden och kontakter..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "iPhone har inte anslutit handsfree till den här datorn."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "Ansluter till iPhones handsfree-tjänst."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "Inte ett uppringbart nummer."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "Inget samtal angivet."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "Det samtalet är inte längre aktivt."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "Okänd samtalsåtgärd."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "Inte en DTMF-sekvens."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "Spegling av aviseringar är redan aktiv, inget att göra."@@ -1069,6 +1188,74 @@ msgstr "Svara"msgid "Copy Code"msgstr "Kopiera kod"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "Inkommande"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "Samtal väntar"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "Ringer upp"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "Ringer"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "Pågående samtal"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "Parkerat"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "Avslutat"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "Ingen täckning"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "Okänd uppringare"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "Svara"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "Avvisa"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "Lägg på"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "Inga samtal."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr "Samtalsstyrningen är av. Slå på den med 'tether --bt-calls-enable on'."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "Nummer att ringa"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "Ring"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "iPhones operatör, signal och batteri."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "Kopiera"@@ -1557,6 +1744,10 @@ msgstr "Avsluta"msgid "Devices"msgstr "Enheter"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "Samtal"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "Starta dold i systemfältet"@@ -1694,6 +1885,43 @@ msgstr "Enhetssynkronisering"msgid "Pair devices and synchronize clipboard across the network"msgstr "Parkoppla enheter och synkronisera urklipp över nätverket"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr ""+#~ "Flytta samtalsljudet till den här datorn, eller tillbaka till iPhone."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "Slå på eller av samtalsstyrning. Kräver rollen hfp_hf och "+#~ "telefonitjänsten i WirePlumber; se docs/BLUETOOTH.md."++#~ msgid "Call audio moved to this computer."+#~ msgstr "Samtalsljudet flyttat till den här datorn."++#~ msgid "Take audio here"+#~ msgstr "Ta ljudet hit"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "Spela upp samtalet i den här datorns högtalare och mikrofon. Att lämna "+#~ "tillbaka gäller från nästa samtal."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "Förväntade here eller phone, t.ex. --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "Nya samtal stannar på iPhone. Ett samtal som redan spelas här flyttas "+#~ "inte tillbaka."++#~ msgid "Move audio to iPhone"+#~ msgstr "Flytta ljudet till iPhone"+#, fuzzy#~ msgid "Tether version"#~ msgstr "Visa tether-versionen."diff --git a/po/tether.pot b/po/tether.potindex 7d18554..ea44615 100644--- a/po/tether.pot+++ b/po/tether.pot@@ -6,9 +6,9 @@#, fuzzymsgid ""msgstr ""-"Project-Id-Version: tether 0.2.23\n"+"Project-Id-Version: tether 0.2.24\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-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"@@ -148,6 +148,28 @@ msgstr ""msgid "List mirrored iPhone notifications."msgstr ""+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr ""++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr ""++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr ""++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr ""++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr ""@@ -387,10 +409,44 @@ msgstr ""msgid "Contacts (PBAP)"msgstr ""+#: src/cli/main.cpp+msgid "no carrier"+msgstr ""++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr ""++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr ""++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr ""+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr ""+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr ""++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr ""++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr ""++#: src/cli/main.cpp+msgid "withheld"+msgstr ""+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr ""@@ -522,6 +578,34 @@ msgstr ""msgid "Transfer Failed: {}"msgstr ""+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr ""++#: src/cli/main.cpp+msgid "Dialing."+msgstr ""++#: src/cli/main.cpp+msgid "Answering."+msgstr ""++#: src/cli/main.cpp+msgid "Hanging up."+msgstr ""++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr ""++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr ""++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr ""+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr ""@@ -683,6 +767,10 @@ msgid """The iPhone is not offering notifications on this link. Asking it again..."msgstr ""+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr ""+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr ""@@ -883,7 +971,8 @@ msgstr ""msgid "{} could not be opened."msgstr ""-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr ""@@ -895,6 +984,34 @@ msgstr ""msgid "Opening messages and contacts..."msgstr ""+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr ""++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr ""++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr ""++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr ""++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr ""++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr ""++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr ""+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr ""@@ -961,6 +1078,74 @@ msgstr ""msgid "Copy Code"msgstr ""+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr ""++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr ""++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr ""++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr ""+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr ""@@ -1400,6 +1585,10 @@ msgstr ""msgid "Devices"msgstr ""+#: src/gtk/main.cpp+msgid "Calls"+msgstr ""+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr ""diff --git a/po/tr.po b/po/tr.poindex cbefd21..e410a2d 100644--- a/po/tr.po+++ b/po/tr.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Turkish\n"@@ -156,6 +156,30 @@ msgstr "Hangi Bluetooth bağdaştırıcısının kullanılacağını seçer."msgid "List mirrored iPhone notifications."msgstr "Yansıtılan iPhone bildirimlerini listele."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "iPhone’daki çağrıları listele."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "iPhone üzerinden çağrı başlat."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "Gelen çağrıyı yanıtla."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "Tüm çağrıları sonlandır."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"Çağrı denetimini aç veya kapat. Çağrılar Bluetooth eller serbest üzerinden "+"gider; ses iPhone’da kalır."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "Hata bildirimi için arındırılmış bir Bluetooth raporu yazdır."@@ -421,10 +445,44 @@ msgstr "Mesajlar (MAP)"msgid "Contacts (PBAP)"msgstr "Kişiler (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "operatör yok"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " sinyal {0}/5 pil {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "dolaşım"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "Çağrılar (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "Bluetooth tanılaması arka plan hizmetinden okunamadı.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "Çağrı başlatılamadı."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "Çağrılar hizmetten okunamadı.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "Çağrı yok. 'tether --bt-connection' komutunu deneyin.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "gizli"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "Bildirimler arka plan hizmetinden okunamadı.\n"@@ -561,6 +619,34 @@ msgstr "Bu parmak izine sahip eşleşmiş aygıt yok.\n"msgid "Transfer Failed: {}"msgstr "Aktarım başarısız: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "Bir numara gerekli, örn. --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "Aranıyor."++#: src/cli/main.cpp+msgid "Answering."+msgstr "Yanıtlanıyor."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "Kapatılıyor."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "on veya off bekleniyordu, örn. --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "Çağrı denetimi açıldı."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "Çağrı denetimi kapatıldı."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr "Bir konuşma anahtarı gerekli, örn. --bt-messages tel:+15551234567\n"@@ -750,6 +836,10 @@ msgid """The iPhone is not offering notifications on this link. Asking it again..."msgstr "iPhone bu bağlantıda bildirim sunmuyor. Yeniden isteniyor..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "Çağrı denetimi kapalı."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "Eşleşmiş bir iPhone seçilmedi."@@ -984,7 +1074,8 @@ msgstr ""msgid "{} could not be opened."msgstr "{} açılamadı."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "iPhone bekleniyor."@@ -996,6 +1087,34 @@ msgstr "Mesajlar ve kişiler bağlı."msgid "Opening messages and contacts..."msgstr "Mesajlar ve kişiler açılıyor..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "iPhone eller serbest bağlantısını bu bilgisayara kurmadı."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "iPhone’un eller serbest hizmetine bağlanılıyor."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "Aranabilir bir numara değil."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "Çağrı belirtilmedi."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "Bu çağrı artık etkin değil."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "Bilinmeyen çağrı işlemi."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "DTMF dizisi değil."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "Bildirim yansıtma zaten etkin, yapılacak bir şey yok."@@ -1068,6 +1187,74 @@ msgstr "Yanıtla"msgid "Copy Code"msgstr "Kodu kopyala"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "Gelen"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "Bekleyen çağrı"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "Aranıyor"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "Çalıyor"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "Görüşmede"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "Beklemede"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "Sonlandı"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "Şebeke yok"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "Bilinmeyen arayan"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "Yanıtla"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "Reddet"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "Kapat"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "Çağrı yok."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr "Çağrı denetimi kapalı. 'tether --bt-calls-enable on' ile açın."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "Aranacak numara"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "Ara"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "iPhone’un operatörü, sinyali ve pili."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "Kopyala"@@ -1551,6 +1738,10 @@ msgstr "Çık"msgid "Devices"msgstr "Aygıtlar"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "Çağrılar"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "Sistem tepsisinde gizli başlat"@@ -1688,6 +1879,42 @@ msgstr "Aygıt eşzamanlaması"msgid "Pair devices and synchronize clipboard across the network"msgstr "Aygıtları eşleştirin ve panoyu ağ üzerinden eşzamanlayın"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr "Çağrı sesini bu bilgisayara ya da iPhone’a geri taşı."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "Çağrı denetimini aç veya kapat. WirePlumber’da hfp_hf rolünü ve telefon "+#~ "hizmetini gerektirir; bkz. docs/BLUETOOTH.md."++#~ msgid "Call audio moved to this computer."+#~ msgstr "Çağrı sesi bu bilgisayara taşındı."++#~ msgid "Take audio here"+#~ msgstr "Sesi buraya al"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "Çağrıyı bu bilgisayarın hoparlörlerinden ve mikrofonundan çal. Geri verme "+#~ "sonraki çağrıdan itibaren geçerlidir."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "here veya phone bekleniyordu, örn. --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "Yeni çağrılar iPhone’da kalır. Burada çalmakta olan bir çağrı geri "+#~ "taşınmaz."++#~ msgid "Move audio to iPhone"+#~ msgstr "Sesi iPhone’a taşı"+#, fuzzy#~ msgid "Tether version"#~ msgstr "tether sürümünü yazdır."diff --git a/po/uk.po b/po/uk.poindex a368246..0823aca 100644--- a/po/uk.po+++ b/po/uk.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Ukrainian\n"@@ -158,6 +158,30 @@ msgstr "Вибирає, який адаптер Bluetooth використовуmsgid "List mirrored iPhone notifications."msgstr "Показати продубльовані сповіщення з iPhone."+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "Показати виклики на iPhone."++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "Здійснити виклик з iPhone."++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "Відповісти на вхідний виклик."++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "Завершити всі виклики."++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr ""+"Увімкнути або вимкнути керування викликами. Виклики йдуть через Bluetooth "+"Hands-Free; звук залишається на iPhone."+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "Вивести очищений звіт Bluetooth для повідомлення про помилку."@@ -428,10 +452,44 @@ msgstr "Повідомлення (MAP)"msgid "Contacts (PBAP)"msgstr "Контакти (PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "немає оператора"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " сигнал {0}/5 батарея {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "роумінг"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "Виклики (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "Не вдалося прочитати діагностику Bluetooth у демона.\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "Не вдалося здійснити виклик."++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "Не вдалося отримати виклики від служби.\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "Викликів немає. Перевірте 'tether --bt-connection'.\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "прихований"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "Не вдалося прочитати сповіщення у демона.\n"@@ -570,6 +628,34 @@ msgstr "Немає спареного пристрою з таким відбиmsgid "Transfer Failed: {}"msgstr "Передавання не вдалося: {}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "Потрібен номер, наприклад --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "Триває набір."++#: src/cli/main.cpp+msgid "Answering."+msgstr "Відповідь на виклик."++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "Завершення виклику."++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "Очікувалося on або off, наприклад --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "Керування викликами увімкнено."++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "Керування викликами вимкнено."+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr "Потрібен ключ розмови, наприклад --bt-messages tel:+15551234567\n"@@ -758,6 +844,10 @@ msgid """The iPhone is not offering notifications on this link. Asking it again..."msgstr "iPhone не пропонує сповіщень на цьому з'єднанні. Повторний запит..."+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "Керування викликами вимкнено."+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "Не вибрано спареного iPhone."@@ -996,7 +1086,8 @@ msgstr ""msgid "{} could not be opened."msgstr "Не вдалося відкрити {}."-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "Очікування iPhone."@@ -1008,6 +1099,34 @@ msgstr "Повідомлення та контакти під'єднано."msgid "Opening messages and contacts..."msgstr "Відкривання повідомлень і контактів..."+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "iPhone не підключив Hands-Free до цього комп’ютера."++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "Підключення до служби Hands-Free на iPhone."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "Такий номер набрати не можна."++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "Виклик не вказано."++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "Цей виклик уже не активний."++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "Невідома дія з викликом."++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "Це не послідовність DTMF."+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "Дублювання сповіщень уже активне, робити нічого не потрібно."@@ -1081,6 +1200,76 @@ msgstr "Відповісти"msgid "Copy Code"msgstr "Скопіювати код"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "Вхідний"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "Виклик очікує"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "Набір"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "Дзвінок"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "Розмова"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "На утриманні"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "Завершено"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "Немає мережі"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "Невідомий абонент"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "Відповісти"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "Відхилити"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "Завершити"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "Викликів немає."++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr ""+"Керування викликами вимкнено. Увімкніть його командою 'tether --bt-calls-"+"enable on'."++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "Номер для виклику"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "Подзвонити"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "Оператор, сигнал і батарея iPhone."+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "Копіювати"@@ -1570,6 +1759,10 @@ msgstr "Вийти"msgid "Devices"msgstr "Пристрої"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "Виклики"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "Запускатися прихованим у системному лотку"@@ -1709,6 +1902,42 @@ msgstr "Синхронізація пристроїв"msgid "Pair devices and synchronize clipboard across the network"msgstr "Створюйте пари пристроїв і синхронізуйте буфер обміну через мережу"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr "Перевести звук виклику на цей комп’ютер або назад на iPhone."++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "Увімкнути або вимкнути керування викликами. Потрібна роль hfp_hf і служба "+#~ "телефонії у WirePlumber; див. docs/BLUETOOTH.md."++#~ msgid "Call audio moved to this computer."+#~ msgstr "Звук виклику переведено на цей комп’ютер."++#~ msgid "Take audio here"+#~ msgstr "Перевести звук сюди"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr ""+#~ "Відтворювати виклик через динаміки та мікрофон цього комп’ютера. "+#~ "Повернення діє з наступного виклику."++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "Очікувалося here або phone, наприклад --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr ""+#~ "Нові виклики залишаться на iPhone. Виклик, що вже звучить тут, не "+#~ "повернеться."++#~ msgid "Move audio to iPhone"+#~ msgstr "Перевести звук на iPhone"+#, fuzzy#~ msgid "Tether version"#~ msgstr "Показати версію tether."diff --git a/po/zh_CN.po b/po/zh_CN.poindex bab817a..43d72c9 100644--- a/po/zh_CN.po+++ b/po/zh_CN.po@@ -8,7 +8,7 @@ msgid ""msgstr """Project-Id-Version: tether\n""Report-Msgid-Bugs-To: [email protected]\n"-"POT-Creation-Date: 2026-09-03 20:40-0700\n"+"POT-Creation-Date: 2026-09-04 10:58-0700\n""PO-Revision-Date: 2026-08-23\n""Last-Translator: Tether project\n""Language-Team: Simplified Chinese\n"@@ -152,6 +152,28 @@ msgstr "选择要使用的蓝牙适配器。"msgid "List mirrored iPhone notifications."msgstr "列出已镜像的 iPhone 通知。"+#: src/cli/main.cpp+msgid "List calls on the iPhone."+msgstr "列出 iPhone 上的通话。"++#: src/cli/main.cpp+msgid "Place a call from the iPhone."+msgstr "从 iPhone 拨打电话。"++#: src/cli/main.cpp+msgid "Answer the ringing call."+msgstr "接听来电。"++#: src/cli/main.cpp+msgid "Hang up every call."+msgstr "挂断所有通话。"++#: src/cli/main.cpp+msgid ""+"Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio "+"stays on the iPhone."+msgstr "开启或关闭通话控制。通话通过蓝牙免提进行,音频保留在 iPhone 上。"+#: src/cli/main.cppmsgid "Print a redacted Bluetooth report for a bug report."msgstr "输出用于错误报告的脱敏蓝牙报告。"@@ -408,10 +430,44 @@ msgstr "信息(MAP)"msgid "Contacts (PBAP)"msgstr "通讯录(PBAP)"+#: src/cli/main.cpp+msgid "no carrier"+msgstr "无运营商"++#: src/cli/main.cpp+#, c++-format+msgid " signal {0}/5 battery {1}/5"+msgstr " 信号 {0}/5 电量 {1}/5"++#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "roaming"+msgstr "漫游"++#: src/cli/main.cpp+msgid "Calls (HFP)"+msgstr "通话 (HFP)"+#: src/cli/main.cppmsgid "Could not read Bluetooth diagnostics from the daemon.\n"msgstr "无法从守护进程读取蓝牙诊断信息。\n"+#: src/cli/main.cpp src/gtk/calls_view.cpp+msgid "The call could not be placed."+msgstr "无法拨出该通话。"++#: src/cli/main.cpp+msgid "Could not read calls from the daemon.\n"+msgstr "无法从守护进程读取通话。\n"++#: src/cli/main.cpp+#, c-format+msgid "No calls. Check 'tether --bt-connection'.\n"+msgstr "没有通话。请检查 'tether --bt-connection'。\n"++#: src/cli/main.cpp+msgid "withheld"+msgstr "已隐藏"+#: src/cli/main.cppmsgid "Could not read notifications from the daemon.\n"msgstr "无法从守护进程读取通知。\n"@@ -544,6 +600,34 @@ msgstr "没有使用该指纹的已配对设备。\n"msgid "Transfer Failed: {}"msgstr "传输失败:{}"+#: src/cli/main.cpp+msgid "A number is required, e.g. --bt-call +15551234567\n"+msgstr "需要一个号码,例如 --bt-call +15551234567\n"++#: src/cli/main.cpp+msgid "Dialing."+msgstr "正在拨号。"++#: src/cli/main.cpp+msgid "Answering."+msgstr "正在接听。"++#: src/cli/main.cpp+msgid "Hanging up."+msgstr "正在挂断。"++#: src/cli/main.cpp+msgid "Expected on or off, e.g. --bt-calls-enable on\n"+msgstr "应为 on 或 off,例如 --bt-calls-enable on\n"++#: src/cli/main.cpp+msgid "Call control enabled."+msgstr "通话控制已开启。"++#: src/cli/main.cpp+msgid "Call control disabled."+msgstr "通话控制已关闭。"+#: src/cli/main.cppmsgid "A thread key is required, e.g. --bt-messages tel:+15551234567\n"msgstr "需要提供会话键,例如 --bt-messages tel:+15551234567\n"@@ -716,6 +800,10 @@ msgid """The iPhone is not offering notifications on this link. Asking it again..."msgstr "iPhone 未在此链路上提供通知。正在再次请求……"+#: src/core/src/bluetooth/connection.cpp+msgid "Call control is off."+msgstr "通话控制已关闭。"+#: src/core/src/bluetooth/connection.cppmsgid "No paired iPhone selected."msgstr "未选择已配对的 iPhone。"@@ -940,7 +1028,8 @@ msgstr ""msgid "{} could not be opened."msgstr "无法打开 {}。"-#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/notifications_view.cpp+#: src/core/src/bluetooth/profile_supervisor.cpp src/gtk/calls_view.cpp+#: src/gtk/notifications_view.cppmsgid "Waiting for the iPhone."msgstr "正在等待 iPhone。"@@ -952,6 +1041,34 @@ msgstr "信息和通讯录已连接。"msgid "Opening messages and contacts..."msgstr "正在打开信息和通讯录……"+#: src/core/src/bluetooth/telephony.cpp+msgid "The iPhone has not connected Hands-Free to this computer."+msgstr "iPhone 尚未与本机建立免提连接。"++#: src/core/src/bluetooth/telephony.cpp+msgid "Connecting to the iPhone's Hands-Free service."+msgstr "正在连接 iPhone 的免提服务。"++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a dialable number."+msgstr "不是可拨打的号码。"++#: src/core/src/bluetooth/telephony.cpp+msgid "No call named."+msgstr "未指定通话。"++#: src/core/src/bluetooth/telephony.cpp+msgid "That call is no longer active."+msgstr "该通话已不再有效。"++#: src/core/src/bluetooth/telephony.cpp+msgid "Unknown call action."+msgstr "未知的通话操作。"++#: src/core/src/bluetooth/telephony.cpp+msgid "Not a DTMF sequence."+msgstr "不是 DTMF 序列。"+#: src/core/src/net.cppmsgid "Notification mirroring is already active; nothing to do."msgstr "通知镜像已在运行,无需操作。"@@ -1023,6 +1140,74 @@ msgstr "回复"msgid "Copy Code"msgstr "复制验证码"+#: src/gtk/calls_view.cpp+msgid "Incoming"+msgstr "来电"++#: src/gtk/calls_view.cpp+msgid "Call waiting"+msgstr "呼叫等待"++#: src/gtk/calls_view.cpp+msgid "Dialing"+msgstr "拨号中"++#: src/gtk/calls_view.cpp+msgid "Ringing"+msgstr "正在响铃"++#: src/gtk/calls_view.cpp+msgid "On call"+msgstr "通话中"++#: src/gtk/calls_view.cpp+msgid "On hold"+msgstr "已保持"++#: src/gtk/calls_view.cpp+msgid "Ended"+msgstr "已结束"++#: src/gtk/calls_view.cpp+msgid "No service"+msgstr "无服务"++#: src/gtk/calls_view.cpp+msgid "Unknown caller"+msgstr "未知来电者"++#: src/gtk/calls_view.cpp+msgid "Answer"+msgstr "接听"++#: src/gtk/calls_view.cpp+msgid "Decline"+msgstr "拒接"++#: src/gtk/calls_view.cpp+msgid "Hang up"+msgstr "挂断"++#: src/gtk/calls_view.cpp+msgid "No calls."+msgstr "没有通话。"++#: src/gtk/calls_view.cpp+msgid "Call control is off. Turn it on with 'tether --bt-calls-enable on'."+msgstr "通话控制已关闭。使用 'tether --bt-calls-enable on' 开启。"++#: src/gtk/calls_view.cpp+msgid "Number to call"+msgstr "要拨打的号码"++#: src/gtk/calls_view.cpp+msgid "Call"+msgstr "拨打"++#: src/gtk/calls_view.cpp+msgid "The iPhone's carrier, signal, and battery."+msgstr "iPhone 的运营商、信号和电量。"+#: src/gtk/contacts_view.cppmsgid "Copy"msgstr "复制"@@ -1494,6 +1679,10 @@ msgstr "退出"msgid "Devices"msgstr "设备"+#: src/gtk/main.cpp+msgid "Calls"+msgstr "通话"+#: src/gtk/main.cppmsgid "Start hidden in the system tray"msgstr "启动时隐藏到系统托盘"@@ -1630,6 +1819,38 @@ msgstr "设备同步"msgid "Pair devices and synchronize clipboard across the network"msgstr "配对设备并通过网络同步剪贴板"+#~ msgid "Move call audio to this computer, or back to the iPhone."+#~ msgstr "将通话音频转到本机,或转回 iPhone。"++#~ msgid ""+#~ "Turn call control on or off. Needs the hfp_hf role and telephony service "+#~ "in WirePlumber; see docs/BLUETOOTH.md."+#~ msgstr ""+#~ "开启或关闭通话控制。需要 WirePlumber 中的 hfp_hf 角色和电话服务;参见 "+#~ "docs/BLUETOOTH.md。"++#~ msgid "Call audio moved to this computer."+#~ msgstr "通话音频已转到本机。"++#~ msgid "Take audio here"+#~ msgstr "将音频转到本机"++#~ msgid ""+#~ "Play the call through this computer's speakers and microphone. Handing it "+#~ "back applies to the next call."+#~ msgstr "通过本机的扬声器和麦克风进行通话。转回将从下一通电话开始生效。"++#~ msgid "Expected here or phone, e.g. --bt-call-audio here\n"+#~ msgstr "应为 here 或 phone,例如 --bt-call-audio here\n"++#~ msgid ""+#~ "New calls will stay on the iPhone. A call already playing here does not "+#~ "move back."+#~ msgstr "新通话将保留在 iPhone 上。已经在本机播放的通话不会转回。"++#~ msgid "Move audio to iPhone"+#~ msgstr "将音频转到 iPhone"+#, fuzzy#~ msgid "Tether version"#~ msgstr "显示 tether 版本。"diff --git a/src/cli/main.cpp b/src/cli/main.cppindex b0abce7..80b52d2 100644--- a/src/cli/main.cpp+++ b/src/cli/main.cpp@@ -208,6 +208,12 @@ static const Opt kOptions[] = {"none deletes what is stored and keeps nothing further.")},{"--bt-adapter <hciN|auto>", N_("Choose which Bluetooth controller to use.")},{"--bt-notifications", N_("List mirrored iPhone notifications.")},+ {"--bt-calls", N_("List calls on the iPhone.")},+ {"--bt-call <number>", N_("Place a call from the iPhone.")},+ {"--bt-answer", N_("Answer the ringing call.")},+ {"--bt-hangup", N_("Hang up every call.")},+ {"--bt-calls-enable <on|off>",+ N_("Turn call control on or off. Calls run over Bluetooth Hands-Free; the audio stays on the iPhone.")},{"--bt-diagnostics", N_("Print a redacted Bluetooth report for a bug report.")},{"--install-extension-host",N_("Install the browser and mail extension's native messaging manifests for this user. Needed only for "@@ -555,17 +561,34 @@ static int print_bt_connection(tether::Client& client) {fields.emplace_back(_("Contacts (PBAP)"), pbap);fields.emplace_back(_("Notifications"), yn(resp.value("ancs_ready", false)));++ // Null while call control is off, which is the common case.+ const nlohmann::json calls = resp.value("calls", nlohmann::json());+ std::string call_state = yn(calls.is_object() && calls.value("available", false));+ if (calls.is_object() && calls.value("available", false)) {+ // Carrier and signal come from the phone over HFP.+ const std::string carrier = calls.value("operator", "");+ call_state += " [" + (carrier.empty() ? std::string(_("no carrier")) : carrier) ++ tether::tr_format(_(" signal {0}/5 battery {1}/5"),+ std::to_string(calls.value("signal", 0)),+ std::to_string(calls.value("battery", 0))) ++ (calls.value("roaming", false) ? std::string(" ") + _("roaming") : std::string{}) + "]";+ }+ fields.emplace_back(_("Calls (HFP)"), call_state);print_fields(fields);const std::string link = resp.value("link_reason", "");const std::string profiles = resp.value("profile_reason", "");const std::string notifications = resp.value("ancs_reason", "");+ const std::string call_reason = calls.is_object() ? calls.value("reason", "") : "";if (!link.empty())fprintf(stdout, "\n %s\n", link.c_str());if (!profiles.empty())fprintf(stdout, " %s\n", profiles.c_str());if (!notifications.empty())fprintf(stdout, " %s\n", notifications.c_str());+ if (!call_reason.empty())+ fprintf(stdout, " %s\n", call_reason.c_str());return 0;}@@ -595,6 +618,51 @@ static std::string format_time(int64_t epoch) {return buf;}+// Reports the daemon's own bt_call_result rather than assuming the send worked.+static int run_call_command(tether::Client& client, const nlohmann::json& request, const char* done) {+ nlohmann::json resp;+ try {+ resp = nlohmann::json::parse(client.send_and_wait(request.dump() + "\n"));+ } catch (const std::exception&) {+ debug::log(ERR, _("Could not reach the daemon.\n"));+ return 1;+ }+ if (!resp.value("success", false)) {+ debug::log(ERR, "{}\n", resp.value("message", _("The call could not be placed.")));+ return 1;+ }+ fprintf(stdout, "%s\n", done);+ return 0;+}++static int print_bt_calls(tether::Client& client) {+ nlohmann::json resp;+ try {+ resp = nlohmann::json::parse(client.send_and_wait("{\"command\":\"bt_list_calls\"}\n"));+ } catch (const std::exception&) {+ debug::log(ERR, _("Could not read calls from the daemon.\n"));+ return 1;+ }++ const auto& calls = resp["calls"];+ if (calls.empty()) {+ fprintf(stdout, _("No calls. Check 'tether --bt-connection'.\n"));+ return 0;+ }++ for (const auto& call : calls) {+ const std::string number = call.value("number", "");+ const std::string name = call.value("name", "");+ fprintf(stdout,+ "%-12s %-24s %s\n",+ call.value("state", "").c_str(),+ (number.empty() ? _("withheld") : number.c_str()),+ name.c_str());+ fprintf(stdout, " %s\n", call.value("path", "").c_str());+ }+ return 0;+}+static int print_bt_notifications(tether::Client& client) {nlohmann::json resp;try {@@ -881,6 +949,22 @@ int main(int argc, char* argv[]) {arg_val = argv[++i];} else if (arg == "--bt-notifications") {action = "bt_notifications";+ } else if (arg == "--bt-calls") {+ action = "bt_calls";+ } else if (arg == "--bt-answer") {+ action = "bt_call_action";+ arg_val = "answer";+ } else if (arg == "--bt-hangup") {+ action = "bt_call_action";+ arg_val = "hangup_all";+ } else if (arg == "--bt-call") {+ action = "bt_call";+ if (i + 1 < argc && argv[i + 1][0] != '-')+ arg_val = argv[++i];+ } else if (arg == "--bt-calls-enable") {+ action = "bt_calls_enable";+ if (i + 1 < argc && argv[i + 1][0] != '-')+ arg_val = argv[++i];} else if (arg == "--bt-pair") {action = "bt_pair";if (i + 1 < argc && argv[i + 1][0] != '-')@@ -1059,6 +1143,35 @@ int main(int argc, char* argv[]) {return print_bt_contacts(client, arg_val);} else if (action == "bt_notifications") {return print_bt_notifications(client);+ } else if (action == "bt_calls") {+ return print_bt_calls(client);+ } else if (action == "bt_call") {+ if (arg_val.empty()) {+ debug::log(ERR, _("A number is required, e.g. --bt-call +15551234567\n"));+ return 1;+ }+ nlohmann::json request;+ request["command"] = "bt_call_dial";+ request["number"] = arg_val;+ return run_call_command(client, request, _("Dialing."));+ } else if (action == "bt_call_action") {+ nlohmann::json request;+ request["command"] = "bt_call_action";+ request["action"] = arg_val;+ return run_call_command(client, request, arg_val == "answer" ? _("Answering.") : _("Hanging up."));+ } else if (action == "bt_calls_enable") {+ if (arg_val != "on" && arg_val != "off") {+ debug::log(ERR, _("Expected on or off, e.g. --bt-calls-enable on\n"));+ return 1;+ }+ nlohmann::json request;+ request["command"] = "bt_set_calls";+ request["enabled"] = arg_val == "on";+ if (!client.send(request.dump() + "\n")) {+ debug::log(ERR, _("Could not reach the daemon.\n"));+ return 1;+ }+ fprintf(stdout, "%s\n", arg_val == "on" ? _("Call control enabled.") : _("Call control disabled."));} else if (action == "bt_messages") {if (arg_val.empty()) {debug::log(ERR, _("A thread key is required, e.g. --bt-messages tel:+15551234567\n"));diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txtindex 9e57205..6bcad30 100644--- a/src/core/CMakeLists.txt+++ b/src/core/CMakeLists.txt@@ -32,6 +32,7 @@ add_library(tether STATICsrc/bluetooth/ancs/sequencer.cppsrc/bluetooth/ancs/client.cppsrc/bluetooth/groups.cpp+ src/bluetooth/telephony.cppsrc/bluetooth/connection.cppsrc/bluetooth/diagnostics.cppsrc/wayland.cppdiff --git a/src/core/include/tether/bluetooth/agent.hpp b/src/core/include/tether/bluetooth/agent.hppindex 460c692..cf6c7fa 100644--- a/src/core/include/tether/bluetooth/agent.hpp+++ b/src/core/include/tether/bluetooth/agent.hpp@@ -12,7 +12,7 @@ namespace tether::bluetooth {// reason to consume.// 0x112E PBAP client, 0x112F PBAP server,// 0x1132 MAP server, 0x1133 MAP notification server, 0x1134 MAP client- bool is_authorized_service(const std::string& uuid);+ bool is_authorized_service(const std::string& uuid, bool calls_enabled = false);// BlueZ hands passkeys over as a plain integer; Apple shows six digits with// leading zeros, and a mismatch here reads to the user as a failed pairing.@@ -34,7 +34,10 @@ namespace tether::bluetooth {// of the prompt, which is harmless during a foreground pairing.using ConfirmHandler = std::function<bool(const std::string& code)>;- PairingAgent(GDBusConnection* connection, std::string device_path, ConfirmHandler on_confirm);+ PairingAgent(GDBusConnection* connection,+ std::string device_path,+ ConfirmHandler on_confirm,+ bool calls_enabled = false);~PairingAgent();PairingAgent(const PairingAgent&) = delete;diff --git a/src/core/include/tether/bluetooth/config.hpp b/src/core/include/tether/bluetooth/config.hppindex 2cd0ce9..17dc920 100644--- a/src/core/include/tether/bluetooth/config.hpp+++ b/src/core/include/tether/bluetooth/config.hpp@@ -30,6 +30,9 @@ namespace tether::bluetooth {bool ancs_content_enabled = true;// Group replies are off until deliberately enabledbool group_messages_enabled = false;+ // Call control over HFP. Needs the hfp_hf role in bluez5.roles and+ // PipeWire's telephony D-Bus service, neither of which Tether installs.+ bool calls_enabled = false;// When off, supervision runs against no device, so the daemon stops re-diallingbool enabled = true;// Controller to use, "hci1" or its address. Empty picks the firstdiff --git a/src/core/include/tether/bluetooth/connection.hpp b/src/core/include/tether/bluetooth/connection.hppindex d959f3b..a2b521c 100644--- a/src/core/include/tether/bluetooth/connection.hpp+++ b/src/core/include/tether/bluetooth/connection.hpp@@ -5,6 +5,7 @@#include "tether/bluetooth/groups.hpp"#include "tether/bluetooth/messages.hpp"#include "tether/bluetooth/profile_supervisor.hpp"+#include "tether/bluetooth/telephony.hpp"#include "tether/secret_store.hpp"#include <functional>@@ -33,6 +34,8 @@ namespace tether::bluetooth {// the phone.using NotificationFn = std::function<void(const ancs::Notification&)>;using WithdrawFn = std::function<void(uint32_t uid)>;+ // Called whenever the call list or the telephony service's availability changes.+ using CallsFn = std::function<void(const nlohmann::json& calls)>;ConnectionManager(BluezMonitor& monitor, StatusFn on_change, MessageFn on_message = {});@@ -51,6 +54,15 @@ namespace tether::bluetooth {// Invokes a mirrored notification's action.bool perform_notification_action(uint32_t uid, ancs::ActionId action);+ // Enables call control.+ void set_call_handler(CallsFn on_calls);+ void set_calls_enabled(bool enabled);++ bool dial(const std::string& number, std::string& err);+ bool call_action(const std::string& path, const std::string& action, std::string& err);+ bool call_tones(const std::string& tones, std::string& err);+ nlohmann::json calls() const;+nlohmann::json notifications(size_t limit = 50) const;~ConnectionManager();diff --git a/src/core/include/tether/bluetooth/objects.hpp b/src/core/include/tether/bluetooth/objects.hppindex eef0ee7..620c3e1 100644--- a/src/core/include/tether/bluetooth/objects.hpp+++ b/src/core/include/tether/bluetooth/objects.hpp@@ -76,9 +76,57 @@ namespace tether::bluetooth {bool operator==(const Device&) const = default;};+ // One call on an audio gateway, from org.bluez.Call1.+ struct Call {+ std::string path;+ // Owning telephony object, so a second phone's calls stay separate.+ std::string telephony_path;+ // CLIP for incoming calls, the dialled number for outgoing. BlueZ passes+ // the literal "withheld" through when the network refuses caller ID.+ std::string number;+ std::string name;+ std::string incoming_line;+ // BlueZ's own state string, unmapped so an unseen state still reaches+ // the UI: active, held, dialing, alerting, incoming, waiting,+ // response_and_hold, disconnected.+ std::string state;+ bool multiparty = false;++ bool withheld() const { return number == "withheld"; }+ bool ringing() const { return state == "incoming" || state == "waiting"; }+ bool outgoing() const { return state == "dialing" || state == "alerting"; }+ bool connected() const { return state == "active" || state == "held"; }++ bool operator==(const Call&) const = default;+ };++ // An HFP audio gateway, from org.bluez.Telephony1. BlueZ exports one per+ // connected phone at <device>/telephonyN, plus the network state the phone reports over HFP.+ struct Telephony {+ std::string path;+ std::string device_path;+ std::string uuid;+ // connecting, slc_connecting, connected, disconnecting.+ std::string state;+ std::string operator_name;+ std::vector<std::string> uri_schemes;+ // 0-5, as HFP reports them.+ uint8_t signal = 0;+ uint8_t battery = 0;+ bool service = false;+ bool roaming = false;+ bool inband_ringtone = false;++ bool ready() const { return state == "connected"; }++ bool operator==(const Telephony&) const = default;+ };+struct BluezObjects {std::vector<Adapter> adapters;std::vector<Device> devices;+ std::vector<Telephony> telephony;+ std::vector<Call> calls;// Whether bluetoothd was started with --experimental. Bearer.LE1 exists only under that flagbool experimental_api = false;@@ -86,6 +134,11 @@ namespace tether::bluetooth {const Adapter* find_adapter(const std::string& path) const;const Device* find_device(const std::string& path) const;+ // The gateway for a device path, or null.+ const Telephony* find_telephony(const std::string& device_path) const;+ // Calls belonging to one gateway, in path order.+ std::vector<Call> calls_for(const std::string& telephony_path) const;+bool operator==(const BluezObjects&) const = default;};diff --git a/src/core/include/tether/bluetooth/pairing.hpp b/src/core/include/tether/bluetooth/pairing.hppindex 319c9d6..eeb536d 100644--- a/src/core/include/tether/bluetooth/pairing.hpp+++ b/src/core/include/tether/bluetooth/pairing.hpp@@ -49,11 +49,13 @@ namespace tether::bluetooth {// resolves. Intended to be called from a worker thread: GDBusConnection is// thread-safe for calls, while the agent's callbacks land on the monitor's// GLib thread.+ // `calls_enabled` widens the agent's service whitelist to hands-free.PairResult pair_device(BluezMonitor& monitor,const std::string& address,AuthStrategy strategy,const ProgressFn& progress,- const ConfirmFn& confirm);+ const ConfirmFn& confirm,+ bool calls_enabled = false);// Removes the bond so a clean pairing can be retried.PairResult unpair_device(BluezMonitor& monitor, const std::string& address);diff --git a/src/core/include/tether/bluetooth/telephony.hpp b/src/core/include/tether/bluetooth/telephony.hppnew file mode 100644index 0000000..511e1f0--- /dev/null+++ b/src/core/include/tether/bluetooth/telephony.hpp@@ -0,0 +1,55 @@+#pragma once++#include "tether/bluetooth/objects.hpp"++#include <nlohmann/json.hpp>+#include <string>+#include <vector>++// Call control over Bluetooth Hands-Free, in the HF role: this machine is the+// car kit and the iPhone is the audio gateway.+namespace tether::bluetooth {++ class BluezMonitor;++ // Empty when the input cannot be dialled.+ std::string normalize_dial_string(const std::string& input);++ nlohmann::json to_json(const Call& call);+ nlohmann::json to_json(const std::vector<Call>& calls);+ nlohmann::json to_json(const Telephony& gateway);++ // iPhone's audio gateway.+ class TelephonyClient {+ public:+ TelephonyClient(BluezMonitor& monitor, std::string address);++ TelephonyClient(const TelephonyClient&) = delete;+ TelephonyClient& operator=(const TelephonyClient&) = delete;++ // Whether the phone has HFP connected and the gateway is usable.+ bool available() const;++ nlohmann::json status() const;+ nlohmann::json calls() const;++ // The number is normalized here, so callers may pass what the user typed.+ bool dial(const std::string& number, std::string& err);++ // action: answer, hangup, hangup_all, swap, hold_and_answer,+ // release_and_answer, release_and_swap, multiparty.+ // `path` is the call for answer and hangup, and is ignored otherwise.+ bool call_action(const std::string& path, const std::string& action, std::string& err);++ bool send_tones(const std::string& tones, std::string& err);++ private:+ // The gateway for the configured address, or an empty Telephony.+ Telephony gateway() const;+ bool invoke(const std::string& path, const char* iface, const char* method, GVariant* args, std::string& err);++ BluezMonitor* monitor_;+ std::string address_;+ };++} // namespace tether::bluetoothdiff --git a/src/core/src/bluetooth/agent.cpp b/src/core/src/bluetooth/agent.cppindex 2e94afa..094d798 100644--- a/src/core/src/bluetooth/agent.cpp+++ b/src/core/src/bluetooth/agent.cpp@@ -61,7 +61,7 @@ namespace tether::bluetooth {} // namespace- bool is_authorized_service(const std::string& uuid) {+ bool is_authorized_service(const std::string& uuid, bool calls_enabled) {static const std::array<const char*, 5> allowed = {"0000112e-0000-1000-8000-00805f9b34fb", // PBAP client"0000112f-0000-1000-8000-00805f9b34fb", // PBAP server@@ -69,7 +69,18 @@ namespace tether::bluetooth {"00001133-0000-1000-8000-00805f9b34fb", // MAP notification server"00001134-0000-1000-8000-00805f9b34fb", // MAP client};- return std::any_of(allowed.begin(), allowed.end(), [&](const char* u) { return iequals(uuid, u); });+ // Both sides of each pair: iOS has been seen to authorize against either+ // its own role or ours, and HSP is its fallback when HFP negotiation fails.+ static const std::array<const char*, 4> call_services = {+ "0000111e-0000-1000-8000-00805f9b34fb", // Handsfree+ "0000111f-0000-1000-8000-00805f9b34fb", // Handsfree audio gateway+ "00001108-0000-1000-8000-00805f9b34fb", // Headset+ "00001112-0000-1000-8000-00805f9b34fb", // Headset audio gateway+ };+ auto matches = [&](const char* u) { return iequals(uuid, u); };+ if (std::any_of(allowed.begin(), allowed.end(), matches))+ return true;+ return calls_enabled && std::any_of(call_services.begin(), call_services.end(), matches);}std::string format_passkey(uint32_t passkey) {@@ -81,6 +92,7 @@ namespace tether::bluetooth {GDBusConnection* conn = nullptr;std::string device_path;PairingAgent::ConfirmHandler on_confirm;+ bool calls_enabled = false;std::string path = AGENT_PATH;guint registration_id = 0;bool registered_with_bluez = false;@@ -136,7 +148,7 @@ namespace tether::bluetooth {const gchar* uuid = nullptr;g_variant_get_child(params, 1, "&s", &uuid);const std::string service = uuid ? uuid : "";- if (!is_authorized_service(service)) {+ if (!is_authorized_service(service, state->calls_enabled)) {debug::log(INFO, "bluetooth: agent refused service {}", service);reject(invocation, "Service not used by Tether");return;@@ -170,11 +182,15 @@ namespace tether::bluetooth {} // namespace- PairingAgent::PairingAgent(GDBusConnection* connection, std::string device_path, ConfirmHandler on_confirm)+ PairingAgent::PairingAgent(GDBusConnection* connection,+ std::string device_path,+ ConfirmHandler on_confirm,+ bool calls_enabled): state_(std::make_unique<AgentState>()) {state_->conn = connection;state_->device_path = std::move(device_path);state_->on_confirm = std::move(on_confirm);+ state_->calls_enabled = calls_enabled;}PairingAgent::~PairingAgent() {diff --git a/src/core/src/bluetooth/config.cpp b/src/core/src/bluetooth/config.cppindex fbc069b..3bd15da 100644--- a/src/core/src/bluetooth/config.cpp+++ b/src/core/src/bluetooth/config.cpp@@ -50,6 +50,7 @@ namespace tether::bluetooth {j["ancs_enabled"] = config.ancs_enabled;j["ancs_content_enabled"] = config.ancs_content_enabled;j["group_messages_enabled"] = config.group_messages_enabled;+ j["calls_enabled"] = config.calls_enabled;j["enabled"] = config.enabled;j["adapter"] = config.adapter;j["retention"] = to_string(config.retention);@@ -68,6 +69,7 @@ namespace tether::bluetooth {const int version = j.value("config_version", 0);config.ancs_content_enabled = version < 1 ? true : j.value("ancs_content_enabled", true);config.group_messages_enabled = j.value("group_messages_enabled", false);+ config.calls_enabled = j.value("calls_enabled", false);config.enabled = j.value("enabled", true);config.adapter = j.value("adapter", "");config.retention = retention_from_string(j.value("retention", "encrypted"));diff --git a/src/core/src/bluetooth/connection.cpp b/src/core/src/bluetooth/connection.cppindex d9d8c1b..24a4fa0 100644--- a/src/core/src/bluetooth/connection.cpp+++ b/src/core/src/bluetooth/connection.cpp@@ -632,6 +632,26 @@ namespace tether::bluetooth {std::atomic<bool> ancs_wanted{true};std::atomic<bool> ancs_content_wanted{true};+ std::shared_ptr<TelephonyClient> telephony;+ mutable std::mutex telephony_mutex;+ ConnectionManager::CallsFn on_calls;+ std::atomic<bool> calls_wanted{false};+ bool calls_enabled = false;+ // Last published call list+ nlohmann::json last_calls;++ // Brings the telephony client in line with the wanted preference.+ void apply_calls_preference();++ // Publishes the call list when it differs from the last one.+ void sync_calls();++ // The current client, kept alive for as long as the caller.+ std::shared_ptr<TelephonyClient> calls_client() const {+ std::lock_guard<std::mutex> lock(telephony_mutex);+ return telephony;+ }+void run();void sync_messages(int64_t now);void sync_contacts();@@ -669,6 +689,8 @@ namespace tether::bluetooth {void ConnectionState::refresh_status() {nlohmann::json payload = to_json(bearers->status(), profiles->status());+ auto client = calls_client();+ payload["calls"] = client ? client->status() : nlohmann::json(nullptr);std::lock_guard<std::mutex> lock(status_mutex);payload["ancs_ready"] = ancs_ready;payload["ancs_reason"] = ancs_reason;@@ -1086,6 +1108,37 @@ namespace tether::bluetooth {debug::log(INFO, "bluetooth: notification mirroring {}", effective ? "enabled" : "disabled");}+ void ConnectionState::apply_calls_preference() {+ const bool wanted = calls_wanted.load() && on_calls;+ if (wanted == calls_enabled)+ return;+ calls_enabled = wanted;++ std::shared_ptr<TelephonyClient> client;+ if (wanted)+ client = std::make_shared<TelephonyClient>(*monitor, address);+ {+ std::lock_guard<std::mutex> lock(telephony_mutex);+ telephony = std::move(client);+ }+ last_calls = nullptr;+ debug::log(INFO, "bluetooth: call control {}", wanted ? "enabled" : "disabled");+ }++ void ConnectionState::sync_calls() {+ auto client = calls_client();+ if (!client) {+ last_calls = nullptr;+ return;+ }+ nlohmann::json calls = client->calls();+ if (calls == last_calls)+ return;+ last_calls = calls;+ if (on_calls)+ on_calls(std::move(calls));+ }+void ConnectionState::run() {using namespace std::chrono;const auto started = steady_clock::now();@@ -1094,6 +1147,7 @@ namespace tether::bluetooth {const int64_t now = duration_cast<seconds>(steady_clock::now() - started).count();apply_ancs_preference();+ apply_calls_preference();const bool obex_up = profiles->status().map_open || profiles->status().pbap_open;@@ -1130,6 +1184,7 @@ namespace tether::bluetooth {sync_contacts();sync_messages(now);sync_ancs(now);+ sync_calls();std::unique_lock<std::mutex> lock(mutex);wake.wait_for(lock, seconds(SUPERVISOR_TICK_SECONDS), [this] { return !running; });@@ -1166,7 +1221,9 @@ namespace tether::bluetooth {state_->address = address;state_->ancs_preference = ancs_enabled;state_->ancs_wanted = ancs_enabled;- state_->ancs_content_wanted = load_config().ancs_content_enabled;+ const Config config = load_config();+ state_->ancs_content_wanted = config.ancs_content_enabled;+ state_->calls_wanted = config.calls_enabled;// Read the controller's capability here rather than letting each caller// latch its own copy. At startup BlueZ may not have finished enumerating// the adapter, and its free advertising-instance count drops to zero@@ -1231,6 +1288,13 @@ namespace tether::bluetooth {state_->ancs_client.reset();}+ {+ std::lock_guard<std::mutex> lock(state_->telephony_mutex);+ state_->telephony.reset();+ }+ state_->calls_enabled = false;+ state_->last_calls = nullptr;+// The supervisors borrow the ops objects — ~ProfileSupervisor removes the// obexd sessions through them — so they go first, and start() only ever// builds into empty pointers.@@ -1278,6 +1342,54 @@ namespace tether::bluetooth {return out;}+ void ConnectionManager::set_call_handler(CallsFn on_calls) { state_->on_calls = std::move(on_calls); }++ void ConnectionManager::set_calls_enabled(bool enabled) { state_->calls_wanted = enabled; }++ bool ConnectionManager::dial(const std::string& number, std::string& err) {+ auto client = state_->calls_client();+ if (!client) {+ err = _("Call control is off.");+ return false;+ }+ return client->dial(number, err);+ }++ bool ConnectionManager::call_action(const std::string& path, const std::string& action, std::string& err) {+ auto client = state_->calls_client();+ if (!client) {+ err = _("Call control is off.");+ return false;+ }+ return client->call_action(path, action, err);+ }++ bool ConnectionManager::call_tones(const std::string& tones, std::string& err) {+ auto client = state_->calls_client();+ if (!client) {+ err = _("Call control is off.");+ return false;+ }+ return client->send_tones(tones, err);+ }++ nlohmann::json ConnectionManager::calls() const {+ auto client = state_->calls_client();+ if (!client)+ return nlohmann::json::array();++ nlohmann::json calls = client->calls();+ std::lock_guard<std::mutex> lock(g_messages_mutex);+ for (auto& call : calls) {+ const std::string number = call.value("number", "");+ if (number.empty() || !call.value("name", "").empty())+ continue;+ if (std::string name = contact_store().name_for("tel:" + number); !name.empty())+ call["name"] = std::move(name);+ }+ return calls;+ }+void ConnectionManager::set_device(const std::string& address, bool ancs_enabled) {// Restarting is simpler than mutating supervisor state under the worker,// and selecting a device is rare. stop() clears the per-device state.diff --git a/src/core/src/bluetooth/objects.cpp b/src/core/src/bluetooth/objects.cppindex b8bf542..6494730 100644--- a/src/core/src/bluetooth/objects.cpp+++ b/src/core/src/bluetooth/objects.cpp@@ -12,6 +12,8 @@ namespace tether::bluetooth {constexpr const char* IFACE_ADAPTER = "org.bluez.Adapter1";constexpr const char* IFACE_DEVICE = "org.bluez.Device1";+ constexpr const char* IFACE_TELEPHONY = "org.bluez.Telephony1";+ constexpr const char* IFACE_CALL = "org.bluez.Call1";constexpr const char* IFACE_LE_ADV_MGR = "org.bluez.LEAdvertisingManager1";constexpr const char* IFACE_BEARER_LE = "org.bluez.Bearer.LE1";constexpr const char* IFACE_BEARER_BREDR = "org.bluez.Bearer.BREDR1";@@ -131,6 +133,47 @@ namespace tether::bluetooth {out.adapters.push_back(std::move(a));}+ // BlueZ exports these only with --experimental, and only while HFP is connected, absence is the normal state.+ void read_telephony(const std::string& path, GVariant* ifaces, BluezObjects& out) {+ GVariant* props = g_variant_lookup_value(ifaces, IFACE_TELEPHONY, G_VARIANT_TYPE("a{sv}"));+ if (!props)+ return;++ Telephony t;+ t.path = path;+ t.device_path = parent_path(path);+ t.uuid = get_string(props, "UUID");+ t.state = get_string(props, "State");+ t.operator_name = get_string(props, "OperatorName");+ t.uri_schemes = get_strv(props, "SupportedURISchemes");+ t.signal = get_byte(props, "Signal");+ t.battery = get_byte(props, "BattChg");+ t.service = get_bool(props, "Service");+ t.roaming = get_bool(props, "Roaming");+ t.inband_ringtone = get_bool(props, "InbandRingtone");+ g_variant_unref(props);++ out.telephony.push_back(std::move(t));+ }++ void read_call(const std::string& path, GVariant* ifaces, BluezObjects& out) {+ GVariant* props = g_variant_lookup_value(ifaces, IFACE_CALL, G_VARIANT_TYPE("a{sv}"));+ if (!props)+ return;++ Call c;+ c.path = path;+ c.telephony_path = parent_path(path);+ c.number = get_string(props, "LineIdentification");+ c.name = get_string(props, "Name");+ c.incoming_line = get_string(props, "IncomingLine");+ c.state = get_string(props, "State");+ c.multiparty = get_bool(props, "Multiparty");+ g_variant_unref(props);++ out.calls.push_back(std::move(c));+ }+void read_device(const std::string& path, GVariant* ifaces, BluezObjects& out) {GVariant* props = g_variant_lookup_value(ifaces, IFACE_DEVICE, G_VARIANT_TYPE("a{sv}"));if (!props)@@ -199,6 +242,24 @@ namespace tether::bluetooth {return it == devices.end() ? nullptr : &*it;}+ const Telephony* BluezObjects::find_telephony(const std::string& device_path) const {+ if (device_path.empty())+ return nullptr;+ auto it = std::find_if(+ telephony.begin(), telephony.end(), [&](const Telephony& t) { return t.device_path == device_path; });+ return it == telephony.end() ? nullptr : &*it;+ }++ std::vector<Call> BluezObjects::calls_for(const std::string& telephony_path) const {+ std::vector<Call> out;+ if (telephony_path.empty())+ return out;+ std::copy_if(calls.begin(), calls.end(), std::back_inserter(out), [&](const Call& c) {+ return c.telephony_path == telephony_path;+ });+ return out;+ }+const char* to_string(DeliveryMode mode) {switch (mode) {case DeliveryMode::Full:@@ -244,6 +305,8 @@ namespace tether::bluetooth {while (g_variant_iter_loop(&iter, "{&o@a{sa{sv}}}", &path, &ifaces)) {read_adapter(path, ifaces, out);read_device(path, ifaces, out);+ read_telephony(path, ifaces, out);+ read_call(path, ifaces, out);GVariant* chr = g_variant_lookup_value(ifaces, IFACE_CHARACTERISTIC, G_VARIANT_TYPE("a{sv}"));if (!chr)@@ -270,6 +333,10 @@ namespace tether::bluetooth {});std::sort(out.devices.begin(), out.devices.end(), [](const Device& a, const Device& b) { return a.path < b.path; });+ std::sort(out.telephony.begin(), out.telephony.end(), [](const Telephony& a, const Telephony& b) {+ return a.path < b.path;+ });+ std::sort(out.calls.begin(), out.calls.end(), [](const Call& a, const Call& b) { return a.path < b.path; });return out;}diff --git a/src/core/src/bluetooth/pairing.cpp b/src/core/src/bluetooth/pairing.cppindex 2b62f37..dd95eb9 100644--- a/src/core/src/bluetooth/pairing.cpp+++ b/src/core/src/bluetooth/pairing.cpp@@ -548,7 +548,8 @@ namespace tether::bluetooth {const std::string& address,AuthStrategy strategy,const ProgressFn& progress,- const ConfirmFn& confirm) {+ const ConfirmFn& confirm,+ bool calls_enabled) {PairResult result;result.device_address = normalize_address(address);@@ -602,30 +603,34 @@ namespace tether::bluetooth {std::atomic<bool> user_rejected{false};std::atomic<bool> confirm_unavailable{false};- PairingAgent agent(conn, device.path, [&](const std::string& code) {- auth_seen = true;- notify(progress, "confirm", code);-- bool unavailable = false;- bool accepted = confirm_with_dialog(display_name, code, unavailable);- std::string answered_by = "dialog";-- if (unavailable && confirm) {- accepted = confirm(code);- unavailable = false;- answered_by = "client";- }-- if (unavailable)- confirm_unavailable = true;- else if (!accepted)- user_rejected = true;-- notify(progress,- unavailable ? "unanswered" : (accepted ? "confirmed" : "declined"),- unavailable ? "no dialog and no client answered" : answered_by);- return accepted;- });+ PairingAgent agent(+ conn,+ device.path,+ [&](const std::string& code) {+ auth_seen = true;+ notify(progress, "confirm", code);++ bool unavailable = false;+ bool accepted = confirm_with_dialog(display_name, code, unavailable);+ std::string answered_by = "dialog";++ if (unavailable && confirm) {+ accepted = confirm(code);+ unavailable = false;+ answered_by = "client";+ }++ if (unavailable)+ confirm_unavailable = true;+ else if (!accepted)+ user_rejected = true;++ notify(progress,+ unavailable ? "unanswered" : (accepted ? "confirmed" : "declined"),+ unavailable ? "no dialog and no client answered" : answered_by);+ return accepted;+ },+ calls_enabled);bool exported = false;monitor.invoke_sync([&] { exported = agent.export_object(); });diff --git a/src/core/src/bluetooth/telephony.cpp b/src/core/src/bluetooth/telephony.cppnew file mode 100644index 0000000..9e40eef--- /dev/null+++ b/src/core/src/bluetooth/telephony.cpp@@ -0,0 +1,215 @@+#include "tether/bluetooth/telephony.hpp"+#include "tether/bluetooth/monitor.hpp"+#include "tether/log.hpp"++#include <tether/i18n.hpp>++#include <algorithm>+#include <cctype>++namespace tether::bluetooth {++ namespace {++ constexpr const char* BLUEZ_NAME = "org.bluez";+ constexpr const char* IFACE_TELEPHONY = "org.bluez.Telephony1";+ constexpr const char* IFACE_CALL = "org.bluez.Call1";++ constexpr int CALL_TIMEOUT_MS = 10000;++ constexpr size_t MAX_DIAL_DIGITS = 32;+ constexpr size_t MAX_TONES = 32;++ bool iequals(const std::string& a, const std::string& b) {+ return a.size() == b.size() &&+ std::equal(a.begin(), a.end(), b.begin(), [](unsigned char x, unsigned char y) {+ return std::tolower(x) == std::tolower(y);+ });+ }++ } // namespace++ std::string normalize_dial_string(const std::string& input) {+ std::string out;+ bool seen_digit = false;+ for (const char raw : input) {+ const unsigned char c = static_cast<unsigned char>(raw);+ if (c == '+') {+ // Only as the country-code prefix+ if (!out.empty())+ return {};+ out.push_back('+');+ continue;+ }+ if (std::isdigit(c)) {+ out.push_back(static_cast<char>(c));+ seen_digit = true;+ continue;+ }+ if (c == ' ' || c == '-' || c == '(' || c == ')' || c == '.' || c == '\t')+ continue;+ return {};+ }+ if (!seen_digit)+ return {};+ const size_t digits = out.size() - (out[0] == '+' ? 1 : 0);+ return digits > MAX_DIAL_DIGITS ? std::string{} : out;+ }++ nlohmann::json to_json(const Call& call) {+ nlohmann::json j;+ j["path"] = call.path;+ j["number"] = call.withheld() ? "" : call.number;+ j["withheld"] = call.withheld();+ j["name"] = call.name;+ j["incoming_line"] = call.incoming_line;+ j["state"] = call.state;+ j["multiparty"] = call.multiparty;+ j["ringing"] = call.ringing();+ j["outgoing"] = call.outgoing();+ j["connected"] = call.connected();+ return j;+ }++ nlohmann::json to_json(const std::vector<Call>& calls) {+ nlohmann::json out = nlohmann::json::array();+ for (const auto& call : calls)+ out.push_back(to_json(call));+ return out;+ }++ nlohmann::json to_json(const Telephony& gateway) {+ nlohmann::json j;+ j["available"] = gateway.ready();+ j["path"] = gateway.path;+ j["state"] = gateway.state;+ j["operator"] = gateway.operator_name;+ j["signal"] = gateway.signal;+ j["battery"] = gateway.battery;+ j["service"] = gateway.service;+ j["roaming"] = gateway.roaming;+ j["inband_ringtone"] = gateway.inband_ringtone;+ return j;+ }++ TelephonyClient::TelephonyClient(BluezMonitor& monitor, std::string address)+ : monitor_(&monitor), address_(std::move(address)) {}++ Telephony TelephonyClient::gateway() const {+ const BluezObjects objects = monitor_->snapshot();+ for (const auto& device : objects.devices) {+ if (!iequals(device.address, address_))+ continue;+ if (const Telephony* found = objects.find_telephony(device.path))+ return *found;+ }+ return {};+ }++ bool TelephonyClient::available() const { return gateway().ready(); }++ nlohmann::json TelephonyClient::status() const {+ const Telephony gw = gateway();+ nlohmann::json j = to_json(gw);+ j["address"] = address_;+ j["calls"] = monitor_->snapshot().calls_for(gw.path).size();+ if (gw.path.empty())+ j["reason"] = _("The iPhone has not connected Hands-Free to this computer.");+ else if (!gw.ready())+ j["reason"] = _("Connecting to the iPhone's Hands-Free service.");+ else+ j["reason"] = "";+ return j;+ }++ nlohmann::json TelephonyClient::calls() const { return to_json(monitor_->snapshot().calls_for(gateway().path)); }++ bool TelephonyClient::invoke(+ const std::string& path, const char* iface, const char* method, GVariant* args, std::string& err) {+ GDBusConnection* conn = monitor_->connection();+ if (!conn || path.empty()) {+ // Consumes the floating reference the caller built.+ if (args)+ g_variant_unref(g_variant_ref_sink(args));+ err = _("The iPhone has not connected Hands-Free to this computer.");+ return false;+ }++ GError* error = nullptr;+ GVariant* reply = g_dbus_connection_call_sync(conn,+ BLUEZ_NAME,+ path.c_str(),+ iface,+ method,+ args,+ nullptr,+ G_DBUS_CALL_FLAGS_NONE,+ CALL_TIMEOUT_MS,+ nullptr,+ &error);+ if (!reply) {+ err = error ? error->message : "unknown error";+ g_clear_error(&error);+ debug::log(WARN, "telephony: {} failed: {}", method, err);+ return false;+ }+ g_variant_unref(reply);+ return true;+ }++ bool TelephonyClient::dial(const std::string& number, std::string& err) {+ const std::string dialable = normalize_dial_string(number);+ if (dialable.empty()) {+ err = _("Not a dialable number.");+ return false;+ }+ const std::string uri = "tel:" + dialable;+ return invoke(gateway().path, IFACE_TELEPHONY, "Dial", g_variant_new("(s)", uri.c_str()), err);+ }++ bool TelephonyClient::call_action(const std::string& path, const std::string& action, std::string& err) {+ const Telephony gw = gateway();+ const std::vector<Call> live = monitor_->snapshot().calls_for(gw.path);++ if (action == "answer" || action == "hangup") {+ std::string target = path;+ if (target.empty() && live.size() == 1)+ target = live.front().path;+ if (target.empty()) {+ err = _("No call named.");+ return false;+ }+ if (std::none_of(live.begin(), live.end(), [&](const Call& c) { return c.path == target; })) {+ err = _("That call is no longer active.");+ return false;+ }+ return invoke(target, IFACE_CALL, action == "answer" ? "Answer" : "Hangup", nullptr, err);+ }++ static const std::pair<const char*, const char*> gateway_actions[] = {+ {"hangup_all", "HangupAll"},+ {"swap", "SwapCalls"},+ {"hold_and_answer", "HoldAndAnswer"},+ {"release_and_answer", "ReleaseAndAnswer"},+ {"release_and_swap", "ReleaseAndSwap"},+ {"multiparty", "CreateMultiparty"},+ };+ for (const auto& [name, method] : gateway_actions)+ if (action == name)+ return invoke(gw.path, IFACE_TELEPHONY, method, nullptr, err);++ err = _("Unknown call action.");+ return false;+ }++ bool TelephonyClient::send_tones(const std::string& tones, std::string& err) {+ if (tones.empty() || tones.size() > MAX_TONES || !std::all_of(tones.begin(), tones.end(), [](unsigned char c) {+ return std::isdigit(c) || c == '*' || c == '#' || (c >= 'A' && c <= 'D');+ })) {+ err = _("Not a DTMF sequence.");+ return false;+ }+ return invoke(gateway().path, IFACE_TELEPHONY, "SendTones", g_variant_new("(s)", tones.c_str()), err);+ }++} // namespace tether::bluetoothdiff --git a/src/core/src/net.cpp b/src/core/src/net.cppindex ac9e0aa..33f3cc5 100644--- a/src/core/src/net.cpp+++ b/src/core/src/net.cpp@@ -303,6 +303,7 @@ namespace tether {status["ancs_enabled"] = config.ancs_enabled;status["adapter"] = config.adapter;status["ancs_content_enabled"] = config.ancs_content_enabled;+ status["calls_enabled"] = config.calls_enabled;status["enabled"] = config.enabled;status["retention"] = to_string(config.retention);status["retention_ready"] = secret::have_key();@@ -515,7 +516,8 @@ namespace tether {event["detail"] = detail;broadcast_local_event(event.dump());},- ask_client_to_confirm);+ ask_client_to_confirm,+ config.calls_enabled);if (result.success) {config.device_address = result.device_address;@@ -1112,6 +1114,59 @@ namespace tether {bluetooth::set_group_replies_enabled(config.group_messages_enabled &&config.ancs_content_enabled && config.ancs_enabled);broadcast_local_event(build_bt_status().dump());+ } else if (j.contains("command") && j["command"] == "bt_set_calls") {+ auto config = bluetooth::load_config();+ config.calls_enabled = j.value("enabled", false);+ bluetooth::save_config(config);+ if (bluetooth::g_bt_connections)+ bluetooth::g_bt_connections->set_calls_enabled(config.calls_enabled);+ broadcast_local_event(build_bt_status().dump());+ } else if (j.contains("command") && j["command"] == "bt_list_calls") {+ nlohmann::json payload;+ payload["command"] = "bt_calls";+ payload["calls"] = bluetooth::g_bt_connections ? bluetooth::g_bt_connections->calls()+ : nlohmann::json::array();+ std::string out = payload.dump(-1, ' ', false, nlohmann::json::error_handler_t::replace) + "\n";+ write_plain_packet(client_fd, out);+ continue;+ } else if (j.contains("command") && j["command"] == "bt_call_dial" && j.contains("number")) {+ std::string err = _("Bluetooth is unavailable.");+ nlohmann::json payload;+ payload["command"] = "bt_call_result";+ payload["action"] = "dial";+ payload["success"] = bluetooth::g_bt_connections &&+ bluetooth::g_bt_connections->dial(j.value("number", std::string{}), err);+ if (!payload["success"])+ payload["message"] = err;+ broadcast_local_event(payload.dump());+ write_plain_packet(client_fd, payload.dump() + "\n");+ continue;+ } else if (j.contains("command") && j["command"] == "bt_call_action" && j.contains("action")) {+ const std::string action = j.value("action", std::string{});+ std::string err = _("Bluetooth is unavailable.");+ nlohmann::json payload;+ payload["command"] = "bt_call_result";+ payload["action"] = action;+ payload["success"] =+ bluetooth::g_bt_connections &&+ bluetooth::g_bt_connections->call_action(j.value("path", std::string{}), action, err);+ if (!payload["success"])+ payload["message"] = err;+ broadcast_local_event(payload.dump());+ write_plain_packet(client_fd, payload.dump() + "\n");+ continue;+ } else if (j.contains("command") && j["command"] == "bt_call_tones" && j.contains("tones")) {+ std::string err = _("Bluetooth is unavailable.");+ nlohmann::json payload;+ payload["command"] = "bt_call_result";+ payload["action"] = "tones";+ payload["success"] = bluetooth::g_bt_connections && bluetooth::g_bt_connections->call_tones(+ j.value("tones", std::string{}), err);+ if (!payload["success"])+ payload["message"] = err;+ broadcast_local_event(payload.dump());+ write_plain_packet(client_fd, payload.dump() + "\n");+ continue;} else if (j.contains("command") && j["command"] == "bt_set_retention" && j.contains("retention")) {auto config = bluetooth::load_config();const Retention previous = config.retention;diff --git a/src/daemon/main.cpp b/src/daemon/main.cppindex b4be6be..cc74c7e 100644--- a/src/daemon/main.cpp+++ b/src/daemon/main.cpp@@ -308,6 +308,13 @@ int main(int argc, char** argv) {});}+ connections.set_call_handler([](const nlohmann::json& calls) {+ nlohmann::json event;+ event["command"] = "bt_calls";+ event["calls"] = calls;+ tether::broadcast_local_event(event.dump(-1, ' ', false, nlohmann::json::error_handler_t::replace));+ });+connections.start(tether::bluetooth::supervised_address(bt_config), bt_config.ancs_enabled);} else {debug::log(INFO, "Bluetooth unavailable; messages and notifications are disabled");diff --git a/src/gtk/CMakeLists.txt b/src/gtk/CMakeLists.txtindex 50bc827..2a1f67a 100644--- a/src/gtk/CMakeLists.txt+++ b/src/gtk/CMakeLists.txt@@ -6,6 +6,7 @@ add_executable(tether-gtkui_util.cppprefs.cppmessage_format.cpp+ calls_view.cppcontacts_view.cppdaemon_client.cppdevices_view.cppdiff --git a/src/gtk/calls_view.cpp b/src/gtk/calls_view.cppnew file mode 100644index 0000000..c9072f4--- /dev/null+++ b/src/gtk/calls_view.cpp@@ -0,0 +1,266 @@+#include "calls_view.hpp"+#include "daemon_client.hpp"+#include "ui_util.hpp"+#include <tether/i18n.hpp>++#include <string>++namespace tether::ui {++ namespace {++ struct CallsState {+ GtkWidget* status_label = nullptr;+ GtkWidget* list = nullptr;+ GtkWidget* stack = nullptr;+ GtkWidget* entry = nullptr;+ GtkWidget* dial_button = nullptr;+ GtkWidget* network_label = nullptr;+ bool visible = false;+ bool available = false;+ };++ CallsState g_calls;++ void request_calls() {+ nlohmann::json j;+ j["command"] = "bt_list_calls";+ daemon_send(j);+ }++ void send_action(const std::string& action, const std::string& path) {+ nlohmann::json j;+ j["command"] = "bt_call_action";+ j["action"] = action;+ if (!path.empty())+ j["path"] = path;+ daemon_send(j);+ }++ // The row's call path, owned by the button.+ std::string button_path(GtkButton* button) {+ const char* path = static_cast<const char*>(g_object_get_data(G_OBJECT(button), "call-path"));+ return path ? path : "";+ }++ void on_answer_clicked(GtkButton* button, gpointer) { send_action("answer", button_path(button)); }++ void on_hangup_clicked(GtkButton* button, gpointer) { send_action("hangup", button_path(button)); }++ void on_dial_clicked(GtkButton*, gpointer) {+ const gchar* text = gtk_entry_get_text(GTK_ENTRY(g_calls.entry));+ const std::string number = text ? text : "";+ if (number.empty())+ return;+ nlohmann::json j;+ j["command"] = "bt_call_dial";+ j["number"] = number;+ daemon_send(j);+ gtk_entry_set_text(GTK_ENTRY(g_calls.entry), "");+ }++ void attach_path(GtkWidget* button, const std::string& path) {+ g_object_set_data_full(G_OBJECT(button), "call-path", g_strdup(path.c_str()), g_free);+ }++ // The phone's own words for a state, kept short enough for a row.+ const char* state_text(const std::string& state) {+ if (state == "incoming")+ return _("Incoming");+ if (state == "waiting")+ return _("Call waiting");+ if (state == "dialing")+ return _("Dialing");+ if (state == "alerting")+ return _("Ringing");+ if (state == "active")+ return _("On call");+ if (state == "held")+ return _("On hold");+ if (state == "disconnected")+ return _("Ended");+ return "";+ }++ // What HFP reports about the phone's cellular link.+ std::string network_text(const nlohmann::json& calls) {+ if (!calls.is_object())+ return {};+ std::string out = calls.value("operator", "");+ if (!calls.value("service", false))+ out = out.empty() ? _("No service") : out + " - " + _("No service");+ const int signal = calls.value("signal", 0);+ if (calls.value("service", false)) {+ std::string bars;+ for (int i = 0; i < 5; ++i)+ bars += i < signal ? "\u2586" : "\u2581";+ out += out.empty() ? bars : " " + bars;+ }+ if (calls.value("roaming", false))+ out += std::string(" ") + _("roaming");+ if (const int battery = calls.value("battery", 0); battery > 0)+ out += " " + std::to_string(battery * 20) + "%";+ return out;+ }++ GtkWidget* build_row(const nlohmann::json& call) {+ const std::string number = call.value("number", "");+ const std::string name = call.value("name", "");+ const std::string state = call.value("state", "");+ const std::string path = call.value("path", "");+ const bool ringing = call.value("ringing", false);++ GtkWidget* row = gtk_list_box_row_new();+ gtk_list_box_row_set_selectable(GTK_LIST_BOX_ROW(row), FALSE);++ GtkWidget* box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 10);+ gtk_container_set_border_width(GTK_CONTAINER(box), 10);++ gtk_box_pack_start(+ GTK_BOX(box),+ gtk_image_new_from_icon_name(ringing ? "call-incoming" : "call-start", GTK_ICON_SIZE_LARGE_TOOLBAR),+ FALSE,+ FALSE,+ 0);++ GtkWidget* text = gtk_box_new(GTK_ORIENTATION_VERTICAL, 2);+ const std::string primary = !name.empty() ? name : (!number.empty() ? number : _("Unknown caller"));+ GtkWidget* primary_label = gtk_label_new(nullptr);+ gtk_label_set_markup(GTK_LABEL(primary_label), ("<b>" + escape_markup(primary) + "</b>").c_str());+ gtk_label_set_xalign(GTK_LABEL(primary_label), 0.0);+ gtk_box_pack_start(GTK_BOX(text), primary_label, FALSE, FALSE, 0);++ std::string secondary = state_text(state);+ if (!name.empty() && !number.empty())+ secondary += secondary.empty() ? number : " - " + number;+ GtkWidget* secondary_label = gtk_label_new(secondary.c_str());+ gtk_label_set_xalign(GTK_LABEL(secondary_label), 0.0);+ gtk_style_context_add_class(gtk_widget_get_style_context(secondary_label), "muted");+ gtk_box_pack_start(GTK_BOX(text), secondary_label, FALSE, FALSE, 0);+ gtk_box_pack_start(GTK_BOX(box), text, TRUE, TRUE, 0);++ if (ringing) {+ GtkWidget* answer = gtk_button_new_with_label(_("Answer"));+ gtk_style_context_add_class(gtk_widget_get_style_context(answer), "suggested-action");+ attach_path(answer, path);+ g_signal_connect(answer, "clicked", G_CALLBACK(on_answer_clicked), nullptr);+ gtk_widget_set_valign(answer, GTK_ALIGN_CENTER);+ gtk_box_pack_start(GTK_BOX(box), answer, FALSE, FALSE, 0);+ }++ if (state != "disconnected") {+ GtkWidget* hangup = gtk_button_new_with_label(ringing ? _("Decline") : _("Hang up"));+ gtk_style_context_add_class(gtk_widget_get_style_context(hangup), "destructive-action");+ attach_path(hangup, path);+ g_signal_connect(hangup, "clicked", G_CALLBACK(on_hangup_clicked), nullptr);+ gtk_widget_set_valign(hangup, GTK_ALIGN_CENTER);+ gtk_box_pack_start(GTK_BOX(box), hangup, FALSE, FALSE, 0);+ }++ gtk_container_add(GTK_CONTAINER(row), box);+ return row;+ }++ void show_calls(const nlohmann::json& event) {+ clear_list_box(g_calls.list);+ const bool empty = !event.contains("calls") || event["calls"].empty();+ if (!empty) {+ for (const auto& call : event["calls"])+ gtk_list_box_insert(GTK_LIST_BOX(g_calls.list), build_row(call), -1);+ }+ gtk_widget_show_all(g_calls.list);+ gtk_stack_set_visible_child_name(GTK_STACK(g_calls.stack), empty ? "status" : "list");+ }++ } // namespace++ void calls_view_set_visible(bool visible) {+ g_calls.visible = visible;+ if (visible)+ request_calls();+ }++ bool calls_view_handle_event(const nlohmann::json& event) {+ const std::string command = event.value("command", "");++ if (command == "bt_calls") {+ show_calls(event);+ return true;+ }+ if (command == "bt_call_result") {+ if (!event.value("success", false))+ set_status_main(event.value("message", _("The call could not be placed.")));+ return true;+ }+ if (command == "bt_connection_changed") {+ const auto& calls = event.contains("calls") ? event["calls"] : nlohmann::json();+ g_calls.available = calls.is_object() && calls.value("available", false);++ gtk_widget_set_sensitive(g_calls.entry, g_calls.available);+ gtk_widget_set_sensitive(g_calls.dial_button, g_calls.available);+ set_text(g_calls.network_label, g_calls.available ? network_text(calls) : "");++ const std::string reason = calls.is_object() ? calls.value("reason", "") : "";+ set_text(g_calls.status_label,+ g_calls.available+ ? _("No calls.")+ : (reason.empty() ? _("Call control is off. Turn it on with 'tether --bt-calls-enable on'.")+ : reason));+ if (g_calls.visible)+ request_calls();+ return false;+ }+ return false;+ }++ GtkWidget* calls_view_new() {+ GtkWidget* root = gtk_box_new(GTK_ORIENTATION_VERTICAL, 0);++ GtkWidget* dial_bar = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 8);+ gtk_container_set_border_width(GTK_CONTAINER(dial_bar), 10);+ g_calls.entry = gtk_entry_new();+ gtk_entry_set_placeholder_text(GTK_ENTRY(g_calls.entry), _("Number to call"));+ gtk_entry_set_input_purpose(GTK_ENTRY(g_calls.entry), GTK_INPUT_PURPOSE_PHONE);+ gtk_widget_set_sensitive(g_calls.entry, FALSE);+ g_signal_connect(g_calls.entry, "activate", G_CALLBACK(on_dial_clicked), nullptr);+ gtk_box_pack_start(GTK_BOX(dial_bar), g_calls.entry, TRUE, TRUE, 0);++ g_calls.dial_button = gtk_button_new_with_label(_("Call"));+ gtk_style_context_add_class(gtk_widget_get_style_context(g_calls.dial_button), "suggested-action");+ gtk_widget_set_sensitive(g_calls.dial_button, FALSE);+ g_signal_connect(g_calls.dial_button, "clicked", G_CALLBACK(on_dial_clicked), nullptr);+ gtk_box_pack_start(GTK_BOX(dial_bar), g_calls.dial_button, FALSE, FALSE, 0);++ g_calls.network_label = gtk_label_new("");+ gtk_widget_set_tooltip_text(g_calls.network_label, _("The iPhone's carrier, signal, and battery."));+ gtk_style_context_add_class(gtk_widget_get_style_context(g_calls.network_label), "muted");+ gtk_box_pack_start(GTK_BOX(dial_bar), g_calls.network_label, FALSE, FALSE, 0);+ gtk_box_pack_start(GTK_BOX(root), dial_bar, FALSE, FALSE, 0);++ g_calls.stack = gtk_stack_new();++ GtkWidget* status_box = gtk_box_new(GTK_ORIENTATION_VERTICAL, 10);+ gtk_widget_set_valign(status_box, GTK_ALIGN_CENTER);+ gtk_widget_set_halign(status_box, GTK_ALIGN_CENTER);+ gtk_box_pack_start(+ GTK_BOX(status_box), gtk_image_new_from_icon_name("call-start", GTK_ICON_SIZE_DIALOG), FALSE, FALSE, 0);+ g_calls.status_label = gtk_label_new(_("Waiting for the iPhone."));+ gtk_label_set_line_wrap(GTK_LABEL(g_calls.status_label), TRUE);+ gtk_label_set_justify(GTK_LABEL(g_calls.status_label), GTK_JUSTIFY_CENTER);+ gtk_style_context_add_class(gtk_widget_get_style_context(g_calls.status_label), "muted");+ gtk_box_pack_start(GTK_BOX(status_box), g_calls.status_label, FALSE, FALSE, 0);+ gtk_stack_add_named(GTK_STACK(g_calls.stack), status_box, "status");++ GtkWidget* scroll = gtk_scrolled_window_new(nullptr, nullptr);+ gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scroll), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);+ g_calls.list = gtk_list_box_new();+ gtk_list_box_set_selection_mode(GTK_LIST_BOX(g_calls.list), GTK_SELECTION_NONE);+ gtk_container_add(GTK_CONTAINER(scroll), g_calls.list);+ gtk_stack_add_named(GTK_STACK(g_calls.stack), scroll, "list");++ gtk_stack_set_visible_child_name(GTK_STACK(g_calls.stack), "status");+ gtk_box_pack_start(GTK_BOX(root), g_calls.stack, TRUE, TRUE, 0);+ return root;+ }++} // namespace tether::uidiff --git a/src/gtk/calls_view.hpp b/src/gtk/calls_view.hppnew file mode 100644index 0000000..5289035--- /dev/null+++ b/src/gtk/calls_view.hpp@@ -0,0 +1,17 @@+#pragma once++#include <gtk/gtk.h>+#include <nlohmann/json.hpp>++namespace tether::ui {++ // Calls on the iPhone, over Bluetooth Hands-Free.+ GtkWidget* calls_view_new();++ bool calls_view_handle_event(const nlohmann::json& event);++ // The call list is only re-read while the view is on screen. A ringing call+ // still arrives, because the daemon pushes those unasked.+ void calls_view_set_visible(bool visible);++} // namespace tether::uidiff --git a/src/gtk/main.cpp b/src/gtk/main.cppindex 697f33c..e4f09f5 100644--- a/src/gtk/main.cpp+++ b/src/gtk/main.cpp@@ -1,3 +1,4 @@+#include "calls_view.hpp"#include "contacts_view.hpp"#include "daemon_client.hpp"#include "devices_view.hpp"@@ -49,6 +50,7 @@ namespace {gtk_widget_set_visible(g_refresh_button, view == "devices");messages_view_set_visible(view == "messages");+ calls_view_set_visible(view == "calls");notifications_view_set_visible(view == "notifications");contacts_view_set_visible(view == "contacts");}@@ -213,6 +215,7 @@ namespace {gtk_stack_add_titled(GTK_STACK(stack), devices_view_new(), "devices", _("Devices"));gtk_stack_add_titled(GTK_STACK(stack), messages_view_new(), "messages", _("Messages"));gtk_stack_add_titled(GTK_STACK(stack), notifications_view_new(), "notifications", _("Notifications"));+ gtk_stack_add_titled(GTK_STACK(stack), calls_view_new(), "calls", _("Calls"));gtk_stack_add_titled(GTK_STACK(stack),contacts_view_new([](const std::string& thread_key) {show_view("messages");@@ -246,7 +249,9 @@ namespace {return;if (messages_view_handle_event(event))return;- notifications_view_handle_event(event);+ if (notifications_view_handle_event(event))+ return;+ calls_view_handle_event(event);});devices_view_trigger_discovery();@@ -272,7 +277,7 @@ int main(int argc, char** argv) {G_OPTION_ARG_NONE,_("Start hidden in the system tray"),nullptr);- for (const char* view : {"devices", "messages", "notifications", "contacts"}) {+ for (const char* view : {"devices", "messages", "notifications", "calls", "contacts"}) {g_application_add_main_option(G_APPLICATION(app), view, 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, _("Open on this tab"), nullptr);}diff --git a/test/CMakeLists.txt b/test/CMakeLists.txtindex 6e50122..bfae8bf 100644--- a/test/CMakeLists.txt+++ b/test/CMakeLists.txt@@ -11,6 +11,7 @@ add_executable(tether_testtest_ancs_notifications.cpptest_groups.cpptest_bt_diagnostics.cpp+ test_telephony.cpptest_vcard.cpptest_journal.cpptest_crypto.cppdiff --git a/test/test_bluetooth_pairing.cpp b/test/test_bluetooth_pairing.cppindex e2f3db1..1005e27 100644--- a/test/test_bluetooth_pairing.cpp+++ b/test/test_bluetooth_pairing.cpp@@ -18,7 +18,8 @@ TEST(AgentPolicy, AuthorizesOnlyMapAndPbap) {}TEST(AgentPolicy, RefusesEverythingElse) {- // Hands-free / headset: the phone offers these, Tether must not accept them.+ // Hands-free / headset: offered by the phone, and refused until call control+ // is deliberately turned on.EXPECT_FALSE(is_authorized_service("0000111e-0000-1000-8000-00805f9b34fb"));EXPECT_FALSE(is_authorized_service("0000110a-0000-1000-8000-00805f9b34fb"));// ANCS is reached over GATT after bonding, never authorized as a profile.@@ -32,6 +33,30 @@ TEST(AgentPolicy, RefusesEverythingElse) {TEST(AgentPolicy, ServiceMatchIsCaseInsensitive) {EXPECT_TRUE(is_authorized_service("0000112F-0000-1000-8000-00805F9B34FB"));+ EXPECT_TRUE(is_authorized_service("0000111E-0000-1000-8000-00805F9B34FB", true));+}++// Call control needs the phone to reach the HFP channel PipeWire registers, so+// the hands-free UUIDs are authorized -- but only then.+TEST(AgentPolicy, AuthorizesHandsFreeOnlyWithCallsEnabled) {+ for (const char* uuid : {"0000111e-0000-1000-8000-00805f9b34fb",+ "0000111f-0000-1000-8000-00805f9b34fb",+ "00001108-0000-1000-8000-00805f9b34fb",+ "00001112-0000-1000-8000-00805f9b34fb"}) {+ EXPECT_FALSE(is_authorized_service(uuid)) << uuid;+ EXPECT_TRUE(is_authorized_service(uuid, true)) << uuid;+ }+}++// Widening the set for calls must not open anything else.+TEST(AgentPolicy, CallsEnabledStillRefusesEverythingElse) {+ EXPECT_FALSE(is_authorized_service("0000110a-0000-1000-8000-00805f9b34fb", true)); // A2DP source+ EXPECT_FALSE(is_authorized_service("0000110b-0000-1000-8000-00805f9b34fb", true)); // A2DP sink+ EXPECT_FALSE(is_authorized_service("7905f431-b5ce-4e99-a40f-4b1e122d00d0", true)); // ANCS+ EXPECT_FALSE(is_authorized_service("", true));+ EXPECT_FALSE(is_authorized_service("garbage", true));+ EXPECT_FALSE(is_authorized_service("0000111e-0000-1000-8000-00805f9b34f", true));+ EXPECT_FALSE(is_authorized_service("0000111e-0000-1000-8000-00805f9b34fbb", true));}// iOS renders the comparison with leading zeros. Dropping them shows the user a@@ -51,6 +76,7 @@ TEST(BluetoothConfig, RoundTrips) {config.ancs_enabled = false;config.enabled = false;config.adapter = "hci1";+ config.calls_enabled = true;EXPECT_EQ(deserialize_config(serialize_config(config)), config);}@@ -64,6 +90,8 @@ TEST(BluetoothConfig, DefaultsToConnectFirstAndAncsEnabled) {EXPECT_TRUE(config.enabled);// No controller pinned means the first powered one.EXPECT_TRUE(config.adapter.empty());+ // Call control needs WirePlumber configured for it, so it is never assumed.+ EXPECT_FALSE(config.calls_enabled);}// Switching Bluetooth off supervises no device, which is what stops the daemondiff --git a/test/test_telephony.cpp b/test/test_telephony.cppnew file mode 100644index 0000000..7416cb7--- /dev/null+++ b/test/test_telephony.cpp@@ -0,0 +1,252 @@+#include <gtest/gtest.h>+#include <tether/bluetooth/objects.hpp>+#include <tether/bluetooth/telephony.hpp>++using namespace tether::bluetooth;++namespace {++ // Same shape BlueZ returns from GetManagedObjects, parsed from GVariant text+ // so the tests need no bus.+ struct Payload {+ GVariant* v = nullptr;++ explicit Payload(const char* text) {+ GError* error = nullptr;+ v = g_variant_parse(G_VARIANT_TYPE("a{oa{sa{sv}}}"), text, nullptr, nullptr, &error);+ if (!v) {+ ADD_FAILURE() << "bad fixture: " << (error ? error->message : "unknown");+ g_clear_error(&error);+ }+ }+ ~Payload() {+ if (v)+ g_variant_unref(v);+ }+ Payload(const Payload&) = delete;+ Payload& operator=(const Payload&) = delete;+ };++ // Two phones, each with a gateway; one is ringing, the other is on a call.+ // Recorded from bluetoothd 5.87 --experimental against a live iPhone.+ constexpr const char* TWO_GATEWAYS = R"({+ '/org/bluez/hci0/dev_60_57_C8_30_6A_F7': {+ 'org.bluez.Device1': { 'Address': <'60:57:C8:30:6A:F7'>, 'Alias': <'Zack 15 Pro'> }+ },+ '/org/bluez/hci0/dev_60_57_C8_30_6A_F7/telephony0': {+ 'org.bluez.Telephony1': {+ 'UUID': <'0000111f-0000-1000-8000-00805f9b34fb'>,+ 'State': <'connected'>,+ 'OperatorName': <'AT&T'>,+ 'SupportedURISchemes': <['tel']>,+ 'Signal': <byte 1>,+ 'BattChg': <byte 4>,+ 'Service': <true>,+ 'Roaming': <false>,+ 'InbandRingtone': <false>+ }+ },+ '/org/bluez/hci0/dev_60_57_C8_30_6A_F7/telephony0/call1': {+ 'org.bluez.Call1': {+ 'LineIdentification': <'+15555550123'>,+ 'Name': <''>,+ 'IncomingLine': <''>,+ 'State': <'incoming'>,+ 'Multiparty': <false>+ }+ },+ '/org/bluez/hci0/dev_AA_BB_CC_DD_EE_FF': {+ 'org.bluez.Device1': { 'Address': <'AA:BB:CC:DD:EE:FF'>, 'Alias': <'Other'> }+ },+ '/org/bluez/hci0/dev_AA_BB_CC_DD_EE_FF/telephony0': {+ 'org.bluez.Telephony1': { 'State': <'connected'>, 'Signal': <byte 5> }+ },+ '/org/bluez/hci0/dev_AA_BB_CC_DD_EE_FF/telephony0/call1': {+ 'org.bluez.Call1': { 'LineIdentification': <'+15555559999'>, 'State': <'active'> }+ }+ })";++} // namespace++TEST(DialString, KeepsDigitsAndLeadingPlus) {+ EXPECT_EQ(normalize_dial_string("+15555550123"), "+15555550123");+ EXPECT_EQ(normalize_dial_string("5555550123"), "5555550123");+ EXPECT_EQ(normalize_dial_string("+1 (555) 555-0123"), "+15555550123");+ EXPECT_EQ(normalize_dial_string("555.555.0123"), "5555550123");+ EXPECT_EQ(normalize_dial_string("\t555 555 0123 "), "5555550123");+}++// The dial string reaches the cellular network. Anything that is not a number is+// refused here rather than passed to BlueZ to judge.+TEST(DialString, RefusesEverythingElse) {+ EXPECT_TRUE(normalize_dial_string("").empty());+ EXPECT_TRUE(normalize_dial_string("+").empty());+ EXPECT_TRUE(normalize_dial_string(" ").empty());+ EXPECT_TRUE(normalize_dial_string("not a number").empty());+ // Supplementary service and AT syntax, the reason this check exists. BlueZ+ // would accept these characters; nothing in the UI asks for them.+ EXPECT_TRUE(normalize_dial_string("*21*5551234#").empty());+ EXPECT_TRUE(normalize_dial_string("555;ATH").empty());+ EXPECT_TRUE(normalize_dial_string("555\r\nATD666").empty());+ EXPECT_TRUE(normalize_dial_string("555,,123").empty());+ // A '+' anywhere but the front is not a country code.+ EXPECT_TRUE(normalize_dial_string("555+123").empty());+ EXPECT_TRUE(normalize_dial_string("++15555550123").empty());+ // Long enough to be a paste accident.+ EXPECT_TRUE(normalize_dial_string(std::string(33, '5')).empty());+ EXPECT_FALSE(normalize_dial_string(std::string(32, '5')).empty());+}++TEST(Telephony, ParsesTheGateway) {+ Payload payload(TWO_GATEWAYS);+ const BluezObjects objects = parse_managed_objects(payload.v);++ const Telephony* gw = objects.find_telephony("/org/bluez/hci0/dev_60_57_C8_30_6A_F7");+ ASSERT_NE(gw, nullptr);+ EXPECT_EQ(gw->path, "/org/bluez/hci0/dev_60_57_C8_30_6A_F7/telephony0");+ EXPECT_EQ(gw->operator_name, "AT&T");+ EXPECT_EQ(gw->signal, 1);+ EXPECT_EQ(gw->battery, 4);+ EXPECT_TRUE(gw->service);+ EXPECT_FALSE(gw->roaming);+ EXPECT_TRUE(gw->ready());+ EXPECT_EQ(gw->uri_schemes, std::vector<std::string>{"tel"});++ EXPECT_EQ(objects.find_telephony("/org/bluez/hci0/dev_11_22_33_44_55_66"), nullptr);+ EXPECT_EQ(objects.find_telephony(""), nullptr);+}++// A second phone's calls must never appear under the selected one.+TEST(Telephony, ParsesOnlyTheSelectedGatewaysCalls) {+ Payload payload(TWO_GATEWAYS);+ const BluezObjects objects = parse_managed_objects(payload.v);++ const auto calls = objects.calls_for("/org/bluez/hci0/dev_60_57_C8_30_6A_F7/telephony0");+ ASSERT_EQ(calls.size(), 1u);+ EXPECT_EQ(calls[0].number, "+15555550123");+ EXPECT_EQ(calls[0].state, "incoming");+ EXPECT_TRUE(calls[0].ringing());+ EXPECT_FALSE(calls[0].connected());++ EXPECT_TRUE(objects.calls_for("").empty());+ EXPECT_TRUE(objects.calls_for("/org/bluez/hci0/dev_60_57_C8_30_6A_F7/telephony9").empty());+}++// The gateway path is a prefix of its calls' paths, and BlueZ numbers both per+// device: telephony1 must not collect telephony10's calls.+TEST(Telephony, GatewayPathIsMatchedWholeNotAsAPrefix) {+ Payload payload(R"({+ '/org/bluez/hci0/dev_60_57_C8_30_6A_F7/telephony1/call1': {+ 'org.bluez.Call1': { 'State': <'active'> }+ },+ '/org/bluez/hci0/dev_60_57_C8_30_6A_F7/telephony10/call1': {+ 'org.bluez.Call1': { 'State': <'active'> }+ }+ })");+ const BluezObjects objects = parse_managed_objects(payload.v);+ EXPECT_EQ(objects.calls_for("/org/bluez/hci0/dev_60_57_C8_30_6A_F7/telephony1").size(), 1u);+ EXPECT_EQ(objects.calls_for("/org/bluez/hci0/dev_60_57_C8_30_6A_F7/telephony10").size(), 1u);+}++// The objects exist only under bluetoothd --experimental and only while HFP is+// connected. Their absence is the normal state, not a parse failure.+TEST(Telephony, AbsentWhenHandsFreeIsNotConnected) {+ Payload payload(R"({+ '/org/bluez/hci0/dev_60_57_C8_30_6A_F7': {+ 'org.bluez.Device1': { 'Address': <'60:57:C8:30:6A:F7'> }+ }+ })");+ const BluezObjects objects = parse_managed_objects(payload.v);+ EXPECT_TRUE(objects.telephony.empty());+ EXPECT_TRUE(objects.calls.empty());+ EXPECT_EQ(objects.find_telephony("/org/bluez/hci0/dev_60_57_C8_30_6A_F7"), nullptr);+}++// A gateway that is still bringing up its service level connection is not ready+// to take a call.+TEST(Telephony, IsNotReadyBeforeTheServiceLevelConnection) {+ for (const char* state : {"connecting", "slc_connecting", "disconnecting"}) {+ Telephony gw;+ gw.state = state;+ EXPECT_FALSE(gw.ready()) << state;+ }+ Telephony gw;+ gw.state = "connected";+ EXPECT_TRUE(gw.ready());+}++TEST(Telephony, TracksACallThroughItsStates) {+ Call call;+ call.state = "incoming";+ EXPECT_TRUE(call.ringing());++ call.state = "active";+ EXPECT_FALSE(call.ringing());+ EXPECT_TRUE(call.connected());++ call.state = "held";+ EXPECT_TRUE(call.connected());++ call.state = "disconnected";+ EXPECT_FALSE(call.connected());+ EXPECT_FALSE(call.ringing());+ EXPECT_FALSE(call.outgoing());++ // An outgoing call runs dialing then alerting before it connects.+ Call outgoing;+ outgoing.state = "dialing";+ EXPECT_TRUE(outgoing.outgoing());+ outgoing.state = "alerting";+ EXPECT_TRUE(outgoing.outgoing());+ outgoing.state = "active";+ EXPECT_FALSE(outgoing.outgoing());+}++// A state this build has not seen must still reach the UI rather than being+// dropped or guessed at. response_and_hold is one BlueZ can report.+TEST(Telephony, PassesUnknownStatesThrough) {+ Call call;+ call.state = "response_and_hold";+ EXPECT_EQ(call.state, "response_and_hold");+ EXPECT_FALSE(call.ringing());+ EXPECT_FALSE(call.connected());+}++// "withheld" is the network refusing caller ID, not a number. Offering it to+// redial would dial nothing.+TEST(Telephony, WithheldCallerIdIsNotANumber) {+ Call call;+ call.number = "withheld";+ call.state = "incoming";+ EXPECT_TRUE(call.withheld());++ const nlohmann::json j = to_json(call);+ EXPECT_EQ(j["number"], "");+ EXPECT_TRUE(j["withheld"]);+ EXPECT_TRUE(normalize_dial_string(j["number"].get<std::string>()).empty());+}++TEST(Telephony, SerializesCallsForClients) {+ Payload payload(TWO_GATEWAYS);+ const BluezObjects objects = parse_managed_objects(payload.v);+ const nlohmann::json j = to_json(objects.calls_for("/org/bluez/hci0/dev_60_57_C8_30_6A_F7/telephony0"));++ ASSERT_EQ(j.size(), 1u);+ EXPECT_EQ(j[0]["number"], "+15555550123");+ EXPECT_EQ(j[0]["state"], "incoming");+ EXPECT_TRUE(j[0]["ringing"]);+ EXPECT_FALSE(j[0]["connected"]);+ EXPECT_TRUE(to_json(std::vector<Call>{}).empty());+}++TEST(Telephony, SerializesTheGatewayForClients) {+ Payload payload(TWO_GATEWAYS);+ const BluezObjects objects = parse_managed_objects(payload.v);+ const nlohmann::json j = to_json(*objects.find_telephony("/org/bluez/hci0/dev_60_57_C8_30_6A_F7"));++ EXPECT_TRUE(j["available"]);+ EXPECT_EQ(j["operator"], "AT&T");+ EXPECT_EQ(j["signal"], 1);+ EXPECT_EQ(j["battery"], 4);+ EXPECT_FALSE(j["roaming"]);+}