Compare commits
11
Commits
v1.0.0-beta.16
...
dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e5829856f
|
||
|
|
1e9862fc0b
|
||
|
|
85bd4b0489
|
||
|
|
f84551c65e
|
||
|
|
81f255bd94
|
||
|
|
1e32868d36
|
||
|
|
da2c5891ed
|
||
|
|
f8d122d409
|
||
|
|
827f57839f
|
||
|
|
71b2e847cf
|
||
|
|
cf092ef1a1
|
No files matched your search
+98
-2
@@ -1,7 +1,103 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
What changed in each release of LLeMbas for Android. Versions follow SemVer; until 1.0.0 the app
|
What changed in each release of LLeMbas for Android. Versions follow SemVer: the `1.0.0-beta.N`
|
||||||
is in alpha and releases come off `main`.
|
releases are the betas of 1.0.0 and come off `dev`; a release without a suffix comes off `main`.
|
||||||
|
|
||||||
|
## Unreleased
|
||||||
|
|
||||||
|
## [1.0.0-beta.18] — 2026-12-03
|
||||||
|
|
||||||
|
A round of checking: the code, the words, what an outside app can make the app do. Fixes only.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- **A beta is offered the release.** The app's own installer compared versions by a rule of its
|
||||||
|
own, by which 1.0.0 was not newer than 1.0.0-beta.N: *Install* would have answered "This is the
|
||||||
|
newest version". It now compares as the rest of the app does.
|
||||||
|
- **A list read a page at a time no longer ends the app.** The chats in the drawer, the archived
|
||||||
|
chats and a schedule's runs ask for their next page when the list's end comes into view; while
|
||||||
|
that page was on its way a second request for it could start, and the same rows arriving twice
|
||||||
|
closed the app. One page is read at a time, and no row is added twice.
|
||||||
|
- **After a switch of instance the drawer is the new instance's.** It showed the other
|
||||||
|
instance's chats and its Reports badge until its own list had been read -- for good, if that
|
||||||
|
read failed -- and an instance refused as too old left the next one refused as well.
|
||||||
|
- **A photo taken with the phone turned is attached.** When the screen was made again on the way
|
||||||
|
back from the camera, the photo was dropped without a word.
|
||||||
|
- **Pause in a scheduled task's notification asks for the unlock**, as Allow once, Deny, Run
|
||||||
|
again and Mark read do: it acts on the account, and a lock screen that shows notifications in
|
||||||
|
full offered it to whoever held the phone.
|
||||||
|
- **A file picked for a message is opened as a shared one is.** What a picker answers is another
|
||||||
|
app's word; one that named a file of this app's own (a copy it holds for another app, a path
|
||||||
|
into its data) was read with the app's own rights and would have been attached. Only the photo
|
||||||
|
the camera took for the message is the app's own.
|
||||||
|
- **A photo whose upload failed does not stay on the phone.** It goes with the other copies at
|
||||||
|
sign-out and on a switch of instance, and by its age when the app starts.
|
||||||
|
- **The sign-in page scrolls**: a long sentence about a certificate, large type and the keyboard
|
||||||
|
could push *Continue* out of reach.
|
||||||
|
- A failure of the app's own installer is said in the app's words, not a library's.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- **Words.** The wake word is under *Settings › Wake word*, and the assistant's hint now says so
|
||||||
|
(it named a place under *Assistant*). *Voice input › LLeMbas* no longer says the recording goes
|
||||||
|
"nowhere else": the phone sends it to your instance only, and the instance writes it down with
|
||||||
|
the speech model set up there. *Look for new versions* says when GitHub's list is read:
|
||||||
|
whenever the instance cannot say which release goes with it. Signing in no longer compares
|
||||||
|
itself to the CLI, and "speaks a newer app API" is "is newer than this app can work with". A
|
||||||
|
linked machine is a "computer" in a new agent chat as it is everywhere else.
|
||||||
|
- **Translations.** *Set as default* and *Switch instance* were English in every language.
|
||||||
|
Slovak, Czech and French used two or three words for a chat, and Slovak and Czech two for a
|
||||||
|
notification: one each now, the instance's own. German, Spanish and Hungarian addressed you
|
||||||
|
formally in some sentences and informally in others, Italian likewise; each now keeps to the
|
||||||
|
form the instance's own sentences use. Translations are the engineers' own and not proofread.
|
||||||
|
|
||||||
|
## [1.0.0-beta.17] — 2026-12-01
|
||||||
|
|
||||||
|
How the app connects to an instance, brought in line with the other LLeMbas clients. Fixes only.
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- **An instance that signed the phone out is noticed.** When an instance refuses the app's token
|
||||||
|
(it was revoked there, or it expired), that instance -- not whichever happens to be in use --
|
||||||
|
is marked signed out, nothing more is asked with the dead token, and a page offers *Sign in
|
||||||
|
again* in one step. Chats being written, the settings kept for the instance and every other
|
||||||
|
instance stay as they were. Before, each screen showed the server's refusal and the app went on
|
||||||
|
as if signed in. A "not allowed" (403) is still just the server's sentence, and a refusal
|
||||||
|
passed on from a provider behind the instance signs nobody out.
|
||||||
|
- **One rule for the address.** `HTTPS://Example.org/`, `example.org/chat?x=1` and
|
||||||
|
`example.org:8443/` are read as the other LLeMbas clients read them: the scheme in any case,
|
||||||
|
the host in lower case, the path dropped. An `http://` address is answered where it is typed
|
||||||
|
-- this app needs https -- instead of failing later with a library's error.
|
||||||
|
- **The address you typed is the one kept.** A new sign-in stores the address as it was typed
|
||||||
|
(read by the rule above), not the one the instance says of itself, and the sign-in itself goes
|
||||||
|
only to that address: an instance whose proxy makes it name another host says so in words.
|
||||||
|
Instances already on the phone are untouched -- same entry, same token, same settings, same
|
||||||
|
notifications -- and signing in again to one of them, by either address, refreshes that entry
|
||||||
|
rather than adding a second one.
|
||||||
|
- **An instance can say the app is too old.** Where an instance names the oldest version of
|
||||||
|
the app it works with (`min_clients` in its discovery document) and this one is older, the app
|
||||||
|
says so with both versions and does not go on.
|
||||||
|
- **Each failure says what it is.** Cannot be reached, did not answer in time, a certificate the
|
||||||
|
phone does not trust (with where to install the CA), no LLeMbas instance at the address, "the
|
||||||
|
server answered 502", an instance too old, an app too old: one sentence each. A server in
|
||||||
|
trouble is no longer "not a LLeMbas instance", and another service is no longer "an older
|
||||||
|
LLeMbas".
|
||||||
|
- **A sign-in ends by its real reason.** Only an expired code is "the code expired"; a server
|
||||||
|
that restarts or a network that drops while you approve in the browser no longer ends the
|
||||||
|
sign-in; too many sign-ins is said in the server's words. Cancelling a sign-in no longer
|
||||||
|
leaves an error line under the address.
|
||||||
|
- **A dead connection is noticed.** A stream that says nothing for 45 seconds (the instance
|
||||||
|
sends a keepalive every 15) is opened again, instead of being followed for ever after the
|
||||||
|
phone changed network.
|
||||||
|
- **One reconnect schedule.** Streams are opened again after 1 second doubling to 60, each
|
||||||
|
jittered by a fifth, and quickly again only after a connection held for half a minute. "Too
|
||||||
|
many requests" (429) waits as long as the instance asks.
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- **The app names itself.** Every request carries `User-Agent: llembas-android/<version>`, and
|
||||||
|
the sign-in sends the same string, so an instance's list of devices shows which app and
|
||||||
|
version signed in.
|
||||||
|
|
||||||
## [1.0.0-beta.16] — 2026-11-26
|
## [1.0.0-beta.16] — 2026-11-26
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ digital assistant -- hold the power button and ask.
|
|||||||
- **Your instance, nobody else's.** Nothing is predefined: the app talks to the address you give
|
- **Your instance, nobody else's.** Nothing is predefined: the app talks to the address you give
|
||||||
it, and to nothing else.
|
it, and to nothing else.
|
||||||
|
|
||||||
> **Alpha.** 0.x versions may change how things work between releases.
|
> **Beta.** These are the betas of 1.0.0: how things work may still change from one to the next.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
@@ -40,7 +40,7 @@ certificate). The app trusts CAs you installed, as the browser does.
|
|||||||
digital assistant app. On Samsung phones also set Settings › Advanced features › Side button ›
|
digital assistant app. On Samsung phones also set Settings › Advanced features › Side button ›
|
||||||
Press and hold › Digital assistant.
|
Press and hold › Digital assistant.
|
||||||
|
|
||||||
A wake word is there if you want one, off by default: Settings › Assistant › Wake word, a
|
A wake word is there if you want one, off by default: Settings › Wake word, a
|
||||||
greeting and a name in English ("Hey Assistant"). Android reserves its low-power, always-on
|
greeting and a name in English ("Hey Assistant"). Android reserves its low-power, always-on
|
||||||
hotword detection for the system's own preinstalled assistant, so LLeMbas listens with an
|
hotword detection for the system's own preinstalled assistant, so LLeMbas listens with an
|
||||||
on-device engine in a microphone service, with a notification up the whole time; nothing leaves
|
on-device engine in a microphone service, with a notification up the whole time; nothing leaves
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ android {
|
|||||||
// The one source of the version. versionCode is derived from it, so the two cannot
|
// The one source of the version. versionCode is derived from it, so the two cannot
|
||||||
// drift, and a beta sorts below its release: 1.0.0-beta.1 -> 1000001,
|
// drift, and a beta sorts below its release: 1.0.0-beta.1 -> 1000001,
|
||||||
// 1.0.0-beta.2 -> 1000002, 1.0.0 -> 1000099, 1.2.3 -> 1020399.
|
// 1.0.0-beta.2 -> 1000002, 1.0.0 -> 1000099, 1.2.3 -> 1020399.
|
||||||
versionName = "1.0.0-beta.16"
|
versionName = "1.0.0-beta.18"
|
||||||
versionCode = versionName!!.split("-beta.").let { parts ->
|
versionCode = versionName!!.split("-beta.").let { parts ->
|
||||||
val (a, b, c) = parts[0].split(".").map { it.toInt() }
|
val (a, b, c) = parts[0].split(".").map { it.toInt() }
|
||||||
val pre = if (parts.size == 2) parts[1].toInt() else 99
|
val pre = if (parts.size == 2) parts[1].toInt() else 99
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import android.os.Bundle
|
|||||||
import androidx.core.content.ContextCompat
|
import androidx.core.content.ContextCompat
|
||||||
import eu.llembas.android.api.EventsHub
|
import eu.llembas.android.api.EventsHub
|
||||||
import eu.llembas.android.api.Frame
|
import eu.llembas.android.api.Frame
|
||||||
|
import eu.llembas.android.api.RefusedTokens
|
||||||
import eu.llembas.android.api.StreamClient
|
import eu.llembas.android.api.StreamClient
|
||||||
import eu.llembas.android.auth.InstanceStore
|
import eu.llembas.android.auth.InstanceStore
|
||||||
import eu.llembas.android.wake.AppVisibility
|
import eu.llembas.android.wake.AppVisibility
|
||||||
@@ -20,14 +21,17 @@ import kotlinx.coroutines.CoroutineScope
|
|||||||
import kotlinx.coroutines.Dispatchers
|
import kotlinx.coroutines.Dispatchers
|
||||||
import kotlinx.coroutines.SupervisorJob
|
import kotlinx.coroutines.SupervisorJob
|
||||||
import kotlinx.coroutines.flow.Flow
|
import kotlinx.coroutines.flow.Flow
|
||||||
|
import kotlinx.coroutines.launch
|
||||||
|
|
||||||
/** The process: one store of instances, and the notification channels, made once. */
|
/** The process: one store of instances, and the notification channels, made once. */
|
||||||
class LembasApp : Application() {
|
class LembasApp : Application() {
|
||||||
lateinit var instances: InstanceStore
|
lateinit var instances: InstanceStore
|
||||||
private set
|
private set
|
||||||
|
|
||||||
|
private val background = CoroutineScope(SupervisorJob() + Dispatchers.Default)
|
||||||
|
|
||||||
/** The one connection to the person's events route, shared by all that watch it. */
|
/** The one connection to the person's events route, shared by all that watch it. */
|
||||||
val events = EventsHub(CoroutineScope(SupervisorJob() + Dispatchers.Default))
|
val events = EventsHub(background)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The events route of the instance in use, as its frames; null when not signed in. Whoever
|
* The events route of the instance in use, as its frames; null when not signed in. Whoever
|
||||||
@@ -35,10 +39,13 @@ class LembasApp : Application() {
|
|||||||
* a scope that outlives the screen: the connection is open for as long as anybody listens.
|
* a scope that outlives the screen: the connection is open for as long as anybody listens.
|
||||||
*/
|
*/
|
||||||
suspend fun eventFrames(): Flow<Frame>? {
|
suspend fun eventFrames(): Flow<Frame>? {
|
||||||
val instance = instances.current() ?: return null
|
// An instance that signed this phone out is asked nothing more: its route is not opened.
|
||||||
|
val instance = instances.current()?.takeUnless { it.signedOut } ?: return null
|
||||||
val api = instances.clientFor(instance)
|
val api = instances.clientFor(instance)
|
||||||
// Every opening of the route waits at the gate: it is not opened, or opened again, behind a lock.
|
// Every opening of the route waits at the gate: it is not opened, or opened again, behind a lock.
|
||||||
return events.frames(instance.id) { StreamClient(api).watch(turn = { gate.pass() }) { api.events() } }
|
// The line is the token's, not only the instance's: after a sign-in again the route is
|
||||||
|
// opened with the new token, never taken up with the one the instance refused.
|
||||||
|
return events.frames(eventsKey(instance.id, instance.sealedToken)) { StreamClient(api).watch(turn = { gate.pass() }) { api.events() } }
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Whether a new request with the account's files may start: the app in front, the phone unlocked. */
|
/** Whether a new request with the account's files may start: the app in front, the phone unlocked. */
|
||||||
@@ -47,6 +54,10 @@ class LembasApp : Application() {
|
|||||||
override fun onCreate() {
|
override fun onCreate() {
|
||||||
super.onCreate()
|
super.onCreate()
|
||||||
instances = InstanceStore(this)
|
instances = InstanceStore(this)
|
||||||
|
// A token the instance refuses (a 401 of its own, on any request: a call, a stream, a
|
||||||
|
// download) signs out the instance that token belongs to -- that one only, and nothing
|
||||||
|
// else is forgotten. Its screens then offer the sign-in (MainActivity).
|
||||||
|
RefusedTokens.heard = { token -> background.launch { runCatching { instances.refused(token) } } }
|
||||||
// Copies of the account's files left by a process that was killed. A viewer's own are
|
// Copies of the account's files left by a process that was killed. A viewer's own are
|
||||||
// nobody's now; one another app was handed may still be read there (a mail being
|
// nobody's now; one another app was handed may still be read there (a mail being
|
||||||
// written), so those go by their age only.
|
// written), so those go by their age only.
|
||||||
@@ -126,3 +137,6 @@ class LembasApp : Application() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
val android.content.Context.lembas: LembasApp get() = applicationContext as LembasApp
|
val android.content.Context.lembas: LembasApp get() = applicationContext as LembasApp
|
||||||
|
|
||||||
|
/** What names one connection to an instance's events route: the instance and the token it is followed with. */
|
||||||
|
fun eventsKey(instanceId: String, sealedToken: String): String = instanceId + "#" + sealedToken.hashCode()
|
||||||
@@ -18,6 +18,7 @@ import androidx.compose.material3.Surface
|
|||||||
import androidx.compose.material3.rememberDrawerState
|
import androidx.compose.material3.rememberDrawerState
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.runtime.LaunchedEffect
|
import androidx.compose.runtime.LaunchedEffect
|
||||||
|
import androidx.compose.runtime.SideEffect
|
||||||
import androidx.compose.runtime.collectAsState
|
import androidx.compose.runtime.collectAsState
|
||||||
import androidx.compose.runtime.getValue
|
import androidx.compose.runtime.getValue
|
||||||
import androidx.compose.runtime.key
|
import androidx.compose.runtime.key
|
||||||
@@ -25,6 +26,8 @@ import androidx.compose.runtime.mutableStateMapOf
|
|||||||
import androidx.compose.runtime.mutableStateOf
|
import androidx.compose.runtime.mutableStateOf
|
||||||
import androidx.compose.runtime.remember
|
import androidx.compose.runtime.remember
|
||||||
import androidx.compose.runtime.rememberCoroutineScope
|
import androidx.compose.runtime.rememberCoroutineScope
|
||||||
|
import androidx.compose.runtime.saveable.rememberSaveable
|
||||||
|
import androidx.compose.runtime.setValue
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
import androidx.core.content.ContextCompat
|
import androidx.core.content.ContextCompat
|
||||||
import androidx.lifecycle.Lifecycle
|
import androidx.lifecycle.Lifecycle
|
||||||
@@ -62,6 +65,7 @@ import eu.llembas.android.ui.scheduled.SchedulingModelsScreen
|
|||||||
import eu.llembas.android.ui.settings.McpScreen
|
import eu.llembas.android.ui.settings.McpScreen
|
||||||
import eu.llembas.android.ui.settings.SettingsScreen
|
import eu.llembas.android.ui.settings.SettingsScreen
|
||||||
import eu.llembas.android.ui.signin.SignInScreen
|
import eu.llembas.android.ui.signin.SignInScreen
|
||||||
|
import eu.llembas.android.ui.signin.SignedOutScreen
|
||||||
import eu.llembas.android.ui.theme.LembasTheme
|
import eu.llembas.android.ui.theme.LembasTheme
|
||||||
import eu.llembas.android.update.ReleaseCheck
|
import eu.llembas.android.update.ReleaseCheck
|
||||||
import eu.llembas.android.wake.WakeBootReceiver
|
import eu.llembas.android.wake.WakeBootReceiver
|
||||||
@@ -176,7 +180,45 @@ class MainActivity : ComponentActivity() {
|
|||||||
when {
|
when {
|
||||||
loaded == null -> Box(Modifier.fillMaxSize())
|
loaded == null -> Box(Modifier.fillMaxSize())
|
||||||
instance == null -> SignInScreen()
|
instance == null -> SignInScreen()
|
||||||
else -> key(instance.id) { Home(instance, open, opened) }
|
else -> key(instance.id) { Signed(instance, open, opened) }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The instance in use: its pages, and over them the way back in when the instance signed
|
||||||
|
* this phone out (it refused the token). The pages stay underneath as they were -- a message
|
||||||
|
* half written is there again after the sign-in -- and ask the instance nothing meanwhile
|
||||||
|
* (no client is handed out for a signed-out instance). An instance that was signed out
|
||||||
|
* before its pages were ever up has none to keep: they are made after the sign-in.
|
||||||
|
*/
|
||||||
|
@Composable
|
||||||
|
private fun Signed(instance: Instance, open: Opening?, opened: () -> Unit) {
|
||||||
|
val scope = rememberCoroutineScope()
|
||||||
|
var up by rememberSaveable { mutableStateOf(false) }
|
||||||
|
if (!instance.signedOut && !up) SideEffect { up = true }
|
||||||
|
Box(Modifier.fillMaxSize()) {
|
||||||
|
if (up || !instance.signedOut) Home(instance, open, opened)
|
||||||
|
if (instance.signedOut) {
|
||||||
|
val all by lembas.instances.instances.collectAsState(initial = emptyList())
|
||||||
|
SignedOutScreen(
|
||||||
|
instance = instance,
|
||||||
|
others = all.filter { it.id != instance.id },
|
||||||
|
onUse = { other ->
|
||||||
|
scope.launch {
|
||||||
|
lembas.instances.use(other.id)
|
||||||
|
FileCache.clear(this@MainActivity)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onRemove = {
|
||||||
|
scope.launch {
|
||||||
|
Push.disable(this@MainActivity, instance)
|
||||||
|
lembas.instances.remove(instance.id)
|
||||||
|
// The copies of the account's files this phone held go with it.
|
||||||
|
FileCache.clear(this@MainActivity)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -191,7 +233,9 @@ class MainActivity : ComponentActivity() {
|
|||||||
val nav = rememberNavController()
|
val nav = rememberNavController()
|
||||||
val drawer = rememberDrawerState(DrawerValue.Closed)
|
val drawer = rememberDrawerState(DrawerValue.Closed)
|
||||||
val scope = rememberCoroutineScope()
|
val scope = rememberCoroutineScope()
|
||||||
val chats: ChatsViewModel = viewModel()
|
// One list per instance: what was read of one instance (its chats, its badge, whether it
|
||||||
|
// was refused as too old) is never shown, or held against, another after a switch.
|
||||||
|
val chats: ChatsViewModel = viewModel(key = "chats:" + instance.id)
|
||||||
val list by chats.state.collectAsStateWithLifecycle()
|
val list by chats.state.collectAsStateWithLifecycle()
|
||||||
val instances by lembas.instances.instances.collectAsState(initial = emptyList())
|
val instances by lembas.instances.instances.collectAsState(initial = emptyList())
|
||||||
val defaultInstance by lembas.instances.defaultInstance.collectAsState(initial = null)
|
val defaultInstance by lembas.instances.defaultInstance.collectAsState(initial = null)
|
||||||
|
|||||||
@@ -0,0 +1,71 @@
|
|||||||
|
package eu.llembas.android.api
|
||||||
|
|
||||||
|
import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
|
||||||
|
|
||||||
|
/**
|
||||||
|
* What a typed address is, by the one rule every LLeMbas client reads an address with: trimmed;
|
||||||
|
* `https://` when no scheme was typed (a scheme is read whatever its case); http and https only;
|
||||||
|
* the scheme, the host in lower case and a port that is not the scheme's own are kept; a path, a
|
||||||
|
* query, a fragment and a trailing slash are dropped.
|
||||||
|
*
|
||||||
|
* This app talks https only (Android's network policy of the app forbids cleartext), so an
|
||||||
|
* `http://` address is its own answer: said in words where the address is typed, not as a
|
||||||
|
* library's error three steps later.
|
||||||
|
*/
|
||||||
|
sealed interface Address {
|
||||||
|
/** An instance's base URL: `https://host` or `https://host:port`, nothing after it. */
|
||||||
|
data class Base(val url: String) : Address
|
||||||
|
|
||||||
|
/** Nothing was typed. */
|
||||||
|
data object Empty : Address
|
||||||
|
|
||||||
|
/** `http://…`: an address the rule accepts and this app cannot use. */
|
||||||
|
data object NeedsHttps : Address
|
||||||
|
|
||||||
|
/** Another scheme (`ftp://…`): no LLeMbas client reads it. */
|
||||||
|
data object NotHttp : Address
|
||||||
|
|
||||||
|
/** Not an address at all (no host, a port that is no number). */
|
||||||
|
data object Unreadable : Address
|
||||||
|
}
|
||||||
|
|
||||||
|
private val SCHEME = Regex("^([A-Za-z][A-Za-z0-9+.-]*)://")
|
||||||
|
|
||||||
|
/** [typed] as an [Address]. Pure: nothing is looked up, nothing is asked. */
|
||||||
|
fun address(typed: String): Address {
|
||||||
|
val text = typed.trim()
|
||||||
|
if (text.isEmpty()) return Address.Empty
|
||||||
|
val scheme = SCHEME.find(text)?.groupValues?.get(1)?.lowercase()
|
||||||
|
val rest = if (scheme == null) text else text.substring(text.indexOf("://") + 3)
|
||||||
|
return when (scheme) {
|
||||||
|
null, "https" -> {
|
||||||
|
val url = "https://$rest".toHttpUrlOrNull() ?: return Address.Unreadable
|
||||||
|
val base = url.newBuilder().username("").password("").encodedPath("/").query(null).fragment(null).build()
|
||||||
|
Address.Base(base.toString().trimEnd('/'))
|
||||||
|
}
|
||||||
|
|
||||||
|
"http" -> Address.NeedsHttps
|
||||||
|
|
||||||
|
else -> Address.NotHttp
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether two stored or said bases name one instance: compared as [address] reads them, so that
|
||||||
|
* a capital, a trailing slash or the scheme's own port makes no difference. One that the rule
|
||||||
|
* does not read (an `http://` base a server once said of itself) is compared as it stands.
|
||||||
|
*/
|
||||||
|
fun sameBase(one: String, other: String): Boolean = canonical(one) == canonical(other)
|
||||||
|
|
||||||
|
private fun canonical(base: String): String = (address(base) as? Address.Base)?.url ?: base.trim().trimEnd('/').lowercase()
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether [url] is on the origin of [base]: the same scheme, host and port. An endpoint a
|
||||||
|
* discovery document names is used only then -- the token and the sign-in go to the address the
|
||||||
|
* person typed and to no other host, whatever the document says.
|
||||||
|
*/
|
||||||
|
fun onOrigin(base: String, url: String): Boolean {
|
||||||
|
val home = base.toHttpUrlOrNull() ?: return false
|
||||||
|
val there = url.toHttpUrlOrNull() ?: return false
|
||||||
|
return home.scheme == there.scheme && home.host == there.host && home.port == there.port
|
||||||
|
}
|
||||||
@@ -33,8 +33,14 @@ import kotlin.coroutines.resumeWithException
|
|||||||
/** Where a new agent chat runs: a linked device ([LinkedDevice.id]) and a folder on it. */
|
/** Where a new agent chat runs: a linked device ([LinkedDevice.id]) and a folder on it. */
|
||||||
data class AgentTarget(val device: String, val directory: String = "")
|
data class AgentTarget(val device: String, val directory: String = "")
|
||||||
|
|
||||||
/** A refusal from the server, in its own words (`{"detail": "…"}`). */
|
/**
|
||||||
class ApiException(val status: Int, message: String) : IOException(message)
|
* A refusal from the server, in its own words (`{"detail": "…"}`). [retryAfter] is the seconds a
|
||||||
|
* 429 asked the caller to wait (`Retry-After`), where it said so.
|
||||||
|
*/
|
||||||
|
class ApiException(val status: Int, message: String, val retryAfter: Long? = null) : IOException(message)
|
||||||
|
|
||||||
|
/** An address that answered, and is no LLeMbas instance: no discovery document, or another service's. */
|
||||||
|
class NotLembas : IOException("Not a LLeMbas instance.")
|
||||||
|
|
||||||
private val JSON = "application/json; charset=utf-8".toMediaType()
|
private val JSON = "application/json; charset=utf-8".toMediaType()
|
||||||
|
|
||||||
@@ -44,6 +50,8 @@ val SharedHttp: OkHttpClient by lazy {
|
|||||||
.connectTimeout(15, TimeUnit.SECONDS)
|
.connectTimeout(15, TimeUnit.SECONDS)
|
||||||
.readTimeout(60, TimeUnit.SECONDS)
|
.readTimeout(60, TimeUnit.SECONDS)
|
||||||
.writeTimeout(120, TimeUnit.SECONDS)
|
.writeTimeout(120, TimeUnit.SECONDS)
|
||||||
|
// Every request says which app asks, and a token the instance refuses is heard once, here.
|
||||||
|
.addInterceptor(Identity())
|
||||||
.build()
|
.build()
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -60,27 +68,26 @@ suspend fun Call.await(): Response = suspendCancellableCoroutine { cont ->
|
|||||||
cont.invokeOnCancellation { runCatching { cancel() } }
|
cont.invokeOnCancellation { runCatching { cancel() } }
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The address a person typed, as the instance's base URL: https assumed, no trailing slash. */
|
|
||||||
fun normaliseBase(typed: String): String {
|
|
||||||
var text = typed.trim().trimEnd('/')
|
|
||||||
if (!text.startsWith("http://") && !text.startsWith("https://")) text = "https://$text"
|
|
||||||
return text.toHttpUrl().toString().trimEnd('/')
|
|
||||||
}
|
|
||||||
|
|
||||||
/** The calls that need no token: finding the instance and signing in. */
|
/** The calls that need no token: finding the instance and signing in. */
|
||||||
class Doorstep(private val http: OkHttpClient = SharedHttp) {
|
class Doorstep(private val http: OkHttpClient = SharedHttp) {
|
||||||
suspend fun discover(base: String): Discovery {
|
suspend fun discover(base: String): Discovery {
|
||||||
val response = http.newCall(Request.Builder().url("$base/.well-known/lembas.json").build()).await()
|
val response = http.newCall(Request.Builder().url("$base/.well-known/lembas.json").build()).await()
|
||||||
return response.use {
|
return response.use {
|
||||||
if (!it.isSuccessful) throw ApiException(it.code, "Not a LLeMbas instance (${it.code}).")
|
// No such document: something else lives at the address. Any other refusal -- a proxy
|
||||||
LembasJson.decodeFromString(Discovery.serializer(), it.body!!.string())
|
// whose server is down (502), a server that is starting -- is the server's answer,
|
||||||
|
// said with its number: it may well be a LLeMbas instance.
|
||||||
|
if (it.code == 404) throw NotLembas()
|
||||||
|
if (!it.isSuccessful) throw ApiException(it.code, "")
|
||||||
|
val text = it.body?.string().orEmpty()
|
||||||
|
// A page, or another program's JSON, is not the document either.
|
||||||
|
runCatching { LembasJson.decodeFromString(Discovery.serializer(), text) }.getOrNull() ?: throw NotLembas()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
suspend fun deviceCode(url: String, deviceName: String, model: String): DeviceCode {
|
suspend fun deviceCode(url: String, deviceName: String, model: String): DeviceCode {
|
||||||
val body = buildJsonObject {
|
val body = buildJsonObject {
|
||||||
put("scope", "app models")
|
put("scope", "app models")
|
||||||
put("client_id", "lembas-android")
|
put("client_id", USER_AGENT)
|
||||||
put("device_name", deviceName)
|
put("device_name", deviceName)
|
||||||
put("device_host", model)
|
put("device_host", model)
|
||||||
put("device_platform", "android")
|
put("device_platform", "android")
|
||||||
@@ -92,14 +99,23 @@ class Doorstep(private val http: OkHttpClient = SharedHttp) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** One poll. A pending login is a 400 with `authorization_pending` -- not a failure. */
|
/**
|
||||||
|
* One poll. A pending login is a 400 with `authorization_pending` -- not a failure. An answer
|
||||||
|
* that is no such document (a proxy's 502 page, a 429) is the server's refusal with its
|
||||||
|
* number, never "the code expired".
|
||||||
|
*/
|
||||||
suspend fun deviceToken(url: String, deviceCode: String): DeviceToken {
|
suspend fun deviceToken(url: String, deviceCode: String): DeviceToken {
|
||||||
val body = buildJsonObject {
|
val body = buildJsonObject {
|
||||||
put("grant_type", "urn:ietf:params:oauth:grant-type:device_code")
|
put("grant_type", "urn:ietf:params:oauth:grant-type:device_code")
|
||||||
put("device_code", deviceCode)
|
put("device_code", deviceCode)
|
||||||
}
|
}
|
||||||
val response = http.newCall(post(url, body)).await()
|
val response = http.newCall(post(url, body)).await()
|
||||||
return response.use { LembasJson.decodeFromString(DeviceToken.serializer(), it.body!!.string()) }
|
return response.use {
|
||||||
|
val text = it.body?.string().orEmpty()
|
||||||
|
val said = runCatching { LembasJson.decodeFromString(DeviceToken.serializer(), text) }.getOrNull()
|
||||||
|
if (said != null && (said.accessToken != null || said.error != null)) return@use said
|
||||||
|
throw ApiException(it.code, refusal(text).orEmpty(), retryAfterSeconds(it.header("Retry-After")))
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun post(url: String, body: JsonObject) = Request.Builder().url(url).post(body.toString().toRequestBody(JSON)).build()
|
private fun post(url: String, body: JsonObject) = Request.Builder().url(url).post(body.toString().toRequestBody(JSON)).build()
|
||||||
@@ -116,13 +132,14 @@ internal fun detail(response: Response): String {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The server's own sentence in a refusal's body: `detail` on `/api/v2`, and OpenAI's shape
|
* The server's own sentence in a refusal's body: `detail` on `/api/v2`, OpenAI's shape
|
||||||
* (`error.message`) on `/v1`, where speech lives. Null when the body says neither.
|
* (`error.message`) on `/v1`, where speech lives, and the sign-in's (`error_description`, RFC
|
||||||
|
* 8628). Null when the body says none of them.
|
||||||
*/
|
*/
|
||||||
internal fun refusal(body: String): String? = runCatching {
|
internal fun refusal(body: String): String? = runCatching {
|
||||||
val said = LembasJson.parseToJsonElement(body) as JsonObject
|
val said = LembasJson.parseToJsonElement(body) as JsonObject
|
||||||
fun words(of: Any?): String? = (of as? JsonPrimitive)?.takeUnless { it is JsonNull }?.content?.ifBlank { null }
|
fun words(of: Any?): String? = (of as? JsonPrimitive)?.takeUnless { it is JsonNull }?.content?.ifBlank { null }
|
||||||
words(said["detail"]) ?: words((said["error"] as? JsonObject)?.get("message"))
|
words(said["detail"]) ?: words((said["error"] as? JsonObject)?.get("message")) ?: words(said["error_description"])
|
||||||
}.getOrNull()
|
}.getOrNull()
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -394,8 +411,6 @@ class ApiClient(val base: String, private val token: String, val http: OkHttpCli
|
|||||||
|
|
||||||
suspend fun team(chatId: String, since: Int = 0): TeamView = get<TeamEnvelope>("/chats/$chatId/team?since=$since").team
|
suspend fun team(chatId: String, since: Int = 0): TeamView = get<TeamEnvelope>("/chats/$chatId/team?since=$since").team
|
||||||
|
|
||||||
suspend fun stopMember(chatId: String, name: String): List<String> = send<Stopped>("POST", "/chats/$chatId/team/${segment(name)}/stop", null).stopped
|
|
||||||
|
|
||||||
// --- Scheduled tasks (`/api/v2/schedules`; shapes in api/Schedules.kt) ----------------------
|
// --- Scheduled tasks (`/api/v2/schedules`; shapes in api/Schedules.kt) ----------------------
|
||||||
|
|
||||||
/** Every schedule of this person, newest first, each with its last run. */
|
/** Every schedule of this person, newest first, each with its last run. */
|
||||||
@@ -420,9 +435,6 @@ class ApiClient(val base: String, private val token: String, val http: OkHttpCli
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
/** A rule read back: cleaned, in words, and its next runs. An empty rule cannot run. */
|
|
||||||
suspend fun previewRule(rule: JsonObject): RulePreview = send("POST", "/schedules/preview", buildJsonObject { put("rule", rule) })
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Save what the compile made of [words]: a new schedule (201), or with [id] the one being
|
* Save what the compile made of [words]: a new schedule (201), or with [id] the one being
|
||||||
* edited. The words go along as the schedule's `request`, so editing starts from them.
|
* edited. The words go along as the schedule's `request`, so editing starts from them.
|
||||||
@@ -654,17 +666,6 @@ class ApiClient(val base: String, private val token: String, val http: OkHttpCli
|
|||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
/** Copy [path] into the directory [to]; the answer's `copied` says what the copy is called. */
|
|
||||||
suspend fun copyFile(path: String, to: String, name: String? = null): FileListing = send(
|
|
||||||
"POST",
|
|
||||||
"/files/copy",
|
|
||||||
buildJsonObject {
|
|
||||||
put("path", path)
|
|
||||||
put("to", to)
|
|
||||||
name?.let { put("name", it) }
|
|
||||||
},
|
|
||||||
)
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Move or copy [paths] into the directory [to], or delete them (to the trash): `op` is
|
* Move or copy [paths] into the directory [to], or delete them (to the trash): `op` is
|
||||||
* `move`, `copy` or `delete`. Each path is done by itself, so the answer is read for what
|
* `move`, `copy` or `delete`. Each path is done by itself, so the answer is read for what
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
package eu.llembas.android.api
|
package eu.llembas.android.api
|
||||||
|
|
||||||
|
import kotlinx.serialization.json.JsonObject
|
||||||
|
import kotlinx.serialization.json.JsonPrimitive
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The app API this app reads: 2, the server's 2.0 (no canvas, no `knowledge_bases`, the `show`
|
* The app API this app reads: 2, the server's 2.0 (no canvas, no `knowledge_bases`, the `show`
|
||||||
* card and its route, and the person's files). A server with a newer one is told about, not
|
* card and its route, and the person's files). A server with a newer one is told about, not
|
||||||
@@ -29,3 +32,38 @@ fun fit(found: Discovery): ServerFit {
|
|||||||
else -> ServerFit.FITS
|
else -> ServerFit.FITS
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** This app's name among the products a discovery document's `min_clients` lists. */
|
||||||
|
const val PRODUCT = "android"
|
||||||
|
|
||||||
|
/** The oldest version of [product] the instance says it works with, or null: nothing said, or not in words this app reads. */
|
||||||
|
fun Discovery.minClient(product: String = PRODUCT): String? {
|
||||||
|
val said = (minClients as? JsonObject)?.get(product) as? JsonPrimitive ?: return null
|
||||||
|
return said.takeIf { it.isString }?.content?.trim()?.ifEmpty { null }
|
||||||
|
}
|
||||||
|
|
||||||
|
private val VERSION = Regex("""^v?(\d+)\.(\d+)\.(\d+)(?:-beta\.(\d+))?""")
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A version as numbers that compare: `1.2.3` or `1.2.3-beta.4`, a release above every beta of
|
||||||
|
* itself. Whatever follows is a build's own mark (`-debug.12`, a flavour) and is left off. Null
|
||||||
|
* for what is no such version.
|
||||||
|
*/
|
||||||
|
fun versionNumbers(text: String): List<Int>? {
|
||||||
|
val match = VERSION.find(text.trim()) ?: return null
|
||||||
|
val (major, minor, patch, beta) = match.destructured
|
||||||
|
val parts = listOf(major.toIntOrNull(), minor.toIntOrNull(), patch.toIntOrNull(), if (beta.isEmpty()) Int.MAX_VALUE else beta.toIntOrNull())
|
||||||
|
return if (parts.any { it == null }) null else parts.filterNotNull()
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether the version [mine] is older than [needed]. By numbers, never as text: `1.0.0-beta.10`
|
||||||
|
* is newer than `1.0.0-beta.9`, and `1.0.0` newer than both. False when either cannot be read:
|
||||||
|
* a document that says nonsense locks nobody out.
|
||||||
|
*/
|
||||||
|
fun olderThan(mine: String, needed: String): Boolean {
|
||||||
|
val own = versionNumbers(mine) ?: return false
|
||||||
|
val least = versionNumbers(needed) ?: return false
|
||||||
|
for (i in own.indices) if (own[i] != least[i]) return own[i] < least[i]
|
||||||
|
return false
|
||||||
|
}
|
||||||
@@ -0,0 +1,91 @@
|
|||||||
|
package eu.llembas.android.api
|
||||||
|
|
||||||
|
import eu.llembas.android.BuildConfig
|
||||||
|
import okhttp3.Interceptor
|
||||||
|
import okhttp3.Response
|
||||||
|
|
||||||
|
/** This app's name to a server, with [version]: `llembas-android/1.2.3`. */
|
||||||
|
fun userAgent(version: String): String = "llembas-android/$version"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Who is asking: the `User-Agent` of every request this app makes (calls, streams, uploads and
|
||||||
|
* downloads) and the device code's `client_id` -- one string, so a server's list of devices and
|
||||||
|
* its logs name the same program.
|
||||||
|
*/
|
||||||
|
val USER_AGENT: String = userAgent(BuildConfig.VERSION_NAME)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The token a response says the instance no longer accepts, or null. Only the instance's own
|
||||||
|
* refusal counts: a 401 with its `WWW-Authenticate: Bearer realm="lembas"`, to a request that
|
||||||
|
* carried a token. A 401 passed on from somewhere else -- a speech provider behind `/v1`
|
||||||
|
* refusing the instance's key -- has no such header and signs nobody out; nor does a 403, which
|
||||||
|
* is the server's sentence about one thing that is not allowed.
|
||||||
|
*/
|
||||||
|
fun refusedToken(status: Int, challenge: String?, authorization: String?): String? {
|
||||||
|
if (status != 401 || challenge == null || authorization == null) return null
|
||||||
|
val asked = challenge.trim()
|
||||||
|
if (!asked.startsWith("Bearer", ignoreCase = true) || !asked.contains("realm=\"lembas\"", ignoreCase = true)) return null
|
||||||
|
if (!authorization.startsWith("Bearer ")) return null
|
||||||
|
return authorization.removePrefix("Bearer ").trim().ifEmpty { null }
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Where a refused token is said: once for the process, heard by whoever keeps the instances
|
||||||
|
* (`LembasApp`). It is told the token, not "the instance in use" -- a request of another
|
||||||
|
* instance, or one that was under way while the person switched, signs out the instance whose
|
||||||
|
* token it carried and no other. Called on the thread the answer arrived on: the listener only
|
||||||
|
* hands it on.
|
||||||
|
*/
|
||||||
|
object RefusedTokens {
|
||||||
|
@Volatile
|
||||||
|
var heard: ((String) -> Unit)? = null
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Names the app on every request, and listens for the instance refusing a token. */
|
||||||
|
internal class Identity : Interceptor {
|
||||||
|
override fun intercept(chain: Interceptor.Chain): Response {
|
||||||
|
val request = chain.request().newBuilder().header("User-Agent", USER_AGENT).build()
|
||||||
|
val response = chain.proceed(request)
|
||||||
|
refusedToken(response.code, response.header("WWW-Authenticate"), request.header("Authorization"))?.let { token ->
|
||||||
|
RefusedTokens.heard?.invoke(token)
|
||||||
|
}
|
||||||
|
return response
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/** A `Retry-After` in seconds (the server sends a number), or null: absent, a date, or nonsense. */
|
||||||
|
fun retryAfterSeconds(header: String?): Long? = header?.trim()?.toLongOrNull()?.takeIf { it >= 0 }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The one reconnect schedule of every LLeMbas client: a pause of 1 second that doubles to 60,
|
||||||
|
* each within ±20 % so that the clients of a server that restarted do not all return at the same
|
||||||
|
* moment, and back to 1 second only after a connection that stayed healthy for 30 seconds -- a
|
||||||
|
* stream that opens, says one frame and breaks again is not a reason to ask every second.
|
||||||
|
*
|
||||||
|
* [jitter] gives a number in 0..1 (0.5 is no jitter).
|
||||||
|
*/
|
||||||
|
class Reconnect(private val jitter: () -> Double = { Math.random() }) {
|
||||||
|
private var step = FIRST_MS
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The pause before the next opening. [healthyMs] is how long the connection that just ended
|
||||||
|
* had been carrying frames (0 for one that never did); [retryAfterMs] is what the server asked
|
||||||
|
* for on a 429, honoured when it is the longer of the two (up to [MOST_ASKED_MS]).
|
||||||
|
*/
|
||||||
|
fun pause(healthyMs: Long, retryAfterMs: Long = 0): Long {
|
||||||
|
if (healthyMs >= HEALTHY_MS) step = FIRST_MS
|
||||||
|
val now = step
|
||||||
|
step = (step * 2).coerceAtMost(LAST_MS)
|
||||||
|
val jittered = (now * (0.8 + 0.4 * jitter().coerceIn(0.0, 1.0))).toLong()
|
||||||
|
return maxOf(jittered, retryAfterMs.coerceIn(0L, MOST_ASKED_MS))
|
||||||
|
}
|
||||||
|
|
||||||
|
companion object {
|
||||||
|
const val FIRST_MS = 1_000L
|
||||||
|
const val LAST_MS = 60_000L
|
||||||
|
const val HEALTHY_MS = 30_000L
|
||||||
|
|
||||||
|
/** A server may ask for a long wait; a stream somebody watches is looked at again within five minutes. */
|
||||||
|
const val MOST_ASKED_MS = 300_000L
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -33,6 +33,12 @@ data class Discovery(
|
|||||||
@SerialName("app_api") val appApi: Int = 0,
|
@SerialName("app_api") val appApi: Int = 0,
|
||||||
val login: Login = Login(),
|
val login: Login = Login(),
|
||||||
val scopes: List<String> = emptyList(),
|
val scopes: List<String> = emptyList(),
|
||||||
|
/**
|
||||||
|
* The oldest version of each client the instance works with, by product (`{"android": "1.0.0"}`).
|
||||||
|
* Kept as whatever the document says -- read through [minClient], so that a shape this app
|
||||||
|
* does not expect is "says nothing", never "not a LLeMbas instance".
|
||||||
|
*/
|
||||||
|
@SerialName("min_clients") val minClients: JsonElement? = null,
|
||||||
) {
|
) {
|
||||||
@Serializable
|
@Serializable
|
||||||
data class Login(val device: DeviceLogin = DeviceLogin())
|
data class Login(val device: DeviceLogin = DeviceLogin())
|
||||||
|
|||||||
@@ -17,32 +17,40 @@ data class Frame(val event: String, val data: String)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Follow a reply: the stream's frames, and when the connection drops before `close`, the same
|
* Follow a reply: the stream's frames, and when the connection drops before `close`, the same
|
||||||
* stream opened again after a pause -- 1, 2, 4, 8 … up to 30 seconds. Nothing is replayed or
|
* stream opened again after a pause -- the one schedule of [Reconnect]. Nothing is replayed or
|
||||||
* deduplicated: the server's first pass after a reconnect is the whole state, which is exactly
|
* deduplicated: the server's first pass after a reconnect is the whole state, which is exactly
|
||||||
* what [LiveReply.apply] wants.
|
* what [LiveReply.apply] wants.
|
||||||
*
|
*
|
||||||
* A refusal (a 4xx: the chat was deleted, the token signed out) ends the flow with the error;
|
* A refusal (a 4xx: the chat was deleted, the token signed out) ends the flow with the error;
|
||||||
* only a broken connection is retried -- and each opening after the first is a new request, so
|
* only a broken connection is retried, and a 429, which is "later" rather than "no" -- and each
|
||||||
* it waits for its `turn` (the gate: nothing new is asked behind a lock).
|
* opening after the first is a new request, so it waits for its `turn` (the gate: nothing new is
|
||||||
|
* asked behind a lock).
|
||||||
|
*
|
||||||
|
* Silence is a broken connection too. Every stream this app follows (a reply's, the person's
|
||||||
|
* events, a chat's activity) is sent a keepalive by the server at least every 15 seconds, so a
|
||||||
|
* connection that says nothing for [SILENCE_SECONDS] is dead without having said so -- a phone
|
||||||
|
* that changed network, a proxy that dropped it -- and is opened again like any other.
|
||||||
*/
|
*/
|
||||||
class StreamClient(private val api: ApiClient) {
|
class StreamClient(private val api: ApiClient) {
|
||||||
private val http = api.http.newBuilder().readTimeout(0, TimeUnit.SECONDS).build()
|
private val http = api.http.newBuilder().readTimeout(SILENCE_SECONDS, TimeUnit.SECONDS).build()
|
||||||
|
|
||||||
fun follow(chatId: String, messageId: String, turn: suspend () -> Unit = {}): Flow<Frame> = reopened(turn) { once(api.streamRequest(chatId, messageId)) }
|
fun follow(chatId: String, messageId: String, turn: suspend () -> Unit = {}): Flow<Frame> = reopened(turn) { once(api.streamRequest(chatId, messageId)) }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Follow an events route that ends itself now and then (`close` after a while, as the
|
* Follow an events route that ends itself now and then (`close` after a while, as the
|
||||||
* activity panel's does): opened again at once after a `close`, and after a pause that
|
* activity panel's does): opened again at once after a `close`, and after a pause
|
||||||
* grows to 30 seconds when the connection drops or closes without a frame. It runs until
|
* ([Reconnect]) when the connection drops or closes without a frame. It runs until
|
||||||
* its collector stops; a refusal (4xx) ends it with the error. Each opening, the first
|
* its collector stops; a refusal (4xx) ends it with the error. Each opening, the first
|
||||||
* too, waits for its [turn].
|
* too, waits for its [turn].
|
||||||
*/
|
*/
|
||||||
fun watch(turn: suspend () -> Unit = {}, request: () -> Request): Flow<Frame> = flow {
|
fun watch(turn: suspend () -> Unit = {}, request: () -> Request): Flow<Frame> = flow {
|
||||||
var wait = 1_000L
|
val schedule = Reconnect()
|
||||||
while (true) {
|
while (true) {
|
||||||
var closed = false
|
var closed = false
|
||||||
var said = false
|
var said = false
|
||||||
var refused: ApiException? = null
|
var refused: ApiException? = null
|
||||||
|
var since: Long? = null
|
||||||
|
var slowed = 0L
|
||||||
// Every opening is a request of its own: it waits for its turn (the gate).
|
// Every opening is a request of its own: it waits for its turn (the gate).
|
||||||
turn()
|
turn()
|
||||||
once(request()).collect { result ->
|
once(request()).collect { result ->
|
||||||
@@ -52,13 +60,15 @@ class StreamClient(private val api: ApiClient) {
|
|||||||
closed = true
|
closed = true
|
||||||
} else {
|
} else {
|
||||||
said = true
|
said = true
|
||||||
wait = 1_000L
|
if (since == null) since = monotonicMs()
|
||||||
emit(result.frame)
|
emit(result.frame)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
is Outcome.Refused -> refused = result.error
|
is Outcome.Refused -> refused = result.error
|
||||||
|
|
||||||
|
is Outcome.Slowed -> slowed = result.seconds
|
||||||
|
|
||||||
is Outcome.Dropped -> Unit
|
is Outcome.Dropped -> Unit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -67,8 +77,7 @@ class StreamClient(private val api: ApiClient) {
|
|||||||
// that closes having said nothing waits as a dropped one does: a server that only
|
// that closes having said nothing waits as a dropped one does: a server that only
|
||||||
// ever answers `close` must not be asked in a tight loop.
|
// ever answers `close` must not be asked in a tight loop.
|
||||||
if (reopenAtOnce(closed, said)) continue
|
if (reopenAtOnce(closed, said)) continue
|
||||||
delay(wait)
|
delay(schedule.pause(healthyMs = since?.let { monotonicMs() - it } ?: 0L, retryAfterMs = slowed * 1000L))
|
||||||
wait = (wait * 2).coerceAtMost(30_000L)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -87,7 +96,10 @@ class StreamClient(private val api: ApiClient) {
|
|||||||
|
|
||||||
override fun onFailure(eventSource: EventSource, t: Throwable?, response: Response?) {
|
override fun onFailure(eventSource: EventSource, t: Throwable?, response: Response?) {
|
||||||
val code = response?.code ?: 0
|
val code = response?.code ?: 0
|
||||||
if (code in 400..499) {
|
if (code == 429) {
|
||||||
|
// "Later", not "no": opened again, after what the server asked for.
|
||||||
|
trySend(Outcome.Slowed(retryAfterSeconds(response?.header("Retry-After")) ?: 0L))
|
||||||
|
} else if (code in 400..499) {
|
||||||
trySend(Outcome.Refused(ApiException(code, response?.let { detail(it) } ?: "Refused ($code).")))
|
trySend(Outcome.Refused(ApiException(code, response?.let { detail(it) } ?: "Refused ($code).")))
|
||||||
} else {
|
} else {
|
||||||
trySend(Outcome.Dropped)
|
trySend(Outcome.Dropped)
|
||||||
@@ -98,43 +110,62 @@ class StreamClient(private val api: ApiClient) {
|
|||||||
)
|
)
|
||||||
awaitClose { source.cancel() }
|
awaitClose { source.cancel() }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
companion object {
|
||||||
|
/**
|
||||||
|
* How long a stream may say nothing before it counts as broken. The server's keepalive
|
||||||
|
* comes every 15 seconds on each of the three routes followed here; three of them missed
|
||||||
|
* is not a slow server.
|
||||||
|
*/
|
||||||
|
const val SILENCE_SECONDS = 45L
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** What one opening of a stream gave: a frame, a refusal (4xx), or a connection that broke. */
|
/** A clock that only goes forward, in milliseconds: for how long a connection lasted. */
|
||||||
|
fun monotonicMs(): Long = System.nanoTime() / 1_000_000L
|
||||||
|
|
||||||
|
/**
|
||||||
|
* What one opening of a stream gave: a frame, a refusal (4xx), a "too many requests" (429, with
|
||||||
|
* the seconds its `Retry-After` asked for, 0 when it named none), or a connection that broke.
|
||||||
|
*/
|
||||||
sealed interface Outcome {
|
sealed interface Outcome {
|
||||||
data class Event(val frame: Frame) : Outcome
|
data class Event(val frame: Frame) : Outcome
|
||||||
data class Refused(val error: ApiException) : Outcome
|
data class Refused(val error: ApiException) : Outcome
|
||||||
|
data class Slowed(val seconds: Long) : Outcome
|
||||||
data object Dropped : Outcome
|
data object Dropped : Outcome
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A reply's stream, [open]ed again whenever it ends before `close`: after a pause of 1, 2, 4, 8 …
|
* A reply's stream, [open]ed again whenever it ends before `close`: after a pause by [schedule]
|
||||||
* up to 30 seconds, and after its [turn] -- every opening but the first is a request nobody is
|
* (1 second doubling to 60, jittered, and short again only after a connection that held for half
|
||||||
* waiting for at that moment, so it asks first whether it may start. A refusal ends the flow
|
* a minute by [clock]), and after its [turn] -- every opening but the first is a request nobody
|
||||||
|
* is waiting for at that moment, so it asks first whether it may start. A refusal ends the flow
|
||||||
* with the error.
|
* with the error.
|
||||||
*/
|
*/
|
||||||
fun reopened(turn: suspend () -> Unit, open: () -> Flow<Outcome>): Flow<Frame> = flow {
|
fun reopened(turn: suspend () -> Unit, schedule: Reconnect = Reconnect(), clock: () -> Long = ::monotonicMs, open: () -> Flow<Outcome>): Flow<Frame> = flow {
|
||||||
var wait = 1_000L
|
|
||||||
while (true) {
|
while (true) {
|
||||||
var closed = false
|
var closed = false
|
||||||
var refused: ApiException? = null
|
var refused: ApiException? = null
|
||||||
|
var since: Long? = null
|
||||||
|
var slowed = 0L
|
||||||
open().collect { result ->
|
open().collect { result ->
|
||||||
when (result) {
|
when (result) {
|
||||||
is Outcome.Event -> {
|
is Outcome.Event -> {
|
||||||
wait = 1_000L
|
if (since == null) since = clock()
|
||||||
emit(result.frame)
|
emit(result.frame)
|
||||||
if (result.frame.event == "close") closed = true
|
if (result.frame.event == "close") closed = true
|
||||||
}
|
}
|
||||||
|
|
||||||
is Outcome.Refused -> refused = result.error
|
is Outcome.Refused -> refused = result.error
|
||||||
|
|
||||||
|
is Outcome.Slowed -> slowed = result.seconds
|
||||||
|
|
||||||
is Outcome.Dropped -> Unit
|
is Outcome.Dropped -> Unit
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
refused?.let { throw it }
|
refused?.let { throw it }
|
||||||
if (closed) return@flow
|
if (closed) return@flow
|
||||||
delay(wait)
|
delay(schedule.pause(healthyMs = since?.let { clock() - it } ?: 0L, retryAfterMs = slowed * 1000L))
|
||||||
wait = (wait * 2).coerceAtMost(30_000L)
|
|
||||||
turn()
|
turn()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -243,7 +243,9 @@ class AssistController(
|
|||||||
val own = prefs.forInstance(instance?.id)
|
val own = prefs.forInstance(instance?.id)
|
||||||
_state.update {
|
_state.update {
|
||||||
it.copy(
|
it.copy(
|
||||||
signedIn = instance != null,
|
// An instance that signed this phone out is "not signed in" here: the sheet says
|
||||||
|
// to sign in in the app, and asks that instance nothing.
|
||||||
|
signedIn = instance != null && !instance.signedOut,
|
||||||
instanceName = instance?.name?.ifBlank { instance.base }.orEmpty(),
|
instanceName = instance?.name?.ifBlank { instance.base }.orEmpty(),
|
||||||
voiceReply = prefs.readAloudSpoken,
|
voiceReply = prefs.readAloudSpoken,
|
||||||
canReadNotifications = prefs.notificationSummaries && NotificationAccess.granted(context),
|
canReadNotifications = prefs.notificationSummaries && NotificationAccess.granted(context),
|
||||||
@@ -260,7 +262,7 @@ class AssistController(
|
|||||||
private suspend fun loadRemote() {
|
private suspend fun loadRemote() {
|
||||||
val store = context.lembas.instances
|
val store = context.lembas.instances
|
||||||
val prefs = store.prefs.first()
|
val prefs = store.prefs.first()
|
||||||
val instance = store.default() ?: return
|
val instance = store.default()?.takeUnless { it.signedOut } ?: return
|
||||||
targetId = instance.id
|
targetId = instance.id
|
||||||
val api = store.clientFor(instance)
|
val api = store.clientFor(instance)
|
||||||
val own = prefs.forInstance(instance.id)
|
val own = prefs.forInstance(instance.id)
|
||||||
@@ -622,7 +624,7 @@ class AssistController(
|
|||||||
_state.update { it.copy(conversation = talking) }
|
_state.update { it.copy(conversation = talking) }
|
||||||
try {
|
try {
|
||||||
val store = context.lembas.instances
|
val store = context.lembas.instances
|
||||||
val instance = store.default() ?: throw ApiException(401, "Not signed in.")
|
val instance = store.default()?.takeUnless { it.signedOut } ?: throw ApiException(401, context.getString(R.string.assist_signed_out))
|
||||||
targetId = instance.id
|
targetId = instance.id
|
||||||
val api = store.clientFor(instance)
|
val api = store.clientFor(instance)
|
||||||
val prefs = store.prefs.first()
|
val prefs = store.prefs.first()
|
||||||
|
|||||||
@@ -9,6 +9,7 @@ import androidx.datastore.preferences.core.stringPreferencesKey
|
|||||||
import androidx.datastore.preferences.preferencesDataStore
|
import androidx.datastore.preferences.preferencesDataStore
|
||||||
import eu.llembas.android.api.ApiClient
|
import eu.llembas.android.api.ApiClient
|
||||||
import eu.llembas.android.api.LembasJson
|
import eu.llembas.android.api.LembasJson
|
||||||
|
import eu.llembas.android.api.sameBase
|
||||||
import eu.llembas.android.wake.WakeAttempt
|
import eu.llembas.android.wake.WakeAttempt
|
||||||
import kotlinx.coroutines.flow.Flow
|
import kotlinx.coroutines.flow.Flow
|
||||||
import kotlinx.coroutines.flow.first
|
import kotlinx.coroutines.flow.first
|
||||||
@@ -21,9 +22,18 @@ import javax.crypto.KeyGenerator
|
|||||||
import javax.crypto.SecretKey
|
import javax.crypto.SecretKey
|
||||||
import javax.crypto.spec.GCMParameterSpec
|
import javax.crypto.spec.GCMParameterSpec
|
||||||
|
|
||||||
/** One instance this phone is signed in to. The token is stored encrypted, never in the clear. */
|
/**
|
||||||
|
* One instance this phone is signed in to. The token is stored encrypted, never in the clear.
|
||||||
|
* [base] is the address the person typed, as the address rule reads it; what the instance says
|
||||||
|
* of its own address is not kept. [id] is a key and nothing more: whatever it was made from, it
|
||||||
|
* is never taken apart or made again -- the choices kept for the instance, its notifications and
|
||||||
|
* its push registration all hang on it.
|
||||||
|
* [signedOut]: the instance refused that token (it was revoked there, or it expired). The entry
|
||||||
|
* stays -- with its place in the list and every choice kept for it -- until the person signs in
|
||||||
|
* again, which replaces the token, or removes it; meanwhile nothing more is asked with it.
|
||||||
|
*/
|
||||||
@Serializable
|
@Serializable
|
||||||
data class Instance(val id: String, val base: String, val name: String, val email: String, val sealedToken: String)
|
data class Instance(val id: String, val base: String, val name: String, val email: String, val sealedToken: String, val signedOut: Boolean = false)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The token's lock: an AES key that lives in the Android Keystore and never leaves it. A copy
|
* The token's lock: an AES key that lives in the Android Keystore and never leaves it. A copy
|
||||||
@@ -88,6 +98,21 @@ object InstanceLogic {
|
|||||||
fun pickActive(instances: List<Instance>, activeId: String?, defaultId: String?): Instance? =
|
fun pickActive(instances: List<Instance>, activeId: String?, defaultId: String?): Instance? =
|
||||||
instances.firstOrNull { it.id == activeId } ?: pickDefault(instances, defaultId)
|
instances.firstOrNull { it.id == activeId } ?: pickDefault(instances, defaultId)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The entry a finished sign-in is kept as. An instance already here for the same account --
|
||||||
|
* its stored base is the address just typed, or the one the instance says of itself
|
||||||
|
* ([said], which older versions of the app stored) -- is that same instance: it keeps its
|
||||||
|
* id, and so everything kept under it, and gets the new token and the typed address. Only an
|
||||||
|
* instance that is not here yet is a new entry, its id made from the typed address.
|
||||||
|
*/
|
||||||
|
fun signedIn(instances: List<Instance>, typed: String, said: String, name: String, email: String, sealedToken: String): Instance {
|
||||||
|
val twin = instances.firstOrNull {
|
||||||
|
it.email.equals(email, ignoreCase = true) && (sameBase(it.base, typed) || (said.isNotBlank() && sameBase(it.base, said)))
|
||||||
|
}
|
||||||
|
return twin?.copy(base = typed, name = name, sealedToken = sealedToken, signedOut = false)
|
||||||
|
?: Instance(id = "$email@$typed", base = typed, name = name, email = email, sealedToken = sealedToken)
|
||||||
|
}
|
||||||
|
|
||||||
/** Adding [added] replaces any existing entry with the same id, makes it active, and sets it
|
/** Adding [added] replaces any existing entry with the same id, makes it active, and sets it
|
||||||
* as default only when no surviving default exists yet. */
|
* as default only when no surviving default exists yet. */
|
||||||
fun afterAdd(instances: List<Instance>, added: Instance, currentDefault: String?): Triple<List<Instance>, String, String> {
|
fun afterAdd(instances: List<Instance>, added: Instance, currentDefault: String?): Triple<List<Instance>, String, String> {
|
||||||
@@ -96,6 +121,17 @@ object InstanceLogic {
|
|||||||
return Triple(next, added.id, keptDefault)
|
return Triple(next, added.id, keptDefault)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The list after the instance refused a token: every entry whose token [refused] says it was is
|
||||||
|
* marked signed out, and nothing else changes -- not which instance is in use, not the default,
|
||||||
|
* not another instance. Null when no entry changes (the token is nobody's any more, or its
|
||||||
|
* entry is marked already), so that nothing is written.
|
||||||
|
*/
|
||||||
|
fun afterRefusal(instances: List<Instance>, refused: (Instance) -> Boolean): List<Instance>? {
|
||||||
|
if (instances.none { !it.signedOut && refused(it) }) return null
|
||||||
|
return instances.map { if (!it.signedOut && refused(it)) it.copy(signedOut = true) else it }
|
||||||
|
}
|
||||||
|
|
||||||
/** Removing [removedId] promotes the surviving default (or first) for active, and the
|
/** Removing [removedId] promotes the surviving default (or first) for active, and the
|
||||||
* surviving active (or first) for default, or null when no instance remains. */
|
* surviving active (or first) for default, or null when no instance remains. */
|
||||||
fun afterRemove(instances: List<Instance>, removedId: String, currentActive: String?, currentDefault: String?): Triple<List<Instance>, String?, String?> {
|
fun afterRemove(instances: List<Instance>, removedId: String, currentActive: String?, currentDefault: String?): Triple<List<Instance>, String?, String?> {
|
||||||
@@ -216,28 +252,42 @@ class InstanceStore(private val context: Context) {
|
|||||||
|
|
||||||
suspend fun default(): Instance? = defaultInstance.first()
|
suspend fun default(): Instance? = defaultInstance.first()
|
||||||
|
|
||||||
suspend fun client(): ApiClient? = current()?.let { clientFor(it) }
|
/** A client for the instance in use; none when there is no instance, or it signed this phone out. */
|
||||||
|
suspend fun client(): ApiClient? = current()?.takeUnless { it.signedOut }?.let { clientFor(it) }
|
||||||
|
|
||||||
suspend fun defaultClient(): ApiClient? = default()?.let { clientFor(it) }
|
suspend fun defaultClient(): ApiClient? = default()?.takeUnless { it.signedOut }?.let { clientFor(it) }
|
||||||
|
|
||||||
fun clientFor(instance: Instance): ApiClient = ApiClient(instance.base, TokenCipher.open(instance.sealedToken))
|
fun clientFor(instance: Instance): ApiClient = ApiClient(instance.base, TokenCipher.open(instance.sealedToken))
|
||||||
|
|
||||||
suspend fun add(base: String, name: String, email: String, token: String): Instance {
|
/**
|
||||||
val instance = Instance(
|
* A sign-in finished: at [base], the address the person typed as the address rule reads it,
|
||||||
id = "$email@$base",
|
* which is the one kept. [said] is the instance's own word for its address -- never stored,
|
||||||
base = base,
|
* and looked at only to know an instance signed in to before ([InstanceLogic.signedIn]).
|
||||||
name = name,
|
*/
|
||||||
email = email,
|
suspend fun add(base: String, said: String, name: String, email: String, token: String) {
|
||||||
sealedToken = TokenCipher.seal(token),
|
val locked = TokenCipher.seal(token)
|
||||||
)
|
|
||||||
context.store.edit { prefs ->
|
context.store.edit { prefs ->
|
||||||
val all = prefs[INSTANCES]?.let { runCatching { LembasJson.decodeFromString(listSerializer, it) }.getOrNull() } ?: emptyList()
|
val all = prefs[INSTANCES]?.let { runCatching { LembasJson.decodeFromString(listSerializer, it) }.getOrNull() } ?: emptyList()
|
||||||
|
val instance = InstanceLogic.signedIn(all, base, said, name, email, locked)
|
||||||
val (next, activeId, defaultId) = InstanceLogic.afterAdd(all, instance, prefs[DEFAULT])
|
val (next, activeId, defaultId) = InstanceLogic.afterAdd(all, instance, prefs[DEFAULT])
|
||||||
prefs[INSTANCES] = LembasJson.encodeToString(listSerializer, next)
|
prefs[INSTANCES] = LembasJson.encodeToString(listSerializer, next)
|
||||||
prefs[ACTIVE] = activeId
|
prefs[ACTIVE] = activeId
|
||||||
prefs[DEFAULT] = defaultId
|
prefs[DEFAULT] = defaultId
|
||||||
}
|
}
|
||||||
return instance
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The instance refused [token] (a 401 of its own): the entry that holds it is marked signed
|
||||||
|
* out. Asked by the token, never by "the one in use": the answer may be to a request of
|
||||||
|
* another instance, or to one sent before the person switched or signed in again -- a token
|
||||||
|
* that is no entry's any more marks nothing.
|
||||||
|
*/
|
||||||
|
suspend fun refused(token: String) {
|
||||||
|
context.store.edit { prefs ->
|
||||||
|
val all = prefs[INSTANCES]?.let { runCatching { LembasJson.decodeFromString(listSerializer, it) }.getOrNull() } ?: emptyList()
|
||||||
|
val next = InstanceLogic.afterRefusal(all) { runCatching { TokenCipher.open(it.sealedToken) }.getOrNull() == token }
|
||||||
|
if (next != null) prefs[INSTANCES] = LembasJson.encodeToString(listSerializer, next)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
suspend fun use(id: String) {
|
suspend fun use(id: String) {
|
||||||
|
|||||||
@@ -146,7 +146,8 @@ object Notifications {
|
|||||||
* server cut them (BigTextStyle opens them). On the lock screen only the public version: the
|
* server cut them (BigTextStyle opens them). On the lock screen only the public version: the
|
||||||
* app's name and "A scheduled task has a result." (or failed) -- nothing from the account, so
|
* app's name and "A scheduled task has a result." (or failed) -- nothing from the account, so
|
||||||
* the server's `public` (which names the task) is not used. A tap and Open go to the run;
|
* the server's `public` (which names the task) is not used. A tap and Open go to the run;
|
||||||
* Run again starts it again, once the phone is unlocked; Pause is there when offered.
|
* Run again starts it again and Pause (there when offered) pauses the task, each only once
|
||||||
|
* the phone is unlocked.
|
||||||
*/
|
*/
|
||||||
private fun scheduled(context: Context, instance: String, payload: PushPayload) {
|
private fun scheduled(context: Context, instance: String, payload: PushPayload) {
|
||||||
val notice = ScheduledNotice.from(payload) ?: return
|
val notice = ScheduledNotice.from(payload) ?: return
|
||||||
@@ -179,7 +180,8 @@ object Notifications {
|
|||||||
}
|
}
|
||||||
if (notice.pause) {
|
if (notice.pause) {
|
||||||
val pause = scheduleAction(context, instance, notice.scheduleId, notice.id, ScheduleActionReceiver.PAUSE)
|
val pause = scheduleAction(context, instance, notice.scheduleId, notice.id, ScheduleActionReceiver.PAUSE)
|
||||||
builder.addAction(0, notice.label("pause", context.getString(R.string.schedule_pause)), pause)
|
// It acts on the account, as Run again does: only once the phone is unlocked.
|
||||||
|
builder.addAction(unlocked(notice.label("pause", context.getString(R.string.schedule_pause)), pause))
|
||||||
}
|
}
|
||||||
NotificationManagerCompat.from(context).notify(notice.id, builder.build())
|
NotificationManagerCompat.from(context).notify(notice.id, builder.build())
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,23 +3,94 @@ package eu.llembas.android.ui
|
|||||||
import android.content.Context
|
import android.content.Context
|
||||||
import eu.llembas.android.R
|
import eu.llembas.android.R
|
||||||
import eu.llembas.android.api.ApiException
|
import eu.llembas.android.api.ApiException
|
||||||
|
import eu.llembas.android.api.NotLembas
|
||||||
|
import java.io.InterruptedIOException
|
||||||
import java.net.ConnectException
|
import java.net.ConnectException
|
||||||
import java.net.NoRouteToHostException
|
import java.net.NoRouteToHostException
|
||||||
import java.net.SocketTimeoutException
|
import java.net.SocketTimeoutException
|
||||||
import java.net.UnknownHostException
|
import java.net.UnknownHostException
|
||||||
|
import java.net.UnknownServiceException
|
||||||
|
import java.security.cert.CertPathValidatorException
|
||||||
|
import java.security.cert.CertificateException
|
||||||
|
import javax.net.ssl.SSLPeerUnverifiedException
|
||||||
|
|
||||||
|
/** What went wrong between the phone and an instance, as the kinds a person can tell apart. */
|
||||||
|
enum class Trouble {
|
||||||
|
/** The instance said no, or answered with an error: its own sentence, or its number. */
|
||||||
|
ANSWERED,
|
||||||
|
|
||||||
|
/** No way to it: no network, a name that does not resolve, a refused connection. */
|
||||||
|
UNREACHABLE,
|
||||||
|
|
||||||
|
/** It was reached and did not answer in time. */
|
||||||
|
TIMEOUT,
|
||||||
|
|
||||||
|
/** Its certificate is not one this phone trusts. */
|
||||||
|
NOT_TRUSTED,
|
||||||
|
|
||||||
|
/** The address is plain http, which this app does not speak. */
|
||||||
|
NEEDS_HTTPS,
|
||||||
|
|
||||||
|
/** Something answers there, and it is no LLeMbas instance. */
|
||||||
|
NOT_LEMBAS,
|
||||||
|
|
||||||
|
/** None of these: the failure's own message is all there is. */
|
||||||
|
OTHER,
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Which [Trouble] a failure is. Pure, so the cases are a table in a test. */
|
||||||
|
fun trouble(e: Throwable): Trouble = when {
|
||||||
|
e is ApiException -> Trouble.ANSWERED
|
||||||
|
|
||||||
|
e is NotLembas -> Trouble.NOT_LEMBAS
|
||||||
|
|
||||||
|
untrusted(e) -> Trouble.NOT_TRUSTED
|
||||||
|
|
||||||
|
e is UnknownHostException || e is ConnectException || e is NoRouteToHostException -> Trouble.UNREACHABLE
|
||||||
|
|
||||||
|
// OkHttp's own timeouts are an InterruptedIOException saying "timeout".
|
||||||
|
e is SocketTimeoutException || (e is InterruptedIOException && e.message == "timeout") -> Trouble.TIMEOUT
|
||||||
|
|
||||||
|
// Android's network policy refusing cleartext: "CLEARTEXT communication to … not permitted".
|
||||||
|
e is UnknownServiceException && e.message.orEmpty().contains("CLEARTEXT", ignoreCase = true) -> Trouble.NEEDS_HTTPS
|
||||||
|
|
||||||
|
else -> Trouble.OTHER
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A failure in words a person can act on. The server's refusal is its own sentence; a phone
|
* A failure in words a person can act on, one sentence for each kind of [Trouble]. The server's
|
||||||
* that cannot reach the instance at all -- no network, a name that does not resolve off the
|
* refusal is its own sentence (a 403 says what is not allowed, and signs nobody out); an answer
|
||||||
* home network, a server that is down -- is one sentence saying so, rather than
|
* without one is said with its number -- "the server answered 502" is never "cannot be reached"
|
||||||
* "Unable to resolve host" or "failed to connect to /…:443". A certificate the phone does not
|
* and never "not a LLeMbas instance". A phone that cannot reach the instance at all, one that
|
||||||
* trust keeps its own message: that one names what to fix.
|
* waited in vain, and a certificate the phone does not trust each say so, the last with what to
|
||||||
|
* do about it.
|
||||||
*/
|
*/
|
||||||
fun Context.explain(e: Throwable): String = when {
|
fun Context.explain(e: Throwable): String = when (trouble(e)) {
|
||||||
e is ApiException -> e.message?.ifBlank { null } ?: getString(R.string.offline)
|
Trouble.ANSWERED -> e.message?.ifBlank { null } ?: getString(R.string.server_answered, ((e as? ApiException)?.status ?: 0).toString())
|
||||||
unreachable(e) -> getString(R.string.offline)
|
Trouble.UNREACHABLE -> getString(R.string.offline)
|
||||||
else -> e.message?.ifBlank { null } ?: e.javaClass.simpleName
|
Trouble.TIMEOUT -> getString(R.string.timed_out)
|
||||||
|
Trouble.NOT_TRUSTED -> getString(R.string.not_trusted)
|
||||||
|
Trouble.NEEDS_HTTPS -> getString(R.string.address_needs_https)
|
||||||
|
Trouble.NOT_LEMBAS -> getString(R.string.signin_not_lembas)
|
||||||
|
Trouble.OTHER -> e.message?.ifBlank { null } ?: e.javaClass.simpleName
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Whether a failure means "the instance cannot be reached" rather than "it said no". */
|
/** Whether a failure means "the instance cannot be reached" rather than "it said no". */
|
||||||
fun unreachable(e: Throwable): Boolean = e is UnknownHostException || e is ConnectException || e is SocketTimeoutException || e is NoRouteToHostException
|
fun unreachable(e: Throwable): Boolean = e is UnknownHostException || e is ConnectException || e is SocketTimeoutException || e is NoRouteToHostException
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether a failure is a certificate this phone does not trust: no authority the phone knows
|
||||||
|
* signed it, it is out of date, or the name on it is another host's. Looked for down the
|
||||||
|
* causes, where the platform puts it under the handshake's failure -- a handshake that failed
|
||||||
|
* for another reason (no protocol in common) is not this.
|
||||||
|
*/
|
||||||
|
fun untrusted(e: Throwable): Boolean {
|
||||||
|
var at: Throwable? = e
|
||||||
|
var depth = 0
|
||||||
|
while (at != null && depth < 8) {
|
||||||
|
if (at is SSLPeerUnverifiedException || at is CertificateException || at is CertPathValidatorException) return true
|
||||||
|
at = at.cause
|
||||||
|
depth++
|
||||||
|
}
|
||||||
|
return false
|
||||||
|
}
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
package eu.llembas.android.ui
|
||||||
|
|
||||||
|
/**
|
||||||
|
* A list with its next [page] put after it, no row twice. A list that is read a page at a time
|
||||||
|
* asks for the next one whenever its end comes into view, and the end can come into view again
|
||||||
|
* while that page is still on its way (the list was read again meanwhile, a row was added at its
|
||||||
|
* head): the same page then arrives twice. The rows are keyed by [id], and a key drawn twice
|
||||||
|
* ends the app -- so a row [held] already, or named twice by the page itself, is not added.
|
||||||
|
*/
|
||||||
|
fun <T> appended(held: List<T>, page: List<T>, id: (T) -> String): List<T> {
|
||||||
|
val have = held.mapTo(HashSet()) { id(it) }
|
||||||
|
return held + page.filter { have.add(id(it)) }
|
||||||
|
}
|
||||||
@@ -42,8 +42,12 @@ import eu.llembas.android.api.Whereabouts
|
|||||||
import eu.llembas.android.api.named
|
import eu.llembas.android.api.named
|
||||||
import eu.llembas.android.api.serving
|
import eu.llembas.android.api.serving
|
||||||
import eu.llembas.android.api.whereabouts
|
import eu.llembas.android.api.whereabouts
|
||||||
|
import eu.llembas.android.auth.Instance
|
||||||
import eu.llembas.android.lembas
|
import eu.llembas.android.lembas
|
||||||
|
import eu.llembas.android.share.SharedRefused
|
||||||
|
import eu.llembas.android.share.SharedSource
|
||||||
import eu.llembas.android.ui.explain
|
import eu.llembas.android.ui.explain
|
||||||
|
import eu.llembas.android.ui.files.FileCache
|
||||||
import eu.llembas.android.ui.files.noSuchRoute
|
import eu.llembas.android.ui.files.noSuchRoute
|
||||||
import eu.llembas.android.whileOpen
|
import eu.llembas.android.whileOpen
|
||||||
import kotlinx.coroutines.CancellationException
|
import kotlinx.coroutines.CancellationException
|
||||||
@@ -135,6 +139,14 @@ data class Draft(
|
|||||||
val image: Boolean = false,
|
val image: Boolean = false,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether an address to attach is the photo the camera wrote for the composer: one of this
|
||||||
|
* app's own provider ([own], its authority), in the camera's folder ([segments]: the address's
|
||||||
|
* path). Only that is read with the app's own rights; a copy of one of the account's files
|
||||||
|
* that the same provider holds for another app is not a photo, whoever names it.
|
||||||
|
*/
|
||||||
|
fun composerPhoto(authority: String?, segments: List<String>, own: String): Boolean = authority == own && segments.size == 2 && segments[0] == FileCache.CAMERA
|
||||||
|
|
||||||
/** The one tool a message may force (the server's `FORCEABLE_TOOLS`): make a picture. */
|
/** The one tool a message may force (the server's `FORCEABLE_TOOLS`): make a picture. */
|
||||||
const val IMAGE_TOOL = "image_generate"
|
const val IMAGE_TOOL = "image_generate"
|
||||||
|
|
||||||
@@ -370,8 +382,26 @@ class ChatViewModel(app: Application) :
|
|||||||
private var agentChat = false
|
private var agentChat = false
|
||||||
private var api: ApiClient? = null
|
private var api: ApiClient? = null
|
||||||
|
|
||||||
private suspend fun api(): ApiClient = api ?: getApplication<Application>().lembas.instances.client()?.also { api = it }
|
/** The instance this screen's chat is on, as it was when [api] was made: its id, and the token it was made with. */
|
||||||
?: throw ApiException(401, "Not signed in.")
|
private var apiOf: Instance? = null
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The client for this screen's instance: the one in use when the screen first asked, and that
|
||||||
|
* one from then on. It is made again when the instance has another token (the person signed
|
||||||
|
* in again after the instance signed this phone out) -- the old one would be refused for
|
||||||
|
* ever -- and there is none while the instance is signed out, or once it was removed.
|
||||||
|
*/
|
||||||
|
private suspend fun api(): ApiClient {
|
||||||
|
val store = getApplication<Application>().lembas.instances
|
||||||
|
val mine = apiOf?.id
|
||||||
|
val now = (if (mine == null) store.current() else store.instances.first().firstOrNull { it.id == mine })
|
||||||
|
?.takeUnless { it.signedOut } ?: throw ApiException(401, getApplication<Application>().getString(R.string.assist_signed_out))
|
||||||
|
api?.takeIf { apiOf?.sealedToken == now.sealedToken }?.let { return it }
|
||||||
|
return store.clientFor(now).also {
|
||||||
|
api = it
|
||||||
|
apiOf = now
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private fun fail(e: Throwable) {
|
private fun fail(e: Throwable) {
|
||||||
// A follow that was replaced by a newer one is cancelled, not failed: nothing to say.
|
// A follow that was replaced by a newer one is cancelled, not failed: nothing to say.
|
||||||
@@ -1125,20 +1155,28 @@ class ChatViewModel(app: Application) :
|
|||||||
viewModelScope.launch {
|
viewModelScope.launch {
|
||||||
uploadBegins()
|
uploadBegins()
|
||||||
try {
|
try {
|
||||||
val resolver = getApplication<Application>().contentResolver
|
val app = getApplication<Application>()
|
||||||
|
val resolver = app.contentResolver
|
||||||
for (uri in uris) {
|
for (uri in uris) {
|
||||||
|
// The one address of this app's own that is taken: the photo the camera wrote for
|
||||||
|
// the composer. Every other is a picker's word -- which may be any app's -- and is
|
||||||
|
// opened as a share's is (SharedSource): never a file of this app's own.
|
||||||
|
val photo = composerPhoto(uri.authority, uri.pathSegments, photoAuthority)
|
||||||
val (name, bytes) = withContext(Dispatchers.IO) {
|
val (name, bytes) = withContext(Dispatchers.IO) {
|
||||||
val name = resolver.query(uri, arrayOf(OpenableColumns.DISPLAY_NAME), null, null, null)?.use { c ->
|
val name = resolver.query(uri, arrayOf(OpenableColumns.DISPLAY_NAME), null, null, null)?.use { c ->
|
||||||
if (c.moveToFirst()) c.getString(0) else null
|
if (c.moveToFirst()) c.getString(0) else null
|
||||||
} ?: "file"
|
} ?: "file"
|
||||||
name to (resolver.openInputStream(uri)?.use { it.readBytes() } ?: ByteArray(0))
|
val stream = if (photo) resolver.openInputStream(uri) else SharedSource.open(app, uri)
|
||||||
|
name to (stream?.use { it.readBytes() } ?: ByteArray(0))
|
||||||
}
|
}
|
||||||
val mime = resolver.getType(uri) ?: "application/octet-stream"
|
val mime = resolver.getType(uri) ?: "application/octet-stream"
|
||||||
val stored = api().upload(name, mime, bytes, _state.value.chat?.id)
|
val stored = api().upload(name, mime, bytes, _state.value.chat?.id)
|
||||||
_state.update { it.copy(pending = it.pending + stored) }
|
_state.update { it.copy(pending = it.pending + stored) }
|
||||||
// A photo the camera took for this message is the server's now.
|
// A photo the camera took for this message is the server's now.
|
||||||
if (uri.authority == photoAuthority) runCatching { resolver.delete(uri, null, null) }
|
if (photo) runCatching { resolver.delete(uri, null, null) }
|
||||||
}
|
}
|
||||||
|
} catch (_: SharedRefused) {
|
||||||
|
_state.update { it.copy(error = getApplication<Application>().getString(R.string.share_refused)) }
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
fail(e)
|
fail(e)
|
||||||
}
|
}
|
||||||
@@ -1204,7 +1242,7 @@ class ChatViewModel(app: Application) :
|
|||||||
*/
|
*/
|
||||||
override fun photoTarget(): Uri {
|
override fun photoTarget(): Uri {
|
||||||
val app = getApplication<Application>()
|
val app = getApplication<Application>()
|
||||||
val dir = File(app.cacheDir, "camera").apply { mkdirs() }
|
val dir = File(app.cacheDir, FileCache.CAMERA).apply { mkdirs() }
|
||||||
val file = File(dir, "photo-${System.currentTimeMillis()}.jpg")
|
val file = File(dir, "photo-${System.currentTimeMillis()}.jpg")
|
||||||
return FileProvider.getUriForFile(app, photoAuthority, file)
|
return FileProvider.getUriForFile(app, photoAuthority, file)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -163,7 +163,9 @@ fun Composer(state: ChatState, actions: ChatActions, agent: Boolean, onTune: ()
|
|||||||
var text by rememberSaveable { mutableStateOf(initial) }
|
var text by rememberSaveable { mutableStateOf(initial) }
|
||||||
var attachMenu by remember { mutableStateOf(false) }
|
var attachMenu by remember { mutableStateOf(false) }
|
||||||
var listening by remember { mutableStateOf(false) }
|
var listening by remember { mutableStateOf(false) }
|
||||||
var photo by remember { mutableStateOf<Uri?>(null) }
|
// Kept across the screen being made again: the camera is held sideways as often as not, and
|
||||||
|
// the photo that comes back then must still know where it was taken to.
|
||||||
|
var photo by rememberSaveable { mutableStateOf<Uri?>(null) }
|
||||||
val recorder = remember { Recorder(scope) }
|
val recorder = remember { Recorder(scope) }
|
||||||
val phone = remember { PhoneRecognizer(context) }
|
val phone = remember { PhoneRecognizer(context) }
|
||||||
// What was typed before the phone's recogniser began: its words go after it as they come.
|
// What was typed before the phone's recogniser began: its words go after it as they come.
|
||||||
|
|||||||
@@ -37,7 +37,8 @@ import java.util.UUID
|
|||||||
* handed over, nor when the screen that made it closes or the app starts again: the other app
|
* handed over, nor when the screen that made it closes or the app starts again: the other app
|
||||||
* may still be reading it (a mail being written). So it goes by its age alone, [SHARED_KEPT_MS]
|
* may still be reading it (a mail being written). So it goes by its age alone, [SHARED_KEPT_MS]
|
||||||
* after it was written -- looked at when the app starts, when a screen with transfers closes and
|
* after it was written -- looked at when the app starts, when a screen with transfers closes and
|
||||||
* before a new copy is made -- and all of them go at sign-out and on a switch of instance. No
|
* before a new copy is made -- and all of them go at sign-out and on a switch of instance, with
|
||||||
|
* the photos taken for the composer ([CAMERA]). No
|
||||||
* storage permission is involved: what the person keeps, they save through the system's own
|
* storage permission is involved: what the person keeps, they save through the system's own
|
||||||
* "Save to" page.
|
* "Save to" page.
|
||||||
*/
|
*/
|
||||||
@@ -45,6 +46,14 @@ object FileCache {
|
|||||||
private const val VIEWING = "viewing"
|
private const val VIEWING = "viewing"
|
||||||
private const val SHARED = "shared"
|
private const val SHARED = "shared"
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The folder a photo for the composer is taken into (`res/xml/file_paths.xml`). A photo is
|
||||||
|
* deleted once it is uploaded; one whose upload failed, or that was never attached, would
|
||||||
|
* otherwise stay for good -- so these go with the rest at sign-out and on a switch of
|
||||||
|
* instance, and by their age when the app starts.
|
||||||
|
*/
|
||||||
|
const val CAMERA = "camera"
|
||||||
|
|
||||||
/** How long a copy another app was handed is kept: an hour. */
|
/** How long a copy another app was handed is kept: an hour. */
|
||||||
const val SHARED_KEPT_MS = 60 * 60 * 1000L
|
const val SHARED_KEPT_MS = 60 * 60 * 1000L
|
||||||
|
|
||||||
@@ -59,13 +68,15 @@ object FileCache {
|
|||||||
|
|
||||||
/** Every copy, gone: at sign-out and on a switch of instance. */
|
/** Every copy, gone: at sign-out and on a switch of instance. */
|
||||||
fun clear(context: Context) {
|
fun clear(context: Context) {
|
||||||
for (name in listOf(VIEWING, SHARED)) runCatching { File(context.cacheDir, name).deleteRecursively() }
|
for (name in listOf(VIEWING, SHARED, CAMERA)) runCatching { File(context.cacheDir, name).deleteRecursively() }
|
||||||
}
|
}
|
||||||
|
|
||||||
/** When the process starts: no viewer is open, so their copies go; the shared ones by their age. */
|
/** When the process starts: no viewer is open, so their copies go; the shared ones by their age. */
|
||||||
fun atStart(context: Context) {
|
fun atStart(context: Context) {
|
||||||
runCatching { File(context.cacheDir, VIEWING).deleteRecursively() }
|
runCatching { File(context.cacheDir, VIEWING).deleteRecursively() }
|
||||||
sweepShared(context)
|
sweepShared(context)
|
||||||
|
// A photo being taken right now is younger than this; one left from a failed upload is not.
|
||||||
|
sweep(File(context.cacheDir, CAMERA), System.currentTimeMillis(), SHARED_KEPT_MS)
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The shared copies older than [olderThanMs], and no other. */
|
/** The shared copies older than [olderThanMs], and no other. */
|
||||||
|
|||||||
@@ -40,8 +40,10 @@ import androidx.lifecycle.viewmodel.compose.viewModel
|
|||||||
import eu.llembas.android.R
|
import eu.llembas.android.R
|
||||||
import eu.llembas.android.api.Chat
|
import eu.llembas.android.api.Chat
|
||||||
import eu.llembas.android.lembas
|
import eu.llembas.android.lembas
|
||||||
|
import eu.llembas.android.ui.appended
|
||||||
import eu.llembas.android.ui.explain
|
import eu.llembas.android.ui.explain
|
||||||
import eu.llembas.android.ui.theme.LocalPalette
|
import eu.llembas.android.ui.theme.LocalPalette
|
||||||
|
import kotlinx.coroutines.Job
|
||||||
import kotlinx.coroutines.flow.MutableStateFlow
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
import kotlinx.coroutines.flow.asStateFlow
|
import kotlinx.coroutines.flow.asStateFlow
|
||||||
import kotlinx.coroutines.flow.update
|
import kotlinx.coroutines.flow.update
|
||||||
@@ -67,13 +69,17 @@ class ArchivedViewModel(app: Application) : AndroidViewModel(app) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private var moreRead: Job? = null
|
||||||
|
|
||||||
|
/** The page after the last row: one read at a time, and no chat twice ([appended]). */
|
||||||
fun more() {
|
fun more() {
|
||||||
|
if (moreRead?.isActive == true) return
|
||||||
val last = _state.value.chats.lastOrNull() ?: return
|
val last = _state.value.chats.lastOrNull() ?: return
|
||||||
viewModelScope.launch {
|
moreRead = viewModelScope.launch {
|
||||||
try {
|
try {
|
||||||
val api = getApplication<Application>().lembas.instances.client() ?: return@launch
|
val api = getApplication<Application>().lembas.instances.client() ?: return@launch
|
||||||
val page = api.chats(archived = true, before = last.id)
|
val page = api.chats(archived = true, before = last.id)
|
||||||
_state.update { it.copy(chats = it.chats + page.chats, more = page.more) }
|
_state.update { it.copy(chats = appended(it.chats, page.chats) { chat -> chat.id }, more = page.more) }
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
_state.update { it.copy(error = getApplication<Application>().explain(e)) }
|
_state.update { it.copy(error = getApplication<Application>().explain(e)) }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -90,11 +90,11 @@ import eu.llembas.android.api.LembasJson
|
|||||||
import eu.llembas.android.api.ReplyFrame
|
import eu.llembas.android.api.ReplyFrame
|
||||||
import eu.llembas.android.api.ReportsFrame
|
import eu.llembas.android.api.ReportsFrame
|
||||||
import eu.llembas.android.api.SearchHit
|
import eu.llembas.android.api.SearchHit
|
||||||
import eu.llembas.android.api.fit
|
|
||||||
import eu.llembas.android.auth.Instance
|
import eu.llembas.android.auth.Instance
|
||||||
import eu.llembas.android.lembas
|
import eu.llembas.android.lembas
|
||||||
|
import eu.llembas.android.ui.appended
|
||||||
import eu.llembas.android.ui.explain
|
import eu.llembas.android.ui.explain
|
||||||
import eu.llembas.android.ui.signin.refusal
|
import eu.llembas.android.ui.signin.unfit
|
||||||
import eu.llembas.android.ui.theme.LocalPalette
|
import eu.llembas.android.ui.theme.LocalPalette
|
||||||
import kotlinx.coroutines.CancellationException
|
import kotlinx.coroutines.CancellationException
|
||||||
import kotlinx.coroutines.Job
|
import kotlinx.coroutines.Job
|
||||||
@@ -200,7 +200,7 @@ class ChatsViewModel(app: Application) : AndroidViewModel(app) {
|
|||||||
val state = _state.asStateFlow()
|
val state = _state.asStateFlow()
|
||||||
|
|
||||||
/** Why this instance is refused, once it was asked what it is; null while it fits. */
|
/** Why this instance is refused, once it was asked what it is; null while it fits. */
|
||||||
private var refused: Int? = null
|
private var refused: String? = null
|
||||||
private var checked = false
|
private var checked = false
|
||||||
|
|
||||||
/** Read the list; the rows already shown stay while it is read again. */
|
/** Read the list; the rows already shown stay while it is read again. */
|
||||||
@@ -214,11 +214,11 @@ class ChatsViewModel(app: Application) : AndroidViewModel(app) {
|
|||||||
if (!checked) {
|
if (!checked) {
|
||||||
runCatching { Doorstep().discover(api.base) }.onSuccess {
|
runCatching { Doorstep().discover(api.base) }.onSuccess {
|
||||||
checked = true
|
checked = true
|
||||||
refused = refusal(fit(it))
|
refused = getApplication<Application>().unfit(it)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
refused?.let { said ->
|
refused?.let { said ->
|
||||||
_state.value = ChatsState(error = getApplication<Application>().getString(said))
|
_state.value = ChatsState(error = said)
|
||||||
return@launch
|
return@launch
|
||||||
}
|
}
|
||||||
val told = reportsTold
|
val told = reportsTold
|
||||||
@@ -369,13 +369,17 @@ class ChatsViewModel(app: Application) : AndroidViewModel(app) {
|
|||||||
/** How many `reports` frames have come: a list read that began before the last one is older than it. */
|
/** How many `reports` frames have come: a list read that began before the last one is older than it. */
|
||||||
private var reportsTold = 0
|
private var reportsTold = 0
|
||||||
|
|
||||||
|
private var moreRead: Job? = null
|
||||||
|
|
||||||
|
/** The page after the last row. One read at a time, and no chat twice ([appended]): the list asks again whenever its end comes into view. */
|
||||||
fun more() {
|
fun more() {
|
||||||
|
if (moreRead?.isActive == true) return
|
||||||
val last = _state.value.chats.lastOrNull() ?: return
|
val last = _state.value.chats.lastOrNull() ?: return
|
||||||
viewModelScope.launch {
|
moreRead = viewModelScope.launch {
|
||||||
try {
|
try {
|
||||||
val api = getApplication<Application>().lembas.instances.client() ?: return@launch
|
val api = getApplication<Application>().lembas.instances.client() ?: return@launch
|
||||||
val page = api.chats(before = last.id)
|
val page = api.chats(before = last.id)
|
||||||
_state.update { it.copy(chats = it.chats + page.chats, more = page.more) }
|
_state.update { it.copy(chats = appended(it.chats, page.chats) { chat -> chat.id }, more = page.more) }
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
_state.update { it.copy(error = getApplication<Application>().explain(e)) }
|
_state.update { it.copy(error = getApplication<Application>().explain(e)) }
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -106,6 +106,7 @@ import eu.llembas.android.api.saidWithConnection
|
|||||||
import eu.llembas.android.api.titleAmong
|
import eu.llembas.android.api.titleAmong
|
||||||
import eu.llembas.android.lembas
|
import eu.llembas.android.lembas
|
||||||
import eu.llembas.android.ui.DirectoryPicker
|
import eu.llembas.android.ui.DirectoryPicker
|
||||||
|
import eu.llembas.android.ui.appended
|
||||||
import eu.llembas.android.ui.explain
|
import eu.llembas.android.ui.explain
|
||||||
import eu.llembas.android.ui.progressLineOf
|
import eu.llembas.android.ui.progressLineOf
|
||||||
import eu.llembas.android.ui.theme.LocalPalette
|
import eu.llembas.android.ui.theme.LocalPalette
|
||||||
@@ -424,12 +425,16 @@ class ScheduleViewModel(app: Application) : AndroidViewModel(app) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private var moreRead: Job? = null
|
||||||
|
|
||||||
|
/** The runs before the last row: one read at a time, and no run twice ([appended]). */
|
||||||
fun more() {
|
fun more() {
|
||||||
|
if (moreRead?.isActive == true) return
|
||||||
val schedule = _state.value.schedule ?: return
|
val schedule = _state.value.schedule ?: return
|
||||||
val last = _state.value.runs.lastOrNull() ?: return
|
val last = _state.value.runs.lastOrNull() ?: return
|
||||||
viewModelScope.launch {
|
moreRead = viewModelScope.launch {
|
||||||
runCatching { getApplication<Application>().api().scheduleRuns(schedule.id, last.id) }
|
runCatching { getApplication<Application>().api().scheduleRuns(schedule.id, last.id) }
|
||||||
.onSuccess { page -> _state.update { it.copy(runs = it.runs + page.runs, more = page.more) } }
|
.onSuccess { page -> _state.update { it.copy(runs = appended(it.runs, page.runs) { row -> row.id }, more = page.more) } }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@
|
|||||||
package eu.llembas.android.ui.signin
|
package eu.llembas.android.ui.signin
|
||||||
|
|
||||||
import android.app.Application
|
import android.app.Application
|
||||||
|
import android.content.Context
|
||||||
import android.net.Uri
|
import android.net.Uri
|
||||||
import android.os.Build
|
import android.os.Build
|
||||||
import androidx.browser.customtabs.CustomTabsIntent
|
import androidx.browser.customtabs.CustomTabsIntent
|
||||||
@@ -19,11 +20,13 @@ import androidx.compose.foundation.layout.widthIn
|
|||||||
import androidx.compose.foundation.rememberScrollState
|
import androidx.compose.foundation.rememberScrollState
|
||||||
import androidx.compose.foundation.text.KeyboardActions
|
import androidx.compose.foundation.text.KeyboardActions
|
||||||
import androidx.compose.foundation.text.KeyboardOptions
|
import androidx.compose.foundation.text.KeyboardOptions
|
||||||
|
import androidx.compose.foundation.verticalScroll
|
||||||
import androidx.compose.material3.Button
|
import androidx.compose.material3.Button
|
||||||
import androidx.compose.material3.CircularProgressIndicator
|
import androidx.compose.material3.CircularProgressIndicator
|
||||||
import androidx.compose.material3.MaterialTheme
|
import androidx.compose.material3.MaterialTheme
|
||||||
import androidx.compose.material3.OutlinedButton
|
import androidx.compose.material3.OutlinedButton
|
||||||
import androidx.compose.material3.OutlinedTextField
|
import androidx.compose.material3.OutlinedTextField
|
||||||
|
import androidx.compose.material3.Surface
|
||||||
import androidx.compose.material3.Text
|
import androidx.compose.material3.Text
|
||||||
import androidx.compose.material3.TextButton
|
import androidx.compose.material3.TextButton
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
@@ -46,18 +49,28 @@ import androidx.lifecycle.AndroidViewModel
|
|||||||
import androidx.lifecycle.compose.collectAsStateWithLifecycle
|
import androidx.lifecycle.compose.collectAsStateWithLifecycle
|
||||||
import androidx.lifecycle.viewModelScope
|
import androidx.lifecycle.viewModelScope
|
||||||
import androidx.lifecycle.viewmodel.compose.viewModel
|
import androidx.lifecycle.viewmodel.compose.viewModel
|
||||||
|
import eu.llembas.android.BuildConfig
|
||||||
import eu.llembas.android.R
|
import eu.llembas.android.R
|
||||||
|
import eu.llembas.android.api.Address
|
||||||
|
import eu.llembas.android.api.ApiException
|
||||||
|
import eu.llembas.android.api.Discovery
|
||||||
import eu.llembas.android.api.Doorstep
|
import eu.llembas.android.api.Doorstep
|
||||||
import eu.llembas.android.api.ServerFit
|
import eu.llembas.android.api.ServerFit
|
||||||
|
import eu.llembas.android.api.address
|
||||||
import eu.llembas.android.api.fit
|
import eu.llembas.android.api.fit
|
||||||
import eu.llembas.android.api.normaliseBase
|
import eu.llembas.android.api.minClient
|
||||||
|
import eu.llembas.android.api.olderThan
|
||||||
|
import eu.llembas.android.api.onOrigin
|
||||||
|
import eu.llembas.android.auth.Instance
|
||||||
import eu.llembas.android.lembas
|
import eu.llembas.android.lembas
|
||||||
import eu.llembas.android.ui.explain
|
import eu.llembas.android.ui.explain
|
||||||
|
import kotlinx.coroutines.CancellationException
|
||||||
import kotlinx.coroutines.Job
|
import kotlinx.coroutines.Job
|
||||||
import kotlinx.coroutines.delay
|
import kotlinx.coroutines.delay
|
||||||
import kotlinx.coroutines.flow.MutableStateFlow
|
import kotlinx.coroutines.flow.MutableStateFlow
|
||||||
import kotlinx.coroutines.flow.asStateFlow
|
import kotlinx.coroutines.flow.asStateFlow
|
||||||
import kotlinx.coroutines.launch
|
import kotlinx.coroutines.launch
|
||||||
|
import java.io.IOException
|
||||||
|
|
||||||
/** Where the sign-in is. The token arrives once, by device code, as `lembas login` gets it. */
|
/** Where the sign-in is. The token arrives once, by device code, as `lembas login` gets it. */
|
||||||
sealed interface SignInState {
|
sealed interface SignInState {
|
||||||
@@ -68,28 +81,84 @@ sealed interface SignInState {
|
|||||||
data object Done : SignInState
|
data object Done : SignInState
|
||||||
}
|
}
|
||||||
|
|
||||||
/** The sentence for a server this app will not work with, or null when it fits. */
|
/**
|
||||||
|
* The sentence for a server this app will not work with, or null when it fits. Each reason has
|
||||||
|
* its own, and each says which side is the old one: another service is not "an older LLeMbas".
|
||||||
|
*/
|
||||||
fun refusal(fit: ServerFit): Int? = when (fit) {
|
fun refusal(fit: ServerFit): Int? = when (fit) {
|
||||||
ServerFit.FITS -> null
|
ServerFit.FITS -> null
|
||||||
ServerFit.NOT_LEMBAS, ServerFit.TOO_OLD -> R.string.signin_too_old
|
ServerFit.NOT_LEMBAS -> R.string.signin_not_lembas
|
||||||
|
ServerFit.TOO_OLD -> R.string.signin_too_old
|
||||||
ServerFit.TOO_NEW -> R.string.signin_too_new
|
ServerFit.TOO_NEW -> R.string.signin_too_new
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Whether the instance [found] describes asks for a newer app than [version]: the version it
|
||||||
|
* needs, or null. Asked only of a LLeMbas instance -- what another service says is not a rule.
|
||||||
|
*/
|
||||||
|
fun newerAppNeeded(found: Discovery, version: String): String? = found.minClient()?.takeIf { found.service == "lembas" && olderThan(version, it) }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Why this app will not work with the instance [found] describes, in words, or null when it
|
||||||
|
* will. An instance that names an oldest version for this app, above [version], says so with
|
||||||
|
* both versions -- "update the app" -- before anything else is asked of it.
|
||||||
|
*/
|
||||||
|
fun Context.unfit(found: Discovery, version: String = BuildConfig.VERSION_NAME): String? {
|
||||||
|
newerAppNeeded(found, version)?.let { needed -> return getString(R.string.signin_app_too_old, needed, version) }
|
||||||
|
return refusal(fit(found))?.let { getString(it) }
|
||||||
|
}
|
||||||
|
|
||||||
|
/** The sentence for an address that cannot be used as it was typed, or null for one that can (or for none yet). */
|
||||||
|
fun refusal(read: Address): Int? = when (read) {
|
||||||
|
is Address.Base, Address.Empty -> null
|
||||||
|
Address.NeedsHttps -> R.string.address_needs_https
|
||||||
|
Address.NotHttp, Address.Unreadable -> R.string.address_unreadable
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The sentence a poll's `error` ends the sign-in with, or null while it goes on (still waiting,
|
||||||
|
* or asked to wait longer). Each end by its real reason: only an expired code is "expired".
|
||||||
|
*/
|
||||||
|
fun pollEnd(error: String?): Int? = when (error) {
|
||||||
|
"authorization_pending", "slow_down" -> null
|
||||||
|
"access_denied" -> R.string.signin_denied
|
||||||
|
"expired_token" -> R.string.signin_expired
|
||||||
|
else -> R.string.signin_failed
|
||||||
|
}
|
||||||
|
|
||||||
class SignInViewModel(app: Application) : AndroidViewModel(app) {
|
class SignInViewModel(app: Application) : AndroidViewModel(app) {
|
||||||
private val _state = MutableStateFlow<SignInState>(SignInState.Address)
|
private val _state = MutableStateFlow<SignInState>(SignInState.Address)
|
||||||
val state = _state.asStateFlow()
|
val state = _state.asStateFlow()
|
||||||
private var polling: Job? = null
|
private var polling: Job? = null
|
||||||
|
|
||||||
fun start(typed: String) {
|
fun start(typed: String) {
|
||||||
|
// The address is read before anything is asked: what is wrong with it is said at this step.
|
||||||
|
val read = address(typed)
|
||||||
|
val base = (read as? Address.Base)?.url
|
||||||
|
if (base == null) {
|
||||||
|
refusal(read)?.let { said ->
|
||||||
|
polling?.cancel()
|
||||||
|
_state.value = SignInState.Failed(getApplication<Application>().getString(said))
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
polling?.cancel()
|
polling?.cancel()
|
||||||
polling = viewModelScope.launch {
|
polling = viewModelScope.launch {
|
||||||
_state.value = SignInState.Finding
|
_state.value = SignInState.Finding
|
||||||
val doorstep = Doorstep()
|
val doorstep = Doorstep()
|
||||||
try {
|
try {
|
||||||
val base = normaliseBase(typed)
|
|
||||||
val found = doorstep.discover(base)
|
val found = doorstep.discover(base)
|
||||||
refusal(fit(found))?.let { said ->
|
getApplication<Application>().unfit(found)?.let { said ->
|
||||||
_state.value = SignInState.Failed(getApplication<Application>().getString(said))
|
_state.value = SignInState.Failed(said)
|
||||||
|
return@launch
|
||||||
|
}
|
||||||
|
// The sign-in goes to the address that was typed and to no other host: where the
|
||||||
|
// document names its doors elsewhere (a proxy that does not pass the address on),
|
||||||
|
// that is said, rather than a code asked of a host the person never named.
|
||||||
|
val doors = found.login.device
|
||||||
|
if (!onOrigin(base, doors.code) || !onOrigin(base, doors.token)) {
|
||||||
|
val named = doors.code.ifBlank { found.baseUrl }
|
||||||
|
_state.value = SignInState.Failed(getApplication<Application>().getString(R.string.signin_other_origin, named))
|
||||||
return@launch
|
return@launch
|
||||||
}
|
}
|
||||||
val device = getApplication<Application>().getString(R.string.device_name)
|
val device = getApplication<Application>().getString(R.string.device_name)
|
||||||
@@ -97,14 +166,34 @@ class SignInViewModel(app: Application) : AndroidViewModel(app) {
|
|||||||
_state.value = SignInState.Code(code.userCode, code.verificationUriComplete.ifEmpty { code.verificationUri })
|
_state.value = SignInState.Code(code.userCode, code.verificationUriComplete.ifEmpty { code.verificationUri })
|
||||||
var interval = code.interval.coerceAtLeast(2) * 1000L
|
var interval = code.interval.coerceAtLeast(2) * 1000L
|
||||||
val until = System.currentTimeMillis() + code.expiresIn * 1000L
|
val until = System.currentTimeMillis() + code.expiresIn * 1000L
|
||||||
|
// What last went wrong with a poll, if the code runs out with nothing better to say.
|
||||||
|
var trouble: Exception? = null
|
||||||
while (System.currentTimeMillis() < until) {
|
while (System.currentTimeMillis() < until) {
|
||||||
delay(interval)
|
delay(interval)
|
||||||
val answer = doorstep.deviceToken(found.login.device.token, code.deviceCode)
|
val answer = try {
|
||||||
|
doorstep.deviceToken(found.login.device.token, code.deviceCode).also { trouble = null }
|
||||||
|
} catch (e: ApiException) {
|
||||||
|
// "Too many requests" is asked again, later; a server in trouble (5xx) may
|
||||||
|
// be back before the code runs out. Any other answer ends the sign-in.
|
||||||
|
if (e.status == 429) {
|
||||||
|
interval = maxOf(interval + 5000L, (e.retryAfter ?: 0L) * 1000L)
|
||||||
|
} else if (e.status < 500) {
|
||||||
|
throw e
|
||||||
|
}
|
||||||
|
trouble = e
|
||||||
|
continue
|
||||||
|
} catch (e: IOException) {
|
||||||
|
// The phone was away for a moment (the browser came to the front, the
|
||||||
|
// network changed): the approval may still come, so the next poll asks.
|
||||||
|
trouble = e
|
||||||
|
continue
|
||||||
|
}
|
||||||
when {
|
when {
|
||||||
answer.accessToken != null -> {
|
answer.accessToken != null -> {
|
||||||
val account = answer.account
|
val account = answer.account
|
||||||
getApplication<Application>().lembas.instances.add(
|
getApplication<Application>().lembas.instances.add(
|
||||||
base = found.baseUrl.ifEmpty { base }.trimEnd('/'),
|
base = base,
|
||||||
|
said = found.baseUrl,
|
||||||
name = found.name,
|
name = found.name,
|
||||||
email = account?.email.orEmpty(),
|
email = account?.email.orEmpty(),
|
||||||
token = answer.accessToken,
|
token = answer.accessToken,
|
||||||
@@ -115,20 +204,19 @@ class SignInViewModel(app: Application) : AndroidViewModel(app) {
|
|||||||
|
|
||||||
answer.error == "slow_down" -> interval += 5000L
|
answer.error == "slow_down" -> interval += 5000L
|
||||||
|
|
||||||
answer.error == "authorization_pending" -> Unit
|
else -> pollEnd(answer.error)?.let { said ->
|
||||||
|
_state.value = SignInState.Failed(getApplication<Application>().getString(said, answer.error.orEmpty()))
|
||||||
answer.error == "access_denied" -> {
|
|
||||||
_state.value = SignInState.Failed(getApplication<Application>().getString(R.string.signin_denied))
|
|
||||||
return@launch
|
|
||||||
}
|
|
||||||
|
|
||||||
else -> {
|
|
||||||
_state.value = SignInState.Failed(getApplication<Application>().getString(R.string.signin_expired))
|
|
||||||
return@launch
|
return@launch
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
_state.value = SignInState.Failed(getApplication<Application>().getString(R.string.signin_expired))
|
val last = trouble
|
||||||
|
_state.value = SignInState.Failed(
|
||||||
|
if (last != null) getApplication<Application>().explain(last) else getApplication<Application>().getString(R.string.signin_expired),
|
||||||
|
)
|
||||||
|
} catch (e: CancellationException) {
|
||||||
|
// Given up (Cancel, or a new start): not a failure, and nothing to say.
|
||||||
|
throw e
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
_state.value = SignInState.Failed(getApplication<Application>().explain(e))
|
_state.value = SignInState.Failed(getApplication<Application>().explain(e))
|
||||||
}
|
}
|
||||||
@@ -139,18 +227,25 @@ class SignInViewModel(app: Application) : AndroidViewModel(app) {
|
|||||||
polling?.cancel()
|
polling?.cancel()
|
||||||
_state.value = SignInState.Address
|
_state.value = SignInState.Address
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** A sign-in that was finished the last time this page was up starts from the address again. */
|
||||||
|
fun fresh() {
|
||||||
|
if (_state.value == SignInState.Done) _state.value = SignInState.Address
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
fun SignInScreen(onDone: () -> Unit = {}, onCancel: (() -> Unit)? = null, model: SignInViewModel = viewModel()) {
|
fun SignInScreen(onDone: () -> Unit = {}, onCancel: (() -> Unit)? = null, model: SignInViewModel = viewModel()) {
|
||||||
val state by model.state.collectAsStateWithLifecycle()
|
val state by model.state.collectAsStateWithLifecycle()
|
||||||
LaunchedEffect(state) { if (state == SignInState.Done) onDone() }
|
LaunchedEffect(state) { if (state == SignInState.Done) onDone() }
|
||||||
|
LaunchedEffect(Unit) { model.fresh() }
|
||||||
var address by rememberSaveable { mutableStateOf("") }
|
var address by rememberSaveable { mutableStateOf("") }
|
||||||
val context = LocalContext.current
|
val context = LocalContext.current
|
||||||
val knownBases by context.lembas.instances.instances.collectAsState(initial = emptyList())
|
val knownBases by context.lembas.instances.instances.collectAsState(initial = emptyList())
|
||||||
val distinctBases = knownBases.map { it.base }.distinct()
|
val distinctBases = knownBases.map { it.base }.distinct()
|
||||||
Column(
|
Column(
|
||||||
modifier = Modifier.fillMaxSize().safeDrawingPadding().imePadding().padding(24.dp),
|
// It scrolls: a long sentence about a certificate, large type and the keyboard up must not push Continue out of reach.
|
||||||
|
modifier = Modifier.fillMaxSize().safeDrawingPadding().imePadding().verticalScroll(rememberScrollState()).padding(24.dp),
|
||||||
verticalArrangement = Arrangement.spacedBy(16.dp, Alignment.CenterVertically),
|
verticalArrangement = Arrangement.spacedBy(16.dp, Alignment.CenterVertically),
|
||||||
horizontalAlignment = Alignment.CenterHorizontally,
|
horizontalAlignment = Alignment.CenterHorizontally,
|
||||||
) {
|
) {
|
||||||
@@ -200,14 +295,71 @@ fun SignInScreen(onDone: () -> Unit = {}, onCancel: (() -> Unit)? = null, model:
|
|||||||
|
|
||||||
SignInState.Finding, SignInState.Done -> CircularProgressIndicator()
|
SignInState.Finding, SignInState.Done -> CircularProgressIndicator()
|
||||||
|
|
||||||
is SignInState.Code -> {
|
is SignInState.Code -> CodeStep(s, onCancel = { model.reset() })
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/** The code to approve in the browser, and the way there. Laid out by the column it is put in. */
|
||||||
|
@Composable
|
||||||
|
private fun CodeStep(code: SignInState.Code, onCancel: () -> Unit) {
|
||||||
|
val context = LocalContext.current
|
||||||
Text(stringResource(R.string.signin_code_intro), modifier = Modifier.widthIn(max = 420.dp))
|
Text(stringResource(R.string.signin_code_intro), modifier = Modifier.widthIn(max = 420.dp))
|
||||||
Text(s.userCode, fontFamily = FontFamily.Monospace, fontSize = 32.sp, style = MaterialTheme.typography.headlineLarge)
|
Text(code.userCode, fontFamily = FontFamily.Monospace, fontSize = 32.sp, style = MaterialTheme.typography.headlineLarge)
|
||||||
Button(onClick = { CustomTabsIntent.Builder().build().launchUrl(context, Uri.parse(s.verify)) }) {
|
Button(onClick = { CustomTabsIntent.Builder().build().launchUrl(context, Uri.parse(code.verify)) }) {
|
||||||
Text(stringResource(R.string.signin_open_browser))
|
Text(stringResource(R.string.signin_open_browser))
|
||||||
}
|
}
|
||||||
CircularProgressIndicator()
|
CircularProgressIndicator()
|
||||||
OutlinedButton(onClick = { model.reset() }) { Text(stringResource(R.string.cancel)) }
|
OutlinedButton(onClick = onCancel) { Text(stringResource(R.string.cancel)) }
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The instance signed this phone out (it refused the token: revoked there, or expired). Shown
|
||||||
|
* over the instance's pages, which stay as they were underneath -- what was being written is
|
||||||
|
* still there after the sign-in. One step back in: the address is known, so "Sign in again"
|
||||||
|
* goes straight to the code. The other instances stay a tap away, and this one can be removed.
|
||||||
|
*/
|
||||||
|
@Composable
|
||||||
|
fun SignedOutScreen(
|
||||||
|
instance: Instance,
|
||||||
|
others: List<Instance>,
|
||||||
|
onUse: (Instance) -> Unit,
|
||||||
|
onRemove: () -> Unit,
|
||||||
|
model: SignInViewModel = viewModel(key = "signed-out:" + instance.id),
|
||||||
|
) {
|
||||||
|
val state by model.state.collectAsStateWithLifecycle()
|
||||||
|
LaunchedEffect(Unit) { model.fresh() }
|
||||||
|
Surface(modifier = Modifier.fillMaxSize()) {
|
||||||
|
Column(
|
||||||
|
// It scrolls: several other instances, large type or a small screen must not push a button out of reach.
|
||||||
|
modifier = Modifier.fillMaxSize().safeDrawingPadding().verticalScroll(rememberScrollState()).padding(24.dp),
|
||||||
|
verticalArrangement = Arrangement.spacedBy(16.dp, Alignment.CenterVertically),
|
||||||
|
horizontalAlignment = Alignment.CenterHorizontally,
|
||||||
|
) {
|
||||||
|
Text(stringResource(R.string.app_name), style = MaterialTheme.typography.headlineMedium)
|
||||||
|
Text(
|
||||||
|
stringResource(R.string.signed_out, instance.name.ifBlank { instance.base }),
|
||||||
|
style = MaterialTheme.typography.bodyMedium,
|
||||||
|
color = MaterialTheme.colorScheme.onSurfaceVariant,
|
||||||
|
modifier = Modifier.widthIn(max = 420.dp),
|
||||||
|
)
|
||||||
|
when (val s = state) {
|
||||||
|
SignInState.Address, is SignInState.Failed -> {
|
||||||
|
if (s is SignInState.Failed) {
|
||||||
|
Text(s.message, color = MaterialTheme.colorScheme.error, modifier = Modifier.widthIn(max = 420.dp))
|
||||||
|
}
|
||||||
|
Button(onClick = { model.start(instance.base) }) { Text(stringResource(R.string.signed_out_again)) }
|
||||||
|
others.forEach { other ->
|
||||||
|
OutlinedButton(onClick = { onUse(other) }) {
|
||||||
|
Text(stringResource(R.string.signed_out_use, other.name.ifBlank { other.base }))
|
||||||
|
}
|
||||||
|
}
|
||||||
|
TextButton(onClick = onRemove) { Text(stringResource(R.string.signed_out_remove)) }
|
||||||
|
}
|
||||||
|
|
||||||
|
SignInState.Finding, SignInState.Done -> CircularProgressIndicator()
|
||||||
|
|
||||||
|
is SignInState.Code -> CodeStep(s, onCancel = { model.reset() })
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ import eu.llembas.android.api.AppRelease
|
|||||||
import eu.llembas.android.api.LembasJson
|
import eu.llembas.android.api.LembasJson
|
||||||
import eu.llembas.android.api.SharedHttp
|
import eu.llembas.android.api.SharedHttp
|
||||||
import eu.llembas.android.api.await
|
import eu.llembas.android.api.await
|
||||||
|
import eu.llembas.android.api.olderThan
|
||||||
import eu.llembas.android.lembas
|
import eu.llembas.android.lembas
|
||||||
import eu.llembas.android.notify.NotificationAccess
|
import eu.llembas.android.notify.NotificationAccess
|
||||||
import kotlinx.coroutines.Dispatchers
|
import kotlinx.coroutines.Dispatchers
|
||||||
@@ -98,8 +99,9 @@ class Updater(private val context: Context) {
|
|||||||
}
|
}
|
||||||
install(apk)
|
install(apk)
|
||||||
context.getString(R.string.update_installing, latest.version)
|
context.getString(R.string.update_installing, latest.version)
|
||||||
} catch (e: Exception) {
|
} catch (_: Exception) {
|
||||||
e.message ?: context.getString(R.string.update_unreachable)
|
// Never a library's own words on the screen: the manifest or the file did not come.
|
||||||
|
context.getString(R.string.update_unreachable)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -146,17 +148,12 @@ class Updater(private val context: Context) {
|
|||||||
companion object {
|
companion object {
|
||||||
const val MANIFEST = "https://llembas.eu/android/latest.json"
|
const val MANIFEST = "https://llembas.eu/android/latest.json"
|
||||||
|
|
||||||
/** Whether `a` is a later x.y.z than `b`. */
|
/**
|
||||||
fun newer(a: String, b: String): Boolean {
|
* Whether the version `a` is later than `b`, by the one rule the app compares versions
|
||||||
val left = a.split(".").map { it.toIntOrNull() ?: 0 }
|
* with ([olderThan]): a release is later than every beta of itself, so a beta is offered
|
||||||
val right = b.split(".").map { it.toIntOrNull() ?: 0 }
|
* the release it was a test of. A version that cannot be read is never later.
|
||||||
for (i in 0 until maxOf(left.size, right.size)) {
|
*/
|
||||||
val l = left.getOrElse(i) { 0 }
|
fun newer(a: String, b: String): Boolean = olderThan(b, a)
|
||||||
val r = right.getOrElse(i) { 0 }
|
|
||||||
if (l != r) return l > r
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<string name="device_name">LLeMbas pro Android</string>
|
<string name="device_name">LLeMbas pro Android</string>
|
||||||
<string name="share_label">Zeptat se LLeMbas</string>
|
<string name="share_label">Zeptat se LLeMbas</string>
|
||||||
<string name="tile_ask">Zeptat se LLeMbas</string>
|
<string name="tile_ask">Zeptat se LLeMbas</string>
|
||||||
<string name="signin_intro">Přihlaste se k instanci LLeMbas. Tento telefon schválíte v prohlížeči, stejně jako u CLI.</string>
|
<string name="signin_intro">Přihlaste se k instanci LLeMbas. Tento telefon schválíte v prohlížeči.</string>
|
||||||
<string name="signin_address">Adresa instance</string>
|
<string name="signin_address">Adresa instance</string>
|
||||||
<string name="signin_continue">Pokračovat</string>
|
<string name="signin_continue">Pokračovat</string>
|
||||||
<string name="signin_code_intro">Otevřete instanci v prohlížeči, přihlaste se a schvalte tento kód:</string>
|
<string name="signin_code_intro">Otevřete instanci v prohlížeči, přihlaste se a schvalte tento kód:</string>
|
||||||
@@ -12,14 +12,27 @@
|
|||||||
<string name="signin_denied">Přihlášení bylo odmítnuto.</string>
|
<string name="signin_denied">Přihlášení bylo odmítnuto.</string>
|
||||||
<string name="signin_expired">Kód vypršel, než byl schválen. Zkuste to znovu.</string>
|
<string name="signin_expired">Kód vypršel, než byl schválen. Zkuste to znovu.</string>
|
||||||
<string name="signin_too_old">Tato instance používá starší LLeMbas. Tato aplikace potřebuje LLeMbas 2.0 nebo novější.</string>
|
<string name="signin_too_old">Tato instance používá starší LLeMbas. Tato aplikace potřebuje LLeMbas 2.0 nebo novější.</string>
|
||||||
<string name="signin_too_new">Tato instance používá novější rozhraní API pro aplikace než tato aplikace. Aktualizujte aplikaci.</string>
|
<string name="signin_too_new">Tato instance je novější, než s jakou tato aplikace umí pracovat. Aktualizujte aplikaci.</string>
|
||||||
|
<string name="signin_not_lembas">Na této adrese není žádná instance LLeMbas.</string>
|
||||||
|
<string name="signin_failed">Přihlášení se nepodařilo dokončit (%1$s). Zkuste to znovu.</string>
|
||||||
|
<string name="signin_app_too_old">Tato instance potřebuje LLeMbas pro Android %1$s nebo novější, a toto je %2$s. Aktualizujte aplikaci.</string>
|
||||||
|
<string name="signin_other_origin">Tato instance uvádí pro přihlášení jinou adresu (%1$s), než jakou jste zadali. Její proxy musí předávat adresu, na které je dostupná.</string>
|
||||||
|
<string name="address_needs_https">Tato aplikace potřebuje adresu https://: prosté http není podporováno.</string>
|
||||||
|
<string name="address_unreadable">Tuto adresu aplikace nedokáže použít. Zadejte adresu instance, například llm.example.org.</string>
|
||||||
|
<string name="server_answered">Server odpověděl %1$s.</string>
|
||||||
|
<string name="timed_out">Instance neodpověděla včas.</string>
|
||||||
|
<string name="not_trusted">Tento telefon nedůvěřuje certifikátu instance: nainstalujte certifikát její certifikační autority mezi uživatelské certifikáty Androidu (Nastavení, Zabezpečení, Šifrování a pověření, Instalovat certifikát).</string>
|
||||||
|
<string name="signed_out">%1$s tento telefon odhlásila. Přihlaste se znovu a pokračujte: vaše konverzace i zdejší nastavení zůstávají.</string>
|
||||||
|
<string name="signed_out_again">Přihlásit se znovu</string>
|
||||||
|
<string name="signed_out_use">Použít %1$s</string>
|
||||||
|
<string name="signed_out_remove">Odebrat tuto instanci</string>
|
||||||
<string name="new_chat">Nová konverzace</string>
|
<string name="new_chat">Nová konverzace</string>
|
||||||
<string name="empty_chats">Zatím žádné konverzace. Ne všichni, kdo bloudí, jsou ztraceni — založte jednu.</string>
|
<string name="empty_chats">Zatím žádné konverzace. Ne všichni, kdo bloudí, jsou ztraceni — založte jednu.</string>
|
||||||
<string name="new_agent_chat">Nová konverzace s agentem</string>
|
<string name="new_agent_chat">Nová konverzace s agentem</string>
|
||||||
<string name="agent_device">Zařízení</string>
|
<string name="agent_device">Počítač</string>
|
||||||
<string name="agent_no_device">Právě není propojené žádné zařízení. Spusťte `lembas service` na počítači přihlášeném k této instanci a vraťte se.</string>
|
<string name="agent_no_device">Právě není propojený žádný počítač. Spusťte službu LLeMbas CLI (lembas service) na počítači přihlášeném k této instanci a vraťte se.</string>
|
||||||
<string name="agent_directory">Složka na zařízení</string>
|
<string name="agent_directory">Složka na počítači</string>
|
||||||
<string name="agent_directory_hint">Prázdné: první složka zařízení</string>
|
<string name="agent_directory_hint">Prázdné: první složka počítače</string>
|
||||||
<string name="empty_chat">O čem si promluvíme?</string>
|
<string name="empty_chat">O čem si promluvíme?</string>
|
||||||
<string name="loading_line">Pečou se lembasy…</string>
|
<string name="loading_line">Pečou se lembasy…</string>
|
||||||
<string name="archive">Archivovat</string>
|
<string name="archive">Archivovat</string>
|
||||||
@@ -76,8 +89,8 @@
|
|||||||
<string name="retry">Zkusit znovu</string>
|
<string name="retry">Zkusit znovu</string>
|
||||||
<string name="offline">Instance není dostupná. Zkontrolujte připojení telefonu a to, zda se dostane na adresu instance.</string>
|
<string name="offline">Instance není dostupná. Zkontrolujte připojení telefonu a to, zda se dostane na adresu instance.</string>
|
||||||
<string name="dictate">Diktovat</string>
|
<string name="dictate">Diktovat</string>
|
||||||
<string name="transcribed_by_fallback">Přepsal %1$s: vlastní model řeči tohoto chatu neodpověděl.</string>
|
<string name="transcribed_by_fallback">Přepsal %1$s: vlastní model řeči této konverzace neodpověděl.</string>
|
||||||
<string name="read_by_fallback">Přečetl %1$s: vlastní model řeči tohoto chatu neodpověděl.</string>
|
<string name="read_by_fallback">Přečetl %1$s: vlastní model řeči této konverzace neodpověděl.</string>
|
||||||
<string name="remove">Odebrat</string>
|
<string name="remove">Odebrat</string>
|
||||||
<string name="more">Více</string>
|
<string name="more">Více</string>
|
||||||
<string name="back">Zpět</string>
|
<string name="back">Zpět</string>
|
||||||
@@ -143,19 +156,19 @@
|
|||||||
<string name="team_min">Min</string>
|
<string name="team_min">Min</string>
|
||||||
<string name="team_max">Max</string>
|
<string name="team_max">Max</string>
|
||||||
<string name="team_range">Min %1$s · Max %2$s</string>
|
<string name="team_range">Min %1$s · Max %2$s</string>
|
||||||
<string name="team_hint">Čísla počítají i vlastního agenta tohoto chatu: 1 je agent sám, bez podagentů, a Max 4 je agent a až 3 podagenti, které vede.</string>
|
<string name="team_hint">Čísla počítají i vlastního agenta této konverzace: 1 je agent sám, bez podagentů, a Max 4 je agent a až 3 podagenti, které vede.</string>
|
||||||
<string name="team_chip">Podagenti: Min %1$s · Max %2$s</string>
|
<string name="team_chip">Podagenti: Min %1$s · Max %2$s</string>
|
||||||
<string name="subagents_named_only">Tento model obslouží jen jeden požadavek najednou: podagenti potřebují jiný model, na jiném serveru, pojmenovaný v chatu.</string>
|
<string name="subagents_named_only">Tento model obslouží jen jeden požadavek najednou: podagenti potřebují jiný model, na jiném serveru, pojmenovaný v konverzaci.</string>
|
||||||
<string name="thinking_switch">Přemýšlet před odpovědí</string>
|
<string name="thinking_switch">Přemýšlet před odpovědí</string>
|
||||||
<string name="level_off">vypnuto</string>
|
<string name="level_off">vypnuto</string>
|
||||||
<string name="level_default">výchozí</string>
|
<string name="level_default">výchozí</string>
|
||||||
<string name="chats_open">Otevřít chaty</string>
|
<string name="chats_open">Otevřít konverzace</string>
|
||||||
<string name="chats_search">Hledat v chatech</string>
|
<string name="chats_search">Hledat v konverzacích</string>
|
||||||
<string name="chats_today">Dnes</string>
|
<string name="chats_today">Dnes</string>
|
||||||
<string name="chats_earlier">Dříve</string>
|
<string name="chats_earlier">Dříve</string>
|
||||||
<string name="chats_agents">Chaty s agentem</string>
|
<string name="chats_agents">Agentní konverzace</string>
|
||||||
<string name="chats_found_in_messages">Ve zprávách</string>
|
<string name="chats_found_in_messages">Ve zprávách</string>
|
||||||
<string name="chats_none_found">Žádný chat to nemá v názvu.</string>
|
<string name="chats_none_found">Žádná konverzace to nemá v názvu.</string>
|
||||||
<string name="clear">Vymazat</string>
|
<string name="clear">Vymazat</string>
|
||||||
<string name="composer_hint_agent">Řekněte agentovi, co má udělat</string>
|
<string name="composer_hint_agent">Řekněte agentovi, co má udělat</string>
|
||||||
<string name="tune">Možnosti</string>
|
<string name="tune">Možnosti</string>
|
||||||
@@ -198,7 +211,7 @@
|
|||||||
<string name="suggest_check">Zkontroluj</string>
|
<string name="suggest_check">Zkontroluj</string>
|
||||||
<string name="suggest_check_line">text, chyby a tón</string>
|
<string name="suggest_check_line">text, chyby a tón</string>
|
||||||
<string name="instance_in_use">Používá se</string>
|
<string name="instance_in_use">Používá se</string>
|
||||||
<string name="notification_settings">Nastavení oznámení</string>
|
<string name="notification_settings">Nastavení upozornění</string>
|
||||||
<string name="notification_settings_hint">Které druhy přicházejí a jak: odpovědi, otázky, výsledky a selhání naplánovaných úloh.</string>
|
<string name="notification_settings_hint">Které druhy přicházejí a jak: odpovědi, otázky, výsledky a selhání naplánovaných úloh.</string>
|
||||||
<string name="scheduled">Naplánováno</string>
|
<string name="scheduled">Naplánováno</string>
|
||||||
<string name="scheduled_empty">Nic není naplánováno. Požádejte o něco, co se má stát každé ráno, nebo jednou příští týden.</string>
|
<string name="scheduled_empty">Nic není naplánováno. Požádejte o něco, co se má stát každé ráno, nebo jednou příští týden.</string>
|
||||||
@@ -215,7 +228,7 @@
|
|||||||
<string name="schedule_history">Historie</string>
|
<string name="schedule_history">Historie</string>
|
||||||
<string name="schedule_no_runs">Zatím neběžel.</string>
|
<string name="schedule_no_runs">Zatím neběžel.</string>
|
||||||
<string name="schedule_model">Model: %1$s</string>
|
<string name="schedule_model">Model: %1$s</string>
|
||||||
<string name="schedule_delete_confirm">Smazat tento plán? Jeho dřívější výsledky zůstanou ve svých chatech.</string>
|
<string name="schedule_delete_confirm">Smazat tento plán? Jeho dřívější výsledky zůstanou ve svých konverzacích.</string>
|
||||||
<string name="schedule_words_hint">Řekněte vlastními slovy kdy a co. Než se cokoli uloží, uvidíte, jak to bylo pochopeno.</string>
|
<string name="schedule_words_hint">Řekněte vlastními slovy kdy a co. Než se cokoli uloží, uvidíte, jak to bylo pochopeno.</string>
|
||||||
<string name="schedule_words_example">Každý pracovní den v 7:30 shrň zprávy o obnovitelné energii</string>
|
<string name="schedule_words_example">Každý pracovní den v 7:30 shrň zprávy o obnovitelné energii</string>
|
||||||
<string name="schedule_preview">Náhled</string>
|
<string name="schedule_preview">Náhled</string>
|
||||||
@@ -241,8 +254,8 @@
|
|||||||
<string name="run_result">Výsledek</string>
|
<string name="run_result">Výsledek</string>
|
||||||
<string name="run_no_text">Tento běh nezanechal žádný text.</string>
|
<string name="run_no_text">Tento běh nezanechal žádný text.</string>
|
||||||
<string name="run_open_chat">Otevřít jeho konverzaci</string>
|
<string name="run_open_chat">Otevřít jeho konverzaci</string>
|
||||||
<string name="mode_fresh">Pokaždé nový chat</string>
|
<string name="mode_fresh">Pokaždé nová konverzace</string>
|
||||||
<string name="mode_continue">Jeden chat, který roste</string>
|
<string name="mode_continue">Jedna konverzace, která roste</string>
|
||||||
<string name="schedule_models">Modely pro naplánované úlohy</string>
|
<string name="schedule_models">Modely pro naplánované úlohy</string>
|
||||||
<string name="schedule_models_hint">Naplánované úlohy vezmou první z nich, který je volný, v tomto pořadí. Zrušte zaškrtnutí, chcete-li některý vynechat.</string>
|
<string name="schedule_models_hint">Naplánované úlohy vezmou první z nich, který je volný, v tomto pořadí. Zrušte zaškrtnutí, chcete-li některý vynechat.</string>
|
||||||
<string name="model_free">Teď volný</string>
|
<string name="model_free">Teď volný</string>
|
||||||
@@ -347,7 +360,7 @@
|
|||||||
<string name="viewer_copy">Kopírovat</string>
|
<string name="viewer_copy">Kopírovat</string>
|
||||||
<string name="viewer_html_source">Toto je zdrojový kód stránky. Samotnou stránku uvidíte po otevření v prohlížeči.</string>
|
<string name="viewer_html_source">Toto je zdrojový kód stránky. Samotnou stránku uvidíte po otevření v prohlížeči.</string>
|
||||||
<string name="viewer_long_markdown">Dlouhý soubor, proto je zobrazen jako prostý text.</string>
|
<string name="viewer_long_markdown">Dlouhý soubor, proto je zobrazen jako prostý text.</string>
|
||||||
<string name="viewer_unavailable">Tento server zatím aplikaci soubor předat neumí. Otevřete ho v prohlížeči.</string>
|
<string name="viewer_unavailable">Tato instance zatím aplikaci soubor předat neumí. Otevřete ho v prohlížeči.</string>
|
||||||
<string name="viewer_too_large">Tento soubor je příliš velký na zobrazení; zobrazit lze nejvýše 1 MB.</string>
|
<string name="viewer_too_large">Tento soubor je příliš velký na zobrazení; zobrazit lze nejvýše 1 MB.</string>
|
||||||
<string name="viewer_not_text">Toto není textový soubor, proto se zde nezobrazuje.</string>
|
<string name="viewer_not_text">Toto není textový soubor, proto se zde nezobrazuje.</string>
|
||||||
<string name="files">Soubory</string>
|
<string name="files">Soubory</string>
|
||||||
@@ -435,7 +448,7 @@
|
|||||||
<string name="job_cancelled">Zrušeno</string>
|
<string name="job_cancelled">Zrušeno</string>
|
||||||
<string name="job_expired">Vypršelo</string>
|
<string name="job_expired">Vypršelo</string>
|
||||||
<string name="mcp_title">Servery MCP</string>
|
<string name="mcp_title">Servery MCP</string>
|
||||||
<string name="mcp_intro">Servery, jejichž nástroje mohou být nabídnuty ve vašich chatech. Některé se používají s vaším vlastním účtem u nich: jejich nástroje jsou nabízeny, dokud jste přihlášeni.</string>
|
<string name="mcp_intro">Servery, jejichž nástroje mohou být nabídnuty ve vašich konverzacích. Některé se používají s vaším vlastním účtem u nich: jejich nástroje jsou nabízeny, dokud jste přihlášeni.</string>
|
||||||
<string name="mcp_none">Na této instanci vám nejsou nabízeny žádné servery MCP.</string>
|
<string name="mcp_none">Na této instanci vám nejsou nabízeny žádné servery MCP.</string>
|
||||||
<string name="mcp_ready">Připraveno</string>
|
<string name="mcp_ready">Připraveno</string>
|
||||||
<string name="mcp_signed_in">Přihlášeno</string>
|
<string name="mcp_signed_in">Přihlášeno</string>
|
||||||
@@ -464,6 +477,8 @@
|
|||||||
<string name="sign_out">Odhlásit se</string>
|
<string name="sign_out">Odhlásit se</string>
|
||||||
<string name="add_instance">Přidat instanci</string>
|
<string name="add_instance">Přidat instanci</string>
|
||||||
<string name="instance_default">Výchozí</string>
|
<string name="instance_default">Výchozí</string>
|
||||||
|
<string name="instance_set_default">Nastavit jako výchozí</string>
|
||||||
|
<string name="instance_switch">Přepnout instanci</string>
|
||||||
<string name="settings_theme">Vzhled</string>
|
<string name="settings_theme">Vzhled</string>
|
||||||
<string name="theme_system">Podle systému</string>
|
<string name="theme_system">Podle systému</string>
|
||||||
<string name="theme_moria">Moria (temná)</string>
|
<string name="theme_moria">Moria (temná)</string>
|
||||||
@@ -504,7 +519,7 @@
|
|||||||
<string name="update_available">Je k dispozici %1$s. Klepnutím otevřete stránku vydání.</string>
|
<string name="update_available">Je k dispozici %1$s. Klepnutím otevřete stránku vydání.</string>
|
||||||
<string name="update_install">Nainstalovat %1$s</string>
|
<string name="update_install">Nainstalovat %1$s</string>
|
||||||
<string name="update_auto">Hledat nové verze</string>
|
<string name="update_auto">Hledat nové verze</string>
|
||||||
<string name="update_auto_line">Nejvýš jednou denně, při spuštění, se aplikace zeptá vaší instance, které vydání k ní patří (u starší instance si přečte seznam vydání na GitHubu), a upozorněním vám dá vědět, když je k dispozici novější. Nic o vás se nikam jinam neposílá. Ve verzi beta zapnuto, jinak vypnuto.</string>
|
<string name="update_auto_line">Nejvýš jednou denně, při spuštění, se aplikace zeptá vaší instance, které vydání k ní patří — nebo si přečte seznam vydání na GitHubu, když to instance říct neumí — a upozorněním vám dá vědět, když je k dispozici novější. S žádným z těch dotazů se o vás nic neposílá. Ve verzi beta zapnuto, jinak vypnuto.</string>
|
||||||
<string name="update_betas">Včetně beta verzí</string>
|
<string name="update_betas">Včetně beta verzí</string>
|
||||||
<string name="update_betas_line">Nabízet i testovací verze, nejen vydání. Zapnuto, když je tato aplikace sama beta.</string>
|
<string name="update_betas_line">Nabízet i testovací verze, nejen vydání. Zapnuto, když je tato aplikace sama beta.</string>
|
||||||
<string name="channel_updates">Aktualizace aplikace</string>
|
<string name="channel_updates">Aktualizace aplikace</string>
|
||||||
@@ -551,7 +566,7 @@
|
|||||||
<string name="experimental">Experimentální</string>
|
<string name="experimental">Experimentální</string>
|
||||||
<string name="wake_experimental_line">Novinka, zatím vyzkoušená jen na několika telefonech. Může frázi přeslechnout, spustit se omylem, nebo vás uslyšet a asistenta přesto neotevřít.</string>
|
<string name="wake_experimental_line">Novinka, zatím vyzkoušená jen na několika telefonech. Může frázi přeslechnout, spustit se omylem, nebo vás uslyšet a asistenta přesto neotevřít.</string>
|
||||||
<string name="assistant_voice_experimental_line">Experimentální: samočinné poslouchání po otevření asistenta, rozpoznání, že jste domluvili, a mluvený rozhovor jsou nové a zatím nefungují dobře na každém telefonu. Napsat otázku a tlačítko mikrofonu fungují vždy.</string>
|
<string name="assistant_voice_experimental_line">Experimentální: samočinné poslouchání po otevření asistenta, rozpoznání, že jste domluvili, a mluvený rozhovor jsou nové a zatím nefungují dobře na každém telefonu. Napsat otázku a tlačítko mikrofonu fungují vždy.</string>
|
||||||
<string name="assist_wake_word_hint">Budicí slovo jen pokud chcete: Nastavení › Asistent › Budicí slovo zapne vlastní slovo LLeMbas, přímo v tomto telefonu.</string>
|
<string name="assist_wake_word_hint">Budicí slovo jen pokud chcete: Nastavení › Budicí slovo zapne vlastní slovo LLeMbas, přímo v tomto telefonu.</string>
|
||||||
<string name="channel_wake">Budicí slovo</string>
|
<string name="channel_wake">Budicí slovo</string>
|
||||||
<string name="wake_word">Budicí slovo</string>
|
<string name="wake_word">Budicí slovo</string>
|
||||||
<string name="wake_word_listen">Naslouchat budicímu slovu</string>
|
<string name="wake_word_listen">Naslouchat budicímu slovu</string>
|
||||||
@@ -578,8 +593,8 @@
|
|||||||
<string name="wake_screen_only_line">Vypnuto: poslouchá i při zhasnuté obrazovce, za cenu vyšší spotřeby baterie.</string>
|
<string name="wake_screen_only_line">Vypnuto: poslouchá i při zhasnuté obrazovce, za cenu vyšší spotřeby baterie.</string>
|
||||||
<string name="wake_battery">Nechat běžet na pozadí</string>
|
<string name="wake_battery">Nechat běžet na pozadí</string>
|
||||||
<string name="wake_battery_line">Některé telefony (Samsung, Xiaomi, Huawei, OnePlus a další) kvůli baterii zastavují aplikace na pozadí, a s nimi i budicí slovo. Zde vyjměte LLeMbas z optimalizace baterie; dontkillmyapp.com vysvětluje nastavení vašeho telefonu.</string>
|
<string name="wake_battery_line">Některé telefony (Samsung, Xiaomi, Huawei, OnePlus a další) kvůli baterii zastavují aplikace na pozadí, a s nimi i budicí slovo. Zde vyjměte LLeMbas z optimalizace baterie; dontkillmyapp.com vysvětluje nastavení vašeho telefonu.</string>
|
||||||
<string name="wake_word_privacy">Před vyslovením slova nic neopustí telefon. Zvuk z mikrofonu jde jen do modulu pro budicí slovo v telefonu a neukládá se; po celou dobu naslouchání je vidět oznámení. Fráze jsou anglické; modul je sherpa-onnx (open source).</string>
|
<string name="wake_word_privacy">Před vyslovením slova nic neopustí telefon. Zvuk z mikrofonu jde jen do modulu pro budicí slovo v telefonu a neukládá se; po celou dobu naslouchání je vidět upozornění. Fráze jsou anglické; modul je sherpa-onnx (open source).</string>
|
||||||
<string name="wake_word_cost">Stojí to baterii: mikrofon zůstává zapnutý a procesor telefonu kontroluje každý okamžik zvuku, bez úsporného čipu, který používá vestavěný asistent. Pozastaví se v úsporném režimu, když je asistent otevřený, a pokud to nezměníte, i při zhasnuté obrazovce. Po restartu ho znovu spustíte klepnutím na oznámení.</string>
|
<string name="wake_word_cost">Stojí to baterii: mikrofon zůstává zapnutý a procesor telefonu kontroluje každý okamžik zvuku, bez úsporného čipu, který používá vestavěný asistent. Pozastaví se v úsporném režimu, když je asistent otevřený, a pokud to nezměníte, i při zhasnuté obrazovce. Po restartu ho znovu spustíte klepnutím na upozornění.</string>
|
||||||
<string name="wake_listening_for">Naslouchám frázi „%1$s“</string>
|
<string name="wake_listening_for">Naslouchám frázi „%1$s“</string>
|
||||||
<string name="wake_off">Budicí slovo neposlouchá</string>
|
<string name="wake_off">Budicí slovo neposlouchá</string>
|
||||||
<string name="wake_tap_to_start">Klepnutím ho znovu spustíte. Pokud se Android zeptá, povolte mikrofon.</string>
|
<string name="wake_tap_to_start">Klepnutím ho znovu spustíte. Pokud se Android zeptá, povolte mikrofon.</string>
|
||||||
@@ -600,7 +615,7 @@
|
|||||||
<string name="channel_wake_heard">Budicí slovo zaznělo</string>
|
<string name="channel_wake_heard">Budicí slovo zaznělo</string>
|
||||||
<string name="wake_heard_line">LLeMbas se umí sám otevřít nad jinými aplikacemi jen jako aplikace digitálního asistenta v telefonu.</string>
|
<string name="wake_heard_line">LLeMbas se umí sám otevřít nad jinými aplikacemi jen jako aplikace digitálního asistenta v telefonu.</string>
|
||||||
<string name="wake_not_assistant">LLeMbas není aplikací digitálního asistenta</string>
|
<string name="wake_not_assistant">LLeMbas není aplikací digitálního asistenta</string>
|
||||||
<string name="wake_not_assistant_line">Budicí slovo proto nemůže otevřít asistenta nad jinými aplikacemi: dostanete oznámení, na které klepnete. Chcete-li otevírat hlasem kdekoli, klepněte sem a vyberte LLeMbas jako aplikaci digitálního asistenta.</string>
|
<string name="wake_not_assistant_line">Budicí slovo proto nemůže otevřít asistenta nad jinými aplikacemi: dostanete upozornění, na které klepnete. Chcete-li otevírat hlasem kdekoli, klepněte sem a vyberte LLeMbas jako aplikaci digitálního asistenta.</string>
|
||||||
<string name="wake_last">Poslední probuzení</string>
|
<string name="wake_last">Poslední probuzení</string>
|
||||||
<string name="wake_last_none">Frázi zatím neslyšel.</string>
|
<string name="wake_last_none">Frázi zatím neslyšel.</string>
|
||||||
<string name="wake_out_opened">Otevřel asistenta.</string>
|
<string name="wake_out_opened">Otevřel asistenta.</string>
|
||||||
@@ -608,7 +623,7 @@
|
|||||||
<string name="wake_out_not_connected">Android neměl LLeMbas připojený jako asistenta, proto panel nemohl otevřít.</string>
|
<string name="wake_out_not_connected">Android neměl LLeMbas připojený jako asistenta, proto panel nemohl otevřít.</string>
|
||||||
<string name="wake_out_refused">Android odmítl otevřít asistenta: %1$s</string>
|
<string name="wake_out_refused">Android odmítl otevřít asistenta: %1$s</string>
|
||||||
<string name="wake_out_activity">Místo toho ho otevřel jako obrazovku aplikace.</string>
|
<string name="wake_out_activity">Místo toho ho otevřel jako obrazovku aplikace.</string>
|
||||||
<string name="wake_out_notification">Místo toho poslal oznámení, na které je třeba klepnout.</string>
|
<string name="wake_out_notification">Místo toho poslal upozornění, na které je třeba klepnout.</string>
|
||||||
<string name="wake_out_tested">Slyšeno při zkoušce: nebylo co otevírat.</string>
|
<string name="wake_out_tested">Slyšeno při zkoušce: nebylo co otevírat.</string>
|
||||||
<string name="wake_role_held">LLeMbas byl aplikací digitálního asistenta.</string>
|
<string name="wake_role_held">LLeMbas byl aplikací digitálního asistenta.</string>
|
||||||
<string name="wake_role_not_held">LLeMbas nebyl aplikací digitálního asistenta.</string>
|
<string name="wake_role_not_held">LLeMbas nebyl aplikací digitálního asistenta.</string>
|
||||||
@@ -622,24 +637,24 @@
|
|||||||
<string name="wake_waited">Chvíli čekal, až ho Android připojí.</string>
|
<string name="wake_waited">Chvíli čekal, až ho Android připojí.</string>
|
||||||
<string name="wake_show_failed">Android oznámil, že panel asistenta nedokázal zobrazit.</string>
|
<string name="wake_show_failed">Android oznámil, že panel asistenta nedokázal zobrazit.</string>
|
||||||
<string name="wake_assistant_inactive">Android právě nepoužívá LLeMbas jako hlasového asistenta</string>
|
<string name="wake_assistant_inactive">Android právě nepoužívá LLeMbas jako hlasového asistenta</string>
|
||||||
<string name="wake_assistant_inactive_line">Vyberte LLeMbas jako aplikaci digitálního asistenta znovu: klepněte sem, zvolte jinou aplikaci a potom LLeMbas. Do té doby ho dlouhé stisknutí otevírá jako běžnou obrazovku a budicí slovo může poslat jen oznámení.</string>
|
<string name="wake_assistant_inactive_line">Vyberte LLeMbas jako aplikaci digitálního asistenta znovu: klepněte sem, zvolte jinou aplikaci a potom LLeMbas. Do té doby ho dlouhé stisknutí otevírá jako běžnou obrazovku a budicí slovo může poslat jen upozornění.</string>
|
||||||
<string name="wake_assistant_unbound">LLeMbas je asistent, ale Android ho právě nemá připojeného</string>
|
<string name="wake_assistant_unbound">LLeMbas je asistent, ale Android ho právě nemá připojeného</string>
|
||||||
<string name="wake_assistant_unbound_line">Dokud ho nepřipojí, budicí slovo nemůže panel otevřít samo. Klepnutím otevřete systémové nastavení asistenta: vyberte jinou aplikaci a potom znovu LLeMbas, tím se připojí.</string>
|
<string name="wake_assistant_unbound_line">Dokud ho nepřipojí, budicí slovo nemůže panel otevřít samo. Klepnutím otevřete systémové nastavení asistenta: vyberte jinou aplikaci a potom znovu LLeMbas, tím se připojí.</string>
|
||||||
<string name="wake_heard_could_not">Nepodařilo se otevřít samo — klepněte a ptejte se</string>
|
<string name="wake_heard_could_not">Nepodařilo se otevřít samo — klepněte a ptejte se</string>
|
||||||
<string name="wake_resume">Znovu naslouchat budicímu slovu</string>
|
<string name="wake_resume">Znovu naslouchat budicímu slovu</string>
|
||||||
<string name="wake_resume_line">Telefon se restartoval. Klepnutím znovu spustíte naslouchání.</string>
|
<string name="wake_resume_line">Telefon se restartoval. Klepnutím znovu spustíte naslouchání.</string>
|
||||||
<string name="assist_notifications">Shrnout má oznámení</string>
|
<string name="assist_notifications">Shrnout má upozornění</string>
|
||||||
<string name="assist_notifications_prompt">Shrň moje oznámení: co potřebuje mou pozornost?</string>
|
<string name="assist_notifications_prompt">Shrň moje upozornění: co potřebuje mou pozornost?</string>
|
||||||
<string name="assist_notifications_phrases">moje oznámení|má oznámení|mých oznámení|moje notifikace</string>
|
<string name="assist_notifications_phrases">moje upozornění|má upozornění|mých upozornění|moje oznámení|má oznámení|mých oznámení|moje notifikace</string>
|
||||||
<string name="notification_summaries">Shrnutí oznámení</string>
|
<string name="notification_summaries">Shrnutí upozornění</string>
|
||||||
<string name="notification_summaries_switch">Dovolit asistentovi číst má oznámení, když o to požádám</string>
|
<string name="notification_summaries_switch">Dovolit asistentovi číst má upozornění, když o to požádám</string>
|
||||||
<string name="notification_summaries_line">Řekněte „shrň moje oznámení“, nebo klepněte na tlačítko v asistentovi.</string>
|
<string name="notification_summaries_line">Řekněte „shrň moje upozornění“, nebo klepněte na tlačítko v asistentovi.</string>
|
||||||
<string name="notification_summaries_unavailable">V tomto sestavení není. Čtení oznámení vyžaduje sestavení LLeMbas „notifications“, protože Google Play Protect blokuje instalaci aplikace mimo Obchod Play, která je umí číst. Je to stejná aplikace se stejným podpisem: na stránce vydání se soubor končící na -notifications.apk nainstaluje přes tuto.</string>
|
<string name="notification_summaries_unavailable">V tomto sestavení není. Čtení upozornění vyžaduje sestavení LLeMbas „notifications“, protože Google Play Protect blokuje instalaci aplikace mimo Obchod Play, která je umí číst. Je to stejná aplikace se stejným podpisem: na stránce vydání se soubor končící na -notifications.apk nainstaluje přes tuto.</string>
|
||||||
<string name="update_notifications_manual">Toto je sestavení „notifications“: aktualizaci nainstalujte ze stránky vydání, soubor končící na -notifications.apk.</string>
|
<string name="update_notifications_manual">Toto je sestavení „notifications“: aktualizaci nainstalujte ze stránky vydání, soubor končící na -notifications.apk.</string>
|
||||||
<string name="notification_access">Přístup k oznámením</string>
|
<string name="notification_access">Přístup k upozorněním</string>
|
||||||
<string name="notification_access_on">Uděleno. Přepínač Androidu je v systémovém nastavení.</string>
|
<string name="notification_access_on">Uděleno. Přepínač Androidu je v systémovém nastavení.</string>
|
||||||
<string name="notification_access_off">Zatím neuděleno. Klepnutím otevřete přepínač Androidu pro LLeMbas.</string>
|
<string name="notification_access_off">Zatím neuděleno. Klepnutím otevřete přepínač Androidu pro LLeMbas.</string>
|
||||||
<string name="notification_summaries_privacy">Ve výchozím stavu vypnuto. Když požádáte, text oznámení, která jsou v telefonu právě teď (aplikace, název, text), půjde s touto jedinou otázkou na vaši instanci a její model. Dřív se nic nečte, aplikace si nic neponechá a při zamčeném telefonu se nečte nic. Přístup k oznámením v Androidu dovolí aplikaci vidět každé oznámení, proto je na vás, zda ho dáte a zase vezmete.</string>
|
<string name="notification_summaries_privacy">Ve výchozím stavu vypnuto. Když požádáte, text upozornění, která jsou v telefonu právě teď (aplikace, název, text), půjde s touto jedinou otázkou na vaši instanci a její model. Dřív se nic nečte, aplikace si nic neponechá a při zamčeném telefonu se nečte nic. Přístup k upozorněním v Androidu dovolí aplikaci vidět každé upozornění, proto je na vás, zda ho dáte a zase vezmete.</string>
|
||||||
<string name="nav_app">Navigační aplikace</string>
|
<string name="nav_app">Navigační aplikace</string>
|
||||||
<string name="nav_app_auto">Ta, která je nainstalovaná</string>
|
<string name="nav_app_auto">Ta, která je nainstalovaná</string>
|
||||||
<string name="nav_app_google">Mapy Google</string>
|
<string name="nav_app_google">Mapy Google</string>
|
||||||
@@ -670,13 +685,13 @@
|
|||||||
<string name="assistant_listens">Začít poslouchat, když se asistent otevře</string>
|
<string name="assistant_listens">Začít poslouchat, když se asistent otevře</string>
|
||||||
<string name="voice_input">Hlasový vstup</string>
|
<string name="voice_input">Hlasový vstup</string>
|
||||||
<string name="voice_input_lembas">LLeMbas</string>
|
<string name="voice_input_lembas">LLeMbas</string>
|
||||||
<string name="voice_input_lembas_line">Převod řeči na text vaší instance, přes server. Nahrávka jde na vaši instanci a nikam jinam.</string>
|
<string name="voice_input_lembas_line">Převod řeči na text vaší instance. Tento telefon posílá nahrávku jen vaší instanci; ta ji přepíše modelem řeči, který je v ní nastaven.</string>
|
||||||
<string name="voice_input_phone">Telefon (Google nebo systémový)</string>
|
<string name="voice_input_phone">Telefon (Google nebo systémový)</string>
|
||||||
<string name="voice_input_phone_line">Vlastní rozpoznávání řeči v telefonu. Slova se objevují, jak mluvíte; nahrávka jde tam, kam ji to rozpoznávání pošle.</string>
|
<string name="voice_input_phone_line">Vlastní rozpoznávání řeči v telefonu. Slova se objevují, jak mluvíte; nahrávka jde tam, kam ji to rozpoznávání pošle.</string>
|
||||||
<string name="voice_input_phone_none">Tento telefon nemá vlastní rozpoznávání řeči.</string>
|
<string name="voice_input_phone_none">Tento telefon nemá vlastní rozpoznávání řeči.</string>
|
||||||
<string name="voice_input_hint">Používá ho asistent i mikrofon v konverzaci. S LLeMbas asistent ukazuje slova s malým zpožděním a pauza je odešle, konverzace je zapíše, když přestanete; s rozpoznáváním v telefonu se objevují, jak mluvíte.</string>
|
<string name="voice_input_hint">Používá ho asistent i mikrofon v konverzaci. S LLeMbas asistent ukazuje slova s malým zpožděním a pauza je odešle, konverzace je zapíše, když přestanete; s rozpoznáváním v telefonu se objevují, jak mluvíte.</string>
|
||||||
<string name="share_sending">Odesílá se do LLeMbas…</string>
|
<string name="share_sending">Odesílá se do LLeMbas…</string>
|
||||||
<string name="share_default_prompt">Podívejte se na tohle.</string>
|
<string name="share_default_prompt">Podívej se na tohle.</string>
|
||||||
<string name="share_ask_hint">Co s tím má LLeMbas udělat? (nepovinné)</string>
|
<string name="share_ask_hint">Co s tím má LLeMbas udělat? (nepovinné)</string>
|
||||||
<string name="widget_hint">Zeptejte se na cokoli</string>
|
<string name="widget_hint">Zeptejte se na cokoli</string>
|
||||||
<string name="directory_places">Místa na tomto zařízení</string>
|
<string name="directory_places">Místa na tomto zařízení</string>
|
||||||
@@ -709,7 +724,7 @@
|
|||||||
<string name="schedule_watch_command_hint">Volitelné, na počítači. Spustí se ve složce před každým spuštěním; když je jeho výstup stejný jako minule, spuštění tam skončí. Příkaz, na který by se režim ptal, se odmítne.</string>
|
<string name="schedule_watch_command_hint">Volitelné, na počítači. Spustí se ve složce před každým spuštěním; když je jeho výstup stejný jako minule, spuštění tam skončí. Příkaz, na který by se režim ptal, se odmítne.</string>
|
||||||
<string name="schedule_watch_timeout">Příkaz může trvat (sekundy)</string>
|
<string name="schedule_watch_timeout">Příkaz může trvat (sekundy)</string>
|
||||||
<string name="schedule_watch_timeout_hint">Pak se zastaví a spuštění selže.</string>
|
<string name="schedule_watch_timeout_hint">Pak se zastaví a spuštění selže.</string>
|
||||||
<string name="schedule_chat_drops_watch">Tato úloha sleduje příkaz na svém počítači. Jako úloha typu Chat už ne: spustí se pokaždé.</string>
|
<string name="schedule_chat_drops_watch">Tato úloha sleduje příkaz na svém počítači. Jako úloha typu Konverzace už ne: spustí se pokaždé.</string>
|
||||||
<string name="schedule_folder_model">Obvyklý model složky</string>
|
<string name="schedule_folder_model">Obvyklý model složky</string>
|
||||||
<string name="schedule_folder_model_hint">Obvyklý model složky je ten, který jste v té složce na tom počítači použili naposledy — počítač si ho pamatuje a každé spuštění se ho na něj zeptá — nebo váš výchozí model, pokud žádný není. Model vybraný zde je modelem spuštění, ať je model složky jakýkoli. Spuštění nikdy nemění model složky.</string>
|
<string name="schedule_folder_model_hint">Obvyklý model složky je ten, který jste v té složce na tom počítači použili naposledy — počítač si ho pamatuje a každé spuštění se ho na něj zeptá — nebo váš výchozí model, pokud žádný není. Model vybraný zde je modelem spuštění, ať je model složky jakýkoli. Spuštění nikdy nemění model složky.</string>
|
||||||
<string name="schedule_first_free_model">První volný z vašich modelů pro plánování</string>
|
<string name="schedule_first_free_model">První volný z vašich modelů pro plánování</string>
|
||||||
@@ -718,5 +733,5 @@
|
|||||||
<string name="run_model_session">vlastní model konverzace</string>
|
<string name="run_model_session">vlastní model konverzace</string>
|
||||||
<string name="widget_speak">Mluvit</string>
|
<string name="widget_speak">Mluvit</string>
|
||||||
<string name="widget_description">Ptejte se hlasem nebo textem, nebo pokračujte v poslední konverzaci s asistentem. Neukazuje nic z vašeho účtu.</string>
|
<string name="widget_description">Ptejte se hlasem nebo textem, nebo pokračujte v poslední konverzaci s asistentem. Neukazuje nic z vašeho účtu.</string>
|
||||||
<string name="shortcut_last">Poslední chat</string>
|
<string name="shortcut_last">Poslední konverzace</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<string name="device_name">LLeMbas für Android</string>
|
<string name="device_name">LLeMbas für Android</string>
|
||||||
<string name="share_label">LLeMbas fragen</string>
|
<string name="share_label">LLeMbas fragen</string>
|
||||||
<string name="tile_ask">LLeMbas fragen</string>
|
<string name="tile_ask">LLeMbas fragen</string>
|
||||||
<string name="signin_intro">Melden Sie sich bei einer LLeMbas-Instanz an. Sie bestätigen dieses Telefon im Browser, genau wie bei der CLI.</string>
|
<string name="signin_intro">Melden Sie sich bei einer LLeMbas-Instanz an. Sie bestätigen dieses Telefon im Browser.</string>
|
||||||
<string name="signin_address">Adresse der Instanz</string>
|
<string name="signin_address">Adresse der Instanz</string>
|
||||||
<string name="signin_continue">Fortsetzen</string>
|
<string name="signin_continue">Fortsetzen</string>
|
||||||
<string name="signin_code_intro">Öffnen Sie die Instanz im Browser, melden Sie sich an und bestätigen Sie diesen Code:</string>
|
<string name="signin_code_intro">Öffnen Sie die Instanz im Browser, melden Sie sich an und bestätigen Sie diesen Code:</string>
|
||||||
@@ -12,14 +12,27 @@
|
|||||||
<string name="signin_denied">Die Anmeldung wurde abgelehnt.</string>
|
<string name="signin_denied">Die Anmeldung wurde abgelehnt.</string>
|
||||||
<string name="signin_expired">Der Code ist abgelaufen, bevor er bestätigt wurde. Versuchen Sie es erneut.</string>
|
<string name="signin_expired">Der Code ist abgelaufen, bevor er bestätigt wurde. Versuchen Sie es erneut.</string>
|
||||||
<string name="signin_too_old">Auf dieser Instanz läuft ein älteres LLeMbas. Diese App braucht LLeMbas 2.0 oder neuer.</string>
|
<string name="signin_too_old">Auf dieser Instanz läuft ein älteres LLeMbas. Diese App braucht LLeMbas 2.0 oder neuer.</string>
|
||||||
<string name="signin_too_new">Diese Instanz spricht eine neuere App-API als diese App. Aktualisieren Sie die App.</string>
|
<string name="signin_too_new">Diese Instanz ist neuer, als diese App es unterstützt. Aktualisieren Sie die App.</string>
|
||||||
|
<string name="signin_not_lembas">Unter dieser Adresse gibt es keine LLeMbas-Instanz.</string>
|
||||||
|
<string name="signin_failed">Die Anmeldung konnte nicht abgeschlossen werden (%1$s). Versuchen Sie es erneut.</string>
|
||||||
|
<string name="signin_app_too_old">Diese Instanz braucht LLeMbas für Android %1$s oder neuer, und dies ist %2$s. Aktualisieren Sie die App.</string>
|
||||||
|
<string name="signin_other_origin">Diese Instanz nennt für die Anmeldung eine andere Adresse (%1$s) als die eingegebene. Ihr Proxy muss die Adresse weitergeben, unter der sie erreicht wird.</string>
|
||||||
|
<string name="address_needs_https">Diese App braucht eine https://-Adresse: einfaches http wird nicht unterstützt.</string>
|
||||||
|
<string name="address_unreadable">Diese Adresse kann die App nicht verwenden. Geben Sie die Adresse der Instanz ein, zum Beispiel llm.example.org.</string>
|
||||||
|
<string name="server_answered">Der Server hat mit %1$s geantwortet.</string>
|
||||||
|
<string name="timed_out">Die Instanz hat nicht rechtzeitig geantwortet.</string>
|
||||||
|
<string name="not_trusted">Dieses Telefon vertraut dem Zertifikat der Instanz nicht: Installieren Sie das Zertifikat ihrer Zertifizierungsstelle unter den Nutzerzertifikaten von Android (Einstellungen, Sicherheit, Verschlüsselung & Anmeldedaten, Zertifikat installieren).</string>
|
||||||
|
<string name="signed_out">%1$s hat dieses Telefon abgemeldet. Melden Sie sich erneut an, um fortzufahren: Ihre Chats und Ihre Einstellungen hier bleiben erhalten.</string>
|
||||||
|
<string name="signed_out_again">Erneut anmelden</string>
|
||||||
|
<string name="signed_out_use">%1$s verwenden</string>
|
||||||
|
<string name="signed_out_remove">Diese Instanz entfernen</string>
|
||||||
<string name="new_chat">Neuer Chat</string>
|
<string name="new_chat">Neuer Chat</string>
|
||||||
<string name="empty_chats">Noch keine Chats. Nicht jeder, der wandert, ist verloren — fangen Sie einen an.</string>
|
<string name="empty_chats">Noch keine Chats. Nicht jeder, der wandert, ist verloren — fangen Sie einen an.</string>
|
||||||
<string name="new_agent_chat">Neuer Agent-Chat</string>
|
<string name="new_agent_chat">Neuer Agent-Chat</string>
|
||||||
<string name="agent_device">Gerät</string>
|
<string name="agent_device">Computer</string>
|
||||||
<string name="agent_no_device">Gerade ist kein Gerät verknüpft. Starten Sie `lembas service` auf einem Computer, der bei dieser Instanz angemeldet ist, und kommen Sie dann zurück.</string>
|
<string name="agent_no_device">Gerade ist kein Computer verknüpft. Starten Sie den Dienst der LLeMbas-CLI (lembas service) auf einem Computer, der bei dieser Instanz angemeldet ist, und kommen Sie dann zurück.</string>
|
||||||
<string name="agent_directory">Ordner auf dem Gerät</string>
|
<string name="agent_directory">Ordner auf dem Computer</string>
|
||||||
<string name="agent_directory_hint">Leer: der erste Ordner des Geräts</string>
|
<string name="agent_directory_hint">Leer: der erste Ordner des Computers</string>
|
||||||
<string name="empty_chat">Worüber sprechen wir?</string>
|
<string name="empty_chat">Worüber sprechen wir?</string>
|
||||||
<string name="loading_line">Lembas wird gebacken…</string>
|
<string name="loading_line">Lembas wird gebacken…</string>
|
||||||
<string name="archive">Archivieren</string>
|
<string name="archive">Archivieren</string>
|
||||||
@@ -157,12 +170,12 @@
|
|||||||
<string name="chats_found_in_messages">In den Nachrichten</string>
|
<string name="chats_found_in_messages">In den Nachrichten</string>
|
||||||
<string name="chats_none_found">Kein Chat hat das im Titel.</string>
|
<string name="chats_none_found">Kein Chat hat das im Titel.</string>
|
||||||
<string name="clear">Leeren</string>
|
<string name="clear">Leeren</string>
|
||||||
<string name="composer_hint_agent">Sag dem Agenten, was er tun soll</string>
|
<string name="composer_hint_agent">Sagen Sie dem Agenten, was er tun soll</string>
|
||||||
<string name="tune">Optionen</string>
|
<string name="tune">Optionen</string>
|
||||||
<string name="effort">Aufwand</string>
|
<string name="effort">Aufwand</string>
|
||||||
<string name="thinking_switch_hint">Langsamer, und besser bei schwierigen Fragen.</string>
|
<string name="thinking_switch_hint">Langsamer, und besser bei schwierigen Fragen.</string>
|
||||||
<string name="plan_first">Erst planen</string>
|
<string name="plan_first">Erst planen</string>
|
||||||
<string name="plan_first_hint">Das Modell schreibt einen Plan, den du genehmigst, bevor es handelt.</string>
|
<string name="plan_first_hint">Das Modell schreibt einen Plan, den Sie genehmigen, bevor es handelt.</string>
|
||||||
<string name="agent_mode">Modus</string>
|
<string name="agent_mode">Modus</string>
|
||||||
<string name="agent_greeting">Was soll der Agent tun?</string>
|
<string name="agent_greeting">Was soll der Agent tun?</string>
|
||||||
<string name="agent_runs_on">Läuft auf %1$s, in %2$s</string>
|
<string name="agent_runs_on">Läuft auf %1$s, in %2$s</string>
|
||||||
@@ -216,7 +229,7 @@
|
|||||||
<string name="schedule_no_runs">Er ist noch nicht gelaufen.</string>
|
<string name="schedule_no_runs">Er ist noch nicht gelaufen.</string>
|
||||||
<string name="schedule_model">Modell: %1$s</string>
|
<string name="schedule_model">Modell: %1$s</string>
|
||||||
<string name="schedule_delete_confirm">Diesen Zeitplan löschen? Seine bisherigen Ergebnisse bleiben in ihren Chats.</string>
|
<string name="schedule_delete_confirm">Diesen Zeitplan löschen? Seine bisherigen Ergebnisse bleiben in ihren Chats.</string>
|
||||||
<string name="schedule_words_hint">Sag in eigenen Worten, wann und was. Bevor etwas gespeichert wird, siehst du, wie es verstanden wurde.</string>
|
<string name="schedule_words_hint">Sagen Sie in eigenen Worten, wann und was. Bevor etwas gespeichert wird, sehen Sie, wie es verstanden wurde.</string>
|
||||||
<string name="schedule_words_example">Jeden Werktag um 7:30 die Nachrichten über erneuerbare Energie zusammenfassen</string>
|
<string name="schedule_words_example">Jeden Werktag um 7:30 die Nachrichten über erneuerbare Energie zusammenfassen</string>
|
||||||
<string name="schedule_preview">Vorschau</string>
|
<string name="schedule_preview">Vorschau</string>
|
||||||
<string name="schedule_understood">Verstanden als</string>
|
<string name="schedule_understood">Verstanden als</string>
|
||||||
@@ -252,11 +265,11 @@
|
|||||||
<string name="scheduled_result_public">Eine geplante Aufgabe hat ein Ergebnis.</string>
|
<string name="scheduled_result_public">Eine geplante Aufgabe hat ein Ergebnis.</string>
|
||||||
<string name="scheduled_failed_public">Eine geplante Aufgabe ist fehlgeschlagen.</string>
|
<string name="scheduled_failed_public">Eine geplante Aufgabe ist fehlgeschlagen.</string>
|
||||||
<string name="page_note">Diese Antwort hat eine Seite: %1$s</string>
|
<string name="page_note">Diese Antwort hat eine Seite: %1$s</string>
|
||||||
<string name="page_where">Öffne sie im Web oder in LLeMbas Desktop, um sie zu sehen.</string>
|
<string name="page_where">Öffnen Sie sie im Web oder in LLeMbas Desktop, um sie zu sehen.</string>
|
||||||
<string name="page_untitled">Seite</string>
|
<string name="page_untitled">Seite</string>
|
||||||
<string name="reports">Berichte</string>
|
<string name="reports">Berichte</string>
|
||||||
<string name="report">Bericht</string>
|
<string name="report">Bericht</string>
|
||||||
<string name="reports_none">Noch keine Berichte. Eine geplante Aufgabe schreibt einen, wenn sie dir etwas zu sagen hat.</string>
|
<string name="reports_none">Noch keine Berichte. Eine geplante Aufgabe schreibt einen, wenn sie Ihnen etwas zu sagen hat.</string>
|
||||||
<string name="reports_unsupported">Auf dieser Instanz läuft ein LLeMbas, das noch keine Berichte hat.</string>
|
<string name="reports_unsupported">Auf dieser Instanz läuft ein LLeMbas, das noch keine Berichte hat.</string>
|
||||||
<string name="report_untitled">Bericht ohne Titel</string>
|
<string name="report_untitled">Bericht ohne Titel</string>
|
||||||
<string name="report_delete_title">Diesen Bericht löschen?</string>
|
<string name="report_delete_title">Diesen Bericht löschen?</string>
|
||||||
@@ -347,7 +360,7 @@
|
|||||||
<string name="viewer_copy">Kopieren</string>
|
<string name="viewer_copy">Kopieren</string>
|
||||||
<string name="viewer_html_source">Das ist der Quelltext der Seite. Die Seite selbst sehen Sie im Browser.</string>
|
<string name="viewer_html_source">Das ist der Quelltext der Seite. Die Seite selbst sehen Sie im Browser.</string>
|
||||||
<string name="viewer_long_markdown">Eine lange Datei, daher wird sie als reiner Text angezeigt.</string>
|
<string name="viewer_long_markdown">Eine lange Datei, daher wird sie als reiner Text angezeigt.</string>
|
||||||
<string name="viewer_unavailable">Dieser Server kann die Datei der App noch nicht übergeben. Öffnen Sie sie stattdessen im Browser.</string>
|
<string name="viewer_unavailable">Diese Instanz kann die Datei der App noch nicht übergeben. Öffnen Sie sie stattdessen im Browser.</string>
|
||||||
<string name="viewer_too_large">Diese Datei ist zu groß zum Anzeigen; höchstens 1 MB kann angezeigt werden.</string>
|
<string name="viewer_too_large">Diese Datei ist zu groß zum Anzeigen; höchstens 1 MB kann angezeigt werden.</string>
|
||||||
<string name="viewer_not_text">Das ist keine Textdatei, deshalb wird sie hier nicht angezeigt.</string>
|
<string name="viewer_not_text">Das ist keine Textdatei, deshalb wird sie hier nicht angezeigt.</string>
|
||||||
<string name="files">Dateien</string>
|
<string name="files">Dateien</string>
|
||||||
@@ -399,7 +412,7 @@
|
|||||||
<string name="files_size">Größe</string>
|
<string name="files_size">Größe</string>
|
||||||
<string name="files_no_viewer">Für diese Art von Datei gibt es keinen Betrachter.</string>
|
<string name="files_no_viewer">Für diese Art von Datei gibt es keinen Betrachter.</string>
|
||||||
<string name="files_not_shown">Diese Datei konnte hier nicht gezeigt werden. Sie lässt sich weiterhin herunterladen.</string>
|
<string name="files_not_shown">Diese Datei konnte hier nicht gezeigt werden. Sie lässt sich weiterhin herunterladen.</string>
|
||||||
<string name="files_svg_source">Das ist der Quelltext des Bildes. Öffne es mit einer anderen App, um das Bild zu sehen.</string>
|
<string name="files_svg_source">Das ist der Quelltext des Bildes. Öffnen Sie es mit einer anderen App, um das Bild zu sehen.</string>
|
||||||
<string name="archive_note">Der Inhalt dieser Art von Archiv kann hier nicht aufgelistet werden.</string>
|
<string name="archive_note">Der Inhalt dieser Art von Archiv kann hier nicht aufgelistet werden.</string>
|
||||||
<string name="archive_entries">%1$s Einträge. Hier wird nichts entpackt.</string>
|
<string name="archive_entries">%1$s Einträge. Hier wird nichts entpackt.</string>
|
||||||
<string name="archive_cut">Nur die ersten %1$s Einträge sind aufgelistet.</string>
|
<string name="archive_cut">Nur die ersten %1$s Einträge sind aufgelistet.</string>
|
||||||
@@ -464,6 +477,8 @@
|
|||||||
<string name="sign_out">Abmelden</string>
|
<string name="sign_out">Abmelden</string>
|
||||||
<string name="add_instance">Instanz hinzufügen</string>
|
<string name="add_instance">Instanz hinzufügen</string>
|
||||||
<string name="instance_default">Standard</string>
|
<string name="instance_default">Standard</string>
|
||||||
|
<string name="instance_set_default">Als Standard festlegen</string>
|
||||||
|
<string name="instance_switch">Instanz wechseln</string>
|
||||||
<string name="settings_theme">Design</string>
|
<string name="settings_theme">Design</string>
|
||||||
<string name="theme_system">Wie das System</string>
|
<string name="theme_system">Wie das System</string>
|
||||||
<string name="theme_moria">Moria (dunkel)</string>
|
<string name="theme_moria">Moria (dunkel)</string>
|
||||||
@@ -488,7 +503,7 @@
|
|||||||
<string name="assistant_open_settings">Assistenten-Einstellungen öffnen</string>
|
<string name="assistant_open_settings">Assistenten-Einstellungen öffnen</string>
|
||||||
<string name="assistant_model">Modell des Assistenten</string>
|
<string name="assistant_model">Modell des Assistenten</string>
|
||||||
<string name="assistant_model_default">Standard der Instanz</string>
|
<string name="assistant_model_default">Standard der Instanz</string>
|
||||||
<string name="assistant_model_default_line">Das Modell, mit dem deine neuen Chats beginnen. Ist es für eine gesprochene Frage zu langsam, wähle unten ein schnelleres.</string>
|
<string name="assistant_model_default_line">Das Modell, mit dem Ihre neuen Chats beginnen. Ist es für eine gesprochene Frage zu langsam, wählen Sie unten ein schnelleres.</string>
|
||||||
<string name="assistant_samsung">Auf Samsung-Telefonen: Einstellungen › Erweiterte Funktionen › Seitentaste › Gedrückt halten › Digitaler Assistent.</string>
|
<string name="assistant_samsung">Auf Samsung-Telefonen: Einstellungen › Erweiterte Funktionen › Seitentaste › Gedrückt halten › Digitaler Assistent.</string>
|
||||||
<string name="assistant_temporary">Assistenten-Chats sind temporär</string>
|
<string name="assistant_temporary">Assistenten-Chats sind temporär</string>
|
||||||
<string name="assistant_read_aloud">Antwort vorlesen, wenn per Sprache gefragt wurde</string>
|
<string name="assistant_read_aloud">Antwort vorlesen, wenn per Sprache gefragt wurde</string>
|
||||||
@@ -504,7 +519,7 @@
|
|||||||
<string name="update_available">%1$s ist verfügbar. Tippen Sie, um die Release-Seite zu öffnen.</string>
|
<string name="update_available">%1$s ist verfügbar. Tippen Sie, um die Release-Seite zu öffnen.</string>
|
||||||
<string name="update_install">%1$s installieren</string>
|
<string name="update_install">%1$s installieren</string>
|
||||||
<string name="update_auto">Nach neuen Versionen suchen</string>
|
<string name="update_auto">Nach neuen Versionen suchen</string>
|
||||||
<string name="update_auto_line">Höchstens einmal am Tag, beim Start, fragt die App Ihre Instanz, welches Release zu ihr passt (bei einer älteren Instanz: die Liste der Releases auf GitHub), und meldet per Benachrichtigung, wenn es ein neueres gibt. Nichts über Sie wird anderswohin gesendet. In einer Beta standardmäßig an, sonst aus.</string>
|
<string name="update_auto_line">Höchstens einmal am Tag, beim Start, fragt die App Ihre Instanz, welches Release zu ihr passt — oder liest die Liste der Releases auf GitHub, wenn die Instanz es nicht sagen kann — und meldet per Benachrichtigung, wenn es ein neueres gibt. Mit keiner der beiden Anfragen wird etwas über Sie gesendet. In einer Beta standardmäßig an, sonst aus.</string>
|
||||||
<string name="update_betas">Betas einbeziehen</string>
|
<string name="update_betas">Betas einbeziehen</string>
|
||||||
<string name="update_betas_line">Auch Testversionen anbieten, nicht nur Releases. Standardmäßig an, wenn diese App selbst eine Beta ist.</string>
|
<string name="update_betas_line">Auch Testversionen anbieten, nicht nur Releases. Standardmäßig an, wenn diese App selbst eine Beta ist.</string>
|
||||||
<string name="channel_updates">App-Updates</string>
|
<string name="channel_updates">App-Updates</string>
|
||||||
@@ -540,49 +555,49 @@
|
|||||||
<string name="assist_writing_down">Ihr Gesagtes wird aufgeschrieben…</string>
|
<string name="assist_writing_down">Ihr Gesagtes wird aufgeschrieben…</string>
|
||||||
<string name="assist_unlock_to_send">Entsperren und senden</string>
|
<string name="assist_unlock_to_send">Entsperren und senden</string>
|
||||||
<string name="assist_question_heard">Frage aufgenommen</string>
|
<string name="assist_question_heard">Frage aufgenommen</string>
|
||||||
<string name="assist_recording_waits_line">Das Telefon ist gesperrt. Deine Frage wartet als Aufnahme auf diesem Telefon; es wurde nichts gesendet. Nach dem Entsperren geht sie an deine Instanz, die sie aufschreibt und beantwortet.</string>
|
<string name="assist_recording_waits_line">Das Telefon ist gesperrt. Ihre Frage wartet als Aufnahme auf diesem Telefon; es wurde nichts gesendet. Nach dem Entsperren geht sie an Ihre Instanz, die sie aufschreibt und beantwortet.</string>
|
||||||
<string name="assist_locked_line">Das Telefon ist gesperrt. Bis du es entsperrst, wird nichts gesendet und keine Antwort angezeigt.</string>
|
<string name="assist_locked_line">Das Telefon ist gesperrt. Bis Sie es entsperren, wird nichts gesendet und keine Antwort angezeigt.</string>
|
||||||
<string name="assist_conversation">Im Gespräch</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_line">Nach jeder Antwort höre ich wieder zu. Sagen Sie „Stopp“, um zu beenden.</string>
|
||||||
<string name="assist_conversation_end">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="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">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="assistant_conversation_line">Nachdem eine gesprochene Antwort vorgelesen wurde, hört der Assistent wieder zu — bis Sie „Stopp“ sagen, auf Beenden tippen oder ein paar Sekunden nichts sagen. Funktioniert mit einem Headset.</string>
|
||||||
<string name="experimental">Experimentell</string>
|
<string name="experimental">Experimentell</string>
|
||||||
<string name="wake_experimental_line">Neu und bisher nur auf wenigen Telefonen erprobt. Es kann den Satz überhören, versehentlich starten oder dich hören und den Assistenten trotzdem nicht öffnen.</string>
|
<string name="wake_experimental_line">Neu und bisher nur auf wenigen Telefonen erprobt. Es kann den Satz überhören, versehentlich starten oder Sie hören und den Assistenten trotzdem nicht öffnen.</string>
|
||||||
<string name="assistant_voice_experimental_line">Experimentell: Das selbstständige Zuhören beim Öffnen des Assistenten, das Erkennen, wann du fertig gesprochen hast, und das gesprochene Gespräch sind neu und funktionieren noch nicht auf jedem Telefon gut. Eine Frage tippen und die Mikrofontaste funktionieren immer.</string>
|
<string name="assistant_voice_experimental_line">Experimentell: Das selbstständige Zuhören beim Öffnen des Assistenten, das Erkennen, wann Sie fertig gesprochen haben, und das gesprochene Gespräch sind neu und funktionieren noch nicht auf jedem Telefon gut. Eine Frage tippen und die Mikrofontaste funktionieren immer.</string>
|
||||||
<string name="assist_wake_word_hint">Kein Aktivierungswort, außer du willst eines: Einstellungen › Assistent › Aktivierungswort schaltet das eigene von LLeMbas ein, auf diesem Telefon.</string>
|
<string name="assist_wake_word_hint">Kein Aktivierungswort, außer Sie wollen eines: Einstellungen › Aktivierungswort schaltet das eigene von LLeMbas ein, auf diesem Telefon.</string>
|
||||||
<string name="channel_wake">Aktivierungswort</string>
|
<string name="channel_wake">Aktivierungswort</string>
|
||||||
<string name="wake_word">Aktivierungswort</string>
|
<string name="wake_word">Aktivierungswort</string>
|
||||||
<string name="wake_word_listen">Auf ein Aktivierungswort hören</string>
|
<string name="wake_word_listen">Auf ein Aktivierungswort hören</string>
|
||||||
<string name="wake_word_line">Standardmäßig aus. Sag den Satz, und der Assistent öffnet sich zuhörend über der App auf dem Bildschirm.</string>
|
<string name="wake_word_line">Standardmäßig aus. Sagen Sie den Satz, und der Assistent öffnet sich zuhörend über der App auf dem Bildschirm.</string>
|
||||||
<string name="wake_word_unavailable">Nicht in diesem Build. Der F-Droid-Build hat keine Aktivierungswort-Engine, weil F-Droid jede Bibliothek aus dem Quellcode baut; der Build von llembas.eu hat eine.</string>
|
<string name="wake_word_unavailable">Nicht in diesem Build. Der F-Droid-Build hat keine Aktivierungswort-Engine, weil F-Droid jede Bibliothek aus dem Quellcode baut; der Build von llembas.eu hat eine.</string>
|
||||||
<string name="wake_phrase_line">Das sagst du, dann eine kurze Pause: Es zählt, sobald du aufhörst. Auf Englisch, egal in welcher Sprache die App ist: Die Engine kennt nur englische Sprache.</string>
|
<string name="wake_phrase_line">Das sagen Sie, dann eine kurze Pause: Es zählt, sobald Sie aufhören. Auf Englisch, egal in welcher Sprache die App ist: Die Engine kennt nur englische Sprache.</string>
|
||||||
<string name="wake_greeting">Anrede</string>
|
<string name="wake_greeting">Anrede</string>
|
||||||
<string name="wake_name">Name</string>
|
<string name="wake_name">Name</string>
|
||||||
<string name="wake_name_google_line">Ein Google-Telefon oder -Lautsprecher in der Nähe antwortet ebenfalls.</string>
|
<string name="wake_name_google_line">Ein Google-Telefon oder -Lautsprecher in der Nähe antwortet ebenfalls.</string>
|
||||||
<string name="wake_sensitivity">Empfindlichkeit</string>
|
<string name="wake_sensitivity">Empfindlichkeit</string>
|
||||||
<string name="wake_sensitivity_low">Niedrig</string>
|
<string name="wake_sensitivity_low">Niedrig</string>
|
||||||
<string name="wake_sensitivity_low_line">Startet am seltensten versehentlich. Du musst den Satz vielleicht deutlicher oder zweimal sagen.</string>
|
<string name="wake_sensitivity_low_line">Startet am seltensten versehentlich. Sie müssen den Satz vielleicht deutlicher oder zweimal sagen.</string>
|
||||||
<string name="wake_sensitivity_normal">Normal</string>
|
<string name="wake_sensitivity_normal">Normal</string>
|
||||||
<string name="wake_sensitivity_normal_line">Die eigene Einstellung der Engine.</string>
|
<string name="wake_sensitivity_normal_line">Die eigene Einstellung der Engine.</string>
|
||||||
<string name="wake_sensitivity_high">Hoch</string>
|
<string name="wake_sensitivity_high">Hoch</string>
|
||||||
<string name="wake_sensitivity_high_line">Hört dich am leichtesten, auch aus größerer Entfernung. Startet öfter versehentlich.</string>
|
<string name="wake_sensitivity_high_line">Hört Sie am leichtesten, auch aus größerer Entfernung. Startet öfter versehentlich.</string>
|
||||||
<string name="wake_test">Aktivierungswort testen</string>
|
<string name="wake_test">Aktivierungswort testen</string>
|
||||||
<string name="wake_test_line">Zeigt zehn Sekunden lang, ob dein Satz gehört wird, ohne den Assistenten zu öffnen.</string>
|
<string name="wake_test_line">Zeigt zehn Sekunden lang, ob Ihr Satz gehört wird, ohne den Assistenten zu öffnen.</string>
|
||||||
<string name="wake_test_say">Sag jetzt „%1$s“, dann eine Pause…</string>
|
<string name="wake_test_say">Sagen Sie jetzt „%1$s“, dann eine Pause…</string>
|
||||||
<string name="wake_test_heard">Gehört</string>
|
<string name="wake_test_heard">Gehört</string>
|
||||||
<string name="wake_test_missed">In zehn Sekunden nicht gehört. Versuch es näher am Telefon, in einem ruhigeren Moment oder mit höherer Empfindlichkeit.</string>
|
<string name="wake_test_missed">In zehn Sekunden nicht gehört. Versuchen Sie es näher am Telefon, in einem ruhigeren Moment oder mit höherer Empfindlichkeit.</string>
|
||||||
<string name="wake_test_off">Schalte zuerst das Aktivierungswort ein.</string>
|
<string name="wake_test_off">Schalten Sie zuerst das Aktivierungswort ein.</string>
|
||||||
<string name="wake_screen_only">Nur bei eingeschaltetem Bildschirm</string>
|
<string name="wake_screen_only">Nur bei eingeschaltetem Bildschirm</string>
|
||||||
<string name="wake_screen_only_line">Aus: Es hört auch bei ausgeschaltetem Bildschirm zu, was mehr Akku kostet.</string>
|
<string name="wake_screen_only_line">Aus: Es hört auch bei ausgeschaltetem Bildschirm zu, was mehr Akku kostet.</string>
|
||||||
<string name="wake_battery">Im Hintergrund laufen lassen</string>
|
<string name="wake_battery">Im Hintergrund laufen lassen</string>
|
||||||
<string name="wake_battery_line">Manche Telefone (Samsung, Xiaomi, Huawei, OnePlus und andere) beenden Hintergrund-Apps, um Akku zu sparen, und damit auch das Aktivierungswort. Nimm LLeMbas hier von der Akku-Optimierung aus; dontkillmyapp.com erklärt die Einstellungen deines Telefons.</string>
|
<string name="wake_battery_line">Manche Telefone (Samsung, Xiaomi, Huawei, OnePlus und andere) beenden Hintergrund-Apps, um Akku zu sparen, und damit auch das Aktivierungswort. Nehmen Sie LLeMbas hier von der Akku-Optimierung aus; dontkillmyapp.com erklärt die Einstellungen Ihres Telefons.</string>
|
||||||
<string name="wake_word_privacy">Vor dem Wort verlässt nichts das Telefon. Der Ton des Mikrofons geht nur an die Aktivierungswort-Engine auf dem Telefon und wird nicht gespeichert; die Benachrichtigung bleibt sichtbar, solange es zuhört. Die Sätze sind englisch; die Engine ist sherpa-onnx (Open Source).</string>
|
<string name="wake_word_privacy">Vor dem Wort verlässt nichts das Telefon. Der Ton des Mikrofons geht nur an die Aktivierungswort-Engine auf dem Telefon und wird nicht gespeichert; die Benachrichtigung bleibt sichtbar, solange es zuhört. Die Sätze sind englisch; die Engine ist sherpa-onnx (Open Source).</string>
|
||||||
<string name="wake_word_cost">Es kostet Akku: Das Mikrofon bleibt an, und der Prozessor des Telefons prüft jeden Moment Ton, ohne den Stromspar-Chip, den der eingebaute Assistent nutzt. Es pausiert im Energiesparmodus, während der Assistent offen ist und, wenn du es nicht änderst, bei ausgeschaltetem Bildschirm. Nach einem Neustart tippe auf seine Benachrichtigung, um es wieder zu starten.</string>
|
<string name="wake_word_cost">Es kostet Akku: Das Mikrofon bleibt an, und der Prozessor des Telefons prüft jeden Moment Ton, ohne den Stromspar-Chip, den der eingebaute Assistent nutzt. Es pausiert im Energiesparmodus, während der Assistent offen ist und, wenn Sie es nicht ändern, bei ausgeschaltetem Bildschirm. Nach einem Neustart tippen Sie auf seine Benachrichtigung, um es wieder zu starten.</string>
|
||||||
<string name="wake_listening_for">Hört auf „%1$s“</string>
|
<string name="wake_listening_for">Hört auf „%1$s“</string>
|
||||||
<string name="wake_off">Das Aktivierungswort hört nicht zu</string>
|
<string name="wake_off">Das Aktivierungswort hört nicht zu</string>
|
||||||
<string name="wake_tap_to_start">Tippe, um es wieder zu starten. Wenn Android fragt, erlaube das Mikrofon.</string>
|
<string name="wake_tap_to_start">Tippen Sie, um es wieder zu starten. Wenn Android fragt, erlauben Sie das Mikrofon.</string>
|
||||||
<string name="wake_starting">Aktivierungswort wird gestartet…</string>
|
<string name="wake_starting">Aktivierungswort wird gestartet…</string>
|
||||||
<string name="wake_paused_silent">Aktivierungswort hört nichts: Eine andere App hat das Mikrofon, oder das Mikrofon des Telefons ist ausgeschaltet</string>
|
<string name="wake_paused_silent">Aktivierungswort hört nichts: Eine andere App hat das Mikrofon, oder das Mikrofon des Telefons ist ausgeschaltet</string>
|
||||||
<string name="wake_failed_no_engine">Aktivierungswort funktioniert nicht: Dieser Build hat keine Engine</string>
|
<string name="wake_failed_no_engine">Aktivierungswort funktioniert nicht: Dieser Build hat keine Engine</string>
|
||||||
@@ -590,17 +605,17 @@
|
|||||||
<string name="wake_failed_engine">Aktivierungswort funktioniert nicht: Die Engine ist nicht gestartet</string>
|
<string name="wake_failed_engine">Aktivierungswort funktioniert nicht: Die Engine ist nicht gestartet</string>
|
||||||
<string name="wake_failed_microphone">Aktivierungswort funktioniert nicht: Das Mikrofon ist nicht gestartet</string>
|
<string name="wake_failed_microphone">Aktivierungswort funktioniert nicht: Das Mikrofon ist nicht gestartet</string>
|
||||||
<string name="wake_failed_line">Es hört nicht zu. Es versucht es von selbst erneut.</string>
|
<string name="wake_failed_line">Es hört nicht zu. Es versucht es von selbst erneut.</string>
|
||||||
<string name="wake_notification_line">Bis du es sagst, verlässt nichts das Telefon.</string>
|
<string name="wake_notification_line">Bis Sie es sagen, verlässt nichts das Telefon.</string>
|
||||||
<string name="wake_paused_screen">Aktivierungswort pausiert: Bildschirm aus</string>
|
<string name="wake_paused_screen">Aktivierungswort pausiert: Bildschirm aus</string>
|
||||||
<string name="wake_paused_battery">Aktivierungswort pausiert: Energiesparmodus ist an</string>
|
<string name="wake_paused_battery">Aktivierungswort pausiert: Energiesparmodus ist an</string>
|
||||||
<string name="wake_paused_assistant">Aktivierungswort pausiert, solange der Assistent offen ist</string>
|
<string name="wake_paused_assistant">Aktivierungswort pausiert, solange der Assistent offen ist</string>
|
||||||
<string name="wake_paused_microphone">Aktivierungswort pausiert: LLeMbas darf das Mikrofon nicht verwenden</string>
|
<string name="wake_paused_microphone">Aktivierungswort pausiert: LLeMbas darf das Mikrofon nicht verwenden</string>
|
||||||
<string name="wake_stop">Nicht mehr zuhören</string>
|
<string name="wake_stop">Nicht mehr zuhören</string>
|
||||||
<string name="wake_heard">Gehört. Tippe, um zu fragen.</string>
|
<string name="wake_heard">Gehört. Zum Fragen tippen.</string>
|
||||||
<string name="channel_wake_heard">Aktivierungswort gehört</string>
|
<string name="channel_wake_heard">Aktivierungswort gehört</string>
|
||||||
<string name="wake_heard_line">LLeMbas kann sich nur als App für den digitalen Assistenten des Telefons selbst über anderen Apps öffnen.</string>
|
<string name="wake_heard_line">LLeMbas kann sich nur als App für den digitalen Assistenten des Telefons selbst über anderen Apps öffnen.</string>
|
||||||
<string name="wake_not_assistant">LLeMbas ist nicht die App für den digitalen Assistenten</string>
|
<string name="wake_not_assistant">LLeMbas ist nicht die App für den digitalen Assistenten</string>
|
||||||
<string name="wake_not_assistant_line">Deshalb kann das Aktivierungswort den Assistenten nicht über anderen Apps öffnen: Du bekommst eine Benachrichtigung zum Antippen. Um überall per Stimme zu öffnen, tippe hier und wähle LLeMbas als App für den digitalen Assistenten.</string>
|
<string name="wake_not_assistant_line">Deshalb kann das Aktivierungswort den Assistenten nicht über anderen Apps öffnen: Sie bekommen eine Benachrichtigung zum Antippen. Um überall per Stimme zu öffnen, tippen Sie hier und wählen Sie LLeMbas als App für den digitalen Assistenten.</string>
|
||||||
<string name="wake_last">Letztes Aufwecken</string>
|
<string name="wake_last">Letztes Aufwecken</string>
|
||||||
<string name="wake_last_none">Der Satz wurde noch nicht gehört.</string>
|
<string name="wake_last_none">Der Satz wurde noch nicht gehört.</string>
|
||||||
<string name="wake_out_opened">Assistent geöffnet.</string>
|
<string name="wake_out_opened">Assistent geöffnet.</string>
|
||||||
@@ -622,24 +637,24 @@
|
|||||||
<string name="wake_waited">Kurz gewartet, bis Android ihn verbindet.</string>
|
<string name="wake_waited">Kurz gewartet, bis Android ihn verbindet.</string>
|
||||||
<string name="wake_show_failed">Android meldete, dass es das Blatt des Assistenten nicht anzeigen konnte.</string>
|
<string name="wake_show_failed">Android meldete, dass es das Blatt des Assistenten nicht anzeigen konnte.</string>
|
||||||
<string name="wake_assistant_inactive">Android nutzt LLeMbas gerade nicht als Sprachassistenten</string>
|
<string name="wake_assistant_inactive">Android nutzt LLeMbas gerade nicht als Sprachassistenten</string>
|
||||||
<string name="wake_assistant_inactive_line">Wähle LLeMbas erneut als App für den digitalen Assistenten: Tippe hier, wähle eine andere App und dann LLeMbas. Bis dahin öffnet langes Drücken es als gewöhnlichen Bildschirm, und das Aktivierungswort kann nur eine Benachrichtigung senden.</string>
|
<string name="wake_assistant_inactive_line">Wählen Sie LLeMbas erneut als App für den digitalen Assistenten: Tippen Sie hier, wählen Sie eine andere App und dann LLeMbas. Bis dahin öffnet langes Drücken es als gewöhnlichen Bildschirm, und das Aktivierungswort kann nur eine Benachrichtigung senden.</string>
|
||||||
<string name="wake_assistant_unbound">LLeMbas ist der Assistent, aber Android hat ihn gerade nicht verbunden</string>
|
<string name="wake_assistant_unbound">LLeMbas ist der Assistent, aber Android hat ihn gerade nicht verbunden</string>
|
||||||
<string name="wake_assistant_unbound_line">Solange das so ist, kann das Aktivierungswort das Blatt nicht selbst öffnen. Tippe für die Assistenten-Einstellung des Systems: Eine andere App und dann wieder LLeMbas zu wählen verbindet ihn.</string>
|
<string name="wake_assistant_unbound_line">Solange das so ist, kann das Aktivierungswort das Blatt nicht selbst öffnen. Tippen Sie für die Assistenten-Einstellung des Systems: Eine andere App und dann wieder LLeMbas zu wählen verbindet ihn.</string>
|
||||||
<string name="wake_heard_could_not">Ließ sich nicht selbst öffnen — tippe, um zu fragen</string>
|
<string name="wake_heard_could_not">Ließ sich nicht selbst öffnen — zum Fragen tippen</string>
|
||||||
<string name="wake_resume">Wieder auf das Aktivierungswort hören</string>
|
<string name="wake_resume">Wieder auf das Aktivierungswort hören</string>
|
||||||
<string name="wake_resume_line">Das Telefon wurde neu gestartet. Tippe, um wieder zuzuhören.</string>
|
<string name="wake_resume_line">Das Telefon wurde neu gestartet. Tippen Sie, um wieder zuzuhören.</string>
|
||||||
<string name="assist_notifications">Meine Benachrichtigungen zusammenfassen</string>
|
<string name="assist_notifications">Meine Benachrichtigungen zusammenfassen</string>
|
||||||
<string name="assist_notifications_prompt">Fasse meine Benachrichtigungen zusammen: Was braucht meine Aufmerksamkeit?</string>
|
<string name="assist_notifications_prompt">Fasse meine Benachrichtigungen zusammen: Was braucht meine Aufmerksamkeit?</string>
|
||||||
<string name="assist_notifications_phrases">meine benachrichtigungen|meinen benachrichtigungen|meiner benachrichtigungen</string>
|
<string name="assist_notifications_phrases">meine benachrichtigungen|meinen benachrichtigungen|meiner benachrichtigungen</string>
|
||||||
<string name="notification_summaries">Zusammenfassungen der Benachrichtigungen</string>
|
<string name="notification_summaries">Zusammenfassungen der Benachrichtigungen</string>
|
||||||
<string name="notification_summaries_switch">Den Assistenten meine Benachrichtigungen lesen lassen, wenn ich frage</string>
|
<string name="notification_summaries_switch">Den Assistenten meine Benachrichtigungen lesen lassen, wenn ich frage</string>
|
||||||
<string name="notification_summaries_line">Sag „fasse meine Benachrichtigungen zusammen“ oder tippe auf den Chip im Assistenten.</string>
|
<string name="notification_summaries_line">Sagen Sie „fasse meine Benachrichtigungen zusammen“ oder tippen Sie auf den Chip im Assistenten.</string>
|
||||||
<string name="notification_summaries_unavailable">Nicht in diesem Build. Das Lesen von Benachrichtigungen braucht den „notifications“-Build von LLeMbas, weil Google Play Protect die Installation einer App von außerhalb des Play Store blockiert, die sie lesen kann. Es ist dieselbe App mit derselben Signatur: Auf der Release-Seite lässt sich die Datei, die auf -notifications.apk endet, über diese installieren.</string>
|
<string name="notification_summaries_unavailable">Nicht in diesem Build. Das Lesen von Benachrichtigungen braucht den „notifications“-Build von LLeMbas, weil Google Play Protect die Installation einer App von außerhalb des Play Store blockiert, die sie lesen kann. Es ist dieselbe App mit derselben Signatur: Auf der Release-Seite lässt sich die Datei, die auf -notifications.apk endet, über diese installieren.</string>
|
||||||
<string name="update_notifications_manual">Dies ist der „notifications“-Build: Installiere das Update von der Release-Seite, die Datei, die auf -notifications.apk endet.</string>
|
<string name="update_notifications_manual">Dies ist der „notifications“-Build: Installiere das Update von der Release-Seite, die Datei, die auf -notifications.apk endet.</string>
|
||||||
<string name="notification_access">Zugriff auf Benachrichtigungen</string>
|
<string name="notification_access">Zugriff auf Benachrichtigungen</string>
|
||||||
<string name="notification_access_on">Erteilt. Der Schalter dafür ist in den Android-Einstellungen.</string>
|
<string name="notification_access_on">Erteilt. Der Schalter dafür ist in den Android-Einstellungen.</string>
|
||||||
<string name="notification_access_off">Noch nicht erteilt. Tippe, um den Android-Schalter für LLeMbas zu öffnen.</string>
|
<string name="notification_access_off">Noch nicht erteilt. Tippen Sie, um den Android-Schalter für LLeMbas zu öffnen.</string>
|
||||||
<string name="notification_summaries_privacy">Standardmäßig aus. Wenn du fragst, geht der Text der Benachrichtigungen, die gerade auf deinem Telefon sind (App, Titel, Text), mit dieser einen Frage an deine Instanz und ihr Modell. Vorher wird nichts gelesen, die App behält nichts davon, und bei gesperrtem Telefon wird nichts gelesen. Der Benachrichtigungszugriff von Android lässt eine App jede Benachrichtigung sehen; ihn zu erteilen und zu entziehen liegt bei dir.</string>
|
<string name="notification_summaries_privacy">Standardmäßig aus. Wenn Sie fragen, geht der Text der Benachrichtigungen, die gerade auf Ihrem Telefon sind (App, Titel, Text), mit dieser einen Frage an Ihre Instanz und ihr Modell. Vorher wird nichts gelesen, die App behält nichts davon, und bei gesperrtem Telefon wird nichts gelesen. Der Benachrichtigungszugriff von Android lässt eine App jede Benachrichtigung sehen; ihn zu erteilen und zu entziehen liegt bei Ihnen.</string>
|
||||||
<string name="nav_app">Navigations-App</string>
|
<string name="nav_app">Navigations-App</string>
|
||||||
<string name="nav_app_auto">Die installierte</string>
|
<string name="nav_app_auto">Die installierte</string>
|
||||||
<string name="nav_app_google">Google Maps</string>
|
<string name="nav_app_google">Google Maps</string>
|
||||||
@@ -647,38 +662,38 @@
|
|||||||
<string name="nav_app_ask">Jedes Mal fragen</string>
|
<string name="nav_app_ask">Jedes Mal fragen</string>
|
||||||
<string name="nav_app_not_installed">Nicht installiert</string>
|
<string name="nav_app_not_installed">Nicht installiert</string>
|
||||||
<string name="osmand_info">OsmAnd nach der Route fragen</string>
|
<string name="osmand_info">OsmAnd nach der Route fragen</string>
|
||||||
<string name="osmand_info_line">Damit „Zwischenstopp hinzufügen“ und die Suche in der Nähe auch mit einer in OsmAnd geplanten Route gehen: LLeMbas fragt OsmAnd, wo du bist und wohin die Route führt. Erlaube LLeMbas zuerst in OsmAnd (verbundene Apps, mit Standort); OsmAnd sagt Bescheid, wenn es nicht erlaubt ist.</string>
|
<string name="osmand_info_line">Damit „Zwischenstopp hinzufügen“ und die Suche in der Nähe auch mit einer in OsmAnd geplanten Route gehen: LLeMbas fragt OsmAnd, wo Sie sind und wohin die Route führt. Erlauben Sie LLeMbas zuerst in OsmAnd (verbundene Apps, mit Standort); OsmAnd sagt Bescheid, wenn es nicht erlaubt ist.</string>
|
||||||
<string name="phone_actions_line">Ein Modell kann anbieten, etwas auf diesem Telefon zu tun — einen Wecker stellen, einen Termin eintragen, eine Nachricht entwerfen, eine Route starten. Nichts passiert, bevor du auf seiner Karte auf Ausführen tippst, und nie bei gesperrtem Telefon. Google Maps startet eine Route mit ein paar Stopps, kann aber keinen in eine laufende Route einfügen und nicht angehalten werden; OsmAnd kann das.</string>
|
<string name="phone_actions_line">Ein Modell kann anbieten, etwas auf diesem Telefon zu tun — einen Wecker stellen, einen Termin eintragen, eine Nachricht entwerfen, eine Route starten. Nichts passiert, bevor Sie auf seiner Karte auf Ausführen tippen, und nie bei gesperrtem Telefon. Google Maps startet eine Route mit ein paar Stopps, kann aber keinen in eine laufende Route einfügen und nicht angehalten werden; OsmAnd kann das.</string>
|
||||||
<string name="action_card_title">Das auf deinem Telefon tun?</string>
|
<string name="action_card_title">Das auf Ihrem Telefon tun?</string>
|
||||||
<string name="action_do">Ausführen</string>
|
<string name="action_do">Ausführen</string>
|
||||||
<string name="action_running">Wird ausgeführt…</string>
|
<string name="action_running">Wird ausgeführt…</string>
|
||||||
<string name="action_unlock">Entsperre zuerst das Telefon und tippe dann auf Ausführen.</string>
|
<string name="action_unlock">Entsperren Sie zuerst das Telefon und tippen Sie dann auf Ausführen.</string>
|
||||||
<string name="action_failed">Hat nicht geklappt: %1$s</string>
|
<string name="action_failed">Hat nicht geklappt: %1$s</string>
|
||||||
<string name="nav_app_pick">Mit welcher Karten-App?</string>
|
<string name="nav_app_pick">Mit welcher Karten-App?</string>
|
||||||
<string name="action_google_add_stop">Google Maps kann keinen Stopp in eine laufende Route einfügen: Es startet die Route neu, über den Stopp.</string>
|
<string name="action_google_add_stop">Google Maps kann keinen Stopp in eine laufende Route einfügen: Es startet die Route neu, über den Stopp.</string>
|
||||||
<string name="action_google_no_stop">Google Maps lässt sich nicht von außen anhalten: Beende die Route dort.</string>
|
<string name="action_google_no_stop">Google Maps lässt sich nicht von außen anhalten: Beende die Route dort.</string>
|
||||||
<string name="action_line_clock">Die Uhr-App stellt es ein.</string>
|
<string name="action_line_clock">Die Uhr-App stellt es ein.</string>
|
||||||
<string name="action_line_calendar">Der Kalender öffnet sich mit dem ausgefüllten Termin; du speicherst ihn.</string>
|
<string name="action_line_calendar">Der Kalender öffnet sich mit dem ausgefüllten Termin; Sie speichern ihn.</string>
|
||||||
<string name="action_line_draft">Öffnet einen Entwurf; du sendest ihn selbst.</string>
|
<string name="action_line_draft">Öffnet einen Entwurf; Sie senden ihn selbst.</string>
|
||||||
<string name="action_line_dial">Die Telefon-App öffnet sich mit der Nummer; du rufst an.</string>
|
<string name="action_line_dial">Die Telefon-App öffnet sich mit der Nummer; Sie rufen an.</string>
|
||||||
<string name="action_line_map">%1$s übernimmt die Route.</string>
|
<string name="action_line_map">%1$s übernimmt die Route.</string>
|
||||||
<string name="action_line_now">Passiert sofort.</string>
|
<string name="action_line_now">Passiert sofort.</string>
|
||||||
<string name="action_line_settings">Öffnet die Einstellung; du änderst sie.</string>
|
<string name="action_line_settings">Öffnet die Einstellung; Sie ändern sie.</string>
|
||||||
<string name="action_line_automation">Startet deine Automatisierung (Tasker, wenn keine andere App genannt ist).</string>
|
<string name="action_line_automation">Startet Ihre Automatisierung (Tasker, wenn keine andere App genannt ist).</string>
|
||||||
<string name="action_line_open">Öffnet es.</string>
|
<string name="action_line_open">Öffnet es.</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="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="assistant_listens">Beim Öffnen des Assistenten zuhören</string>
|
||||||
<string name="voice_input">Spracheingabe</string>
|
<string name="voice_input">Spracheingabe</string>
|
||||||
<string name="voice_input_lembas">LLeMbas</string>
|
<string name="voice_input_lembas">LLeMbas</string>
|
||||||
<string name="voice_input_lembas_line">Die Spracherkennung Ihrer Instanz, über den Server. Die Aufnahme geht an Ihre Instanz und nirgendwo sonst hin.</string>
|
<string name="voice_input_lembas_line">Die Spracherkennung Ihrer Instanz. Dieses Telefon sendet die Aufnahme nur an Ihre Instanz; die Instanz schreibt sie mit dem dort eingerichteten Sprachmodell auf.</string>
|
||||||
<string name="voice_input_phone">Telefon (Google oder das System)</string>
|
<string name="voice_input_phone">Telefon (Google oder das System)</string>
|
||||||
<string name="voice_input_phone_line">Die eigene Spracherkennung des Telefons. Die Wörter erscheinen beim Sprechen; die Aufnahme geht dorthin, wohin diese Erkennung sie schickt.</string>
|
<string name="voice_input_phone_line">Die eigene Spracherkennung des Telefons. Die Wörter erscheinen beim Sprechen; die Aufnahme geht dorthin, wohin diese Erkennung sie schickt.</string>
|
||||||
<string name="voice_input_phone_none">Dieses Telefon hat keine eigene Spracherkennung.</string>
|
<string name="voice_input_phone_none">Dieses Telefon hat keine eigene Spracherkennung.</string>
|
||||||
<string name="voice_input_hint">Wird vom Assistenten und vom Mikrofon im Chat genutzt. Mit LLeMbas zeigt der Assistent die Wörter einen Moment später, und eine Pause sendet sie, ein Chat schreibt sie auf, wenn Sie aufhören; mit der Erkennung des Telefons erscheinen sie beim Sprechen.</string>
|
<string name="voice_input_hint">Wird vom Assistenten und vom Mikrofon im Chat genutzt. Mit LLeMbas zeigt der Assistent die Wörter einen Moment später, und eine Pause sendet sie, ein Chat schreibt sie auf, wenn Sie aufhören; mit der Erkennung des Telefons erscheinen sie beim Sprechen.</string>
|
||||||
<string name="share_sending">Wird an LLeMbas gesendet…</string>
|
<string name="share_sending">Wird an LLeMbas gesendet…</string>
|
||||||
<string name="share_default_prompt">Schauen Sie sich das an.</string>
|
<string name="share_default_prompt">Schau dir das an.</string>
|
||||||
<string name="share_ask_hint">Was soll LLeMbas damit tun? (optional)</string>
|
<string name="share_ask_hint">Was soll LLeMbas damit tun? (optional)</string>
|
||||||
<string name="widget_hint">Frag mich alles</string>
|
<string name="widget_hint">Fragen Sie irgendetwas</string>
|
||||||
<string name="directory_places">Orte auf diesem Gerät</string>
|
<string name="directory_places">Orte auf diesem Gerät</string>
|
||||||
<string name="directory_last_used">Hier zuletzt verwendet: %1$s. Ein neuer Chat in diesem Verzeichnis beginnt damit, sofern Sie kein anderes wählen.</string>
|
<string name="directory_last_used">Hier zuletzt verwendet: %1$s. Ein neuer Chat in diesem Verzeichnis beginnt damit, sofern Sie kein anderes wählen.</string>
|
||||||
<string name="directory_refused">Das Gerät öffnet hier keine Sitzung.</string>
|
<string name="directory_refused">Das Gerät öffnet hier keine Sitzung.</string>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<string name="device_name">LLeMbas para Android</string>
|
<string name="device_name">LLeMbas para Android</string>
|
||||||
<string name="share_label">Preguntar a LLeMbas</string>
|
<string name="share_label">Preguntar a LLeMbas</string>
|
||||||
<string name="tile_ask">Preguntar a LLeMbas</string>
|
<string name="tile_ask">Preguntar a LLeMbas</string>
|
||||||
<string name="signin_intro">Inicie sesión en una instancia de LLeMbas. Aprobará este teléfono en el navegador, igual que haría con la CLI.</string>
|
<string name="signin_intro">Inicie sesión en una instancia de LLeMbas. Aprobará este teléfono en el navegador.</string>
|
||||||
<string name="signin_address">Dirección de la instancia</string>
|
<string name="signin_address">Dirección de la instancia</string>
|
||||||
<string name="signin_continue">Continuar</string>
|
<string name="signin_continue">Continuar</string>
|
||||||
<string name="signin_code_intro">Abra la instancia en el navegador, inicie sesión y apruebe este código:</string>
|
<string name="signin_code_intro">Abra la instancia en el navegador, inicie sesión y apruebe este código:</string>
|
||||||
@@ -12,14 +12,27 @@
|
|||||||
<string name="signin_denied">El inicio de sesión fue rechazado.</string>
|
<string name="signin_denied">El inicio de sesión fue rechazado.</string>
|
||||||
<string name="signin_expired">El código caducó antes de ser aprobado. Inténtelo de nuevo.</string>
|
<string name="signin_expired">El código caducó antes de ser aprobado. Inténtelo de nuevo.</string>
|
||||||
<string name="signin_too_old">Esta instancia usa una versión anterior de LLeMbas. Esta aplicación necesita LLeMbas 2.0 o posterior.</string>
|
<string name="signin_too_old">Esta instancia usa una versión anterior de LLeMbas. Esta aplicación necesita LLeMbas 2.0 o posterior.</string>
|
||||||
<string name="signin_too_new">Esta instancia habla una API de aplicaciones más reciente que esta aplicación. Actualice la aplicación.</string>
|
<string name="signin_too_new">Esta instancia es más reciente de lo que esta aplicación admite. Actualice la aplicación.</string>
|
||||||
|
<string name="signin_not_lembas">No hay ninguna instancia de LLeMbas en esa dirección.</string>
|
||||||
|
<string name="signin_failed">No se pudo completar el inicio de sesión (%1$s). Inténtelo de nuevo.</string>
|
||||||
|
<string name="signin_app_too_old">Esta instancia necesita LLeMbas para Android %1$s o posterior, y esta es la %2$s. Actualice la aplicación.</string>
|
||||||
|
<string name="signin_other_origin">Esta instancia indica para iniciar sesión otra dirección (%1$s) que la que escribió. Su proxy debe transmitir la dirección por la que se accede a ella.</string>
|
||||||
|
<string name="address_needs_https">Esta aplicación necesita una dirección https://: no se admite http sin cifrar.</string>
|
||||||
|
<string name="address_unreadable">La aplicación no puede usar esa dirección. Escriba la dirección de la instancia, por ejemplo llm.example.org.</string>
|
||||||
|
<string name="server_answered">El servidor respondió %1$s.</string>
|
||||||
|
<string name="timed_out">La instancia no respondió a tiempo.</string>
|
||||||
|
<string name="not_trusted">Este teléfono no confía en el certificado de la instancia: instale el certificado de su autoridad de certificación entre los certificados de usuario de Android (Ajustes, Seguridad, Cifrado y credenciales, Instalar un certificado).</string>
|
||||||
|
<string name="signed_out">%1$s cerró la sesión de este teléfono. Inicie sesión de nuevo para continuar: sus chats y lo que configuró aquí se conservan.</string>
|
||||||
|
<string name="signed_out_again">Iniciar sesión de nuevo</string>
|
||||||
|
<string name="signed_out_use">Usar %1$s</string>
|
||||||
|
<string name="signed_out_remove">Quitar esta instancia</string>
|
||||||
<string name="new_chat">Nuevo chat</string>
|
<string name="new_chat">Nuevo chat</string>
|
||||||
<string name="empty_chats">Aún no hay chats. No todos los que vagan están perdidos — empiece uno.</string>
|
<string name="empty_chats">Aún no hay chats. No todos los que vagan están perdidos — empiece uno.</string>
|
||||||
<string name="new_agent_chat">Nuevo chat de agente</string>
|
<string name="new_agent_chat">Nuevo chat de agente</string>
|
||||||
<string name="agent_device">Dispositivo</string>
|
<string name="agent_device">Ordenador</string>
|
||||||
<string name="agent_no_device">Ahora no hay ningún dispositivo vinculado. Inicie `lembas service` en un ordenador con sesión iniciada en esta instancia y vuelva.</string>
|
<string name="agent_no_device">Ahora no hay ningún ordenador vinculado. Inicie el servicio de la CLI de LLeMbas (lembas service) en un ordenador con sesión iniciada en esta instancia y vuelva.</string>
|
||||||
<string name="agent_directory">Carpeta en el dispositivo</string>
|
<string name="agent_directory">Carpeta en el ordenador</string>
|
||||||
<string name="agent_directory_hint">Vacío: la primera carpeta del dispositivo</string>
|
<string name="agent_directory_hint">Vacío: la primera carpeta del ordenador</string>
|
||||||
<string name="empty_chat">¿De qué hablamos?</string>
|
<string name="empty_chat">¿De qué hablamos?</string>
|
||||||
<string name="loading_line">Horneando lembas…</string>
|
<string name="loading_line">Horneando lembas…</string>
|
||||||
<string name="archive">Archivar</string>
|
<string name="archive">Archivar</string>
|
||||||
@@ -162,7 +175,7 @@
|
|||||||
<string name="effort">Esfuerzo</string>
|
<string name="effort">Esfuerzo</string>
|
||||||
<string name="thinking_switch_hint">Más lento, y mejor con preguntas difíciles.</string>
|
<string name="thinking_switch_hint">Más lento, y mejor con preguntas difíciles.</string>
|
||||||
<string name="plan_first">Primero un plan</string>
|
<string name="plan_first">Primero un plan</string>
|
||||||
<string name="plan_first_hint">El modelo escribe un plan que apruebas antes de que actúe.</string>
|
<string name="plan_first_hint">El modelo escribe un plan que usted aprueba antes de que actúe.</string>
|
||||||
<string name="agent_mode">Modo</string>
|
<string name="agent_mode">Modo</string>
|
||||||
<string name="agent_greeting">¿Qué debe hacer el agente?</string>
|
<string name="agent_greeting">¿Qué debe hacer el agente?</string>
|
||||||
<string name="agent_runs_on">Se ejecuta en %1$s, en %2$s</string>
|
<string name="agent_runs_on">Se ejecuta en %1$s, en %2$s</string>
|
||||||
@@ -216,7 +229,7 @@
|
|||||||
<string name="schedule_no_runs">Aún no se ha ejecutado.</string>
|
<string name="schedule_no_runs">Aún no se ha ejecutado.</string>
|
||||||
<string name="schedule_model">Modelo: %1$s</string>
|
<string name="schedule_model">Modelo: %1$s</string>
|
||||||
<string name="schedule_delete_confirm">¿Eliminar esta programación? Sus resultados anteriores se quedan en sus chats.</string>
|
<string name="schedule_delete_confirm">¿Eliminar esta programación? Sus resultados anteriores se quedan en sus chats.</string>
|
||||||
<string name="schedule_words_hint">Di cuándo y qué, con tus palabras. Verás lo que se entendió antes de guardar nada.</string>
|
<string name="schedule_words_hint">Diga cuándo y qué, con sus palabras. Verá lo que se entendió antes de guardar nada.</string>
|
||||||
<string name="schedule_words_example">Cada día laborable a las 7:30, resume las noticias sobre energías renovables</string>
|
<string name="schedule_words_example">Cada día laborable a las 7:30, resume las noticias sobre energías renovables</string>
|
||||||
<string name="schedule_preview">Vista previa</string>
|
<string name="schedule_preview">Vista previa</string>
|
||||||
<string name="schedule_understood">Entendido como</string>
|
<string name="schedule_understood">Entendido como</string>
|
||||||
@@ -252,11 +265,11 @@
|
|||||||
<string name="scheduled_result_public">Una tarea programada tiene un resultado.</string>
|
<string name="scheduled_result_public">Una tarea programada tiene un resultado.</string>
|
||||||
<string name="scheduled_failed_public">Una tarea programada falló.</string>
|
<string name="scheduled_failed_public">Una tarea programada falló.</string>
|
||||||
<string name="page_note">Esta respuesta tiene una página: %1$s</string>
|
<string name="page_note">Esta respuesta tiene una página: %1$s</string>
|
||||||
<string name="page_where">Ábrela en la web o en LLeMbas Desktop para verla.</string>
|
<string name="page_where">Ábrala en la web o en LLeMbas Desktop para verla.</string>
|
||||||
<string name="page_untitled">Página</string>
|
<string name="page_untitled">Página</string>
|
||||||
<string name="reports">Informes</string>
|
<string name="reports">Informes</string>
|
||||||
<string name="report">Informe</string>
|
<string name="report">Informe</string>
|
||||||
<string name="reports_none">Aún no hay informes. Una tarea programada escribe uno cuando tiene algo que decirte.</string>
|
<string name="reports_none">Aún no hay informes. Una tarea programada escribe uno cuando tiene algo que decirle.</string>
|
||||||
<string name="reports_unsupported">Esta instancia ejecuta un LLeMbas que todavía no tiene Informes.</string>
|
<string name="reports_unsupported">Esta instancia ejecuta un LLeMbas que todavía no tiene Informes.</string>
|
||||||
<string name="report_untitled">Informe sin título</string>
|
<string name="report_untitled">Informe sin título</string>
|
||||||
<string name="report_delete_title">¿Eliminar este informe?</string>
|
<string name="report_delete_title">¿Eliminar este informe?</string>
|
||||||
@@ -347,7 +360,7 @@
|
|||||||
<string name="viewer_copy">Copiar</string>
|
<string name="viewer_copy">Copiar</string>
|
||||||
<string name="viewer_html_source">Este es el código fuente de la página. Ábrala en el navegador para ver la página.</string>
|
<string name="viewer_html_source">Este es el código fuente de la página. Ábrala en el navegador para ver la página.</string>
|
||||||
<string name="viewer_long_markdown">Un archivo largo, por eso se muestra como texto sin formato.</string>
|
<string name="viewer_long_markdown">Un archivo largo, por eso se muestra como texto sin formato.</string>
|
||||||
<string name="viewer_unavailable">Este servidor todavía no puede entregar el archivo a la aplicación. Ábralo en el navegador.</string>
|
<string name="viewer_unavailable">Esta instancia todavía no puede entregar el archivo a la aplicación. Ábralo en el navegador.</string>
|
||||||
<string name="viewer_too_large">Este archivo es demasiado grande para mostrarlo; se puede mostrar como máximo 1 MB.</string>
|
<string name="viewer_too_large">Este archivo es demasiado grande para mostrarlo; se puede mostrar como máximo 1 MB.</string>
|
||||||
<string name="viewer_not_text">No es un archivo de texto, así que no se muestra aquí.</string>
|
<string name="viewer_not_text">No es un archivo de texto, así que no se muestra aquí.</string>
|
||||||
<string name="files">Archivos</string>
|
<string name="files">Archivos</string>
|
||||||
@@ -464,6 +477,8 @@
|
|||||||
<string name="sign_out">Cerrar sesión</string>
|
<string name="sign_out">Cerrar sesión</string>
|
||||||
<string name="add_instance">Añadir una instancia</string>
|
<string name="add_instance">Añadir una instancia</string>
|
||||||
<string name="instance_default">Predeterminado</string>
|
<string name="instance_default">Predeterminado</string>
|
||||||
|
<string name="instance_set_default">Establecer como predeterminada</string>
|
||||||
|
<string name="instance_switch">Cambiar de instancia</string>
|
||||||
<string name="settings_theme">Tema</string>
|
<string name="settings_theme">Tema</string>
|
||||||
<string name="theme_system">Como el sistema</string>
|
<string name="theme_system">Como el sistema</string>
|
||||||
<string name="theme_moria">Moria (oscuro)</string>
|
<string name="theme_moria">Moria (oscuro)</string>
|
||||||
@@ -488,7 +503,7 @@
|
|||||||
<string name="assistant_open_settings">Abrir los ajustes del asistente</string>
|
<string name="assistant_open_settings">Abrir los ajustes del asistente</string>
|
||||||
<string name="assistant_model">Modelo del asistente</string>
|
<string name="assistant_model">Modelo del asistente</string>
|
||||||
<string name="assistant_model_default">Predeterminado de la instancia</string>
|
<string name="assistant_model_default">Predeterminado de la instancia</string>
|
||||||
<string name="assistant_model_default_line">El modelo con el que empiezan tus chats nuevos. Si es demasiado lento para una pregunta hablada, elige abajo uno más rápido.</string>
|
<string name="assistant_model_default_line">El modelo con el que empiezan sus chats nuevos. Si es demasiado lento para una pregunta hablada, elija abajo uno más rápido.</string>
|
||||||
<string name="assistant_samsung">En los teléfonos Samsung: Ajustes › Funciones avanzadas › Botón lateral › Mantener pulsado › Asistente digital.</string>
|
<string name="assistant_samsung">En los teléfonos Samsung: Ajustes › Funciones avanzadas › Botón lateral › Mantener pulsado › Asistente digital.</string>
|
||||||
<string name="assistant_temporary">Los chats del asistente son temporales</string>
|
<string name="assistant_temporary">Los chats del asistente son temporales</string>
|
||||||
<string name="assistant_read_aloud">Leer la respuesta en voz alta cuando se pregunte por voz</string>
|
<string name="assistant_read_aloud">Leer la respuesta en voz alta cuando se pregunte por voz</string>
|
||||||
@@ -504,7 +519,7 @@
|
|||||||
<string name="update_available">%1$s está disponible. Toque para abrir su página de publicación.</string>
|
<string name="update_available">%1$s está disponible. Toque para abrir su página de publicación.</string>
|
||||||
<string name="update_install">Instalar %1$s</string>
|
<string name="update_install">Instalar %1$s</string>
|
||||||
<string name="update_auto">Buscar nuevas versiones</string>
|
<string name="update_auto">Buscar nuevas versiones</string>
|
||||||
<string name="update_auto_line">Como mucho una vez al día, al iniciarse, la aplicación pregunta a su instancia qué versión le corresponde (con una instancia más antigua, lee la lista de versiones en GitHub) y le avisa con una notificación cuando hay una más reciente. No se envía nada sobre usted a ningún otro sitio. Activado por defecto en una beta; si no, desactivado.</string>
|
<string name="update_auto_line">Como mucho una vez al día, al iniciarse, la aplicación pregunta a su instancia qué versión le corresponde —o lee la lista de versiones en GitHub cuando la instancia no puede decirlo— y le avisa con una notificación cuando hay una más reciente. Con ninguna de las dos consultas se envía nada sobre usted. Activado por defecto en una beta; si no, desactivado.</string>
|
||||||
<string name="update_betas">Incluir betas</string>
|
<string name="update_betas">Incluir betas</string>
|
||||||
<string name="update_betas_line">Ofrecer también versiones de prueba, no solo publicaciones. Activado por defecto cuando esta aplicación es una beta.</string>
|
<string name="update_betas_line">Ofrecer también versiones de prueba, no solo publicaciones. Activado por defecto cuando esta aplicación es una beta.</string>
|
||||||
<string name="channel_updates">Actualizaciones de la aplicación</string>
|
<string name="channel_updates">Actualizaciones de la aplicación</string>
|
||||||
@@ -540,49 +555,49 @@
|
|||||||
<string name="assist_writing_down">Escribiendo lo que ha dicho…</string>
|
<string name="assist_writing_down">Escribiendo lo que ha dicho…</string>
|
||||||
<string name="assist_unlock_to_send">Desbloquear para enviar</string>
|
<string name="assist_unlock_to_send">Desbloquear para enviar</string>
|
||||||
<string name="assist_question_heard">Pregunta oída</string>
|
<string name="assist_question_heard">Pregunta oída</string>
|
||||||
<string name="assist_recording_waits_line">El teléfono está bloqueado. Tu pregunta espera en este teléfono como grabación; no se ha enviado nada. Al desbloquear se envía a tu instancia para transcribirla y responderla.</string>
|
<string name="assist_recording_waits_line">El teléfono está bloqueado. Su pregunta espera en este teléfono como grabación; no se ha enviado nada. Al desbloquear se envía a su instancia para transcribirla y responderla.</string>
|
||||||
<string name="assist_locked_line">El teléfono está bloqueado. Hasta que lo desbloquees no se envía nada ni se muestra ninguna respuesta.</string>
|
<string name="assist_locked_line">El teléfono está bloqueado. Hasta que lo desbloquee no se envía nada ni se muestra ninguna respuesta.</string>
|
||||||
<string name="assist_conversation">En conversación</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_line">Vuelvo a escuchar después de cada respuesta. Diga «para» para terminar.</string>
|
||||||
<string name="assist_conversation_end">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="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">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="assistant_conversation_line">Después de leer en voz alta una respuesta hablada, el asistente vuelve a escuchar, hasta que diga «para», toque Terminar o no diga nada durante unos segundos. Funciona con auriculares.</string>
|
||||||
<string name="experimental">Experimental</string>
|
<string name="experimental">Experimental</string>
|
||||||
<string name="wake_experimental_line">Nuevo y probado por ahora en pocos teléfonos. Puede no oír la frase, activarse por error u oírte y aun así no abrir el asistente.</string>
|
<string name="wake_experimental_line">Nuevo y probado por ahora en pocos teléfonos. Puede no oír la frase, activarse por error u oírle y aun así no abrir el asistente.</string>
|
||||||
<string name="assistant_voice_experimental_line">Experimental: escuchar por sí solo al abrir el asistente, notar cuándo has terminado de hablar y la conversación hablada son nuevos y todavía no funcionan bien en todos los teléfonos. Escribir una pregunta y el botón del micrófono funcionan siempre.</string>
|
<string name="assistant_voice_experimental_line">Experimental: escuchar por sí solo al abrir el asistente, notar cuándo ha terminado de hablar y la conversación hablada son nuevos y todavía no funcionan bien en todos los teléfonos. Escribir una pregunta y el botón del micrófono funcionan siempre.</string>
|
||||||
<string name="assist_wake_word_hint">Sin palabra de activación salvo que quieras una: Ajustes › Asistente › Palabra de activación activa la propia de LLeMbas, en este teléfono.</string>
|
<string name="assist_wake_word_hint">Sin palabra de activación salvo que quiera una: Ajustes › Palabra de activación activa la propia de LLeMbas, en este teléfono.</string>
|
||||||
<string name="channel_wake">Palabra de activación</string>
|
<string name="channel_wake">Palabra de activación</string>
|
||||||
<string name="wake_word">Palabra de activación</string>
|
<string name="wake_word">Palabra de activación</string>
|
||||||
<string name="wake_word_listen">Escuchar una palabra de activación</string>
|
<string name="wake_word_listen">Escuchar una palabra de activación</string>
|
||||||
<string name="wake_word_line">Desactivado por defecto. Di la frase y el asistente se abre escuchando, sobre la app que esté en pantalla.</string>
|
<string name="wake_word_line">Desactivado por defecto. Diga la frase y el asistente se abre escuchando, sobre la app que esté en pantalla.</string>
|
||||||
<string name="wake_word_unavailable">No en esta versión. La versión de F-Droid no tiene motor de palabra de activación, porque F-Droid compila cada biblioteca desde el código fuente; la de llembas.eu sí lo tiene.</string>
|
<string name="wake_word_unavailable">No en esta versión. La versión de F-Droid no tiene motor de palabra de activación, porque F-Droid compila cada biblioteca desde el código fuente; la de llembas.eu sí lo tiene.</string>
|
||||||
<string name="wake_phrase_line">Lo que dices, y después una pausa breve: cuenta cuando te callas. En inglés, sea cual sea el idioma de la app: el motor solo conoce el habla inglesa.</string>
|
<string name="wake_phrase_line">Lo que dice, y después una pausa breve: cuenta cuando se calla. En inglés, sea cual sea el idioma de la app: el motor solo conoce el habla inglesa.</string>
|
||||||
<string name="wake_greeting">Saludo</string>
|
<string name="wake_greeting">Saludo</string>
|
||||||
<string name="wake_name">Nombre</string>
|
<string name="wake_name">Nombre</string>
|
||||||
<string name="wake_name_google_line">Un teléfono o altavoz de Google cercano también responderá.</string>
|
<string name="wake_name_google_line">Un teléfono o altavoz de Google cercano también responderá.</string>
|
||||||
<string name="wake_sensitivity">Sensibilidad</string>
|
<string name="wake_sensitivity">Sensibilidad</string>
|
||||||
<string name="wake_sensitivity_low">Baja</string>
|
<string name="wake_sensitivity_low">Baja</string>
|
||||||
<string name="wake_sensitivity_low_line">Es la que menos se activa por error. Puede que tengas que decir la frase con más claridad, o dos veces.</string>
|
<string name="wake_sensitivity_low_line">Es la que menos se activa por error. Puede que tenga que decir la frase con más claridad, o dos veces.</string>
|
||||||
<string name="wake_sensitivity_normal">Normal</string>
|
<string name="wake_sensitivity_normal">Normal</string>
|
||||||
<string name="wake_sensitivity_normal_line">El ajuste propio del motor.</string>
|
<string name="wake_sensitivity_normal_line">El ajuste propio del motor.</string>
|
||||||
<string name="wake_sensitivity_high">Alta</string>
|
<string name="wake_sensitivity_high">Alta</string>
|
||||||
<string name="wake_sensitivity_high_line">Te oye con más facilidad, también desde más lejos. Se activa por error más a menudo.</string>
|
<string name="wake_sensitivity_high_line">Le oye con más facilidad, también desde más lejos. Se activa por error más a menudo.</string>
|
||||||
<string name="wake_test">Probar la palabra de activación</string>
|
<string name="wake_test">Probar la palabra de activación</string>
|
||||||
<string name="wake_test_line">Durante diez segundos muestra si se oye tu frase, sin abrir el asistente.</string>
|
<string name="wake_test_line">Durante diez segundos muestra si se oye su frase, sin abrir el asistente.</string>
|
||||||
<string name="wake_test_say">Di «%1$s» ahora y haz una pausa…</string>
|
<string name="wake_test_say">Diga «%1$s» ahora y haga una pausa…</string>
|
||||||
<string name="wake_test_heard">Oída</string>
|
<string name="wake_test_heard">Oída</string>
|
||||||
<string name="wake_test_missed">No se ha oído en diez segundos. Prueba más cerca del teléfono, en un momento más tranquilo o con más sensibilidad.</string>
|
<string name="wake_test_missed">No se ha oído en diez segundos. Pruebe más cerca del teléfono, en un momento más tranquilo o con más sensibilidad.</string>
|
||||||
<string name="wake_test_off">Activa primero la palabra de activación.</string>
|
<string name="wake_test_off">Active primero la palabra de activación.</string>
|
||||||
<string name="wake_screen_only">Solo con la pantalla encendida</string>
|
<string name="wake_screen_only">Solo con la pantalla encendida</string>
|
||||||
<string name="wake_screen_only_line">Desactivado: también escucha con la pantalla apagada, con más gasto de batería.</string>
|
<string name="wake_screen_only_line">Desactivado: también escucha con la pantalla apagada, con más gasto de batería.</string>
|
||||||
<string name="wake_battery">Dejar que funcione en segundo plano</string>
|
<string name="wake_battery">Dejar que funcione en segundo plano</string>
|
||||||
<string name="wake_battery_line">Algunos teléfonos (Samsung, Xiaomi, Huawei, OnePlus y otros) detienen las apps en segundo plano para ahorrar batería, y con ellas la palabra de activación. Excluye aquí a LLeMbas de la optimización de batería; dontkillmyapp.com explica los ajustes de tu teléfono.</string>
|
<string name="wake_battery_line">Algunos teléfonos (Samsung, Xiaomi, Huawei, OnePlus y otros) detienen las apps en segundo plano para ahorrar batería, y con ellas la palabra de activación. Excluya aquí a LLeMbas de la optimización de batería; dontkillmyapp.com explica los ajustes de su teléfono.</string>
|
||||||
<string name="wake_word_privacy">Nada sale del teléfono antes de la palabra. El sonido del micrófono va solo al motor de palabra de activación del teléfono y no se guarda; la notificación se mantiene mientras escucha. Las frases están en inglés; el motor es sherpa-onnx (código abierto).</string>
|
<string name="wake_word_privacy">Nada sale del teléfono antes de la palabra. El sonido del micrófono va solo al motor de palabra de activación del teléfono y no se guarda; la notificación se mantiene mientras escucha. Las frases están en inglés; el motor es sherpa-onnx (código abierto).</string>
|
||||||
<string name="wake_word_cost">Gasta batería: el micrófono sigue encendido y el procesador del teléfono revisa cada instante de sonido, sin el chip de bajo consumo que usa el asistente integrado. Se pausa en ahorro de batería, mientras el asistente está abierto y, salvo que lo cambies, con la pantalla apagada. Tras reiniciar, toca su notificación para volver a iniciarlo.</string>
|
<string name="wake_word_cost">Gasta batería: el micrófono sigue encendido y el procesador del teléfono revisa cada instante de sonido, sin el chip de bajo consumo que usa el asistente integrado. Se pausa en ahorro de batería, mientras el asistente está abierto y, salvo que lo cambie, con la pantalla apagada. Tras reiniciar, toque su notificación para volver a iniciarlo.</string>
|
||||||
<string name="wake_listening_for">Escuchando «%1$s»</string>
|
<string name="wake_listening_for">Escuchando «%1$s»</string>
|
||||||
<string name="wake_off">La palabra de activación no está escuchando</string>
|
<string name="wake_off">La palabra de activación no está escuchando</string>
|
||||||
<string name="wake_tap_to_start">Toca para iniciarla de nuevo. Si Android pregunta, permite el micrófono.</string>
|
<string name="wake_tap_to_start">Toque para iniciarla de nuevo. Si Android pregunta, permita el micrófono.</string>
|
||||||
<string name="wake_starting">Iniciando la palabra de activación…</string>
|
<string name="wake_starting">Iniciando la palabra de activación…</string>
|
||||||
<string name="wake_paused_silent">La palabra de activación no oye nada: otra app tiene el micrófono, o el micrófono del teléfono está apagado</string>
|
<string name="wake_paused_silent">La palabra de activación no oye nada: otra app tiene el micrófono, o el micrófono del teléfono está apagado</string>
|
||||||
<string name="wake_failed_no_engine">La palabra de activación no funciona: esta versión no tiene motor</string>
|
<string name="wake_failed_no_engine">La palabra de activación no funciona: esta versión no tiene motor</string>
|
||||||
@@ -590,17 +605,17 @@
|
|||||||
<string name="wake_failed_engine">La palabra de activación no funciona: el motor no se inició</string>
|
<string name="wake_failed_engine">La palabra de activación no funciona: el motor no se inició</string>
|
||||||
<string name="wake_failed_microphone">La palabra de activación no funciona: el micrófono no se inició</string>
|
<string name="wake_failed_microphone">La palabra de activación no funciona: el micrófono no se inició</string>
|
||||||
<string name="wake_failed_line">No está escuchando. Lo intenta de nuevo por sí sola.</string>
|
<string name="wake_failed_line">No está escuchando. Lo intenta de nuevo por sí sola.</string>
|
||||||
<string name="wake_notification_line">Nada sale del teléfono hasta que lo digas.</string>
|
<string name="wake_notification_line">Nada sale del teléfono hasta que lo diga.</string>
|
||||||
<string name="wake_paused_screen">Palabra de activación en pausa: la pantalla está apagada</string>
|
<string name="wake_paused_screen">Palabra de activación en pausa: la pantalla está apagada</string>
|
||||||
<string name="wake_paused_battery">Palabra de activación en pausa: ahorro de batería activado</string>
|
<string name="wake_paused_battery">Palabra de activación en pausa: ahorro de batería activado</string>
|
||||||
<string name="wake_paused_assistant">Palabra de activación en pausa mientras el asistente está abierto</string>
|
<string name="wake_paused_assistant">Palabra de activación en pausa mientras el asistente está abierto</string>
|
||||||
<string name="wake_paused_microphone">Palabra de activación en pausa: LLeMbas no tiene permiso para usar el micrófono</string>
|
<string name="wake_paused_microphone">Palabra de activación en pausa: LLeMbas no tiene permiso para usar el micrófono</string>
|
||||||
<string name="wake_stop">Dejar de escuchar</string>
|
<string name="wake_stop">Dejar de escuchar</string>
|
||||||
<string name="wake_heard">Te he oído. Toca para preguntar.</string>
|
<string name="wake_heard">Le he oído. Toque para preguntar.</string>
|
||||||
<string name="channel_wake_heard">Palabra de activación oída</string>
|
<string name="channel_wake_heard">Palabra de activación oída</string>
|
||||||
<string name="wake_heard_line">LLeMbas solo puede abrirse por sí mismo sobre otras apps si es la app de asistente digital del teléfono.</string>
|
<string name="wake_heard_line">LLeMbas solo puede abrirse por sí mismo sobre otras apps si es la app de asistente digital del teléfono.</string>
|
||||||
<string name="wake_not_assistant">LLeMbas no es la app de asistente digital</string>
|
<string name="wake_not_assistant">LLeMbas no es la app de asistente digital</string>
|
||||||
<string name="wake_not_assistant_line">Por eso la palabra de activación no puede abrir el asistente sobre otras apps: recibes una notificación que tocar. Para abrir con la voz en cualquier parte, toca aquí y elige LLeMbas como app de asistente digital.</string>
|
<string name="wake_not_assistant_line">Por eso la palabra de activación no puede abrir el asistente sobre otras apps: recibe una notificación que tocar. Para abrir con la voz en cualquier parte, toque aquí y elija LLeMbas como app de asistente digital.</string>
|
||||||
<string name="wake_last">Última activación</string>
|
<string name="wake_last">Última activación</string>
|
||||||
<string name="wake_last_none">Todavía no ha oído la frase.</string>
|
<string name="wake_last_none">Todavía no ha oído la frase.</string>
|
||||||
<string name="wake_out_opened">Abrió el asistente.</string>
|
<string name="wake_out_opened">Abrió el asistente.</string>
|
||||||
@@ -622,24 +637,24 @@
|
|||||||
<string name="wake_waited">Esperó un momento a que Android lo conectara.</string>
|
<string name="wake_waited">Esperó un momento a que Android lo conectara.</string>
|
||||||
<string name="wake_show_failed">Android dijo que no pudo mostrar el panel del asistente.</string>
|
<string name="wake_show_failed">Android dijo que no pudo mostrar el panel del asistente.</string>
|
||||||
<string name="wake_assistant_inactive">Android no está usando LLeMbas como asistente de voz ahora mismo</string>
|
<string name="wake_assistant_inactive">Android no está usando LLeMbas como asistente de voz ahora mismo</string>
|
||||||
<string name="wake_assistant_inactive_line">Elige de nuevo LLeMbas como app de asistente digital: toca aquí, elige otra app y luego LLeMbas. Hasta entonces la pulsación larga lo abre como una pantalla normal y la palabra de activación solo puede enviar una notificación.</string>
|
<string name="wake_assistant_inactive_line">Elija de nuevo LLeMbas como app de asistente digital: toque aquí, elija otra app y luego LLeMbas. Hasta entonces la pulsación larga lo abre como una pantalla normal y la palabra de activación solo puede enviar una notificación.</string>
|
||||||
<string name="wake_assistant_unbound">LLeMbas es el asistente, pero Android no lo tiene conectado ahora mismo</string>
|
<string name="wake_assistant_unbound">LLeMbas es el asistente, pero Android no lo tiene conectado ahora mismo</string>
|
||||||
<string name="wake_assistant_unbound_line">Hasta que lo conecte, la palabra de activación no puede abrir el panel por sí sola. Toca para ir al ajuste del asistente del sistema: elegir otra app y luego LLeMbas de nuevo lo conecta.</string>
|
<string name="wake_assistant_unbound_line">Hasta que lo conecte, la palabra de activación no puede abrir el panel por sí sola. Toque para ir al ajuste del asistente del sistema: elegir otra app y luego LLeMbas de nuevo lo conecta.</string>
|
||||||
<string name="wake_heard_could_not">No pudo abrirse por sí solo: toca para preguntar</string>
|
<string name="wake_heard_could_not">No pudo abrirse por sí solo: toque para preguntar</string>
|
||||||
<string name="wake_resume">Volver a escuchar la palabra de activación</string>
|
<string name="wake_resume">Volver a escuchar la palabra de activación</string>
|
||||||
<string name="wake_resume_line">El teléfono se reinició. Toca para volver a escuchar.</string>
|
<string name="wake_resume_line">El teléfono se reinició. Toque para volver a escuchar.</string>
|
||||||
<string name="assist_notifications">Resumir mis notificaciones</string>
|
<string name="assist_notifications">Resumir mis notificaciones</string>
|
||||||
<string name="assist_notifications_prompt">Resume mis notificaciones: ¿qué necesita mi atención?</string>
|
<string name="assist_notifications_prompt">Resume mis notificaciones: ¿qué necesita mi atención?</string>
|
||||||
<string name="assist_notifications_phrases">mis notificaciones</string>
|
<string name="assist_notifications_phrases">mis notificaciones</string>
|
||||||
<string name="notification_summaries">Resúmenes de notificaciones</string>
|
<string name="notification_summaries">Resúmenes de notificaciones</string>
|
||||||
<string name="notification_summaries_switch">Dejar que el asistente lea mis notificaciones cuando lo pida</string>
|
<string name="notification_summaries_switch">Dejar que el asistente lea mis notificaciones cuando lo pida</string>
|
||||||
<string name="notification_summaries_line">Pide «resume mis notificaciones» o toca el botón en el asistente.</string>
|
<string name="notification_summaries_line">Pida «resume mis notificaciones» o toque el botón en el asistente.</string>
|
||||||
<string name="notification_summaries_unavailable">No en esta versión. Leer notificaciones requiere la versión «notifications» de LLeMbas, porque Google Play Protect bloquea la instalación de una app de fuera de Play Store que pueda leerlas. Es la misma app con la misma firma: en la página de la versión, el archivo que termina en -notifications.apk se instala sobre esta.</string>
|
<string name="notification_summaries_unavailable">No en esta versión. Leer notificaciones requiere la versión «notifications» de LLeMbas, porque Google Play Protect bloquea la instalación de una app de fuera de Play Store que pueda leerlas. Es la misma app con la misma firma: en la página de la versión, el archivo que termina en -notifications.apk se instala sobre esta.</string>
|
||||||
<string name="update_notifications_manual">Esta es la versión «notifications»: instala la actualización desde su página, el archivo que termina en -notifications.apk.</string>
|
<string name="update_notifications_manual">Esta es la versión «notifications»: instala la actualización desde su página, el archivo que termina en -notifications.apk.</string>
|
||||||
<string name="notification_access">Acceso a notificaciones</string>
|
<string name="notification_access">Acceso a notificaciones</string>
|
||||||
<string name="notification_access_on">Concedido. El interruptor de Android está en los ajustes del sistema.</string>
|
<string name="notification_access_on">Concedido. El interruptor de Android está en los ajustes del sistema.</string>
|
||||||
<string name="notification_access_off">Aún no concedido. Toca para abrir el interruptor de Android para LLeMbas.</string>
|
<string name="notification_access_off">Aún no concedido. Toque para abrir el interruptor de Android para LLeMbas.</string>
|
||||||
<string name="notification_summaries_privacy">Desactivado por defecto. Cuando lo pides, el texto de las notificaciones que hay ahora en tu teléfono (app, título, texto) va con esa única pregunta a tu instancia y su modelo. No se lee nada antes, la app no guarda nada y no se lee nada con el teléfono bloqueado. El acceso a notificaciones de Android permite a una app ver todas las notificaciones; darlo y retirarlo es cosa tuya.</string>
|
<string name="notification_summaries_privacy">Desactivado por defecto. Cuando lo pide, el texto de las notificaciones que hay ahora en su teléfono (app, título, texto) va con esa única pregunta a su instancia y su modelo. No se lee nada antes, la app no guarda nada y no se lee nada con el teléfono bloqueado. El acceso a notificaciones de Android permite a una app ver todas las notificaciones; darlo y retirarlo es cosa suya.</string>
|
||||||
<string name="nav_app">App de navegación</string>
|
<string name="nav_app">App de navegación</string>
|
||||||
<string name="nav_app_auto">La que esté instalada</string>
|
<string name="nav_app_auto">La que esté instalada</string>
|
||||||
<string name="nav_app_google">Google Maps</string>
|
<string name="nav_app_google">Google Maps</string>
|
||||||
@@ -647,38 +662,38 @@
|
|||||||
<string name="nav_app_ask">Preguntar cada vez</string>
|
<string name="nav_app_ask">Preguntar cada vez</string>
|
||||||
<string name="nav_app_not_installed">No instalada</string>
|
<string name="nav_app_not_installed">No instalada</string>
|
||||||
<string name="osmand_info">Preguntar a OsmAnd por la ruta</string>
|
<string name="osmand_info">Preguntar a OsmAnd por la ruta</string>
|
||||||
<string name="osmand_info_line">Permite «añadir una parada» y buscar cerca de ti con una ruta creada en el propio OsmAnd: LLeMbas pregunta a OsmAnd dónde estás y adónde va la ruta. Primero permite LLeMbas en OsmAnd (apps conectadas, con ubicación); OsmAnd te avisa si no está permitido.</string>
|
<string name="osmand_info_line">Permite «añadir una parada» y buscar cerca de usted con una ruta creada en el propio OsmAnd: LLeMbas pregunta a OsmAnd dónde está usted y adónde va la ruta. Primero permita LLeMbas en OsmAnd (apps conectadas, con ubicación); OsmAnd le avisa si no está permitido.</string>
|
||||||
<string name="phone_actions_line">Un modelo puede ofrecer hacer cosas en este teléfono: poner una alarma, añadir un evento, redactar un mensaje, iniciar una ruta. No pasa nada hasta que tocas Hacerlo en su tarjeta, y nunca con el teléfono bloqueado. Google Maps inicia una ruta con unas pocas paradas, pero no puede añadir una a una ruta en curso ni detenerse a petición; OsmAnd sí.</string>
|
<string name="phone_actions_line">Un modelo puede ofrecer hacer cosas en este teléfono: poner una alarma, añadir un evento, redactar un mensaje, iniciar una ruta. No pasa nada hasta que toca Hacerlo en su tarjeta, y nunca con el teléfono bloqueado. Google Maps inicia una ruta con unas pocas paradas, pero no puede añadir una a una ruta en curso ni detenerse a petición; OsmAnd sí.</string>
|
||||||
<string name="action_card_title">¿Hacer esto en tu teléfono?</string>
|
<string name="action_card_title">¿Hacer esto en su teléfono?</string>
|
||||||
<string name="action_do">Hacerlo</string>
|
<string name="action_do">Hacerlo</string>
|
||||||
<string name="action_running">Haciéndolo…</string>
|
<string name="action_running">Haciéndolo…</string>
|
||||||
<string name="action_unlock">Desbloquea primero el teléfono y luego toca Hacerlo.</string>
|
<string name="action_unlock">Desbloquee primero el teléfono y luego toque Hacerlo.</string>
|
||||||
<string name="action_failed">No funcionó: %1$s</string>
|
<string name="action_failed">No funcionó: %1$s</string>
|
||||||
<string name="nav_app_pick">¿Con qué app de mapas?</string>
|
<string name="nav_app_pick">¿Con qué app de mapas?</string>
|
||||||
<string name="action_google_add_stop">Google Maps no puede añadir una parada a una ruta en curso: vuelve a iniciar la ruta, pasando por la parada.</string>
|
<string name="action_google_add_stop">Google Maps no puede añadir una parada a una ruta en curso: vuelve a iniciar la ruta, pasando por la parada.</string>
|
||||||
<string name="action_google_no_stop">A Google Maps no se le puede pedir que pare: termina la ruta allí.</string>
|
<string name="action_google_no_stop">A Google Maps no se le puede pedir que pare: termina la ruta allí.</string>
|
||||||
<string name="action_line_clock">La app de reloj lo programa.</string>
|
<string name="action_line_clock">La app de reloj lo programa.</string>
|
||||||
<string name="action_line_calendar">El calendario se abre con el evento rellenado; tú lo guardas.</string>
|
<string name="action_line_calendar">El calendario se abre con el evento rellenado; usted lo guarda.</string>
|
||||||
<string name="action_line_draft">Abre un borrador; lo envías tú.</string>
|
<string name="action_line_draft">Abre un borrador; lo envía usted.</string>
|
||||||
<string name="action_line_dial">El marcador se abre con el número; tú haces la llamada.</string>
|
<string name="action_line_dial">El marcador se abre con el número; usted hace la llamada.</string>
|
||||||
<string name="action_line_map">%1$s se encarga de la ruta.</string>
|
<string name="action_line_map">%1$s se encarga de la ruta.</string>
|
||||||
<string name="action_line_now">Ocurre al instante.</string>
|
<string name="action_line_now">Ocurre al instante.</string>
|
||||||
<string name="action_line_settings">Abre el ajuste; tú lo cambias.</string>
|
<string name="action_line_settings">Abre el ajuste; usted lo cambia.</string>
|
||||||
<string name="action_line_automation">Ejecuta tu automatización (Tasker salvo que se indique otra app).</string>
|
<string name="action_line_automation">Ejecuta su automatización (Tasker salvo que se indique otra app).</string>
|
||||||
<string name="action_line_open">Lo abre.</string>
|
<string name="action_line_open">Lo abre.</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="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="assistant_listens">Empezar a escuchar al abrir el asistente</string>
|
||||||
<string name="voice_input">Entrada de voz</string>
|
<string name="voice_input">Entrada de voz</string>
|
||||||
<string name="voice_input_lembas">LLeMbas</string>
|
<string name="voice_input_lembas">LLeMbas</string>
|
||||||
<string name="voice_input_lembas_line">La conversión de voz a texto de su instancia, a través del servidor. La grabación va a su instancia y a ningún otro sitio.</string>
|
<string name="voice_input_lembas_line">La conversión de voz a texto de su instancia. Este teléfono envía la grabación solo a su instancia; la instancia la transcribe con el modelo de voz configurado en ella.</string>
|
||||||
<string name="voice_input_phone">Teléfono (Google o el del sistema)</string>
|
<string name="voice_input_phone">Teléfono (Google o el del sistema)</string>
|
||||||
<string name="voice_input_phone_line">El reconocimiento de voz del propio teléfono. Las palabras aparecen mientras habla; la grabación va adonde ese reconocimiento la envíe.</string>
|
<string name="voice_input_phone_line">El reconocimiento de voz del propio teléfono. Las palabras aparecen mientras habla; la grabación va adonde ese reconocimiento la envíe.</string>
|
||||||
<string name="voice_input_phone_none">Este teléfono no tiene reconocimiento de voz propio.</string>
|
<string name="voice_input_phone_none">Este teléfono no tiene reconocimiento de voz propio.</string>
|
||||||
<string name="voice_input_hint">La usan el asistente y el micrófono de un chat. Con LLeMbas el asistente muestra las palabras un momento después y una pausa las envía, y un chat las escribe cuando usted para; con el reconocimiento del teléfono aparecen mientras habla.</string>
|
<string name="voice_input_hint">La usan el asistente y el micrófono de un chat. Con LLeMbas el asistente muestra las palabras un momento después y una pausa las envía, y un chat las escribe cuando usted para; con el reconocimiento del teléfono aparecen mientras habla.</string>
|
||||||
<string name="share_sending">Enviando a LLeMbas…</string>
|
<string name="share_sending">Enviando a LLeMbas…</string>
|
||||||
<string name="share_default_prompt">Échele un vistazo a esto.</string>
|
<string name="share_default_prompt">Échale un vistazo a esto.</string>
|
||||||
<string name="share_ask_hint">¿Qué debe hacer LLeMbas con esto? (opcional)</string>
|
<string name="share_ask_hint">¿Qué debe hacer LLeMbas con esto? (opcional)</string>
|
||||||
<string name="widget_hint">Pregunta lo que quieras</string>
|
<string name="widget_hint">Pregunte lo que quiera</string>
|
||||||
<string name="directory_places">Lugares de este dispositivo</string>
|
<string name="directory_places">Lugares de este dispositivo</string>
|
||||||
<string name="directory_last_used">Último usado aquí: %1$s. Un chat nuevo en este directorio empieza con él salvo que elija otro.</string>
|
<string name="directory_last_used">Último usado aquí: %1$s. Un chat nuevo en este directorio empieza con él salvo que elija otro.</string>
|
||||||
<string name="directory_refused">El dispositivo no abrirá una sesión aquí.</string>
|
<string name="directory_refused">El dispositivo no abrirá una sesión aquí.</string>
|
||||||
@@ -717,6 +732,6 @@
|
|||||||
<string name="run_model_default">su modelo predeterminado</string>
|
<string name="run_model_default">su modelo predeterminado</string>
|
||||||
<string name="run_model_session">el modelo propio de la conversación</string>
|
<string name="run_model_session">el modelo propio de la conversación</string>
|
||||||
<string name="widget_speak">Hablar</string>
|
<string name="widget_speak">Hablar</string>
|
||||||
<string name="widget_description">Pregunta por voz o por texto, o continúa el último chat del asistente. No muestra nada de tu cuenta.</string>
|
<string name="widget_description">Pregunte por voz o por texto, o continúe el último chat del asistente. No muestra nada de su cuenta.</string>
|
||||||
<string name="shortcut_last">Último chat</string>
|
<string name="shortcut_last">Último chat</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<string name="device_name">LLeMbas pour Android</string>
|
<string name="device_name">LLeMbas pour Android</string>
|
||||||
<string name="share_label">Demander à LLeMbas</string>
|
<string name="share_label">Demander à LLeMbas</string>
|
||||||
<string name="tile_ask">Demander à LLeMbas</string>
|
<string name="tile_ask">Demander à LLeMbas</string>
|
||||||
<string name="signin_intro">Connectez-vous à une instance LLeMbas. Vous approuvez ce téléphone dans le navigateur, comme vous le feriez pour la CLI.</string>
|
<string name="signin_intro">Connectez-vous à une instance LLeMbas. Vous approuvez ce téléphone dans le navigateur.</string>
|
||||||
<string name="signin_address">Adresse de l\'instance</string>
|
<string name="signin_address">Adresse de l\'instance</string>
|
||||||
<string name="signin_continue">Continuer</string>
|
<string name="signin_continue">Continuer</string>
|
||||||
<string name="signin_code_intro">Ouvrez l\'instance dans le navigateur, connectez-vous et approuvez ce code :</string>
|
<string name="signin_code_intro">Ouvrez l\'instance dans le navigateur, connectez-vous et approuvez ce code :</string>
|
||||||
@@ -12,14 +12,27 @@
|
|||||||
<string name="signin_denied">La connexion a été refusée.</string>
|
<string name="signin_denied">La connexion a été refusée.</string>
|
||||||
<string name="signin_expired">Le code a expiré avant d\'être approuvé. Réessayez.</string>
|
<string name="signin_expired">Le code a expiré avant d\'être approuvé. Réessayez.</string>
|
||||||
<string name="signin_too_old">Cette instance utilise une version plus ancienne de LLeMbas. Cette application nécessite LLeMbas 2.0 ou plus récent.</string>
|
<string name="signin_too_old">Cette instance utilise une version plus ancienne de LLeMbas. Cette application nécessite LLeMbas 2.0 ou plus récent.</string>
|
||||||
<string name="signin_too_new">Cette instance utilise une API d\'application plus récente que cette application. Mettez à jour l\'application.</string>
|
<string name="signin_too_new">Cette instance est plus récente que ce que cette application prend en charge. Mettez à jour l\'application.</string>
|
||||||
|
<string name="signin_not_lembas">Il n\'y a pas d\'instance LLeMbas à cette adresse.</string>
|
||||||
|
<string name="signin_failed">La connexion n\'a pas pu aboutir (%1$s). Réessayez.</string>
|
||||||
|
<string name="signin_app_too_old">Cette instance nécessite LLeMbas pour Android %1$s ou plus récent, et ceci est la version %2$s. Mettez à jour l\'application.</string>
|
||||||
|
<string name="signin_other_origin">Cette instance indique pour la connexion une autre adresse (%1$s) que celle que vous avez saisie. Son proxy doit transmettre l\'adresse par laquelle elle est jointe.</string>
|
||||||
|
<string name="address_needs_https">Cette application a besoin d\'une adresse https:// : le simple http n\'est pas pris en charge.</string>
|
||||||
|
<string name="address_unreadable">L\'application ne peut pas utiliser cette adresse. Saisissez l\'adresse de l\'instance, par exemple llm.example.org.</string>
|
||||||
|
<string name="server_answered">Le serveur a répondu %1$s.</string>
|
||||||
|
<string name="timed_out">L\'instance n\'a pas répondu à temps.</string>
|
||||||
|
<string name="not_trusted">Ce téléphone ne fait pas confiance au certificat de l\'instance : installez le certificat de son autorité de certification parmi les certificats utilisateur d\'Android (Paramètres, Sécurité, Chiffrement et identifiants, Installer un certificat).</string>
|
||||||
|
<string name="signed_out">%1$s a déconnecté ce téléphone. Reconnectez-vous pour continuer : vos conversations et vos réglages ici sont conservés.</string>
|
||||||
|
<string name="signed_out_again">Se reconnecter</string>
|
||||||
|
<string name="signed_out_use">Utiliser %1$s</string>
|
||||||
|
<string name="signed_out_remove">Retirer cette instance</string>
|
||||||
<string name="new_chat">Nouvelle conversation</string>
|
<string name="new_chat">Nouvelle conversation</string>
|
||||||
<string name="empty_chats">Pas encore de conversation. Tous ceux qui errent ne sont pas perdus — commencez-en une.</string>
|
<string name="empty_chats">Pas encore de conversation. Tous ceux qui errent ne sont pas perdus — commencez-en une.</string>
|
||||||
<string name="new_agent_chat">Nouvelle conversation d\'agent</string>
|
<string name="new_agent_chat">Nouvelle conversation d\'agent</string>
|
||||||
<string name="agent_device">Appareil</string>
|
<string name="agent_device">Ordinateur</string>
|
||||||
<string name="agent_no_device">Aucun appareil n\'est associé pour l\'instant. Lancez `lembas service` sur un ordinateur connecté à cette instance, puis revenez.</string>
|
<string name="agent_no_device">Aucun ordinateur n\'est associé pour l\'instant. Lancez le service de la CLI LLeMbas (lembas service) sur un ordinateur connecté à cette instance, puis revenez.</string>
|
||||||
<string name="agent_directory">Dossier sur l\'appareil</string>
|
<string name="agent_directory">Dossier sur l’ordinateur</string>
|
||||||
<string name="agent_directory_hint">Vide : le premier dossier de l\'appareil</string>
|
<string name="agent_directory_hint">Vide : le premier dossier de l\'ordinateur</string>
|
||||||
<string name="empty_chat">De quoi allons-nous parler ?</string>
|
<string name="empty_chat">De quoi allons-nous parler ?</string>
|
||||||
<string name="loading_line">Cuisson des lembas…</string>
|
<string name="loading_line">Cuisson des lembas…</string>
|
||||||
<string name="archive">Archiver</string>
|
<string name="archive">Archiver</string>
|
||||||
@@ -76,8 +89,8 @@
|
|||||||
<string name="retry">Réessayer</string>
|
<string name="retry">Réessayer</string>
|
||||||
<string name="offline">L\'instance est injoignable. Vérifiez la connexion du téléphone et qu\'il atteint bien l\'adresse de l\'instance.</string>
|
<string name="offline">L\'instance est injoignable. Vérifiez la connexion du téléphone et qu\'il atteint bien l\'adresse de l\'instance.</string>
|
||||||
<string name="dictate">Dicter</string>
|
<string name="dictate">Dicter</string>
|
||||||
<string name="transcribed_by_fallback">Transcrit par %1$s : le modèle vocal propre à cette discussion n\'a pas répondu.</string>
|
<string name="transcribed_by_fallback">Transcrit par %1$s : le modèle vocal propre à cette conversation n\'a pas répondu.</string>
|
||||||
<string name="read_by_fallback">Lu par %1$s : le modèle vocal propre à cette discussion n\'a pas répondu.</string>
|
<string name="read_by_fallback">Lu par %1$s : le modèle vocal propre à cette conversation n\'a pas répondu.</string>
|
||||||
<string name="remove">Retirer</string>
|
<string name="remove">Retirer</string>
|
||||||
<string name="more">Plus</string>
|
<string name="more">Plus</string>
|
||||||
<string name="back">Retour</string>
|
<string name="back">Retour</string>
|
||||||
@@ -143,19 +156,19 @@
|
|||||||
<string name="team_min">Min</string>
|
<string name="team_min">Min</string>
|
||||||
<string name="team_max">Max</string>
|
<string name="team_max">Max</string>
|
||||||
<string name="team_range">Min %1$s · Max %2$s</string>
|
<string name="team_range">Min %1$s · Max %2$s</string>
|
||||||
<string name="team_hint">Les nombres comptent l\'agent de ce chat : 1, c\'est l\'agent seul, sans sous-agents, et Max 4, l\'agent et jusqu\'à 3 sous-agents qu\'il dirige.</string>
|
<string name="team_hint">Les nombres comptent l\'agent de cette conversation : 1, c\'est l\'agent seul, sans sous-agents, et Max 4, l\'agent et jusqu\'à 3 sous-agents qu\'il dirige.</string>
|
||||||
<string name="team_chip">Sous-agents: Min %1$s · Max %2$s</string>
|
<string name="team_chip">Sous-agents: Min %1$s · Max %2$s</string>
|
||||||
<string name="subagents_named_only">Ce modèle ne traite qu\'une requête à la fois : les sous-agents ont besoin d\'un autre modèle, sur un autre serveur, nommé dans le chat.</string>
|
<string name="subagents_named_only">Ce modèle ne traite qu\'une requête à la fois : les sous-agents ont besoin d\'un autre modèle, sur un autre serveur, nommé dans la conversation.</string>
|
||||||
<string name="thinking_switch">Réfléchir avant de répondre</string>
|
<string name="thinking_switch">Réfléchir avant de répondre</string>
|
||||||
<string name="level_off">désactivé</string>
|
<string name="level_off">désactivé</string>
|
||||||
<string name="level_default">par défaut</string>
|
<string name="level_default">par défaut</string>
|
||||||
<string name="chats_open">Ouvrir les discussions</string>
|
<string name="chats_open">Ouvrir les conversations</string>
|
||||||
<string name="chats_search">Rechercher dans les discussions</string>
|
<string name="chats_search">Rechercher dans les conversations</string>
|
||||||
<string name="chats_today">Aujourd’hui</string>
|
<string name="chats_today">Aujourd’hui</string>
|
||||||
<string name="chats_earlier">Plus tôt</string>
|
<string name="chats_earlier">Plus tôt</string>
|
||||||
<string name="chats_agents">Discussions d’agent</string>
|
<string name="chats_agents">Conversations d’agent</string>
|
||||||
<string name="chats_found_in_messages">Dans les messages</string>
|
<string name="chats_found_in_messages">Dans les messages</string>
|
||||||
<string name="chats_none_found">Aucune discussion ne l’a dans son titre.</string>
|
<string name="chats_none_found">Aucune conversation ne l’a dans son titre.</string>
|
||||||
<string name="clear">Effacer</string>
|
<string name="clear">Effacer</string>
|
||||||
<string name="composer_hint_agent">Dites à l’agent quoi faire</string>
|
<string name="composer_hint_agent">Dites à l’agent quoi faire</string>
|
||||||
<string name="tune">Options</string>
|
<string name="tune">Options</string>
|
||||||
@@ -215,7 +228,7 @@
|
|||||||
<string name="schedule_history">Historique</string>
|
<string name="schedule_history">Historique</string>
|
||||||
<string name="schedule_no_runs">Elle ne s’est pas encore exécutée.</string>
|
<string name="schedule_no_runs">Elle ne s’est pas encore exécutée.</string>
|
||||||
<string name="schedule_model">Modèle : %1$s</string>
|
<string name="schedule_model">Modèle : %1$s</string>
|
||||||
<string name="schedule_delete_confirm">Supprimer cette planification ? Ses résultats passés restent dans leurs discussions.</string>
|
<string name="schedule_delete_confirm">Supprimer cette planification ? Ses résultats passés restent dans leurs conversations.</string>
|
||||||
<string name="schedule_words_hint">Dites quand et quoi, avec vos mots. Vous verrez ce qui a été compris avant tout enregistrement.</string>
|
<string name="schedule_words_hint">Dites quand et quoi, avec vos mots. Vous verrez ce qui a été compris avant tout enregistrement.</string>
|
||||||
<string name="schedule_words_example">Chaque jour ouvré à 7 h 30, résume l’actualité des énergies renouvelables</string>
|
<string name="schedule_words_example">Chaque jour ouvré à 7 h 30, résume l’actualité des énergies renouvelables</string>
|
||||||
<string name="schedule_preview">Aperçu</string>
|
<string name="schedule_preview">Aperçu</string>
|
||||||
@@ -241,8 +254,8 @@
|
|||||||
<string name="run_result">Résultat</string>
|
<string name="run_result">Résultat</string>
|
||||||
<string name="run_no_text">Cette exécution n’a laissé aucun texte.</string>
|
<string name="run_no_text">Cette exécution n’a laissé aucun texte.</string>
|
||||||
<string name="run_open_chat">Ouvrir sa conversation</string>
|
<string name="run_open_chat">Ouvrir sa conversation</string>
|
||||||
<string name="mode_fresh">Une nouvelle discussion à chaque fois</string>
|
<string name="mode_fresh">Une nouvelle conversation à chaque fois</string>
|
||||||
<string name="mode_continue">Une discussion qui s’allonge</string>
|
<string name="mode_continue">Une conversation qui s’allonge</string>
|
||||||
<string name="schedule_models">Modèles pour les tâches planifiées</string>
|
<string name="schedule_models">Modèles pour les tâches planifiées</string>
|
||||||
<string name="schedule_models_hint">Les tâches planifiées prennent le premier de ces modèles qui est libre, dans cet ordre. Décochez-en un pour l’écarter.</string>
|
<string name="schedule_models_hint">Les tâches planifiées prennent le premier de ces modèles qui est libre, dans cet ordre. Décochez-en un pour l’écarter.</string>
|
||||||
<string name="model_free">Libre maintenant</string>
|
<string name="model_free">Libre maintenant</string>
|
||||||
@@ -347,7 +360,7 @@
|
|||||||
<string name="viewer_copy">Copier</string>
|
<string name="viewer_copy">Copier</string>
|
||||||
<string name="viewer_html_source">Ceci est le code source de la page. Ouvrez-la dans le navigateur pour voir la page elle-même.</string>
|
<string name="viewer_html_source">Ceci est le code source de la page. Ouvrez-la dans le navigateur pour voir la page elle-même.</string>
|
||||||
<string name="viewer_long_markdown">Un fichier long, il est donc affiché en texte brut.</string>
|
<string name="viewer_long_markdown">Un fichier long, il est donc affiché en texte brut.</string>
|
||||||
<string name="viewer_unavailable">Ce serveur ne peut pas encore transmettre le fichier à l\'application. Ouvrez-le plutôt dans le navigateur.</string>
|
<string name="viewer_unavailable">Cette instance ne peut pas encore transmettre le fichier à l\'application. Ouvrez-le plutôt dans le navigateur.</string>
|
||||||
<string name="viewer_too_large">Ce fichier est trop volumineux pour être affiché ; 1 Mo au plus peut être affiché.</string>
|
<string name="viewer_too_large">Ce fichier est trop volumineux pour être affiché ; 1 Mo au plus peut être affiché.</string>
|
||||||
<string name="viewer_not_text">Ce n\'est pas un fichier texte, il n\'est donc pas affiché ici.</string>
|
<string name="viewer_not_text">Ce n\'est pas un fichier texte, il n\'est donc pas affiché ici.</string>
|
||||||
<string name="files">Fichiers</string>
|
<string name="files">Fichiers</string>
|
||||||
@@ -435,7 +448,7 @@
|
|||||||
<string name="job_cancelled">Annulé</string>
|
<string name="job_cancelled">Annulé</string>
|
||||||
<string name="job_expired">Expiré</string>
|
<string name="job_expired">Expiré</string>
|
||||||
<string name="mcp_title">Serveurs MCP</string>
|
<string name="mcp_title">Serveurs MCP</string>
|
||||||
<string name="mcp_intro">Les serveurs dont les outils peuvent être proposés dans vos discussions. Certains s’utilisent avec un compte à vous chez eux : leurs outils sont proposés tant que vous y êtes connecté.</string>
|
<string name="mcp_intro">Les serveurs dont les outils peuvent être proposés dans vos conversations. Certains s’utilisent avec un compte à vous chez eux : leurs outils sont proposés tant que vous y êtes connecté.</string>
|
||||||
<string name="mcp_none">Aucun serveur MCP ne vous est proposé sur cette instance.</string>
|
<string name="mcp_none">Aucun serveur MCP ne vous est proposé sur cette instance.</string>
|
||||||
<string name="mcp_ready">Prêt</string>
|
<string name="mcp_ready">Prêt</string>
|
||||||
<string name="mcp_signed_in">Connecté</string>
|
<string name="mcp_signed_in">Connecté</string>
|
||||||
@@ -464,6 +477,8 @@
|
|||||||
<string name="sign_out">Se déconnecter</string>
|
<string name="sign_out">Se déconnecter</string>
|
||||||
<string name="add_instance">Ajouter une instance</string>
|
<string name="add_instance">Ajouter une instance</string>
|
||||||
<string name="instance_default">Par défaut</string>
|
<string name="instance_default">Par défaut</string>
|
||||||
|
<string name="instance_set_default">Définir par défaut</string>
|
||||||
|
<string name="instance_switch">Changer d’instance</string>
|
||||||
<string name="settings_theme">Thème</string>
|
<string name="settings_theme">Thème</string>
|
||||||
<string name="theme_system">Comme le système</string>
|
<string name="theme_system">Comme le système</string>
|
||||||
<string name="theme_moria">Moria (sombre)</string>
|
<string name="theme_moria">Moria (sombre)</string>
|
||||||
@@ -488,7 +503,7 @@
|
|||||||
<string name="assistant_open_settings">Ouvrir les paramètres de l\'assistant</string>
|
<string name="assistant_open_settings">Ouvrir les paramètres de l\'assistant</string>
|
||||||
<string name="assistant_model">Modèle de l’assistant</string>
|
<string name="assistant_model">Modèle de l’assistant</string>
|
||||||
<string name="assistant_model_default">Modèle par défaut de l’instance</string>
|
<string name="assistant_model_default">Modèle par défaut de l’instance</string>
|
||||||
<string name="assistant_model_default_line">Le modèle avec lequel commencent vos nouvelles discussions. S’il est trop lent pour une question orale, choisissez-en un plus rapide ci-dessous.</string>
|
<string name="assistant_model_default_line">Le modèle avec lequel commencent vos nouvelles conversations. S’il est trop lent pour une question orale, choisissez-en un plus rapide ci-dessous.</string>
|
||||||
<string name="assistant_samsung">Sur les téléphones Samsung : Paramètres › Fonctions avancées › Bouton latéral › Maintenir enfoncé › Assistant numérique.</string>
|
<string name="assistant_samsung">Sur les téléphones Samsung : Paramètres › Fonctions avancées › Bouton latéral › Maintenir enfoncé › Assistant numérique.</string>
|
||||||
<string name="assistant_temporary">Les conversations de l\'assistant sont temporaires</string>
|
<string name="assistant_temporary">Les conversations de l\'assistant sont temporaires</string>
|
||||||
<string name="assistant_read_aloud">Lire la réponse à voix haute en cas de question orale</string>
|
<string name="assistant_read_aloud">Lire la réponse à voix haute en cas de question orale</string>
|
||||||
@@ -504,7 +519,7 @@
|
|||||||
<string name="update_available">%1$s est disponible. Touchez pour ouvrir sa page de publication.</string>
|
<string name="update_available">%1$s est disponible. Touchez pour ouvrir sa page de publication.</string>
|
||||||
<string name="update_install">Installer %1$s</string>
|
<string name="update_install">Installer %1$s</string>
|
||||||
<string name="update_auto">Rechercher de nouvelles versions</string>
|
<string name="update_auto">Rechercher de nouvelles versions</string>
|
||||||
<string name="update_auto_line">Au plus une fois par jour, au démarrage, l’application demande à votre instance quelle version lui correspond (avec une instance plus ancienne, elle lit la liste des versions sur GitHub) et vous prévient par une notification lorsqu’il en existe une plus récente. Rien sur vous n’est envoyé ailleurs. Activé par défaut dans une bêta, désactivé sinon.</string>
|
<string name="update_auto_line">Au plus une fois par jour, au démarrage, l’application demande à votre instance quelle version lui correspond — ou lit la liste des versions sur GitHub quand l’instance ne peut pas le dire — et vous prévient par une notification lorsqu’il en existe une plus récente. Aucune de ces deux requêtes n’envoie quoi que ce soit sur vous. Activé par défaut dans une bêta, désactivé sinon.</string>
|
||||||
<string name="update_betas">Inclure les bêtas</string>
|
<string name="update_betas">Inclure les bêtas</string>
|
||||||
<string name="update_betas_line">Proposer aussi les versions de test, pas seulement les publications. Activé par défaut quand cette application est elle-même une bêta.</string>
|
<string name="update_betas_line">Proposer aussi les versions de test, pas seulement les publications. Activé par défaut quand cette application est elle-même une bêta.</string>
|
||||||
<string name="channel_updates">Mises à jour de l’application</string>
|
<string name="channel_updates">Mises à jour de l’application</string>
|
||||||
@@ -551,7 +566,7 @@
|
|||||||
<string name="experimental">Expérimental</string>
|
<string name="experimental">Expérimental</string>
|
||||||
<string name="wake_experimental_line">Nouveau, et essayé sur peu de téléphones pour l’instant. Il peut ne pas entendre la phrase, se déclencher par erreur, ou vous entendre sans pour autant ouvrir l’assistant.</string>
|
<string name="wake_experimental_line">Nouveau, et essayé sur peu de téléphones pour l’instant. Il peut ne pas entendre la phrase, se déclencher par erreur, ou vous entendre sans pour autant ouvrir l’assistant.</string>
|
||||||
<string name="assistant_voice_experimental_line">Expérimental : l’écoute automatique à l’ouverture de l’assistant, la détection de la fin de votre phrase et la conversation orale sont nouvelles et ne fonctionnent pas encore bien sur tous les téléphones. Écrire une question et le bouton du micro fonctionnent toujours.</string>
|
<string name="assistant_voice_experimental_line">Expérimental : l’écoute automatique à l’ouverture de l’assistant, la détection de la fin de votre phrase et la conversation orale sont nouvelles et ne fonctionnent pas encore bien sur tous les téléphones. Écrire une question et le bouton du micro fonctionnent toujours.</string>
|
||||||
<string name="assist_wake_word_hint">Pas de mot d’activation sauf si vous en voulez un : Paramètres › Assistant › Mot d’activation active celui de LLeMbas, sur ce téléphone.</string>
|
<string name="assist_wake_word_hint">Pas de mot d’activation sauf si vous en voulez un : Paramètres › Mot d’activation active celui de LLeMbas, sur ce téléphone.</string>
|
||||||
<string name="channel_wake">Mot d’activation</string>
|
<string name="channel_wake">Mot d’activation</string>
|
||||||
<string name="wake_word">Mot d’activation</string>
|
<string name="wake_word">Mot d’activation</string>
|
||||||
<string name="wake_word_listen">Écouter un mot d’activation</string>
|
<string name="wake_word_listen">Écouter un mot d’activation</string>
|
||||||
@@ -670,13 +685,13 @@
|
|||||||
<string name="assistant_listens">Écouter dès l’ouverture de l’assistant</string>
|
<string name="assistant_listens">Écouter dès l’ouverture de l’assistant</string>
|
||||||
<string name="voice_input">Saisie vocale</string>
|
<string name="voice_input">Saisie vocale</string>
|
||||||
<string name="voice_input_lembas">LLeMbas</string>
|
<string name="voice_input_lembas">LLeMbas</string>
|
||||||
<string name="voice_input_lembas_line">La transcription de votre instance, via le serveur. L’enregistrement va à votre instance et nulle part ailleurs.</string>
|
<string name="voice_input_lembas_line">La transcription de votre instance. Ce téléphone n’envoie l’enregistrement qu’à votre instance ; l’instance le transcrit avec le modèle vocal qui y est configuré.</string>
|
||||||
<string name="voice_input_phone">Téléphone (Google ou celui du système)</string>
|
<string name="voice_input_phone">Téléphone (Google ou celui du système)</string>
|
||||||
<string name="voice_input_phone_line">La reconnaissance vocale du téléphone. Les mots apparaissent pendant que vous parlez ; l’enregistrement va là où cette reconnaissance l’envoie.</string>
|
<string name="voice_input_phone_line">La reconnaissance vocale du téléphone. Les mots apparaissent pendant que vous parlez ; l’enregistrement va là où cette reconnaissance l’envoie.</string>
|
||||||
<string name="voice_input_phone_none">Ce téléphone n’a pas de reconnaissance vocale propre.</string>
|
<string name="voice_input_phone_none">Ce téléphone n’a pas de reconnaissance vocale propre.</string>
|
||||||
<string name="voice_input_hint">Utilisée par l’assistant et par le micro d’une conversation. Avec LLeMbas, l’assistant affiche les mots avec un léger décalage et une pause les envoie, et une conversation les écrit quand vous vous arrêtez ; avec la reconnaissance du téléphone, ils apparaissent pendant que vous parlez.</string>
|
<string name="voice_input_hint">Utilisée par l’assistant et par le micro d’une conversation. Avec LLeMbas, l’assistant affiche les mots avec un léger décalage et une pause les envoie, et une conversation les écrit quand vous vous arrêtez ; avec la reconnaissance du téléphone, ils apparaissent pendant que vous parlez.</string>
|
||||||
<string name="share_sending">Envoi à LLeMbas…</string>
|
<string name="share_sending">Envoi à LLeMbas…</string>
|
||||||
<string name="share_default_prompt">Jetez un œil à ceci.</string>
|
<string name="share_default_prompt">Jette un œil à ceci.</string>
|
||||||
<string name="share_ask_hint">Que doit en faire LLeMbas ? (facultatif)</string>
|
<string name="share_ask_hint">Que doit en faire LLeMbas ? (facultatif)</string>
|
||||||
<string name="widget_hint">Posez une question</string>
|
<string name="widget_hint">Posez une question</string>
|
||||||
<string name="directory_places">Emplacements sur cet appareil</string>
|
<string name="directory_places">Emplacements sur cet appareil</string>
|
||||||
@@ -709,7 +724,7 @@
|
|||||||
<string name="schedule_watch_command_hint">Facultatif, sur l’ordinateur. Exécutée dans le dossier avant chaque exécution ; quand sa sortie est la même que la dernière fois, l’exécution s’arrête là. Une commande pour laquelle le mode demanderait est refusée.</string>
|
<string name="schedule_watch_command_hint">Facultatif, sur l’ordinateur. Exécutée dans le dossier avant chaque exécution ; quand sa sortie est la même que la dernière fois, l’exécution s’arrête là. Une commande pour laquelle le mode demanderait est refusée.</string>
|
||||||
<string name="schedule_watch_timeout">La commande peut durer (secondes)</string>
|
<string name="schedule_watch_timeout">La commande peut durer (secondes)</string>
|
||||||
<string name="schedule_watch_timeout_hint">Arrêtée au-delà ; l’exécution échoue alors.</string>
|
<string name="schedule_watch_timeout_hint">Arrêtée au-delà ; l’exécution échoue alors.</string>
|
||||||
<string name="schedule_chat_drops_watch">Cette tâche surveille une commande sur son ordinateur. En tâche de type Chat, elle ne le fait plus : elle s’exécute à chaque fois.</string>
|
<string name="schedule_chat_drops_watch">Cette tâche surveille une commande sur son ordinateur. En tâche de type Conversation, elle ne le fait plus : elle s’exécute à chaque fois.</string>
|
||||||
<string name="schedule_folder_model">Le modèle habituel du dossier</string>
|
<string name="schedule_folder_model">Le modèle habituel du dossier</string>
|
||||||
<string name="schedule_folder_model_hint">Le modèle habituel du dossier est celui que vous avez utilisé en dernier dans ce dossier sur cet ordinateur — l\'ordinateur s\'en souvient et chaque exécution le lui demande — ou votre modèle par défaut s\'il n\'y en a pas. Un modèle choisi ici est celui de l\'exécution, quel que soit celui du dossier. Une exécution ne change jamais le modèle du dossier.</string>
|
<string name="schedule_folder_model_hint">Le modèle habituel du dossier est celui que vous avez utilisé en dernier dans ce dossier sur cet ordinateur — l\'ordinateur s\'en souvient et chaque exécution le lui demande — ou votre modèle par défaut s\'il n\'y en a pas. Un modèle choisi ici est celui de l\'exécution, quel que soit celui du dossier. Une exécution ne change jamais le modèle du dossier.</string>
|
||||||
<string name="schedule_first_free_model">Le premier libre de vos modèles de planification</string>
|
<string name="schedule_first_free_model">Le premier libre de vos modèles de planification</string>
|
||||||
@@ -717,6 +732,6 @@
|
|||||||
<string name="run_model_default">votre modèle par défaut</string>
|
<string name="run_model_default">votre modèle par défaut</string>
|
||||||
<string name="run_model_session">le modèle propre à la conversation</string>
|
<string name="run_model_session">le modèle propre à la conversation</string>
|
||||||
<string name="widget_speak">Parler</string>
|
<string name="widget_speak">Parler</string>
|
||||||
<string name="widget_description">Demandez à la voix ou par écrit, ou reprenez la dernière discussion de l’assistant. N’affiche rien de votre compte.</string>
|
<string name="widget_description">Demandez à la voix ou par écrit, ou reprenez la dernière conversation de l’assistant. N’affiche rien de votre compte.</string>
|
||||||
<string name="shortcut_last">Dernière discussion</string>
|
<string name="shortcut_last">Dernière conversation</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<string name="device_name">LLeMbas Androidra</string>
|
<string name="device_name">LLeMbas Androidra</string>
|
||||||
<string name="share_label">Kérdés az LLeMbas-tól</string>
|
<string name="share_label">Kérdés az LLeMbas-tól</string>
|
||||||
<string name="tile_ask">Kérdés az LLeMbas-tól</string>
|
<string name="tile_ask">Kérdés az LLeMbas-tól</string>
|
||||||
<string name="signin_intro">Jelentkezzen be egy LLeMbas példányba. Ezt a telefont a böngészőben hagyja jóvá, ahogyan a CLI-t is tenné.</string>
|
<string name="signin_intro">Jelentkezzen be egy LLeMbas példányba. Ezt a telefont a böngészőben hagyja jóvá.</string>
|
||||||
<string name="signin_address">A példány címe</string>
|
<string name="signin_address">A példány címe</string>
|
||||||
<string name="signin_continue">Folytatás</string>
|
<string name="signin_continue">Folytatás</string>
|
||||||
<string name="signin_code_intro">Nyissa meg a példányt a böngészőben, jelentkezzen be, és hagyja jóvá ezt a kódot:</string>
|
<string name="signin_code_intro">Nyissa meg a példányt a böngészőben, jelentkezzen be, és hagyja jóvá ezt a kódot:</string>
|
||||||
@@ -12,14 +12,27 @@
|
|||||||
<string name="signin_denied">A bejelentkezést elutasították.</string>
|
<string name="signin_denied">A bejelentkezést elutasították.</string>
|
||||||
<string name="signin_expired">A kód lejárt, mielőtt jóváhagyták volna. Próbálja újra.</string>
|
<string name="signin_expired">A kód lejárt, mielőtt jóváhagyták volna. Próbálja újra.</string>
|
||||||
<string name="signin_too_old">Ezen a példányon régebbi LLeMbas fut. Ehhez az alkalmazáshoz LLeMbas 2.0 vagy újabb kell.</string>
|
<string name="signin_too_old">Ezen a példányon régebbi LLeMbas fut. Ehhez az alkalmazáshoz LLeMbas 2.0 vagy újabb kell.</string>
|
||||||
<string name="signin_too_new">Ez a példány újabb alkalmazás-API-t használ, mint ez az alkalmazás. Frissítse az alkalmazást.</string>
|
<string name="signin_too_new">Ez a példány újabb annál, mint amivel ez az alkalmazás működni tud. Frissítse az alkalmazást.</string>
|
||||||
|
<string name="signin_not_lembas">Ezen a címen nincs LLeMbas példány.</string>
|
||||||
|
<string name="signin_failed">A bejelentkezést nem sikerült befejezni (%1$s). Próbálja újra.</string>
|
||||||
|
<string name="signin_app_too_old">Ehhez a példányhoz az Androidos LLeMbas %1$s vagy újabb verziója kell, ez pedig a %2$s. Frissítse az alkalmazást.</string>
|
||||||
|
<string name="signin_other_origin">Ez a példány más címet ad meg a bejelentkezéshez (%1$s), mint amit beírt. A proxyjának tovább kell adnia azt a címet, amelyen elérik.</string>
|
||||||
|
<string name="address_needs_https">Ehhez az alkalmazáshoz https:// cím kell: a sima http nem támogatott.</string>
|
||||||
|
<string name="address_unreadable">Ezt a címet az alkalmazás nem tudja használni. Írja be a példány címét, például llm.example.org.</string>
|
||||||
|
<string name="server_answered">A kiszolgáló válasza: %1$s.</string>
|
||||||
|
<string name="timed_out">A példány nem válaszolt időben.</string>
|
||||||
|
<string name="not_trusted">Ez a telefon nem bízik a példány tanúsítványában: telepítse a hitelesítésszolgáltatója tanúsítványát az Android felhasználói tanúsítványai közé (Beállítások, Biztonság, Titkosítás és hitelesítési adatok, Tanúsítvány telepítése).</string>
|
||||||
|
<string name="signed_out">%1$s kijelentkeztette ezt a telefont. A folytatáshoz jelentkezzen be újra: a csevegései és az itteni beállításai megmaradnak.</string>
|
||||||
|
<string name="signed_out_again">Bejelentkezés újra</string>
|
||||||
|
<string name="signed_out_use">%1$s használata</string>
|
||||||
|
<string name="signed_out_remove">Példány eltávolítása</string>
|
||||||
<string name="new_chat">Új csevegés</string>
|
<string name="new_chat">Új csevegés</string>
|
||||||
<string name="empty_chats">Még nincs csevegés. Nem mindenki van elveszve, aki bolyong — kezdjen el egyet.</string>
|
<string name="empty_chats">Még nincs csevegés. Nem mindenki van elveszve, aki bolyong — kezdjen el egyet.</string>
|
||||||
<string name="new_agent_chat">Új ügynök-csevegés</string>
|
<string name="new_agent_chat">Új ügynök-csevegés</string>
|
||||||
<string name="agent_device">Eszköz</string>
|
<string name="agent_device">Számítógép</string>
|
||||||
<string name="agent_no_device">Jelenleg nincs összekapcsolt eszköz. Indítsa el a `lembas service` parancsot egy ebbe a példányba bejelentkezett számítógépen, majd térjen vissza.</string>
|
<string name="agent_no_device">Jelenleg nincs összekapcsolt számítógép. Indítsa el a LLeMbas CLI szolgáltatását (lembas service) egy ebbe a példányba bejelentkezett számítógépen, majd térjen vissza.</string>
|
||||||
<string name="agent_directory">Mappa az eszközön</string>
|
<string name="agent_directory">Mappa a számítógépen</string>
|
||||||
<string name="agent_directory_hint">Üres: az eszköz első mappája</string>
|
<string name="agent_directory_hint">Üres: a számítógép első mappája</string>
|
||||||
<string name="empty_chat">Miről beszéljünk?</string>
|
<string name="empty_chat">Miről beszéljünk?</string>
|
||||||
<string name="loading_line">Lembas sül…</string>
|
<string name="loading_line">Lembas sül…</string>
|
||||||
<string name="archive">Archiválás</string>
|
<string name="archive">Archiválás</string>
|
||||||
@@ -252,11 +265,11 @@
|
|||||||
<string name="scheduled_result_public">Egy ütemezett feladatnak eredménye van.</string>
|
<string name="scheduled_result_public">Egy ütemezett feladatnak eredménye van.</string>
|
||||||
<string name="scheduled_failed_public">Egy ütemezett feladat sikertelen volt.</string>
|
<string name="scheduled_failed_public">Egy ütemezett feladat sikertelen volt.</string>
|
||||||
<string name="page_note">Ebben a válaszban van egy oldal: %1$s</string>
|
<string name="page_note">Ebben a válaszban van egy oldal: %1$s</string>
|
||||||
<string name="page_where">A megtekintéséhez nyisd meg a weben vagy a LLeMbas Desktopban.</string>
|
<string name="page_where">A megtekintéséhez nyissa meg a weben vagy a LLeMbas Desktopban.</string>
|
||||||
<string name="page_untitled">Oldal</string>
|
<string name="page_untitled">Oldal</string>
|
||||||
<string name="reports">Jelentések</string>
|
<string name="reports">Jelentések</string>
|
||||||
<string name="report">Jelentés</string>
|
<string name="report">Jelentés</string>
|
||||||
<string name="reports_none">Még nincsenek jelentések. Egy ütemezett feladat akkor ír egyet, ha van mit mondania neked.</string>
|
<string name="reports_none">Még nincsenek jelentések. Egy ütemezett feladat akkor ír egyet, ha van mit mondania Önnek.</string>
|
||||||
<string name="reports_unsupported">Ezen a példányon olyan LLeMbas fut, amelyben még nincsenek Jelentések.</string>
|
<string name="reports_unsupported">Ezen a példányon olyan LLeMbas fut, amelyben még nincsenek Jelentések.</string>
|
||||||
<string name="report_untitled">Cím nélküli jelentés</string>
|
<string name="report_untitled">Cím nélküli jelentés</string>
|
||||||
<string name="report_delete_title">Törlöd ezt a jelentést?</string>
|
<string name="report_delete_title">Törlöd ezt a jelentést?</string>
|
||||||
@@ -347,7 +360,7 @@
|
|||||||
<string name="viewer_copy">Másolás</string>
|
<string name="viewer_copy">Másolás</string>
|
||||||
<string name="viewer_html_source">Ez az oldal forráskódja. Magát az oldalt a böngészőben megnyitva láthatja.</string>
|
<string name="viewer_html_source">Ez az oldal forráskódja. Magát az oldalt a böngészőben megnyitva láthatja.</string>
|
||||||
<string name="viewer_long_markdown">Hosszú fájl, ezért egyszerű szövegként jelenik meg.</string>
|
<string name="viewer_long_markdown">Hosszú fájl, ezért egyszerű szövegként jelenik meg.</string>
|
||||||
<string name="viewer_unavailable">Ez a szerver még nem tudja átadni a fájlt az alkalmazásnak. Nyissa meg inkább a böngészőben.</string>
|
<string name="viewer_unavailable">Ez a példány még nem tudja átadni a fájlt az alkalmazásnak. Nyissa meg inkább a böngészőben.</string>
|
||||||
<string name="viewer_too_large">Ez a fájl túl nagy a megjelenítéshez; legfeljebb 1 MB jeleníthető meg.</string>
|
<string name="viewer_too_large">Ez a fájl túl nagy a megjelenítéshez; legfeljebb 1 MB jeleníthető meg.</string>
|
||||||
<string name="viewer_not_text">Ez nem szövegfájl, ezért itt nem jelenik meg.</string>
|
<string name="viewer_not_text">Ez nem szövegfájl, ezért itt nem jelenik meg.</string>
|
||||||
<string name="files">Fájlok</string>
|
<string name="files">Fájlok</string>
|
||||||
@@ -464,6 +477,8 @@
|
|||||||
<string name="sign_out">Kijelentkezés</string>
|
<string name="sign_out">Kijelentkezés</string>
|
||||||
<string name="add_instance">Példány hozzáadása</string>
|
<string name="add_instance">Példány hozzáadása</string>
|
||||||
<string name="instance_default">Alapértelmezett</string>
|
<string name="instance_default">Alapértelmezett</string>
|
||||||
|
<string name="instance_set_default">Beállítás alapértelmezettként</string>
|
||||||
|
<string name="instance_switch">Példány váltása</string>
|
||||||
<string name="settings_theme">Téma</string>
|
<string name="settings_theme">Téma</string>
|
||||||
<string name="theme_system">A rendszer szerint</string>
|
<string name="theme_system">A rendszer szerint</string>
|
||||||
<string name="theme_moria">Moria (sötét)</string>
|
<string name="theme_moria">Moria (sötét)</string>
|
||||||
@@ -488,7 +503,7 @@
|
|||||||
<string name="assistant_open_settings">Asszisztens beállításainak megnyitása</string>
|
<string name="assistant_open_settings">Asszisztens beállításainak megnyitása</string>
|
||||||
<string name="assistant_model">Az asszisztens modellje</string>
|
<string name="assistant_model">Az asszisztens modellje</string>
|
||||||
<string name="assistant_model_default">A példány alapértelmezése</string>
|
<string name="assistant_model_default">A példány alapértelmezése</string>
|
||||||
<string name="assistant_model_default_line">Az a modell, amellyel az új csevegéseid indulnak. Ha egy kimondott kérdéshez túl lassú, válassz lent gyorsabbat.</string>
|
<string name="assistant_model_default_line">Az a modell, amellyel az új csevegései indulnak. Ha egy kimondott kérdéshez túl lassú, válasszon lent gyorsabbat.</string>
|
||||||
<string name="assistant_samsung">Samsung telefonokon: Beállítások › Speciális funkciók › Oldalgomb › Nyomva tartás › Digitális asszisztens.</string>
|
<string name="assistant_samsung">Samsung telefonokon: Beállítások › Speciális funkciók › Oldalgomb › Nyomva tartás › Digitális asszisztens.</string>
|
||||||
<string name="assistant_temporary">Az asszisztenses csevegések ideiglenesek</string>
|
<string name="assistant_temporary">Az asszisztenses csevegések ideiglenesek</string>
|
||||||
<string name="assistant_read_aloud">Olvassa fel a választ, ha hangos kérdés érkezett</string>
|
<string name="assistant_read_aloud">Olvassa fel a választ, ha hangos kérdés érkezett</string>
|
||||||
@@ -504,7 +519,7 @@
|
|||||||
<string name="update_available">Elérhető a(z) %1$s. Koppintson a kiadás oldalának megnyitásához.</string>
|
<string name="update_available">Elérhető a(z) %1$s. Koppintson a kiadás oldalának megnyitásához.</string>
|
||||||
<string name="update_install">%1$s telepítése</string>
|
<string name="update_install">%1$s telepítése</string>
|
||||||
<string name="update_auto">Új verziók keresése</string>
|
<string name="update_auto">Új verziók keresése</string>
|
||||||
<string name="update_auto_line">Naponta legfeljebb egyszer, induláskor az alkalmazás megkérdezi a példányát, melyik kiadás illik hozzá (régebbi példánynál a GitHubon lévő kiadások listáját olvassa be), és értesítésben jelzi, ha van újabb. Önről semmi nem megy máshová. Béta verzióban alapból bekapcsolva, egyébként kikapcsolva.</string>
|
<string name="update_auto_line">Naponta legfeljebb egyszer, induláskor az alkalmazás megkérdezi a példányát, melyik kiadás illik hozzá — vagy a GitHubon lévő kiadások listáját olvassa be, ha a példány ezt nem tudja megmondani —, és értesítésben jelzi, ha van újabb. Egyik kéréssel sem megy Önről semmi. Béta verzióban alapból bekapcsolva, egyébként kikapcsolva.</string>
|
||||||
<string name="update_betas">Béták is</string>
|
<string name="update_betas">Béták is</string>
|
||||||
<string name="update_betas_line">Tesztverziók felajánlása is, nem csak kiadásoké. Alapból bekapcsolva, ha ez az alkalmazás maga is béta.</string>
|
<string name="update_betas_line">Tesztverziók felajánlása is, nem csak kiadásoké. Alapból bekapcsolva, ha ez az alkalmazás maga is béta.</string>
|
||||||
<string name="channel_updates">Alkalmazásfrissítések</string>
|
<string name="channel_updates">Alkalmazásfrissítések</string>
|
||||||
@@ -540,49 +555,49 @@
|
|||||||
<string name="assist_writing_down">Lejegyzem, amit mondott…</string>
|
<string name="assist_writing_down">Lejegyzem, amit mondott…</string>
|
||||||
<string name="assist_unlock_to_send">Feloldás és küldés</string>
|
<string name="assist_unlock_to_send">Feloldás és küldés</string>
|
||||||
<string name="assist_question_heard">Kérdés rögzítve</string>
|
<string name="assist_question_heard">Kérdés rögzítve</string>
|
||||||
<string name="assist_recording_waits_line">A telefon zárolva van. A kérdésed felvételként ezen a telefonon vár; semmi sem ment el. Feloldás után a példányodhoz kerül, amely leírja és megválaszolja.</string>
|
<string name="assist_recording_waits_line">A telefon zárolva van. A kérdése felvételként ezen a telefonon vár; semmi sem ment el. Feloldás után a példányához kerül, amely leírja és megválaszolja.</string>
|
||||||
<string name="assist_locked_line">A telefon zárolva van. Amíg fel nem oldod, semmi sem megy el, és válasz sem jelenik meg.</string>
|
<string name="assist_locked_line">A telefon zárolva van. Amíg fel nem oldja, semmi sem megy el, és válasz sem jelenik meg.</string>
|
||||||
<string name="assist_conversation">Beszélgetés</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_line">Minden válasz után újra figyelek. A befejezéshez mondja: „állj”.</string>
|
||||||
<string name="assist_conversation_end">Befejezés</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="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">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="assistant_conversation_line">Egy szóbeli válasz felolvasása után az asszisztens újra figyel — amíg nem mondja, hogy „állj”, nem koppint a Befejezésre, vagy néhány másodpercig nem szól. Headsettel is működik.</string>
|
||||||
<string name="experimental">Kísérleti</string>
|
<string name="experimental">Kísérleti</string>
|
||||||
<string name="wake_experimental_line">Új, és eddig csak néhány telefonon próbáltuk ki. Előfordulhat, hogy nem hallja meg a kifejezést, tévedésből elindul, vagy meghall, és mégsem nyitja meg az asszisztenst.</string>
|
<string name="wake_experimental_line">Új, és eddig csak néhány telefonon próbáltuk ki. Előfordulhat, hogy nem hallja meg a kifejezést, tévedésből elindul, vagy meghallja Önt, és mégsem nyitja meg az asszisztenst.</string>
|
||||||
<string name="assistant_voice_experimental_line">Kísérleti: az önálló hallgatás az asszisztens megnyitásakor, annak észlelése, hogy befejezted a beszédet, és a szóbeli beszélgetés új, és még nem minden telefonon működik jól. Kérdést beírni és a mikrofon gombot használni mindig lehet.</string>
|
<string name="assistant_voice_experimental_line">Kísérleti: az önálló hallgatás az asszisztens megnyitásakor, annak észlelése, hogy befejezte a beszédet, és a szóbeli beszélgetés új, és még nem minden telefonon működik jól. Kérdést beírni és a mikrofon gombot használni mindig lehet.</string>
|
||||||
<string name="assist_wake_word_hint">Nincs ébresztőszó, hacsak nem kérsz: Beállítások › Asszisztens › Ébresztőszó bekapcsolja a LLeMbas sajátját, ezen a telefonon.</string>
|
<string name="assist_wake_word_hint">Nincs ébresztőszó, hacsak nem kér: a Beállítások › Ébresztőszó bekapcsolja a LLeMbas sajátját, ezen a telefonon.</string>
|
||||||
<string name="channel_wake">Ébresztőszó</string>
|
<string name="channel_wake">Ébresztőszó</string>
|
||||||
<string name="wake_word">Ébresztőszó</string>
|
<string name="wake_word">Ébresztőszó</string>
|
||||||
<string name="wake_word_listen">Ébresztőszó figyelése</string>
|
<string name="wake_word_listen">Ébresztőszó figyelése</string>
|
||||||
<string name="wake_word_line">Alapból ki van kapcsolva. Mondd ki a kifejezést, és az asszisztens figyelve megnyílik a képernyőn lévő alkalmazás fölött.</string>
|
<string name="wake_word_line">Alapból ki van kapcsolva. Mondja ki a kifejezést, és az asszisztens figyelve megnyílik a képernyőn lévő alkalmazás fölött.</string>
|
||||||
<string name="wake_word_unavailable">Ebben a változatban nincs. Az F-Droid-változatban nincs ébresztőszó-motor, mert az F-Droid minden könyvtárat forrásból fordít; a llembas.eu-s változatban van.</string>
|
<string name="wake_word_unavailable">Ebben a változatban nincs. Az F-Droid-változatban nincs ébresztőszó-motor, mert az F-Droid minden könyvtárat forrásból fordít; a llembas.eu-s változatban van.</string>
|
||||||
<string name="wake_phrase_line">Ezt mondod, utána rövid szünet: akkor számít, amikor elhallgatsz. Angolul, bármilyen nyelvű is az alkalmazás: a motor csak az angol beszédet ismeri.</string>
|
<string name="wake_phrase_line">Ezt mondja, utána rövid szünet: akkor számít, amikor elhallgat. Angolul, bármilyen nyelvű is az alkalmazás: a motor csak az angol beszédet ismeri.</string>
|
||||||
<string name="wake_greeting">Megszólítás</string>
|
<string name="wake_greeting">Megszólítás</string>
|
||||||
<string name="wake_name">Név</string>
|
<string name="wake_name">Név</string>
|
||||||
<string name="wake_name_google_line">A közelben lévő Google-telefon vagy -hangszóró is válaszolni fog.</string>
|
<string name="wake_name_google_line">A közelben lévő Google-telefon vagy -hangszóró is válaszolni fog.</string>
|
||||||
<string name="wake_sensitivity">Érzékenység</string>
|
<string name="wake_sensitivity">Érzékenység</string>
|
||||||
<string name="wake_sensitivity_low">Alacsony</string>
|
<string name="wake_sensitivity_low">Alacsony</string>
|
||||||
<string name="wake_sensitivity_low_line">A legritkábban indul el tévedésből. Lehet, hogy tisztábban vagy kétszer kell kimondanod a kifejezést.</string>
|
<string name="wake_sensitivity_low_line">A legritkábban indul el tévedésből. Lehet, hogy tisztábban vagy kétszer kell kimondania a kifejezést.</string>
|
||||||
<string name="wake_sensitivity_normal">Normál</string>
|
<string name="wake_sensitivity_normal">Normál</string>
|
||||||
<string name="wake_sensitivity_normal_line">A motor saját beállítása.</string>
|
<string name="wake_sensitivity_normal_line">A motor saját beállítása.</string>
|
||||||
<string name="wake_sensitivity_high">Magas</string>
|
<string name="wake_sensitivity_high">Magas</string>
|
||||||
<string name="wake_sensitivity_high_line">A legkönnyebben hall meg, távolabbról is. Gyakrabban indul el tévedésből.</string>
|
<string name="wake_sensitivity_high_line">A legkönnyebben hallja meg Önt, távolabbról is. Gyakrabban indul el tévedésből.</string>
|
||||||
<string name="wake_test">Ébresztőszó kipróbálása</string>
|
<string name="wake_test">Ébresztőszó kipróbálása</string>
|
||||||
<string name="wake_test_line">Tíz másodpercig mutatja, hogy hallja-e a kifejezésedet, az asszisztens megnyitása nélkül.</string>
|
<string name="wake_test_line">Tíz másodpercig mutatja, hogy hallja-e a kifejezését, az asszisztens megnyitása nélkül.</string>
|
||||||
<string name="wake_test_say">Most mondd: „%1$s”, aztán tarts szünetet…</string>
|
<string name="wake_test_say">Most mondja: „%1$s”, aztán tartson szünetet…</string>
|
||||||
<string name="wake_test_heard">Hallottam</string>
|
<string name="wake_test_heard">Hallottam</string>
|
||||||
<string name="wake_test_missed">Tíz másodperc alatt nem hallottam. Próbáld közelebb a telefonhoz, csendesebb pillanatban vagy nagyobb érzékenységgel.</string>
|
<string name="wake_test_missed">Tíz másodperc alatt nem hallottam. Próbálja közelebb a telefonhoz, csendesebb pillanatban vagy nagyobb érzékenységgel.</string>
|
||||||
<string name="wake_test_off">Előbb kapcsold be az ébresztőszót.</string>
|
<string name="wake_test_off">Előbb kapcsolja be az ébresztőszót.</string>
|
||||||
<string name="wake_screen_only">Csak bekapcsolt képernyőnél</string>
|
<string name="wake_screen_only">Csak bekapcsolt képernyőnél</string>
|
||||||
<string name="wake_screen_only_line">Kikapcsolva kikapcsolt képernyőnél is figyel, ami több akkumulátort fogyaszt.</string>
|
<string name="wake_screen_only_line">Kikapcsolva kikapcsolt képernyőnél is figyel, ami több akkumulátort fogyaszt.</string>
|
||||||
<string name="wake_battery">Futhasson a háttérben</string>
|
<string name="wake_battery">Futhasson a háttérben</string>
|
||||||
<string name="wake_battery_line">Egyes telefonok (Samsung, Xiaomi, Huawei, OnePlus és mások) az akkumulátor kímélése miatt leállítják a háttéralkalmazásokat, és velük az ébresztőszót is. Itt vedd ki a LLeMbast az akkumulátor-optimalizálásból; a dontkillmyapp.com elmagyarázza a telefonod beállításait.</string>
|
<string name="wake_battery_line">Egyes telefonok (Samsung, Xiaomi, Huawei, OnePlus és mások) az akkumulátor kímélése miatt leállítják a háttéralkalmazásokat, és velük az ébresztőszót is. Itt vegye ki a LLeMbast az akkumulátor-optimalizálásból; a dontkillmyapp.com elmagyarázza a telefonja beállításait.</string>
|
||||||
<string name="wake_word_privacy">A szó előtt semmi nem hagyja el a telefont. A mikrofon hangja csak a telefonon futó ébresztőszó-motorhoz jut, és nem tárolódik; amíg figyel, az értesítés végig látható. A kifejezések angolok; a motor a sherpa-onnx (nyílt forráskódú).</string>
|
<string name="wake_word_privacy">A szó előtt semmi nem hagyja el a telefont. A mikrofon hangja csak a telefonon futó ébresztőszó-motorhoz jut, és nem tárolódik; amíg figyel, az értesítés végig látható. A kifejezések angolok; a motor a sherpa-onnx (nyílt forráskódú).</string>
|
||||||
<string name="wake_word_cost">Akkumulátorba kerül: a mikrofon bekapcsolva marad, és a telefon processzora minden hangpillanatot ellenőriz, a beépített asszisztens energiatakarékos chipje nélkül. Energiatakarékos módban, nyitott asszisztensnél és — ha nem változtatod meg — kikapcsolt képernyőnél szünetel. Újraindítás után koppints az értesítésére az újraindításhoz.</string>
|
<string name="wake_word_cost">Akkumulátorba kerül: a mikrofon bekapcsolva marad, és a telefon processzora minden hangpillanatot ellenőriz, a beépített asszisztens energiatakarékos chipje nélkül. Energiatakarékos módban, nyitott asszisztensnél és — ha nem változtatja meg — kikapcsolt képernyőnél szünetel. Újraindítás után koppintson az értesítésére az újraindításhoz.</string>
|
||||||
<string name="wake_listening_for">Figyeli: „%1$s”</string>
|
<string name="wake_listening_for">Figyeli: „%1$s”</string>
|
||||||
<string name="wake_off">Az ébresztőszó nem figyel</string>
|
<string name="wake_off">Az ébresztőszó nem figyel</string>
|
||||||
<string name="wake_tap_to_start">Koppints az újraindításához. Ha az Android rákérdez, engedélyezd a mikrofont.</string>
|
<string name="wake_tap_to_start">Koppintson az újraindításához. Ha az Android rákérdez, engedélyezze a mikrofont.</string>
|
||||||
<string name="wake_starting">Az ébresztőszó indul…</string>
|
<string name="wake_starting">Az ébresztőszó indul…</string>
|
||||||
<string name="wake_paused_silent">Az ébresztőszó semmit nem hall: másik alkalmazás használja a mikrofont, vagy a telefon mikrofonja ki van kapcsolva</string>
|
<string name="wake_paused_silent">Az ébresztőszó semmit nem hall: másik alkalmazás használja a mikrofont, vagy a telefon mikrofonja ki van kapcsolva</string>
|
||||||
<string name="wake_failed_no_engine">Az ébresztőszó nem működik: ebben a változatban nincs motor</string>
|
<string name="wake_failed_no_engine">Az ébresztőszó nem működik: ebben a változatban nincs motor</string>
|
||||||
@@ -590,17 +605,17 @@
|
|||||||
<string name="wake_failed_engine">Az ébresztőszó nem működik: a motor nem indult el</string>
|
<string name="wake_failed_engine">Az ébresztőszó nem működik: a motor nem indult el</string>
|
||||||
<string name="wake_failed_microphone">Az ébresztőszó nem működik: a mikrofon nem indult el</string>
|
<string name="wake_failed_microphone">Az ébresztőszó nem működik: a mikrofon nem indult el</string>
|
||||||
<string name="wake_failed_line">Nem figyel. Magától újrapróbálja.</string>
|
<string name="wake_failed_line">Nem figyel. Magától újrapróbálja.</string>
|
||||||
<string name="wake_notification_line">Amíg ki nem mondod, semmi nem hagyja el a telefont.</string>
|
<string name="wake_notification_line">Amíg ki nem mondja, semmi nem hagyja el a telefont.</string>
|
||||||
<string name="wake_paused_screen">Ébresztőszó szünetel: a képernyő ki van kapcsolva</string>
|
<string name="wake_paused_screen">Ébresztőszó szünetel: a képernyő ki van kapcsolva</string>
|
||||||
<string name="wake_paused_battery">Ébresztőszó szünetel: be van kapcsolva az energiatakarékos mód</string>
|
<string name="wake_paused_battery">Ébresztőszó szünetel: be van kapcsolva az energiatakarékos mód</string>
|
||||||
<string name="wake_paused_assistant">Az ébresztőszó szünetel, amíg az asszisztens nyitva van</string>
|
<string name="wake_paused_assistant">Az ébresztőszó szünetel, amíg az asszisztens nyitva van</string>
|
||||||
<string name="wake_paused_microphone">Ébresztőszó szünetel: a LLeMbas nem használhatja a mikrofont</string>
|
<string name="wake_paused_microphone">Ébresztőszó szünetel: a LLeMbas nem használhatja a mikrofont</string>
|
||||||
<string name="wake_stop">Figyelés leállítása</string>
|
<string name="wake_stop">Figyelés leállítása</string>
|
||||||
<string name="wake_heard">Hallottalak. Koppints a kérdezéshez.</string>
|
<string name="wake_heard">Hallottam. Koppintson a kérdezéshez.</string>
|
||||||
<string name="channel_wake_heard">Ébresztőszó elhangzott</string>
|
<string name="channel_wake_heard">Ébresztőszó elhangzott</string>
|
||||||
<string name="wake_heard_line">A LLeMbas csak a telefon digitális asszisztens alkalmazásaként tud magától megnyílni más alkalmazások fölött.</string>
|
<string name="wake_heard_line">A LLeMbas csak a telefon digitális asszisztens alkalmazásaként tud magától megnyílni más alkalmazások fölött.</string>
|
||||||
<string name="wake_not_assistant">A LLeMbas nem a digitális asszisztens alkalmazás</string>
|
<string name="wake_not_assistant">A LLeMbas nem a digitális asszisztens alkalmazás</string>
|
||||||
<string name="wake_not_assistant_line">Ezért az ébresztőszó nem tudja megnyitni az asszisztenst más alkalmazások fölött: értesítést kapsz, amelyre koppinthatsz. Ha bárhol hanggal szeretnéd megnyitni, koppints ide, és válaszd a LLeMbast digitális asszisztens alkalmazásnak.</string>
|
<string name="wake_not_assistant_line">Ezért az ébresztőszó nem tudja megnyitni az asszisztenst más alkalmazások fölött: értesítést kap, amelyre koppinthat. Ha bárhol hanggal szeretné megnyitni, koppintson ide, és válassza a LLeMbast digitális asszisztens alkalmazásnak.</string>
|
||||||
<string name="wake_last">Utolsó ébresztés</string>
|
<string name="wake_last">Utolsó ébresztés</string>
|
||||||
<string name="wake_last_none">Még nem hallotta a kifejezést.</string>
|
<string name="wake_last_none">Még nem hallotta a kifejezést.</string>
|
||||||
<string name="wake_out_opened">Megnyitotta az asszisztenst.</string>
|
<string name="wake_out_opened">Megnyitotta az asszisztenst.</string>
|
||||||
@@ -622,24 +637,24 @@
|
|||||||
<string name="wake_waited">Várt egy pillanatot, hogy az Android csatlakoztassa.</string>
|
<string name="wake_waited">Várt egy pillanatot, hogy az Android csatlakoztassa.</string>
|
||||||
<string name="wake_show_failed">Az Android jelezte, hogy nem tudta megjeleníteni az asszisztens paneljét.</string>
|
<string name="wake_show_failed">Az Android jelezte, hogy nem tudta megjeleníteni az asszisztens paneljét.</string>
|
||||||
<string name="wake_assistant_inactive">Az Android most nem használja a LLeMbast hangasszisztensként</string>
|
<string name="wake_assistant_inactive">Az Android most nem használja a LLeMbast hangasszisztensként</string>
|
||||||
<string name="wake_assistant_inactive_line">Válaszd újra a LLeMbast digitális asszisztens alkalmazásnak: koppints ide, válassz másik alkalmazást, majd a LLeMbast. Addig a hosszú nyomás közönséges képernyőként nyitja meg, az ébresztőszó pedig csak értesítést tud küldeni.</string>
|
<string name="wake_assistant_inactive_line">Válassza újra a LLeMbast digitális asszisztens alkalmazásnak: koppintson ide, válasszon másik alkalmazást, majd a LLeMbast. Addig a hosszú nyomás közönséges képernyőként nyitja meg, az ébresztőszó pedig csak értesítést tud küldeni.</string>
|
||||||
<string name="wake_assistant_unbound">A LLeMbas az asszisztens, de az Android most nem csatlakoztatta</string>
|
<string name="wake_assistant_unbound">A LLeMbas az asszisztens, de az Android most nem csatlakoztatta</string>
|
||||||
<string name="wake_assistant_unbound_line">Amíg nem csatlakoztatja, az ébresztőszó nem tudja magától megnyitni a panelt. Koppints a rendszer asszisztensbeállításához: ha másik alkalmazást, majd újra a LLeMbast választod, csatlakozik.</string>
|
<string name="wake_assistant_unbound_line">Amíg nem csatlakoztatja, az ébresztőszó nem tudja magától megnyitni a panelt. Koppintson a rendszer asszisztensbeállításához: ha másik alkalmazást, majd újra a LLeMbast választja, csatlakozik.</string>
|
||||||
<string name="wake_heard_could_not">Nem tudott magától megnyílni — koppints a kérdezéshez</string>
|
<string name="wake_heard_could_not">Nem tudott magától megnyílni — koppintson a kérdezéshez</string>
|
||||||
<string name="wake_resume">Ébresztőszó figyelése újra</string>
|
<string name="wake_resume">Ébresztőszó figyelése újra</string>
|
||||||
<string name="wake_resume_line">A telefon újraindult. Koppints a figyelés folytatásához.</string>
|
<string name="wake_resume_line">A telefon újraindult. Koppintson a figyelés folytatásához.</string>
|
||||||
<string name="assist_notifications">Értesítéseim összefoglalása</string>
|
<string name="assist_notifications">Értesítéseim összefoglalása</string>
|
||||||
<string name="assist_notifications_prompt">Foglald össze az értesítéseimet: mi igényli a figyelmemet?</string>
|
<string name="assist_notifications_prompt">Foglald össze az értesítéseimet: mi igényli a figyelmemet?</string>
|
||||||
<string name="assist_notifications_phrases">értesítéseim|értesítéseimet|az értesítéseimről</string>
|
<string name="assist_notifications_phrases">értesítéseim|értesítéseimet|az értesítéseimről</string>
|
||||||
<string name="notification_summaries">Értesítések összefoglalása</string>
|
<string name="notification_summaries">Értesítések összefoglalása</string>
|
||||||
<string name="notification_summaries_switch">Az asszisztens kérésemre elolvashatja az értesítéseimet</string>
|
<string name="notification_summaries_switch">Az asszisztens kérésemre elolvashatja az értesítéseimet</string>
|
||||||
<string name="notification_summaries_line">Kérd, hogy „foglald össze az értesítéseimet”, vagy koppints a gombra az asszisztensben.</string>
|
<string name="notification_summaries_line">Kérje, hogy „foglald össze az értesítéseimet”, vagy koppintson a gombra az asszisztensben.</string>
|
||||||
<string name="notification_summaries_unavailable">Ebben a változatban nincs. Az értesítések olvasásához a LLeMbas „notifications” változata kell, mert a Google Play Protect letiltja az olyan, Play Áruházon kívüli alkalmazás telepítését, amely olvasni tudja őket. Ugyanaz az alkalmazás ugyanazzal az aláírással: a kiadás oldalán a -notifications.apk végű fájl erre telepíthető rá.</string>
|
<string name="notification_summaries_unavailable">Ebben a változatban nincs. Az értesítések olvasásához a LLeMbas „notifications” változata kell, mert a Google Play Protect letiltja az olyan, Play Áruházon kívüli alkalmazás telepítését, amely olvasni tudja őket. Ugyanaz az alkalmazás ugyanazzal az aláírással: a kiadás oldalán a -notifications.apk végű fájl erre telepíthető rá.</string>
|
||||||
<string name="update_notifications_manual">Ez a „notifications” változat: a frissítést a kiadás oldaláról telepítsd, a -notifications.apk végű fájlt.</string>
|
<string name="update_notifications_manual">Ez a „notifications” változat: a frissítést a kiadás oldaláról telepítsd, a -notifications.apk végű fájlt.</string>
|
||||||
<string name="notification_access">Hozzáférés az értesítésekhez</string>
|
<string name="notification_access">Hozzáférés az értesítésekhez</string>
|
||||||
<string name="notification_access_on">Megadva. Az Android kapcsolója a rendszerbeállításokban van.</string>
|
<string name="notification_access_on">Megadva. Az Android kapcsolója a rendszerbeállításokban van.</string>
|
||||||
<string name="notification_access_off">Még nincs megadva. Koppints az Android LLeMbas-kapcsolójának megnyitásához.</string>
|
<string name="notification_access_off">Még nincs megadva. Koppintson az Android LLeMbas-kapcsolójának megnyitásához.</string>
|
||||||
<string name="notification_summaries_privacy">Alapból ki van kapcsolva. Ha kéred, a telefonon éppen látható értesítések szövege (alkalmazás, cím, szöveg) ezzel az egy kérdéssel együtt a példányodhoz és a modelljéhez kerül. Előtte semmit nem olvas, az alkalmazás semmit nem tart meg, és zárolt telefonnál semmit nem olvas. Az Android értesítés-hozzáférése minden értesítést láthatóvá tesz egy alkalmazásnak, ezért rajtad múlik, megadod-e, és visszavonod-e.</string>
|
<string name="notification_summaries_privacy">Alapból ki van kapcsolva. Ha kéri, a telefonon éppen látható értesítések szövege (alkalmazás, cím, szöveg) ezzel az egy kérdéssel együtt a példányához és a modelljéhez kerül. Előtte semmit nem olvas, az alkalmazás semmit nem tart meg, és zárolt telefonnál semmit nem olvas. Az Android értesítés-hozzáférése minden értesítést láthatóvá tesz egy alkalmazásnak, ezért Önön múlik, megadja-e, és visszavonja-e.</string>
|
||||||
<string name="nav_app">Navigációs alkalmazás</string>
|
<string name="nav_app">Navigációs alkalmazás</string>
|
||||||
<string name="nav_app_auto">Amelyik telepítve van</string>
|
<string name="nav_app_auto">Amelyik telepítve van</string>
|
||||||
<string name="nav_app_google">Google Térkép</string>
|
<string name="nav_app_google">Google Térkép</string>
|
||||||
@@ -647,38 +662,38 @@
|
|||||||
<string name="nav_app_ask">Mindig kérdezzen</string>
|
<string name="nav_app_ask">Mindig kérdezzen</string>
|
||||||
<string name="nav_app_not_installed">Nincs telepítve</string>
|
<string name="nav_app_not_installed">Nincs telepítve</string>
|
||||||
<string name="osmand_info">Útvonal lekérdezése az OsmAndtól</string>
|
<string name="osmand_info">Útvonal lekérdezése az OsmAndtól</string>
|
||||||
<string name="osmand_info_line">Így a „megálló hozzáadása” és a közeli keresés az OsmAndban beállított útvonallal is működik: a LLeMbas megkérdezi az OsmAndot, hol vagy és hová tart az útvonal. Előbb engedélyezd a LLeMbast az OsmAndban (csatlakoztatott alkalmazások, helyadattal); az OsmAnd szól, ha nincs engedélyezve.</string>
|
<string name="osmand_info_line">Így a „megálló hozzáadása” és a közeli keresés az OsmAndban beállított útvonallal is működik: a LLeMbas megkérdezi az OsmAndot, hol tartózkodik Ön, és hová tart az útvonal. Előbb engedélyezze a LLeMbast az OsmAndban (csatlakoztatott alkalmazások, helyadattal); az OsmAnd szól, ha nincs engedélyezve.</string>
|
||||||
<string name="phone_actions_line">Egy modell felajánlhatja, hogy tesz valamit ezen a telefonon — ébresztőt állít, eseményt vesz fel, üzenetet fogalmaz, útvonalat indít. Semmi sem történik, amíg a kártyáján nem koppintasz a Mehet gombra, és zárolt telefonnál soha. A Google Térkép néhány megállós útvonalat indít, de futó útvonalhoz nem ad megállót és nem állítható le; az OsmAnd igen.</string>
|
<string name="phone_actions_line">Egy modell felajánlhatja, hogy tesz valamit ezen a telefonon — ébresztőt állít, eseményt vesz fel, üzenetet fogalmaz, útvonalat indít. Semmi sem történik, amíg a kártyáján nem koppint a Mehet gombra, és zárolt telefonnál soha. A Google Térkép néhány megállós útvonalat indít, de futó útvonalhoz nem ad megállót és nem állítható le; az OsmAnd igen.</string>
|
||||||
<string name="action_card_title">Megtegyem ezt a telefonodon?</string>
|
<string name="action_card_title">Megtegyem ezt a telefonján?</string>
|
||||||
<string name="action_do">Mehet</string>
|
<string name="action_do">Mehet</string>
|
||||||
<string name="action_running">Folyamatban…</string>
|
<string name="action_running">Folyamatban…</string>
|
||||||
<string name="action_unlock">Előbb oldd fel a telefont, aztán koppints a Mehet gombra.</string>
|
<string name="action_unlock">Előbb oldja fel a telefont, aztán koppintson a Mehet gombra.</string>
|
||||||
<string name="action_failed">Nem sikerült: %1$s</string>
|
<string name="action_failed">Nem sikerült: %1$s</string>
|
||||||
<string name="nav_app_pick">Melyik térképalkalmazással?</string>
|
<string name="nav_app_pick">Melyik térképalkalmazással?</string>
|
||||||
<string name="action_google_add_stop">A Google Térkép nem tud megállót adni egy futó útvonalhoz: újraindítja az útvonalat a megállón át.</string>
|
<string name="action_google_add_stop">A Google Térkép nem tud megállót adni egy futó útvonalhoz: újraindítja az útvonalat a megállón át.</string>
|
||||||
<string name="action_google_no_stop">A Google Térképet nem lehet kívülről leállítani: ott fejezd be az útvonalat.</string>
|
<string name="action_google_no_stop">A Google Térképet nem lehet kívülről leállítani: ott fejezd be az útvonalat.</string>
|
||||||
<string name="action_line_clock">Az Óra alkalmazás beállítja.</string>
|
<string name="action_line_clock">Az Óra alkalmazás beállítja.</string>
|
||||||
<string name="action_line_calendar">Megnyílik a naptár a kitöltött eseménnyel; te mented el.</string>
|
<string name="action_line_calendar">Megnyílik a naptár a kitöltött eseménnyel; Ön menti el.</string>
|
||||||
<string name="action_line_draft">Megnyit egy piszkozatot; te küldöd el.</string>
|
<string name="action_line_draft">Megnyit egy piszkozatot; Ön küldi el.</string>
|
||||||
<string name="action_line_dial">Megnyílik a tárcsázó a számmal; te indítod a hívást.</string>
|
<string name="action_line_dial">Megnyílik a tárcsázó a számmal; Ön indítja a hívást.</string>
|
||||||
<string name="action_line_map">Az útvonalat a(z) %1$s kapja.</string>
|
<string name="action_line_map">Az útvonalat a(z) %1$s kapja.</string>
|
||||||
<string name="action_line_now">Azonnal megtörténik.</string>
|
<string name="action_line_now">Azonnal megtörténik.</string>
|
||||||
<string name="action_line_settings">Megnyitja a beállítást; te módosítod.</string>
|
<string name="action_line_settings">Megnyitja a beállítást; Ön módosítja.</string>
|
||||||
<string name="action_line_automation">Lefuttatja az automatizálásodat (Tasker, ha nincs más alkalmazás megadva).</string>
|
<string name="action_line_automation">Lefuttatja az automatizálását (Tasker, ha nincs más alkalmazás megadva).</string>
|
||||||
<string name="action_line_open">Megnyitja.</string>
|
<string name="action_line_open">Megnyitja.</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="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="assistant_listens">Hallgatás indítása az asszisztens megnyitásakor</string>
|
||||||
<string name="voice_input">Hangbevitel</string>
|
<string name="voice_input">Hangbevitel</string>
|
||||||
<string name="voice_input_lembas">LLeMbas</string>
|
<string name="voice_input_lembas">LLeMbas</string>
|
||||||
<string name="voice_input_lembas_line">A példánya beszédfelismerése, a szerveren át. A felvétel a példányához megy, máshová nem.</string>
|
<string name="voice_input_lembas_line">A példánya beszédfelismerése. Ez a telefon a felvételt csak a példányának küldi el; a példány az ott beállított beszédmodellel írja le.</string>
|
||||||
<string name="voice_input_phone">Telefon (Google vagy a rendszeré)</string>
|
<string name="voice_input_phone">Telefon (Google vagy a rendszeré)</string>
|
||||||
<string name="voice_input_phone_line">A telefon saját beszédfelismerője. A szavak beszéd közben jelennek meg; a felvétel oda megy, ahová az a felismerő küldi.</string>
|
<string name="voice_input_phone_line">A telefon saját beszédfelismerője. A szavak beszéd közben jelennek meg; a felvétel oda megy, ahová az a felismerő küldi.</string>
|
||||||
<string name="voice_input_phone_none">Ennek a telefonnak nincs saját beszédfelismerője.</string>
|
<string name="voice_input_phone_none">Ennek a telefonnak nincs saját beszédfelismerője.</string>
|
||||||
<string name="voice_input_hint">Az asszisztens és a csevegés mikrofonja használja. LLeMbasszal az asszisztens kis késéssel mutatja a szavakat, és egy szünet elküldi őket, a csevegés pedig akkor írja le őket, amikor abbahagyja; a telefon felismerőjével beszéd közben jelennek meg.</string>
|
<string name="voice_input_hint">Az asszisztens és a csevegés mikrofonja használja. LLeMbasszal az asszisztens kis késéssel mutatja a szavakat, és egy szünet elküldi őket, a csevegés pedig akkor írja le őket, amikor abbahagyja; a telefon felismerőjével beszéd közben jelennek meg.</string>
|
||||||
<string name="share_sending">Küldés az LLeMbas-nak…</string>
|
<string name="share_sending">Küldés az LLeMbas-nak…</string>
|
||||||
<string name="share_default_prompt">Nézze meg ezt.</string>
|
<string name="share_default_prompt">Nézd meg ezt.</string>
|
||||||
<string name="share_ask_hint">Mit kezdjen vele a LLeMbas? (nem kötelező)</string>
|
<string name="share_ask_hint">Mit kezdjen vele a LLeMbas? (nem kötelező)</string>
|
||||||
<string name="widget_hint">Kérdezz bármit</string>
|
<string name="widget_hint">Kérdezzen bármit</string>
|
||||||
<string name="directory_places">Helyek ezen az eszközön</string>
|
<string name="directory_places">Helyek ezen az eszközön</string>
|
||||||
<string name="directory_last_used">Itt legutóbb használt: %1$s. Egy új csevegés ebben a mappában ezzel indul, hacsak nem választ másikat.</string>
|
<string name="directory_last_used">Itt legutóbb használt: %1$s. Egy új csevegés ebben a mappában ezzel indul, hacsak nem választ másikat.</string>
|
||||||
<string name="directory_refused">Az eszköz itt nem nyit munkamenetet.</string>
|
<string name="directory_refused">Az eszköz itt nem nyit munkamenetet.</string>
|
||||||
@@ -709,7 +724,7 @@
|
|||||||
<string name="schedule_watch_command_hint">Nem kötelező, a számítógépen. Minden futás előtt lefut a mappában; ha a kimenete ugyanaz, mint legutóbb, a futás ott leáll. Az a parancs, amelyre a mód rákérdezne, elutasításra kerül.</string>
|
<string name="schedule_watch_command_hint">Nem kötelező, a számítógépen. Minden futás előtt lefut a mappában; ha a kimenete ugyanaz, mint legutóbb, a futás ott leáll. Az a parancs, amelyre a mód rákérdezne, elutasításra kerül.</string>
|
||||||
<string name="schedule_watch_timeout">A parancs ennyi ideig tarthat (másodperc)</string>
|
<string name="schedule_watch_timeout">A parancs ennyi ideig tarthat (másodperc)</string>
|
||||||
<string name="schedule_watch_timeout_hint">Ezután leáll, és a futás sikertelen.</string>
|
<string name="schedule_watch_timeout_hint">Ezután leáll, és a futás sikertelen.</string>
|
||||||
<string name="schedule_chat_drops_watch">Ez a feladat egy parancsot figyel a számítógépén. Chat típusú feladatként már nem teszi: minden alkalommal lefut.</string>
|
<string name="schedule_chat_drops_watch">Ez a feladat egy parancsot figyel a számítógépén. Csevegés típusú feladatként már nem teszi: minden alkalommal lefut.</string>
|
||||||
<string name="schedule_folder_model">A mappa szokásos modellje</string>
|
<string name="schedule_folder_model">A mappa szokásos modellje</string>
|
||||||
<string name="schedule_folder_model_hint">A mappa szokásos modellje az, amelyet abban a mappában azon a számítógépen legutóbb használt — a számítógép megjegyzi, és minden futás megkérdezi tőle —, vagy az alapértelmezett modellje, ha nincs ilyen. Az itt választott modell a futásé, bármi is a mappáé. Egy futás soha nem változtatja meg a mappa modelljét.</string>
|
<string name="schedule_folder_model_hint">A mappa szokásos modellje az, amelyet abban a mappában azon a számítógépen legutóbb használt — a számítógép megjegyzi, és minden futás megkérdezi tőle —, vagy az alapértelmezett modellje, ha nincs ilyen. Az itt választott modell a futásé, bármi is a mappáé. Egy futás soha nem változtatja meg a mappa modelljét.</string>
|
||||||
<string name="schedule_first_free_model">Az ütemezési modelljei közül az első szabad</string>
|
<string name="schedule_first_free_model">Az ütemezési modelljei közül az első szabad</string>
|
||||||
@@ -717,6 +732,6 @@
|
|||||||
<string name="run_model_default">az Ön alapértelmezett modellje</string>
|
<string name="run_model_default">az Ön alapértelmezett modellje</string>
|
||||||
<string name="run_model_session">a beszélgetés saját modellje</string>
|
<string name="run_model_session">a beszélgetés saját modellje</string>
|
||||||
<string name="widget_speak">Beszéd</string>
|
<string name="widget_speak">Beszéd</string>
|
||||||
<string name="widget_description">Kérdezz hanggal vagy szöveggel, vagy folytasd az asszisztens legutóbbi csevegését. A fiókodból semmit sem mutat.</string>
|
<string name="widget_description">Kérdezzen hanggal vagy szöveggel, vagy folytassa az asszisztens legutóbbi csevegését. A fiókjából semmit sem mutat.</string>
|
||||||
<string name="shortcut_last">Utolsó csevegés</string>
|
<string name="shortcut_last">Utolsó csevegés</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -4,7 +4,7 @@
|
|||||||
<string name="device_name">LLeMbas per Android</string>
|
<string name="device_name">LLeMbas per Android</string>
|
||||||
<string name="share_label">Chiedi a LLeMbas</string>
|
<string name="share_label">Chiedi a LLeMbas</string>
|
||||||
<string name="tile_ask">Chiedi a LLeMbas</string>
|
<string name="tile_ask">Chiedi a LLeMbas</string>
|
||||||
<string name="signin_intro">Accedi a un\'istanza LLeMbas. Approvi questo telefono nel browser, come faresti con la CLI.</string>
|
<string name="signin_intro">Accedi a un\'istanza LLeMbas. Approvi questo telefono nel browser.</string>
|
||||||
<string name="signin_address">Indirizzo dell\'istanza</string>
|
<string name="signin_address">Indirizzo dell\'istanza</string>
|
||||||
<string name="signin_continue">Continua</string>
|
<string name="signin_continue">Continua</string>
|
||||||
<string name="signin_code_intro">Apri l\'istanza nel browser, accedi e approva questo codice:</string>
|
<string name="signin_code_intro">Apri l\'istanza nel browser, accedi e approva questo codice:</string>
|
||||||
@@ -12,14 +12,27 @@
|
|||||||
<string name="signin_denied">L\'accesso è stato rifiutato.</string>
|
<string name="signin_denied">L\'accesso è stato rifiutato.</string>
|
||||||
<string name="signin_expired">Il codice è scaduto prima di essere approvato. Riprova.</string>
|
<string name="signin_expired">Il codice è scaduto prima di essere approvato. Riprova.</string>
|
||||||
<string name="signin_too_old">Questa istanza usa una versione precedente di LLeMbas. Questa app richiede LLeMbas 2.0 o successivo.</string>
|
<string name="signin_too_old">Questa istanza usa una versione precedente di LLeMbas. Questa app richiede LLeMbas 2.0 o successivo.</string>
|
||||||
<string name="signin_too_new">Questa istanza usa un\'API per l\'app più recente di questa app. Aggiorna l\'app.</string>
|
<string name="signin_too_new">Questa istanza è più recente di quanto questa app supporti. Aggiorna l\'app.</string>
|
||||||
|
<string name="signin_not_lembas">Non c\'è nessuna istanza LLeMbas a quell\'indirizzo.</string>
|
||||||
|
<string name="signin_failed">Non è stato possibile completare l\'accesso (%1$s). Riprova.</string>
|
||||||
|
<string name="signin_app_too_old">Questa istanza richiede LLeMbas per Android %1$s o successivo, e questa è la %2$s. Aggiorna l\'app.</string>
|
||||||
|
<string name="signin_other_origin">Questa istanza indica per l\'accesso un indirizzo diverso (%1$s) da quello che hai scritto. Il suo proxy deve inoltrare l\'indirizzo con cui viene raggiunta.</string>
|
||||||
|
<string name="address_needs_https">Questa app richiede un indirizzo https://: il semplice http non è supportato.</string>
|
||||||
|
<string name="address_unreadable">L\'app non può usare questo indirizzo. Scrivi l\'indirizzo dell\'istanza, ad esempio llm.example.org.</string>
|
||||||
|
<string name="server_answered">Il server ha risposto %1$s.</string>
|
||||||
|
<string name="timed_out">L\'istanza non ha risposto in tempo.</string>
|
||||||
|
<string name="not_trusted">Questo telefono non considera attendibile il certificato dell\'istanza: installa il certificato della sua autorità di certificazione tra i certificati utente di Android (Impostazioni, Sicurezza, Crittografia e credenziali, Installa un certificato).</string>
|
||||||
|
<string name="signed_out">%1$s ha disconnesso questo telefono. Accedi di nuovo per continuare: le tue chat e le impostazioni fatte qui restano.</string>
|
||||||
|
<string name="signed_out_again">Accedi di nuovo</string>
|
||||||
|
<string name="signed_out_use">Usa %1$s</string>
|
||||||
|
<string name="signed_out_remove">Rimuovi questa istanza</string>
|
||||||
<string name="new_chat">Nuova chat</string>
|
<string name="new_chat">Nuova chat</string>
|
||||||
<string name="empty_chats">Ancora nessuna chat. Non tutti quelli che vagano sono perduti — iniziane una.</string>
|
<string name="empty_chats">Ancora nessuna chat. Non tutti quelli che vagano sono perduti — iniziane una.</string>
|
||||||
<string name="new_agent_chat">Nuova chat agente</string>
|
<string name="new_agent_chat">Nuova chat agente</string>
|
||||||
<string name="agent_device">Dispositivo</string>
|
<string name="agent_device">Computer</string>
|
||||||
<string name="agent_no_device">Nessun dispositivo è collegato ora. Avvia `lembas service` su un computer connesso a questa istanza, poi torna qui.</string>
|
<string name="agent_no_device">Nessun computer è collegato ora. Avvia il servizio della CLI di LLeMbas (lembas service) su un computer connesso a questa istanza, poi torna qui.</string>
|
||||||
<string name="agent_directory">Cartella sul dispositivo</string>
|
<string name="agent_directory">Cartella sul computer</string>
|
||||||
<string name="agent_directory_hint">Vuoto: la prima cartella del dispositivo</string>
|
<string name="agent_directory_hint">Vuoto: la prima cartella del computer</string>
|
||||||
<string name="empty_chat">Di cosa parliamo?</string>
|
<string name="empty_chat">Di cosa parliamo?</string>
|
||||||
<string name="loading_line">I lembas stanno cuocendo…</string>
|
<string name="loading_line">I lembas stanno cuocendo…</string>
|
||||||
<string name="archive">Archivia</string>
|
<string name="archive">Archivia</string>
|
||||||
@@ -347,7 +360,7 @@
|
|||||||
<string name="viewer_copy">Copia</string>
|
<string name="viewer_copy">Copia</string>
|
||||||
<string name="viewer_html_source">Questo è il sorgente della pagina. Aprila nel browser per vedere la pagina.</string>
|
<string name="viewer_html_source">Questo è il sorgente della pagina. Aprila nel browser per vedere la pagina.</string>
|
||||||
<string name="viewer_long_markdown">Un file lungo, quindi è mostrato come testo semplice.</string>
|
<string name="viewer_long_markdown">Un file lungo, quindi è mostrato come testo semplice.</string>
|
||||||
<string name="viewer_unavailable">Questo server non può ancora passare il file all\'app. Aprilo invece nel browser.</string>
|
<string name="viewer_unavailable">Questa istanza non può ancora passare il file all\'app. Aprilo invece nel browser.</string>
|
||||||
<string name="viewer_too_large">Questo file è troppo grande da mostrare; si può mostrare al massimo 1 MB.</string>
|
<string name="viewer_too_large">Questo file è troppo grande da mostrare; si può mostrare al massimo 1 MB.</string>
|
||||||
<string name="viewer_not_text">Non è un file di testo, quindi non viene mostrato qui.</string>
|
<string name="viewer_not_text">Non è un file di testo, quindi non viene mostrato qui.</string>
|
||||||
<string name="files">File</string>
|
<string name="files">File</string>
|
||||||
@@ -464,6 +477,8 @@
|
|||||||
<string name="sign_out">Esci</string>
|
<string name="sign_out">Esci</string>
|
||||||
<string name="add_instance">Aggiungi un\'istanza</string>
|
<string name="add_instance">Aggiungi un\'istanza</string>
|
||||||
<string name="instance_default">Predefinito</string>
|
<string name="instance_default">Predefinito</string>
|
||||||
|
<string name="instance_set_default">Imposta come predefinita</string>
|
||||||
|
<string name="instance_switch">Cambia istanza</string>
|
||||||
<string name="settings_theme">Tema</string>
|
<string name="settings_theme">Tema</string>
|
||||||
<string name="theme_system">Come il sistema</string>
|
<string name="theme_system">Come il sistema</string>
|
||||||
<string name="theme_moria">Moria (scuro)</string>
|
<string name="theme_moria">Moria (scuro)</string>
|
||||||
@@ -472,7 +487,7 @@
|
|||||||
<string name="language_hint">Solo l\'interfaccia. I modelli rispondono nella lingua in cui scrivi loro, qualunque cosa dica questa impostazione.</string>
|
<string name="language_hint">Solo l\'interfaccia. I modelli rispondono nella lingua in cui scrivi loro, qualunque cosa dica questa impostazione.</string>
|
||||||
<string name="language_account">Come il mio account</string>
|
<string name="language_account">Come il mio account</string>
|
||||||
<string name="language_account_is">Come il mio account: %1$s</string>
|
<string name="language_account_is">Come il mio account: %1$s</string>
|
||||||
<string name="language_account_unknown">Non ancora letta dalla sua istanza</string>
|
<string name="language_account_unknown">Non ancora letta dalla tua istanza</string>
|
||||||
<string name="language_phone">Lingua del telefono</string>
|
<string name="language_phone">Lingua del telefono</string>
|
||||||
<string name="language_phone_is">Lingua del telefono: %1$s</string>
|
<string name="language_phone_is">Lingua del telefono: %1$s</string>
|
||||||
<string name="settings_notifications">Notifiche</string>
|
<string name="settings_notifications">Notifiche</string>
|
||||||
@@ -504,7 +519,7 @@
|
|||||||
<string name="update_available">%1$s è disponibile. Tocca per aprire la pagina della release.</string>
|
<string name="update_available">%1$s è disponibile. Tocca per aprire la pagina della release.</string>
|
||||||
<string name="update_install">Installa %1$s</string>
|
<string name="update_install">Installa %1$s</string>
|
||||||
<string name="update_auto">Cerca nuove versioni</string>
|
<string name="update_auto">Cerca nuove versioni</string>
|
||||||
<string name="update_auto_line">Al massimo una volta al giorno, all’avvio, l’app chiede alla sua istanza quale release le corrisponde (con un’istanza più vecchia, legge l’elenco delle release su GitHub) e la avvisa con una notifica quando ce n’è una più recente. Nulla su di lei viene inviato altrove. Attivo per impostazione predefinita in una beta, altrimenti disattivato.</string>
|
<string name="update_auto_line">Al massimo una volta al giorno, all’avvio, l’app chiede alla tua istanza quale release le corrisponde — oppure legge l’elenco delle release su GitHub quando l’istanza non sa dirlo — e ti avvisa con una notifica quando ce n’è una più recente. Con nessuna delle due richieste viene inviato qualcosa su di te. Attivo per impostazione predefinita in una beta, altrimenti disattivato.</string>
|
||||||
<string name="update_betas">Includi le beta</string>
|
<string name="update_betas">Includi le beta</string>
|
||||||
<string name="update_betas_line">Offri anche le versioni di prova, non solo le release. Attivo per impostazione predefinita quando questa app è essa stessa una beta.</string>
|
<string name="update_betas_line">Offri anche le versioni di prova, non solo le release. Attivo per impostazione predefinita quando questa app è essa stessa una beta.</string>
|
||||||
<string name="channel_updates">Aggiornamenti dell’app</string>
|
<string name="channel_updates">Aggiornamenti dell’app</string>
|
||||||
@@ -515,9 +530,9 @@
|
|||||||
<string name="assist_open_app">Apri l\'app</string>
|
<string name="assist_open_app">Apri l\'app</string>
|
||||||
<string name="assist_open_in_app">Continua nell\'app</string>
|
<string name="assist_open_in_app">Continua nell\'app</string>
|
||||||
<string name="assist_use_screen">Usa lo schermo</string>
|
<string name="assist_use_screen">Usa lo schermo</string>
|
||||||
<string name="assist_screen_both">Il testo dello schermo e uno screenshot accompagnano la sua prossima domanda.</string>
|
<string name="assist_screen_both">Il testo dello schermo e uno screenshot accompagnano la tua prossima domanda.</string>
|
||||||
<string name="assist_screen_text">Il testo dello schermo accompagna la sua prossima domanda.</string>
|
<string name="assist_screen_text">Il testo dello schermo accompagna la tua prossima domanda.</string>
|
||||||
<string name="assist_screen_shot">Uno screenshot accompagna la sua prossima domanda.</string>
|
<string name="assist_screen_shot">Uno screenshot accompagna la tua prossima domanda.</string>
|
||||||
<string name="assist_quick_summarise">Riassumi</string>
|
<string name="assist_quick_summarise">Riassumi</string>
|
||||||
<string name="assist_quick_summarise_prompt">Riassumi cosa c’è sul mio schermo.</string>
|
<string name="assist_quick_summarise_prompt">Riassumi cosa c’è sul mio schermo.</string>
|
||||||
<string name="assist_quick_translate">Traduci</string>
|
<string name="assist_quick_translate">Traduci</string>
|
||||||
@@ -533,7 +548,7 @@
|
|||||||
<string name="assist_voice_reply_off">Risposta vocale disattivata</string>
|
<string name="assist_voice_reply_off">Risposta vocale disattivata</string>
|
||||||
<string name="assist_read_aloud">Leggi ad alta voce</string>
|
<string name="assist_read_aloud">Leggi ad alta voce</string>
|
||||||
<string name="assist_stop_reading">Interrompi la lettura</string>
|
<string name="assist_stop_reading">Interrompi la lettura</string>
|
||||||
<string name="assist_answer_in_app">Questa risposta attende una sua decisione: la apra nell’app.</string>
|
<string name="assist_answer_in_app">Questa risposta attende una tua decisione: aprila nell’app.</string>
|
||||||
<string name="assist_send_now">Invia ciò che ho detto</string>
|
<string name="assist_send_now">Invia ciò che ho detto</string>
|
||||||
<string name="assist_say_it">Lo dica, poi faccia una pausa</string>
|
<string name="assist_say_it">Lo dica, poi faccia una pausa</string>
|
||||||
<string name="assist_type">Scrivi invece</string>
|
<string name="assist_type">Scrivi invece</string>
|
||||||
@@ -551,7 +566,7 @@
|
|||||||
<string name="experimental">Sperimentale</string>
|
<string name="experimental">Sperimentale</string>
|
||||||
<string name="wake_experimental_line">Nuovo e provato finora su pochi telefoni. Può non sentire la frase, attivarsi per errore, oppure sentirti e non aprire comunque l’assistente.</string>
|
<string name="wake_experimental_line">Nuovo e provato finora su pochi telefoni. Può non sentire la frase, attivarsi per errore, oppure sentirti e non aprire comunque l’assistente.</string>
|
||||||
<string name="assistant_voice_experimental_line">Sperimentale: l’ascolto automatico all’apertura dell’assistente, il riconoscimento di quando hai finito di parlare e la conversazione a voce sono nuovi e non funzionano ancora bene su tutti i telefoni. Scrivere una domanda e il pulsante del microfono funzionano sempre.</string>
|
<string name="assistant_voice_experimental_line">Sperimentale: l’ascolto automatico all’apertura dell’assistente, il riconoscimento di quando hai finito di parlare e la conversazione a voce sono nuovi e non funzionano ancora bene su tutti i telefoni. Scrivere una domanda e il pulsante del microfono funzionano sempre.</string>
|
||||||
<string name="assist_wake_word_hint">Nessuna parola di attivazione, a meno che tu non la voglia: Impostazioni › Assistente › Parola di attivazione attiva quella di LLeMbas, su questo telefono.</string>
|
<string name="assist_wake_word_hint">Nessuna parola di attivazione, a meno che tu non la voglia: Impostazioni › Parola di attivazione attiva quella di LLeMbas, su questo telefono.</string>
|
||||||
<string name="channel_wake">Parola di attivazione</string>
|
<string name="channel_wake">Parola di attivazione</string>
|
||||||
<string name="wake_word">Parola di attivazione</string>
|
<string name="wake_word">Parola di attivazione</string>
|
||||||
<string name="wake_word_listen">Ascolta una parola di attivazione</string>
|
<string name="wake_word_listen">Ascolta una parola di attivazione</string>
|
||||||
@@ -670,9 +685,9 @@
|
|||||||
<string name="assistant_listens">Inizia ad ascoltare all’apertura dell’assistente</string>
|
<string name="assistant_listens">Inizia ad ascoltare all’apertura dell’assistente</string>
|
||||||
<string name="voice_input">Input vocale</string>
|
<string name="voice_input">Input vocale</string>
|
||||||
<string name="voice_input_lembas">LLeMbas</string>
|
<string name="voice_input_lembas">LLeMbas</string>
|
||||||
<string name="voice_input_lembas_line">La trascrizione della sua istanza, tramite il server. La registrazione va alla sua istanza e da nessun’altra parte.</string>
|
<string name="voice_input_lembas_line">La trascrizione della tua istanza. Questo telefono invia la registrazione solo alla tua istanza; l’istanza la trascrive con il modello vocale configurato lì.</string>
|
||||||
<string name="voice_input_phone">Telefono (Google o quello di sistema)</string>
|
<string name="voice_input_phone">Telefono (Google o quello di sistema)</string>
|
||||||
<string name="voice_input_phone_line">Il riconoscimento vocale del telefono. Le parole appaiono mentre parla; la registrazione va dove la manda quel riconoscimento.</string>
|
<string name="voice_input_phone_line">Il riconoscimento vocale del telefono. Le parole appaiono mentre parli; la registrazione va dove la manda quel riconoscimento.</string>
|
||||||
<string name="voice_input_phone_none">Questo telefono non ha un riconoscimento vocale proprio.</string>
|
<string name="voice_input_phone_none">Questo telefono non ha un riconoscimento vocale proprio.</string>
|
||||||
<string name="voice_input_hint">La usano l’assistente e il microfono di una chat. Con LLeMbas l’assistente mostra le parole con un attimo di ritardo e una pausa le invia, e una chat le scrive quando si ferma; con il riconoscimento del telefono appaiono mentre parla.</string>
|
<string name="voice_input_hint">La usano l’assistente e il microfono di una chat. Con LLeMbas l’assistente mostra le parole con un attimo di ritardo e una pausa le invia, e una chat le scrive quando si ferma; con il riconoscimento del telefono appaiono mentre parla.</string>
|
||||||
<string name="share_sending">Invio a LLeMbas…</string>
|
<string name="share_sending">Invio a LLeMbas…</string>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<string name="device_name">LLeMbas na Androida</string>
|
<string name="device_name">LLeMbas na Androida</string>
|
||||||
<string name="share_label">Zapytaj LLeMbas</string>
|
<string name="share_label">Zapytaj LLeMbas</string>
|
||||||
<string name="tile_ask">Zapytaj LLeMbas</string>
|
<string name="tile_ask">Zapytaj LLeMbas</string>
|
||||||
<string name="signin_intro">Zaloguj się do instancji LLeMbas. Ten telefon zatwierdza się w przeglądarce, tak jak CLI.</string>
|
<string name="signin_intro">Zaloguj się do instancji LLeMbas. Ten telefon zatwierdza się w przeglądarce.</string>
|
||||||
<string name="signin_address">Adres instancji</string>
|
<string name="signin_address">Adres instancji</string>
|
||||||
<string name="signin_continue">Kontynuuj</string>
|
<string name="signin_continue">Kontynuuj</string>
|
||||||
<string name="signin_code_intro">Otwórz instancję w przeglądarce, zaloguj się i zatwierdź ten kod:</string>
|
<string name="signin_code_intro">Otwórz instancję w przeglądarce, zaloguj się i zatwierdź ten kod:</string>
|
||||||
@@ -12,14 +12,27 @@
|
|||||||
<string name="signin_denied">Logowanie zostało odrzucone.</string>
|
<string name="signin_denied">Logowanie zostało odrzucone.</string>
|
||||||
<string name="signin_expired">Kod wygasł, zanim został zatwierdzony. Spróbuj ponownie.</string>
|
<string name="signin_expired">Kod wygasł, zanim został zatwierdzony. Spróbuj ponownie.</string>
|
||||||
<string name="signin_too_old">Ta instancja działa na starszym LLeMbas. Ta aplikacja wymaga LLeMbas 2.0 lub nowszego.</string>
|
<string name="signin_too_old">Ta instancja działa na starszym LLeMbas. Ta aplikacja wymaga LLeMbas 2.0 lub nowszego.</string>
|
||||||
<string name="signin_too_new">Ta instancja używa nowszego API aplikacji niż ta aplikacja. Zaktualizuj aplikację.</string>
|
<string name="signin_too_new">Ta instancja jest nowsza, niż obsługuje ta aplikacja. Zaktualizuj aplikację.</string>
|
||||||
|
<string name="signin_not_lembas">Pod tym adresem nie ma instancji LLeMbas.</string>
|
||||||
|
<string name="signin_failed">Nie udało się dokończyć logowania (%1$s). Spróbuj ponownie.</string>
|
||||||
|
<string name="signin_app_too_old">Ta instancja wymaga LLeMbas dla Androida %1$s lub nowszego, a to jest %2$s. Zaktualizuj aplikację.</string>
|
||||||
|
<string name="signin_other_origin">Ta instancja podaje do logowania inny adres (%1$s) niż wpisany. Jej proxy musi przekazywać adres, pod którym jest dostępna.</string>
|
||||||
|
<string name="address_needs_https">Ta aplikacja wymaga adresu https://: zwykłe http nie jest obsługiwane.</string>
|
||||||
|
<string name="address_unreadable">Aplikacja nie może użyć tego adresu. Wpisz adres instancji, na przykład llm.example.org.</string>
|
||||||
|
<string name="server_answered">Serwer odpowiedział: %1$s.</string>
|
||||||
|
<string name="timed_out">Instancja nie odpowiedziała na czas.</string>
|
||||||
|
<string name="not_trusted">Ten telefon nie ufa certyfikatowi instancji: zainstaluj certyfikat jej urzędu certyfikacji wśród certyfikatów użytkownika Androida (Ustawienia, Bezpieczeństwo, Szyfrowanie i dane logowania, Zainstaluj certyfikat).</string>
|
||||||
|
<string name="signed_out">%1$s wylogowała ten telefon. Zaloguj się ponownie, aby kontynuować: Twoje czaty i tutejsze ustawienia zostają.</string>
|
||||||
|
<string name="signed_out_again">Zaloguj się ponownie</string>
|
||||||
|
<string name="signed_out_use">Użyj %1$s</string>
|
||||||
|
<string name="signed_out_remove">Usuń tę instancję</string>
|
||||||
<string name="new_chat">Nowy czat</string>
|
<string name="new_chat">Nowy czat</string>
|
||||||
<string name="empty_chats">Nie ma jeszcze czatów. Nie każdy, kto błądzi, jest zgubiony — zacznij jeden.</string>
|
<string name="empty_chats">Nie ma jeszcze czatów. Nie każdy, kto błądzi, jest zgubiony — zacznij jeden.</string>
|
||||||
<string name="new_agent_chat">Nowy czat agenta</string>
|
<string name="new_agent_chat">Nowy czat agenta</string>
|
||||||
<string name="agent_device">Urządzenie</string>
|
<string name="agent_device">Komputer</string>
|
||||||
<string name="agent_no_device">Żadne urządzenie nie jest teraz połączone. Uruchom `lembas service` na komputerze zalogowanym do tej instancji i wróć.</string>
|
<string name="agent_no_device">Żaden komputer nie jest teraz połączony. Uruchom usługę LLeMbas CLI (lembas service) na komputerze zalogowanym do tej instancji i wróć.</string>
|
||||||
<string name="agent_directory">Folder na urządzeniu</string>
|
<string name="agent_directory">Folder na komputerze</string>
|
||||||
<string name="agent_directory_hint">Puste: pierwszy folder urządzenia</string>
|
<string name="agent_directory_hint">Puste: pierwszy folder komputera</string>
|
||||||
<string name="empty_chat">O czym porozmawiamy?</string>
|
<string name="empty_chat">O czym porozmawiamy?</string>
|
||||||
<string name="loading_line">Lembasy się pieczą…</string>
|
<string name="loading_line">Lembasy się pieczą…</string>
|
||||||
<string name="archive">Archiwizuj</string>
|
<string name="archive">Archiwizuj</string>
|
||||||
@@ -347,7 +360,7 @@
|
|||||||
<string name="viewer_copy">Kopiuj</string>
|
<string name="viewer_copy">Kopiuj</string>
|
||||||
<string name="viewer_html_source">To jest źródło strony. Otwórz ją w przeglądarce, aby zobaczyć samą stronę.</string>
|
<string name="viewer_html_source">To jest źródło strony. Otwórz ją w przeglądarce, aby zobaczyć samą stronę.</string>
|
||||||
<string name="viewer_long_markdown">Długi plik, dlatego jest pokazany jako zwykły tekst.</string>
|
<string name="viewer_long_markdown">Długi plik, dlatego jest pokazany jako zwykły tekst.</string>
|
||||||
<string name="viewer_unavailable">Ten serwer nie potrafi jeszcze przekazać pliku aplikacji. Otwórz go w przeglądarce.</string>
|
<string name="viewer_unavailable">Ta instancja nie potrafi jeszcze przekazać pliku aplikacji. Otwórz go w przeglądarce.</string>
|
||||||
<string name="viewer_too_large">Ten plik jest za duży, by go pokazać; można pokazać najwyżej 1 MB.</string>
|
<string name="viewer_too_large">Ten plik jest za duży, by go pokazać; można pokazać najwyżej 1 MB.</string>
|
||||||
<string name="viewer_not_text">To nie jest plik tekstowy, więc nie jest tu pokazywany.</string>
|
<string name="viewer_not_text">To nie jest plik tekstowy, więc nie jest tu pokazywany.</string>
|
||||||
<string name="files">Pliki</string>
|
<string name="files">Pliki</string>
|
||||||
@@ -464,6 +477,8 @@
|
|||||||
<string name="sign_out">Wyloguj się</string>
|
<string name="sign_out">Wyloguj się</string>
|
||||||
<string name="add_instance">Dodaj instancję</string>
|
<string name="add_instance">Dodaj instancję</string>
|
||||||
<string name="instance_default">Domyślny</string>
|
<string name="instance_default">Domyślny</string>
|
||||||
|
<string name="instance_set_default">Ustaw jako domyślną</string>
|
||||||
|
<string name="instance_switch">Przełącz instancję</string>
|
||||||
<string name="settings_theme">Motyw</string>
|
<string name="settings_theme">Motyw</string>
|
||||||
<string name="theme_system">Jak system</string>
|
<string name="theme_system">Jak system</string>
|
||||||
<string name="theme_moria">Moria (ciemny)</string>
|
<string name="theme_moria">Moria (ciemny)</string>
|
||||||
@@ -504,7 +519,7 @@
|
|||||||
<string name="update_available">Dostępna jest wersja %1$s. Dotknij, aby otworzyć jej stronę wydania.</string>
|
<string name="update_available">Dostępna jest wersja %1$s. Dotknij, aby otworzyć jej stronę wydania.</string>
|
||||||
<string name="update_install">Zainstaluj %1$s</string>
|
<string name="update_install">Zainstaluj %1$s</string>
|
||||||
<string name="update_auto">Szukaj nowych wersji</string>
|
<string name="update_auto">Szukaj nowych wersji</string>
|
||||||
<string name="update_auto_line">Najwyżej raz dziennie, przy uruchomieniu, aplikacja pyta twoją instancję, które wydanie do niej pasuje (przy starszej instancji odczytuje listę wydań z GitHuba), i daje znać powiadomieniem, gdy jest nowsze. Nic o tobie nie jest wysyłane nigdzie indziej. W wersji beta domyślnie włączone, w przeciwnym razie wyłączone.</string>
|
<string name="update_auto_line">Najwyżej raz dziennie, przy uruchomieniu, aplikacja pyta Twoją instancję, które wydanie do niej pasuje — albo odczytuje listę wydań z GitHuba, gdy instancja nie potrafi tego powiedzieć — i daje znać powiadomieniem, gdy jest nowsze. Z żadnym z tych zapytań nie jest wysyłane nic o Tobie. W wersji beta domyślnie włączone, w przeciwnym razie wyłączone.</string>
|
||||||
<string name="update_betas">Uwzględniaj bety</string>
|
<string name="update_betas">Uwzględniaj bety</string>
|
||||||
<string name="update_betas_line">Proponuj też wersje testowe, nie tylko wydania. Domyślnie włączone, gdy ta aplikacja sama jest betą.</string>
|
<string name="update_betas_line">Proponuj też wersje testowe, nie tylko wydania. Domyślnie włączone, gdy ta aplikacja sama jest betą.</string>
|
||||||
<string name="channel_updates">Aktualizacje aplikacji</string>
|
<string name="channel_updates">Aktualizacje aplikacji</string>
|
||||||
@@ -551,7 +566,7 @@
|
|||||||
<string name="experimental">Eksperymentalne</string>
|
<string name="experimental">Eksperymentalne</string>
|
||||||
<string name="wake_experimental_line">Nowość, sprawdzona na razie na niewielu telefonach. Może nie usłyszeć frazy, uruchomić się przez pomyłkę albo usłyszeć Cię i mimo to nie otworzyć asystenta.</string>
|
<string name="wake_experimental_line">Nowość, sprawdzona na razie na niewielu telefonach. Może nie usłyszeć frazy, uruchomić się przez pomyłkę albo usłyszeć Cię i mimo to nie otworzyć asystenta.</string>
|
||||||
<string name="assistant_voice_experimental_line">Eksperymentalne: samoczynne słuchanie po otwarciu asystenta, rozpoznawanie, że skończyłeś mówić, oraz rozmowa głosowa są nowe i nie na każdym telefonie działają jeszcze dobrze. Wpisanie pytania i przycisk mikrofonu działają zawsze.</string>
|
<string name="assistant_voice_experimental_line">Eksperymentalne: samoczynne słuchanie po otwarciu asystenta, rozpoznawanie, że skończyłeś mówić, oraz rozmowa głosowa są nowe i nie na każdym telefonie działają jeszcze dobrze. Wpisanie pytania i przycisk mikrofonu działają zawsze.</string>
|
||||||
<string name="assist_wake_word_hint">Bez słowa aktywującego, chyba że chcesz: Ustawienia › Asystent › Słowo aktywujące włącza własne słowo LLeMbas, na tym telefonie.</string>
|
<string name="assist_wake_word_hint">Bez słowa aktywującego, chyba że chcesz: Ustawienia › Słowo aktywujące włącza własne słowo LLeMbas, na tym telefonie.</string>
|
||||||
<string name="channel_wake">Słowo aktywujące</string>
|
<string name="channel_wake">Słowo aktywujące</string>
|
||||||
<string name="wake_word">Słowo aktywujące</string>
|
<string name="wake_word">Słowo aktywujące</string>
|
||||||
<string name="wake_word_listen">Nasłuchuj słowa aktywującego</string>
|
<string name="wake_word_listen">Nasłuchuj słowa aktywującego</string>
|
||||||
@@ -670,7 +685,7 @@
|
|||||||
<string name="assistant_listens">Zacznij słuchać po otwarciu asystenta</string>
|
<string name="assistant_listens">Zacznij słuchać po otwarciu asystenta</string>
|
||||||
<string name="voice_input">Wprowadzanie głosowe</string>
|
<string name="voice_input">Wprowadzanie głosowe</string>
|
||||||
<string name="voice_input_lembas">LLeMbas</string>
|
<string name="voice_input_lembas">LLeMbas</string>
|
||||||
<string name="voice_input_lembas_line">Zamiana mowy na tekst Twojej instancji, przez serwer. Nagranie trafia do Twojej instancji i nigdzie indziej.</string>
|
<string name="voice_input_lembas_line">Zamiana mowy na tekst Twojej instancji. Ten telefon wysyła nagranie tylko do Twojej instancji; instancja zapisuje je modelem mowy, który jest w niej ustawiony.</string>
|
||||||
<string name="voice_input_phone">Telefon (Google lub systemowy)</string>
|
<string name="voice_input_phone">Telefon (Google lub systemowy)</string>
|
||||||
<string name="voice_input_phone_line">Własne rozpoznawanie mowy telefonu. Słowa pojawiają się w trakcie mówienia; nagranie trafia tam, dokąd wyśle je to rozpoznawanie.</string>
|
<string name="voice_input_phone_line">Własne rozpoznawanie mowy telefonu. Słowa pojawiają się w trakcie mówienia; nagranie trafia tam, dokąd wyśle je to rozpoznawanie.</string>
|
||||||
<string name="voice_input_phone_none">Ten telefon nie ma własnego rozpoznawania mowy.</string>
|
<string name="voice_input_phone_none">Ten telefon nie ma własnego rozpoznawania mowy.</string>
|
||||||
@@ -709,7 +724,7 @@
|
|||||||
<string name="schedule_watch_command_hint">Opcjonalne, na komputerze. Uruchamiane w folderze przed każdym uruchomieniem; gdy jego wynik jest taki sam jak ostatnio, uruchomienie kończy się w tym miejscu. Polecenie, o które tryb by zapytał, jest odrzucane.</string>
|
<string name="schedule_watch_command_hint">Opcjonalne, na komputerze. Uruchamiane w folderze przed każdym uruchomieniem; gdy jego wynik jest taki sam jak ostatnio, uruchomienie kończy się w tym miejscu. Polecenie, o które tryb by zapytał, jest odrzucane.</string>
|
||||||
<string name="schedule_watch_timeout">Polecenie może trwać (sekundy)</string>
|
<string name="schedule_watch_timeout">Polecenie może trwać (sekundy)</string>
|
||||||
<string name="schedule_watch_timeout_hint">Potem jest zatrzymywane, a uruchomienie kończy się błędem.</string>
|
<string name="schedule_watch_timeout_hint">Potem jest zatrzymywane, a uruchomienie kończy się błędem.</string>
|
||||||
<string name="schedule_chat_drops_watch">To zadanie obserwuje polecenie na swoim komputerze. Jako zadanie typu Chat już tego nie robi: uruchamia się za każdym razem.</string>
|
<string name="schedule_chat_drops_watch">To zadanie obserwuje polecenie na swoim komputerze. Jako zadanie typu Czat już tego nie robi: uruchamia się za każdym razem.</string>
|
||||||
<string name="schedule_folder_model">Zwykły model folderu</string>
|
<string name="schedule_folder_model">Zwykły model folderu</string>
|
||||||
<string name="schedule_folder_model_hint">Zwykły model folderu to ten, którego ostatnio użyłeś w tym folderze na tym komputerze — komputer go pamięta, a każde uruchomienie go o niego pyta — albo twój model domyślny, gdy takiego nie ma. Model wybrany tutaj jest modelem uruchomienia, niezależnie od modelu folderu. Uruchomienie nigdy nie zmienia modelu folderu.</string>
|
<string name="schedule_folder_model_hint">Zwykły model folderu to ten, którego ostatnio użyłeś w tym folderze na tym komputerze — komputer go pamięta, a każde uruchomienie go o niego pyta — albo twój model domyślny, gdy takiego nie ma. Model wybrany tutaj jest modelem uruchomienia, niezależnie od modelu folderu. Uruchomienie nigdy nie zmienia modelu folderu.</string>
|
||||||
<string name="schedule_first_free_model">Pierwszy wolny z modeli do harmonogramów</string>
|
<string name="schedule_first_free_model">Pierwszy wolny z modeli do harmonogramów</string>
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
<string name="device_name">LLeMbas pre Android</string>
|
<string name="device_name">LLeMbas pre Android</string>
|
||||||
<string name="share_label">Spýtať sa LLeMbas</string>
|
<string name="share_label">Spýtať sa LLeMbas</string>
|
||||||
<string name="tile_ask">Spýtať sa LLeMbas</string>
|
<string name="tile_ask">Spýtať sa LLeMbas</string>
|
||||||
<string name="signin_intro">Prihláste sa do inštancie LLeMbas. Tento telefón schválite v prehliadači, tak ako by ste schválili CLI.</string>
|
<string name="signin_intro">Prihláste sa do inštancie LLeMbas. Tento telefón schválite v prehliadači.</string>
|
||||||
<string name="signin_address">Adresa inštancie</string>
|
<string name="signin_address">Adresa inštancie</string>
|
||||||
<string name="signin_continue">Pokračovať</string>
|
<string name="signin_continue">Pokračovať</string>
|
||||||
<string name="signin_code_intro">Otvorte inštanciu v prehliadači, prihláste sa a schváľte tento kód:</string>
|
<string name="signin_code_intro">Otvorte inštanciu v prehliadači, prihláste sa a schváľte tento kód:</string>
|
||||||
@@ -12,14 +12,27 @@
|
|||||||
<string name="signin_denied">Prihlásenie bolo odmietnuté.</string>
|
<string name="signin_denied">Prihlásenie bolo odmietnuté.</string>
|
||||||
<string name="signin_expired">Kód vypršal skôr, než bol schválený. Skúste to znova.</string>
|
<string name="signin_expired">Kód vypršal skôr, než bol schválený. Skúste to znova.</string>
|
||||||
<string name="signin_too_old">Táto inštancia beží na staršom LLeMbas. Táto aplikácia potrebuje LLeMbas 2.0 alebo novší.</string>
|
<string name="signin_too_old">Táto inštancia beží na staršom LLeMbas. Táto aplikácia potrebuje LLeMbas 2.0 alebo novší.</string>
|
||||||
<string name="signin_too_new">Táto inštancia používa novšie API pre aplikácie než táto aplikácia. Aktualizujte aplikáciu.</string>
|
<string name="signin_too_new">Táto inštancia je novšia, než s akou táto aplikácia vie pracovať. Aktualizujte aplikáciu.</string>
|
||||||
|
<string name="signin_not_lembas">Na tejto adrese nie je žiadna inštancia LLeMbas.</string>
|
||||||
|
<string name="signin_failed">Prihlásenie sa nepodarilo dokončiť (%1$s). Skúste to znova.</string>
|
||||||
|
<string name="signin_app_too_old">Táto inštancia potrebuje LLeMbas pre Android %1$s alebo novší, a toto je %2$s. Aktualizujte aplikáciu.</string>
|
||||||
|
<string name="signin_other_origin">Táto inštancia uvádza na prihlásenie inú adresu (%1$s), než akú ste zadali. Jej proxy musí odovzdávať adresu, na ktorej je dostupná.</string>
|
||||||
|
<string name="address_needs_https">Táto aplikácia potrebuje adresu https://: obyčajné http nie je podporované.</string>
|
||||||
|
<string name="address_unreadable">Túto adresu aplikácia nevie použiť. Zadajte adresu inštancie, napríklad llm.example.org.</string>
|
||||||
|
<string name="server_answered">Server odpovedal %1$s.</string>
|
||||||
|
<string name="timed_out">Inštancia neodpovedala včas.</string>
|
||||||
|
<string name="not_trusted">Tento telefón nedôveruje certifikátu inštancie: nainštalujte certifikát jej certifikačnej autority medzi používateľské certifikáty Androidu (Nastavenia, Zabezpečenie, Šifrovanie a poverenia, Inštalovať certifikát).</string>
|
||||||
|
<string name="signed_out">%1$s tento telefón odhlásila. Prihláste sa znova a pokračujte: vaše konverzácie aj tunajšie nastavenia zostávajú.</string>
|
||||||
|
<string name="signed_out_again">Prihlásiť sa znova</string>
|
||||||
|
<string name="signed_out_use">Použiť %1$s</string>
|
||||||
|
<string name="signed_out_remove">Odstrániť túto inštanciu</string>
|
||||||
<string name="new_chat">Nová konverzácia</string>
|
<string name="new_chat">Nová konverzácia</string>
|
||||||
<string name="empty_chats">Zatiaľ žiadne konverzácie. Nie všetci, čo blúdia, sú stratení — začnite jednu.</string>
|
<string name="empty_chats">Zatiaľ žiadne konverzácie. Nie všetci, čo blúdia, sú stratení — začnite jednu.</string>
|
||||||
<string name="new_agent_chat">Nová konverzácia s agentom</string>
|
<string name="new_agent_chat">Nová konverzácia s agentom</string>
|
||||||
<string name="agent_device">Zariadenie</string>
|
<string name="agent_device">Počítač</string>
|
||||||
<string name="agent_no_device">Práve nie je prepojené žiadne zariadenie. Spustite `lembas service` na počítači prihlásenom do tejto inštancie a vráťte sa.</string>
|
<string name="agent_no_device">Práve nie je prepojený žiadny počítač. Spustite službu LLeMbas CLI (lembas service) na počítači prihlásenom do tejto inštancie a vráťte sa.</string>
|
||||||
<string name="agent_directory">Zložka v zariadení</string>
|
<string name="agent_directory">Priečinok na počítači</string>
|
||||||
<string name="agent_directory_hint">Prázdne: prvá zložka zariadenia</string>
|
<string name="agent_directory_hint">Prázdne: prvý priečinok počítača</string>
|
||||||
<string name="empty_chat">O čom sa pozhovárame?</string>
|
<string name="empty_chat">O čom sa pozhovárame?</string>
|
||||||
<string name="loading_line">Pečú sa lembasy…</string>
|
<string name="loading_line">Pečú sa lembasy…</string>
|
||||||
<string name="archive">Archivovať</string>
|
<string name="archive">Archivovať</string>
|
||||||
@@ -76,8 +89,8 @@
|
|||||||
<string name="retry">Skúsiť znova</string>
|
<string name="retry">Skúsiť znova</string>
|
||||||
<string name="offline">Inštancia nie je dostupná. Skontrolujte pripojenie telefónu a či sa dostane na adresu inštancie.</string>
|
<string name="offline">Inštancia nie je dostupná. Skontrolujte pripojenie telefónu a či sa dostane na adresu inštancie.</string>
|
||||||
<string name="dictate">Diktovať</string>
|
<string name="dictate">Diktovať</string>
|
||||||
<string name="transcribed_by_fallback">Prepísal %1$s: vlastný model reči tohto chatu neodpovedal.</string>
|
<string name="transcribed_by_fallback">Prepísal %1$s: vlastný model reči tejto konverzácie neodpovedal.</string>
|
||||||
<string name="read_by_fallback">Prečítal %1$s: vlastný model reči tohto chatu neodpovedal.</string>
|
<string name="read_by_fallback">Prečítal %1$s: vlastný model reči tejto konverzácie neodpovedal.</string>
|
||||||
<string name="remove">Odstrániť</string>
|
<string name="remove">Odstrániť</string>
|
||||||
<string name="more">Viac</string>
|
<string name="more">Viac</string>
|
||||||
<string name="back">Späť</string>
|
<string name="back">Späť</string>
|
||||||
@@ -143,19 +156,19 @@
|
|||||||
<string name="team_min">Min</string>
|
<string name="team_min">Min</string>
|
||||||
<string name="team_max">Max</string>
|
<string name="team_max">Max</string>
|
||||||
<string name="team_range">Min %1$s · Max %2$s</string>
|
<string name="team_range">Min %1$s · Max %2$s</string>
|
||||||
<string name="team_hint">Čísla rátajú aj vlastného agenta tohto chatu: 1 je agent sám, bez podagentov, a Max 4 je agent a až 3 podagenti, ktorých vedie.</string>
|
<string name="team_hint">Čísla rátajú aj vlastného agenta tejto konverzácie: 1 je agent sám, bez podagentov, a Max 4 je agent a až 3 podagenti, ktorých vedie.</string>
|
||||||
<string name="team_chip">Podagenti: Min %1$s · Max %2$s</string>
|
<string name="team_chip">Podagenti: Min %1$s · Max %2$s</string>
|
||||||
<string name="subagents_named_only">Tento model obslúži len jednu požiadavku naraz: podagenti potrebujú iný model, na inom serveri, pomenovaný v chate.</string>
|
<string name="subagents_named_only">Tento model obslúži len jednu požiadavku naraz: podagenti potrebujú iný model, na inom serveri, pomenovaný v konverzácii.</string>
|
||||||
<string name="thinking_switch">Premýšľať pred odpoveďou</string>
|
<string name="thinking_switch">Premýšľať pred odpoveďou</string>
|
||||||
<string name="level_off">vypnuté</string>
|
<string name="level_off">vypnuté</string>
|
||||||
<string name="level_default">predvolené</string>
|
<string name="level_default">predvolené</string>
|
||||||
<string name="chats_open">Otvoriť čety</string>
|
<string name="chats_open">Otvoriť konverzácie</string>
|
||||||
<string name="chats_search">Hľadať v četoch</string>
|
<string name="chats_search">Hľadať v konverzáciách</string>
|
||||||
<string name="chats_today">Dnes</string>
|
<string name="chats_today">Dnes</string>
|
||||||
<string name="chats_earlier">Skôr</string>
|
<string name="chats_earlier">Skôr</string>
|
||||||
<string name="chats_agents">Čety s agentom</string>
|
<string name="chats_agents">Agentské konverzácie</string>
|
||||||
<string name="chats_found_in_messages">V správach</string>
|
<string name="chats_found_in_messages">V správach</string>
|
||||||
<string name="chats_none_found">Žiadny čet to nemá v názve.</string>
|
<string name="chats_none_found">Žiadna konverzácia to nemá v názve.</string>
|
||||||
<string name="clear">Vymazať</string>
|
<string name="clear">Vymazať</string>
|
||||||
<string name="composer_hint_agent">Povedzte agentovi, čo má urobiť</string>
|
<string name="composer_hint_agent">Povedzte agentovi, čo má urobiť</string>
|
||||||
<string name="tune">Možnosti</string>
|
<string name="tune">Možnosti</string>
|
||||||
@@ -215,7 +228,7 @@
|
|||||||
<string name="schedule_history">História</string>
|
<string name="schedule_history">História</string>
|
||||||
<string name="schedule_no_runs">Ešte nebežal.</string>
|
<string name="schedule_no_runs">Ešte nebežal.</string>
|
||||||
<string name="schedule_model">Model: %1$s</string>
|
<string name="schedule_model">Model: %1$s</string>
|
||||||
<string name="schedule_delete_confirm">Zmazať tento plán? Jeho doterajšie výsledky zostanú vo svojich četoch.</string>
|
<string name="schedule_delete_confirm">Zmazať tento plán? Jeho doterajšie výsledky zostanú vo svojich konverzáciách.</string>
|
||||||
<string name="schedule_words_hint">Povedzte vlastnými slovami kedy a čo. Skôr než sa čokoľvek uloží, uvidíte, ako to bolo pochopené.</string>
|
<string name="schedule_words_hint">Povedzte vlastnými slovami kedy a čo. Skôr než sa čokoľvek uloží, uvidíte, ako to bolo pochopené.</string>
|
||||||
<string name="schedule_words_example">Každý pracovný deň o 7:30 zhrň správy o obnoviteľnej energii</string>
|
<string name="schedule_words_example">Každý pracovný deň o 7:30 zhrň správy o obnoviteľnej energii</string>
|
||||||
<string name="schedule_preview">Náhľad</string>
|
<string name="schedule_preview">Náhľad</string>
|
||||||
@@ -347,7 +360,7 @@
|
|||||||
<string name="viewer_copy">Kopírovať</string>
|
<string name="viewer_copy">Kopírovať</string>
|
||||||
<string name="viewer_html_source">Toto je zdrojový kód stránky. Samotnú stránku uvidíte po otvorení v prehliadači.</string>
|
<string name="viewer_html_source">Toto je zdrojový kód stránky. Samotnú stránku uvidíte po otvorení v prehliadači.</string>
|
||||||
<string name="viewer_long_markdown">Dlhý súbor, preto je zobrazený ako obyčajný text.</string>
|
<string name="viewer_long_markdown">Dlhý súbor, preto je zobrazený ako obyčajný text.</string>
|
||||||
<string name="viewer_unavailable">Tento server zatiaľ nevie aplikácii súbor odovzdať. Otvorte ho v prehliadači.</string>
|
<string name="viewer_unavailable">Táto inštancia zatiaľ nevie aplikácii súbor odovzdať. Otvorte ho v prehliadači.</string>
|
||||||
<string name="viewer_too_large">Tento súbor je príliš veľký na zobrazenie; zobraziť možno najviac 1 MB.</string>
|
<string name="viewer_too_large">Tento súbor je príliš veľký na zobrazenie; zobraziť možno najviac 1 MB.</string>
|
||||||
<string name="viewer_not_text">Toto nie je textový súbor, preto sa tu nezobrazuje.</string>
|
<string name="viewer_not_text">Toto nie je textový súbor, preto sa tu nezobrazuje.</string>
|
||||||
<string name="files">Súbory</string>
|
<string name="files">Súbory</string>
|
||||||
@@ -435,7 +448,7 @@
|
|||||||
<string name="job_cancelled">Zrušené</string>
|
<string name="job_cancelled">Zrušené</string>
|
||||||
<string name="job_expired">Vypršalo</string>
|
<string name="job_expired">Vypršalo</string>
|
||||||
<string name="mcp_title">Servery MCP</string>
|
<string name="mcp_title">Servery MCP</string>
|
||||||
<string name="mcp_intro">Servery, ktorých nástroje môžu byť ponúknuté vo vašich chatoch. Niektoré sa používajú s vaším vlastným účtom u nich: ich nástroje sú ponúkané, kým ste prihlásení.</string>
|
<string name="mcp_intro">Servery, ktorých nástroje môžu byť ponúknuté vo vašich konverzáciách. Niektoré sa používajú s vaším vlastným účtom u nich: ich nástroje sú ponúkané, kým ste prihlásení.</string>
|
||||||
<string name="mcp_none">Na tejto inštancii vám nie sú ponúkané žiadne servery MCP.</string>
|
<string name="mcp_none">Na tejto inštancii vám nie sú ponúkané žiadne servery MCP.</string>
|
||||||
<string name="mcp_ready">Pripravené</string>
|
<string name="mcp_ready">Pripravené</string>
|
||||||
<string name="mcp_signed_in">Prihlásené</string>
|
<string name="mcp_signed_in">Prihlásené</string>
|
||||||
@@ -464,14 +477,16 @@
|
|||||||
<string name="sign_out">Odhlásiť sa</string>
|
<string name="sign_out">Odhlásiť sa</string>
|
||||||
<string name="add_instance">Pridať inštanciu</string>
|
<string name="add_instance">Pridať inštanciu</string>
|
||||||
<string name="instance_default">Predvolené</string>
|
<string name="instance_default">Predvolené</string>
|
||||||
|
<string name="instance_set_default">Nastaviť ako predvolenú</string>
|
||||||
|
<string name="instance_switch">Prepnúť inštanciu</string>
|
||||||
<string name="settings_theme">Vzhľad</string>
|
<string name="settings_theme">Vzhľad</string>
|
||||||
<string name="theme_system">Podľa systému</string>
|
<string name="theme_system">Podľa systému</string>
|
||||||
<string name="theme_moria">Moria (tmavá)</string>
|
<string name="theme_moria">Moria (tmavá)</string>
|
||||||
<string name="theme_shire">Shire (svetlá)</string>
|
<string name="theme_shire">Shire (svetlá)</string>
|
||||||
<string name="settings_language">Jazyk</string>
|
<string name="settings_language">Jazyk</string>
|
||||||
<string name="language_hint">Len rozhranie. Modely odpovedajú v jazyku, v ktorom im píšete, bez ohľadu na toto nastavenie.</string>
|
<string name="language_hint">Len rozhranie. Modely odpovedajú v jazyku, v ktorom im píšete, bez ohľadu na toto nastavenie.</string>
|
||||||
<string name="language_account">Rovnaký ako môj účet</string>
|
<string name="language_account">Rovnaký ako v mojom účte</string>
|
||||||
<string name="language_account_is">Rovnaký ako môj účet: %1$s</string>
|
<string name="language_account_is">Rovnaký ako v mojom účte: %1$s</string>
|
||||||
<string name="language_account_unknown">Z vašej inštancie ešte nenačítaný</string>
|
<string name="language_account_unknown">Z vašej inštancie ešte nenačítaný</string>
|
||||||
<string name="language_phone">Jazyk telefónu</string>
|
<string name="language_phone">Jazyk telefónu</string>
|
||||||
<string name="language_phone_is">Jazyk telefónu: %1$s</string>
|
<string name="language_phone_is">Jazyk telefónu: %1$s</string>
|
||||||
@@ -497,14 +512,14 @@
|
|||||||
<string name="update_check">Skontrolovať aktualizáciu</string>
|
<string name="update_check">Skontrolovať aktualizáciu</string>
|
||||||
<string name="update_none">Toto je najnovšia verzia.</string>
|
<string name="update_none">Toto je najnovšia verzia.</string>
|
||||||
<string name="update_unreachable">Aktualizáciu sa nepodarilo stiahnuť.</string>
|
<string name="update_unreachable">Aktualizáciu sa nepodarilo stiahnuť.</string>
|
||||||
<string name="update_allow_installs">Povoľte aplikácii LLeMbas instalovať aktualizácie a potom to skontrolujte znova.</string>
|
<string name="update_allow_installs">Povoľte aplikácii LLeMbas inštalovať aktualizácie a potom to skontrolujte znova.</string>
|
||||||
<string name="update_bad_file">Stiahnutý súbor nezodpovedal verzii a bol zahodený.</string>
|
<string name="update_bad_file">Stiahnutý súbor nezodpovedal verzii a bol zahodený.</string>
|
||||||
<string name="update_installing">Inštaluje sa %1$s…</string>
|
<string name="update_installing">Inštaluje sa %1$s…</string>
|
||||||
<string name="update_checking">Kontroluje sa…</string>
|
<string name="update_checking">Kontroluje sa…</string>
|
||||||
<string name="update_available">Je dostupná %1$s. Ťuknutím otvoríte stránku vydania.</string>
|
<string name="update_available">Je dostupná %1$s. Ťuknutím otvoríte stránku vydania.</string>
|
||||||
<string name="update_install">Nainštalovať %1$s</string>
|
<string name="update_install">Nainštalovať %1$s</string>
|
||||||
<string name="update_auto">Hľadať nové verzie</string>
|
<string name="update_auto">Hľadať nové verzie</string>
|
||||||
<string name="update_auto_line">Najviac raz denne, pri spustení, sa aplikácia opýta vašej inštancie, ktoré vydanie k nej patrí (pri staršej inštancii si prečíta zoznam vydaní na GitHube), a upozornením vám dá vedieť, keď je dostupné novšie. Nič o vás sa nikam inam neposiela. V beta verzii zapnuté, inak vypnuté.</string>
|
<string name="update_auto_line">Najviac raz denne, pri spustení, sa aplikácia opýta vašej inštancie, ktoré vydanie k nej patrí — alebo si prečíta zoznam vydaní na GitHube, keď to inštancia povedať nevie — a upozornením vám dá vedieť, keď je dostupné novšie. So žiadnou z týchto požiadaviek sa o vás nič neposiela. V beta verzii zapnuté, inak vypnuté.</string>
|
||||||
<string name="update_betas">Vrátane beta verzií</string>
|
<string name="update_betas">Vrátane beta verzií</string>
|
||||||
<string name="update_betas_line">Ponúkať aj testovacie verzie, nielen vydania. Zapnuté, keď je táto aplikácia sama beta.</string>
|
<string name="update_betas_line">Ponúkať aj testovacie verzie, nielen vydania. Zapnuté, keď je táto aplikácia sama beta.</string>
|
||||||
<string name="channel_updates">Aktualizácie aplikácie</string>
|
<string name="channel_updates">Aktualizácie aplikácie</string>
|
||||||
@@ -551,7 +566,7 @@
|
|||||||
<string name="experimental">Experimentálne</string>
|
<string name="experimental">Experimentálne</string>
|
||||||
<string name="wake_experimental_line">Novinka, zatiaľ vyskúšaná len na niekoľkých telefónoch. Môže frázu prepočuť, spustiť sa omylom, alebo vás začuť a asistenta aj tak neotvoriť.</string>
|
<string name="wake_experimental_line">Novinka, zatiaľ vyskúšaná len na niekoľkých telefónoch. Môže frázu prepočuť, spustiť sa omylom, alebo vás začuť a asistenta aj tak neotvoriť.</string>
|
||||||
<string name="assistant_voice_experimental_line">Experimentálne: samočinné počúvanie po otvorení asistenta, rozpoznanie, že ste dohovorili, a hovorený rozhovor sú nové a zatiaľ nefungujú dobre na každom telefóne. Napísať otázku a tlačidlo mikrofónu fungujú vždy.</string>
|
<string name="assistant_voice_experimental_line">Experimentálne: samočinné počúvanie po otvorení asistenta, rozpoznanie, že ste dohovorili, a hovorený rozhovor sú nové a zatiaľ nefungujú dobre na každom telefóne. Napísať otázku a tlačidlo mikrofónu fungujú vždy.</string>
|
||||||
<string name="assist_wake_word_hint">Budiace slovo len ak chcete: Nastavenia › Asistent › Budiace slovo zapne vlastné slovo LLeMbas, priamo v tomto telefóne.</string>
|
<string name="assist_wake_word_hint">Budiace slovo len ak chcete: Nastavenia › Budiace slovo zapne vlastné slovo LLeMbas, priamo v tomto telefóne.</string>
|
||||||
<string name="channel_wake">Budiace slovo</string>
|
<string name="channel_wake">Budiace slovo</string>
|
||||||
<string name="wake_word">Budiace slovo</string>
|
<string name="wake_word">Budiace slovo</string>
|
||||||
<string name="wake_word_listen">Počúvať budiace slovo</string>
|
<string name="wake_word_listen">Počúvať budiace slovo</string>
|
||||||
@@ -578,8 +593,8 @@
|
|||||||
<string name="wake_screen_only_line">Vypnuté: počúva aj pri zhasnutej obrazovke, za cenu vyššej spotreby batérie.</string>
|
<string name="wake_screen_only_line">Vypnuté: počúva aj pri zhasnutej obrazovke, za cenu vyššej spotreby batérie.</string>
|
||||||
<string name="wake_battery">Nechať bežať na pozadí</string>
|
<string name="wake_battery">Nechať bežať na pozadí</string>
|
||||||
<string name="wake_battery_line">Niektoré telefóny (Samsung, Xiaomi, Huawei, OnePlus a ďalšie) kvôli batérii zastavujú aplikácie na pozadí, a s nimi aj budiace slovo. Tu vyjmite LLeMbas z optimalizácie batérie; dontkillmyapp.com vysvetľuje nastavenia vášho telefónu.</string>
|
<string name="wake_battery_line">Niektoré telefóny (Samsung, Xiaomi, Huawei, OnePlus a ďalšie) kvôli batérii zastavujú aplikácie na pozadí, a s nimi aj budiace slovo. Tu vyjmite LLeMbas z optimalizácie batérie; dontkillmyapp.com vysvetľuje nastavenia vášho telefónu.</string>
|
||||||
<string name="wake_word_privacy">Pred vyslovením slova nič neopustí telefón. Zvuk z mikrofónu ide len do modulu pre budiace slovo v telefóne a neukladá sa; počas celého počúvania je viditeľné oznámenie. Frázy sú anglické; modul je sherpa-onnx (open source).</string>
|
<string name="wake_word_privacy">Pred vyslovením slova nič neopustí telefón. Zvuk z mikrofónu ide len do modulu pre budiace slovo v telefóne a neukladá sa; počas celého počúvania je viditeľné upozornenie. Frázy sú anglické; modul je sherpa-onnx (open source).</string>
|
||||||
<string name="wake_word_cost">Stojí to batériu: mikrofón zostáva zapnutý a procesor telefónu kontroluje každý okamih zvuku, bez úsporného čipu, ktorý používa vstavaný asistent. Pozastaví sa v úspornom režime, keď je asistent otvorený, a ak to nezmeníte, aj pri zhasnutej obrazovke. Po reštarte ho znova spustíte ťuknutím na oznámenie.</string>
|
<string name="wake_word_cost">Stojí to batériu: mikrofón zostáva zapnutý a procesor telefónu kontroluje každý okamih zvuku, bez úsporného čipu, ktorý používa vstavaný asistent. Pozastaví sa v úspornom režime, keď je asistent otvorený, a ak to nezmeníte, aj pri zhasnutej obrazovke. Po reštarte ho znova spustíte ťuknutím na upozornenie.</string>
|
||||||
<string name="wake_listening_for">Počúvam frázu „%1$s“</string>
|
<string name="wake_listening_for">Počúvam frázu „%1$s“</string>
|
||||||
<string name="wake_off">Budiace slovo nepočúva</string>
|
<string name="wake_off">Budiace slovo nepočúva</string>
|
||||||
<string name="wake_tap_to_start">Ťuknutím ho znova spustíte. Ak sa Android opýta, povoľte mikrofón.</string>
|
<string name="wake_tap_to_start">Ťuknutím ho znova spustíte. Ak sa Android opýta, povoľte mikrofón.</string>
|
||||||
@@ -600,7 +615,7 @@
|
|||||||
<string name="channel_wake_heard">Budiace slovo zaznelo</string>
|
<string name="channel_wake_heard">Budiace slovo zaznelo</string>
|
||||||
<string name="wake_heard_line">LLeMbas sa dokáže sám otvoriť nad inými aplikáciami len ako aplikácia digitálneho asistenta v telefóne.</string>
|
<string name="wake_heard_line">LLeMbas sa dokáže sám otvoriť nad inými aplikáciami len ako aplikácia digitálneho asistenta v telefóne.</string>
|
||||||
<string name="wake_not_assistant">LLeMbas nie je aplikáciou digitálneho asistenta</string>
|
<string name="wake_not_assistant">LLeMbas nie je aplikáciou digitálneho asistenta</string>
|
||||||
<string name="wake_not_assistant_line">Budiace slovo preto nemôže otvoriť asistenta nad inými aplikáciami: dostanete oznámenie, na ktoré ťuknete. Ak chcete otvárať hlasom kdekoľvek, ťuknite sem a vyberte LLeMbas ako aplikáciu digitálneho asistenta.</string>
|
<string name="wake_not_assistant_line">Budiace slovo preto nemôže otvoriť asistenta nad inými aplikáciami: dostanete upozornenie, na ktoré ťuknete. Ak chcete otvárať hlasom kdekoľvek, ťuknite sem a vyberte LLeMbas ako aplikáciu digitálneho asistenta.</string>
|
||||||
<string name="wake_last">Posledné zobudenie</string>
|
<string name="wake_last">Posledné zobudenie</string>
|
||||||
<string name="wake_last_none">Frázu zatiaľ nepočul.</string>
|
<string name="wake_last_none">Frázu zatiaľ nepočul.</string>
|
||||||
<string name="wake_out_opened">Otvoril asistenta.</string>
|
<string name="wake_out_opened">Otvoril asistenta.</string>
|
||||||
@@ -608,7 +623,7 @@
|
|||||||
<string name="wake_out_not_connected">Android nemal LLeMbas pripojený ako asistenta, preto panel nemohol otvoriť.</string>
|
<string name="wake_out_not_connected">Android nemal LLeMbas pripojený ako asistenta, preto panel nemohol otvoriť.</string>
|
||||||
<string name="wake_out_refused">Android odmietol otvoriť asistenta: %1$s</string>
|
<string name="wake_out_refused">Android odmietol otvoriť asistenta: %1$s</string>
|
||||||
<string name="wake_out_activity">Namiesto toho ho otvoril ako obrazovku aplikácie.</string>
|
<string name="wake_out_activity">Namiesto toho ho otvoril ako obrazovku aplikácie.</string>
|
||||||
<string name="wake_out_notification">Namiesto toho poslal oznámenie, na ktoré treba ťuknúť.</string>
|
<string name="wake_out_notification">Namiesto toho poslal upozornenie, na ktoré treba ťuknúť.</string>
|
||||||
<string name="wake_out_tested">Počuté pri skúške: nebolo čo otvárať.</string>
|
<string name="wake_out_tested">Počuté pri skúške: nebolo čo otvárať.</string>
|
||||||
<string name="wake_role_held">LLeMbas bol aplikáciou digitálneho asistenta.</string>
|
<string name="wake_role_held">LLeMbas bol aplikáciou digitálneho asistenta.</string>
|
||||||
<string name="wake_role_not_held">LLeMbas nebol aplikáciou digitálneho asistenta.</string>
|
<string name="wake_role_not_held">LLeMbas nebol aplikáciou digitálneho asistenta.</string>
|
||||||
@@ -622,24 +637,24 @@
|
|||||||
<string name="wake_waited">Chvíľu čakal, kým ho Android pripojí.</string>
|
<string name="wake_waited">Chvíľu čakal, kým ho Android pripojí.</string>
|
||||||
<string name="wake_show_failed">Android oznámil, že panel asistenta nedokázal zobraziť.</string>
|
<string name="wake_show_failed">Android oznámil, že panel asistenta nedokázal zobraziť.</string>
|
||||||
<string name="wake_assistant_inactive">Android práve nepoužíva LLeMbas ako hlasového asistenta</string>
|
<string name="wake_assistant_inactive">Android práve nepoužíva LLeMbas ako hlasového asistenta</string>
|
||||||
<string name="wake_assistant_inactive_line">Vyberte LLeMbas ako aplikáciu digitálneho asistenta znova: ťuknite sem, zvoľte inú aplikáciu a potom LLeMbas. Dovtedy ho dlhé stlačenie otvára ako bežnú obrazovku a budiace slovo môže poslať len oznámenie.</string>
|
<string name="wake_assistant_inactive_line">Vyberte LLeMbas ako aplikáciu digitálneho asistenta znova: ťuknite sem, zvoľte inú aplikáciu a potom LLeMbas. Dovtedy ho dlhé stlačenie otvára ako bežnú obrazovku a budiace slovo môže poslať len upozornenie.</string>
|
||||||
<string name="wake_assistant_unbound">LLeMbas je asistent, no Android ho práve nemá pripojeného</string>
|
<string name="wake_assistant_unbound">LLeMbas je asistent, no Android ho práve nemá pripojeného</string>
|
||||||
<string name="wake_assistant_unbound_line">Kým ho nepripojí, budiace slovo nemôže panel otvoriť samo. Ťuknutím otvoríte systémové nastavenie asistenta: vyberte inú aplikáciu a potom znova LLeMbas, tým sa pripojí.</string>
|
<string name="wake_assistant_unbound_line">Kým ho nepripojí, budiace slovo nemôže panel otvoriť samo. Ťuknutím otvoríte systémové nastavenie asistenta: vyberte inú aplikáciu a potom znova LLeMbas, tým sa pripojí.</string>
|
||||||
<string name="wake_heard_could_not">Nepodarilo sa otvoriť samo — ťuknite a pýtajte sa</string>
|
<string name="wake_heard_could_not">Nepodarilo sa otvoriť samo — ťuknite a pýtajte sa</string>
|
||||||
<string name="wake_resume">Znova počúvať budiace slovo</string>
|
<string name="wake_resume">Znova počúvať budiace slovo</string>
|
||||||
<string name="wake_resume_line">Telefón sa reštartoval. Ťuknutím znova spustíte počúvanie.</string>
|
<string name="wake_resume_line">Telefón sa reštartoval. Ťuknutím znova spustíte počúvanie.</string>
|
||||||
<string name="assist_notifications">Zhrnúť moje oznámenia</string>
|
<string name="assist_notifications">Zhrnúť moje upozornenia</string>
|
||||||
<string name="assist_notifications_prompt">Zhrň moje oznámenia: čo potrebuje moju pozornosť?</string>
|
<string name="assist_notifications_prompt">Zhrň moje upozornenia: čo potrebuje moju pozornosť?</string>
|
||||||
<string name="assist_notifications_phrases">moje oznámenia|mojich oznámení|moje notifikácie</string>
|
<string name="assist_notifications_phrases">moje upozornenia|mojich upozornení|moje oznámenia|mojich oznámení|moje notifikácie</string>
|
||||||
<string name="notification_summaries">Zhrnutia oznámení</string>
|
<string name="notification_summaries">Zhrnutia upozornení</string>
|
||||||
<string name="notification_summaries_switch">Dovoliť asistentovi čítať moje oznámenia, keď o to požiadam</string>
|
<string name="notification_summaries_switch">Dovoliť asistentovi čítať moje upozornenia, keď o to požiadam</string>
|
||||||
<string name="notification_summaries_line">Povedzte „zhrň moje oznámenia“, alebo ťuknite na tlačidlo v asistentovi.</string>
|
<string name="notification_summaries_line">Povedzte „zhrň moje upozornenia“, alebo ťuknite na tlačidlo v asistentovi.</string>
|
||||||
<string name="notification_summaries_unavailable">V tomto zostavení nie je. Čítanie oznámení vyžaduje zostavenie LLeMbas „notifications“, pretože Google Play Protect blokuje inštaláciu aplikácie mimo Obchodu Play, ktorá ich dokáže čítať. Je to tá istá aplikácia s tým istým podpisom: na stránke vydania sa súbor končiaci na -notifications.apk nainštaluje cez túto.</string>
|
<string name="notification_summaries_unavailable">V tomto zostavení nie je. Čítanie upozornení vyžaduje zostavenie LLeMbas „notifications“, pretože Google Play Protect blokuje inštaláciu aplikácie mimo Obchodu Play, ktorá ich dokáže čítať. Je to tá istá aplikácia s tým istým podpisom: na stránke vydania sa súbor končiaci na -notifications.apk nainštaluje cez túto.</string>
|
||||||
<string name="update_notifications_manual">Toto je zostavenie „notifications“: aktualizáciu nainštalujte zo stránky vydania, súbor končiaci na -notifications.apk.</string>
|
<string name="update_notifications_manual">Toto je zostavenie „notifications“: aktualizáciu nainštalujte zo stránky vydania, súbor končiaci na -notifications.apk.</string>
|
||||||
<string name="notification_access">Prístup k oznámeniam</string>
|
<string name="notification_access">Prístup k upozorneniam</string>
|
||||||
<string name="notification_access_on">Udelený. Prepínač Androidu je v systémových nastaveniach.</string>
|
<string name="notification_access_on">Udelený. Prepínač Androidu je v systémových nastaveniach.</string>
|
||||||
<string name="notification_access_off">Zatiaľ neudelený. Ťuknutím otvoríte prepínač Androidu pre LLeMbas.</string>
|
<string name="notification_access_off">Zatiaľ neudelený. Ťuknutím otvoríte prepínač Androidu pre LLeMbas.</string>
|
||||||
<string name="notification_summaries_privacy">Predvolene vypnuté. Keď požiadate, text oznámení, ktoré sú v telefóne práve teraz (aplikácia, názov, text), pôjde s touto jedinou otázkou na vašu inštanciu a jej model. Predtým sa nič nečíta, aplikácia si nič neponechá a pri zamknutom telefóne sa nečíta nič. Prístup k oznámeniam v Androide dovolí aplikácii vidieť každé oznámenie, preto je na vás, či ho dáte a znova vezmete.</string>
|
<string name="notification_summaries_privacy">Predvolene vypnuté. Keď požiadate, text upozornení, ktoré sú v telefóne práve teraz (aplikácia, názov, text), pôjde s touto jedinou otázkou na vašu inštanciu a jej model. Predtým sa nič nečíta, aplikácia si nič neponechá a pri zamknutom telefóne sa nečíta nič. Prístup k upozorneniam v Androide dovolí aplikácii vidieť každé upozornenie, preto je na vás, či ho dáte a znova vezmete.</string>
|
||||||
<string name="nav_app">Navigačná aplikácia</string>
|
<string name="nav_app">Navigačná aplikácia</string>
|
||||||
<string name="nav_app_auto">Tá, ktorá je nainštalovaná</string>
|
<string name="nav_app_auto">Tá, ktorá je nainštalovaná</string>
|
||||||
<string name="nav_app_google">Mapy Google</string>
|
<string name="nav_app_google">Mapy Google</string>
|
||||||
@@ -670,15 +685,15 @@
|
|||||||
<string name="assistant_listens">Začať počúvať, keď sa asistent otvorí</string>
|
<string name="assistant_listens">Začať počúvať, keď sa asistent otvorí</string>
|
||||||
<string name="voice_input">Hlasový vstup</string>
|
<string name="voice_input">Hlasový vstup</string>
|
||||||
<string name="voice_input_lembas">LLeMbas</string>
|
<string name="voice_input_lembas">LLeMbas</string>
|
||||||
<string name="voice_input_lembas_line">Prevod reči na text vašej inštancie, cez server. Nahrávka ide na vašu inštanciu a nikam inam.</string>
|
<string name="voice_input_lembas_line">Prevod reči na text vašej inštancie. Tento telefón posiela nahrávku len vašej inštancii; tá ju prepíše modelom reči, ktorý je v nej nastavený.</string>
|
||||||
<string name="voice_input_phone">Telefón (Google alebo systémový)</string>
|
<string name="voice_input_phone">Telefón (Google alebo systémový)</string>
|
||||||
<string name="voice_input_phone_line">Vlastné rozpoznávanie reči v telefóne. Slová sa objavujú, ako hovoríte; nahrávka ide tam, kam ju to rozpoznávanie pošle.</string>
|
<string name="voice_input_phone_line">Vlastné rozpoznávanie reči v telefóne. Slová sa objavujú, ako hovoríte; nahrávka ide tam, kam ju to rozpoznávanie pošle.</string>
|
||||||
<string name="voice_input_phone_none">Tento telefón nemá vlastné rozpoznávanie reči.</string>
|
<string name="voice_input_phone_none">Tento telefón nemá vlastné rozpoznávanie reči.</string>
|
||||||
<string name="voice_input_hint">Používa ho asistent aj mikrofón v konverzácii. S LLeMbas asistent ukazuje slová s malým oneskorením a pauza ich odošle, konverzácia ich zapíše, keď prestanete; s rozpoznávaním v telefóne sa objavujú, ako hovoríte.</string>
|
<string name="voice_input_hint">Používa ho asistent aj mikrofón v konverzácii. S LLeMbas asistent ukazuje slová s malým oneskorením a pauza ich odošle, konverzácia ich zapíše, keď prestanete; s rozpoznávaním v telefóne sa objavujú, ako hovoríte.</string>
|
||||||
<string name="share_sending">Odosiela sa do LLeMbas…</string>
|
<string name="share_sending">Odosiela sa do LLeMbas…</string>
|
||||||
<string name="share_default_prompt">Pozrite sa na toto.</string>
|
<string name="share_default_prompt">Pozri sa na toto.</string>
|
||||||
<string name="share_ask_hint">Čo s tým má LLeMbas urobiť? (nepovinné)</string>
|
<string name="share_ask_hint">Čo s tým má LLeMbas urobiť? (nepovinné)</string>
|
||||||
<string name="widget_hint">Opýtajte sa na čokoľvek</string>
|
<string name="widget_hint">Spýtajte sa na čokoľvek</string>
|
||||||
<string name="directory_places">Miesta na tomto zariadení</string>
|
<string name="directory_places">Miesta na tomto zariadení</string>
|
||||||
<string name="directory_last_used">Naposledy tu použitý: %1$s. Nový chat v tomto priečinku začne na ňom, ak nevyberiete iný.</string>
|
<string name="directory_last_used">Naposledy tu použitý: %1$s. Nový chat v tomto priečinku začne na ňom, ak nevyberiete iný.</string>
|
||||||
<string name="directory_refused">Zariadenie tu reláciu neotvorí.</string>
|
<string name="directory_refused">Zariadenie tu reláciu neotvorí.</string>
|
||||||
@@ -709,7 +724,7 @@
|
|||||||
<string name="schedule_watch_command_hint">Voliteľné, na počítači. Spustí sa v priečinku pred každým spustením; keď je jeho výstup rovnaký ako minule, spustenie sa tam skončí. Príkaz, na ktorý by sa režim pýtal, sa odmietne.</string>
|
<string name="schedule_watch_command_hint">Voliteľné, na počítači. Spustí sa v priečinku pred každým spustením; keď je jeho výstup rovnaký ako minule, spustenie sa tam skončí. Príkaz, na ktorý by sa režim pýtal, sa odmietne.</string>
|
||||||
<string name="schedule_watch_timeout">Príkaz môže trvať (sekundy)</string>
|
<string name="schedule_watch_timeout">Príkaz môže trvať (sekundy)</string>
|
||||||
<string name="schedule_watch_timeout_hint">Potom sa zastaví a spustenie zlyhá.</string>
|
<string name="schedule_watch_timeout_hint">Potom sa zastaví a spustenie zlyhá.</string>
|
||||||
<string name="schedule_chat_drops_watch">Táto úloha sleduje príkaz na svojom počítači. Ako úloha typu Chat už nie: spustí sa zakaždým.</string>
|
<string name="schedule_chat_drops_watch">Táto úloha sleduje príkaz na svojom počítači. Ako úloha typu Konverzácia už nie: spustí sa zakaždým.</string>
|
||||||
<string name="schedule_folder_model">Zvyčajný model priečinka</string>
|
<string name="schedule_folder_model">Zvyčajný model priečinka</string>
|
||||||
<string name="schedule_folder_model_hint">Zvyčajný model priečinka je ten, ktorý ste v tom priečinku na tom počítači použili naposledy — počítač si ho pamätá a každé spustenie sa ho naň opýta — alebo váš predvolený model, ak žiadny nie je. Model vybraný tu je modelom spustenia, nech je model priečinka akýkoľvek. Spustenie nikdy nemení model priečinka.</string>
|
<string name="schedule_folder_model_hint">Zvyčajný model priečinka je ten, ktorý ste v tom priečinku na tom počítači použili naposledy — počítač si ho pamätá a každé spustenie sa ho naň opýta — alebo váš predvolený model, ak žiadny nie je. Model vybraný tu je modelom spustenia, nech je model priečinka akýkoľvek. Spustenie nikdy nemení model priečinka.</string>
|
||||||
<string name="schedule_first_free_model">Prvý voľný z vašich modelov na plánovanie</string>
|
<string name="schedule_first_free_model">Prvý voľný z vašich modelov na plánovanie</string>
|
||||||
@@ -718,5 +733,5 @@
|
|||||||
<string name="run_model_session">vlastný model konverzácie</string>
|
<string name="run_model_session">vlastný model konverzácie</string>
|
||||||
<string name="widget_speak">Hovoriť</string>
|
<string name="widget_speak">Hovoriť</string>
|
||||||
<string name="widget_description">Pýtajte sa hlasom alebo textom, alebo pokračujte v poslednej konverzácii s asistentom. Neukazuje nič z vášho účtu.</string>
|
<string name="widget_description">Pýtajte sa hlasom alebo textom, alebo pokračujte v poslednej konverzácii s asistentom. Neukazuje nič z vášho účtu.</string>
|
||||||
<string name="shortcut_last">Posledný chat</string>
|
<string name="shortcut_last">Posledná konverzácia</string>
|
||||||
</resources>
|
</resources>
|
||||||
@@ -5,7 +5,7 @@
|
|||||||
<string name="device_name">LLeMbas for Android</string>
|
<string name="device_name">LLeMbas for Android</string>
|
||||||
<string name="share_label">Ask LLeMbas</string>
|
<string name="share_label">Ask LLeMbas</string>
|
||||||
<string name="tile_ask">Ask LLeMbas</string>
|
<string name="tile_ask">Ask LLeMbas</string>
|
||||||
<string name="signin_intro">Sign in to a LLeMbas instance. You approve this phone in the browser, as you would the CLI.</string>
|
<string name="signin_intro">Sign in to a LLeMbas instance. You approve this phone in the browser.</string>
|
||||||
<string name="signin_address">Instance address</string>
|
<string name="signin_address">Instance address</string>
|
||||||
<string name="signin_continue">Continue</string>
|
<string name="signin_continue">Continue</string>
|
||||||
<string name="signin_code_intro">Open the instance in the browser, sign in, and approve this code:</string>
|
<string name="signin_code_intro">Open the instance in the browser, sign in, and approve this code:</string>
|
||||||
@@ -13,14 +13,27 @@
|
|||||||
<string name="signin_denied">The sign-in was refused.</string>
|
<string name="signin_denied">The sign-in was refused.</string>
|
||||||
<string name="signin_expired">The code expired before it was approved. Try again.</string>
|
<string name="signin_expired">The code expired before it was approved. Try again.</string>
|
||||||
<string name="signin_too_old">This instance runs an older LLeMbas. This app needs LLeMbas 2.0 or newer.</string>
|
<string name="signin_too_old">This instance runs an older LLeMbas. This app needs LLeMbas 2.0 or newer.</string>
|
||||||
<string name="signin_too_new">This instance speaks a newer app API than this app. Update the app.</string>
|
<string name="signin_too_new">This instance is newer than this app can work with. Update the app.</string>
|
||||||
|
<string name="signin_not_lembas">There is no LLeMbas instance at that address.</string>
|
||||||
|
<string name="signin_failed">The sign-in could not be completed (%1$s). Try again.</string>
|
||||||
|
<string name="signin_app_too_old">This instance needs LLeMbas for Android %1$s or newer, and this is %2$s. Update the app.</string>
|
||||||
|
<string name="signin_other_origin">This instance names another address for signing in (%1$s) than the one you typed. Its proxy has to pass on the address it is reached by.</string>
|
||||||
|
<string name="address_needs_https">This app needs an https:// address: plain http is not supported.</string>
|
||||||
|
<string name="address_unreadable">That is not an address this app can use. Type the instance\'s address, like llm.example.org.</string>
|
||||||
|
<string name="server_answered">The server answered %1$s.</string>
|
||||||
|
<string name="timed_out">The instance did not answer in time.</string>
|
||||||
|
<string name="not_trusted">This phone does not trust the instance\'s certificate: install its CA certificate among Android\'s user certificates (Settings, Security, Encryption & credentials, Install a certificate).</string>
|
||||||
|
<string name="signed_out">%1$s signed this phone out. Sign in again to go on: your chats and what you set up here are kept.</string>
|
||||||
|
<string name="signed_out_again">Sign in again</string>
|
||||||
|
<string name="signed_out_use">Use %1$s</string>
|
||||||
|
<string name="signed_out_remove">Remove this instance</string>
|
||||||
<string name="new_chat">New chat</string>
|
<string name="new_chat">New chat</string>
|
||||||
<string name="empty_chats">No chats yet. Not all those who wander are lost — start one.</string>
|
<string name="empty_chats">No chats yet. Not all those who wander are lost — start one.</string>
|
||||||
<string name="new_agent_chat">New agent chat</string>
|
<string name="new_agent_chat">New agent chat</string>
|
||||||
<string name="agent_device">Device</string>
|
<string name="agent_device">Computer</string>
|
||||||
<string name="agent_no_device">No device is linked right now. Start `lembas service` on a computer signed in to this instance, then come back.</string>
|
<string name="agent_no_device">No computer is linked right now. Start the LLeMbas CLI\'s service (lembas service) on a computer signed in to this instance, then come back.</string>
|
||||||
<string name="agent_directory">Folder on the device</string>
|
<string name="agent_directory">Folder on the computer</string>
|
||||||
<string name="agent_directory_hint">Empty: the device\'s first folder</string>
|
<string name="agent_directory_hint">Empty: the computer\'s first folder</string>
|
||||||
<string name="empty_chat">What shall we talk about?</string>
|
<string name="empty_chat">What shall we talk about?</string>
|
||||||
<string name="loading_line">Baking lembas…</string>
|
<string name="loading_line">Baking lembas…</string>
|
||||||
<string name="archive">Archive</string>
|
<string name="archive">Archive</string>
|
||||||
@@ -349,7 +362,7 @@
|
|||||||
<string name="viewer_copy">Copy</string>
|
<string name="viewer_copy">Copy</string>
|
||||||
<string name="viewer_html_source">This is the page\'s source. Open it in the browser to see the page itself.</string>
|
<string name="viewer_html_source">This is the page\'s source. Open it in the browser to see the page itself.</string>
|
||||||
<string name="viewer_long_markdown">A long file, so it is shown as plain text.</string>
|
<string name="viewer_long_markdown">A long file, so it is shown as plain text.</string>
|
||||||
<string name="viewer_unavailable">This server cannot hand the file to the app yet. Open it in the browser instead.</string>
|
<string name="viewer_unavailable">This instance cannot hand the file to the app yet. Open it in the browser instead.</string>
|
||||||
<string name="viewer_too_large">This file is too large to show here; at most 1 MB can be shown.</string>
|
<string name="viewer_too_large">This file is too large to show here; at most 1 MB can be shown.</string>
|
||||||
<string name="viewer_not_text">This is not a text file, so it is not shown here.</string>
|
<string name="viewer_not_text">This is not a text file, so it is not shown here.</string>
|
||||||
<string name="files">Files</string>
|
<string name="files">Files</string>
|
||||||
@@ -508,7 +521,7 @@
|
|||||||
<string name="update_available">%1$s is available. Tap to open its release page.</string>
|
<string name="update_available">%1$s is available. Tap to open its release page.</string>
|
||||||
<string name="update_install">Install %1$s</string>
|
<string name="update_install">Install %1$s</string>
|
||||||
<string name="update_auto">Look for new versions</string>
|
<string name="update_auto">Look for new versions</string>
|
||||||
<string name="update_auto_line">At most once a day, when the app starts, it asks your instance which release goes with it (an older instance: the list of releases on GitHub) and tells you in a notification when there is a newer one. Nothing about you is sent anywhere else. On by default in a beta, off otherwise.</string>
|
<string name="update_auto_line">At most once a day, when the app starts, it asks your instance which release goes with it — or reads the list of releases on GitHub when the instance cannot say — and tells you in a notification when there is a newer one. Nothing about you is sent with either request. On by default in a beta, off otherwise.</string>
|
||||||
<string name="update_betas">Include betas</string>
|
<string name="update_betas">Include betas</string>
|
||||||
<string name="update_betas_line">Offer test versions as well as releases. On by default when this app is itself a beta.</string>
|
<string name="update_betas_line">Offer test versions as well as releases. On by default when this app is itself a beta.</string>
|
||||||
<string name="channel_updates">App updates</string>
|
<string name="channel_updates">App updates</string>
|
||||||
@@ -555,7 +568,7 @@
|
|||||||
<string name="experimental">Experimental</string>
|
<string name="experimental">Experimental</string>
|
||||||
<string name="wake_experimental_line">New, and tried on few phones so far. It may miss the phrase, start by mistake, or hear you and still not open the assistant.</string>
|
<string name="wake_experimental_line">New, and tried on few phones so far. It may miss the phrase, start by mistake, or hear you and still not open the assistant.</string>
|
||||||
<string name="assistant_voice_experimental_line">Experimental: listening by itself when the assistant opens, noticing when you have finished speaking, and the spoken conversation are new and do not work well on every phone yet. Typing a question and the microphone button always work.</string>
|
<string name="assistant_voice_experimental_line">Experimental: listening by itself when the assistant opens, noticing when you have finished speaking, and the spoken conversation are new and do not work well on every phone yet. Typing a question and the microphone button always work.</string>
|
||||||
<string name="assist_wake_word_hint">No wake word unless you want one: Settings › Assistant › Wake word turns on LLeMbas\'s own, on this phone.</string>
|
<string name="assist_wake_word_hint">No wake word unless you want one: Settings › Wake word turns on LLeMbas\'s own, on this phone.</string>
|
||||||
<string name="channel_wake">Wake word</string>
|
<string name="channel_wake">Wake word</string>
|
||||||
<string name="wake_word">Wake word</string>
|
<string name="wake_word">Wake word</string>
|
||||||
<string name="wake_word_listen">Listen for a wake word</string>
|
<string name="wake_word_listen">Listen for a wake word</string>
|
||||||
@@ -674,7 +687,7 @@
|
|||||||
<string name="assistant_listens">Start listening when the assistant opens</string>
|
<string name="assistant_listens">Start listening when the assistant opens</string>
|
||||||
<string name="voice_input">Voice input</string>
|
<string name="voice_input">Voice input</string>
|
||||||
<string name="voice_input_lembas">LLeMbas</string>
|
<string name="voice_input_lembas">LLeMbas</string>
|
||||||
<string name="voice_input_lembas_line">Your instance\'s speech-to-text, through the server. The recording goes to your instance and nowhere else.</string>
|
<string name="voice_input_lembas_line">Your instance\'s speech-to-text. This phone sends the recording to your instance only; the instance writes it down with the speech model set up there.</string>
|
||||||
<string name="voice_input_phone">Phone (Google or the system\'s)</string>
|
<string name="voice_input_phone">Phone (Google or the system\'s)</string>
|
||||||
<string name="voice_input_phone_line">The phone\'s own recogniser. The words appear as you speak; the recording goes wherever that recogniser sends it.</string>
|
<string name="voice_input_phone_line">The phone\'s own recogniser. The words appear as you speak; the recording goes wherever that recogniser sends it.</string>
|
||||||
<string name="voice_input_phone_none">This phone has no speech recogniser of its own.</string>
|
<string name="voice_input_phone_none">This phone has no speech recogniser of its own.</string>
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ import eu.llembas.android.api.ApiClient
|
|||||||
import eu.llembas.android.api.ApiException
|
import eu.llembas.android.api.ApiException
|
||||||
import eu.llembas.android.api.CardAnswer
|
import eu.llembas.android.api.CardAnswer
|
||||||
import eu.llembas.android.api.ShowCard
|
import eu.llembas.android.api.ShowCard
|
||||||
import eu.llembas.android.api.normaliseBase
|
|
||||||
import eu.llembas.android.ui.unreachable
|
import eu.llembas.android.ui.unreachable
|
||||||
import kotlinx.coroutines.test.runTest
|
import kotlinx.coroutines.test.runTest
|
||||||
import okhttp3.mockwebserver.MockResponse
|
import okhttp3.mockwebserver.MockResponse
|
||||||
@@ -33,12 +32,6 @@ class ClientTest {
|
|||||||
|
|
||||||
private fun client() = ApiClient(server.url("/").toString().trimEnd('/'), "lmb_test")
|
private fun client() = ApiClient(server.url("/").toString().trimEnd('/'), "lmb_test")
|
||||||
|
|
||||||
@Test
|
|
||||||
fun anAddressBecomesABase() {
|
|
||||||
assertEquals("https://llm.example.org", normaliseBase(" llm.example.org/ "))
|
|
||||||
assertEquals("http://10.1.2.3:8080", normaliseBase("http://10.1.2.3:8080"))
|
|
||||||
}
|
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
fun anAgentChatNamesItsDeviceAndFolder() = runTest {
|
fun anAgentChatNamesItsDeviceAndFolder() = runTest {
|
||||||
server.enqueue(MockResponse().setResponseCode(201).setBody("""{"chat":{"id":"c1","kind":"agent"}}"""))
|
server.enqueue(MockResponse().setResponseCode(201).setBody("""{"chat":{"id":"c1","kind":"agent"}}"""))
|
||||||
|
|||||||
@@ -0,0 +1,595 @@
|
|||||||
|
package eu.llembas.android
|
||||||
|
|
||||||
|
import eu.llembas.android.api.Address
|
||||||
|
import eu.llembas.android.api.ApiClient
|
||||||
|
import eu.llembas.android.api.ApiException
|
||||||
|
import eu.llembas.android.api.Discovery
|
||||||
|
import eu.llembas.android.api.Doorstep
|
||||||
|
import eu.llembas.android.api.Frame
|
||||||
|
import eu.llembas.android.api.LembasJson
|
||||||
|
import eu.llembas.android.api.NotLembas
|
||||||
|
import eu.llembas.android.api.Outcome
|
||||||
|
import eu.llembas.android.api.Reconnect
|
||||||
|
import eu.llembas.android.api.RefusedTokens
|
||||||
|
import eu.llembas.android.api.ServerFit
|
||||||
|
import eu.llembas.android.api.StreamClient
|
||||||
|
import eu.llembas.android.api.USER_AGENT
|
||||||
|
import eu.llembas.android.api.address
|
||||||
|
import eu.llembas.android.api.fit
|
||||||
|
import eu.llembas.android.api.minClient
|
||||||
|
import eu.llembas.android.api.olderThan
|
||||||
|
import eu.llembas.android.api.onOrigin
|
||||||
|
import eu.llembas.android.api.refusedToken
|
||||||
|
import eu.llembas.android.api.reopened
|
||||||
|
import eu.llembas.android.api.retryAfterSeconds
|
||||||
|
import eu.llembas.android.api.sameBase
|
||||||
|
import eu.llembas.android.api.userAgent
|
||||||
|
import eu.llembas.android.api.versionNumbers
|
||||||
|
import eu.llembas.android.auth.Instance
|
||||||
|
import eu.llembas.android.auth.InstanceLogic
|
||||||
|
import eu.llembas.android.auth.Prefs
|
||||||
|
import eu.llembas.android.ui.Trouble
|
||||||
|
import eu.llembas.android.ui.signin.newerAppNeeded
|
||||||
|
import eu.llembas.android.ui.signin.pollEnd
|
||||||
|
import eu.llembas.android.ui.signin.refusal
|
||||||
|
import eu.llembas.android.ui.trouble
|
||||||
|
import kotlinx.coroutines.ExperimentalCoroutinesApi
|
||||||
|
import kotlinx.coroutines.flow.flow
|
||||||
|
import kotlinx.coroutines.flow.toList
|
||||||
|
import kotlinx.coroutines.test.currentTime
|
||||||
|
import kotlinx.coroutines.test.runTest
|
||||||
|
import kotlinx.serialization.builtins.ListSerializer
|
||||||
|
import okhttp3.mockwebserver.MockResponse
|
||||||
|
import okhttp3.mockwebserver.MockWebServer
|
||||||
|
import org.junit.After
|
||||||
|
import org.junit.Assert.assertEquals
|
||||||
|
import org.junit.Assert.assertFalse
|
||||||
|
import org.junit.Assert.assertNotEquals
|
||||||
|
import org.junit.Assert.assertNull
|
||||||
|
import org.junit.Assert.assertTrue
|
||||||
|
import org.junit.Assert.fail
|
||||||
|
import org.junit.Before
|
||||||
|
import org.junit.Test
|
||||||
|
import java.io.IOException
|
||||||
|
import java.io.InterruptedIOException
|
||||||
|
import java.net.ConnectException
|
||||||
|
import java.net.SocketTimeoutException
|
||||||
|
import java.net.UnknownHostException
|
||||||
|
import java.net.UnknownServiceException
|
||||||
|
import java.security.cert.CertPathValidatorException
|
||||||
|
import java.util.concurrent.CopyOnWriteArrayList
|
||||||
|
import javax.net.ssl.SSLHandshakeException
|
||||||
|
import javax.net.ssl.SSLPeerUnverifiedException
|
||||||
|
|
||||||
|
/**
|
||||||
|
* How this app connects to an instance, by the rules every LLeMbas client keeps: one way to read
|
||||||
|
* an address, one name on every request, one meaning of a refused token, one reconnect schedule,
|
||||||
|
* and a sentence of its own for each thing that can go wrong.
|
||||||
|
*/
|
||||||
|
@OptIn(ExperimentalCoroutinesApi::class)
|
||||||
|
class ConnectionTest {
|
||||||
|
private lateinit var server: MockWebServer
|
||||||
|
private var heardBefore: ((String) -> Unit)? = null
|
||||||
|
|
||||||
|
@Before
|
||||||
|
fun up() {
|
||||||
|
server = MockWebServer().apply { start() }
|
||||||
|
heardBefore = RefusedTokens.heard
|
||||||
|
}
|
||||||
|
|
||||||
|
@After
|
||||||
|
fun down() {
|
||||||
|
RefusedTokens.heard = heardBefore
|
||||||
|
server.shutdown()
|
||||||
|
}
|
||||||
|
|
||||||
|
private fun base() = server.url("/").toString().trimEnd('/')
|
||||||
|
|
||||||
|
private fun client(token: String = "lmb_test") = ApiClient(base(), token)
|
||||||
|
|
||||||
|
// --- The address ---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun anAddressIsReadByTheOneRule() {
|
||||||
|
val cases = listOf(
|
||||||
|
" Example.org " to Address.Base("https://example.org"),
|
||||||
|
"HTTPS://Example.org/" to Address.Base("https://example.org"),
|
||||||
|
"https://example.org/chat?x=1#y" to Address.Base("https://example.org"),
|
||||||
|
"example.org:8443/" to Address.Base("https://example.org:8443"),
|
||||||
|
"https://example.org:443" to Address.Base("https://example.org"),
|
||||||
|
"http://example.org" to Address.NeedsHttps,
|
||||||
|
"ftp://example.org" to Address.NotHttp,
|
||||||
|
"" to Address.Empty,
|
||||||
|
// The same rule, a little further: only blanks, an http address in capitals, no host, a port that is none.
|
||||||
|
" " to Address.Empty,
|
||||||
|
"HTTP://Example.org:8080/x" to Address.NeedsHttps,
|
||||||
|
"https://" to Address.Unreadable,
|
||||||
|
"example.org:port" to Address.Unreadable,
|
||||||
|
"llm.example.org/some/page/" to Address.Base("https://llm.example.org"),
|
||||||
|
)
|
||||||
|
for ((typed, expected) in cases) assertEquals("\"$typed\"", expected, address(typed))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun anAddressThatCannotBeUsedIsSaidAtTheAddressStep() {
|
||||||
|
assertEquals(R.string.address_needs_https, refusal(Address.NeedsHttps))
|
||||||
|
assertEquals(R.string.address_unreadable, refusal(Address.NotHttp))
|
||||||
|
assertEquals(R.string.address_unreadable, refusal(Address.Unreadable))
|
||||||
|
assertNull(refusal(Address.Empty))
|
||||||
|
assertNull(refusal(Address.Base("https://example.org")))
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- Which address is kept, and which instance a sign-in is ---------------------------------
|
||||||
|
|
||||||
|
private val listed = ListSerializer(Instance.serializer())
|
||||||
|
|
||||||
|
/** What a version of the app before this one stored: the instance's own word for its address, and an id made of it. */
|
||||||
|
private val stored = """[
|
||||||
|
{"id":"alice@https://home.example","base":"https://home.example","name":"Home","email":"alice","sealedToken":"t1"},
|
||||||
|
{"id":"bob@https://Work.example:8443","base":"https://Work.example:8443","name":"Work","email":"bob","sealedToken":"t2"}
|
||||||
|
]"""
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun anInstanceFromBeforeIsUntouchedByTheUpgrade() {
|
||||||
|
val read = LembasJson.decodeFromString(listed, stored)
|
||||||
|
// Nothing is made again on reading: the id, the base and the token are what was stored, to the letter.
|
||||||
|
assertEquals(listOf("alice@https://home.example", "bob@https://Work.example:8443"), read.map { it.id })
|
||||||
|
assertEquals(listOf("https://home.example", "https://Work.example:8443"), read.map { it.base })
|
||||||
|
assertEquals(listOf("t1", "t2"), read.map { it.sealedToken })
|
||||||
|
assertTrue(read.none { it.signedOut })
|
||||||
|
// Which one is in use and which is the default are found by those same ids.
|
||||||
|
assertEquals(read[1], InstanceLogic.pickActive(read, "bob@https://Work.example:8443", "alice@https://home.example"))
|
||||||
|
assertEquals(read[0], InstanceLogic.pickDefault(read, "alice@https://home.example"))
|
||||||
|
// And what is kept per instance is still found under them.
|
||||||
|
val prefs = Prefs().withInstance(read[1].id) { it.copy(assistantModel = "fast-work") }
|
||||||
|
assertEquals("fast-work", prefs.forInstance(LembasJson.decodeFromString(listed, stored)[1].id).assistantModel)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aSignInToAnInstanceAlreadyHereRefreshesItAndAddsNoTwin() {
|
||||||
|
val before = LembasJson.decodeFromString(listed, stored)
|
||||||
|
// Typed by another name than the one stored; the instance still says the old one of itself.
|
||||||
|
val again = InstanceLogic.signedIn(
|
||||||
|
before,
|
||||||
|
typed = "https://home.example.net",
|
||||||
|
said = "https://home.example/",
|
||||||
|
name = "Home",
|
||||||
|
email = "Alice",
|
||||||
|
sealedToken = "t9",
|
||||||
|
)
|
||||||
|
assertEquals("alice@https://home.example", again.id)
|
||||||
|
assertEquals("https://home.example.net", again.base)
|
||||||
|
assertEquals("t9", again.sealedToken)
|
||||||
|
assertEquals("alice", again.email)
|
||||||
|
val (list, active, default) = InstanceLogic.afterAdd(before, again, "bob@https://Work.example:8443")
|
||||||
|
assertEquals(2, list.size)
|
||||||
|
assertEquals(setOf("alice@https://home.example", "bob@https://Work.example:8443"), list.map { it.id }.toSet())
|
||||||
|
assertEquals("alice@https://home.example", active)
|
||||||
|
assertEquals("bob@https://Work.example:8443", default)
|
||||||
|
// Another account at the same address is another instance, as it always was.
|
||||||
|
val carol = InstanceLogic.signedIn(
|
||||||
|
before,
|
||||||
|
typed = "https://home.example",
|
||||||
|
said = "https://home.example",
|
||||||
|
name = "Home",
|
||||||
|
email = "carol",
|
||||||
|
sealedToken = "t3",
|
||||||
|
)
|
||||||
|
assertEquals("carol@https://home.example", carol.id)
|
||||||
|
assertEquals(3, InstanceLogic.afterAdd(before, carol, null).first.size)
|
||||||
|
// And the same account somewhere else is a new one too: its id is made of the typed address.
|
||||||
|
val elsewhere = InstanceLogic.signedIn(before, typed = "https://other.example", said = "", name = "Other", email = "alice", sealedToken = "t4")
|
||||||
|
assertEquals("alice@https://other.example", elsewhere.id)
|
||||||
|
assertEquals("https://other.example", elsewhere.base)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aSignedOutInstanceSignedInToAgainIsItselfAgain() {
|
||||||
|
val before = LembasJson.decodeFromString(listed, stored).map { it.copy(signedOut = true) }
|
||||||
|
val again = InstanceLogic.signedIn(before, typed = "https://home.example", said = "", name = "Home", email = "alice", sealedToken = "t9")
|
||||||
|
assertEquals("alice@https://home.example", again.id)
|
||||||
|
assertFalse(again.signedOut)
|
||||||
|
assertTrue(InstanceLogic.afterAdd(before, again, null).first.single { it.id == "bob@https://Work.example:8443" }.signedOut)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun anAddressTypedInItsVariantsIsOneInstance() {
|
||||||
|
val before = LembasJson.decodeFromString(listed, stored)
|
||||||
|
val variants = listOf("work.example:8443", "HTTPS://WORK.example:8443/", "https://work.example:8443/chat?x=1#y", " https://Work.Example:8443 ")
|
||||||
|
for (typed in variants) {
|
||||||
|
val base = (address(typed) as Address.Base).url
|
||||||
|
assertEquals(typed, "https://work.example:8443", base)
|
||||||
|
val again = InstanceLogic.signedIn(before, typed = base, said = "", name = "Work", email = "bob", sealedToken = "t9")
|
||||||
|
// The entry stored with a capital in its base is found, and keeps its id as it was stored.
|
||||||
|
assertEquals(typed, "bob@https://Work.example:8443", again.id)
|
||||||
|
assertEquals(typed, 2, InstanceLogic.afterAdd(before, again, null).first.size)
|
||||||
|
}
|
||||||
|
assertTrue(sameBase("https://example.org", "https://EXAMPLE.org:443/"))
|
||||||
|
assertFalse(sameBase("https://example.org", "https://example.org:8443"))
|
||||||
|
assertFalse(sameBase("https://example.org", "https://www.example.org"))
|
||||||
|
// A base the rule does not read (an older version stored what the instance said) is compared as it stands.
|
||||||
|
assertTrue(sameBase("http://inside.example:8000", "http://Inside.example:8000/"))
|
||||||
|
assertFalse(sameBase("http://inside.example:8000", "https://inside.example:8000"))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun theSignInGoesOnlyToTheAddressThatWasTyped() {
|
||||||
|
assertTrue(onOrigin("https://llm.example.org", "https://llm.example.org/api/device/code"))
|
||||||
|
assertTrue(onOrigin("https://llm.example.org", "https://LLM.example.org:443/api/device/token"))
|
||||||
|
assertFalse(onOrigin("https://llm.example.org", "https://other.example.org/api/device/code"))
|
||||||
|
assertFalse(onOrigin("https://llm.example.org", "http://llm.example.org/api/device/code"))
|
||||||
|
assertFalse(onOrigin("https://llm.example.org", "https://llm.example.org:8443/api/device/code"))
|
||||||
|
assertFalse(onOrigin("https://llm.example.org", ""))
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- An instance that needs a newer app ------------------------------------------------------
|
||||||
|
|
||||||
|
private fun found(json: String) = LembasJson.decodeFromString(Discovery.serializer(), json)
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun versionsCompareByTheirNumbers() {
|
||||||
|
assertTrue(olderThan("1.0.0-beta.9", "1.0.0-beta.10"))
|
||||||
|
assertFalse(olderThan("1.0.0-beta.10", "1.0.0-beta.9"))
|
||||||
|
assertTrue(olderThan("1.0.0-beta.16", "1.0.0"))
|
||||||
|
assertFalse(olderThan("1.0.0", "1.0.0-beta.99"))
|
||||||
|
assertFalse(olderThan("1.0.0-beta.16", "1.0.0-beta.16"))
|
||||||
|
assertTrue(olderThan("1.9.9", "1.10.0"))
|
||||||
|
assertTrue(olderThan("1.0.0", "2.0.0-beta.1"))
|
||||||
|
assertFalse(olderThan("2.0.0-beta.1", "1.99.99"))
|
||||||
|
// A build's own mark is left off: a test build of beta.16 is beta.16.
|
||||||
|
assertFalse(olderThan("1.0.0-beta.16-debug.412", "1.0.0-beta.16"))
|
||||||
|
assertTrue(olderThan("1.0.0-beta.16-debug.412", "1.0.0-beta.17"))
|
||||||
|
assertFalse(olderThan("1.0.0-notifications", "1.0.0"))
|
||||||
|
assertEquals(versionNumbers("1.0.0"), versionNumbers("v1.0.0"))
|
||||||
|
// Nonsense locks nobody out.
|
||||||
|
assertFalse(olderThan("1.0.0", "newest"))
|
||||||
|
assertFalse(olderThan("dev", "9.9.9"))
|
||||||
|
assertNull(versionNumbers("1.0"))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun anInstanceMaySayWhichAppIsTooOld() {
|
||||||
|
val says = found("""{"service":"lembas","min_clients":{"android":"1.0.0","desktop":"1.2.0"},"something_new":{"a":[1,2]}}""")
|
||||||
|
assertEquals("1.0.0", says.minClient())
|
||||||
|
assertEquals("1.0.0", newerAppNeeded(says, "1.0.0-beta.16"))
|
||||||
|
assertNull(newerAppNeeded(says, "1.0.0"))
|
||||||
|
assertNull(newerAppNeeded(says, "1.0.1-debug.3"))
|
||||||
|
// Said of other products only, or not at all: nothing is asked of this app.
|
||||||
|
assertNull(found("""{"service":"lembas","min_clients":{"desktop":"9.0.0"}}""").minClient())
|
||||||
|
assertNull(found("""{"service":"lembas"}""").minClient())
|
||||||
|
// A shape this app does not expect is "says nothing" -- the document is still read.
|
||||||
|
assertNull(found("""{"service":"lembas","min_clients":["android"]}""").minClient())
|
||||||
|
assertNull(found("""{"service":"lembas","min_clients":{"android":7}}""").minClient())
|
||||||
|
assertNull(found("""{"service":"lembas","min_clients":{"android":null}}""").minClient())
|
||||||
|
assertNull(found("""{"service":"lembas","min_clients":null}""").minClient())
|
||||||
|
// Another service's rule is not a rule.
|
||||||
|
assertNull(newerAppNeeded(found("""{"service":"other","min_clients":{"android":"9.0.0"}}"""), "1.0.0"))
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- Who asks ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun theAppNamesItselfWithItsVersion() {
|
||||||
|
assertEquals("llembas-android/1.2.3-beta.4", userAgent("1.2.3-beta.4"))
|
||||||
|
assertEquals(userAgent(BuildConfig.VERSION_NAME), USER_AGENT)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun everyRequestCarriesTheAppsName() = runTest {
|
||||||
|
server.enqueue(MockResponse().setBody("""{"api":2,"account":{"name":"Frodo","email":"f@shire.test"}}"""))
|
||||||
|
client().me()
|
||||||
|
assertEquals(USER_AGENT, server.takeRequest().getHeader("User-Agent"))
|
||||||
|
// The calls without a token too: finding the instance.
|
||||||
|
server.enqueue(MockResponse().setBody("""{"service":"lembas"}"""))
|
||||||
|
Doorstep().discover(base())
|
||||||
|
assertEquals(USER_AGENT, server.takeRequest().getHeader("User-Agent"))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun theSignInNamesTheSameProgram() = runTest {
|
||||||
|
server.enqueue(MockResponse().setBody("""{"device_code":"d","user_code":"ABCD-EFGH"}"""))
|
||||||
|
Doorstep().deviceCode(server.url("/api/device/code").toString(), "LLeMbas for Android", "Maker Model")
|
||||||
|
val body = server.takeRequest().body.readUtf8()
|
||||||
|
assertTrue(body, body.contains("\"client_id\":\"$USER_AGENT\""))
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- A refused token -------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun onlyTheInstancesOwnRefusalNamesAToken() {
|
||||||
|
val challenge = "Bearer realm=\"lembas\""
|
||||||
|
assertEquals("lmb_a", refusedToken(401, challenge, "Bearer lmb_a"))
|
||||||
|
// Not allowed is not signed out; nor is "slow down", nor a server in trouble.
|
||||||
|
assertNull(refusedToken(403, challenge, "Bearer lmb_a"))
|
||||||
|
assertNull(refusedToken(429, challenge, "Bearer lmb_a"))
|
||||||
|
assertNull(refusedToken(500, challenge, "Bearer lmb_a"))
|
||||||
|
// A 401 passed on from elsewhere (a provider behind the instance) has no challenge of the instance's.
|
||||||
|
assertNull(refusedToken(401, null, "Bearer lmb_a"))
|
||||||
|
assertNull(refusedToken(401, "Basic realm=\"proxy\"", "Bearer lmb_a"))
|
||||||
|
assertNull(refusedToken(401, "Bearer realm=\"other\"", "Bearer lmb_a"))
|
||||||
|
// A request that carried no token signs nobody out.
|
||||||
|
assertNull(refusedToken(401, challenge, null))
|
||||||
|
assertNull(refusedToken(401, challenge, "Bearer "))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aRefusedTokenIsHeardWithThatTokenOnAnyRequest() = runTest {
|
||||||
|
val heard = CopyOnWriteArrayList<String>()
|
||||||
|
RefusedTokens.heard = { token -> heard += token }
|
||||||
|
val said = """{"detail":"That token is not valid, has expired or was revoked."}"""
|
||||||
|
server.enqueue(MockResponse().setResponseCode(401).setHeader("WWW-Authenticate", "Bearer realm=\"lembas\"").setBody(said))
|
||||||
|
try {
|
||||||
|
client("lmb_revoked").me()
|
||||||
|
fail("a 401 must throw")
|
||||||
|
} catch (e: ApiException) {
|
||||||
|
assertEquals(401, e.status)
|
||||||
|
assertEquals("That token is not valid, has expired or was revoked.", e.message)
|
||||||
|
}
|
||||||
|
assertEquals(listOf("lmb_revoked"), heard.toList())
|
||||||
|
// A 403 is the server's sentence and nothing more.
|
||||||
|
server.enqueue(MockResponse().setResponseCode(403).setBody("""{"detail":"This token was not given the app scope."}"""))
|
||||||
|
try {
|
||||||
|
client("lmb_narrow").me()
|
||||||
|
fail("a 403 must throw")
|
||||||
|
} catch (e: ApiException) {
|
||||||
|
assertEquals("This token was not given the app scope.", e.message)
|
||||||
|
}
|
||||||
|
// A 401 that is not the instance's own (no challenge) signs nobody out.
|
||||||
|
server.enqueue(MockResponse().setResponseCode(401).setBody("""{"error":{"message":"Incorrect API key provided."}}"""))
|
||||||
|
try {
|
||||||
|
client("lmb_fine").me()
|
||||||
|
fail("a 401 must throw")
|
||||||
|
} catch (e: ApiException) {
|
||||||
|
assertEquals(401, e.status)
|
||||||
|
}
|
||||||
|
assertEquals(listOf("lmb_revoked"), heard.toList())
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aRefusalSignsOutThatInstanceAndTouchesNothingElse() {
|
||||||
|
val home = Instance(id = "alice@https://home.example", base = "https://home.example", name = "Home", email = "alice", sealedToken = "t1")
|
||||||
|
val work = Instance(id = "bob@https://work.example", base = "https://work.example", name = "Work", email = "bob", sealedToken = "t2")
|
||||||
|
val after = InstanceLogic.afterRefusal(listOf(home, work)) { it.sealedToken == "t2" }
|
||||||
|
assertEquals(listOf(home, work.copy(signedOut = true)), after)
|
||||||
|
// A token that is nobody's any more (signed in again meanwhile, or removed) changes nothing.
|
||||||
|
assertNull(InstanceLogic.afterRefusal(listOf(home, work)) { it.sealedToken == "gone" })
|
||||||
|
// Said twice, written once.
|
||||||
|
assertNull(InstanceLogic.afterRefusal(after!!) { it.sealedToken == "t2" })
|
||||||
|
// The signed-out one keeps its place as the one in use and as the default: nothing is promoted over it.
|
||||||
|
assertEquals(work.copy(signedOut = true), InstanceLogic.pickActive(after, work.id, work.id))
|
||||||
|
// Signing in again replaces the entry under the same id, signed in, and the default stays whose it was.
|
||||||
|
val again = work.copy(sealedToken = "t9")
|
||||||
|
val (list, active, default) = InstanceLogic.afterAdd(after, again, home.id)
|
||||||
|
assertEquals(listOf(home, again), list)
|
||||||
|
assertFalse(list.last().signedOut)
|
||||||
|
assertEquals(work.id, active)
|
||||||
|
assertEquals(home.id, default)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun anInstanceStoredBeforeTheMarkIsSignedIn() {
|
||||||
|
val stored = """[{"id":"alice@https://home.example","base":"https://home.example","name":"Home","email":"alice","sealedToken":"t1"}]"""
|
||||||
|
val read = LembasJson.decodeFromString(ListSerializer(Instance.serializer()), stored)
|
||||||
|
assertFalse(read.single().signedOut)
|
||||||
|
val marked = LembasJson.encodeToString(ListSerializer(Instance.serializer()), listOf(read.single().copy(signedOut = true)))
|
||||||
|
assertTrue(LembasJson.decodeFromString(ListSerializer(Instance.serializer()), marked).single().signedOut)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun theEventsLineIsTheTokensNotOnlyTheInstances() {
|
||||||
|
assertEquals(eventsKey("alice@https://home.example", "sealed-a"), eventsKey("alice@https://home.example", "sealed-a"))
|
||||||
|
assertNotEquals(eventsKey("alice@https://home.example", "sealed-a"), eventsKey("alice@https://home.example", "sealed-b"))
|
||||||
|
assertNotEquals(eventsKey("alice@https://home.example", "sealed-a"), eventsKey("bob@https://home.example", "sealed-a"))
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- Streams ---------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aSilentStreamCountsAsBrokenWithinAMinute() {
|
||||||
|
// The server's keepalive comes every 15 seconds: silence for three of them is a dead connection.
|
||||||
|
assertTrue(StreamClient.SILENCE_SECONDS in 45L..60L)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun thePauseDoublesFromOneSecondToSixty() {
|
||||||
|
val schedule = Reconnect { 0.5 }
|
||||||
|
val pauses = (1..9).map { schedule.pause(healthyMs = 0) }
|
||||||
|
assertEquals(listOf(1_000L, 2_000L, 4_000L, 8_000L, 16_000L, 32_000L, 60_000L, 60_000L, 60_000L), pauses)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun thePauseIsJitteredByAFifthEachWay() {
|
||||||
|
assertEquals(800L, Reconnect { 0.0 }.pause(healthyMs = 0))
|
||||||
|
assertEquals(1_200L, Reconnect { 1.0 }.pause(healthyMs = 0))
|
||||||
|
// A source that strays outside 0..1 does not stretch the pause further.
|
||||||
|
assertEquals(800L, Reconnect { -3.0 }.pause(healthyMs = 0))
|
||||||
|
assertEquals(1_200L, Reconnect { 7.0 }.pause(healthyMs = 0))
|
||||||
|
val drawn = Reconnect()
|
||||||
|
repeat(50) {
|
||||||
|
val pause = drawn.pause(healthyMs = Reconnect.HEALTHY_MS)
|
||||||
|
assertTrue("$pause", pause in 800L..1_200L)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun thePauseIsShortAgainOnlyAfterHalfAMinuteOfHealth() {
|
||||||
|
val schedule = Reconnect { 0.5 }
|
||||||
|
assertEquals(1_000L, schedule.pause(healthyMs = 0))
|
||||||
|
assertEquals(2_000L, schedule.pause(healthyMs = 0))
|
||||||
|
// It opened and said something, and broke again soon: the pause goes on growing.
|
||||||
|
assertEquals(4_000L, schedule.pause(healthyMs = 29_999))
|
||||||
|
assertEquals(1_000L, schedule.pause(healthyMs = 30_000))
|
||||||
|
assertEquals(2_000L, schedule.pause(healthyMs = 5))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aRetryAfterIsHonouredWhenItIsTheLongerWait() {
|
||||||
|
assertEquals(10_000L, Reconnect { 0.5 }.pause(healthyMs = 0, retryAfterMs = 10_000))
|
||||||
|
// The schedule's own pause, when that is longer.
|
||||||
|
val grown = Reconnect { 0.5 }
|
||||||
|
repeat(5) { grown.pause(healthyMs = 0) }
|
||||||
|
assertEquals(32_000L, grown.pause(healthyMs = 0, retryAfterMs = 10_000))
|
||||||
|
// An hour asked for is looked at again within five minutes.
|
||||||
|
assertEquals(Reconnect.MOST_ASKED_MS, Reconnect { 0.5 }.pause(healthyMs = 0, retryAfterMs = 3_600_000))
|
||||||
|
assertEquals(30L, retryAfterSeconds("30"))
|
||||||
|
assertEquals(5L, retryAfterSeconds(" 5 "))
|
||||||
|
assertNull(retryAfterSeconds(null))
|
||||||
|
assertNull(retryAfterSeconds("-1"))
|
||||||
|
assertNull(retryAfterSeconds("Wed, 21 Oct 2015 07:28:00 GMT"))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aStreamThatKeepsBreakingIsOpenedAgainEverMoreSlowly() = runTest {
|
||||||
|
var opened = 0
|
||||||
|
val at = mutableListOf<Long>()
|
||||||
|
val frames = reopened(turn = {}, schedule = Reconnect { 0.5 }, clock = { 0L }) {
|
||||||
|
opened++
|
||||||
|
at += currentTime
|
||||||
|
// One frame and gone, three times: by the clock no connection lasted at all.
|
||||||
|
if (opened <= 3) flow<Outcome> { emit(Outcome.Event(Frame("tail", "{}"))) } else flow<Outcome> { emit(Outcome.Event(Frame("close", "{}"))) }
|
||||||
|
}.toList()
|
||||||
|
assertEquals(listOf("tail", "tail", "tail", "close"), frames.map { it.event })
|
||||||
|
assertEquals(listOf(0L, 1_000L, 3_000L, 7_000L), at)
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aStreamThatHeldIsOpenedAgainAfterOneSecond() = runTest {
|
||||||
|
var opened = 0
|
||||||
|
var now = 0L
|
||||||
|
val at = mutableListOf<Long>()
|
||||||
|
reopened(turn = {}, schedule = Reconnect { 0.5 }, clock = { now }) {
|
||||||
|
opened++
|
||||||
|
at += currentTime
|
||||||
|
when (opened) {
|
||||||
|
// Broke at once, twice: 1 second, then 2.
|
||||||
|
1, 2 -> flow<Outcome> { emit(Outcome.Dropped) }
|
||||||
|
|
||||||
|
// Then held for half a minute before it broke: 1 second again, not 4.
|
||||||
|
3 -> flow<Outcome> {
|
||||||
|
emit(Outcome.Event(Frame("tail", "{}")))
|
||||||
|
now += 30_000L
|
||||||
|
emit(Outcome.Dropped)
|
||||||
|
}
|
||||||
|
|
||||||
|
// "Too many requests", come back in 7 seconds: that is the wait.
|
||||||
|
4 -> flow<Outcome> { emit(Outcome.Slowed(7)) }
|
||||||
|
|
||||||
|
else -> flow<Outcome> { emit(Outcome.Event(Frame("close", "{}"))) }
|
||||||
|
}
|
||||||
|
}.toList()
|
||||||
|
assertEquals(listOf(0L, 1_000L, 3_000L, 4_000L, 11_000L), at)
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- What went wrong, in its own words -----------------------------------------------------
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun eachKindOfTroubleIsToldApart() {
|
||||||
|
assertEquals(Trouble.UNREACHABLE, trouble(UnknownHostException("llm.example.org")))
|
||||||
|
assertEquals(Trouble.UNREACHABLE, trouble(ConnectException("Connection refused")))
|
||||||
|
assertEquals(Trouble.TIMEOUT, trouble(SocketTimeoutException("timeout")))
|
||||||
|
assertEquals(Trouble.TIMEOUT, trouble(InterruptedIOException("timeout")))
|
||||||
|
val untrusted = SSLHandshakeException("java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.")
|
||||||
|
untrusted.initCause(CertPathValidatorException("Trust anchor for certification path not found."))
|
||||||
|
assertEquals(Trouble.NOT_TRUSTED, trouble(untrusted))
|
||||||
|
assertEquals(Trouble.NOT_TRUSTED, trouble(SSLPeerUnverifiedException("Hostname llm.example.org not verified")))
|
||||||
|
// A handshake that failed for another reason is not a matter of trust.
|
||||||
|
assertEquals(Trouble.OTHER, trouble(SSLHandshakeException("Handshake failed")))
|
||||||
|
val cleartext = UnknownServiceException("CLEARTEXT communication to llm.example.org not permitted by network security policy")
|
||||||
|
assertEquals(Trouble.NEEDS_HTTPS, trouble(cleartext))
|
||||||
|
assertEquals(Trouble.NOT_LEMBAS, trouble(NotLembas()))
|
||||||
|
// Whatever the server answered is the server's answer: never "unreachable", never "not LLeMbas".
|
||||||
|
assertEquals(Trouble.ANSWERED, trouble(ApiException(502, "")))
|
||||||
|
assertEquals(Trouble.ANSWERED, trouble(ApiException(403, "This token was not given the app scope.")))
|
||||||
|
assertEquals(Trouble.OTHER, trouble(IOException("unexpected end of stream")))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun anAddressWithoutTheDocumentIsNotLembasAndAServerInTroubleIsItsNumber() = runTest {
|
||||||
|
server.enqueue(MockResponse().setResponseCode(404).setBody("Not Found"))
|
||||||
|
try {
|
||||||
|
Doorstep().discover(base())
|
||||||
|
fail("a 404 is not a LLeMbas instance")
|
||||||
|
} catch (e: NotLembas) {
|
||||||
|
// As it should be.
|
||||||
|
}
|
||||||
|
server.enqueue(MockResponse().setResponseCode(502).setBody("<html>Bad Gateway</html>"))
|
||||||
|
try {
|
||||||
|
Doorstep().discover(base())
|
||||||
|
fail("a 502 must throw")
|
||||||
|
} catch (e: ApiException) {
|
||||||
|
assertEquals(502, e.status)
|
||||||
|
}
|
||||||
|
// A page where the document should be: something else answers there.
|
||||||
|
server.enqueue(MockResponse().setBody("<html>Welcome</html>"))
|
||||||
|
try {
|
||||||
|
Doorstep().discover(base())
|
||||||
|
fail("a page is not a LLeMbas instance")
|
||||||
|
} catch (e: NotLembas) {
|
||||||
|
// As it should be.
|
||||||
|
}
|
||||||
|
// Another service's document is read, and refused by what it says.
|
||||||
|
server.enqueue(MockResponse().setBody("""{"service":"other"}"""))
|
||||||
|
assertEquals(ServerFit.NOT_LEMBAS, fit(Doorstep().discover(base())))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun eachReasonAServerDoesNotFitHasItsOwnSentence() {
|
||||||
|
assertNull(refusal(ServerFit.FITS))
|
||||||
|
assertEquals(R.string.signin_not_lembas, refusal(ServerFit.NOT_LEMBAS))
|
||||||
|
// The direction is the sentence's whole point: an old server is not "update the app".
|
||||||
|
assertEquals(R.string.signin_too_old, refusal(ServerFit.TOO_OLD))
|
||||||
|
assertEquals(R.string.signin_too_new, refusal(ServerFit.TOO_NEW))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aPollEndsByItsRealReason() {
|
||||||
|
assertNull(pollEnd("authorization_pending"))
|
||||||
|
assertNull(pollEnd("slow_down"))
|
||||||
|
assertEquals(R.string.signin_denied, pollEnd("access_denied"))
|
||||||
|
assertEquals(R.string.signin_expired, pollEnd("expired_token"))
|
||||||
|
// Anything else is not "the code expired".
|
||||||
|
assertEquals(R.string.signin_failed, pollEnd("invalid_grant"))
|
||||||
|
assertEquals(R.string.signin_failed, pollEnd(null))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aPollIsReadByWhatTheServerSaid() = runTest {
|
||||||
|
val url = server.url("/api/device/token").toString()
|
||||||
|
server.enqueue(MockResponse().setResponseCode(400).setBody("""{"error":"authorization_pending"}"""))
|
||||||
|
assertEquals("authorization_pending", Doorstep().deviceToken(url, "d").error)
|
||||||
|
server.enqueue(MockResponse().setBody("""{"access_token":"lmb_new","account":{"email":"frodo@example.org"}}"""))
|
||||||
|
assertEquals("lmb_new", Doorstep().deviceToken(url, "d").accessToken)
|
||||||
|
// A proxy's page while the server restarts: the server's number, to be asked again.
|
||||||
|
server.enqueue(MockResponse().setResponseCode(502).setBody("<html>Bad Gateway</html>"))
|
||||||
|
try {
|
||||||
|
Doorstep().deviceToken(url, "d")
|
||||||
|
fail("a 502 must throw")
|
||||||
|
} catch (e: ApiException) {
|
||||||
|
assertEquals(502, e.status)
|
||||||
|
assertNull(e.retryAfter)
|
||||||
|
}
|
||||||
|
// "Too many requests" carries how long to wait.
|
||||||
|
server.enqueue(MockResponse().setResponseCode(429).setHeader("Retry-After", "7").setBody("""{"detail":"Slow down."}"""))
|
||||||
|
try {
|
||||||
|
Doorstep().deviceToken(url, "d")
|
||||||
|
fail("a 429 must throw")
|
||||||
|
} catch (e: ApiException) {
|
||||||
|
assertEquals(429, e.status)
|
||||||
|
assertEquals(7L, e.retryAfter)
|
||||||
|
assertEquals("Slow down.", e.message)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun tooManySignInsIsTheServersOwnSentence() = runTest {
|
||||||
|
val said = """{"error":"slow_down","error_description":"Too many device logins from this address."}"""
|
||||||
|
server.enqueue(MockResponse().setResponseCode(429).setBody(said))
|
||||||
|
try {
|
||||||
|
Doorstep().deviceCode(server.url("/api/device/code").toString(), "LLeMbas for Android", "Maker Model")
|
||||||
|
fail("a 429 must throw")
|
||||||
|
} catch (e: ApiException) {
|
||||||
|
assertEquals(429, e.status)
|
||||||
|
assertEquals("Too many device logins from this address.", e.message)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,100 @@
|
|||||||
|
package eu.llembas.android
|
||||||
|
|
||||||
|
import eu.llembas.android.ui.appended
|
||||||
|
import eu.llembas.android.ui.chat.composerPhoto
|
||||||
|
import eu.llembas.android.update.Updater
|
||||||
|
import org.junit.Assert.assertEquals
|
||||||
|
import org.junit.Assert.assertFalse
|
||||||
|
import org.junit.Assert.assertTrue
|
||||||
|
import org.junit.Test
|
||||||
|
|
||||||
|
/** What the third review of the app found and fixed, each as the rule it now follows. */
|
||||||
|
class ThirdReviewTest {
|
||||||
|
// --- The updater compares versions as the rest of the app does ------------------------------
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aBetaIsOfferedTheReleaseItWasATestOf() {
|
||||||
|
// What the website's manifest names is a release; the app asking may be one of its betas.
|
||||||
|
assertTrue(Updater.newer("1.0.0", "1.0.0-beta.17"))
|
||||||
|
assertTrue(Updater.newer("1.0.0", "1.0.0-beta.2"))
|
||||||
|
assertFalse(Updater.newer("1.0.0-beta.17", "1.0.0"))
|
||||||
|
assertFalse(Updater.newer("1.0.0", "1.0.0"))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun betasCompareByTheirNumberAndPatchesByTheirs() {
|
||||||
|
assertTrue(Updater.newer("1.0.0-beta.10", "1.0.0-beta.9"))
|
||||||
|
assertFalse(Updater.newer("1.0.0-beta.9", "1.0.0-beta.10"))
|
||||||
|
assertTrue(Updater.newer("1.0.1", "1.0.0"))
|
||||||
|
// The beta of a later patch is later than the release before it.
|
||||||
|
assertTrue(Updater.newer("1.0.1-beta.1", "1.0.0"))
|
||||||
|
assertFalse(Updater.newer("1.0.0", "1.0.1-beta.1"))
|
||||||
|
assertTrue(Updater.newer("v1.2.0", "1.1.9"))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aVersionThatCannotBeReadIsNeverLater() {
|
||||||
|
assertFalse(Updater.newer("", "1.0.0"))
|
||||||
|
assertFalse(Updater.newer("newest", "1.0.0"))
|
||||||
|
assertFalse(Updater.newer("2.0", "1.0.0"))
|
||||||
|
assertFalse(Updater.newer("1.0.1", "unknown"))
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- A list read a page at a time never holds a row twice -----------------------------------
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aPageThatArrivesTwiceAddsItsRowsOnce() {
|
||||||
|
val held = listOf("a", "b")
|
||||||
|
val once = appended(held, listOf("c", "d")) { it }
|
||||||
|
assertEquals(listOf("a", "b", "c", "d"), once)
|
||||||
|
// The same page again -- asked for twice while the first answer was on its way.
|
||||||
|
assertEquals(once, appended(once, listOf("c", "d")) { it })
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun aPageThatOverlapsTheListAddsOnlyWhatIsNew() {
|
||||||
|
// The list was read again meanwhile and already holds part of the page.
|
||||||
|
assertEquals(listOf("a", "b", "c", "d"), appended(listOf("a", "b", "c"), listOf("b", "c", "d")) { it })
|
||||||
|
// A page that names a row twice itself.
|
||||||
|
assertEquals(listOf("a", "b"), appended(listOf("a"), listOf("b", "b")) { it })
|
||||||
|
assertEquals(listOf("a"), appended(listOf("a"), emptyList()) { it })
|
||||||
|
assertEquals(listOf("a"), appended(emptyList(), listOf("a")) { it })
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun rowsAreToldApartByTheirIdNotByWhatElseTheyHold() {
|
||||||
|
val held = listOf("1" to "old title")
|
||||||
|
val page = listOf("1" to "new title", "2" to "another")
|
||||||
|
// The row held stays as it is; only the one not held is added.
|
||||||
|
assertEquals(listOf("1" to "old title", "2" to "another"), appended(held, page) { it.first })
|
||||||
|
}
|
||||||
|
|
||||||
|
// --- Only the camera's photo is read with the app's own rights ------------------------------
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun thePhotoTakenForTheComposerIsTheAppsOwn() {
|
||||||
|
val own = "eu.example.app.files"
|
||||||
|
assertTrue(composerPhoto(own, listOf("camera", "photo-1.jpg"), own))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun nothingElseOfTheAppsOwnProviderIsAPhoto() {
|
||||||
|
val own = "eu.example.app.files"
|
||||||
|
// A copy of one of the account's files, held for another app.
|
||||||
|
assertFalse(composerPhoto(own, listOf("shared", "1234", "notes.md"), own))
|
||||||
|
assertFalse(composerPhoto(own, listOf("shared", "camera"), own))
|
||||||
|
// Deeper than the folder, or the folder alone.
|
||||||
|
assertFalse(composerPhoto(own, listOf("camera", "more", "photo-1.jpg"), own))
|
||||||
|
assertFalse(composerPhoto(own, listOf("camera"), own))
|
||||||
|
assertFalse(composerPhoto(own, emptyList(), own))
|
||||||
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
fun anotherAppsAddressIsNeverThePhoto() {
|
||||||
|
val own = "eu.example.app.files"
|
||||||
|
assertFalse(composerPhoto("com.example.gallery", listOf("camera", "photo-1.jpg"), own))
|
||||||
|
assertFalse(composerPhoto(null, listOf("camera", "photo-1.jpg"), own))
|
||||||
|
// An authority is compared whole: one that merely ends like the app's is another's.
|
||||||
|
assertFalse(composerPhoto("x.$own", listOf("camera", "photo-1.jpg"), own))
|
||||||
|
}
|
||||||
|
}
|
||||||
+5
-1
@@ -20,7 +20,11 @@ patterns=(
|
|||||||
)
|
)
|
||||||
found=0
|
found=0
|
||||||
for pattern in "${patterns[@]}"; do
|
for pattern in "${patterns[@]}"; do
|
||||||
if git ls-files -z | grep -zv '^scripts/hygiene.sh$' | xargs -0 grep -nIEi -- "$pattern" ; then
|
# The output decides, not the exit status: xargs answers 123 when any one batch of files has no
|
||||||
|
# match, and grep 2 on an error -- either would have read as "clean" around real matches.
|
||||||
|
hits=$(git ls-files -z | grep -zv '^scripts/hygiene.sh$' | xargs -0 grep -nIEi -- "$pattern" 2>/dev/null || true)
|
||||||
|
if [ -n "$hits" ]; then
|
||||||
|
printf '%s\n' "$hits"
|
||||||
echo "hygiene: the lines above match /$pattern/" >&2
|
echo "hygiene: the lines above match /$pattern/" >&2
|
||||||
found=1
|
found=1
|
||||||
fi
|
fi
|
||||||
|
|||||||
+25
-10
@@ -16,7 +16,7 @@ STRINGS: dict[str, str] = {
|
|||||||
"share_label": "Ask LLeMbas",
|
"share_label": "Ask LLeMbas",
|
||||||
"tile_ask": "Ask LLeMbas",
|
"tile_ask": "Ask LLeMbas",
|
||||||
# Sign-in
|
# Sign-in
|
||||||
"signin_intro": "Sign in to a LLeMbas instance. You approve this phone in the browser, as you would the CLI.",
|
"signin_intro": "Sign in to a LLeMbas instance. You approve this phone in the browser.",
|
||||||
"signin_address": "Instance address",
|
"signin_address": "Instance address",
|
||||||
"signin_continue": "Continue",
|
"signin_continue": "Continue",
|
||||||
"signin_code_intro": "Open the instance in the browser, sign in, and approve this code:",
|
"signin_code_intro": "Open the instance in the browser, sign in, and approve this code:",
|
||||||
@@ -24,15 +24,30 @@ STRINGS: dict[str, str] = {
|
|||||||
"signin_denied": "The sign-in was refused.",
|
"signin_denied": "The sign-in was refused.",
|
||||||
"signin_expired": "The code expired before it was approved. Try again.",
|
"signin_expired": "The code expired before it was approved. Try again.",
|
||||||
"signin_too_old": "This instance runs an older LLeMbas. This app needs LLeMbas 2.0 or newer.",
|
"signin_too_old": "This instance runs an older LLeMbas. This app needs LLeMbas 2.0 or newer.",
|
||||||
"signin_too_new": "This instance speaks a newer app API than this app. Update the app.",
|
"signin_too_new": "This instance is newer than this app can work with. Update the app.",
|
||||||
|
# What went wrong on the way to an instance, one sentence for each kind, and the way back in
|
||||||
|
# when an instance signed this phone out.
|
||||||
|
"signin_not_lembas": "There is no LLeMbas instance at that address.",
|
||||||
|
"signin_failed": "The sign-in could not be completed (%1$s). Try again.",
|
||||||
|
"signin_app_too_old": "This instance needs LLeMbas for Android %1$s or newer, and this is %2$s. Update the app.",
|
||||||
|
"signin_other_origin": "This instance names another address for signing in (%1$s) than the one you typed. Its proxy has to pass on the address it is reached by.",
|
||||||
|
"address_needs_https": "This app needs an https:// address: plain http is not supported.",
|
||||||
|
"address_unreadable": "That is not an address this app can use. Type the instance's address, like llm.example.org.",
|
||||||
|
"server_answered": "The server answered %1$s.",
|
||||||
|
"timed_out": "The instance did not answer in time.",
|
||||||
|
"not_trusted": "This phone does not trust the instance's certificate: install its CA certificate among Android's user certificates (Settings, Security, Encryption & credentials, Install a certificate).",
|
||||||
|
"signed_out": "%1$s signed this phone out. Sign in again to go on: your chats and what you set up here are kept.",
|
||||||
|
"signed_out_again": "Sign in again",
|
||||||
|
"signed_out_use": "Use %1$s",
|
||||||
|
"signed_out_remove": "Remove this instance",
|
||||||
# Chats
|
# Chats
|
||||||
"new_chat": "New chat",
|
"new_chat": "New chat",
|
||||||
"empty_chats": "No chats yet. Not all those who wander are lost — start one.",
|
"empty_chats": "No chats yet. Not all those who wander are lost — start one.",
|
||||||
"new_agent_chat": "New agent chat",
|
"new_agent_chat": "New agent chat",
|
||||||
"agent_device": "Device",
|
"agent_device": "Computer",
|
||||||
"agent_no_device": "No device is linked right now. Start `lembas service` on a computer signed in to this instance, then come back.",
|
"agent_no_device": "No computer is linked right now. Start the LLeMbas CLI's service (lembas service) on a computer signed in to this instance, then come back.",
|
||||||
"agent_directory": "Folder on the device",
|
"agent_directory": "Folder on the computer",
|
||||||
"agent_directory_hint": "Empty: the device's first folder",
|
"agent_directory_hint": "Empty: the computer's first folder",
|
||||||
"empty_chat": "What shall we talk about?",
|
"empty_chat": "What shall we talk about?",
|
||||||
"loading_line": "Baking lembas…",
|
"loading_line": "Baking lembas…",
|
||||||
"archive": "Archive",
|
"archive": "Archive",
|
||||||
@@ -376,7 +391,7 @@ STRINGS: dict[str, str] = {
|
|||||||
"viewer_copy": "Copy",
|
"viewer_copy": "Copy",
|
||||||
"viewer_html_source": "This is the page's source. Open it in the browser to see the page itself.",
|
"viewer_html_source": "This is the page's source. Open it in the browser to see the page itself.",
|
||||||
"viewer_long_markdown": "A long file, so it is shown as plain text.",
|
"viewer_long_markdown": "A long file, so it is shown as plain text.",
|
||||||
"viewer_unavailable": "This server cannot hand the file to the app yet. Open it in the browser instead.",
|
"viewer_unavailable": "This instance cannot hand the file to the app yet. Open it in the browser instead.",
|
||||||
"viewer_too_large": "This file is too large to show here; at most 1 MB can be shown.",
|
"viewer_too_large": "This file is too large to show here; at most 1 MB can be shown.",
|
||||||
"viewer_not_text": "This is not a text file, so it is not shown here.",
|
"viewer_not_text": "This is not a text file, so it is not shown here.",
|
||||||
# Files (the person's tree, as a file manager). Worded as the server's explorer words them.
|
# Files (the person's tree, as a file manager). Worded as the server's explorer words them.
|
||||||
@@ -543,7 +558,7 @@ STRINGS: dict[str, str] = {
|
|||||||
"update_available": "%1$s is available. Tap to open its release page.",
|
"update_available": "%1$s is available. Tap to open its release page.",
|
||||||
"update_install": "Install %1$s",
|
"update_install": "Install %1$s",
|
||||||
"update_auto": "Look for new versions",
|
"update_auto": "Look for new versions",
|
||||||
"update_auto_line": "At most once a day, when the app starts, it asks your instance which release goes with it (an older instance: the list of releases on GitHub) and tells you in a notification when there is a newer one. Nothing about you is sent anywhere else. On by default in a beta, off otherwise.",
|
"update_auto_line": "At most once a day, when the app starts, it asks your instance which release goes with it — or reads the list of releases on GitHub when the instance cannot say — and tells you in a notification when there is a newer one. Nothing about you is sent with either request. On by default in a beta, off otherwise.",
|
||||||
"update_betas": "Include betas",
|
"update_betas": "Include betas",
|
||||||
"update_betas_line": "Offer test versions as well as releases. On by default when this app is itself a beta.",
|
"update_betas_line": "Offer test versions as well as releases. On by default when this app is itself a beta.",
|
||||||
"channel_updates": "App updates",
|
"channel_updates": "App updates",
|
||||||
@@ -591,7 +606,7 @@ STRINGS: dict[str, str] = {
|
|||||||
"experimental": "Experimental",
|
"experimental": "Experimental",
|
||||||
"wake_experimental_line": "New, and tried on few phones so far. It may miss the phrase, start by mistake, or hear you and still not open the assistant.",
|
"wake_experimental_line": "New, and tried on few phones so far. It may miss the phrase, start by mistake, or hear you and still not open the assistant.",
|
||||||
"assistant_voice_experimental_line": "Experimental: listening by itself when the assistant opens, noticing when you have finished speaking, and the spoken conversation are new and do not work well on every phone yet. Typing a question and the microphone button always work.",
|
"assistant_voice_experimental_line": "Experimental: listening by itself when the assistant opens, noticing when you have finished speaking, and the spoken conversation are new and do not work well on every phone yet. Typing a question and the microphone button always work.",
|
||||||
"assist_wake_word_hint": "No wake word unless you want one: Settings › Assistant › Wake word turns on LLeMbas's own, on this phone.",
|
"assist_wake_word_hint": "No wake word unless you want one: Settings › Wake word turns on LLeMbas's own, on this phone.",
|
||||||
"channel_wake": "Wake word",
|
"channel_wake": "Wake word",
|
||||||
"wake_word": "Wake word",
|
"wake_word": "Wake word",
|
||||||
"wake_word_listen": "Listen for a wake word",
|
"wake_word_listen": "Listen for a wake word",
|
||||||
@@ -710,7 +725,7 @@ STRINGS: dict[str, str] = {
|
|||||||
"assistant_listens": "Start listening when the assistant opens",
|
"assistant_listens": "Start listening when the assistant opens",
|
||||||
"voice_input": "Voice input",
|
"voice_input": "Voice input",
|
||||||
"voice_input_lembas": "LLeMbas",
|
"voice_input_lembas": "LLeMbas",
|
||||||
"voice_input_lembas_line": "Your instance's speech-to-text, through the server. The recording goes to your instance and nowhere else.",
|
"voice_input_lembas_line": "Your instance's speech-to-text. This phone sends the recording to your instance only; the instance writes it down with the speech model set up there.",
|
||||||
"voice_input_phone": "Phone (Google or the system's)",
|
"voice_input_phone": "Phone (Google or the system's)",
|
||||||
"voice_input_phone_line": "The phone's own recogniser. The words appear as you speak; the recording goes wherever that recogniser sends it.",
|
"voice_input_phone_line": "The phone's own recogniser. The words appear as you speak; the recording goes wherever that recogniser sends it.",
|
||||||
"voice_input_phone_none": "This phone has no speech recogniser of its own.",
|
"voice_input_phone_none": "This phone has no speech recogniser of its own.",
|
||||||
|
|||||||
+409
-297
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user