Your Android phone and your Windows PC, working as one. Local-first, end-to-end encrypted, no account.
feat: the phone's sound on the PC without mirroring (#94)
Bee7ad9ad270441
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 98e0ad1..5d7c0a4 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -8,6 +8,12 @@ change things that need a step from you, and its notes say so.### New+- **Your phone's sound on the PC, without mirroring.** **Phone sound on this+ PC** on Home plays what the phone plays through the PC's speakers or+ headphones, with no mirror window. With Elevated it starts right away;+ otherwise the phone asks once, as for mirroring. The phone's own speaker+ keeps playing for now+ ([#94](https://github.com/thtbee/nectarlink/issues/94)).- **Sharing your PC's screen with the phone uses H.265** when both sidescan, and H.264 otherwise. Thanks to [@AS8148](https://github.com/AS8148)([#66](https://github.com/thtbee/nectarlink/pull/66)).diff --git a/android/app/src/main/kotlin/app/nectarlink/android/core/Core.kt b/android/app/src/main/kotlin/app/nectarlink/android/core/Core.ktindex 44c7e81..c3f99a6 100644--- a/android/app/src/main/kotlin/app/nectarlink/android/core/Core.kt+++ b/android/app/src/main/kotlin/app/nectarlink/android/core/Core.kt@@ -1876,6 +1876,8 @@ class Core(context: Context, private val scope: CoroutineScope) : EventListener(if (Elevated.running && Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) listOf("mirror.virtual_display") else emptyList()) +// Asked for when a PC wants the sound, or streamed via Elevated helper.(if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q || Elevated.running) listOf("mirror.audio.playback") else emptyList()) ++ // The same sound on its own, without the screen.+ (if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q || Elevated.running) listOf("mirror.sound") else emptyList()) +(if (app.nectarlink.android.mirror.ScreenEncoder.supportsHevcDecoder()) listOf("mirror.decode.hevc") else emptyList())/**diff --git a/android/app/src/main/kotlin/app/nectarlink/android/core/PhonePlatform.kt b/android/app/src/main/kotlin/app/nectarlink/android/core/PhonePlatform.ktindex f3e1dcf..1e18725 100644--- a/android/app/src/main/kotlin/app/nectarlink/android/core/PhonePlatform.kt+++ b/android/app/src/main/kotlin/app/nectarlink/android/core/PhonePlatform.kt@@ -151,6 +151,7 @@ internal class PhonePlatform(options.audio,options.stayAwake,options.screenOff,+ options.soundOnly,)if (Elevated.running && MirrorService.startElevated(context, request)) {truediff --git a/android/app/src/main/kotlin/app/nectarlink/android/mirror/MirrorRequest.kt b/android/app/src/main/kotlin/app/nectarlink/android/mirror/MirrorRequest.ktindex f847681..f5a6d3a 100644--- a/android/app/src/main/kotlin/app/nectarlink/android/mirror/MirrorRequest.kt+++ b/android/app/src/main/kotlin/app/nectarlink/android/mirror/MirrorRequest.kt@@ -19,7 +19,7 @@ import androidx.core.app.NotificationManagerCompatimport androidx.core.content.ContextCompatimport app.nectarlink.android.R-/** A PC asking for the screen (and its sound), with what it wants. */+/** A PC asking for the screen (and its sound), or only the sound, with what it wants. */data class MirrorRequest(val pcId: String,val maxSize: Int,@@ -28,6 +28,8 @@ data class MirrorRequest(val audio: Boolean,val stayAwake: Boolean = false,val screenOff: Boolean = false,+ /** Only the sound: the PC plays it without a window. */+ val soundOnly: Boolean = false,) {fun toIntent(intent: Intent): Intent = intent.putExtra("pc", pcId)@@ -37,6 +39,7 @@ data class MirrorRequest(.putExtra("audio", audio).putExtra("stayAwake", stayAwake).putExtra("screenOff", screenOff)+ .putExtra("soundOnly", soundOnly)companion object {fun of(intent: Intent): MirrorRequest? = intent.getStringExtra("pc")?.let {@@ -48,6 +51,7 @@ data class MirrorRequest(intent.getBooleanExtra("audio", false),intent.getBooleanExtra("stayAwake", false),intent.getBooleanExtra("screenOff", false),+ intent.getBooleanExtra("soundOnly", false),)}}@@ -84,8 +88,15 @@ object MirrorRequests {)val notification = NotificationCompat.Builder(context, CHANNEL).setSmallIcon(R.drawable.ic_notification)- .setContentTitle(context.getString(R.string.mirror_request_title, pcName.ifEmpty { context.getString(R.string.your_pc) }))- .setContentText(context.getString(R.string.mirror_request_text))+ .setContentTitle(+ context.getString(+ if (request.soundOnly) R.string.mirror_request_title_sound else R.string.mirror_request_title,+ pcName.ifEmpty { context.getString(R.string.your_pc) },+ ),+ )+ .setContentText(+ context.getString(if (request.soundOnly) R.string.mirror_request_text_sound else R.string.mirror_request_text),+ ).setContentIntent(open).setAutoCancel(true).setTimeoutAfter(REQUEST_TIMEOUT_MS)@@ -120,7 +131,10 @@ object MirrorRequests {class MirrorConsentActivity : ComponentActivity() {private var request: MirrorRequest? = null- private val sound = registerForActivityResult(ActivityResultContracts.RequestPermission()) { askForScreen() }+ private val sound = registerForActivityResult(ActivityResultContracts.RequestPermission()) { granted ->+ // Only the sound was asked for, and it can't be captured without this.+ if (!granted && request?.soundOnly == true) finish() else askForScreen()+ }private val prompt = registerForActivityResult(ActivityResultContracts.StartActivityForResult()) { result ->val data = result.datadiff --git a/android/app/src/main/kotlin/app/nectarlink/android/mirror/MirrorService.kt b/android/app/src/main/kotlin/app/nectarlink/android/mirror/MirrorService.ktindex 46593af..d274edc 100644--- a/android/app/src/main/kotlin/app/nectarlink/android/mirror/MirrorService.kt+++ b/android/app/src/main/kotlin/app/nectarlink/android/mirror/MirrorService.kt@@ -39,6 +39,8 @@ data class MirrorSession(val audio: Boolean = false,val stayAwake: Boolean = false,val screenOff: Boolean = false,+ /** Only the sound is shared, no picture. */+ val soundOnly: Boolean = false,)/**@@ -59,6 +61,7 @@ class MirrorService : Service() {private var pcId: String? = nullprivate var stayAwake: Boolean = falseprivate var screenOff: Boolean = false+ private var soundOnly: Boolean = falseoverride fun onBind(intent: Intent?): IBinder? = null@@ -83,6 +86,7 @@ class MirrorService : Service() {val audio = intent.getBooleanExtra(EXTRA_AUDIO, false)stayAwake = intent.getBooleanExtra(EXTRA_STAY_AWAKE, false)screenOff = intent.getBooleanExtra(EXTRA_SCREEN_OFF, false)+ soundOnly = intent.getBooleanExtra(EXTRA_SOUND_ONLY, false)if (isElevated) {val type = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) ServiceInfo.FOREGROUND_SERVICE_TYPE_CONNECTED_DEVICE else 0@@ -95,7 +99,12 @@ class MirrorService : Service() {audio = audio,stayAwake = stayAwake,screenOff = screenOff,+ soundOnly = soundOnly,)+ if (soundOnly) {+ scope.launch { startSound(core, pc) }+ return START_NOT_STICKY+ }val fallbackRequest = MirrorRequest(pc, maxSize, fps, bitrate, audio, stayAwake, screenOff)elevatedStarting = truestartElevatedStream(core, pc, name, fallbackRequest)@@ -123,11 +132,16 @@ class MirrorService : Service() {audio = audio,stayAwake = stayAwake,screenOff = screenOff,+ soundOnly = soundOnly,)granted.registerCallback(object : MediaProjection.Callback() {// The user stopped it (from the status bar, or by locking).override fun onStop() = main.post { stopSharing() }.let {}}, main)+ if (soundOnly) {+ scope.launch { startSound(core, pc) }+ return START_NOT_STICKY+ }scope.launch {val stream = runCatching { core.mirrorOpen(pc) }.getOrElse {Log.w(TAG, "can't stream to the PC", it)@@ -307,18 +321,25 @@ class MirrorService : Service() {/** The sound, on a stream of its own; the screen goes on without it if it can't. */private suspend fun startSound(core: app.nectarlink.android.core.Core, pc: String) {- if (!SoundCapture.canCapture(this)) return+ // Sharing only the sound, there's nothing left once it's gone.+ val endSharing = { if (soundOnly) main.post { if (pcId == pc) stopSharing() } }+ if (!SoundCapture.canCapture(this)) {+ endSharing()+ return+ }val stream = runCatching { core.mirrorOpenAudio(pc) }.getOrElse {Log.w(TAG, "can't send the sound", it)+ endSharing()return}main.post {val running = projectionif ((running == null && !app.nectarlink.android.elevated.Elevated.running) || pcId != pc) {stream.end()+ endSharing()return@post}- sound = SoundCapture(running, stream).also { it.start() }+ sound = SoundCapture(running, stream) { endSharing() }.also { it.start() }}}@@ -329,7 +350,12 @@ class MirrorService : Service() {)return NotificationCompat.Builder(this, CHANNEL).setSmallIcon(R.drawable.ic_notification)- .setContentTitle(getString(R.string.mirror_sharing, pcName.ifEmpty { getString(R.string.your_pc) }))+ .setContentTitle(+ getString(+ if (soundOnly) R.string.mirror_sharing_sound else R.string.mirror_sharing,+ pcName.ifEmpty { getString(R.string.your_pc) },+ ),+ ).setOngoing(true).setSilent(true).setCategory(NotificationCompat.CATEGORY_SERVICE)@@ -340,6 +366,7 @@ class MirrorService : Service() {private fun stopSharing() {stayAwake = falsescreenOff = false+ soundOnly = false_session.value = MirrorSession()StreamPower.set(this, StreamPower.SCREEN, streaming = false)elevatedDisplayListener?.let {@@ -381,6 +408,7 @@ class MirrorService : Service() {private const val EXTRA_AUDIO = "audio"private const val EXTRA_STAY_AWAKE = "stayAwake"private const val EXTRA_SCREEN_OFF = "screenOff"+ private const val EXTRA_SOUND_ONLY = "soundOnly"/** The service sharing the screen now, if any. */@Volatile private var current: MirrorService? = null@@ -406,6 +434,7 @@ class MirrorService : Service() {.putExtra(EXTRA_AUDIO, request.audio).putExtra(EXTRA_STAY_AWAKE, request.stayAwake).putExtra(EXTRA_SCREEN_OFF, request.screenOff)+ .putExtra(EXTRA_SOUND_ONLY, request.soundOnly)ContextCompat.startForegroundService(context, intent)}@@ -424,6 +453,7 @@ class MirrorService : Service() {.putExtra(EXTRA_AUDIO, request.audio).putExtra(EXTRA_STAY_AWAKE, request.stayAwake).putExtra(EXTRA_SCREEN_OFF, request.screenOff)+ .putExtra(EXTRA_SOUND_ONLY, request.soundOnly)return runCatching {ContextCompat.startForegroundService(context, intent)truediff --git a/android/app/src/main/kotlin/app/nectarlink/android/mirror/SoundCapture.kt b/android/app/src/main/kotlin/app/nectarlink/android/mirror/SoundCapture.ktindex 718ef91..5fab58a 100644--- a/android/app/src/main/kotlin/app/nectarlink/android/mirror/SoundCapture.kt+++ b/android/app/src/main/kotlin/app/nectarlink/android/mirror/SoundCapture.kt@@ -30,6 +30,8 @@ import java.net.Socketclass SoundCapture(private val projection: MediaProjection?,private val stream: MirrorStream,+ /** Called once the sound stops (the PC stopped listening, or capture failed). */+ private val onEnded: () -> Unit = {},) {@Volatile private var running = false@Volatile private var elevatedSocket: Socket? = null@@ -80,6 +82,7 @@ class SoundCapture(Log.w(TAG, "no sound capture available")stream.end()+ onEnded()}private fun runRecord(record: AudioRecord) {@@ -106,6 +109,7 @@ class SoundCapture(runCatching { record.stop() }record.release()stream.end()+ onEnded()}}@@ -114,6 +118,7 @@ class SoundCapture(if (sock == null) {running = falsestream.end()+ onEnded()return}elevatedSocket = sock@@ -145,6 +150,7 @@ class SoundCapture(elevatedSocket = nullrunCatching { sock.close() }stream.end()+ onEnded()}}diff --git a/android/app/src/main/kotlin/app/nectarlink/android/ui/home/HomeScreen.kt b/android/app/src/main/kotlin/app/nectarlink/android/ui/home/HomeScreen.ktindex 18b285c..50736a7 100644--- a/android/app/src/main/kotlin/app/nectarlink/android/ui/home/HomeScreen.kt+++ b/android/app/src/main/kotlin/app/nectarlink/android/ui/home/HomeScreen.kt@@ -368,16 +368,21 @@ fun HomeScreen(?: stringResource(R.string.your_pc)val controlReady = state.inputAccess || state.elevatedval subtitle = when {+ mirrorSession.soundOnly -> stringResource(R.string.mirror_banner_subtitle_sound)controlReady -> stringResource(R.string.mirror_banner_subtitle_control_on)mirrorSession.audio -> stringResource(R.string.mirror_banner_subtitle_audio)else -> stringResource(R.string.mirror_banner_subtitle)}LiveStreamingBanner(- title = stringResource(R.string.mirror_sharing, pcName),+ title = stringResource(+ if (mirrorSession.soundOnly) R.string.mirror_sharing_sound else R.string.mirror_sharing,+ pcName,+ ),subtitle = subtitle,primaryActionLabel = stringResource(R.string.action_stop),onPrimaryAction = onStopMirror,- secondaryActionLabel = if (!controlReady) {+ // Nothing to control without the screen.+ secondaryActionLabel = if (!controlReady && !mirrorSession.soundOnly) {stringResource(R.string.mirror_allow_pc_control)} else {nulldiff --git a/android/app/src/main/res/values-de/strings.xml b/android/app/src/main/res/values-de/strings.xmlindex c57d97d..d66895e 100644--- a/android/app/src/main/res/values-de/strings.xml+++ b/android/app/src/main/res/values-de/strings.xml@@ -118,8 +118,11 @@<string name="channel_mirroring">Bildschirmspiegelung</string><string name="channel_mirror_requests">Anfragen zur Bildschirmspiegelung</string><string name="mirror_request_title">%1$s möchte deinen Bildschirm sehen</string>+ <string name="mirror_request_title_sound">%1$s möchte den Ton deines Telefons abspielen</string><string name="mirror_request_text">Tippe zum Teilen. Du kannst die Übertragung jederzeit beenden.</string>+ <string name="mirror_request_text_sound">Tippe, um ihn zu teilen. Android fragt nach der Bildschirmfreigabe; nur der Ton geht an den PC.</string><string name="mirror_sharing">Bildschirm wird mit %1$s geteilt</string>+ <string name="mirror_sharing_sound">Ton deines Telefons wird mit %1$s geteilt</string><string name="action_stop">Beenden</string><plurals name="app_windows_title"><item quantity="one">%1$d App ist in einem Fenster auf einem PC geöffnet</item>@@ -713,6 +716,7 @@<string name="mirror_banner_subtitle_control_on">Tippe, wische und schreibe von deinem PC aus</string><string name="mirror_banner_subtitle_audio">Bildschirm und Audio · jederzeit auf Stopp tippen</string><string name="mirror_banner_subtitle">Live-Bildschirmübertragung · jederzeit auf Stopp tippen</string>+ <string name="mirror_banner_subtitle_sound">Nur Ton · jederzeit mit Stopp beenden</string><string name="mirror_allow_pc_control">PC-Maussteuerung erlauben</string><string name="action_open_controls">Steuerung</string><string name="remote_input_requested_title">Dein PC hat versucht, dieses Gerät zu steuern</string>diff --git a/android/app/src/main/res/values-zh-rCN/strings.xml b/android/app/src/main/res/values-zh-rCN/strings.xmlindex d56b5b5..ffee11d 100644--- a/android/app/src/main/res/values-zh-rCN/strings.xml+++ b/android/app/src/main/res/values-zh-rCN/strings.xml@@ -112,8 +112,11 @@<string name="channel_mirroring">屏幕共享</string><string name="channel_mirror_requests">屏幕共享请求</string><string name="mirror_request_title">%1$s 想要查看你的屏幕</string>+ <string name="mirror_request_title_sound">%1$s 想播放你手机的声音</string><string name="mirror_request_text">点按即可共享,随时可以停止。</string>+ <string name="mirror_request_text_sound">点按即可共享。Android 会请求共享屏幕;只有声音会发送到电脑。</string><string name="mirror_sharing">正在与 %1$s 共享屏幕</string>+ <string name="mirror_sharing_sound">正在与 %1$s 共享手机声音</string><string name="action_stop">停止</string><plurals name="app_windows_title"><item quantity="one">有 %1$d 个应用在电脑上的窗口中打开</item>@@ -654,6 +657,7 @@<string name="mirror_banner_subtitle_control_on">用电脑点按、滑动和输入</string><string name="mirror_banner_subtitle_audio">屏幕和声音 · 随时点按停止</string><string name="mirror_banner_subtitle">实时屏幕串流 · 随时点按停止</string>+ <string name="mirror_banner_subtitle_sound">仅声音 · 可随时点按停止</string><string name="mirror_allow_pc_control">允许电脑鼠标控制</string><string name="action_open_controls">控制</string><string name="remote_input_requested_title">你的电脑尝试控制此手机</string>diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xmlindex 7753916..3973d3d 100644--- a/android/app/src/main/res/values/strings.xml+++ b/android/app/src/main/res/values/strings.xml@@ -118,8 +118,11 @@<string name="channel_mirroring">Screen sharing</string><string name="channel_mirror_requests">Screen sharing requests</string><string name="mirror_request_title">%1$s wants to see your screen</string>+ <string name="mirror_request_title_sound">%1$s wants to play your phone\'s sound</string><string name="mirror_request_text">Tap to share it. You can stop anytime.</string>+ <string name="mirror_request_text_sound">Tap to share it. Android asks to share your screen; only the sound goes to the PC.</string><string name="mirror_sharing">Sharing your screen with %1$s</string>+ <string name="mirror_sharing_sound">Sharing your phone\'s sound with %1$s</string><string name="action_stop">Stop</string><plurals name="app_windows_title"><item quantity="one">%1$d app is open in a window on a PC</item>@@ -712,6 +715,7 @@<string name="mirror_banner_subtitle_control_on">Tap, swipe and type from your PC</string><string name="mirror_banner_subtitle_audio">Screen and audio · tap Stop anytime</string><string name="mirror_banner_subtitle">Live screen stream · tap Stop anytime</string>+ <string name="mirror_banner_subtitle_sound">Sound only · tap Stop anytime</string><string name="mirror_allow_pc_control">Allow PC mouse control</string><string name="action_open_controls">Controls</string><string name="remote_input_requested_title">Your PC tried to control this phone</string>diff --git a/core/nectarlink-cli/src/main.rs b/core/nectarlink-cli/src/main.rsindex eaa2000..9ffaed3 100644--- a/core/nectarlink-cli/src/main.rs+++ b/core/nectarlink-cli/src/main.rs@@ -3191,6 +3191,7 @@ async fn run(cli: &Cli, node: &Node) -> Result<()> {stay_awake: false,screen_off: false,watch: None,+ sound_only: false,};node.mirror_start(id, options).await.context("the phone didn't ask its user")?;println!(@@ -3391,6 +3392,7 @@ async fn run(cli: &Cli, node: &Node) -> Result<()> {stay_awake: false,screen_off: false,watch: Some(player.clone()),+ sound_only: false,};node.mirror_start(id, options).await.context("the PC didn't stream it")?;println!("Watching {player}; recording for {seconds} s after the first frame.");diff --git a/core/nectarlink-core/src/features.rs b/core/nectarlink-core/src/features.rsindex 1e9307f..489eee4 100644--- a/core/nectarlink-core/src/features.rs+++ b/core/nectarlink-core/src/features.rs@@ -937,6 +937,17 @@ pub const FEATURES: &[FeatureDef] = &[limit: "mirroring.limit.audio_some_apps",}),},+ // The phone's sound on its own, played by the PC without a window.+ FeatureDef {+ id: "mirroring.sound",+ group: FeatureGroup::Mirroring,+ requires: &[+ phone("mirror.sound", UPDATE),+ desktop("mirror.listen", UPDATE),+ DeviceToggle("mirroring"),+ ],+ partial: None,+ },// MediaFeatureDef {id: "media.phone_control",diff --git a/core/nectarlink-core/src/lib.rs b/core/nectarlink-core/src/lib.rsindex 0a0393b..6f25c32 100644--- a/core/nectarlink-core/src/lib.rs+++ b/core/nectarlink-core/src/lib.rs@@ -111,7 +111,7 @@ pub use nectarlink_protocol::{AUDIO as MIRROR_AUDIO, AUDIO_PLAYBACK as MIRROR_AUDIO_PLAYBACK, AV1 as MIRROR_AV1,CAPTURE as MIRROR_CAPTURE, H264 as MIRROR_H264, H265 as MIRROR_H265, HEVC as MIRROR_HEVC,INPUT as MIRROR_INPUT, LISTEN as MIRROR_LISTEN, MAX_TEXT_BYTES as MIRROR_MAX_TEXT_BYTES,- PCM as MIRROR_PCM, SCREEN as MIRROR_SCREEN, VIEW as MIRROR_VIEW,+ PCM as MIRROR_PCM, SCREEN as MIRROR_SCREEN, SOUND as MIRROR_SOUND, VIEW as MIRROR_VIEW,VIRTUAL_DISPLAY as MIRROR_VIRTUAL_DISPLAY,},mirror_keys, notify_limits, parse_mac,diff --git a/core/nectarlink-core/src/mirror.rs b/core/nectarlink-core/src/mirror.rsindex 8a221aa..105e380 100644--- a/core/nectarlink-core/src/mirror.rs+++ b/core/nectarlink-core/src/mirror.rs@@ -289,7 +289,8 @@ pub(crate) async fn receive_audio(mut send: SendStream,mut recv: RecvStream,) {- // Sound comes with the screen only.+ // Sound comes with the screen, or on its own (`MirrorStart::sound_only`);+ // the app gives a sink for either.let listens = shared.we_offer(mirror::LISTEN);let sink = listens.then(|| shared.platform.mirror_sink(&peer, mirror::SCREEN)).flatten();let Some(sink) = sink.filter(|_| shared.toggle_on(&peer, TOGGLE)) else {@@ -334,7 +335,9 @@ pub(crate) async fn handle(shared: &Arc<Shared>, session: &Arc<Session>, env: &Etypes::MIRROR_START => {let options: MirrorStart = env.body()?;let desktop = is_local_desktop(shared);- let needs = if options.app.is_some() {+ let needs = if options.sound_only {+ mirror::SOUND+ } else if options.app.is_some() {mirror::VIRTUAL_DISPLAY} else if desktop && options.watch.is_some() {nectarlink_protocol::messages::media_watch::STREAM@@ -345,6 +348,8 @@ pub(crate) async fn handle(shared: &Arc<Shared>, session: &Arc<Session>, env: &E// Play on phone: only what this PC offered that phone.Some(player) if desktop => crate::media::watch_allowed(shared, &peer, player),Some(_) => false,+ // Sound on its own is the phone's (a PC shares its screen).+ None if desktop && options.sound_only => false,None if desktop => pc_mirror_allowed(shared, &peer),None => shared.toggle_on(&peer, TOGGLE),};diff --git a/core/nectarlink-core/tests/two_devices.rs b/core/nectarlink-core/tests/two_devices.rsindex eb85132..290f98b 100644--- a/core/nectarlink-core/tests/two_devices.rs+++ b/core/nectarlink-core/tests/two_devices.rs@@ -135,7 +135,8 @@ impl Platform for RecordingPlatform {let sound = if options.audio { " with sound" } else { "" };let app = options.app.as_deref().map(|a| format!(" {a} as {}", options.session)).unwrap_or_default();let watch = options.watch.as_deref().map(|p| format!(" watching {p}")).unwrap_or_default();- self.mirror_asks.lock().unwrap().push(format!("start {}{sound}{app}{watch}", options.max_size));+ let only = if options.sound_only { ", sound only" } else { "" };+ self.mirror_asks.lock().unwrap().push(format!("start {}{sound}{only}{app}{watch}", options.max_size));Ok(())}fn watch_offered(@@ -1785,6 +1786,104 @@ async fn folders_arrive_with_their_layout() {);}+/// The phone's sound on its own (#94): the PC asks for the sound alone, the+/// phone gets that request, and its sound stream plays without any video. A+/// phone that doesn't offer it is never asked to share its screen instead.+#[tokio::test(flavor = "multi_thread")]+async fn the_phone_sound_plays_on_the_pc_without_its_screen() {+ use nectarlink_core::{MirrorSend, PacketKind};+ let sound_only = nectarlink_core::MirrorStart {+ max_size: 0,+ fps: 0,+ bitrate: 0,+ audio: true,+ session: 0,+ app: None,+ stay_awake: false,+ screen_off: false,+ watch: None,+ sound_only: true,+ };++ // An older phone: no mirror.sound, so the request is refused, not+ // turned into screen sharing.+ let mut pc = device_with("Desktop", DeviceKind::Desktop, &[nectarlink_core::MIRROR_LISTEN]).await;+ let mut old_phone = device_with(+ "Old phone",+ DeviceKind::Phone,+ &[nectarlink_core::MIRROR_CAPTURE, nectarlink_core::MIRROR_AUDIO_PLAYBACK],+ )+ .await;+ pair_qr(&mut pc, &mut old_phone).await;+ let refused = with_timeout(+ "start on an old phone",+ pc.node.mirror_start(old_phone.node.device_id(), sound_only.clone()),+ )+ .await;+ assert!(matches!(refused, Err(Error::Unsupported)), "{refused:?}");+ assert!(old_phone.platform.mirror_asks.lock().unwrap().is_empty(), "the old phone was never asked");++ let mut phone = device_with(+ "Pixel",+ DeviceKind::Phone,+ &[+ nectarlink_core::MIRROR_CAPTURE,+ nectarlink_core::MIRROR_AUDIO_PLAYBACK,+ nectarlink_core::MIRROR_SOUND,+ ],+ )+ .await;+ pair_qr(&mut pc, &mut phone).await;+ let (pc_id, phone_id) = (pc.node.device_id(), phone.node.device_id());+ with_timeout("start", pc.node.mirror_start(phone_id, sound_only)).await.unwrap();+ assert_eq!(*phone.platform.mirror_asks.lock().unwrap(), ["start 0 with sound, sound only"]);++ // The phone sends only its sound.+ let sound = Arc::new(with_timeout("open sound", phone.node.mirror_open_audio(pc_id)).await.unwrap());+ let format = nectarlink_core::MirrorAudioConfig {+ codec: nectarlink_core::MIRROR_PCM.into(),+ rate: 48_000,+ channels: 2,+ };+ let sender = sound.clone();+ let sent = tokio::task::spawn_blocking(move || {+ [+ sender.send(PacketKind::Config, 0, format.to_cbor()),+ sender.send(PacketKind::Frame, 10_000, vec![0; 1_920]),+ ]+ })+ .await+ .unwrap();+ assert!(sent.iter().all(|s| *s == MirrorSend::Queued), "{sent:?}");+ let screen = pc.platform.screen.clone();+ let deadline = tokio::time::Instant::now() + WAIT;+ while screen.got.lock().unwrap().len() < 2 && tokio::time::Instant::now() < deadline {+ tokio::time::sleep(std::time::Duration::from_millis(20)).await;+ }+ assert_eq!(+ *screen.got.lock().unwrap(),+ ["sound 48000 Hz x2", "sound 10000 1920"],+ "sound, and no picture"+ );++ // Turning it off: the phone hears it, and the sound stream ends.+ pc.node.mirror_stop(phone_id, 0).await;+ let deadline = tokio::time::Instant::now() + WAIT;+ while !phone.platform.mirror_asks.lock().unwrap().iter().any(|a| a == "stop 0")+ && tokio::time::Instant::now() < deadline+ {+ tokio::time::sleep(std::time::Duration::from_millis(20)).await;+ }+ assert!(phone.platform.mirror_asks.lock().unwrap().iter().any(|a| a == "stop 0"));+ let deadline = tokio::time::Instant::now() + WAIT;+ while !screen.got.lock().unwrap().iter().any(|g| g == "sound ended")+ && tokio::time::Instant::now() < deadline+ {+ tokio::time::sleep(std::time::Duration::from_millis(20)).await;+ }+ assert!(screen.got.lock().unwrap().iter().any(|g| g == "sound ended"));+}+#[tokio::test(flavor = "multi_thread")]async fn the_phone_screen_streams_to_the_pc() {use nectarlink_core::{MirrorSend, PacketKind};@@ -1817,6 +1916,7 @@ async fn the_phone_screen_streams_to_the_pc() {stay_awake: false,screen_off: false,watch: None,+ sound_only: false,};with_timeout("start", pc.node.mirror_start(phone_id, options)).await.unwrap();assert_eq!(*phone.platform.mirror_asks.lock().unwrap(), ["start 1920 with sound"]);@@ -1937,6 +2037,7 @@ async fn phone_apps_open_in_windows_of_their_own() {stay_awake: false,screen_off: false,watch: None,+ sound_only: false,};// Not Elevated yet: no apps, no app windows.@@ -5433,6 +5534,7 @@ async fn usb_transport_carries_features_when_wifi_unavailable() {stay_awake: false,screen_off: false,watch: None,+ sound_only: false,};with_timeout("start mirror over USB", pc.node.mirror_start(phone_id, options)).await.unwrap();let stream = Arc::new(with_timeout("open mirror over USB", phone.node.mirror_open(pc_id)).await.unwrap());@@ -5489,6 +5591,7 @@ async fn reverse_mirror_requires_pc_consent_and_remote_input_toggle() {stay_awake: false,screen_off: false,watch: None,+ sound_only: false,};// (a) A paired phone calling `mirror_start` against a PC is denied by default@@ -6127,6 +6230,7 @@ async fn play_on_phone_lets_the_phone_watch_only_what_the_pc_offered() {stay_awake: false,screen_off: false,watch: Some(player.into()),+ sound_only: false,};// Not offered: the phone can't watch, and the PC isn't asked to share its screen.@@ -6552,6 +6656,7 @@ async fn one_time_screen_consent_ends_with_the_pairing() {stay_awake: false,screen_off: false,watch: None,+ sound_only: false,};// "Allow once" lets the phone view the PC's screen during this connectiondiff --git a/core/nectarlink-ffi/src/lib.rs b/core/nectarlink-ffi/src/lib.rsindex c603688..6f87793 100644--- a/core/nectarlink-ffi/src/lib.rs+++ b/core/nectarlink-ffi/src/lib.rs@@ -1180,6 +1180,8 @@ pub struct MirrorOptions {pub stay_awake: bool,/// Turn the phone's physical screen off while mirroring (`session == 0`, Elevated).pub screen_off: bool,+ /// Only the sound, no picture: the PC plays it without a window.+ pub sound_only: bool,}/// An app a PC can open in a window (docs/protocol/mirror.md).@@ -2882,6 +2884,7 @@ impl core::Platform for PlatformAdapter {app: options.app.clone(),stay_awake: options.stay_awake,screen_off: options.screen_off,+ sound_only: options.sound_only,};if self.0.mirror_requested(peer.to_string(), options) {Ok(())@@ -4049,6 +4052,7 @@ impl NectarlinkNode {stay_awake: false,screen_off: false,watch,+ sound_only: false,};self.run(async move { Ok(node.mirror_start(id, options).await?) }).await}diff --git a/core/nectarlink-protocol/src/messages.rs b/core/nectarlink-protocol/src/messages.rsindex 880c066..1342a83 100644--- a/core/nectarlink-protocol/src/messages.rs+++ b/core/nectarlink-protocol/src/messages.rs@@ -1332,6 +1332,9 @@ pub mod mirror {pub const AUDIO_PLAYBACK: &str = "mirror.audio.playback";/// Offered by PCs that play a mirrored phone's sound.pub const LISTEN: &str = "mirror.listen";+ /// Offered by phones that share their sound on its own, without the+ /// screen (`MirrorStart::sound_only`).+ pub const SOUND: &str = "mirror.sound";pub const OP_AUDIO: &str = "audio";/// 16-bit little-endian PCM, channels interleaved.pub const PCM: &str = "pcm_s16le";@@ -1388,11 +1391,24 @@ pub struct MirrorStart {/// that offered it with `media.watch`).#[serde(default, skip_serializing_if = "Option::is_none")]pub watch: Option<String>,+ /// Only the phone's sound, no picture (`session == SCREEN`, sent to a+ /// phone that offers [`mirror::SOUND`]). The PC plays it without a window.+ #[serde(default, skip_serializing_if = "std::ops::Not::not")]+ pub sound_only: bool,}impl MirrorStart {/// The screen without an app, or an app with a session of its own.pub fn is_valid(&self) -> bool {+ if self.sound_only {+ // The phone's own sound: no app, no player, nothing about the screen.+ return self.session == mirror::SCREEN+ && self.audio+ && self.app.is_none()+ && self.watch.is_none()+ && !self.stay_awake+ && !self.screen_off;+ }let watch_ok = self.watch.as_ref()@@ -4250,6 +4266,33 @@ impl StorageChanged {#[cfg(test)]mod tests {+ #[test]+ fn sound_only_is_the_phones_sound_and_nothing_else() {+ let sound = MirrorStart {+ max_size: 0,+ fps: 0,+ bitrate: 0,+ audio: true,+ session: mirror::SCREEN,+ app: None,+ stay_awake: false,+ screen_off: false,+ watch: None,+ sound_only: true,+ };+ assert!(sound.is_valid());+ assert!(!MirrorStart { audio: false, ..sound.clone() }.is_valid(), "the sound is the point");+ assert!(!MirrorStart { session: 2, app: Some("com.example.app".into()), ..sound.clone() }.is_valid());+ assert!(!MirrorStart { watch: Some("Chrome".into()), ..sound.clone() }.is_valid());+ assert!(!MirrorStart { screen_off: true, ..sound.clone() }.is_valid(), "nothing about the screen");+ // It survives the trip, and a request without it is the screen, as before.+ let env = crate::Envelope::new(types::MIRROR_START, &sound).unwrap();+ assert!(env.body::<MirrorStart>().unwrap().sound_only);+ let screen =+ crate::Envelope::new(types::MIRROR_START, &MirrorStart { sound_only: false, ..sound }).unwrap();+ assert!(!screen.body::<MirrorStart>().unwrap().sound_only);+ }+#[test]fn audit_73_validation_rules() {// A photo request with both `id` and `ids` asks for all of them, once.@@ -5358,6 +5401,7 @@ mod tests {stay_awake: false,screen_off: false,watch: Some("Chrome".into()),+ sound_only: false,};assert!(screen.is_valid());// Watching is of the PC's screen session only, never with an app.diff --git a/desktop/app/i18n/nectarlink_de.ts b/desktop/app/i18n/nectarlink_de.tsindex 0e637de..50aa7fc 100644--- a/desktop/app/i18n/nectarlink_de.ts+++ b/desktop/app/i18n/nectarlink_de.ts@@ -3667,7 +3667,7 @@ Voraussetzungen</message><message><location filename="../qml/pages/HomePage.qml" line="1298"/>- <location filename="../qml/pages/HomePage.qml" line="3484"/>+ <location filename="../qml/pages/HomePage.qml" line="3498"/><source>Send files</source><translation>Dateien senden</translation></message>@@ -3683,7 +3683,7 @@ Voraussetzungen</message><message><location filename="../qml/pages/HomePage.qml" line="1317"/>- <location filename="../qml/pages/HomePage.qml" line="2763"/>+ <location filename="../qml/pages/HomePage.qml" line="2777"/><source>Clipboard history</source><translation>Zwischenablageverlauf</translation></message>@@ -3774,14 +3774,14 @@ Voraussetzungen</message><message><location filename="../qml/pages/HomePage.qml" line="1547"/>- <location filename="../qml/pages/HomePage.qml" line="2125"/>- <location filename="../qml/pages/HomePage.qml" line="2217"/>+ <location filename="../qml/pages/HomePage.qml" line="2139"/>+ <location filename="../qml/pages/HomePage.qml" line="2231"/><source>Cancel</source><translation>Abbrechen</translation></message><message><location filename="../qml/pages/HomePage.qml" line="1582"/>- <location filename="../qml/pages/HomePage.qml" line="2477"/>+ <location filename="../qml/pages/HomePage.qml" line="2491"/><source>Timeline</source><translation>Zeitverlauf</translation></message>@@ -3857,7 +3857,7 @@ Voraussetzungen</message><message><location filename="../qml/pages/HomePage.qml" line="1882"/>- <location filename="../qml/pages/HomePage.qml" line="2329"/>+ <location filename="../qml/pages/HomePage.qml" line="2343"/><source>Stop</source><translation>Stoppen</translation></message>@@ -3962,327 +3962,342 @@ Voraussetzungen<translation>Spiele zuerst ein Video auf diesem PC ab</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2116"/>+ <location filename="../qml/pages/HomePage.qml" line="2097"/>+ <source>Phone sound on this PC</source>+ <translation>Telefonton auf diesem PC</translation>+ </message>+ <message>+ <location filename="../qml/pages/HomePage.qml" line="2099"/>+ <source>Playing %1's sound</source>+ <translation>Ton von %1 wird abgespielt</translation>+ </message>+ <message>+ <location filename="../qml/pages/HomePage.qml" line="2100"/>+ <source>Allow it on %1</source>+ <translation>Auf %1 erlauben</translation>+ </message>+ <message>+ <location filename="../qml/pages/HomePage.qml" line="2130"/><source>Turning off Wi‑Fi may disconnect %1.</source><translation>Das Ausschalten von WLAN kann die Verbindung zu %1 trennen.</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2131"/>+ <location filename="../qml/pages/HomePage.qml" line="2145"/><source>Turn off</source><translation>Ausschalten</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2156"/>+ <location filename="../qml/pages/HomePage.qml" line="2170"/><source>Ring</source><translation>Klingeln</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2157"/>+ <location filename="../qml/pages/HomePage.qml" line="2171"/><source>Vibrate</source><translation>Vibrieren</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2158"/>+ <location filename="../qml/pages/HomePage.qml" line="2172"/><source>Silent</source><translation>Lautlos</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2175"/>+ <location filename="../qml/pages/HomePage.qml" line="2189"/><source>Volume</source><translation>Lautstärke</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2186"/>+ <location filename="../qml/pages/HomePage.qml" line="2200"/><source>Brightness</source><translation>Helligkeit</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2207"/>+ <location filename="../qml/pages/HomePage.qml" line="2221"/><source>Continuity Camera</source><translation>Übergabekamera</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2218"/>+ <location filename="../qml/pages/HomePage.qml" line="2232"/><source>Scan document</source><translation>Dokument scannen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2231"/>+ <location filename="../qml/pages/HomePage.qml" line="2245"/><source>Phone as webcam</source><translation>Gerät als Webcam</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2234"/>+ <location filename="../qml/pages/HomePage.qml" line="2248"/><source>Streaming</source><translation>Streamt</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2305"/>+ <location filename="../qml/pages/HomePage.qml" line="2319"/><source>Type on phone</source><translation>Auf dem Gerät tippen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2316"/>+ <location filename="../qml/pages/HomePage.qml" line="2330"/><source>Sent: %1</source><translation>Gesendet: %1</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2317"/>+ <location filename="../qml/pages/HomePage.qml" line="2331"/><source>Listening for keys</source><translation>Tastatureingabe aktiv</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2318"/>- <location filename="../qml/pages/HomePage.qml" line="3080"/>+ <location filename="../qml/pages/HomePage.qml" line="2332"/>+ <location filename="../qml/pages/HomePage.qml" line="3094"/><source>When connected</source><translation>Wenn verbunden</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2329"/>+ <location filename="../qml/pages/HomePage.qml" line="2343"/><source>Start</source><translation>Starten</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2377"/>- <location filename="../qml/pages/HomePage.qml" line="2444"/>+ <location filename="../qml/pages/HomePage.qml" line="2391"/>+ <location filename="../qml/pages/HomePage.qml" line="2458"/><source>Clipboard</source><translation>Zwischenablage</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2424"/>+ <location filename="../qml/pages/HomePage.qml" line="2438"/><source>Type here: keys go to %1</source><translation>Hier tippen: Eingaben gehen an %1</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2425"/>+ <location filename="../qml/pages/HomePage.qml" line="2439"/><source>Click to focus keyboard</source><translation>Klicken, um Tastaturfokus zu setzen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2432"/>+ <location filename="../qml/pages/HomePage.qml" line="2446"/><source>Ctrl+V pastes · Esc stops</source><translation>Strg+V fügt ein · Esc beendet</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2441"/>+ <location filename="../qml/pages/HomePage.qml" line="2455"/><source>Paste</source><translation>Einfügen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2486"/>+ <location filename="../qml/pages/HomePage.qml" line="2500"/><source>View all</source><translation>Alle anzeigen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2496"/>+ <location filename="../qml/pages/HomePage.qml" line="2510"/><source>No recent activity</source><translation>Keine kürzlichen Aktivitäten</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2585"/>+ <location filename="../qml/pages/HomePage.qml" line="2599"/><source>%1 notifications</source><translation>%1-Benachrichtigungen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2588"/>+ <location filename="../qml/pages/HomePage.qml" line="2602"/><source>Show</source><translation>Anzeigen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2589"/>+ <location filename="../qml/pages/HomePage.qml" line="2603"/><source>No pop-ups</source><translation>Keine Pop-ups</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2590"/>+ <location filename="../qml/pages/HomePage.qml" line="2604"/><source>Hide</source><translation>Ausblenden</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2604"/>+ <location filename="../qml/pages/HomePage.qml" line="2618"/><source>Hidden on this PC.</source><translation>Auf diesem PC ausgeblendet.</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2606"/>+ <location filename="../qml/pages/HomePage.qml" line="2620"/><source>Shown in feed without pop-ups.</source><translation>Wird im Feed ohne Pop-ups angezeigt.</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2608"/>+ <location filename="../qml/pages/HomePage.qml" line="2622"/><source>Shown in feed and as desktop pop-ups.</source><translation>Wird im Feed und als Desktop-Pop-up angezeigt.</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2609"/>+ <location filename="../qml/pages/HomePage.qml" line="2623"/><source>Shown in feed and as Windows pop-ups.</source><translation>Wird im Feed und als Windows-Pop-up angezeigt.</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2613"/>- <location filename="../qml/pages/HomePage.qml" line="2740"/>- <location filename="../qml/pages/HomePage.qml" line="2983"/>- <location filename="../qml/pages/HomePage.qml" line="3561"/>+ <location filename="../qml/pages/HomePage.qml" line="2627"/>+ <location filename="../qml/pages/HomePage.qml" line="2754"/>+ <location filename="../qml/pages/HomePage.qml" line="2997"/>+ <location filename="../qml/pages/HomePage.qml" line="3575"/><source>Done</source><translation>Fertig</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2632"/>+ <location filename="../qml/pages/HomePage.qml" line="2646"/><source>Notification history</source><translation>Benachrichtigungsverlauf</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2640"/>- <location filename="../qml/pages/HomePage.qml" line="2771"/>+ <location filename="../qml/pages/HomePage.qml" line="2654"/>+ <location filename="../qml/pages/HomePage.qml" line="2785"/><source>Clear history</source><translation>Verlauf löschen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2650"/>+ <location filename="../qml/pages/HomePage.qml" line="2664"/><source>Dismissed notifications from the last 24 hours.</source><translation>Verworfene Benachrichtigungen der letzten 24 Stunden.</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2651"/>+ <location filename="../qml/pages/HomePage.qml" line="2665"/><source>No recent notifications.</source><translation>Keine kürzlichen Benachrichtigungen.</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2693"/>- <location filename="../qml/pages/HomePage.qml" line="2699"/>+ <location filename="../qml/pages/HomePage.qml" line="2707"/>+ <location filename="../qml/pages/HomePage.qml" line="2713"/><source>Search notification history</source><translation>Benachrichtigungsverlauf durchsuchen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2736"/>- <location filename="../qml/pages/HomePage.qml" line="2979"/>+ <location filename="../qml/pages/HomePage.qml" line="2750"/>+ <location filename="../qml/pages/HomePage.qml" line="2993"/><source>Nothing matches “%1”.</source><translation>Keine Treffer für „%1“.</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2781"/>+ <location filename="../qml/pages/HomePage.qml" line="2795"/><source>Last 50 shared clips.</source><translation>Die letzten 50 geteilten Einträge der Zwischenablage.</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2782"/>+ <location filename="../qml/pages/HomePage.qml" line="2796"/><source>No shared clips yet.</source><translation>Noch keine geteilten Einträge in der Zwischenablage.</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2822"/>- <location filename="../qml/pages/HomePage.qml" line="2828"/>+ <location filename="../qml/pages/HomePage.qml" line="2836"/>+ <location filename="../qml/pages/HomePage.qml" line="2842"/><source>Search clipboard history</source><translation>Zwischenablageverlauf durchsuchen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2848"/>+ <location filename="../qml/pages/HomePage.qml" line="2862"/><source>From %1</source><translation>Von %1</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2848"/>+ <location filename="../qml/pages/HomePage.qml" line="2862"/><source>From phone</source><translation>Vom Gerät</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2849"/>+ <location filename="../qml/pages/HomePage.qml" line="2863"/><source>Sent to %1</source><translation>An %1 gesendet</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2849"/>+ <location filename="../qml/pages/HomePage.qml" line="2863"/><source>From this PC</source><translation>Von diesem PC</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2855"/>+ <location filename="../qml/pages/HomePage.qml" line="2869"/><source>Image</source><translation>Bild</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2893"/>+ <location filename="../qml/pages/HomePage.qml" line="2907"/><source>Pinned</source><translation>Angeheftet</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2937"/>+ <location filename="../qml/pages/HomePage.qml" line="2951"/><source>Open on phone</source><translation>Auf dem Gerät öffnen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2946"/>+ <location filename="../qml/pages/HomePage.qml" line="2960"/><source>Send to phone</source><translation>An Gerät senden</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2954"/>+ <location filename="../qml/pages/HomePage.qml" line="2968"/><source>Copy</source><translation>Kopieren</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2960"/>+ <location filename="../qml/pages/HomePage.qml" line="2974"/><source>Unpin</source><translation>Lösen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2960"/>+ <location filename="../qml/pages/HomePage.qml" line="2974"/><source>Pin</source><translation>Anheften</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2965"/>+ <location filename="../qml/pages/HomePage.qml" line="2979"/><source>Delete</source><translation>Löschen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3253"/>- <location filename="../qml/pages/HomePage.qml" line="3264"/>+ <location filename="../qml/pages/HomePage.qml" line="3267"/>+ <location filename="../qml/pages/HomePage.qml" line="3278"/><source>%1%</source><translation>%1%</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3405"/>+ <location filename="../qml/pages/HomePage.qml" line="3419"/><source>LocalSend nearby · %1</source><translation>LocalSend in der Nähe · %1</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3406"/>+ <location filename="../qml/pages/HomePage.qml" line="3420"/><source>LocalSend nearby</source><translation>LocalSend in der Nähe</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3415"/>+ <location filename="../qml/pages/HomePage.qml" line="3429"/><source>Refresh</source><translation>Aktualisieren</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3426"/>+ <location filename="../qml/pages/HomePage.qml" line="3440"/><source>Listening for LocalSend devices on your Wi‑Fi network.</source><translation>Sucht nach LocalSend-Geräten in deinem WLAN.</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3427"/>+ <location filename="../qml/pages/HomePage.qml" line="3441"/><source>LocalSend port 53317 is busy on this PC (another LocalSend app may be running).</source><translation>LocalSend-Port 53317 ist auf diesem PC belegt (möglicherweise läuft eine andere LocalSend-App).</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3466"/>+ <location filename="../qml/pages/HomePage.qml" line="3480"/><source>Nearby device</source><translation>Gerät in der Nähe</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3522"/>+ <location filename="../qml/pages/HomePage.qml" line="3536"/><source>Image preview</source><translation>Bildvorschau</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3529"/>+ <location filename="../qml/pages/HomePage.qml" line="3543"/><source>Close</source><translation>Schließen</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3557"/>+ <location filename="../qml/pages/HomePage.qml" line="3571"/><source>Open externally</source><translation>Extern öffnen</translation></message>@@ -5824,59 +5839,82 @@ Voraussetzungen</message></context><context>- <name>PhotoBackup</name>+ <name>PhoneSound</name><message><location filename="rust_strings.h" line="389"/>+ <source>%1 couldn't ask to share its sound. Check that NectarLink can show notifications on the phone.</source>+ <translation>%1 konnte nicht fragen, ob der Ton geteilt werden darf. Prüfe, ob NectarLink auf dem Telefon Benachrichtigungen anzeigen darf.</translation>+ </message>+ <message>+ <location filename="rust_strings.h" line="390"/>+ <source>Mirroring is turned off for this phone.</source>+ <translation>Die Bildschirmspiegelung ist für dieses Gerät deaktiviert.</translation>+ </message>+ <message>+ <location filename="rust_strings.h" line="391"/>+ <source>The phone isn't connected.</source>+ <translation>Das Gerät ist nicht verbunden.</translation>+ </message>+ <message>+ <location filename="rust_strings.h" line="392"/>+ <source>Update NectarLink on %1 to play its sound here.</source>+ <translation>Aktualisiere NectarLink auf %1, um seinen Ton hier abzuspielen.</translation>+ </message>+</context>+<context>+ <name>PhotoBackup</name>+ <message>+ <location filename="rust_strings.h" line="393"/><source>Can't write to the backup folder.</source><translation>In den Sicherungsordner kann nicht geschrieben werden.</translation></message><message>- <location filename="rust_strings.h" line="390"/>+ <location filename="rust_strings.h" line="394"/><source>Copying, %1 left</source><translation>Wird kopiert, noch %1</translation></message><message>- <location filename="rust_strings.h" line="391"/>+ <location filename="rust_strings.h" line="395"/><source>Looking for new photos…</source><translation>Suche nach neuen Fotos…</translation></message><message>- <location filename="rust_strings.h" line="392"/>+ <location filename="rust_strings.h" line="396"/><source>Off</source><translation>Aus</translation></message><message>- <location filename="rust_strings.h" line="393"/>+ <location filename="rust_strings.h" line="397"/><source>Photos are turned off for this PC on %1.</source><translation>Fotos sind auf %1 für diesen PC deaktiviert.</translation></message><message>- <location filename="rust_strings.h" line="394"/>+ <location filename="rust_strings.h" line="398"/><source>The backup folder's drive is full.</source><translation>Das Laufwerk des Sicherungsordners ist voll.</translation></message><message>- <location filename="rust_strings.h" line="395"/>+ <location filename="rust_strings.h" line="399"/><source>The backup stopped. It tries again in a few minutes.</source><translation>Die Sicherung wurde unterbrochen. In wenigen Minuten wird es erneut versucht.</translation></message><message>- <location filename="rust_strings.h" line="396"/>+ <location filename="rust_strings.h" line="400"/><source>Up to date</source><translation>Auf dem neuesten Stand</translation></message><message>- <location filename="rust_strings.h" line="397"/>+ <location filename="rust_strings.h" line="401"/><source>Up to date, %1 backed up</source><translation>Auf dem neuesten Stand, %1 gesichert</translation></message><message>- <location filename="rust_strings.h" line="398"/>+ <location filename="rust_strings.h" line="402"/><source>Update NectarLink on %1 to back up its photos.</source><translation>Aktualisiere NectarLink auf %1, um dessen Fotos zu sichern.</translation></message><message>- <location filename="rust_strings.h" line="399"/>+ <location filename="rust_strings.h" line="403"/><source>Waiting for %1</source><translation>Wartet auf %1</translation></message>@@ -5884,67 +5922,67 @@ Voraussetzungen<context><name>Photos</name><message>- <location filename="rust_strings.h" line="400"/>+ <location filename="rust_strings.h" line="404"/><source>Copied to clipboard.</source><translation>In die Zwischenablage kopiert.</translation></message><message>- <location filename="rust_strings.h" line="401"/>+ <location filename="rust_strings.h" line="405"/><source>From %1</source><translation>Von %1</translation></message><message>- <location filename="rust_strings.h" line="402"/>+ <location filename="rust_strings.h" line="406"/><source>New photo</source><translation>Neues Foto</translation></message><message>- <location filename="rust_strings.h" line="403"/>+ <location filename="rust_strings.h" line="407"/><source>New screenshot</source><translation>Neuer Screenshot</translation></message><message>- <location filename="rust_strings.h" line="404"/>+ <location filename="rust_strings.h" line="408"/><source>No recent photos found on the phone.</source><translation>Keine aktuellen Fotos auf dem Gerät gefunden.</translation></message><message>- <location filename="rust_strings.h" line="405"/>+ <location filename="rust_strings.h" line="409"/><source>Opening latest photo…</source><translation>Neuestes Foto wird geöffnet…</translation></message><message>- <location filename="rust_strings.h" line="406"/>+ <location filename="rust_strings.h" line="410"/><source>Saved %1 items to %2.</source><translation>%1 Elemente unter %2 gespeichert.</translation></message><message>- <location filename="rust_strings.h" line="407"/>+ <location filename="rust_strings.h" line="411"/><source>Saved %1 to %2.</source><translation>%1 unter %2 gespeichert.</translation></message><message>- <location filename="rust_strings.h" line="408"/>+ <location filename="rust_strings.h" line="412"/><source>That photo isn't on the phone anymore.</source><translation>Dieses Foto befindet sich nicht mehr auf dem Gerät.</translation></message><message>- <location filename="rust_strings.h" line="409"/>+ <location filename="rust_strings.h" line="413"/><source>The phone doesn't share photos or files with this PC.</source><translation>Das Gerät teilt keine Fotos oder Dateien mit diesem PC.</translation></message><message>- <location filename="rust_strings.h" line="410"/>+ <location filename="rust_strings.h" line="414"/><source>The phone isn't connected right now.</source><translation>Das Gerät ist momentan nicht verbunden.</translation></message><message>- <location filename="rust_strings.h" line="411"/>+ <location filename="rust_strings.h" line="415"/><source>The photo couldn't be copied to the clipboard.</source><translation>Das Foto konnte nicht in die Zwischenablage kopiert werden.</translation></message><message>- <location filename="rust_strings.h" line="412"/>+ <location filename="rust_strings.h" line="416"/><source>The photo couldn't be copied. It's in Downloads\Nectarlink.</source><translation>Das Foto konnte nicht kopiert werden. Es liegt unter Downloads\Nectarlink.</translation></message>@@ -6224,32 +6262,32 @@ Voraussetzungen<context><name>PlayOnPhone</name><message>- <location filename="rust_strings.h" line="413"/>+ <location filename="rust_strings.h" line="417"/><source>Connect your phone to play on it.</source><translation>Verbinde dein Gerät, um darauf abzuspielen.</translation></message><message>- <location filename="rust_strings.h" line="414"/>+ <location filename="rust_strings.h" line="418"/><source>Media is turned off for %1.</source><translation>Medien sind für %1 deaktiviert.</translation></message><message>- <location filename="rust_strings.h" line="415"/>+ <location filename="rust_strings.h" line="419"/><source>Opening in %1 on %2. Tap the notification there.</source><translation>Wird in %1 auf %2 geöffnet. Tippe dort auf die Benachrichtigung.</translation></message><message>- <location filename="rust_strings.h" line="416"/>+ <location filename="rust_strings.h" line="420"/><source>Sent to %1. Tap the notification there.</source><translation>An %1 gesendet. Tippe dort auf die Benachrichtigung.</translation></message><message>- <location filename="rust_strings.h" line="417"/>+ <location filename="rust_strings.h" line="421"/><source>Tap the notification on %1 to watch.</source><translation>Tippe auf die Benachrichtigung auf %1, um zuzuschauen.</translation></message><message>- <location filename="rust_strings.h" line="418"/>+ <location filename="rust_strings.h" line="422"/><source>Update NectarLink on %1 to play on it.</source><translation>Aktualisiere NectarLink auf %1, um darauf abzuspielen.</translation></message>@@ -6257,7 +6295,7 @@ Voraussetzungen<context><name>Prefs</name><message>- <location filename="rust_strings.h" line="419"/>+ <location filename="rust_strings.h" line="423"/><source>Connected to OBS.</source><translation>Mit OBS verbunden.</translation></message>@@ -6265,7 +6303,7 @@ Voraussetzungen<context><name>Recordings</name><message>- <location filename="rust_strings.h" line="420"/>+ <location filename="rust_strings.h" line="424"/><source>Recording from %1 saved</source><translation>Aufnahme von %1 gespeichert</translation></message>@@ -6281,57 +6319,57 @@ Voraussetzungen<context><name>SendTo</name><message>- <location filename="rust_strings.h" line="421"/>+ <location filename="rust_strings.h" line="425"/><source>Copied to your phone's clipboard.</source><translation>In die Zwischenablage deines Geräts kopiert.</translation></message><message>- <location filename="rust_strings.h" line="422"/>+ <location filename="rust_strings.h" line="426"/><source>Couldn't reach %1.</source><translation>%1 konnte nicht erreicht werden.</translation></message><message>- <location filename="rust_strings.h" line="423"/>+ <location filename="rust_strings.h" line="427"/><source>Couldn't send %1</source><translation>%1 konnte nicht gesendet werden</translation></message><message>- <location filename="rust_strings.h" line="424"/>+ <location filename="rust_strings.h" line="428"/><source>Couldn't send to %1</source><translation>Senden an %1 fehlgeschlagen</translation></message><message>- <location filename="rust_strings.h" line="425"/>+ <location filename="rust_strings.h" line="429"/><source>Couldn't share with %1</source><translation>Teilen mit %1 fehlgeschlagen</translation></message><message>- <location filename="rust_strings.h" line="426"/>+ <location filename="rust_strings.h" line="430"/><source>File failed integrity check; partial file kept to resume.</source><translation>Integritätsprüfung der Datei fehlgeschlagen; Teildatei zum Fortsetzen behalten.</translation></message><message>- <location filename="rust_strings.h" line="427"/>+ <location filename="rust_strings.h" line="431"/><source>Send to %1 with NectarLink</source><translation>Mit NectarLink an %1 senden</translation></message><message>- <location filename="rust_strings.h" line="428"/>+ <location filename="rust_strings.h" line="432"/><source>Sending to %1…</source><translation>Wird an %1 gesendet…</translation></message><message>- <location filename="rust_strings.h" line="429"/>+ <location filename="rust_strings.h" line="433"/><source>Sent to %1</source><translation>An %1 gesendet</translation></message><message>- <location filename="rust_strings.h" line="430"/>+ <location filename="rust_strings.h" line="434"/><source>The transfer didn't go through.</source><translation>Die Übertragung konnte nicht abgeschlossen werden.</translation></message><message>- <location filename="rust_strings.h" line="431"/>+ <location filename="rust_strings.h" line="435"/><source>Waiting for %1…</source><translation>Wartet auf %1…</translation></message>@@ -7835,32 +7873,32 @@ Voraussetzungen<context><name>Setup</name><message>- <location filename="rust_strings.h" line="432"/>+ <location filename="rust_strings.h" line="436"/><source>Couldn't start setup: %1</source><translation>Installation konnte nicht gestartet werden: %1</translation></message><message>- <location filename="rust_strings.h" line="433"/>+ <location filename="rust_strings.h" line="437"/><source>Couldn't uninstall NectarLink: %1</source><translation>NectarLink konnte nicht deinstalliert werden: %1</translation></message><message>- <location filename="rust_strings.h" line="434"/>+ <location filename="rust_strings.h" line="438"/><source>Setup is taking too long. Try again after restarting the PC.</source><translation>Die Installation dauert zu lange. Starte den PC neu und versuche es erneut.</translation></message><message>- <location filename="rust_strings.h" line="435"/>+ <location filename="rust_strings.h" line="439"/><source>Setup stopped with code %1.</source><translation>Installation mit Code %1 abgebrochen.</translation></message><message>- <location filename="rust_strings.h" line="436"/>+ <location filename="rust_strings.h" line="440"/><source>The uninstaller is missing. Reinstall NectarLink, then uninstall it.</source><translation>Das Deinstallationsprogramm fehlt. Installiere NectarLink erneut und deinstalliere es anschließend.</translation></message><message>- <location filename="rust_strings.h" line="437"/>+ <location filename="rust_strings.h" line="441"/><source>Uninstall stopped with code %1.</source><translation>Die Deinstallation wurde mit Code %1 beendet.</translation></message>@@ -8250,147 +8288,147 @@ Voraussetzungen<context><name>Timeline</name><message>- <location filename="rust_strings.h" line="438"/>+ <location filename="rust_strings.h" line="442"/><source>App window #%1</source><translation>App-Fenster #%1</translation></message><message>- <location filename="rust_strings.h" line="439"/>+ <location filename="rust_strings.h" line="443"/><source>Clip (removed from clipboard history)</source><translation>Eintrag (aus dem Zwischenablageverlauf entfernt)</translation></message><message>- <location filename="rust_strings.h" line="440"/>+ <location filename="rust_strings.h" line="444"/><source>Copied image</source><translation>Kopiertes Bild</translation></message><message>- <location filename="rust_strings.h" line="441"/>+ <location filename="rust_strings.h" line="445"/><source>Copied link to clipboard.</source><translation>Link in die Zwischenablage kopiert.</translation></message><message>- <location filename="rust_strings.h" line="442"/>+ <location filename="rust_strings.h" line="446"/><source>Copied to clipboard.</source><translation>In die Zwischenablage kopiert.</translation></message><message>- <location filename="rust_strings.h" line="443"/>+ <location filename="rust_strings.h" line="447"/><source>From %1</source><translation>Von %1</translation></message><message>- <location filename="rust_strings.h" line="444"/>+ <location filename="rust_strings.h" line="448"/><source>In progress</source><translation>In Bearbeitung</translation></message><message>- <location filename="rust_strings.h" line="445"/>+ <location filename="rust_strings.h" line="449"/><source>No phone is paired yet.</source><translation>Noch kein Gerät gekoppelt.</translation></message><message>- <location filename="rust_strings.h" line="446"/>+ <location filename="rust_strings.h" line="450"/><source>Opened from %1</source><translation>Von %1 geöffnet</translation></message><message>- <location filename="rust_strings.h" line="447"/>+ <location filename="rust_strings.h" line="451"/><source>Opened on %1</source><translation>Auf %1 geöffnet</translation></message><message>- <location filename="rust_strings.h" line="448"/>+ <location filename="rust_strings.h" line="452"/><source>Phone microphone</source><translation>Gerätemikrofon</translation></message><message>- <location filename="rust_strings.h" line="449"/>+ <location filename="rust_strings.h" line="453"/><source>Phone webcam</source><translation>Geräte-Webcam</translation></message><message>- <location filename="rust_strings.h" line="450"/>+ <location filename="rust_strings.h" line="454"/><source>Recorded on %1</source><translation>Auf %1 aufgenommen</translation></message><message>- <location filename="rust_strings.h" line="451"/>+ <location filename="rust_strings.h" line="455"/><source>Saved from %1</source><translation>Von %1 gespeichert</translation></message><message>- <location filename="rust_strings.h" line="452"/>+ <location filename="rust_strings.h" line="456"/><source>Screen mirroring</source><translation>Bildschirmspiegelung</translation></message><message>- <location filename="rust_strings.h" line="453"/>+ <location filename="rust_strings.h" line="457"/><source>Sending to %1…</source><translation>Wird an %1 gesendet…</translation></message><message>- <location filename="rust_strings.h" line="454"/>+ <location filename="rust_strings.h" line="458"/><source>Sent clip to %1.</source><translation>Zwischenablage an %1 gesendet.</translation></message><message>- <location filename="rust_strings.h" line="455"/>+ <location filename="rust_strings.h" line="459"/><source>Sent to %1</source><translation>An %1 gesendet</translation></message><message>- <location filename="rust_strings.h" line="456"/>+ <location filename="rust_strings.h" line="460"/><source>Session</source><translation>Sitzung</translation></message><message>- <location filename="rust_strings.h" line="457"/>+ <location filename="rust_strings.h" line="461"/><source>That clip is no longer in clipboard history.</source><translation>Dieser Eintrag befindet sich nicht mehr im Zwischenablageverlauf.</translation></message><message>- <location filename="rust_strings.h" line="458"/>+ <location filename="rust_strings.h" line="462"/><source>That entry couldn't be removed. Try again.</source><translation>Dieser Eintrag konnte nicht entfernt werden. Versuche es erneut.</translation></message><message>- <location filename="rust_strings.h" line="459"/>+ <location filename="rust_strings.h" line="463"/><source>That file was moved or deleted.</source><translation>Diese Datei wurde verschoben oder gelöscht.</translation></message><message>- <location filename="rust_strings.h" line="460"/>+ <location filename="rust_strings.h" line="464"/><source>That isn't a web link.</source><translation>Das ist kein Weblink.</translation></message><message>- <location filename="rust_strings.h" line="461"/>+ <location filename="rust_strings.h" line="465"/><source>That photo was moved or deleted.</source><translation>Dieses Foto wurde verschoben oder gelöscht.</translation></message><message>- <location filename="rust_strings.h" line="462"/>+ <location filename="rust_strings.h" line="466"/><source>The Timeline couldn't be cleared. Try again.</source><translation>Der Zeitverlauf konnte nicht geleert werden. Versuche es erneut.</translation></message><message>- <location filename="rust_strings.h" line="463"/>+ <location filename="rust_strings.h" line="467"/><source>The photo couldn't be copied to the clipboard.</source><translation>Das Foto konnte nicht in die Zwischenablage kopiert werden.</translation></message><message>- <location filename="rust_strings.h" line="464"/>+ <location filename="rust_strings.h" line="468"/><source>Voice recording</source><translation>Sprachaufnahme</translation></message><message>- <location filename="rust_strings.h" line="465"/>+ <location filename="rust_strings.h" line="469"/><source>With %1</source><translation>Mit %1</translation></message><message>- <location filename="rust_strings.h" line="466"/>+ <location filename="rust_strings.h" line="470"/><source>device</source><translation>Gerät</translation></message>@@ -8707,37 +8745,37 @@ Voraussetzungen<context><name>Transfers</name><message>- <location filename="rust_strings.h" line="467"/>+ <location filename="rust_strings.h" line="471"/><source>Accept in NectarLink to save to Downloads\Nectarlink</source><translation>In NectarLink annehmen, um unter Downloads\Nectarlink zu speichern</translation></message><message>- <location filename="rust_strings.h" line="468"/>+ <location filename="rust_strings.h" line="472"/><source>Files are turned off for that device.</source><translation>Dateien sind für dieses Gerät deaktiviert.</translation></message><message>- <location filename="rust_strings.h" line="469"/>+ <location filename="rust_strings.h" line="473"/><source>From %1, opened from Downloads\Nectarlink</source><translation>Von %1, geöffnet aus Downloads\Nectarlink</translation></message><message>- <location filename="rust_strings.h" line="470"/>+ <location filename="rust_strings.h" line="474"/><source>From %1, saved in Downloads\Nectarlink</source><translation>Von %1, gespeichert unter Downloads\Nectarlink</translation></message><message>- <location filename="rust_strings.h" line="471"/>+ <location filename="rust_strings.h" line="475"/><source>Nearby device</source><translation>Gerät in der Nähe</translation></message><message>- <location filename="rust_strings.h" line="472"/>+ <location filename="rust_strings.h" line="476"/><source>That's too many files to send at once.</source><translation>Das sind zu viele Dateien auf einmal.</translation></message><message>- <location filename="rust_strings.h" line="473"/>+ <location filename="rust_strings.h" line="477"/><source>There's nothing to send in there.</source><translation>Dort gibt es nichts zu senden.</translation></message>@@ -8745,72 +8783,72 @@ Voraussetzungen<context><name>Updater</name><message>- <location filename="rust_strings.h" line="474"/>+ <location filename="rust_strings.h" line="478"/><source>Couldn't check for updates. Check your internet connection.</source><translation>Suche nach Updates fehlgeschlagen. Prüfe deine Internetverbindung.</translation></message><message>- <location filename="rust_strings.h" line="475"/>+ <location filename="rust_strings.h" line="479"/><source>NectarLink %1 is available</source><translation>NectarLink %1 ist verfügbar</translation></message><message>- <location filename="rust_strings.h" line="476"/>+ <location filename="rust_strings.h" line="480"/><source>NectarLink %1 is available.</source><translation>NectarLink %1 ist verfügbar.</translation></message><message>- <location filename="rust_strings.h" line="477"/>+ <location filename="rust_strings.h" line="481"/><source>NectarLink is still on the version you had. Try again from Settings.</source><translation>NectarLink befindet sich noch auf der bisherigen Version. Versuche es über die Einstellungen erneut.</translation></message><message>- <location filename="rust_strings.h" line="478"/>+ <location filename="rust_strings.h" line="482"/><source>NectarLink is up to date.</source><translation>NectarLink ist auf dem neuesten Stand.</translation></message><message>- <location filename="rust_strings.h" line="479"/>+ <location filename="rust_strings.h" line="483"/><source>NectarLink is updated to %1</source><translation>NectarLink wurde auf %1 aktualisiert</translation></message><message>- <location filename="rust_strings.h" line="480"/>+ <location filename="rust_strings.h" line="484"/><source>The download was damaged, so it wasn't installed. Try again.</source><translation>Der Download war beschädigt und wurde daher nicht installiert. Versuche es erneut.</translation></message><message>- <location filename="rust_strings.h" line="481"/>+ <location filename="rust_strings.h" line="485"/><source>The update couldn't be downloaded. Check your internet connection and try again.</source><translation>Das Update konnte nicht heruntergeladen werden. Prüfe deine Internetverbindung und versuche es erneut.</translation></message><message>- <location filename="rust_strings.h" line="482"/>+ <location filename="rust_strings.h" line="486"/><source>The update couldn't be saved. Check that there's free space and try again.</source><translation>Das Update konnte nicht gespeichert werden. Prüfe, ob genügend freier Speicherplatz vorhanden ist, und versuche es erneut.</translation></message><message>- <location filename="rust_strings.h" line="483"/>+ <location filename="rust_strings.h" line="487"/><source>The update couldn't be started. Try again.</source><translation>Das Update konnte nicht gestartet werden. Versuche es erneut.</translation></message><message>- <location filename="rust_strings.h" line="484"/>+ <location filename="rust_strings.h" line="488"/><source>The update didn't install</source><translation>Das Update wurde nicht installiert</translation></message><message>- <location filename="rust_strings.h" line="485"/>+ <location filename="rust_strings.h" line="489"/><source>The update is installed. Restart NectarLink to use it.</source><translation>Das Update ist installiert. Starte NectarLink neu, um es zu verwenden.</translation></message><message>- <location filename="rust_strings.h" line="486"/>+ <location filename="rust_strings.h" line="490"/><source>Update now, or later from Settings.</source><translation>Jetzt oder später über die Einstellungen aktualisieren.</translation></message><message>- <location filename="rust_strings.h" line="487"/>+ <location filename="rust_strings.h" line="491"/><source>Your phone reconnects on its own.</source><translation>Dein Gerät verbindet sich automatisch wieder.</translation></message>@@ -9021,12 +9059,12 @@ Voraussetzungen<context><name>Webcam</name><message>- <location filename="rust_strings.h" line="488"/>+ <location filename="rust_strings.h" line="492"/><source>Starting camera on %1…</source><translation>Kamera auf %1 wird gestartet…</translation></message><message>- <location filename="rust_strings.h" line="489"/>+ <location filename="rust_strings.h" line="493"/><source>Streaming %1 × %2 · %3 fps from %4</source><translation>Streamt %1 × %2 · %3 FPS von %4</translation></message>@@ -9057,17 +9095,17 @@ Voraussetzungen<context><name>Widget</name><message>- <location filename="rust_strings.h" line="490"/>+ <location filename="rust_strings.h" line="494"/><source>No phone connected</source><translation>Kein Gerät verbunden</translation></message><message>- <location filename="rust_strings.h" line="491"/>+ <location filename="rust_strings.h" line="495"/><source>No recent clipboard items</source><translation>Keine aktuellen Einträge in der Zwischenablage</translation></message><message>- <location filename="rust_strings.h" line="492"/>+ <location filename="rust_strings.h" line="496"/><source>Not available</source><translation>Nicht verfügbar</translation></message>diff --git a/desktop/app/i18n/nectarlink_zh_CN.ts b/desktop/app/i18n/nectarlink_zh_CN.tsindex 3d18b1a..f1aa04c 100644--- a/desktop/app/i18n/nectarlink_zh_CN.ts+++ b/desktop/app/i18n/nectarlink_zh_CN.ts@@ -3665,7 +3665,7 @@ What it needs</message><message><location filename="../qml/pages/HomePage.qml" line="1298"/>- <location filename="../qml/pages/HomePage.qml" line="3484"/>+ <location filename="../qml/pages/HomePage.qml" line="3498"/><source>Send files</source><translation>发送文件</translation></message>@@ -3681,7 +3681,7 @@ What it needs</message><message><location filename="../qml/pages/HomePage.qml" line="1317"/>- <location filename="../qml/pages/HomePage.qml" line="2763"/>+ <location filename="../qml/pages/HomePage.qml" line="2777"/><source>Clipboard history</source><translation>剪贴板历史记录</translation></message>@@ -3772,14 +3772,14 @@ What it needs</message><message><location filename="../qml/pages/HomePage.qml" line="1547"/>- <location filename="../qml/pages/HomePage.qml" line="2125"/>- <location filename="../qml/pages/HomePage.qml" line="2217"/>+ <location filename="../qml/pages/HomePage.qml" line="2139"/>+ <location filename="../qml/pages/HomePage.qml" line="2231"/><source>Cancel</source><translation>取消</translation></message><message><location filename="../qml/pages/HomePage.qml" line="1582"/>- <location filename="../qml/pages/HomePage.qml" line="2477"/>+ <location filename="../qml/pages/HomePage.qml" line="2491"/><source>Timeline</source><translation>时间线</translation></message>@@ -3855,7 +3855,7 @@ What it needs</message><message><location filename="../qml/pages/HomePage.qml" line="1882"/>- <location filename="../qml/pages/HomePage.qml" line="2329"/>+ <location filename="../qml/pages/HomePage.qml" line="2343"/><source>Stop</source><translation>停止</translation></message>@@ -3960,327 +3960,342 @@ What it needs<translation>请先在此电脑上播放视频</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2116"/>+ <location filename="../qml/pages/HomePage.qml" line="2097"/>+ <source>Phone sound on this PC</source>+ <translation>在此电脑上播放手机声音</translation>+ </message>+ <message>+ <location filename="../qml/pages/HomePage.qml" line="2099"/>+ <source>Playing %1's sound</source>+ <translation>正在播放 %1 的声音</translation>+ </message>+ <message>+ <location filename="../qml/pages/HomePage.qml" line="2100"/>+ <source>Allow it on %1</source>+ <translation>请在 %1 上允许</translation>+ </message>+ <message>+ <location filename="../qml/pages/HomePage.qml" line="2130"/><source>Turning off Wi‑Fi may disconnect %1.</source><translation>关闭 Wi‑Fi 可能会断开 %1。</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2131"/>+ <location filename="../qml/pages/HomePage.qml" line="2145"/><source>Turn off</source><translation>关闭</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2156"/>+ <location filename="../qml/pages/HomePage.qml" line="2170"/><source>Ring</source><translation>响铃</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2157"/>+ <location filename="../qml/pages/HomePage.qml" line="2171"/><source>Vibrate</source><translation>振动</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2158"/>+ <location filename="../qml/pages/HomePage.qml" line="2172"/><source>Silent</source><translation>静音</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2175"/>+ <location filename="../qml/pages/HomePage.qml" line="2189"/><source>Volume</source><translation>音量</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2186"/>+ <location filename="../qml/pages/HomePage.qml" line="2200"/><source>Brightness</source><translation>亮度</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2207"/>+ <location filename="../qml/pages/HomePage.qml" line="2221"/><source>Continuity Camera</source><translation>接续相机</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2218"/>+ <location filename="../qml/pages/HomePage.qml" line="2232"/><source>Scan document</source><translation>扫描文档</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2231"/>+ <location filename="../qml/pages/HomePage.qml" line="2245"/><source>Phone as webcam</source><translation>手机作为摄像头</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2234"/>+ <location filename="../qml/pages/HomePage.qml" line="2248"/><source>Streaming</source><translation>正在传输</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2305"/>+ <location filename="../qml/pages/HomePage.qml" line="2319"/><source>Type on phone</source><translation>在手机上输入</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2316"/>+ <location filename="../qml/pages/HomePage.qml" line="2330"/><source>Sent: %1</source><translation>已发送:%1</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2317"/>+ <location filename="../qml/pages/HomePage.qml" line="2331"/><source>Listening for keys</source><translation>正在监听按键</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2318"/>- <location filename="../qml/pages/HomePage.qml" line="3080"/>+ <location filename="../qml/pages/HomePage.qml" line="2332"/>+ <location filename="../qml/pages/HomePage.qml" line="3094"/><source>When connected</source><translation>连接后</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2329"/>+ <location filename="../qml/pages/HomePage.qml" line="2343"/><source>Start</source><translation>开始</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2377"/>- <location filename="../qml/pages/HomePage.qml" line="2444"/>+ <location filename="../qml/pages/HomePage.qml" line="2391"/>+ <location filename="../qml/pages/HomePage.qml" line="2458"/><source>Clipboard</source><translation>剪贴板</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2424"/>+ <location filename="../qml/pages/HomePage.qml" line="2438"/><source>Type here: keys go to %1</source><translation>在此输入:按键将发送到 %1</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2425"/>+ <location filename="../qml/pages/HomePage.qml" line="2439"/><source>Click to focus keyboard</source><translation>点击以聚焦键盘</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2432"/>+ <location filename="../qml/pages/HomePage.qml" line="2446"/><source>Ctrl+V pastes · Esc stops</source><translation>Ctrl+V 粘贴 · Esc 停止</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2441"/>+ <location filename="../qml/pages/HomePage.qml" line="2455"/><source>Paste</source><translation>粘贴</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2486"/>+ <location filename="../qml/pages/HomePage.qml" line="2500"/><source>View all</source><translation>查看全部</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2496"/>+ <location filename="../qml/pages/HomePage.qml" line="2510"/><source>No recent activity</source><translation>没有最近活动</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2585"/>+ <location filename="../qml/pages/HomePage.qml" line="2599"/><source>%1 notifications</source><translation>%1 条通知</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2588"/>+ <location filename="../qml/pages/HomePage.qml" line="2602"/><source>Show</source><translation>显示</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2589"/>+ <location filename="../qml/pages/HomePage.qml" line="2603"/><source>No pop-ups</source><translation>不弹出提示</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2590"/>+ <location filename="../qml/pages/HomePage.qml" line="2604"/><source>Hide</source><translation>隐藏</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2604"/>+ <location filename="../qml/pages/HomePage.qml" line="2618"/><source>Hidden on this PC.</source><translation>已在本机隐藏。</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2606"/>+ <location filename="../qml/pages/HomePage.qml" line="2620"/><source>Shown in feed without pop-ups.</source><translation>在信息流中显示,但不弹出提示。</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2608"/>+ <location filename="../qml/pages/HomePage.qml" line="2622"/><source>Shown in feed and as desktop pop-ups.</source><translation>在信息流中显示,并作为桌面弹窗提示。</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2609"/>+ <location filename="../qml/pages/HomePage.qml" line="2623"/><source>Shown in feed and as Windows pop-ups.</source><translation>在信息流中显示,并作为 Windows 弹窗提示。</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2613"/>- <location filename="../qml/pages/HomePage.qml" line="2740"/>- <location filename="../qml/pages/HomePage.qml" line="2983"/>- <location filename="../qml/pages/HomePage.qml" line="3561"/>+ <location filename="../qml/pages/HomePage.qml" line="2627"/>+ <location filename="../qml/pages/HomePage.qml" line="2754"/>+ <location filename="../qml/pages/HomePage.qml" line="2997"/>+ <location filename="../qml/pages/HomePage.qml" line="3575"/><source>Done</source><translation>完成</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2632"/>+ <location filename="../qml/pages/HomePage.qml" line="2646"/><source>Notification history</source><translation>通知历史记录</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2640"/>- <location filename="../qml/pages/HomePage.qml" line="2771"/>+ <location filename="../qml/pages/HomePage.qml" line="2654"/>+ <location filename="../qml/pages/HomePage.qml" line="2785"/><source>Clear history</source><translation>清除历史记录</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2650"/>+ <location filename="../qml/pages/HomePage.qml" line="2664"/><source>Dismissed notifications from the last 24 hours.</source><translation>最近 24 小时内已忽略的通知。</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2651"/>+ <location filename="../qml/pages/HomePage.qml" line="2665"/><source>No recent notifications.</source><translation>没有最近的通知。</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2693"/>- <location filename="../qml/pages/HomePage.qml" line="2699"/>+ <location filename="../qml/pages/HomePage.qml" line="2707"/>+ <location filename="../qml/pages/HomePage.qml" line="2713"/><source>Search notification history</source><translation>搜索通知历史记录</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2736"/>- <location filename="../qml/pages/HomePage.qml" line="2979"/>+ <location filename="../qml/pages/HomePage.qml" line="2750"/>+ <location filename="../qml/pages/HomePage.qml" line="2993"/><source>Nothing matches “%1”.</source><translation>没有匹配“%1”的内容。</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2781"/>+ <location filename="../qml/pages/HomePage.qml" line="2795"/><source>Last 50 shared clips.</source><translation>最近 50 条共享剪贴内容。</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2782"/>+ <location filename="../qml/pages/HomePage.qml" line="2796"/><source>No shared clips yet.</source><translation>还没有共享的剪贴内容。</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2822"/>- <location filename="../qml/pages/HomePage.qml" line="2828"/>+ <location filename="../qml/pages/HomePage.qml" line="2836"/>+ <location filename="../qml/pages/HomePage.qml" line="2842"/><source>Search clipboard history</source><translation>搜索剪贴板历史记录</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2848"/>+ <location filename="../qml/pages/HomePage.qml" line="2862"/><source>From %1</source><translation>来自 %1</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2848"/>+ <location filename="../qml/pages/HomePage.qml" line="2862"/><source>From phone</source><translation>来自手机</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2849"/>+ <location filename="../qml/pages/HomePage.qml" line="2863"/><source>Sent to %1</source><translation>已发送到 %1</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2849"/>+ <location filename="../qml/pages/HomePage.qml" line="2863"/><source>From this PC</source><translation>来自本机</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2855"/>+ <location filename="../qml/pages/HomePage.qml" line="2869"/><source>Image</source><translation>图片</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2893"/>+ <location filename="../qml/pages/HomePage.qml" line="2907"/><source>Pinned</source><translation>已固定</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2937"/>+ <location filename="../qml/pages/HomePage.qml" line="2951"/><source>Open on phone</source><translation>在手机上打开</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2946"/>+ <location filename="../qml/pages/HomePage.qml" line="2960"/><source>Send to phone</source><translation>发送到手机</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2954"/>+ <location filename="../qml/pages/HomePage.qml" line="2968"/><source>Copy</source><translation>复制</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2960"/>+ <location filename="../qml/pages/HomePage.qml" line="2974"/><source>Unpin</source><translation>取消固定</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2960"/>+ <location filename="../qml/pages/HomePage.qml" line="2974"/><source>Pin</source><translation>固定</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="2965"/>+ <location filename="../qml/pages/HomePage.qml" line="2979"/><source>Delete</source><translation>删除</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3253"/>- <location filename="../qml/pages/HomePage.qml" line="3264"/>+ <location filename="../qml/pages/HomePage.qml" line="3267"/>+ <location filename="../qml/pages/HomePage.qml" line="3278"/><source>%1%</source><translation>%1%</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3405"/>+ <location filename="../qml/pages/HomePage.qml" line="3419"/><source>LocalSend nearby · %1</source><translation>LocalSend 附近 · %1</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3406"/>+ <location filename="../qml/pages/HomePage.qml" line="3420"/><source>LocalSend nearby</source><translation>LocalSend 附近</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3415"/>+ <location filename="../qml/pages/HomePage.qml" line="3429"/><source>Refresh</source><translation>刷新</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3426"/>+ <location filename="../qml/pages/HomePage.qml" line="3440"/><source>Listening for LocalSend devices on your Wi‑Fi network.</source><translation>正在您的 Wi‑Fi 网络上监听 LocalSend 设备。</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3427"/>+ <location filename="../qml/pages/HomePage.qml" line="3441"/><source>LocalSend port 53317 is busy on this PC (another LocalSend app may be running).</source><translation>本机的 LocalSend 端口 53317 已被占用(可能正在运行另一个 LocalSend 应用)。</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3466"/>+ <location filename="../qml/pages/HomePage.qml" line="3480"/><source>Nearby device</source><translation>附近设备</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3522"/>+ <location filename="../qml/pages/HomePage.qml" line="3536"/><source>Image preview</source><translation>图片预览</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3529"/>+ <location filename="../qml/pages/HomePage.qml" line="3543"/><source>Close</source><translation>关闭</translation></message><message>- <location filename="../qml/pages/HomePage.qml" line="3557"/>+ <location filename="../qml/pages/HomePage.qml" line="3571"/><source>Open externally</source><translation>用外部程序打开</translation></message>@@ -5820,59 +5835,82 @@ What it needs</message></context><context>- <name>PhotoBackup</name>+ <name>PhoneSound</name><message><location filename="rust_strings.h" line="389"/>+ <source>%1 couldn't ask to share its sound. Check that NectarLink can show notifications on the phone.</source>+ <translation>%1 无法请求共享声音。请检查手机上的 NectarLink 是否可以显示通知。</translation>+ </message>+ <message>+ <location filename="rust_strings.h" line="390"/>+ <source>Mirroring is turned off for this phone.</source>+ <translation>已为此手机关闭镜像。</translation>+ </message>+ <message>+ <location filename="rust_strings.h" line="391"/>+ <source>The phone isn't connected.</source>+ <translation>手机未连接。</translation>+ </message>+ <message>+ <location filename="rust_strings.h" line="392"/>+ <source>Update NectarLink on %1 to play its sound here.</source>+ <translation>请在 %1 上更新 NectarLink,以在此播放其声音。</translation>+ </message>+</context>+<context>+ <name>PhotoBackup</name>+ <message>+ <location filename="rust_strings.h" line="393"/><source>Can't write to the backup folder.</source><translation>无法写入备份文件夹。</translation></message><message>- <location filename="rust_strings.h" line="390"/>+ <location filename="rust_strings.h" line="394"/><source>Copying, %1 left</source><translation>正在复制,还剩 %1 项</translation></message><message>- <location filename="rust_strings.h" line="391"/>+ <location filename="rust_strings.h" line="395"/><source>Looking for new photos…</source><translation>正在查找新照片…</translation></message><message>- <location filename="rust_strings.h" line="392"/>+ <location filename="rust_strings.h" line="396"/><source>Off</source><translation>已关闭</translation></message><message>- <location filename="rust_strings.h" line="393"/>+ <location filename="rust_strings.h" line="397"/><source>Photos are turned off for this PC on %1.</source><translation>%1 上已为此电脑关闭照片。</translation></message><message>- <location filename="rust_strings.h" line="394"/>+ <location filename="rust_strings.h" line="398"/><source>The backup folder's drive is full.</source><translation>备份文件夹所在的磁盘已满。</translation></message><message>- <location filename="rust_strings.h" line="395"/>+ <location filename="rust_strings.h" line="399"/><source>The backup stopped. It tries again in a few minutes.</source><translation>备份已停止,几分钟后会再试。</translation></message><message>- <location filename="rust_strings.h" line="396"/>+ <location filename="rust_strings.h" line="400"/><source>Up to date</source><translation>已是最新</translation></message><message>- <location filename="rust_strings.h" line="397"/>+ <location filename="rust_strings.h" line="401"/><source>Up to date, %1 backed up</source><translation>已是最新,已备份 %1 项</translation></message><message>- <location filename="rust_strings.h" line="398"/>+ <location filename="rust_strings.h" line="402"/><source>Update NectarLink on %1 to back up its photos.</source><translation>请在 %1 上更新 NectarLink 以备份其照片。</translation></message><message>- <location filename="rust_strings.h" line="399"/>+ <location filename="rust_strings.h" line="403"/><source>Waiting for %1</source><translation>正在等待 %1</translation></message>@@ -5880,67 +5918,67 @@ What it needs<context><name>Photos</name><message>- <location filename="rust_strings.h" line="400"/>+ <location filename="rust_strings.h" line="404"/><source>Copied to clipboard.</source><translation>已复制到剪贴板。</translation></message><message>- <location filename="rust_strings.h" line="401"/>+ <location filename="rust_strings.h" line="405"/><source>From %1</source><translation>来自 %1</translation></message><message>- <location filename="rust_strings.h" line="402"/>+ <location filename="rust_strings.h" line="406"/><source>New photo</source><translation>新照片</translation></message><message>- <location filename="rust_strings.h" line="403"/>+ <location filename="rust_strings.h" line="407"/><source>New screenshot</source><translation>新截图</translation></message><message>- <location filename="rust_strings.h" line="404"/>+ <location filename="rust_strings.h" line="408"/><source>No recent photos found on the phone.</source><translation>手机上没有最近的照片。</translation></message><message>- <location filename="rust_strings.h" line="405"/>+ <location filename="rust_strings.h" line="409"/><source>Opening latest photo…</source><translation>正在打开最新照片…</translation></message><message>- <location filename="rust_strings.h" line="406"/>+ <location filename="rust_strings.h" line="410"/><source>Saved %1 items to %2.</source><translation>已将 %1 个项目保存到 %2。</translation></message><message>- <location filename="rust_strings.h" line="407"/>+ <location filename="rust_strings.h" line="411"/><source>Saved %1 to %2.</source><translation>已将 %1 保存到 %2。</translation></message><message>- <location filename="rust_strings.h" line="408"/>+ <location filename="rust_strings.h" line="412"/><source>That photo isn't on the phone anymore.</source><translation>该照片已不在手机上。</translation></message><message>- <location filename="rust_strings.h" line="409"/>+ <location filename="rust_strings.h" line="413"/><source>The phone doesn't share photos or files with this PC.</source><translation>手机未与此电脑共享照片或文件。</translation></message><message>- <location filename="rust_strings.h" line="410"/>+ <location filename="rust_strings.h" line="414"/><source>The phone isn't connected right now.</source><translation>手机当前未连接。</translation></message><message>- <location filename="rust_strings.h" line="411"/>+ <location filename="rust_strings.h" line="415"/><source>The photo couldn't be copied to the clipboard.</source><translation>无法将照片复制到剪贴板。</translation></message><message>- <location filename="rust_strings.h" line="412"/>+ <location filename="rust_strings.h" line="416"/><source>The photo couldn't be copied. It's in Downloads\Nectarlink.</source><translation>无法复制照片。它在 Downloads\Nectarlink 中。</translation></message>@@ -6220,32 +6258,32 @@ What it needs<context><name>PlayOnPhone</name><message>- <location filename="rust_strings.h" line="413"/>+ <location filename="rust_strings.h" line="417"/><source>Connect your phone to play on it.</source><translation>请连接手机后再在其上播放。</translation></message><message>- <location filename="rust_strings.h" line="414"/>+ <location filename="rust_strings.h" line="418"/><source>Media is turned off for %1.</source><translation>已为 %1 关闭媒体。</translation></message><message>- <location filename="rust_strings.h" line="415"/>+ <location filename="rust_strings.h" line="419"/><source>Opening in %1 on %2. Tap the notification there.</source><translation>正在 %2 上用 %1 打开。请轻触那里的通知。</translation></message><message>- <location filename="rust_strings.h" line="416"/>+ <location filename="rust_strings.h" line="420"/><source>Sent to %1. Tap the notification there.</source><translation>已发送到 %1。请轻触那里的通知。</translation></message><message>- <location filename="rust_strings.h" line="417"/>+ <location filename="rust_strings.h" line="421"/><source>Tap the notification on %1 to watch.</source><translation>轻触 %1 上的通知即可观看。</translation></message><message>- <location filename="rust_strings.h" line="418"/>+ <location filename="rust_strings.h" line="422"/><source>Update NectarLink on %1 to play on it.</source><translation>请更新 %1 上的 NectarLink 以在其上播放。</translation></message>@@ -6253,7 +6291,7 @@ What it needs<context><name>Prefs</name><message>- <location filename="rust_strings.h" line="419"/>+ <location filename="rust_strings.h" line="423"/><source>Connected to OBS.</source><translation>已连接到 OBS。</translation></message>@@ -6261,7 +6299,7 @@ What it needs<context><name>Recordings</name><message>- <location filename="rust_strings.h" line="420"/>+ <location filename="rust_strings.h" line="424"/><source>Recording from %1 saved</source><translation>已保存来自 %1 的录音</translation></message>@@ -6277,57 +6315,57 @@ What it needs<context><name>SendTo</name><message>- <location filename="rust_strings.h" line="421"/>+ <location filename="rust_strings.h" line="425"/><source>Copied to your phone's clipboard.</source><translation>已复制到手机的剪贴板。</translation></message><message>- <location filename="rust_strings.h" line="422"/>+ <location filename="rust_strings.h" line="426"/><source>Couldn't reach %1.</source><translation>无法连接 %1。</translation></message><message>- <location filename="rust_strings.h" line="423"/>+ <location filename="rust_strings.h" line="427"/><source>Couldn't send %1</source><translation>无法发送 %1</translation></message><message>- <location filename="rust_strings.h" line="424"/>+ <location filename="rust_strings.h" line="428"/><source>Couldn't send to %1</source><translation>无法发送到 %1</translation></message><message>- <location filename="rust_strings.h" line="425"/>+ <location filename="rust_strings.h" line="429"/><source>Couldn't share with %1</source><translation>无法与 %1 共享</translation></message><message>- <location filename="rust_strings.h" line="426"/>+ <location filename="rust_strings.h" line="430"/><source>File failed integrity check; partial file kept to resume.</source><translation>文件未通过完整性校验;已保留部分文件以便继续。</translation></message><message>- <location filename="rust_strings.h" line="427"/>+ <location filename="rust_strings.h" line="431"/><source>Send to %1 with NectarLink</source><translation>用 NectarLink 发送到 %1</translation></message><message>- <location filename="rust_strings.h" line="428"/>+ <location filename="rust_strings.h" line="432"/><source>Sending to %1…</source><translation>正在发送到 %1…</translation></message><message>- <location filename="rust_strings.h" line="429"/>+ <location filename="rust_strings.h" line="433"/><source>Sent to %1</source><translation>已发送到 %1</translation></message><message>- <location filename="rust_strings.h" line="430"/>+ <location filename="rust_strings.h" line="434"/><source>The transfer didn't go through.</source><translation>传输未完成。</translation></message><message>- <location filename="rust_strings.h" line="431"/>+ <location filename="rust_strings.h" line="435"/><source>Waiting for %1…</source><translation>正在等待 %1…</translation></message>@@ -7831,32 +7869,32 @@ What it needs<context><name>Setup</name><message>- <location filename="rust_strings.h" line="432"/>+ <location filename="rust_strings.h" line="436"/><source>Couldn't start setup: %1</source><translation>无法启动安装程序:%1</translation></message><message>- <location filename="rust_strings.h" line="433"/>+ <location filename="rust_strings.h" line="437"/><source>Couldn't uninstall NectarLink: %1</source><translation>无法卸载 NectarLink:%1</translation></message><message>- <location filename="rust_strings.h" line="434"/>+ <location filename="rust_strings.h" line="438"/><source>Setup is taking too long. Try again after restarting the PC.</source><translation>安装时间过长。请重启电脑后再试。</translation></message><message>- <location filename="rust_strings.h" line="435"/>+ <location filename="rust_strings.h" line="439"/><source>Setup stopped with code %1.</source><translation>安装已停止,代码 %1。</translation></message><message>- <location filename="rust_strings.h" line="436"/>+ <location filename="rust_strings.h" line="440"/><source>The uninstaller is missing. Reinstall NectarLink, then uninstall it.</source><translation>缺少卸载程序。请重新安装 NectarLink,然后再卸载。</translation></message><message>- <location filename="rust_strings.h" line="437"/>+ <location filename="rust_strings.h" line="441"/><source>Uninstall stopped with code %1.</source><translation>卸载已停止,代码 %1。</translation></message>@@ -8246,147 +8284,147 @@ What it needs<context><name>Timeline</name><message>- <location filename="rust_strings.h" line="438"/>+ <location filename="rust_strings.h" line="442"/><source>App window #%1</source><translation>应用窗口 #%1</translation></message><message>- <location filename="rust_strings.h" line="439"/>+ <location filename="rust_strings.h" line="443"/><source>Clip (removed from clipboard history)</source><translation>剪贴内容(已从剪贴板历史中删除)</translation></message><message>- <location filename="rust_strings.h" line="440"/>+ <location filename="rust_strings.h" line="444"/><source>Copied image</source><translation>已复制的图片</translation></message><message>- <location filename="rust_strings.h" line="441"/>+ <location filename="rust_strings.h" line="445"/><source>Copied link to clipboard.</source><translation>已将链接复制到剪贴板。</translation></message><message>- <location filename="rust_strings.h" line="442"/>+ <location filename="rust_strings.h" line="446"/><source>Copied to clipboard.</source><translation>已复制到剪贴板。</translation></message><message>- <location filename="rust_strings.h" line="443"/>+ <location filename="rust_strings.h" line="447"/><source>From %1</source><translation>来自 %1</translation></message><message>- <location filename="rust_strings.h" line="444"/>+ <location filename="rust_strings.h" line="448"/><source>In progress</source><translation>进行中</translation></message><message>- <location filename="rust_strings.h" line="445"/>+ <location filename="rust_strings.h" line="449"/><source>No phone is paired yet.</source><translation>尚未配对手机。</translation></message><message>- <location filename="rust_strings.h" line="446"/>+ <location filename="rust_strings.h" line="450"/><source>Opened from %1</source><translation>从 %1 打开</translation></message><message>- <location filename="rust_strings.h" line="447"/>+ <location filename="rust_strings.h" line="451"/><source>Opened on %1</source><translation>在 %1 上打开</translation></message><message>- <location filename="rust_strings.h" line="448"/>+ <location filename="rust_strings.h" line="452"/><source>Phone microphone</source><translation>手机麦克风</translation></message><message>- <location filename="rust_strings.h" line="449"/>+ <location filename="rust_strings.h" line="453"/><source>Phone webcam</source><translation>手机摄像头</translation></message><message>- <location filename="rust_strings.h" line="450"/>+ <location filename="rust_strings.h" line="454"/><source>Recorded on %1</source><translation>在 %1 上录制</translation></message><message>- <location filename="rust_strings.h" line="451"/>+ <location filename="rust_strings.h" line="455"/><source>Saved from %1</source><translation>从 %1 保存</translation></message><message>- <location filename="rust_strings.h" line="452"/>+ <location filename="rust_strings.h" line="456"/><source>Screen mirroring</source><translation>屏幕镜像</translation></message><message>- <location filename="rust_strings.h" line="453"/>+ <location filename="rust_strings.h" line="457"/><source>Sending to %1…</source><translation>正在发送到 %1…</translation></message><message>- <location filename="rust_strings.h" line="454"/>+ <location filename="rust_strings.h" line="458"/><source>Sent clip to %1.</source><translation>已将剪贴内容发送到 %1。</translation></message><message>- <location filename="rust_strings.h" line="455"/>+ <location filename="rust_strings.h" line="459"/><source>Sent to %1</source><translation>已发送到 %1</translation></message><message>- <location filename="rust_strings.h" line="456"/>+ <location filename="rust_strings.h" line="460"/><source>Session</source><translation>会话</translation></message><message>- <location filename="rust_strings.h" line="457"/>+ <location filename="rust_strings.h" line="461"/><source>That clip is no longer in clipboard history.</source><translation>该剪贴内容已不在剪贴板历史中。</translation></message><message>- <location filename="rust_strings.h" line="458"/>+ <location filename="rust_strings.h" line="462"/><source>That entry couldn't be removed. Try again.</source><translation>无法删除该条目,请重试。</translation></message><message>- <location filename="rust_strings.h" line="459"/>+ <location filename="rust_strings.h" line="463"/><source>That file was moved or deleted.</source><translation>该文件已被移动或删除。</translation></message><message>- <location filename="rust_strings.h" line="460"/>+ <location filename="rust_strings.h" line="464"/><source>That isn't a web link.</source><translation>这不是网页链接。</translation></message><message>- <location filename="rust_strings.h" line="461"/>+ <location filename="rust_strings.h" line="465"/><source>That photo was moved or deleted.</source><translation>该照片已被移动或删除。</translation></message><message>- <location filename="rust_strings.h" line="462"/>+ <location filename="rust_strings.h" line="466"/><source>The Timeline couldn't be cleared. Try again.</source><translation>无法清除时间线,请重试。</translation></message><message>- <location filename="rust_strings.h" line="463"/>+ <location filename="rust_strings.h" line="467"/><source>The photo couldn't be copied to the clipboard.</source><translation>无法将照片复制到剪贴板。</translation></message><message>- <location filename="rust_strings.h" line="464"/>+ <location filename="rust_strings.h" line="468"/><source>Voice recording</source><translation>录音</translation></message><message>- <location filename="rust_strings.h" line="465"/>+ <location filename="rust_strings.h" line="469"/><source>With %1</source><translation>与 %1</translation></message><message>- <location filename="rust_strings.h" line="466"/>+ <location filename="rust_strings.h" line="470"/><source>device</source><translation>设备</translation></message>@@ -8703,37 +8741,37 @@ What it needs<context><name>Transfers</name><message>- <location filename="rust_strings.h" line="467"/>+ <location filename="rust_strings.h" line="471"/><source>Accept in NectarLink to save to Downloads\Nectarlink</source><translation>在 NectarLink 中接受即可保存到 Downloads\Nectarlink</translation></message><message>- <location filename="rust_strings.h" line="468"/>+ <location filename="rust_strings.h" line="472"/><source>Files are turned off for that device.</source><translation>已为该设备关闭文件。</translation></message><message>- <location filename="rust_strings.h" line="469"/>+ <location filename="rust_strings.h" line="473"/><source>From %1, opened from Downloads\Nectarlink</source><translation>来自 %1,已从 Downloads\Nectarlink 打开</translation></message><message>- <location filename="rust_strings.h" line="470"/>+ <location filename="rust_strings.h" line="474"/><source>From %1, saved in Downloads\Nectarlink</source><translation>来自 %1,已保存到 Downloads\Nectarlink</translation></message><message>- <location filename="rust_strings.h" line="471"/>+ <location filename="rust_strings.h" line="475"/><source>Nearby device</source><translation>附近的设备</translation></message><message>- <location filename="rust_strings.h" line="472"/>+ <location filename="rust_strings.h" line="476"/><source>That's too many files to send at once.</source><translation>文件太多,无法一次发送。</translation></message><message>- <location filename="rust_strings.h" line="473"/>+ <location filename="rust_strings.h" line="477"/><source>There's nothing to send in there.</source><translation>那里没有可发送的内容。</translation></message>@@ -8741,72 +8779,72 @@ What it needs<context><name>Updater</name><message>- <location filename="rust_strings.h" line="474"/>+ <location filename="rust_strings.h" line="478"/><source>Couldn't check for updates. Check your internet connection.</source><translation>无法检查更新。请检查网络连接。</translation></message><message>- <location filename="rust_strings.h" line="475"/>+ <location filename="rust_strings.h" line="479"/><source>NectarLink %1 is available</source><translation>NectarLink %1 已发布</translation></message><message>- <location filename="rust_strings.h" line="476"/>+ <location filename="rust_strings.h" line="480"/><source>NectarLink %1 is available.</source><translation>NectarLink %1 已发布。</translation></message><message>- <location filename="rust_strings.h" line="477"/>+ <location filename="rust_strings.h" line="481"/><source>NectarLink is still on the version you had. Try again from Settings.</source><translation>NectarLink 仍是原来的版本。请在设置中重试。</translation></message><message>- <location filename="rust_strings.h" line="478"/>+ <location filename="rust_strings.h" line="482"/><source>NectarLink is up to date.</source><translation>NectarLink 已是最新版本。</translation></message><message>- <location filename="rust_strings.h" line="479"/>+ <location filename="rust_strings.h" line="483"/><source>NectarLink is updated to %1</source><translation>NectarLink 已更新到 %1</translation></message><message>- <location filename="rust_strings.h" line="480"/>+ <location filename="rust_strings.h" line="484"/><source>The download was damaged, so it wasn't installed. Try again.</source><translation>下载的文件已损坏,因此未安装。请重试。</translation></message><message>- <location filename="rust_strings.h" line="481"/>+ <location filename="rust_strings.h" line="485"/><source>The update couldn't be downloaded. Check your internet connection and try again.</source><translation>无法下载更新。请检查网络连接后重试。</translation></message><message>- <location filename="rust_strings.h" line="482"/>+ <location filename="rust_strings.h" line="486"/><source>The update couldn't be saved. Check that there's free space and try again.</source><translation>无法保存更新。请确认有足够的空间后重试。</translation></message><message>- <location filename="rust_strings.h" line="483"/>+ <location filename="rust_strings.h" line="487"/><source>The update couldn't be started. Try again.</source><translation>无法启动更新。请重试。</translation></message><message>- <location filename="rust_strings.h" line="484"/>+ <location filename="rust_strings.h" line="488"/><source>The update didn't install</source><translation>更新未安装</translation></message><message>- <location filename="rust_strings.h" line="485"/>+ <location filename="rust_strings.h" line="489"/><source>The update is installed. Restart NectarLink to use it.</source><translation>更新已安装。请重新启动 NectarLink 以使用新版本。</translation></message><message>- <location filename="rust_strings.h" line="486"/>+ <location filename="rust_strings.h" line="490"/><source>Update now, or later from Settings.</source><translation>立即更新,或稍后在设置中更新。</translation></message><message>- <location filename="rust_strings.h" line="487"/>+ <location filename="rust_strings.h" line="491"/><source>Your phone reconnects on its own.</source><translation>手机会自动重新连接。</translation></message>@@ -9017,12 +9055,12 @@ What it needs<context><name>Webcam</name><message>- <location filename="rust_strings.h" line="488"/>+ <location filename="rust_strings.h" line="492"/><source>Starting camera on %1…</source><translation>正在启动 %1 上的相机…</translation></message><message>- <location filename="rust_strings.h" line="489"/>+ <location filename="rust_strings.h" line="493"/><source>Streaming %1 × %2 · %3 fps from %4</source><translation>正在从 %4 传输 %1 × %2 · %3 fps</translation></message>@@ -9053,17 +9091,17 @@ What it needs<context><name>Widget</name><message>- <location filename="rust_strings.h" line="490"/>+ <location filename="rust_strings.h" line="494"/><source>No phone connected</source><translation>未连接手机</translation></message><message>- <location filename="rust_strings.h" line="491"/>+ <location filename="rust_strings.h" line="495"/><source>No recent clipboard items</source><translation>没有最近的剪贴板内容</translation></message><message>- <location filename="rust_strings.h" line="492"/>+ <location filename="rust_strings.h" line="496"/><source>Not available</source><translation>不可用</translation></message>diff --git a/desktop/app/i18n/rust_strings.h b/desktop/app/i18n/rust_strings.hindex 7d9f397..8984d4c 100644--- a/desktop/app/i18n/rust_strings.h+++ b/desktop/app/i18n/rust_strings.h@@ -386,6 +386,10 @@ static const char *const nectarlink_rust_strings[] = {QT_TRANSLATE_NOOP("PhoneMic", "Tap Start on %1 to use its microphone."), // desktop/app/src/phone_mic.rsQT_TRANSLATE_NOOP("PhoneMic", "The microphone is turned off for this PC on %1."), // desktop/app/src/phone_mic.rsQT_TRANSLATE_NOOP("PhoneMic", "Update NectarLink on %1 to use its microphone."), // desktop/app/src/phone_mic.rs+ QT_TRANSLATE_NOOP("PhoneSound", "%1 couldn't ask to share its sound. Check that NectarLink can show notifications on the phone."), // desktop/app/src/phone_sound.rs+ QT_TRANSLATE_NOOP("PhoneSound", "Mirroring is turned off for this phone."), // desktop/app/src/phone_sound.rs+ QT_TRANSLATE_NOOP("PhoneSound", "The phone isn't connected."), // desktop/app/src/phone_sound.rs+ QT_TRANSLATE_NOOP("PhoneSound", "Update NectarLink on %1 to play its sound here."), // desktop/app/src/phone_sound.rsQT_TRANSLATE_NOOP("PhotoBackup", "Can't write to the backup folder."), // desktop/app/src/photo_backup.rsQT_TRANSLATE_NOOP("PhotoBackup", "Copying, %1 left"), // desktop/app/src/bridge/photo_backup.rsQT_TRANSLATE_NOOP("PhotoBackup", "Looking for new photos…"), // desktop/app/src/bridge/photo_backup.rsdiff --git a/desktop/app/i18n/template/nectarlink.ts b/desktop/app/i18n/template/nectarlink.tsindex c5547d3..6631d3c 100644--- a/desktop/app/i18n/template/nectarlink.ts+++ b/desktop/app/i18n/template/nectarlink.ts@@ -3404,7 +3404,7 @@ What it needs</message><message><location filename="../../qml/pages/HomePage.qml" line="1298"/>- <location filename="../../qml/pages/HomePage.qml" line="3484"/>+ <location filename="../../qml/pages/HomePage.qml" line="3498"/><source>Send files</source><translation type="unfinished"></translation></message>@@ -3420,7 +3420,7 @@ What it needs</message><message><location filename="../../qml/pages/HomePage.qml" line="1317"/>- <location filename="../../qml/pages/HomePage.qml" line="2763"/>+ <location filename="../../qml/pages/HomePage.qml" line="2777"/><source>Clipboard history</source><translation type="unfinished"></translation></message>@@ -3511,14 +3511,14 @@ What it needs</message><message><location filename="../../qml/pages/HomePage.qml" line="1547"/>- <location filename="../../qml/pages/HomePage.qml" line="2125"/>- <location filename="../../qml/pages/HomePage.qml" line="2217"/>+ <location filename="../../qml/pages/HomePage.qml" line="2139"/>+ <location filename="../../qml/pages/HomePage.qml" line="2231"/><source>Cancel</source><translation type="unfinished"></translation></message><message><location filename="../../qml/pages/HomePage.qml" line="1582"/>- <location filename="../../qml/pages/HomePage.qml" line="2477"/>+ <location filename="../../qml/pages/HomePage.qml" line="2491"/><source>Timeline</source><translation type="unfinished"></translation></message>@@ -3594,7 +3594,7 @@ What it needs</message><message><location filename="../../qml/pages/HomePage.qml" line="1882"/>- <location filename="../../qml/pages/HomePage.qml" line="2329"/>+ <location filename="../../qml/pages/HomePage.qml" line="2343"/><source>Stop</source><translation type="unfinished"></translation></message>@@ -3699,327 +3699,342 @@ What it needs<translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2116"/>+ <location filename="../../qml/pages/HomePage.qml" line="2097"/>+ <source>Phone sound on this PC</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <location filename="../../qml/pages/HomePage.qml" line="2099"/>+ <source>Playing %1's sound</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <location filename="../../qml/pages/HomePage.qml" line="2100"/>+ <source>Allow it on %1</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <location filename="../../qml/pages/HomePage.qml" line="2130"/><source>Turning off Wi‑Fi may disconnect %1.</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2131"/>+ <location filename="../../qml/pages/HomePage.qml" line="2145"/><source>Turn off</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2156"/>+ <location filename="../../qml/pages/HomePage.qml" line="2170"/><source>Ring</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2157"/>+ <location filename="../../qml/pages/HomePage.qml" line="2171"/><source>Vibrate</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2158"/>+ <location filename="../../qml/pages/HomePage.qml" line="2172"/><source>Silent</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2175"/>+ <location filename="../../qml/pages/HomePage.qml" line="2189"/><source>Volume</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2186"/>+ <location filename="../../qml/pages/HomePage.qml" line="2200"/><source>Brightness</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2207"/>+ <location filename="../../qml/pages/HomePage.qml" line="2221"/><source>Continuity Camera</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2218"/>+ <location filename="../../qml/pages/HomePage.qml" line="2232"/><source>Scan document</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2231"/>+ <location filename="../../qml/pages/HomePage.qml" line="2245"/><source>Phone as webcam</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2234"/>+ <location filename="../../qml/pages/HomePage.qml" line="2248"/><source>Streaming</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2305"/>+ <location filename="../../qml/pages/HomePage.qml" line="2319"/><source>Type on phone</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2316"/>+ <location filename="../../qml/pages/HomePage.qml" line="2330"/><source>Sent: %1</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2317"/>+ <location filename="../../qml/pages/HomePage.qml" line="2331"/><source>Listening for keys</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2318"/>- <location filename="../../qml/pages/HomePage.qml" line="3080"/>+ <location filename="../../qml/pages/HomePage.qml" line="2332"/>+ <location filename="../../qml/pages/HomePage.qml" line="3094"/><source>When connected</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2329"/>+ <location filename="../../qml/pages/HomePage.qml" line="2343"/><source>Start</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2377"/>- <location filename="../../qml/pages/HomePage.qml" line="2444"/>+ <location filename="../../qml/pages/HomePage.qml" line="2391"/>+ <location filename="../../qml/pages/HomePage.qml" line="2458"/><source>Clipboard</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2424"/>+ <location filename="../../qml/pages/HomePage.qml" line="2438"/><source>Type here: keys go to %1</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2425"/>+ <location filename="../../qml/pages/HomePage.qml" line="2439"/><source>Click to focus keyboard</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2432"/>+ <location filename="../../qml/pages/HomePage.qml" line="2446"/><source>Ctrl+V pastes · Esc stops</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2441"/>+ <location filename="../../qml/pages/HomePage.qml" line="2455"/><source>Paste</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2486"/>+ <location filename="../../qml/pages/HomePage.qml" line="2500"/><source>View all</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2496"/>+ <location filename="../../qml/pages/HomePage.qml" line="2510"/><source>No recent activity</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2585"/>+ <location filename="../../qml/pages/HomePage.qml" line="2599"/><source>%1 notifications</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2588"/>+ <location filename="../../qml/pages/HomePage.qml" line="2602"/><source>Show</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2589"/>+ <location filename="../../qml/pages/HomePage.qml" line="2603"/><source>No pop-ups</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2590"/>+ <location filename="../../qml/pages/HomePage.qml" line="2604"/><source>Hide</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2604"/>+ <location filename="../../qml/pages/HomePage.qml" line="2618"/><source>Hidden on this PC.</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2606"/>+ <location filename="../../qml/pages/HomePage.qml" line="2620"/><source>Shown in feed without pop-ups.</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2608"/>+ <location filename="../../qml/pages/HomePage.qml" line="2622"/><source>Shown in feed and as desktop pop-ups.</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2609"/>+ <location filename="../../qml/pages/HomePage.qml" line="2623"/><source>Shown in feed and as Windows pop-ups.</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2613"/>- <location filename="../../qml/pages/HomePage.qml" line="2740"/>- <location filename="../../qml/pages/HomePage.qml" line="2983"/>- <location filename="../../qml/pages/HomePage.qml" line="3561"/>+ <location filename="../../qml/pages/HomePage.qml" line="2627"/>+ <location filename="../../qml/pages/HomePage.qml" line="2754"/>+ <location filename="../../qml/pages/HomePage.qml" line="2997"/>+ <location filename="../../qml/pages/HomePage.qml" line="3575"/><source>Done</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2632"/>+ <location filename="../../qml/pages/HomePage.qml" line="2646"/><source>Notification history</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2640"/>- <location filename="../../qml/pages/HomePage.qml" line="2771"/>+ <location filename="../../qml/pages/HomePage.qml" line="2654"/>+ <location filename="../../qml/pages/HomePage.qml" line="2785"/><source>Clear history</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2650"/>+ <location filename="../../qml/pages/HomePage.qml" line="2664"/><source>Dismissed notifications from the last 24 hours.</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2651"/>+ <location filename="../../qml/pages/HomePage.qml" line="2665"/><source>No recent notifications.</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2693"/>- <location filename="../../qml/pages/HomePage.qml" line="2699"/>+ <location filename="../../qml/pages/HomePage.qml" line="2707"/>+ <location filename="../../qml/pages/HomePage.qml" line="2713"/><source>Search notification history</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2736"/>- <location filename="../../qml/pages/HomePage.qml" line="2979"/>+ <location filename="../../qml/pages/HomePage.qml" line="2750"/>+ <location filename="../../qml/pages/HomePage.qml" line="2993"/><source>Nothing matches “%1”.</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2781"/>+ <location filename="../../qml/pages/HomePage.qml" line="2795"/><source>Last 50 shared clips.</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2782"/>+ <location filename="../../qml/pages/HomePage.qml" line="2796"/><source>No shared clips yet.</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2822"/>- <location filename="../../qml/pages/HomePage.qml" line="2828"/>+ <location filename="../../qml/pages/HomePage.qml" line="2836"/>+ <location filename="../../qml/pages/HomePage.qml" line="2842"/><source>Search clipboard history</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2848"/>+ <location filename="../../qml/pages/HomePage.qml" line="2862"/><source>From %1</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2848"/>+ <location filename="../../qml/pages/HomePage.qml" line="2862"/><source>From phone</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2849"/>+ <location filename="../../qml/pages/HomePage.qml" line="2863"/><source>Sent to %1</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2849"/>+ <location filename="../../qml/pages/HomePage.qml" line="2863"/><source>From this PC</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2855"/>+ <location filename="../../qml/pages/HomePage.qml" line="2869"/><source>Image</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2893"/>+ <location filename="../../qml/pages/HomePage.qml" line="2907"/><source>Pinned</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2937"/>+ <location filename="../../qml/pages/HomePage.qml" line="2951"/><source>Open on phone</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2946"/>+ <location filename="../../qml/pages/HomePage.qml" line="2960"/><source>Send to phone</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2954"/>+ <location filename="../../qml/pages/HomePage.qml" line="2968"/><source>Copy</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2960"/>+ <location filename="../../qml/pages/HomePage.qml" line="2974"/><source>Unpin</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2960"/>+ <location filename="../../qml/pages/HomePage.qml" line="2974"/><source>Pin</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="2965"/>+ <location filename="../../qml/pages/HomePage.qml" line="2979"/><source>Delete</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="3253"/>- <location filename="../../qml/pages/HomePage.qml" line="3264"/>+ <location filename="../../qml/pages/HomePage.qml" line="3267"/>+ <location filename="../../qml/pages/HomePage.qml" line="3278"/><source>%1%</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="3405"/>+ <location filename="../../qml/pages/HomePage.qml" line="3419"/><source>LocalSend nearby · %1</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="3406"/>+ <location filename="../../qml/pages/HomePage.qml" line="3420"/><source>LocalSend nearby</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="3415"/>+ <location filename="../../qml/pages/HomePage.qml" line="3429"/><source>Refresh</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="3426"/>+ <location filename="../../qml/pages/HomePage.qml" line="3440"/><source>Listening for LocalSend devices on your Wi‑Fi network.</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="3427"/>+ <location filename="../../qml/pages/HomePage.qml" line="3441"/><source>LocalSend port 53317 is busy on this PC (another LocalSend app may be running).</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="3466"/>+ <location filename="../../qml/pages/HomePage.qml" line="3480"/><source>Nearby device</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="3522"/>+ <location filename="../../qml/pages/HomePage.qml" line="3536"/><source>Image preview</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="3529"/>+ <location filename="../../qml/pages/HomePage.qml" line="3543"/><source>Close</source><translation type="unfinished"></translation></message><message>- <location filename="../../qml/pages/HomePage.qml" line="3557"/>+ <location filename="../../qml/pages/HomePage.qml" line="3571"/><source>Open externally</source><translation type="unfinished"></translation></message>@@ -5555,59 +5570,82 @@ What it needs</message></context><context>- <name>PhotoBackup</name>+ <name>PhoneSound</name><message><location filename="../rust_strings.h" line="389"/>- <source>Can't write to the backup folder.</source>+ <source>%1 couldn't ask to share its sound. Check that NectarLink can show notifications on the phone.</source><translation type="unfinished"></translation></message><message><location filename="../rust_strings.h" line="390"/>- <source>Copying, %1 left</source>+ <source>Mirroring is turned off for this phone.</source><translation type="unfinished"></translation></message><message><location filename="../rust_strings.h" line="391"/>- <source>Looking for new photos…</source>+ <source>The phone isn't connected.</source><translation type="unfinished"></translation></message><message><location filename="../rust_strings.h" line="392"/>- <source>Off</source>+ <source>Update NectarLink on %1 to play its sound here.</source><translation type="unfinished"></translation></message>+</context>+<context>+ <name>PhotoBackup</name><message><location filename="../rust_strings.h" line="393"/>- <source>Photos are turned off for this PC on %1.</source>+ <source>Can't write to the backup folder.</source><translation type="unfinished"></translation></message><message><location filename="../rust_strings.h" line="394"/>- <source>The backup folder's drive is full.</source>+ <source>Copying, %1 left</source><translation type="unfinished"></translation></message><message><location filename="../rust_strings.h" line="395"/>- <source>The backup stopped. It tries again in a few minutes.</source>+ <source>Looking for new photos…</source><translation type="unfinished"></translation></message><message><location filename="../rust_strings.h" line="396"/>- <source>Up to date</source>+ <source>Off</source><translation type="unfinished"></translation></message><message><location filename="../rust_strings.h" line="397"/>- <source>Up to date, %1 backed up</source>+ <source>Photos are turned off for this PC on %1.</source><translation type="unfinished"></translation></message><message><location filename="../rust_strings.h" line="398"/>- <source>Update NectarLink on %1 to back up its photos.</source>+ <source>The backup folder's drive is full.</source><translation type="unfinished"></translation></message><message><location filename="../rust_strings.h" line="399"/>+ <source>The backup stopped. It tries again in a few minutes.</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <location filename="../rust_strings.h" line="400"/>+ <source>Up to date</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <location filename="../rust_strings.h" line="401"/>+ <source>Up to date, %1 backed up</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <location filename="../rust_strings.h" line="402"/>+ <source>Update NectarLink on %1 to back up its photos.</source>+ <translation type="unfinished"></translation>+ </message>+ <message>+ <location filename="../rust_strings.h" line="403"/><source>Waiting for %1</source><translation type="unfinished"></translation></message>@@ -5615,67 +5653,67 @@ What it needs<context><name>Photos</name><message>- <location filename="../rust_strings.h" line="400"/>+ <location filename="../rust_strings.h" line="404"/><source>Copied to clipboard.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="401"/>+ <location filename="../rust_strings.h" line="405"/><source>From %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="402"/>+ <location filename="../rust_strings.h" line="406"/><source>New photo</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="403"/>+ <location filename="../rust_strings.h" line="407"/><source>New screenshot</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="404"/>+ <location filename="../rust_strings.h" line="408"/><source>No recent photos found on the phone.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="405"/>+ <location filename="../rust_strings.h" line="409"/><source>Opening latest photo…</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="406"/>+ <location filename="../rust_strings.h" line="410"/><source>Saved %1 items to %2.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="407"/>+ <location filename="../rust_strings.h" line="411"/><source>Saved %1 to %2.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="408"/>+ <location filename="../rust_strings.h" line="412"/><source>That photo isn't on the phone anymore.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="409"/>+ <location filename="../rust_strings.h" line="413"/><source>The phone doesn't share photos or files with this PC.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="410"/>+ <location filename="../rust_strings.h" line="414"/><source>The phone isn't connected right now.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="411"/>+ <location filename="../rust_strings.h" line="415"/><source>The photo couldn't be copied to the clipboard.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="412"/>+ <location filename="../rust_strings.h" line="416"/><source>The photo couldn't be copied. It's in Downloads\Nectarlink.</source><translation type="unfinished"></translation></message>@@ -5955,32 +5993,32 @@ What it needs<context><name>PlayOnPhone</name><message>- <location filename="../rust_strings.h" line="413"/>+ <location filename="../rust_strings.h" line="417"/><source>Connect your phone to play on it.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="414"/>+ <location filename="../rust_strings.h" line="418"/><source>Media is turned off for %1.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="415"/>+ <location filename="../rust_strings.h" line="419"/><source>Opening in %1 on %2. Tap the notification there.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="416"/>+ <location filename="../rust_strings.h" line="420"/><source>Sent to %1. Tap the notification there.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="417"/>+ <location filename="../rust_strings.h" line="421"/><source>Tap the notification on %1 to watch.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="418"/>+ <location filename="../rust_strings.h" line="422"/><source>Update NectarLink on %1 to play on it.</source><translation type="unfinished"></translation></message>@@ -5988,7 +6026,7 @@ What it needs<context><name>Prefs</name><message>- <location filename="../rust_strings.h" line="419"/>+ <location filename="../rust_strings.h" line="423"/><source>Connected to OBS.</source><translation type="unfinished"></translation></message>@@ -5996,7 +6034,7 @@ What it needs<context><name>Recordings</name><message>- <location filename="../rust_strings.h" line="420"/>+ <location filename="../rust_strings.h" line="424"/><source>Recording from %1 saved</source><translation type="unfinished"></translation></message>@@ -6012,57 +6050,57 @@ What it needs<context><name>SendTo</name><message>- <location filename="../rust_strings.h" line="421"/>+ <location filename="../rust_strings.h" line="425"/><source>Copied to your phone's clipboard.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="422"/>+ <location filename="../rust_strings.h" line="426"/><source>Couldn't reach %1.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="423"/>+ <location filename="../rust_strings.h" line="427"/><source>Couldn't send %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="424"/>+ <location filename="../rust_strings.h" line="428"/><source>Couldn't send to %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="425"/>+ <location filename="../rust_strings.h" line="429"/><source>Couldn't share with %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="426"/>+ <location filename="../rust_strings.h" line="430"/><source>File failed integrity check; partial file kept to resume.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="427"/>+ <location filename="../rust_strings.h" line="431"/><source>Send to %1 with NectarLink</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="428"/>+ <location filename="../rust_strings.h" line="432"/><source>Sending to %1…</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="429"/>+ <location filename="../rust_strings.h" line="433"/><source>Sent to %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="430"/>+ <location filename="../rust_strings.h" line="434"/><source>The transfer didn't go through.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="431"/>+ <location filename="../rust_strings.h" line="435"/><source>Waiting for %1…</source><translation type="unfinished"></translation></message>@@ -7566,32 +7604,32 @@ What it needs<context><name>Setup</name><message>- <location filename="../rust_strings.h" line="432"/>+ <location filename="../rust_strings.h" line="436"/><source>Couldn't start setup: %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="433"/>+ <location filename="../rust_strings.h" line="437"/><source>Couldn't uninstall NectarLink: %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="434"/>+ <location filename="../rust_strings.h" line="438"/><source>Setup is taking too long. Try again after restarting the PC.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="435"/>+ <location filename="../rust_strings.h" line="439"/><source>Setup stopped with code %1.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="436"/>+ <location filename="../rust_strings.h" line="440"/><source>The uninstaller is missing. Reinstall NectarLink, then uninstall it.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="437"/>+ <location filename="../rust_strings.h" line="441"/><source>Uninstall stopped with code %1.</source><translation type="unfinished"></translation></message>@@ -7977,147 +8015,147 @@ What it needs<context><name>Timeline</name><message>- <location filename="../rust_strings.h" line="438"/>+ <location filename="../rust_strings.h" line="442"/><source>App window #%1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="439"/>+ <location filename="../rust_strings.h" line="443"/><source>Clip (removed from clipboard history)</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="440"/>+ <location filename="../rust_strings.h" line="444"/><source>Copied image</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="441"/>+ <location filename="../rust_strings.h" line="445"/><source>Copied link to clipboard.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="442"/>+ <location filename="../rust_strings.h" line="446"/><source>Copied to clipboard.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="443"/>+ <location filename="../rust_strings.h" line="447"/><source>From %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="444"/>+ <location filename="../rust_strings.h" line="448"/><source>In progress</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="445"/>+ <location filename="../rust_strings.h" line="449"/><source>No phone is paired yet.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="446"/>+ <location filename="../rust_strings.h" line="450"/><source>Opened from %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="447"/>+ <location filename="../rust_strings.h" line="451"/><source>Opened on %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="448"/>+ <location filename="../rust_strings.h" line="452"/><source>Phone microphone</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="449"/>+ <location filename="../rust_strings.h" line="453"/><source>Phone webcam</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="450"/>+ <location filename="../rust_strings.h" line="454"/><source>Recorded on %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="451"/>+ <location filename="../rust_strings.h" line="455"/><source>Saved from %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="452"/>+ <location filename="../rust_strings.h" line="456"/><source>Screen mirroring</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="453"/>+ <location filename="../rust_strings.h" line="457"/><source>Sending to %1…</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="454"/>+ <location filename="../rust_strings.h" line="458"/><source>Sent clip to %1.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="455"/>+ <location filename="../rust_strings.h" line="459"/><source>Sent to %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="456"/>+ <location filename="../rust_strings.h" line="460"/><source>Session</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="457"/>+ <location filename="../rust_strings.h" line="461"/><source>That clip is no longer in clipboard history.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="458"/>+ <location filename="../rust_strings.h" line="462"/><source>That entry couldn't be removed. Try again.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="459"/>+ <location filename="../rust_strings.h" line="463"/><source>That file was moved or deleted.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="460"/>+ <location filename="../rust_strings.h" line="464"/><source>That isn't a web link.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="461"/>+ <location filename="../rust_strings.h" line="465"/><source>That photo was moved or deleted.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="462"/>+ <location filename="../rust_strings.h" line="466"/><source>The Timeline couldn't be cleared. Try again.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="463"/>+ <location filename="../rust_strings.h" line="467"/><source>The photo couldn't be copied to the clipboard.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="464"/>+ <location filename="../rust_strings.h" line="468"/><source>Voice recording</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="465"/>+ <location filename="../rust_strings.h" line="469"/><source>With %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="466"/>+ <location filename="../rust_strings.h" line="470"/><source>device</source><translation type="unfinished"></translation></message>@@ -8434,37 +8472,37 @@ What it needs<context><name>Transfers</name><message>- <location filename="../rust_strings.h" line="467"/>+ <location filename="../rust_strings.h" line="471"/><source>Accept in NectarLink to save to Downloads\Nectarlink</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="468"/>+ <location filename="../rust_strings.h" line="472"/><source>Files are turned off for that device.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="469"/>+ <location filename="../rust_strings.h" line="473"/><source>From %1, opened from Downloads\Nectarlink</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="470"/>+ <location filename="../rust_strings.h" line="474"/><source>From %1, saved in Downloads\Nectarlink</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="471"/>+ <location filename="../rust_strings.h" line="475"/><source>Nearby device</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="472"/>+ <location filename="../rust_strings.h" line="476"/><source>That's too many files to send at once.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="473"/>+ <location filename="../rust_strings.h" line="477"/><source>There's nothing to send in there.</source><translation type="unfinished"></translation></message>@@ -8472,72 +8510,72 @@ What it needs<context><name>Updater</name><message>- <location filename="../rust_strings.h" line="474"/>+ <location filename="../rust_strings.h" line="478"/><source>Couldn't check for updates. Check your internet connection.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="475"/>+ <location filename="../rust_strings.h" line="479"/><source>NectarLink %1 is available</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="476"/>+ <location filename="../rust_strings.h" line="480"/><source>NectarLink %1 is available.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="477"/>+ <location filename="../rust_strings.h" line="481"/><source>NectarLink is still on the version you had. Try again from Settings.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="478"/>+ <location filename="../rust_strings.h" line="482"/><source>NectarLink is up to date.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="479"/>+ <location filename="../rust_strings.h" line="483"/><source>NectarLink is updated to %1</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="480"/>+ <location filename="../rust_strings.h" line="484"/><source>The download was damaged, so it wasn't installed. Try again.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="481"/>+ <location filename="../rust_strings.h" line="485"/><source>The update couldn't be downloaded. Check your internet connection and try again.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="482"/>+ <location filename="../rust_strings.h" line="486"/><source>The update couldn't be saved. Check that there's free space and try again.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="483"/>+ <location filename="../rust_strings.h" line="487"/><source>The update couldn't be started. Try again.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="484"/>+ <location filename="../rust_strings.h" line="488"/><source>The update didn't install</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="485"/>+ <location filename="../rust_strings.h" line="489"/><source>The update is installed. Restart NectarLink to use it.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="486"/>+ <location filename="../rust_strings.h" line="490"/><source>Update now, or later from Settings.</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="487"/>+ <location filename="../rust_strings.h" line="491"/><source>Your phone reconnects on its own.</source><translation type="unfinished"></translation></message>@@ -8748,12 +8786,12 @@ What it needs<context><name>Webcam</name><message>- <location filename="../rust_strings.h" line="488"/>+ <location filename="../rust_strings.h" line="492"/><source>Starting camera on %1…</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="489"/>+ <location filename="../rust_strings.h" line="493"/><source>Streaming %1 × %2 · %3 fps from %4</source><translation type="unfinished"></translation></message>@@ -8784,17 +8822,17 @@ What it needs<context><name>Widget</name><message>- <location filename="../rust_strings.h" line="490"/>+ <location filename="../rust_strings.h" line="494"/><source>No phone connected</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="491"/>+ <location filename="../rust_strings.h" line="495"/><source>No recent clipboard items</source><translation type="unfinished"></translation></message><message>- <location filename="../rust_strings.h" line="492"/>+ <location filename="../rust_strings.h" line="496"/><source>Not available</source><translation type="unfinished"></translation></message>diff --git a/desktop/app/qml/pages/HomePage.qml b/desktop/app/qml/pages/HomePage.qmlindex e36cb7f..d26b964 100644--- a/desktop/app/qml/pages/HomePage.qml+++ b/desktop/app/qml/pages/HomePage.qml@@ -2088,6 +2088,20 @@ Item {onToggled: (on) => MediaList.setPlayOnPhone(on)}+ // The phone's sound out of this PC's speakers, without a mirror window.+ SwitchBar {+ readonly property string sound: MediaList.phoneSoundState+ width: parent.width+ visible: sound !== "off" || MediaList.phoneSoundName.length > 0+ iconPath: Icons.music+ title: qsTr("Phone sound on this PC")+ checked: sound !== "off"+ caption: sound === "playing" ? qsTr("Playing %1's sound").arg(MediaList.phoneSoundName)+ : sound === "asking" ? qsTr("Allow it on %1").arg(MediaList.phoneSoundName)+ : ""+ onToggled: (on) => MediaList.setPhoneSound(on)+ }+LockChip {visible: label.length > 0feature: phoneControls.activeLockFeaturediff --git a/desktop/app/src/bridge/media.rs b/desktop/app/src/bridge/media.rsindex 61b2677..d7c3623 100644--- a/desktop/app/src/bridge/media.rs+++ b/desktop/app/src/bridge/media.rs@@ -48,6 +48,10 @@ pub mod qobject {#[qproperty(bool, can_play_on_phone, cxx_name = "canPlayOnPhone")]/// Play on phone: "off", "asking" (the phone's notification is up) or "watching".#[qproperty(QString, play_on_phone_state, cxx_name = "playOnPhoneState")]+ /// The phone whose sound can play here without a window (its name), or "".+ #[qproperty(QString, phone_sound_name, cxx_name = "phoneSoundName")]+ /// Phone sound on this PC: "off", "asking" (the phone may be asking) or "playing".+ #[qproperty(QString, phone_sound_state, cxx_name = "phoneSoundState")]type MediaList = super::MediaListRust;}@@ -109,6 +113,10 @@ pub mod qobject {#[qinvokable]#[cxx_name = "setPlayOnPhone"]fn set_play_on_phone(self: &MediaList, on: bool);+ /// The phone sound on this PC toggle.+ #[qinvokable]+ #[cxx_name = "setPhoneSound"]+ fn set_phone_sound(self: &MediaList, on: bool);}impl cxx_qt::Threading for MediaList {}@@ -124,6 +132,8 @@ pub struct MediaListRust {play_on_phone_name: QString,can_play_on_phone: bool,play_on_phone_state: QString,+ phone_sound_name: QString,+ phone_sound_state: QString,rows: Vec<PlayerView>,}@@ -261,6 +271,15 @@ impl qobject::MediaList {if *self.play_on_phone_state() != watch {self.as_mut().set_play_on_phone_state(watch);}+ let sound_phone =+ QString::from(crate::phone_sound::phone().map(|(_, name)| name).unwrap_or_default());+ if *self.phone_sound_name() != sound_phone {+ self.as_mut().set_phone_sound_name(sound_phone);+ }+ let sound = QString::from(crate::phone_sound::state());+ if *self.phone_sound_state() != sound {+ self.as_mut().set_phone_sound_state(sound);+ }let revision = self.revision.wrapping_add(1);self.set_revision(revision);}@@ -269,6 +288,10 @@ impl qobject::MediaList {crate::play_on_phone::set_on(on);}+ pub fn set_phone_sound(&self, on: bool) {+ crate::phone_sound::set_on(on);+ }+pub fn first_for(&self, device: &QString) -> i32 {let device = String::from(device);let matches_dev = |r: &PlayerView| {diff --git a/desktop/app/src/main.rs b/desktop/app/src/main.rsindex 793c0f1..c53ddfc 100644--- a/desktop/app/src/main.rs+++ b/desktop/app/src/main.rs@@ -41,6 +41,7 @@ mod pc_mirror;mod pc_notifications;mod pc_storage;mod phone_mic;+mod phone_sound;mod photo_backup;mod photos;mod play_on_phone;diff --git a/desktop/app/src/mirror.rs b/desktop/app/src/mirror.rsindex 5e49654..5d3c944 100644--- a/desktop/app/src/mirror.rs+++ b/desktop/app/src/mirror.rs@@ -50,6 +50,7 @@ const OPTIONS: MirrorStart = MirrorStart {stay_awake: false,screen_off: false,watch: None,+ sound_only: false,};/// Packets waiting for the decoder, at most (about two seconds).const BACKLOG: usize = 120;@@ -951,6 +952,9 @@ pub fn resize(window: Window, width: u32, height: u32) {}fn request(window: Window, options: MirrorStart) {+ if window.session == MIRROR_SCREEN {+ crate::phone_sound::stop_for_window(window.device);+ }core_host::host().hub.changed(Changes::MIRROR);let Some(node) = core_host::node() else { return };let app = options.app.is_some();@@ -1769,6 +1773,8 @@ pub fn sink(device: &DeviceId, session: u32) -> Option<Arc<dyn MirrorSink>> {let window = Window { device: *device, session };matches!(phase(&window), Some(Phase::Asking | Phase::Showing)).then(|| Arc::new(Sink::new(window)) as Arc<dyn MirrorSink>)+ // No window: the phone's sound on its own, if it was asked for.+ .or_else(|| if session == MIRROR_SCREEN { crate::phone_sound::sink(device) } else { None })}enum Item {diff --git a/desktop/app/src/phone_sound.rs b/desktop/app/src/phone_sound.rsnew file mode 100644index 0000000..c199334--- /dev/null+++ b/desktop/app/src/phone_sound.rs@@ -0,0 +1,190 @@+// SPDX-License-Identifier: GPL-3.0-or-later+//! The phone's sound on this PC without a mirror window+//! (`MirrorStart::sound_only`, docs/protocol/mirror.md): what the phone plays+//! comes out of the PC's speakers or headphones. Opening the phone's mirror+//! window takes over, since that brings the sound too.++use std::{+ sync::{Arc, Mutex},+ time::Duration,+};++use nectarlink_core::{+ DeviceId, Error, FeatureState, LinkState, MIRROR_SCREEN, MirrorAudioConfig, MirrorConfig, MirrorSink,+ MirrorStart,+};++use crate::{bridge::app::show_message, core_host, i18n::tr, state::Changes, win::audio_out::Player};++/// How long the phone's prompt may go unanswered.+const ASK_TIMEOUT: Duration = Duration::from_secs(120);++#[derive(Debug, Clone, Copy, PartialEq, Eq)]+enum Phase {+ /// Asked; the phone may be showing its prompt.+ Asking,+ /// Its sound is playing here.+ Playing,+}++/// The one phone whose sound plays here, if any.+static ACTIVE: Mutex<Option<(DeviceId, Phase)>> = Mutex::new(None);++fn active() -> Option<(DeviceId, Phase)> {+ *ACTIVE.lock().unwrap_or_else(|e| e.into_inner())+}++fn set_active(next: Option<(DeviceId, Phase)>) {+ let changed = {+ let mut active = ACTIVE.lock().unwrap_or_else(|e| e.into_inner());+ let changed = *active != next;+ *active = next;+ changed+ };+ if changed {+ core_host::host().hub.changed(Changes::MEDIA);+ }+}++/// The phone to play: the first one online that can share its sound alone.+pub fn phone() -> Option<(DeviceId, String)> {+ core_host::host().hub.read(|s| {+ s.devices+ .iter()+ .filter(|d| matches!(d.link, LinkState::Online { .. }))+ .find(|d| {+ s.matrices.get(&d.id).and_then(|m| m.state("mirroring.sound"))+ == Some(FeatureState::Available)+ })+ .map(|d| (d.id, d.info.name.clone()))+ })+}++/// "off", "asking" (waiting for the phone) or "playing".+pub fn state() -> &'static str {+ match active() {+ None => "off",+ Some((_, Phase::Asking)) => "asking",+ Some((_, Phase::Playing)) => "playing",+ }+}++/// Starts or stops playing the phone's sound here.+pub fn set_on(on: bool) {+ if !on {+ if let Some((device, _)) = active() {+ stop(device);+ }+ return;+ }+ let (Some((device, name)), Some(node)) = (phone(), core_host::node()) else { return };+ if active().is_some() {+ return;+ }+ set_active(Some((device, Phase::Asking)));+ core_host::spawn(async move {+ let options = MirrorStart {+ max_size: 0,+ fps: 0,+ bitrate: 0,+ audio: true,+ session: MIRROR_SCREEN,+ app: None,+ stay_awake: false,+ screen_off: false,+ watch: None,+ sound_only: true,+ };+ if let Err(e) = node.mirror_start(device, options).await {+ set_active(None);+ show_message(match e {+ Error::Denied => tr!("PhoneSound", "Mirroring is turned off for this phone."),+ Error::Unsupported => {+ tr!("PhoneSound", "Update NectarLink on %1 to play its sound here.", name)+ }+ Error::Offline | Error::NotPaired => tr!("PhoneSound", "The phone isn't connected."),+ // The phone couldn't show its request (notifications off, say).+ e => {+ tracing::warn!(error = %e, "the phone couldn't share its sound");+ tr!(+ "PhoneSound",+ "%1 couldn't ask to share its sound. Check that NectarLink can show notifications on the phone.",+ name+ )+ }+ });+ return;+ }+ // Nobody answered the phone's prompt: stop waiting.+ tokio::time::sleep(ASK_TIMEOUT).await;+ if active() == Some((device, Phase::Asking)) {+ stop(device);+ }+ });+}++/// Stops it for `device` and tells the phone.+fn stop(device: DeviceId) {+ set_active(None);+ let Some(node) = core_host::node() else { return };+ core_host::spawn(async move { node.mirror_stop(device, MIRROR_SCREEN).await });+}++/// The mirror window is about to ask `device` for its screen, which brings+/// the sound too: the phone shares one or the other, so this one ends first.+pub fn stop_for_window(device: DeviceId) {+ if active().is_some_and(|(d, _)| d == device) {+ stop(device);+ }+}++/// The sink for `device`'s sound stream while it plays here without a window.+pub fn sink(device: &DeviceId) -> Option<Arc<dyn MirrorSink>> {+ active()+ .is_some_and(|(d, _)| d == *device)+ .then(|| Arc::new(Sink { device: *device, player: Mutex::new(None) }) as Arc<dyn MirrorSink>)+}++/// Plays the sound stream; there's no picture with it.+struct Sink {+ device: DeviceId,+ player: Mutex<Option<Player>>,+}++impl MirrorSink for Sink {+ fn config(&self, _config: MirrorConfig) {}++ fn packet(&self, _keyframe: bool, _time_us: u64, _data: Vec<u8>) {}++ fn ended(&self) {}++ fn audio_config(&self, config: MirrorAudioConfig) {+ // A new format: a new player (the old one ends when dropped).+ let player = Player::start(config.rate, u16::from(config.channels))+ .inspect_err(|e| tracing::warn!(error = %e, "can't play the phone's sound"))+ .ok();+ let playing = player.is_some();+ *self.player.lock().unwrap_or_else(|e| e.into_inner()) = player;+ if playing && active().is_some_and(|(d, _)| d == self.device) {+ set_active(Some((self.device, Phase::Playing)));+ }+ }++ fn audio(&self, _time_us: u64, data: Vec<u8>) {+ // The mirror window's mute is the phone's sound on this PC.+ if crate::mirror::muted() {+ return;+ }+ if let Some(player) = self.player.lock().unwrap_or_else(|e| e.into_inner()).as_ref() {+ player.push(data);+ }+ }++ fn audio_ended(&self) {+ self.player.lock().unwrap_or_else(|e| e.into_inner()).take();+ // The phone stopped, or the connection dropped.+ if active().is_some_and(|(d, _)| d == self.device) {+ set_active(None);+ }+ }+}diff --git a/docs/guide/cameras-and-audio.md b/docs/guide/cameras-and-audio.mdindex 66de090..bc8380d 100644--- a/docs/guide/cameras-and-audio.md+++ b/docs/guide/cameras-and-audio.md@@ -74,6 +74,15 @@ If your desktop PC lacks speakers, or you want to walk around the room while lis- Audio goes to the phone that turned **Use phone as speaker** on. When you turn it on from the PC, it goes to the first connected phone.3. From the **PC audio** card on your phone (or in `Deck`), you can also adjust your PC's master volume slider, toggle mute, and switch between your PC's connected audio output devices.+#### The other way: your phone's sound on the PC++To hear what your phone plays (music, videos, app sounds) through your PC's speakers or headphones without opening a mirror window, turn on **Phone sound on this PC** on the PC's Home screen.++- With `Elevated` it starts right away. Otherwise your phone asks first, as it does for mirroring: tap the notification, then allow it. Android's prompt talks about sharing your screen, but only the sound goes to the PC.+- It's the same sound mirroring sends: on Android 10 and newer, apps that allow their audio to be captured (most media and games). Calls aren't included.+- Your phone's own speaker keeps playing too, for now.+- Opening the phone's mirror window takes over, since that brings the sound with the picture. Turn it off on the PC, or tap **Stop** on the phone.+### 4. Voice Recorder: Record on Phone, Save on PCUse your phone's microphone to record voice notes, interviews, or meeting memos that transfer straight to your PC in the audio format you prefer:diff --git a/docs/protocol/capabilities.md b/docs/protocol/capabilities.mdindex 9580add..3d3c9e3 100644--- a/docs/protocol/capabilities.md+++ b/docs/protocol/capabilities.md@@ -62,6 +62,7 @@ capability is missing.| `mirror.virtual_display` | Runs apps on displays of their own, shown in windows on the PC ([mirroring](mirror.md)) | Elevated, Android 11+ || `mirror.audio` | Streams all audio while mirrored | Elevated || `mirror.audio.playback` | Streams audio from apps that allow playback capture | app update |+| `mirror.sound` | Streams its sound on its own, without the screen ([mirroring](mirror.md) §5) | app update || `toggles.read` | Shares quick settings state ([toggles](toggles.md)) | app update || `toggles.ringer` | Changes the ringer mode between `ring` and `vibrate` ([toggles](toggles.md)) | app update || `toggles.volume` | Changes the media volume ([toggles](toggles.md)) | app update |diff --git a/docs/protocol/mirror.md b/docs/protocol/mirror.mdindex 916c482..75336a3 100644--- a/docs/protocol/mirror.md+++ b/docs/protocol/mirror.md@@ -20,6 +20,7 @@ windows of their own (§6).| `mirror.input` | phone | Takes the PC's mouse and keyboard while mirrored (Assist: an accessibility service the user turns on; Elevated: injected input) || `mirror.audio.playback` | phone | Shares the sound of apps that allow it while mirrored (Android 10+) || `mirror.audio` | phone | Shares all its sound while mirrored (planned, Elevated) |+| `mirror.sound` | phone | Shares its sound on its own, without the screen (`sound_only`, §5) || `mirror.virtual_display` | phone | Runs apps on displays of their own, shown in windows on the PC (Elevated, Android 11+) || `mirror.listen` | PC | Plays a mirrored phone's sound |@@ -33,7 +34,8 @@ On the control stream.```t = "mirror.start" id = n b = { max_size: uint, fps: uint, bitrate: uint, ? audio: bool,? session: uint, ? app: text,- ? stay_awake: bool, ? screen_off: bool, ? watch: text }+ ? stay_awake: bool, ? screen_off: bool, ? watch: text,+ ? sound_only: bool }t = "mirror.stop" id = n b = { ? session: uint }t = "mirror.power" b = { ? stay_awake: bool, ? screen_off: bool }t = "mirror.keyframe" b = { ? session: uint }@@ -57,6 +59,11 @@ means 0, so PCs and phones that predate sessions work as before.user agrees, and sound only if the phone can (it may share the screenwithout it). Errors: `DENIED` (mirroring is off for the PC),`UNSUPPORTED` (no `mirror.capture`).+- `sound_only` (PC → phone, `session` 0 with `audio`, never with `app`,+ `watch`, `stay_awake` or `screen_off`): only the phone's sound, no video+ stream; the PC plays it without a window. Sent only to a phone that offers+ `mirror.sound`; one that doesn't answers `UNSUPPORTED`, so an older phone+ is never asked for its screen instead. `mirror.stop` (session 0) ends it.- `watch` (phone → PC, `session` 0 only, never with `app`): Play on phone.Show what this PC player plays instead of the PC's screen, after the PCoffered it with `media.watch` ([media.md](media.md) §4).@@ -161,6 +168,8 @@ When the PC asked for it, the phone opens a second stream with the headerA PC that doesn't offer `mirror.listen` resets the stream. The stream endswith the video: when either side stops mirroring, or the connection drops.+With `sound_only` there's no video: the sound stream is all there is, and+it ends when either side stops or the connection drops.On Android, the sound is what apps play (media, games, and apps that don'tsay otherwise), captured with the screen share's consent and the