Spoken conversation mode: listen again after each spoken answer until stopped
CI / check (push) Canceled after 0s
CI / check (push) Canceled after 0s
- A spoken question answered aloud opens a conversation (Settings › Assistant, on by default, needs voice replies); after the answer is heard to the end, the sheet listens again. - Ends on a stop phrase (assist_stop_words, per language; isStopPhrase), End, typing, a stopped voice, a card waiting, or nothing said (the existing silence timeout). - "In conversation" banner with End in the sheet's foot; shot 24-assistant-conversation. - HeadsetRoute: a Bluetooth headset made the communication device (Android 12+) and its microphone preferred by the recorder, so the conversation can stay in the ear. - Speaker.playToEnd tells a voice heard to the end from one stopped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
21 files changed
+304
-12
No files matched your search
@@ -13,6 +13,11 @@ is in alpha and releases come off `main`.
|
||||
are uploaded and go with the message; the chat then opens in the app.
|
||||
- **A home-screen widget**: *Ask anything* opens the assistant, the microphone opens it
|
||||
listening, and the clock opens the last assistant chat. It shows nothing from your account.
|
||||
- **Spoken conversations with the assistant.** Ask by voice and, once the answer has been read
|
||||
aloud, the assistant listens again -- until you say "stop" (or "that's all"), tap **End**, or
|
||||
say nothing for a few seconds. The sheet says *In conversation* while it lasts. With a
|
||||
Bluetooth headset connected, its microphone is used, so the conversation can stay in your ear.
|
||||
Settings › Assistant › *Keep a spoken conversation going* (on; it needs voice replies).
|
||||
- **Launcher shortcuts** (long-press the icon): Ask LLeMbas, Speak, Last chat.
|
||||
- **A headset's voice button** opens the assistant listening, when LLeMbas answers it; over the
|
||||
lock screen it asks to unlock first.
|
||||
|
||||
@@ -5,6 +5,8 @@
|
||||
<!-- Dictation and the assistant's voice. Asked for the first time either is used. -->
|
||||
<uses-permission android:name="android.permission.RECORD_AUDIO" />
|
||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||
<!-- A spoken conversation through a Bluetooth headset: its microphone made the route. -->
|
||||
<uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
|
||||
|
||||
<queries>
|
||||
<!-- UnifiedPush distributors (ntfy and others) are found by this action. -->
|
||||
|
||||
@@ -71,6 +71,11 @@ data class AssistUiState(
|
||||
val speaking: Boolean = false,
|
||||
/** Whether anything can turn speech into words: the instance's speech-to-text, or the phone's. */
|
||||
val canListen: Boolean = true,
|
||||
/**
|
||||
* A spoken conversation: after each spoken answer is read aloud, the sheet listens again --
|
||||
* until the person says stop, taps End, types, or says nothing.
|
||||
*/
|
||||
val conversation: Boolean = false,
|
||||
) {
|
||||
val screenAvailable: Boolean get() = screenText || screenshot != null
|
||||
val modelInfo: ModelInfo? get() = models.firstOrNull { it.id == modelId }
|
||||
@@ -94,6 +99,7 @@ interface AssistActions {
|
||||
fun voiceReply(on: Boolean) {}
|
||||
fun readAloud() {}
|
||||
fun stopReading() {}
|
||||
fun endConversation() {}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -116,6 +122,7 @@ class AssistController(private val context: Context, private val scope: Coroutin
|
||||
private val recorder = Recorder(scope)
|
||||
private val phone = PhoneRecognizer(context)
|
||||
private val speaker = Speaker(context)
|
||||
private val route = HeadsetRoute(context)
|
||||
private var following: Job? = null
|
||||
private var hearing: Job? = null
|
||||
private var usingPhone = false
|
||||
@@ -215,13 +222,15 @@ class AssistController(private val context: Context, private val scope: Coroutin
|
||||
_state.update { it.copy(listening = true, heard = "", level = 0f, error = null) }
|
||||
hearing = scope.launch {
|
||||
usingPhone = phoneEngine()
|
||||
// A headset's microphone when one is there: the conversation can go on in the ear.
|
||||
val headset = route.microphone()
|
||||
if (usingPhone) {
|
||||
phone.start(
|
||||
onPartial = { words -> _state.update { it.copy(heard = words) } },
|
||||
onLevel = { l -> _state.update { it.copy(level = l) } },
|
||||
onResult = { words ->
|
||||
_state.update { it.copy(listening = false, level = 0f, heard = "") }
|
||||
if (words.isNotBlank()) ask(words, spoken = true)
|
||||
if (words.isNotBlank()) askOrStop(words) else endConversation()
|
||||
},
|
||||
onFail = { code ->
|
||||
val quiet = code == SpeechRecognizer.ERROR_NO_MATCH || code == SpeechRecognizer.ERROR_SPEECH_TIMEOUT
|
||||
@@ -229,12 +238,14 @@ class AssistController(private val context: Context, private val scope: Coroutin
|
||||
it.copy(
|
||||
listening = false,
|
||||
level = 0f,
|
||||
conversation = false,
|
||||
error = if (quiet) null else context.getString(R.string.assist_recogniser_failed),
|
||||
)
|
||||
}
|
||||
},
|
||||
)
|
||||
} else {
|
||||
recorder.preferred = headset
|
||||
recorder.start()
|
||||
launch { recorder.level.collect { l -> _state.update { it.copy(level = l) } } }
|
||||
launch { writeDownAsSaid() }
|
||||
@@ -317,20 +328,33 @@ class AssistController(private val context: Context, private val scope: Coroutin
|
||||
_state.update { it.copy(busy = true) }
|
||||
val text = context.lembas.instances.client()?.transcribe(wav).orEmpty()
|
||||
_state.update { it.copy(busy = false, heard = "") }
|
||||
if (text.isNotBlank()) ask(text, spoken = true)
|
||||
if (text.isNotBlank()) askOrStop(text) else endConversation()
|
||||
} catch (e: Exception) {
|
||||
_state.update { it.copy(busy = false, heard = "", error = context.explain(e)) }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Stop listening and keep nothing: the person would rather type. */
|
||||
/**
|
||||
* Stop listening and keep nothing: the person would rather type -- or said nothing at all.
|
||||
* Either ends a spoken conversation.
|
||||
*/
|
||||
override fun type() {
|
||||
hearing?.cancel()
|
||||
hearing = null
|
||||
phone.stop()
|
||||
scope.launch { recorder.stop() }
|
||||
_state.update { it.copy(listening = false, heard = "", level = 0f) }
|
||||
_state.update { it.copy(listening = false, heard = "", level = 0f, conversation = false) }
|
||||
}
|
||||
|
||||
/** What was said: in a conversation, "stop" (or the like) ends it; anything else is asked. */
|
||||
private fun askOrStop(words: String) {
|
||||
val phrases = context.getString(R.string.assist_stop_words).split("|")
|
||||
if (_state.value.conversation && isStopPhrase(words, phrases)) endConversation() else ask(words, spoken = true)
|
||||
}
|
||||
|
||||
override fun endConversation() {
|
||||
_state.update { it.copy(conversation = false) }
|
||||
}
|
||||
|
||||
// --- Asking ------------------------------------------------------------------------------
|
||||
@@ -349,6 +373,10 @@ class AssistController(private val context: Context, private val scope: Coroutin
|
||||
following = scope.launch {
|
||||
val turn = AssistTurn(question)
|
||||
_state.update { it.copy(busy = true, turns = it.turns + turn, error = null) }
|
||||
// A spoken question, answered aloud, opens a conversation (Settings › Assistant).
|
||||
val talking = spoken && context.lembas.instances.prefs.first().assistantConversation &&
|
||||
_state.value.voiceReply && _state.value.canSpeak
|
||||
_state.update { it.copy(conversation = talking) }
|
||||
try {
|
||||
val store = context.lembas.instances
|
||||
val api = store.client() ?: throw ApiException(401, "Not signed in.")
|
||||
@@ -384,9 +412,16 @@ class AssistController(private val context: Context, private val scope: Coroutin
|
||||
live = live.apply(frame.event, frame.data)
|
||||
_state.update { s -> s.copy(turns = s.turns.dropLast(1) + turn.copy(reply = live), busy = live.finished == null) }
|
||||
}
|
||||
if (spoken && _state.value.voiceReply && _state.value.canSpeak && live.finished != null) speak(spokenWords(live.finished?.steps.orEmpty()))
|
||||
val heardAll = if (spoken && _state.value.voiceReply && _state.value.canSpeak && live.finished != null && live.cards.isEmpty()) {
|
||||
speak(spokenWords(live.finished?.steps.orEmpty()))
|
||||
} else {
|
||||
false
|
||||
}
|
||||
// The answer was heard to the end: listen for the next thing said. Stopped, a
|
||||
// card waiting, or nothing to read: the conversation ends there.
|
||||
if (_state.value.conversation && heardAll && micAllowed()) listen() else endConversation()
|
||||
} catch (e: Exception) {
|
||||
_state.update { it.copy(error = context.explain(e)) }
|
||||
_state.update { it.copy(error = context.explain(e), conversation = false) }
|
||||
} finally {
|
||||
_state.update { it.copy(busy = false) }
|
||||
}
|
||||
@@ -422,7 +457,7 @@ class AssistController(private val context: Context, private val scope: Coroutin
|
||||
override fun newChat() {
|
||||
following?.cancel()
|
||||
speaker.stop()
|
||||
_state.update { it.copy(chatId = null, turns = emptyList(), error = null, busy = false) }
|
||||
_state.update { it.copy(chatId = null, turns = emptyList(), error = null, busy = false, conversation = false) }
|
||||
}
|
||||
|
||||
/** The model: for the chat this sheet is in, changed at once; for a new one, kept for next time. */
|
||||
@@ -449,15 +484,18 @@ class AssistController(private val context: Context, private val scope: Coroutin
|
||||
scope.launch { speak(spokenWords(steps)) }
|
||||
}
|
||||
|
||||
/** Stop the voice -- and, in a conversation, the listening that would follow it. */
|
||||
override fun stopReading() = speaker.stop()
|
||||
|
||||
private suspend fun speak(words: String) {
|
||||
if (words.isBlank()) return
|
||||
try {
|
||||
val api = context.lembas.instances.client() ?: return
|
||||
speaker.play(api.speech(words))
|
||||
/** Read [words] aloud; true when they were heard to the end. */
|
||||
private suspend fun speak(words: String): Boolean {
|
||||
if (words.isBlank()) return false
|
||||
return try {
|
||||
val api = context.lembas.instances.client() ?: return false
|
||||
speaker.playToEnd(api.speech(words))
|
||||
} catch (e: Exception) {
|
||||
_state.update { it.copy(error = context.explain(e)) }
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -472,6 +510,7 @@ class AssistController(private val context: Context, private val scope: Coroutin
|
||||
hearing?.cancel()
|
||||
speaker.stop()
|
||||
phone.stop()
|
||||
route.release()
|
||||
scope.launch { recorder.stop() }
|
||||
}
|
||||
|
||||
|
||||
@@ -42,6 +42,7 @@ import androidx.compose.material.icons.automirrored.filled.VolumeOff
|
||||
import androidx.compose.material.icons.automirrored.filled.VolumeUp
|
||||
import androidx.compose.material.icons.filled.ArrowDropDown
|
||||
import androidx.compose.material.icons.filled.EditNote
|
||||
import androidx.compose.material.icons.filled.Forum
|
||||
import androidx.compose.material.icons.filled.History
|
||||
import androidx.compose.material.icons.filled.Keyboard
|
||||
import androidx.compose.material.icons.filled.Lightbulb
|
||||
@@ -276,6 +277,7 @@ fun ColumnScope.AssistSheetContent(
|
||||
|
||||
// The foot.
|
||||
Column(Modifier.fillMaxWidth().padding(start = 12.dp, end = 12.dp, top = 4.dp, bottom = 12.dp)) {
|
||||
if (state.conversation && !locked) Conversation(actions)
|
||||
if (state.screenAvailable && !locked) ScreenToggle(state, actions)
|
||||
if (state.listening) {
|
||||
Listening(state, onDone = actions::heard, onType = actions::type)
|
||||
@@ -498,6 +500,28 @@ private fun Turn(turn: AssistTurn, last: Boolean, state: AssistUiState, actions:
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A spoken conversation is on: the sheet will listen again after the answer is read. Says so,
|
||||
* and how it ends -- End here, "stop" said, or silence. The words give; End keeps its size.
|
||||
*/
|
||||
@Composable
|
||||
private fun Conversation(actions: AssistActions) {
|
||||
val palette = LocalPalette.current
|
||||
Surface(shape = RoundedCornerShape(16.dp), color = palette.accentSoft, modifier = Modifier.fillMaxWidth().padding(bottom = 8.dp)) {
|
||||
Row(Modifier.padding(start = 14.dp, end = 4.dp, top = 6.dp, bottom = 6.dp), verticalAlignment = Alignment.CenterVertically) {
|
||||
Icon(Icons.Filled.Forum, contentDescription = null, tint = palette.accent, modifier = Modifier.size(20.dp))
|
||||
Spacer(Modifier.width(12.dp))
|
||||
Column(Modifier.weight(1f)) {
|
||||
Text(stringResource(R.string.assist_conversation), style = MaterialTheme.typography.labelLarge, color = palette.accent)
|
||||
Text(stringResource(R.string.assist_conversation_line), style = MaterialTheme.typography.bodySmall, color = palette.inkMuted)
|
||||
}
|
||||
TextButton(onClick = actions::endConversation, modifier = Modifier.heightIn(min = 48.dp)) {
|
||||
Text(stringResource(R.string.assist_conversation_end))
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/** Use screen: off every time the sheet opens; on, the screen goes with the next question only. */
|
||||
@Composable
|
||||
private fun ScreenToggle(state: AssistUiState, actions: AssistActions) {
|
||||
|
||||
@@ -5,7 +5,9 @@ import android.content.ComponentName
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.media.AudioAttributes
|
||||
import android.media.AudioDeviceInfo
|
||||
import android.media.AudioFormat
|
||||
import android.media.AudioManager
|
||||
import android.media.AudioRecord
|
||||
import android.media.MediaPlayer
|
||||
import android.media.MediaRecorder
|
||||
@@ -17,6 +19,7 @@ import android.speech.RecognizerIntent
|
||||
import android.speech.SpeechRecognizer
|
||||
import androidx.annotation.RequiresPermission
|
||||
import eu.llembas.android.auth.Prefs
|
||||
import kotlinx.coroutines.CompletableDeferred
|
||||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.Job
|
||||
@@ -56,6 +59,9 @@ class Recorder(private val scope: CoroutineScope) {
|
||||
/** How many seconds have been recorded. */
|
||||
val seconds: Float get() = pcm.size() / (RATE * 2f)
|
||||
|
||||
/** The microphone to prefer -- a headset's, while one is the route ([HeadsetRoute]). */
|
||||
var preferred: AudioDeviceInfo? = null
|
||||
|
||||
@RequiresPermission(Manifest.permission.RECORD_AUDIO)
|
||||
fun start() {
|
||||
if (record != null) return
|
||||
@@ -69,6 +75,7 @@ class Recorder(private val scope: CoroutineScope) {
|
||||
maxOf(min, RATE),
|
||||
)
|
||||
record = audio
|
||||
preferred?.let { audio.setPreferredDevice(it) }
|
||||
audio.startRecording()
|
||||
job = scope.launch(Dispatchers.IO) {
|
||||
val buffer = ByteArray(maxOf(min, 4096))
|
||||
@@ -143,11 +150,15 @@ class Speaker(private val context: Context) {
|
||||
private val _playing = MutableStateFlow(false)
|
||||
val playing: StateFlow<Boolean> = _playing.asStateFlow()
|
||||
|
||||
private var ended: CompletableDeferred<Boolean>? = null
|
||||
|
||||
suspend fun play(mp3: ByteArray) {
|
||||
stop()
|
||||
val file = withContext(Dispatchers.IO) {
|
||||
File.createTempFile("reply", ".mp3", context.cacheDir).apply { writeBytes(mp3) }
|
||||
}
|
||||
val done = CompletableDeferred<Boolean>()
|
||||
ended = done
|
||||
player = MediaPlayer().apply {
|
||||
setAudioAttributes(
|
||||
AudioAttributes.Builder().setUsage(AudioAttributes.USAGE_ASSISTANT)
|
||||
@@ -159,6 +170,7 @@ class Speaker(private val context: Context) {
|
||||
file.delete()
|
||||
player = null
|
||||
_playing.value = false
|
||||
done.complete(true)
|
||||
}
|
||||
prepare()
|
||||
start()
|
||||
@@ -166,6 +178,12 @@ class Speaker(private val context: Context) {
|
||||
_playing.value = true
|
||||
}
|
||||
|
||||
/** Play [mp3] and wait: true when it was heard to the end, false when it was stopped. */
|
||||
suspend fun playToEnd(mp3: ByteArray): Boolean {
|
||||
play(mp3)
|
||||
return ended?.await() ?: false
|
||||
}
|
||||
|
||||
fun stop() {
|
||||
player?.runCatching {
|
||||
stop()
|
||||
@@ -173,9 +191,58 @@ class Speaker(private val context: Context) {
|
||||
}
|
||||
player = null
|
||||
_playing.value = false
|
||||
ended?.complete(false)
|
||||
ended = null
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A headset's microphone for the assistant, while one is connected: a Bluetooth headset is
|
||||
* made the communication device (Android 12+), so the sheet hears the headset and answers into
|
||||
* it, as a call would; a wired headset's microphone is the default anyway. [release] gives the
|
||||
* route back. Nothing happens without a headset.
|
||||
*/
|
||||
class HeadsetRoute(context: Context) {
|
||||
private val audio = context.getSystemService(AudioManager::class.java)
|
||||
private var engaged = false
|
||||
|
||||
/** The headset's microphone, if there is one -- made the route first where that is needed. */
|
||||
fun microphone(): AudioDeviceInfo? {
|
||||
val inputs = audio?.getDevices(AudioManager.GET_DEVICES_INPUTS).orEmpty()
|
||||
val wired = inputs.firstOrNull { it.type == AudioDeviceInfo.TYPE_WIRED_HEADSET || it.type == AudioDeviceInfo.TYPE_USB_HEADSET }
|
||||
if (wired != null) return wired
|
||||
if (Build.VERSION.SDK_INT < 31 || audio == null) return null
|
||||
val headset = audio.availableCommunicationDevices.firstOrNull {
|
||||
it.type == AudioDeviceInfo.TYPE_BLUETOOTH_SCO || it.type == AudioDeviceInfo.TYPE_BLE_HEADSET
|
||||
} ?: return null
|
||||
if (!engaged) engaged = runCatching { audio.setCommunicationDevice(headset) }.getOrDefault(false)
|
||||
return inputs.firstOrNull { it.type == headset.type } ?: headset
|
||||
}
|
||||
|
||||
fun release() {
|
||||
if (engaged && Build.VERSION.SDK_INT >= 31) runCatching { audio?.clearCommunicationDevice() }
|
||||
engaged = false
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether [heard] is the person ending a spoken conversation: one of [phrases] ("stop", "that's
|
||||
* all", in the app's language), alone or with a word or two around it ("stop please", "ok
|
||||
* that's all"). A longer sentence that happens to hold "stop" is a question, not an ending.
|
||||
*/
|
||||
fun isStopPhrase(heard: String, phrases: List<String>): Boolean {
|
||||
val said = words(heard)
|
||||
if (said.isEmpty()) return false
|
||||
return phrases.map(::words).filter { it.isNotEmpty() }.any { phrase ->
|
||||
said.size <= phrase.size + 2 && said.windowed(phrase.size).any { it == phrase }
|
||||
}
|
||||
}
|
||||
|
||||
private fun words(text: String): List<String> = text.lowercase()
|
||||
.replace(Regex("[\\u2019']"), "")
|
||||
.split(Regex("[^\\p{L}\\p{N}]+"))
|
||||
.filter { it.isNotBlank() }
|
||||
|
||||
/**
|
||||
* Speech in through the phone's own recogniser, for Settings › Voice input › Phone: words as
|
||||
* they are said ([start]'s `onPartial`), and the end of speech found by the recogniser.
|
||||
|
||||
@@ -85,6 +85,8 @@ data class Prefs(
|
||||
val accountLanguage: String = "",
|
||||
val voiceInput: String = VOICE_LEMBAS,
|
||||
val assistantListens: Boolean = true,
|
||||
/** After a spoken answer is read aloud, listen again: a spoken conversation. */
|
||||
val assistantConversation: Boolean = true,
|
||||
val assistantModel: String = "",
|
||||
val lastAssistChat: String = "",
|
||||
val lastAssistTitle: String = "",
|
||||
|
||||
@@ -29,6 +29,7 @@ import androidx.compose.material.icons.filled.Assistant
|
||||
import androidx.compose.material.icons.filled.CheckCircle
|
||||
import androidx.compose.material.icons.filled.Dns
|
||||
import androidx.compose.material.icons.filled.Download
|
||||
import androidx.compose.material.icons.filled.Forum
|
||||
import androidx.compose.material.icons.filled.Info
|
||||
import androidx.compose.material.icons.filled.Mic
|
||||
import androidx.compose.material.icons.filled.Notifications
|
||||
@@ -102,6 +103,7 @@ interface SettingsActions {
|
||||
fun assistantTemporary(on: Boolean) {}
|
||||
fun voiceInput(value: String) {}
|
||||
fun assistantListens(on: Boolean) {}
|
||||
fun assistantConversation(on: Boolean) {}
|
||||
fun readAloud(on: Boolean) {}
|
||||
fun checkUpdate() {}
|
||||
fun openRelease() {}
|
||||
@@ -196,6 +198,10 @@ fun SettingsScreen(onBack: () -> Unit, onAddInstance: () -> Unit) {
|
||||
scope.launch { store.savePrefs { it.copy(assistantListens = on) } }
|
||||
}
|
||||
|
||||
override fun assistantConversation(on: Boolean) {
|
||||
scope.launch { store.savePrefs { it.copy(assistantConversation = on) } }
|
||||
}
|
||||
|
||||
override fun readAloud(on: Boolean) {
|
||||
scope.launch { store.savePrefs { it.copy(readAloudSpoken = on) } }
|
||||
}
|
||||
@@ -408,6 +414,21 @@ fun SettingsContent(state: SettingsState, actions: SettingsActions, onBack: () -
|
||||
onClick = { actions.readAloud(!state.prefs.readAloudSpoken) },
|
||||
trailing = { Switch(checked = state.prefs.readAloudSpoken, onCheckedChange = actions::readAloud) },
|
||||
)
|
||||
Rule()
|
||||
SettingRow(
|
||||
Icons.Filled.Forum,
|
||||
stringResource(R.string.assistant_conversation),
|
||||
subtitle = stringResource(R.string.assistant_conversation_line),
|
||||
enabled = state.prefs.readAloudSpoken,
|
||||
onClick = { actions.assistantConversation(!state.prefs.assistantConversation) },
|
||||
trailing = {
|
||||
Switch(
|
||||
checked = state.prefs.assistantConversation && state.prefs.readAloudSpoken,
|
||||
enabled = state.prefs.readAloudSpoken,
|
||||
onCheckedChange = actions::assistantConversation,
|
||||
)
|
||||
},
|
||||
)
|
||||
}
|
||||
Text(
|
||||
stringResource(R.string.assistant_samsung) + "\n\n" + stringResource(R.string.assist_no_wake_word),
|
||||
|
||||
@@ -390,6 +390,12 @@
|
||||
<string name="assist_say_it">Řekněte to a odmlčte se</string>
|
||||
<string name="assist_type">Raději psát</string>
|
||||
<string name="assist_writing_down">Zapisuji, co jste řekli…</string>
|
||||
<string name="assist_conversation">Rozhovor</string>
|
||||
<string name="assist_conversation_line">Po každé odpovědi znovu poslouchám. Řekněte „stop“ a skončíme.</string>
|
||||
<string name="assist_conversation_end">Ukončit</string>
|
||||
<string name="assist_stop_words">stop|dost|to je vše|to je všechno|konec|nashledanou|díky to je vše|zrušit|stop stop</string>
|
||||
<string name="assistant_conversation">Pokračovat v mluveném rozhovoru</string>
|
||||
<string name="assistant_conversation_line">Po přečtení mluvené odpovědi asistent znovu poslouchá — dokud neřeknete „stop“, neklepnete na Ukončit nebo pár sekund nic neřeknete. Funguje i se sluchátky.</string>
|
||||
<string name="assist_recogniser_failed">Rozpoznávání řeči v telefonu se zastavilo. Zkuste to znovu nebo zvolte LLeMbas v Nastavení › Hlasový vstup.</string>
|
||||
<string name="assistant_listens">Začít poslouchat, když se asistent otevře</string>
|
||||
<string name="voice_input">Hlasový vstup</string>
|
||||
|
||||
@@ -390,6 +390,12 @@
|
||||
<string name="assist_say_it">Sprechen Sie, dann kurz Pause</string>
|
||||
<string name="assist_type">Lieber tippen</string>
|
||||
<string name="assist_writing_down">Ihr Gesagtes wird aufgeschrieben…</string>
|
||||
<string name="assist_conversation">Im Gespräch</string>
|
||||
<string name="assist_conversation_line">Nach jeder Antwort höre ich wieder zu. Sag „Stopp“, um zu beenden.</string>
|
||||
<string name="assist_conversation_end">Beenden</string>
|
||||
<string name="assist_stop_words">stopp|stop|das wars|das war\'s|das ist alles|genug|ende|tschüss|auf wiedersehen|danke das wars|abbrechen</string>
|
||||
<string name="assistant_conversation">Ein gesprochenes Gespräch fortführen</string>
|
||||
<string name="assistant_conversation_line">Nachdem eine gesprochene Antwort vorgelesen wurde, hört der Assistent wieder zu — bis du „Stopp“ sagst, auf Beenden tippst oder ein paar Sekunden nichts sagst. Funktioniert mit einem Headset.</string>
|
||||
<string name="assist_recogniser_failed">Die Spracherkennung des Telefons hat angehalten. Versuchen Sie es erneut oder wählen Sie LLeMbas unter Einstellungen › Spracheingabe.</string>
|
||||
<string name="assistant_listens">Beim Öffnen des Assistenten zuhören</string>
|
||||
<string name="voice_input">Spracheingabe</string>
|
||||
|
||||
@@ -390,6 +390,12 @@
|
||||
<string name="assist_say_it">Dígalo y haga una pausa</string>
|
||||
<string name="assist_type">Escribir en su lugar</string>
|
||||
<string name="assist_writing_down">Escribiendo lo que ha dicho…</string>
|
||||
<string name="assist_conversation">En conversación</string>
|
||||
<string name="assist_conversation_line">Vuelvo a escuchar después de cada respuesta. Di «para» para terminar.</string>
|
||||
<string name="assist_conversation_end">Terminar</string>
|
||||
<string name="assist_stop_words">para|stop|basta|eso es todo|ya está|adiós|terminar|fin|gracias eso es todo|cancelar</string>
|
||||
<string name="assistant_conversation">Mantener una conversación hablada</string>
|
||||
<string name="assistant_conversation_line">Después de leer en voz alta una respuesta hablada, el asistente vuelve a escuchar, hasta que digas «para», toques Terminar o no digas nada durante unos segundos. Funciona con auriculares.</string>
|
||||
<string name="assist_recogniser_failed">El reconocimiento de voz del teléfono se detuvo. Inténtelo de nuevo o elija LLeMbas en Ajustes › Entrada de voz.</string>
|
||||
<string name="assistant_listens">Empezar a escuchar al abrir el asistente</string>
|
||||
<string name="voice_input">Entrada de voz</string>
|
||||
|
||||
@@ -390,6 +390,12 @@
|
||||
<string name="assist_say_it">Dites-le, puis marquez une pause</string>
|
||||
<string name="assist_type">Taper plutôt</string>
|
||||
<string name="assist_writing_down">Transcription de ce que vous avez dit…</string>
|
||||
<string name="assist_conversation">En conversation</string>
|
||||
<string name="assist_conversation_line">J’écoute à nouveau après chaque réponse. Dites « stop » pour arrêter.</string>
|
||||
<string name="assist_conversation_end">Terminer</string>
|
||||
<string name="assist_stop_words">stop|arrête|c\'est tout|ça suffit|au revoir|fin|terminé|merci c\'est tout|annuler</string>
|
||||
<string name="assistant_conversation">Poursuivre une conversation orale</string>
|
||||
<string name="assistant_conversation_line">Après la lecture d’une réponse orale, l’assistant écoute à nouveau — jusqu’à ce que vous disiez « stop », touchiez Terminer ou ne disiez rien pendant quelques secondes. Fonctionne avec un casque.</string>
|
||||
<string name="assist_recogniser_failed">La reconnaissance vocale du téléphone s’est arrêtée. Réessayez, ou choisissez LLeMbas dans Réglages › Saisie vocale.</string>
|
||||
<string name="assistant_listens">Écouter dès l’ouverture de l’assistant</string>
|
||||
<string name="voice_input">Saisie vocale</string>
|
||||
|
||||
@@ -390,6 +390,12 @@
|
||||
<string name="assist_say_it">Mondja, aztán tartson szünetet</string>
|
||||
<string name="assist_type">Inkább gépelés</string>
|
||||
<string name="assist_writing_down">Lejegyzem, amit mondott…</string>
|
||||
<string name="assist_conversation">Beszélgetés</string>
|
||||
<string name="assist_conversation_line">Minden válasz után újra figyelek. A befejezéshez mondd: „állj”.</string>
|
||||
<string name="assist_conversation_end">Befejezés</string>
|
||||
<string name="assist_stop_words">állj|stop|ennyi|ennyi volt|elég|vége|viszlát|köszönöm ennyi|mégse</string>
|
||||
<string name="assistant_conversation">Szóbeli beszélgetés folytatása</string>
|
||||
<string name="assistant_conversation_line">Egy szóbeli válasz felolvasása után az asszisztens újra figyel — amíg nem mondod, hogy „állj”, nem koppintasz a Befejezésre, vagy néhány másodpercig nem szólsz. Headsettel is működik.</string>
|
||||
<string name="assist_recogniser_failed">A telefon beszédfelismerője leállt. Próbálja újra, vagy válassza a LLeMbast a Beállítások › Hangbevitel alatt.</string>
|
||||
<string name="assistant_listens">Hallgatás indítása az asszisztens megnyitásakor</string>
|
||||
<string name="voice_input">Hangbevitel</string>
|
||||
|
||||
@@ -390,6 +390,12 @@
|
||||
<string name="assist_say_it">Lo dica, poi faccia una pausa</string>
|
||||
<string name="assist_type">Scrivi invece</string>
|
||||
<string name="assist_writing_down">Trascrivo ciò che ha detto…</string>
|
||||
<string name="assist_conversation">In conversazione</string>
|
||||
<string name="assist_conversation_line">Ascolto di nuovo dopo ogni risposta. Di’ «basta» per finire.</string>
|
||||
<string name="assist_conversation_end">Termina</string>
|
||||
<string name="assist_stop_words">basta|stop|è tutto|fine|ciao|arrivederci|grazie è tutto|annulla|smetti</string>
|
||||
<string name="assistant_conversation">Continuare una conversazione a voce</string>
|
||||
<string name="assistant_conversation_line">Dopo aver letto ad alta voce una risposta a voce, l’assistente ascolta di nuovo, finché non dici «basta», tocchi Termina o non dici nulla per qualche secondo. Funziona con le cuffie.</string>
|
||||
<string name="assist_recogniser_failed">Il riconoscimento vocale del telefono si è fermato. Riprovi, oppure scelga LLeMbas in Impostazioni › Input vocale.</string>
|
||||
<string name="assistant_listens">Inizia ad ascoltare all’apertura dell’assistente</string>
|
||||
<string name="voice_input">Input vocale</string>
|
||||
|
||||
@@ -390,6 +390,12 @@
|
||||
<string name="assist_say_it">Powiedz to i zrób pauzę</string>
|
||||
<string name="assist_type">Zamiast tego pisz</string>
|
||||
<string name="assist_writing_down">Zapisuję, co powiedziałeś…</string>
|
||||
<string name="assist_conversation">Rozmowa</string>
|
||||
<string name="assist_conversation_line">Po każdej odpowiedzi słucham znowu. Powiedz „stop”, aby zakończyć.</string>
|
||||
<string name="assist_conversation_end">Zakończ</string>
|
||||
<string name="assist_stop_words">stop|wystarczy|to wszystko|koniec|do widzenia|dzięki to wszystko|anuluj|przestań</string>
|
||||
<string name="assistant_conversation">Prowadź rozmowę głosową</string>
|
||||
<string name="assistant_conversation_line">Po odczytaniu odpowiedzi na głos asystent znów słucha — dopóki nie powiesz „stop”, nie dotkniesz Zakończ albo nie będziesz milczeć przez kilka sekund. Działa ze słuchawkami.</string>
|
||||
<string name="assist_recogniser_failed">Rozpoznawanie mowy w telefonie przestało działać. Spróbuj ponownie albo wybierz LLeMbas w Ustawienia › Wprowadzanie głosowe.</string>
|
||||
<string name="assistant_listens">Zacznij słuchać po otwarciu asystenta</string>
|
||||
<string name="voice_input">Wprowadzanie głosowe</string>
|
||||
|
||||
@@ -390,6 +390,12 @@
|
||||
<string name="assist_say_it">Povedzte to a odmlčte sa</string>
|
||||
<string name="assist_type">Radšej písať</string>
|
||||
<string name="assist_writing_down">Zapisujem, čo ste povedali…</string>
|
||||
<string name="assist_conversation">Rozhovor</string>
|
||||
<string name="assist_conversation_line">Po každej odpovedi znova počúvam. Povedzte „stop“ a skončíme.</string>
|
||||
<string name="assist_conversation_end">Ukončiť</string>
|
||||
<string name="assist_stop_words">stop|dosť|to je všetko|koniec|dovidenia|ďakujem to je všetko|zrušiť|prestaň</string>
|
||||
<string name="assistant_conversation">Pokračovať v hovorenom rozhovore</string>
|
||||
<string name="assistant_conversation_line">Po prečítaní hovorenej odpovede asistent znova počúva — kým nepoviete „stop“, neťuknete na Ukončiť alebo pár sekúnd nič nepoviete. Funguje aj so slúchadlami.</string>
|
||||
<string name="assist_recogniser_failed">Rozpoznávanie reči v telefóne sa zastavilo. Skúste to znova alebo zvoľte LLeMbas v Nastaveniach › Hlasový vstup.</string>
|
||||
<string name="assistant_listens">Začať počúvať, keď sa asistent otvorí</string>
|
||||
<string name="voice_input">Hlasový vstup</string>
|
||||
|
||||
@@ -392,6 +392,12 @@
|
||||
<string name="assist_say_it">Say it, then pause</string>
|
||||
<string name="assist_type">Type instead</string>
|
||||
<string name="assist_writing_down">Writing down what you said…</string>
|
||||
<string name="assist_conversation">In conversation</string>
|
||||
<string name="assist_conversation_line">I listen again after each answer. Say “stop” to end.</string>
|
||||
<string name="assist_conversation_end">End</string>
|
||||
<string name="assist_stop_words">stop|that\'s all|that is all|that\'s it|goodbye|bye|enough|end|thank you that\'s all|cancel</string>
|
||||
<string name="assistant_conversation">Keep a spoken conversation going</string>
|
||||
<string name="assistant_conversation_line">After a spoken answer is read aloud, the assistant listens again — until you say “stop”, tap End, or say nothing for a few seconds. Works with a headset.</string>
|
||||
<string name="assist_recogniser_failed">The phone\'s speech recogniser stopped. Try again, or choose LLeMbas under Settings › Voice input.</string>
|
||||
<string name="assistant_listens">Start listening when the assistant opens</string>
|
||||
<string name="voice_input">Voice input</string>
|
||||
|
||||
@@ -7,6 +7,7 @@ import eu.llembas.android.assist.AssistController
|
||||
import eu.llembas.android.assist.AssistTurn
|
||||
import eu.llembas.android.assist.Recorder
|
||||
import eu.llembas.android.assist.SheetStop
|
||||
import eu.llembas.android.assist.isStopPhrase
|
||||
import eu.llembas.android.assist.settle
|
||||
import eu.llembas.android.assist.usePhoneRecognizer
|
||||
import eu.llembas.android.auth.Prefs
|
||||
@@ -96,4 +97,15 @@ class AssistTest {
|
||||
// Files only: the request alone, the files go as attachments.
|
||||
assertEquals("Have a look.", shareMessage(" ", "", "Have a look."))
|
||||
}
|
||||
|
||||
@Test
|
||||
fun stopEndsAConversationButAQuestionAboutStoppingDoesNot() {
|
||||
val phrases = "stop|that's all|goodbye".split("|")
|
||||
assertTrue(isStopPhrase("Stop.", phrases))
|
||||
assertTrue(isStopPhrase("OK, that’s all, thanks", phrases))
|
||||
assertTrue(isStopPhrase("stop please", phrases))
|
||||
assertFalse(isStopPhrase("How do I stop the kettle from whistling in the morning?", phrases))
|
||||
assertFalse(isStopPhrase("", phrases))
|
||||
assertTrue(isStopPhrase("Ďakujem, to je všetko", listOf("ďakujem to je všetko")))
|
||||
}
|
||||
}
|
||||
@@ -392,6 +392,16 @@ object Fakes {
|
||||
speaking = true,
|
||||
)
|
||||
|
||||
/** A spoken conversation: the answer read, listening again. */
|
||||
val assistConversation = assistBase.copy(
|
||||
chatId = "c9",
|
||||
turns = listOf(AssistTurn(question.text.orEmpty(), earlier = answer.steps)),
|
||||
conversation = true,
|
||||
listening = true,
|
||||
heard = "And how long for the honey cakes",
|
||||
level = 0.3f,
|
||||
)
|
||||
|
||||
/** An answer being written. */
|
||||
val assistWriting = assistBase.copy(
|
||||
chatId = "c9",
|
||||
|
||||
@@ -260,6 +260,8 @@ class ScreenShots {
|
||||
shoot("21-assistant-writing", content = over(Fakes.assistWriting, false))
|
||||
shoot("22-assistant-locked", content = over(Fakes.assistOpened, true))
|
||||
shoot("23-assistant-offline", Phone.Small, content = over(Fakes.assistOffline, false))
|
||||
shoot("24-assistant-conversation", content = over(Fakes.assistConversation, false))
|
||||
shoot("24-assistant-conversation", Phone.Small, fontScale = 1.5f, content = over(Fakes.assistConversation, false))
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -417,6 +417,12 @@ STRINGS: dict[str, str] = {
|
||||
"assist_say_it": "Say it, then pause",
|
||||
"assist_type": "Type instead",
|
||||
"assist_writing_down": "Writing down what you said…",
|
||||
"assist_conversation": "In conversation",
|
||||
"assist_conversation_line": "I listen again after each answer. Say “stop” to end.",
|
||||
"assist_conversation_end": "End",
|
||||
"assist_stop_words": "stop|that's all|that is all|that's it|goodbye|bye|enough|end|thank you that's all|cancel",
|
||||
"assistant_conversation": "Keep a spoken conversation going",
|
||||
"assistant_conversation_line": "After a spoken answer is read aloud, the assistant listens again — until you say “stop”, tap End, or say nothing for a few seconds. Works with a headset.",
|
||||
"assist_recogniser_failed": "The phone's speech recogniser stopped. Try again, or choose LLeMbas under Settings › Voice input.",
|
||||
"assistant_listens": "Start listening when the assistant opens",
|
||||
"voice_input": "Voice input",
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
"assist_answer_in_app": "Tato odpověď čeká na vaše rozhodnutí: otevřete ji v aplikaci.",
|
||||
"assist_connecting": "Připojování…",
|
||||
"assist_continue": "Pokračovat v poslední konverzaci",
|
||||
"assist_conversation": "Rozhovor",
|
||||
"assist_conversation_end": "Ukončit",
|
||||
"assist_conversation_line": "Po každé odpovědi znovu poslouchám. Řekněte „stop“ a skončíme.",
|
||||
"assist_help": "Podržením tlačítka napájení otevřete asistenta nad libovolnou aplikací; nebo použijte dlaždici v Rychlém nastavení.",
|
||||
"assist_hint": "Zeptejte se na cokoli",
|
||||
"assist_no_model": "Žádný model",
|
||||
@@ -43,11 +46,14 @@
|
||||
"assist_send_now": "Odeslat, co jsem řekl",
|
||||
"assist_signed_out": "Nejprve se v aplikaci přihlaste k instanci LLeMbas.",
|
||||
"assist_stop_reading": "Přestat číst",
|
||||
"assist_stop_words": "stop|dost|to je vše|to je všechno|konec|nashledanou|díky to je vše|zrušit|stop stop",
|
||||
"assist_type": "Raději psát",
|
||||
"assist_use_screen": "Použít obrazovku",
|
||||
"assist_voice_reply_off": "Hlasová odpověď je vypnutá",
|
||||
"assist_voice_reply_on": "Hlasová odpověď je zapnutá",
|
||||
"assist_writing_down": "Zapisuji, co jste řekli…",
|
||||
"assistant_conversation": "Pokračovat v mluveném rozhovoru",
|
||||
"assistant_conversation_line": "Po přečtení mluvené odpovědi asistent znovu poslouchá — dokud neřeknete „stop“, neklepnete na Ukončit nebo pár sekund nic neřeknete. Funguje i se sluchátky.",
|
||||
"assistant_explained": "Nastavte LLeMbas jako digitálního asistenta telefonu: zvolte ho v Výchozí aplikace › Digitální asistent. Podržení tlačítka napájení, gesto asistenta nebo zkratka na zamykací obrazovce ho pak otevře přes to, co je právě na obrazovce.",
|
||||
"assistant_listens": "Začít poslouchat, když se asistent otevře",
|
||||
"assistant_open_settings": "Otevřít nastavení asistenta",
|
||||
@@ -250,6 +256,9 @@
|
||||
"assist_answer_in_app": "Diese Antwort wartet auf Ihre Entscheidung: öffnen Sie sie in der App.",
|
||||
"assist_connecting": "Verbinden…",
|
||||
"assist_continue": "Letzten Chat fortsetzen",
|
||||
"assist_conversation": "Im Gespräch",
|
||||
"assist_conversation_end": "Beenden",
|
||||
"assist_conversation_line": "Nach jeder Antwort höre ich wieder zu. Sag „Stopp“, um zu beenden.",
|
||||
"assist_help": "Halten Sie die Ein-/Aus-Taste, um den Assistenten über jeder App zu öffnen, oder nutzen Sie die Kachel in den Schnelleinstellungen.",
|
||||
"assist_hint": "Fragen Sie irgendetwas",
|
||||
"assist_no_model": "Kein Modell",
|
||||
@@ -272,11 +281,14 @@
|
||||
"assist_send_now": "Gesagtes senden",
|
||||
"assist_signed_out": "Melden Sie sich zuerst in der App bei einer LLeMbas-Instanz an.",
|
||||
"assist_stop_reading": "Vorlesen beenden",
|
||||
"assist_stop_words": "stopp|stop|das wars|das war's|das ist alles|genug|ende|tschüss|auf wiedersehen|danke das wars|abbrechen",
|
||||
"assist_type": "Lieber tippen",
|
||||
"assist_use_screen": "Bildschirm verwenden",
|
||||
"assist_voice_reply_off": "Sprachantwort ist aus",
|
||||
"assist_voice_reply_on": "Sprachantwort ist an",
|
||||
"assist_writing_down": "Ihr Gesagtes wird aufgeschrieben…",
|
||||
"assistant_conversation": "Ein gesprochenes Gespräch fortführen",
|
||||
"assistant_conversation_line": "Nachdem eine gesprochene Antwort vorgelesen wurde, hört der Assistent wieder zu — bis du „Stopp“ sagst, auf Beenden tippst oder ein paar Sekunden nichts sagst. Funktioniert mit einem Headset.",
|
||||
"assistant_explained": "Machen Sie LLeMbas zum digitalen Assistenten des Telefons: Wählen Sie ihn unter Standard-Apps › Digitaler Assistent. Das Halten der Einschalttaste, die Assistenzgeste oder die Verknüpfung auf dem Sperrbildschirm öffnet ihn dann über allem, was gerade angezeigt wird.",
|
||||
"assistant_listens": "Beim Öffnen des Assistenten zuhören",
|
||||
"assistant_open_settings": "Assistenten-Einstellungen öffnen",
|
||||
@@ -480,6 +492,9 @@
|
||||
"assist_answer_in_app": "Esta respuesta espera su decisión: ábrala en la app.",
|
||||
"assist_connecting": "Conectando…",
|
||||
"assist_continue": "Continuar el último chat",
|
||||
"assist_conversation": "En conversación",
|
||||
"assist_conversation_end": "Terminar",
|
||||
"assist_conversation_line": "Vuelvo a escuchar después de cada respuesta. Di «para» para terminar.",
|
||||
"assist_help": "Mantenga pulsado el botón de encendido para abrir el asistente sobre cualquier app, o use el mosaico de Ajustes rápidos.",
|
||||
"assist_hint": "Pregunte lo que quiera",
|
||||
"assist_no_model": "Sin modelo",
|
||||
@@ -502,11 +517,14 @@
|
||||
"assist_send_now": "Enviar lo que he dicho",
|
||||
"assist_signed_out": "Primero inicie sesión en una instancia de LLeMbas en la aplicación.",
|
||||
"assist_stop_reading": "Dejar de leer",
|
||||
"assist_stop_words": "para|stop|basta|eso es todo|ya está|adiós|terminar|fin|gracias eso es todo|cancelar",
|
||||
"assist_type": "Escribir en su lugar",
|
||||
"assist_use_screen": "Usar la pantalla",
|
||||
"assist_voice_reply_off": "Respuesta por voz desactivada",
|
||||
"assist_voice_reply_on": "Respuesta por voz activada",
|
||||
"assist_writing_down": "Escribiendo lo que ha dicho…",
|
||||
"assistant_conversation": "Mantener una conversación hablada",
|
||||
"assistant_conversation_line": "Después de leer en voz alta una respuesta hablada, el asistente vuelve a escuchar, hasta que digas «para», toques Terminar o no digas nada durante unos segundos. Funciona con auriculares.",
|
||||
"assistant_explained": "Convierta LLeMbas en el asistente digital del teléfono: elíjalo en Aplicaciones predeterminadas › App de asistencia digital. Mantener pulsado el botón de encendido, el gesto de asistencia o el acceso directo de la pantalla de bloqueo lo abrirá entonces sobre lo que haya en pantalla.",
|
||||
"assistant_listens": "Empezar a escuchar al abrir el asistente",
|
||||
"assistant_open_settings": "Abrir los ajustes del asistente",
|
||||
@@ -709,6 +727,9 @@
|
||||
"assist_answer_in_app": "Cette réponse attend votre décision : ouvrez-la dans l’app.",
|
||||
"assist_connecting": "Connexion…",
|
||||
"assist_continue": "Reprendre la dernière conversation",
|
||||
"assist_conversation": "En conversation",
|
||||
"assist_conversation_end": "Terminer",
|
||||
"assist_conversation_line": "J’écoute à nouveau après chaque réponse. Dites « stop » pour arrêter.",
|
||||
"assist_help": "Maintenez le bouton marche/arrêt pour ouvrir l’assistant par-dessus n’importe quelle app, ou utilisez la tuile des Réglages rapides.",
|
||||
"assist_hint": "Demandez n'importe quoi",
|
||||
"assist_no_model": "Aucun modèle",
|
||||
@@ -731,11 +752,14 @@
|
||||
"assist_send_now": "Envoyer ce que j’ai dit",
|
||||
"assist_signed_out": "Connectez-vous d'abord à une instance LLeMbas dans l'application.",
|
||||
"assist_stop_reading": "Arrêter la lecture",
|
||||
"assist_stop_words": "stop|arrête|c'est tout|ça suffit|au revoir|fin|terminé|merci c'est tout|annuler",
|
||||
"assist_type": "Taper plutôt",
|
||||
"assist_use_screen": "Utiliser l’écran",
|
||||
"assist_voice_reply_off": "Réponse vocale désactivée",
|
||||
"assist_voice_reply_on": "Réponse vocale activée",
|
||||
"assist_writing_down": "Transcription de ce que vous avez dit…",
|
||||
"assistant_conversation": "Poursuivre une conversation orale",
|
||||
"assistant_conversation_line": "Après la lecture d’une réponse orale, l’assistant écoute à nouveau — jusqu’à ce que vous disiez « stop », touchiez Terminer ou ne disiez rien pendant quelques secondes. Fonctionne avec un casque.",
|
||||
"assistant_explained": "Faites de LLeMbas l'assistant numérique du téléphone : choisissez-le dans Applications par défaut › Application d'assistance numérique. Maintenir le bouton d'alimentation, le geste d'assistance ou le raccourci de l'écran de verrouillage l'ouvrira alors par-dessus ce qui est affiché.",
|
||||
"assistant_listens": "Écouter dès l’ouverture de l’assistant",
|
||||
"assistant_open_settings": "Ouvrir les paramètres de l'assistant",
|
||||
@@ -939,6 +963,9 @@
|
||||
"assist_answer_in_app": "Ez a válasz az Ön döntésére vár: nyissa meg az alkalmazásban.",
|
||||
"assist_connecting": "Csatlakozás…",
|
||||
"assist_continue": "Az utolsó csevegés folytatása",
|
||||
"assist_conversation": "Beszélgetés",
|
||||
"assist_conversation_end": "Befejezés",
|
||||
"assist_conversation_line": "Minden válasz után újra figyelek. A befejezéshez mondd: „állj”.",
|
||||
"assist_help": "Tartsa lenyomva a bekapcsológombot, hogy bármely alkalmazás fölött megnyissa az asszisztenst, vagy használja a Gyorsbeállítások csempét.",
|
||||
"assist_hint": "Kérdezzen bármit",
|
||||
"assist_no_model": "Nincs modell",
|
||||
@@ -961,11 +988,14 @@
|
||||
"assist_send_now": "Amit mondtam, küldés",
|
||||
"assist_signed_out": "Először jelentkezzen be egy LLeMbas példányba az alkalmazásban.",
|
||||
"assist_stop_reading": "Felolvasás leállítása",
|
||||
"assist_stop_words": "állj|stop|ennyi|ennyi volt|elég|vége|viszlát|köszönöm ennyi|mégse",
|
||||
"assist_type": "Inkább gépelés",
|
||||
"assist_use_screen": "Képernyő használata",
|
||||
"assist_voice_reply_off": "A hangos válasz ki van kapcsolva",
|
||||
"assist_voice_reply_on": "A hangos válasz be van kapcsolva",
|
||||
"assist_writing_down": "Lejegyzem, amit mondott…",
|
||||
"assistant_conversation": "Szóbeli beszélgetés folytatása",
|
||||
"assistant_conversation_line": "Egy szóbeli válasz felolvasása után az asszisztens újra figyel — amíg nem mondod, hogy „állj”, nem koppintasz a Befejezésre, vagy néhány másodpercig nem szólsz. Headsettel is működik.",
|
||||
"assistant_explained": "Tegye az LLeMbas-t a telefon digitális asszisztensévé: válassza ki az Alapértelmezett alkalmazások › Digitális asszisztens alkalmazás alatt. A bekapcsológomb lenyomva tartása, az asszisztens-gesztus vagy a lezárási képernyő parancsikonja ezután a képernyőn lévő tartalom felett nyitja meg.",
|
||||
"assistant_listens": "Hallgatás indítása az asszisztens megnyitásakor",
|
||||
"assistant_open_settings": "Asszisztens beállításainak megnyitása",
|
||||
@@ -1169,6 +1199,9 @@
|
||||
"assist_answer_in_app": "Questa risposta attende una sua decisione: la apra nell’app.",
|
||||
"assist_connecting": "Connessione…",
|
||||
"assist_continue": "Continua l’ultima chat",
|
||||
"assist_conversation": "In conversazione",
|
||||
"assist_conversation_end": "Termina",
|
||||
"assist_conversation_line": "Ascolto di nuovo dopo ogni risposta. Di’ «basta» per finire.",
|
||||
"assist_help": "Tenga premuto il tasto di accensione per aprire l’assistente sopra qualsiasi app, oppure usi il riquadro delle Impostazioni rapide.",
|
||||
"assist_hint": "Chiedi qualsiasi cosa",
|
||||
"assist_no_model": "Nessun modello",
|
||||
@@ -1191,11 +1224,14 @@
|
||||
"assist_send_now": "Invia ciò che ho detto",
|
||||
"assist_signed_out": "Accedi prima a un'istanza LLeMbas nell'app.",
|
||||
"assist_stop_reading": "Interrompi la lettura",
|
||||
"assist_stop_words": "basta|stop|è tutto|fine|ciao|arrivederci|grazie è tutto|annulla|smetti",
|
||||
"assist_type": "Scrivi invece",
|
||||
"assist_use_screen": "Usa lo schermo",
|
||||
"assist_voice_reply_off": "Risposta vocale disattivata",
|
||||
"assist_voice_reply_on": "Risposta vocale attiva",
|
||||
"assist_writing_down": "Trascrivo ciò che ha detto…",
|
||||
"assistant_conversation": "Continuare una conversazione a voce",
|
||||
"assistant_conversation_line": "Dopo aver letto ad alta voce una risposta a voce, l’assistente ascolta di nuovo, finché non dici «basta», tocchi Termina o non dici nulla per qualche secondo. Funziona con le cuffie.",
|
||||
"assistant_explained": "Rendi LLeMbas l'assistente digitale del telefono: selezionalo in App predefinite › App di assistenza digitale. Tenendo premuto il tasto di accensione, il gesto di assistenza o la scorciatoia della schermata di blocco lo apre quindi sopra qualsiasi cosa sia a schermo.",
|
||||
"assistant_listens": "Inizia ad ascoltare all’apertura dell’assistente",
|
||||
"assistant_open_settings": "Apri le impostazioni dell'assistente",
|
||||
@@ -1398,6 +1434,9 @@
|
||||
"assist_answer_in_app": "Ta odpowiedź czeka na Twoją decyzję: otwórz ją w aplikacji.",
|
||||
"assist_connecting": "Łączenie…",
|
||||
"assist_continue": "Kontynuuj ostatni czat",
|
||||
"assist_conversation": "Rozmowa",
|
||||
"assist_conversation_end": "Zakończ",
|
||||
"assist_conversation_line": "Po każdej odpowiedzi słucham znowu. Powiedz „stop”, aby zakończyć.",
|
||||
"assist_help": "Przytrzymaj przycisk zasilania, aby otworzyć asystenta nad dowolną aplikacją, albo użyj kafelka w Szybkich ustawieniach.",
|
||||
"assist_hint": "Zapytaj o cokolwiek",
|
||||
"assist_no_model": "Brak modelu",
|
||||
@@ -1420,11 +1459,14 @@
|
||||
"assist_send_now": "Wyślij, co powiedziałem",
|
||||
"assist_signed_out": "Najpierw zaloguj się do instancji LLeMbas w aplikacji.",
|
||||
"assist_stop_reading": "Przestań czytać",
|
||||
"assist_stop_words": "stop|wystarczy|to wszystko|koniec|do widzenia|dzięki to wszystko|anuluj|przestań",
|
||||
"assist_type": "Zamiast tego pisz",
|
||||
"assist_use_screen": "Użyj ekranu",
|
||||
"assist_voice_reply_off": "Odpowiedź głosowa wyłączona",
|
||||
"assist_voice_reply_on": "Odpowiedź głosowa włączona",
|
||||
"assist_writing_down": "Zapisuję, co powiedziałeś…",
|
||||
"assistant_conversation": "Prowadź rozmowę głosową",
|
||||
"assistant_conversation_line": "Po odczytaniu odpowiedzi na głos asystent znów słucha — dopóki nie powiesz „stop”, nie dotkniesz Zakończ albo nie będziesz milczeć przez kilka sekund. Działa ze słuchawkami.",
|
||||
"assistant_explained": "Ustaw LLeMbas jako cyfrowego asystenta telefonu: wybierz go w Domyślne aplikacje › Aplikacja asystenta cyfrowego. Przytrzymanie przycisku zasilania, gest asystenta lub skrót z ekranu blokady otwiera go wtedy nad tym, co jest na ekranie.",
|
||||
"assistant_listens": "Zacznij słuchać po otwarciu asystenta",
|
||||
"assistant_open_settings": "Otwórz ustawienia asystenta",
|
||||
@@ -1627,6 +1669,9 @@
|
||||
"assist_answer_in_app": "Táto odpoveď čaká na vaše rozhodnutie: otvorte ju v aplikácii.",
|
||||
"assist_connecting": "Pripája sa…",
|
||||
"assist_continue": "Pokračovať v poslednej konverzácii",
|
||||
"assist_conversation": "Rozhovor",
|
||||
"assist_conversation_end": "Ukončiť",
|
||||
"assist_conversation_line": "Po každej odpovedi znova počúvam. Povedzte „stop“ a skončíme.",
|
||||
"assist_help": "Podržaním tlačidla napájania otvoríte asistenta nad ľubovoľnou aplikáciou; alebo použite dlaždicu v Rýchlych nastaveniach.",
|
||||
"assist_hint": "Spýtajte sa na čokoľvek",
|
||||
"assist_no_model": "Žiadny model",
|
||||
@@ -1649,11 +1694,14 @@
|
||||
"assist_send_now": "Odoslať, čo som povedal",
|
||||
"assist_signed_out": "Najprv sa v aplikácii prihláste do inštancie LLeMbas.",
|
||||
"assist_stop_reading": "Prestať čítať",
|
||||
"assist_stop_words": "stop|dosť|to je všetko|koniec|dovidenia|ďakujem to je všetko|zrušiť|prestaň",
|
||||
"assist_type": "Radšej písať",
|
||||
"assist_use_screen": "Použiť obrazovku",
|
||||
"assist_voice_reply_off": "Hlasová odpoveď je vypnutá",
|
||||
"assist_voice_reply_on": "Hlasová odpoveď je zapnutá",
|
||||
"assist_writing_down": "Zapisujem, čo ste povedali…",
|
||||
"assistant_conversation": "Pokračovať v hovorenom rozhovore",
|
||||
"assistant_conversation_line": "Po prečítaní hovorenej odpovede asistent znova počúva — kým nepoviete „stop“, neťuknete na Ukončiť alebo pár sekúnd nič nepoviete. Funguje aj so slúchadlami.",
|
||||
"assistant_explained": "Nastavte LLeMbas ako digitálneho asistenta telefónu: zvoľte ho v Predvolené aplikácie › Digitálny asistent. Podržanie tlačidla napájania, gesto asistenta alebo skratka na uzamknutej obrazovke ho potom otvorí nad tým, čo je práve na obrazovke.",
|
||||
"assistant_listens": "Začať počúvať, keď sa asistent otvorí",
|
||||
"assistant_open_settings": "Otvoriť nastavenia asistenta",
|
||||
|
||||
Reference in new issue
Block a user