Skip to content

Open source Grok Bot alternative, Bring your own agent and subscription: message Claude Code, Codex, Gemini CLI, Cursor, Copilot and 40+ AI agents as bots on your own computer, from iPhone, Mac, Windows, Linux or terminal. Agent-agnostic and free. Also a Muse and Dots alternative. Built in Rust.

fix(desktop): route untranslated strings through tr and translate host notices (#308)

Nikita Terekhin7581ba05cc62
diff --git a/apps/android/app/src/main/kotlin/com/codync/android/ChatRows.kt b/apps/android/app/src/main/kotlin/com/codync/android/ChatRows.kt
index 8a268cb7..24c4699b 100644
--- a/apps/android/app/src/main/kotlin/com/codync/android/ChatRows.kt
+++ b/apps/android/app/src/main/kotlin/com/codync/android/ChatRows.kt
@@ -344,12 +344,12 @@ internal val Entry.botReactions: Map<String, List<String>> get() =
.background(Palette.danger.copy(alpha = 0.12f)).padding(12.dp), horizontalArrangement = Arrangement.spacedBy(8.dp)) {
Symbol("exclamationmark.triangle.fill", size = 16.dp, tint = Palette.danger)
Column(verticalArrangement = Arrangement.spacedBy(10.dp)) {
- SelectionContainer { Text(text, style = Type.footnote, color = Palette.text) }
+ SelectionContainer { Text(tr(text), style = Type.footnote, color = Palette.text) }
if (addFallback != null && entry.data["addFallback"]?.jsonPrimitive?.booleanOrNull == true) SecondaryButton("Add a fallback", action = addFallback)
}
}
"agentSwitch" in entry.data -> AgentSwitchLine(text, (entry.data["agentSwitch"] as? JsonObject)?.text("carried"))
- else -> Text(text, Modifier.fillMaxWidth(), style = Type.footnote, color = Palette.secondary, textAlign = TextAlign.Center)
+ else -> Text(tr(text), Modifier.fillMaxWidth(), style = Type.footnote, color = Palette.secondary, textAlign = TextAlign.Center)
}
}
diff --git a/apps/android/design/src/main/kotlin/com/codync/android/design/L10n.kt b/apps/android/design/src/main/kotlin/com/codync/android/design/L10n.kt
index 9ad93cd8..3a7c8955 100644
--- a/apps/android/design/src/main/kotlin/com/codync/android/design/L10n.kt
+++ b/apps/android/design/src/main/kotlin/com/codync/android/design/L10n.kt
@@ -98,7 +98,7 @@ private fun parseTemplate(template: String): List<Piece>? {
return if (pieces.any { it.token != null }) pieces else null
}
-private val localizableSlots = setOf("{hint}", "{error}", "{setup}", "{kind}", "{when}", "{status}", "{reason}", "{shortcut}")
+private val localizableSlots = setOf("{hint}", "{error}", "{setup}", "{kind}", "{when}", "{status}", "{reason}", "{shortcut}", "{changes}")
private val placeholder = Regex("\\{[A-Za-z0-9]+\\}")
private fun fill(text: String, pieces: List<Piece>, phrase: String, phrases: Map<String, String>, depth: Int): String? {
diff --git a/apps/android/design/src/test/kotlin/com/codync/android/design/L10nTest.kt b/apps/android/design/src/test/kotlin/com/codync/android/design/L10nTest.kt
new file mode 100644
index 00000000..bd5e2b32
--- /dev/null
+++ b/apps/android/design/src/test/kotlin/com/codync/android/design/L10nTest.kt
@@ -0,0 +1,29 @@
+package com.codync.android.design
+
+import org.junit.Assert.assertEquals
+import org.junit.Test
+
+class L10nTest {
+ private val phrases = mapOf(
+ "connected" to "на связи",
+ "Settings" to "Настройки",
+ "Routine" to "Рутина",
+ "Created bot {bot}" to "Создан бот {bot}",
+ "Routine · {name}" to "Рутина · {name}",
+ "Message from {bot}: {message}" to "Сообщение от {bot}: {message}",
+ "Last run {status}" to "Последний запуск: {status}",
+ )
+
+ private fun ru(text: String) = translate(text, AppLanguage.Ru, false, phrases)
+
+ @Test fun `bot, routine and message slots keep what the user wrote`() {
+ assertEquals("Создан бот connected", ru("Created bot connected"))
+ assertEquals("Рутина · Проверка почты", ru("Routine · Проверка почты"))
+ assertEquals("Рутина · Settings", ru("Routine · Settings"))
+ assertEquals("Сообщение от Reviewer: Settings", ru("Message from Reviewer: Settings"))
+ }
+
+ @Test fun `app-owned slots still translate`() {
+ assertEquals("Последний запуск: на связи", ru("Last run connected"))
+ }
+}
diff --git a/apps/desktop/src/renderer/client/host-client.ts b/apps/desktop/src/renderer/client/host-client.ts
index 2ff1f388..7d7bed84 100644
--- a/apps/desktop/src/renderer/client/host-client.ts
+++ b/apps/desktop/src/renderer/client/host-client.ts
@@ -14,6 +14,7 @@ import {
import type { Artifact, ArtifactChunk, LibraryItem } from '@shared/artifacts'
import { parseCallCue, type CallCue } from '@shared/calls'
import type { NetworkView } from '@shared/network'
+import { trNow } from '../lib/l10n.ts'
/** How a client reaches a host API. Only loopback today: the computer's own host or an SSH tunnel. */
export type HostRoute = 'loopback' | 'direct' | 'relay'
@@ -27,7 +28,7 @@ export class HostError extends Error {
}
static unreachable() {
- return new HostError(0, "Can't reach your computer. Is it on and connected to the internet?")
+ return new HostError(0, trNow("Can't reach your computer. Is it on and connected to the internet?"))
}
/** The link failed, not the request: the same call can work once the computer is reachable again. */
@@ -53,7 +54,7 @@ export class LoopbackTransport implements HostTransport {
return await window.codync.host.call(this.baseURL, this.token, method, body, timeoutMs)
} catch (e) {
const error = e as CallError
- throw new HostError(error.status ?? 0, error.status === 401 ? "This device isn't allowed on that computer anymore." : error.message)
+ throw new HostError(error.status ?? 0, error.status === 401 ? trNow("This device isn't allowed on that computer anymore.") : error.message)
}
}
diff --git a/apps/desktop/src/renderer/components/Overlay.tsx b/apps/desktop/src/renderer/components/Overlay.tsx
index 04f446fa..042af223 100644
--- a/apps/desktop/src/renderer/components/Overlay.tsx
+++ b/apps/desktop/src/renderer/components/Overlay.tsx
@@ -249,6 +249,7 @@ export interface ReactionPick {
}
export function ReactionStrip({ pick, dismiss, size = 26 }: { pick: ReactionPick; dismiss?: () => void; size?: number }) {
+ const tr = useTr()
return (
<HStack align="stretch">
{pick.emoji.map((emoji) => {
@@ -258,8 +259,8 @@ export function ReactionStrip({ pick, dismiss, size = 26 }: { pick: ReactionPick
key={emoji}
className={`reaction-button ${chosen ? 'chosen' : ''}`}
style={{ width: size, height: size, borderRadius: size * 0.28 }}
- title={chosen ? `Remove ${emoji}` : `React ${emoji}`}
- aria-label={chosen ? `Remove reaction ${emoji}` : `React ${emoji}`}
+ title={chosen ? tr('Remove {emoji}').replaceAll('{emoji}', () => emoji) : tr('React {emoji}').replaceAll('{emoji}', () => emoji)}
+ aria-label={chosen ? tr('Remove reaction {emoji}').replaceAll('{emoji}', () => emoji) : tr('React {emoji}').replaceAll('{emoji}', () => emoji)}
onClick={() => {
dismiss?.()
pick.toggle(emoji)
diff --git a/apps/desktop/src/renderer/components/RecordingPill.tsx b/apps/desktop/src/renderer/components/RecordingPill.tsx
index abd10e72..f031ba57 100644
--- a/apps/desktop/src/renderer/components/RecordingPill.tsx
+++ b/apps/desktop/src/renderer/components/RecordingPill.tsx
@@ -44,11 +44,11 @@ export function RecordingPill({ startedAt, sample, onStop, transcribing = false,
}
return (
<HStack as="span" gap={6} className={`recording-pill ${className}`}>
- <button type="button" className="recording-stop" aria-label="Stop dictating" title="Stop dictating" onClick={onStop}>
+ <button type="button" className="recording-stop" aria-label={tr('Stop dictating')} title={tr('Stop dictating')} onClick={onStop}>
<Icon name="stop.fill" size={11} scaled={false} />
</button>
<Text tabular tone="text">{elapsed}</Text>
- <LevelDots sample={sample} color={color} width={32} height={12} label="Listening" />
+ <LevelDots sample={sample} color={color} width={32} height={12} label={tr('Listening')} />
</HStack>
)
}
diff --git a/apps/desktop/src/renderer/lib/access-onboarding.ts b/apps/desktop/src/renderer/lib/access-onboarding.ts
index 57ec236b..af957427 100644
--- a/apps/desktop/src/renderer/lib/access-onboarding.ts
+++ b/apps/desktop/src/renderer/lib/access-onboarding.ts
@@ -1,5 +1,6 @@
import type { ComputerAccessStep } from '../../shared/computer-access'
import type { ScreenState } from '../../shared/models'
+import { trNow } from './l10n.ts'
export type AccessPage = 'helper' | 'capture' | 'input' | 'portal' | 'control' | 'star'
@@ -17,7 +18,7 @@ export function accessPageReady(page: AccessPage, step: ComputerAccessStep, scre
/** Only list permissions that can actually be granted on this desktop. */
export function accessPages(platform: string): { id: AccessPage; label: string }[] {
- if (platform === 'win32') return [{ id: 'control', label: 'Computer control' }, { id: 'star', label: 'GitHub Star' }]
+ if (platform === 'win32') return [{ id: 'control', label: trNow('Computer control') }, { id: 'star', label: trNow('GitHub Star') }]
return [
{ id: 'helper', label: 'Codync Screen' },
...(platform === 'darwin'
diff --git a/apps/desktop/src/renderer/lib/host-update.ts b/apps/desktop/src/renderer/lib/host-update.ts
index efd141c7..ef32d620 100644
--- a/apps/desktop/src/renderer/lib/host-update.ts
+++ b/apps/desktop/src/renderer/lib/host-update.ts
@@ -1,4 +1,5 @@
import { isBelow, type VersionMismatch } from '../../shared/compat.ts'
+import { trNow } from './l10n.ts'
/** An update this app asked of a computer that's behind it (`installHostUpdate`). */
export type HostUpdate = { kind: 'requested'; at: number } | { kind: 'failed'; message: string }
@@ -22,7 +23,7 @@ export function offerHostUpdate(update: HostUpdate | null, canUpdate: boolean, n
/** The words every client uses for a version mismatch (iOS, the TUI and this app). */
export const updateNeededText = {
title(m: VersionMismatch, host: string) {
- return m.kind === 'updateApp' ? 'Update this app' : `Update Codync on ${host}`
+ return m.kind === 'updateApp' ? trNow('Update this app') : trNow('Update Codync on {host}').replaceAll('{host}', () => host)
},
detail(m: VersionMismatch, host: string, hostVersion: string | null | undefined, os: string | null | undefined, instructions = true) {
if (m.kind === 'updateApp') {
diff --git a/apps/desktop/src/renderer/lib/l10n-live.test.ts b/apps/desktop/src/renderer/lib/l10n-live.test.ts
new file mode 100644
index 00000000..543fbd88
--- /dev/null
+++ b/apps/desktop/src/renderer/lib/l10n-live.test.ts
@@ -0,0 +1,26 @@
+import assert from 'node:assert/strict'
+import { test } from 'node:test'
+import { trNow } from './l10n.ts'
+import type { RoutineRun } from '../views/routines/routine.ts'
+
+// trNow reads the language saved in Settings on every call; the stub below stands in for localStorage.
+let lang = 'ru'
+Object.defineProperty(globalThis, 'localStorage', {
+ value: { getItem: (key: string) => (key === 'appLanguage' ? JSON.stringify(lang) : null) },
+ configurable: true,
+ writable: true,
+})
+
+test('static labels stay English data and translate when shown, not when the module loads', async () => {
+ // Loaded only now, while the saved language is Russian: a label translated at import would stay Russian.
+ const { repeatChoices, runLabel } = await import('../views/routines/routine.ts')
+
+ const daily = repeatChoices.find((c) => c.id === 'daily')
+ assert.equal(daily?.label, 'Daily')
+ assert.equal(trNow(daily!.label), 'Каждый день')
+ assert.equal(runLabel({ id: 'r', routineId: 'x', botId: 'b', status: 'running', createdAt: 0, notBefore: null } as RoutineRun), 'Выполняется')
+
+ lang = 'en'
+ assert.equal(trNow(daily!.label), 'Daily')
+ assert.equal(runLabel({ id: 'r', routineId: 'x', botId: 'b', status: 'running', createdAt: 0, notBefore: null } as RoutineRun), 'Running')
+})
diff --git a/apps/desktop/src/renderer/lib/l10n.test.ts b/apps/desktop/src/renderer/lib/l10n.test.ts
index 4a25c020..8f1dbb2b 100644
--- a/apps/desktop/src/renderer/lib/l10n.test.ts
+++ b/apps/desktop/src/renderer/lib/l10n.test.ts
@@ -196,6 +196,18 @@ test('Russian resolves regional tags and keeps its native menu name', () => {
assert.equal(resolvedLanguage('ru', 'pt-BR'), 'ru')
})
+test('bot, routine and message slots keep what the user wrote; other slots still translate', () => {
+ // "connected", "Reviewer" and "Settings" are catalog phrases, but as a name or a message they stay as written.
+ assert.equal(translate('Created bot connected', 'ru', false), 'Создан бот connected')
+ assert.equal(translate('Created bot Reviewer', 'ru', false), 'Создан бот Reviewer')
+ assert.equal(translate('Routine · Проверка почты', 'ru', false), 'Рутина · Проверка почты')
+ assert.equal(translate('Created bot Price $&', 'ru', false), 'Создан бот Price $&')
+ assert.equal(translate('Routine · Settings', 'ru', false), 'Рутина · Settings')
+ assert.equal(translate('Message from Reviewer: Settings', 'ru', false), 'Сообщение от Reviewer: Settings')
+ assert.equal(translate('Last run connected', 'ru', false), `${translate('Last run {status}', 'ru', false).replace('{status}', '')}${translate('connected', 'ru', false)}`)
+ assert.equal(translate('constructor', 'ru', false), 'constructor')
+})
+
test('filled interface templates preserve user-owned names', () => {
for (const name of ['Plan', 'connected', 'Standby']) {
assert.equal(translate(`Routine · ${name}`, 'zh', 'en'), `例行任务 · ${name}`)
diff --git a/apps/desktop/src/renderer/lib/l10n.ts b/apps/desktop/src/renderer/lib/l10n.ts
index 43456866..3843c562 100644
--- a/apps/desktop/src/renderer/lib/l10n.ts
+++ b/apps/desktop/src/renderer/lib/l10n.ts
@@ -69,7 +69,7 @@ interface Piece { literal?: string; token?: string }
* A filled sentence ("Runs the official installer on this Mac.") matches the key,
* while only app-owned hints recurse; names and free text stay as written.
*/
-const templates: Array<{ key: string; pieces: Piece[]; literal: number }> = Object.keys(hans).flatMap((key) => {
+const templates: Array<{ key: string; pieces: Piece[]; literal: number }> = [...new Set(Object.values(catalogs).flatMap((catalog) => Object.keys(catalog)))].flatMap((key) => {
const pieces = parseTemplate(key)
if (!pieces) return []
const literal = pieces.reduce((n, piece) => n + (piece.literal?.length ?? 0), 0)
@@ -95,10 +95,11 @@ function parseTemplate(template: string): Piece[] | undefined {
}
function hit(key: string, primary: Record<string, string>, fallback: Record<string, string>): string | undefined {
- return primary[key] ?? fallback[key]
+ // Own keys only: a catalog is a plain object, so `constructor` must not find Object's.
+ return Object.hasOwn(primary, key) ? primary[key] : Object.hasOwn(fallback, key) ? fallback[key] : undefined
}
-const localizableSlots = new Set(['{hint}', '{error}', '{setup}', '{kind}', '{when}', '{status}', '{reason}', '{shortcut}'])
+const localizableSlots = new Set(['{hint}', '{error}', '{setup}', '{kind}', '{when}', '{status}', '{reason}', '{shortcut}', '{changes}'])
function fill(text: string, pieces: Piece[], phrase: string, primary: Record<string, string>, fallback: Record<string, string>, depth: number): string | undefined {
let pos = 0
@@ -153,6 +154,21 @@ export function translate(text: string, preference: AppLanguage, system: string
return trimmed === text ? text : (phrase(trimmed, primary, fallback) ?? text)
}
+/** The Settings choice without the window: the `appLanguage` pref is stored under this key. */
+function savedLanguage(): AppLanguage {
+ try {
+ const raw = localStorage.getItem('appLanguage')
+ return raw === null ? 'system' : JSON.parse(raw) as AppLanguage
+ } catch {
+ return 'system'
+ }
+}
+
+/** Translates for the language saved in Settings, outside a component (stores, engines, helpers). */
+export function trNow(text: string): string {
+ return translate(text, savedLanguage(), typeof navigator === 'undefined' ? 'en' : navigator.language)
+}
+
/** "resets 3h 20m" / "resets in 2d 6h". Compact times become "3小时20分后重置". */
export function resetLine(raw: string, preference: AppLanguage, system: string | boolean = 'en'): string {
const time = raw.startsWith('resets in ') ? raw.slice('resets in '.length) : raw.startsWith('resets ') ? raw.slice('resets '.length) : null
diff --git a/apps/desktop/src/renderer/store/artifacts.ts b/apps/desktop/src/renderer/store/artifacts.ts
index 99ce03bc..76917c1c 100644
--- a/apps/desktop/src/renderer/store/artifacts.ts
+++ b/apps/desktop/src/renderer/store/artifacts.ts
@@ -1,6 +1,7 @@
import { readArtifactHTML, type Artifact, type LibraryItem } from '@shared/artifacts'
import { FILE_CHUNK_SIZE } from '../../shared/files.ts'
import type { HostClient } from '../client/host-client'
+import { trNow } from '../lib/l10n.ts'
/** An artifact's HTML as last read; `updatedAt` and `sha256` name the version it is. */
export interface ArtifactHTML { updatedAt: number; sha256: string; bytes: Uint8Array }
@@ -26,7 +27,7 @@ export class Artifacts {
/** The chat's Library (`library`); its artifacts join the ones known here. */
async library(client: HostClient | null, botId: string): Promise<LibraryItem[]> {
- if (!client) throw new Error('Connect to this computer to see its library')
+ if (!client) throw new Error(trNow('Connect to this computer to see its library'))
const { items } = await client.library(botId)
for (const item of items) if (item.kind === 'artifact') this.upsert(item.artifact)
return items
@@ -43,7 +44,7 @@ export class Artifacts {
}
async rename(client: HostClient | null, botId: string, id: string, title: string) {
- if (!client) throw new Error('Connect to this computer to rename the artifact')
+ if (!client) throw new Error(trNow('Connect to this computer to rename the artifact'))
this.upsert((await client.renameArtifact(botId, id, title)).artifact)
}
@@ -73,7 +74,7 @@ export class Artifacts {
private async newest(client: HostClient | null, artifact: Artifact): Promise<ArtifactHTML> {
const cached = this.html.get(artifact.id)
if (cached && this.current(artifact.id)) return cached
- if (!client) throw new Error('Connect to this computer to open the artifact')
+ if (!client) throw new Error(trNow('Connect to this computer to open the artifact'))
return this.fetch(client, artifact.botId, artifact.id)
}
diff --git a/apps/desktop/src/renderer/store/bot-mirror.ts b/apps/desktop/src/renderer/store/bot-mirror.ts
index 183a0096..d03ac0f4 100644
--- a/apps/desktop/src/renderer/store/bot-mirror.ts
+++ b/apps/desktop/src/renderer/store/bot-mirror.ts
@@ -20,6 +20,7 @@ import { hostHasSections } from '../lib/roster-sections'
import { ComposerDrafts } from '@shared/composer-drafts'
import { canLoadHistory } from '@shared/mirror-window'
import { loadIconCache, saveIconCache } from '../lib/icon-cache'
+import { trNow } from '../lib/l10n.ts'
/** The first host where the user picks the lead and may delete it. */
const LEAD_CHOICE_HOST = '2.33.0'
@@ -116,7 +117,7 @@ export class BotMirror extends Observable {
super()
this.computer = computer
this.composerDrafts = new ComposerDrafts(localStorage, `codync-drafts-v1-${JSON.stringify([contextId, computer.id])}`,
- () => this.setError("Couldn't save the draft on this device. Your text is still here; keep this window open until you send or copy it."))
+ () => this.setError(trNow("Couldn't save the draft on this device. Your text is still here; keep this window open until you send or copy it.")))
this.loadCache()
}
@@ -221,7 +222,7 @@ export class BotMirror extends Observable {
/** A bot's name; `fallback` for one that isn't this computer's (a bot on another computer). */
authorName(id: string | null | undefined, fallback?: string) {
- return (id && this.bots.get(id)?.name) || fallback || 'A deleted bot'
+ return (id && this.bots.get(id)?.name) || fallback || trNow('A deleted bot')
}
get connectionLabel() {
@@ -346,6 +347,6 @@ export function builtInBackendName(id: string) {
case 'gemini':
return 'Gemini CLI'
default:
- return 'Custom agent'
+ return trNow('Custom agent')
}
}
diff --git a/apps/desktop/src/renderer/store/bot-sync.ts b/apps/desktop/src/renderer/store/bot-sync.ts
index 2dda00a5..3b0b9632 100644
--- a/apps/desktop/src/renderer/store/bot-sync.ts
+++ b/apps/desktop/src/renderer/store/bot-sync.ts
@@ -5,6 +5,7 @@ import { undoOnFailure } from '../lib/undo-on-failure'
import { BotMirror, type Connection } from './bot-mirror'
import { Artifacts } from './artifacts'
import type { CallCue } from '@shared/calls'
+import { trNow } from '../lib/l10n.ts'
const REFRESH_TIMEOUT = 20_000
const DROP_GRACE = 5000
@@ -80,7 +81,7 @@ export class BotSync extends BotMirror {
if (this.retired) return Promise.resolve()
this.restartStream()
return new Promise((resolve, reject) => {
- const timer = setTimeout(() => this.finishRefresh?.(new Error('Connection timed out')), REFRESH_TIMEOUT)
+ const timer = setTimeout(() => this.finishRefresh?.(new Error(trNow('Connection timed out'))), REFRESH_TIMEOUT)
this.finishRefresh = (error) => {
clearTimeout(timer)
this.finishRefresh = null
@@ -370,7 +371,7 @@ export class BotSync extends BotMirror {
case 'unpaired':
throw HostError.unreachable()
case 'computerOffline':
- throw new HostError(0, 'Your computer is offline.')
+ throw new HostError(0, trNow('Your computer is offline.'))
case 'unauthorized':
throw new HostError(401, this.connection.message)
}
diff --git a/apps/desktop/src/renderer/store/cloud.ts b/apps/desktop/src/renderer/store/cloud.ts
index e314a82c..2266c642 100644
--- a/apps/desktop/src/renderer/store/cloud.ts
+++ b/apps/desktop/src/renderer/store/cloud.ts
@@ -7,6 +7,7 @@ import { pref, type Pref } from '../lib/prefs'
import { account } from './account'
import type { AppModel } from './app-model'
import type { BotStore } from './bot-store'
+import { trNow } from '../lib/l10n.ts'
// Wire types of the Codync cloud (`/v1`, cloud/src/api.ts); times are epoch milliseconds.
@@ -33,9 +34,9 @@ export class CloudError extends Error {
message: string | null,
) {
super(
- code === 'requestExpired' ? 'The request expired. Ask again.'
- : code === 'accountDeleted' ? 'This account was deleted.'
- : code === 'rateLimited' ? 'Too many requests. Try again in a little while.'
+ code === 'requestExpired' ? trNow('The request expired. Ask again.')
+ : code === 'accountDeleted' ? trNow('This account was deleted.')
+ : code === 'rateLimited' ? trNow('Too many requests. Try again in a little while.')
: (message ?? `Codync cloud error (${code})`),
)
}
@@ -285,7 +286,7 @@ export class CloudModel extends Observable {
async claim(store: BotStore, quiet = false): Promise<boolean> {
const user = this.userId
if (!user || !store.client) {
- if (!quiet) this.app.setError('Sign in first.')
+ if (!quiet) this.app.setError(trNow('Sign in first.'))
return false
}
const out = keptOut(user)
diff --git a/apps/desktop/src/renderer/store/file-downloads.ts b/apps/desktop/src/renderer/store/file-downloads.ts
index b79af302..4aea91f0 100644
--- a/apps/desktop/src/renderer/store/file-downloads.ts
+++ b/apps/desktop/src/renderer/store/file-downloads.ts
@@ -1,6 +1,7 @@
import type { SharedFile } from '@shared/models'
import { decodeFileChunk, validateSharedFile } from '../../shared/files.ts'
import type { HostClient } from '../client/host-client'
+import { trNow } from '../lib/l10n.ts'
export type DownloadState = { kind: 'downloading'; received: number } | { kind: 'saved' } | { kind: 'failed'; message: string }
interface Job { cancelled: boolean; handle: string | null }
@@ -34,7 +35,7 @@ export class FileDownloads {
this.changed()
try {
validateSharedFile(file)
- if (!client) throw new Error('Connect to this computer to download the file')
+ if (!client) throw new Error(trNow('Connect to this computer to download the file'))
job.handle = await window.codync.files.begin(file)
if (!job.handle || !alive()) return
let offset = 0
diff --git a/apps/desktop/src/renderer/store/icon-editor.ts b/apps/desktop/src/renderer/store/icon-editor.ts
index bf066b62..0fe72b3c 100644
--- a/apps/desktop/src/renderer/store/icon-editor.ts
+++ b/apps/desktop/src/renderer/store/icon-editor.ts
@@ -2,6 +2,7 @@ import { account } from './account'
import type { CustomIcons } from '@shared/custom-icons'
import { Observable } from '../lib/observable'
import type { BotStore } from './bot-store'
+import { trNow } from '../lib/l10n.ts'
export class IconEditor extends Observable {
busy = false
@@ -18,7 +19,7 @@ export class IconEditor extends Observable {
if ((change.file || change.url) && !account.isSignedIn) throw new Error('Sign in to use custom images.')
const epoch = this.store.iconsEpoch
const client = this.store.client
- if (!client || this.store.connection.kind !== 'online') throw new Error('Connect to your computer to change its icons.')
+ if (!client || this.store.connection.kind !== 'online') throw new Error(trNow('Connect to your computer to change its icons.'))
const { file, ...body } = change
const data = file ? await readImage(file) : undefined
const result = await client.call<{ icons: CustomIcons; iconsRevision: number }>('setIcon', { target: this.target, ...body, data }, 60_000)
diff --git a/apps/desktop/src/renderer/store/memory-store.ts b/apps/desktop/src/renderer/store/memory-store.ts
index c34092e7..a05ba9b0 100644
--- a/apps/desktop/src/renderer/store/memory-store.ts
+++ b/apps/desktop/src/renderer/store/memory-store.ts
@@ -1,5 +1,6 @@
import type { HostClient } from '../client/host-client'
import { Observable } from '../lib/observable'
+import { trNow } from '../lib/l10n.ts'
/** One memory entry (the host's `codync_mem::store::Entry`). */
export interface MemoryEntry {
@@ -110,10 +111,10 @@ export class MemoryStore extends Observable {
/** Who wrote an entry, for its detail line. */
export function authorLabel(entry: MemoryEntry, botName: (id: string | null) => string) {
switch (entry.author) {
- case 'user': return 'You wrote it'
+ case 'user': return trNow('You wrote it')
case 'bot': return `${botName(entry.authorBot)} remembered it`
case 'dream': return 'Dreaming'
- default: return 'Moved from the old memory'
+ default: return trNow('Moved from the old memory')
}
}
diff --git a/apps/desktop/src/renderer/views/ChatWindow.tsx b/apps/desktop/src/renderer/views/ChatWindow.tsx
index 35fb6e55..152edb92 100644
--- a/apps/desktop/src/renderer/views/ChatWindow.tsx
+++ b/apps/desktop/src/renderer/views/ChatWindow.tsx
@@ -424,7 +424,7 @@ function ChatSplitView() {
<SidebarFooter accountOpen={showAccount} onAccount={() => setShowAccount((s) => !s)} onExtensions={roster.grouped ? undefined : openMarketplace} onComputers={() => setSettings('computers')} />
)}
</aside>
- <ResizeHandle label="Resize sidebar" width={width} min={76} max={sidebarMax} edge="trailing" onResize={resizeSidebar} onDragging={setResizing} />
+ <ResizeHandle label={tr('Resize sidebar')} width={width} min={76} max={sidebarMax} edge="trailing" onResize={resizeSidebar} onDragging={setResizing} />
<main className="detail">
{/* The call bar's settings open this window's Settings at Voice chat. */}
<OpenVoiceSettings.Provider value={openVoiceSettings}>{detail}</OpenVoiceSettings.Provider>
@@ -485,7 +485,7 @@ function ChatSplitView() {
</Sheet>
<Dialog
open={confirmDelete !== null}
- title={`Delete ${confirmDelete?.bot.name ?? 'bot'}?`}
+ title={tr('Delete {name}?').replaceAll('{name}', () => confirmDelete?.bot.name ?? 'bot')}
message={tr('Files it changed on your computer stay as they are.')}
actions={confirmDelete ? [{ title: 'Delete bot and its conversation', destructive: true, action: () => confirmDelete.store.delete(confirmDelete.bot) }] : []}
onClose={() => setConfirmDelete(null)}
diff --git a/apps/desktop/src/renderer/views/ComputerFilterHeader.tsx b/apps/desktop/src/renderer/views/ComputerFilterHeader.tsx
index bd56dd5f..1c637278 100644
--- a/apps/desktop/src/renderer/views/ComputerFilterHeader.tsx
+++ b/apps/desktop/src/renderer/views/ComputerFilterHeader.tsx
@@ -7,6 +7,7 @@ import { Text } from '../components/Text'
import { useApp } from '../store/context'
import { useSSH } from './settings/ssh-model'
import type { Connection } from '../store/bot-store'
+import { useTr } from '../lib/use-language'
/** An empty exclusion list means all computers, including newly paired ones. */
export function computerSelection(all: string[], hidden: string) {
@@ -40,6 +41,7 @@ function summary(connections: Connection[]) {
/** The roster's connection summary, with details and filters on demand. */
export function ComputerFilterHeader({ hidden, setHidden, manage, compact = false }: { hidden: string; setHidden: (v: string) => void; manage: () => void; compact?: boolean }) {
+ const tr = useTr()
const app = useApp()
const ssh = useSSH()
const pending = ssh.state.profiles.filter((p) => !ssh.state.attachments.some((a) => a.profileId === p.id))
@@ -62,14 +64,14 @@ export function ComputerFilterHeader({ hidden, setHidden, manage, compact = fals
list.push({ title: p.name || p.host, verbatim: true, detail, icon: 'network', action: manage })
}
if (stores.length) list.push({ title: 'Reconnect', icon: 'arrow.clockwise', divider: true, action: () => stores.forEach((s) => s.restartStream()) })
- if (app.host.state.kind === 'notInstalled') list.push({ title: `Install host on this ${window.codync.platform === 'darwin' ? 'Mac' : 'computer'}`, icon: 'desktopcomputer', action: () => window.codync.host.install() })
+ if (app.host.state.kind === 'notInstalled') list.push({ title: tr('Install host on this {device}').replaceAll('{device}', () => window.codync.platform === 'darwin' ? tr('Mac') : tr('computer')), icon: 'desktopcomputer', action: () => window.codync.host.install() })
if (app.host.state.kind === 'failed') list.push({ title: 'Try again on this computer', icon: 'arrow.clockwise', action: () => window.codync.host.restart() })
list.push({ title: 'Manage computers', icon: 'desktopcomputer', action: manage })
return list
}
return (
<DropdownMenu items={items} title={text} className={`computer-filter ${compact ? 'computer-filter-action' : ''}`}>
- {compact ? <Icon name="desktopcomputer" size={12} weight="medium" /> : <Text truncate aria-label={`Computers, ${text}. Filter conversations`}>{text}</Text>}
+ {compact ? <Icon name="desktopcomputer" size={12} weight="medium" /> : <Text truncate aria-label={tr('Computers, {filter}. Filter conversations').replaceAll('{filter}', () => text)}>{text}</Text>}
<Icon name="chevron.down" size={8} weight="semibold" />
</DropdownMenu>
)
diff --git a/apps/desktop/src/renderer/views/ComputerRosterSection.tsx b/apps/desktop/src/renderer/views/ComputerRosterSection.tsx
index 896e15ef..29a8599a 100644
--- a/apps/desktop/src/renderer/views/ComputerRosterSection.tsx
+++ b/apps/desktop/src/renderer/views/ComputerRosterSection.tsx
@@ -25,6 +25,7 @@ interface Props {
}
export function ComputerRosterSection({ store, compact, collapsed, previous, next, lifted, drag, toggle, move, openExtensions, children }: Props) {
+ const tr = useTr()
const section = useRef<HTMLElement>(null)
const id = store.computer.id
useSlide(section)
@@ -32,7 +33,7 @@ export function ComputerRosterSection({ store, compact, collapsed, previous, nex
<section ref={section} className={`computer-roster-section ${lifted ? 'lifted' : ''}`} aria-label={store.hostName} data-computer-section={id}>
<div className="computer-roster-heading">
<button className="computer-roster-toggle" aria-expanded={!collapsed} data-computer-heading={id}
- aria-label={`${store.hostName}, ${store.connectionLabel}`} title={`${store.hostName} · ${store.connectionLabel}. Drag to reorder.`}
+ aria-label={`${store.hostName}, ${store.connectionLabel}`} title={tr('{name} · {other}. Drag to reorder.').replaceAll('{name}', () => store.hostName).replaceAll('{other}', () => store.connectionLabel)}
onClick={toggle}
{...drag}
onKeyDown={(event) => {
diff --git a/apps/desktop/src/renderer/views/HostStateView.tsx b/apps/desktop/src/renderer/views/HostStateView.tsx
index b8b971d8..c83a7ea2 100644
--- a/apps/desktop/src/renderer/views/HostStateView.tsx
+++ b/apps/desktop/src/renderer/views/HostStateView.tsx
@@ -11,13 +11,14 @@ const isMac = window.codync.platform === 'darwin'
/** What stands between this computer and the chat, with the one action that fixes it. */
export function HostStateView({ compact = false }: { compact?: boolean }) {
+ const tr = useTr()
const app = useApp()
const state = app.host.state
switch (state.kind) {
case 'notInstalled':
- return <EmptyState compact={compact} icon={<HostBot compact={compact} mood="idle" />} title={`Set up this ${isMac ? 'Mac' : 'computer'}`} message={`Codync runs your coding agents through the host, a small background service on this ${isMac ? 'Mac' : 'computer'}.`} action={['Install host', () => window.codync.host.install()]} />
+ return <EmptyState compact={compact} icon={<HostBot compact={compact} mood="idle" />} title={tr('Set up this {device}').replaceAll('{device}', () => isMac ? tr('Mac') : tr('computer'))} message={tr('Codync runs your coding agents through the host, a small background service on this {device}.').replaceAll('{device}', () => isMac ? tr('Mac') : tr('computer'))} action={['Install host', () => window.codync.host.install()]} />
case 'missingBinary':
- return <EmptyState compact={compact} icon={<HostBot compact={compact} mood="failed" />} title="The host is missing" message={window.codync.appScheme === 'codync-dev' ? 'Rebuild Codync Dev with its development host, then open it again.' : "This copy of Codync doesn't include codync-host. Download Codync again from codync.dev or GitHub."} />
+ return <EmptyState compact={compact} icon={<HostBot compact={compact} mood="failed" />} title={tr('The host is missing')} message={window.codync.appScheme === 'codync-dev' ? tr('Rebuild Codync Dev with its development host, then open it again.') : tr("This copy of Codync doesn't include codync-host. Download Codync again from codync.dev or GitHub.")} />
case 'failed':
return <FailedHost compact={compact} message={state.message} />
default:
diff --git a/apps/desktop/src/renderer/views/PairingCode.tsx b/apps/desktop/src/renderer/views/PairingCode.tsx
index 251ee3e3..ef72dced 100644
--- a/apps/desktop/src/renderer/views/PairingCode.tsx
+++ b/apps/desktop/src/renderer/views/PairingCode.tsx
@@ -50,7 +50,7 @@ export function PairingCode({ name, cloud, requestCode, renew = 0 }: { name: str
{code ? (
<>
<div className="pairing-qr fade-in">
- <img src={code.qr} alt={`Pairing code for ${name}`} width={200} height={200} />
+ <img src={code.qr} alt={tr('Pairing code for {name}').replaceAll('{name}', () => name)} width={200} height={200} />
</div>
<Text as="div" size="caption" tone="secondary" className="pairing-note">
{tr(`Scan with the Codync app or the iPhone Camera. No Tailscale or open ports needed: your iPhone connects directly on the same Wi-Fi, and through the encrypted relay anywhere else.`)}
@@ -64,13 +64,13 @@ export function PairingCode({ name, cloud, requestCode, renew = 0 }: { name: str
<Text as="div" size="caption" tone="attention" className="pairing-note">
{code.info.urls.length === 0
? tr(`No network address found and “Reach from anywhere” is off. Connect to Wi-Fi or turn it on.`)
- : `“Reach from anywhere” is off, so the iPhone only reaches ${name} on the same network.`}
+ : tr('“Reach from anywhere” is off, so the iPhone only reaches {name} on the same network.').replaceAll('{name}', () => name)}
</Text>
) : null}
<HStack gap={4}>
{expiresAt ? (
<Text size="caption2" tone="tertiary">
- Works once, until {new Date(expiresAt).toLocaleTimeString(undefined, { hour: 'numeric', minute: '2-digit' })}
+ {tr('Works once, until {time}').replaceAll('{time}', () => new Date(expiresAt).toLocaleTimeString(undefined, { hour: 'numeric', minute: '2-digit' }))}
</Text>
) : null}
<IconButton title="New code" icon="arrow.clockwise" onClick={() => void load()} />
diff --git a/apps/desktop/src/renderer/views/PairingWindow.tsx b/apps/desktop/src/renderer/views/PairingWindow.tsx
index f3a80b6c..19980704 100644
--- a/apps/desktop/src/renderer/views/PairingWindow.tsx
+++ b/apps/desktop/src/renderer/views/PairingWindow.tsx
@@ -3,6 +3,7 @@ import type { CloudStatus, PairingInfo } from '@shared/models'
import { LoopbackTransport } from '../client/host-client'
import { useApp } from '../store/context'
import { PairingCode } from './PairingCode'
+import { trNow } from '../lib/l10n.ts'
/** The pairing window: this computer's code, without a mirror of its bots. */
export function PairingWindow() {
@@ -18,7 +19,7 @@ export function PairingWindow() {
}), [])
const requestCode = useCallback(async () => {
- if (!baseURL || !token) throw new Error("This computer's host isn't connected.")
+ if (!baseURL || !token) throw new Error(trNow("This computer's host isn't connected."))
const transport = new LoopbackTransport(baseURL, token)
const [pairing, status, hello] = await Promise.all([
transport.call('pairing', {}, 20_000) as Promise<PairingInfo>,
diff --git a/apps/desktop/src/renderer/views/StarPrompt.tsx b/apps/desktop/src/renderer/views/StarPrompt.tsx
index b30a2040..b248ec84 100644
--- a/apps/desktop/src/renderer/views/StarPrompt.tsx
+++ b/apps/desktop/src/renderer/views/StarPrompt.tsx
@@ -10,6 +10,7 @@ import { prefs, usePref } from '../lib/prefs'
import { dueStarAsk } from '../lib/star-ask'
import { useStarAsk } from '../lib/use-star-ask'
import { useApp } from '../store/context'
+import { useTr } from '../lib/use-language'
import './star-prompt.css'
const copy = {
@@ -29,6 +30,7 @@ const copy = {
* Starring ends it.
*/
export function StarPrompt() {
+ const tr = useTr()
const app = useApp()
const local = useModel(app.local)
const [onboarded] = usePref(prefs.onboardingDone)
@@ -49,11 +51,11 @@ export function StarPrompt() {
<VStack className="star-prompt">
<ModalHeader
icon={<Icon name="star.fill" size={22} className="star-prompt-symbol" />}
- title={text.title}
+ title={tr(text.title)}
onClose={null}
/>
<VStack gap={16} className="star-prompt-body">
- <Text as="div" size="body" tone="secondary" className="star-prompt-message">{text.message}</Text>
+ <Text as="div" size="body" tone="secondary" className="star-prompt-message">{tr(text.message)}</Text>
<HStack gap={10}>
<img src={appIcon} alt="" className="star-prompt-app-icon" draggable={false} />
<Text size="callout" tone="secondary">github.com/leepokai/Codync</Text>
diff --git a/apps/desktop/src/renderer/views/bots/AgentModelPicker.tsx b/apps/desktop/src/renderer/views/bots/AgentModelPicker.tsx
index 1228b3b3..a96bd2b3 100644
--- a/apps/desktop/src/renderer/views/bots/AgentModelPicker.tsx
+++ b/apps/desktop/src/renderer/views/bots/AgentModelPicker.tsx
@@ -37,7 +37,7 @@ export function AgentModelPicker({ backend, models, selection, onChange, options
const value = selection === agentDefault?.id ? '' : (selection ?? '')
const selected = catalog?.models.find((m) => m.id === (value || agentDefault?.id || catalog.currentModelId))
const modelOptions = value || catalog?.defaultModelOptions ? selected?.options ?? [] : []
- const options: Choice[] = [{ id: '', label: agentDefault?.name ?? (current ? `Default · ${current.name}` : 'Default') }, ...available.map((m) => ({ id: m.id, label: m.name }))]
+ const options: Choice[] = [{ id: '', label: agentDefault?.name ?? (current ? tr('Default · {name}').replaceAll('{name}', () => current.name) : tr('Default')) }, ...available.map((m) => ({ id: m.id, label: m.name }))]
if (value && !available.some((m) => m.id === value)) options.push({ id: value, label: value })
const agent = agents.find((a) => a.id === backend)
const modelName = value ? options.find((o) => o.id === value)?.label ?? value : tr('Default')
@@ -79,7 +79,7 @@ export function AgentModelPicker({ backend, models, selection, onChange, options
<HStack gap={6} className="agent-picker-search">
{stage === 'models' && onAgentChange ? <IconButton title="Back" icon="chevron.left" onClick={() => open('agents')} /> : <Icon name="magnifyingglass" size={14} />}
<input aria-label={tr(stage === 'agents' ? 'Search agents' : 'Search models')} placeholder={tr(stage === 'agents' ? 'Search agents' : 'Search models')} value={query} onChange={(e) => setQuery(e.target.value)} />
- {loading ? <Spinner size={12} /> : <IconButton title={failure ? 'Retry model list' : 'Refresh model list'} icon="arrow.clockwise" onClick={models.reload} />}
+ {loading ? <Spinner size={12} /> : <IconButton title={tr(failure ? 'Retry model list' : 'Refresh model list')} icon="arrow.clockwise" onClick={models.reload} />}
</HStack>
<div className="agent-picker-list">
{choices.map((o) => <button key={o.id} className="agent-picker-item" aria-pressed={o.id === (stage === 'agents' ? backend : value)} onClick={() => pick(o.id)}>
diff --git a/apps/desktop/src/renderer/views/bots/BotEditorView.tsx b/apps/desktop/src/renderer/views/bots/BotEditorView.tsx
index 76fd86be..fc5133bb 100644
--- a/apps/desktop/src/renderer/views/bots/BotEditorView.tsx
+++ b/apps/desktop/src/renderer/views/bots/BotEditorView.tsx
@@ -224,7 +224,7 @@ function BotSettingsForm({ draft, onChange, error, plugins, part = 'all' }: {
}
>
<DropdownMenu
- title={draft.cwd || 'A persistent workspace allocated for this bot'}
+ title={draft.cwd || tr('A persistent workspace allocated for this bot')}
items={() => [
{ title: 'Personal workspace', selected: !draft.cwd, action: () => set('cwd', '') },
{ title: 'Choose project folder…', selected: !!draft.cwd, action: () => setPickingFolder(true) },
@@ -329,7 +329,7 @@ function PluginToggles({ title, empty, items, selection, onChange, onInfo }: {
return onInfo ? (
<HStack key={item.id} gap={4}>
<div className="plugin-toggle">{row}</div>
- <IconButton title={`About ${item.name}`} icon="info.circle" onClick={() => onInfo(item)} />
+ <IconButton title={tr('About {name}').replaceAll('{name}', () => item.name)} icon="info.circle" onClick={() => onInfo(item)} />
</HStack>
) : row
})}
diff --git a/apps/desktop/src/renderer/views/bots/Fallbacks.tsx b/apps/desktop/src/renderer/views/bots/Fallbacks.tsx
index c05c8fa5..c9cc5bec 100644
--- a/apps/desktop/src/renderer/views/bots/Fallbacks.tsx
+++ b/apps/desktop/src/renderer/views/bots/Fallbacks.tsx
@@ -114,7 +114,7 @@ function FallbackRow({ fallback, index, count, bot, now, move, remove }: {
{bot.agentStep?.agent === fallback.backend ? <Text size="caption" weight="medium" tone="text" className="fallback-chip fade-in">{tr(`In use`)}</Text> : null}
<DropdownMenu
className="icon-button fallback-menu"
- title="More"
+ title={tr('More')}
items={() => [
...(index > 0 ? [{ title: 'Move up', icon: 'arrow.up', action: () => move(-1) }] : []),
...(index < count - 1 ? [{ title: 'Move down', icon: 'arrow.down', action: () => move(1) }] : []),
diff --git a/apps/desktop/src/renderer/views/bots/GroupEditorView.tsx b/apps/desktop/src/renderer/views/bots/GroupEditorView.tsx
index 5d8a97fd..5114dff3 100644
--- a/apps/desktop/src/renderer/views/bots/GroupEditorView.tsx
+++ b/apps/desktop/src/renderer/views/bots/GroupEditorView.tsx
@@ -70,7 +70,7 @@ export function GroupEditorView({ group }: { group: Bot }) {
<div key={bot.id} className="member-row fade-in">
<BotAvatar bot={bot} size={32} animated={false} />
<span className="member-name">{bot.name}</span>
- <IconButton title={`Remove ${bot.name}`} icon="xmark" onClick={() => toggle(bot.id)} />
+ <IconButton title={tr('Remove {name}').replaceAll('{name}', () => bot.name)} icon="xmark" onClick={() => toggle(bot.id)} />
</div>
))}
{adding ? (
@@ -87,7 +87,7 @@ export function GroupEditorView({ group }: { group: Bot }) {
}}
/>
{candidates.map((bot) => (
- <button key={bot.id} className="member-row press fade-in" aria-label={`Add ${bot.name}`} onClick={() => toggle(bot.id)}>
+ <button key={bot.id} className="member-row press fade-in" aria-label={tr('Add {name}').replaceAll('{name}', () => bot.name)} onClick={() => toggle(bot.id)}>
<BotAvatar bot={bot} size={32} animated={false} />
<Text tone="secondary" className="member-name">{bot.name}</Text>
<Icon name="plus.circle" size={18} color="var(--secondary)" />
diff --git a/apps/desktop/src/renderer/views/bots/MemoryFiles.tsx b/apps/desktop/src/renderer/views/bots/MemoryFiles.tsx
index a339d4d4..4e6ecd04 100644
--- a/apps/desktop/src/renderer/views/bots/MemoryFiles.tsx
+++ b/apps/desktop/src/renderer/views/bots/MemoryFiles.tsx
@@ -4,6 +4,7 @@ import { Icon } from '../../components/Icon'
import { ModalHeader } from '../../components/Overlay'
import type { MemoryFile, MemoryFileDetail, MemoryFiles, MemoryStore } from '../../store/memory-store'
import { relativeTime } from '../thread/chat-items'
+import { useTr } from '../../lib/use-language'
/** The note a sheet opens. */
export interface FileTarget { name: string; shared: boolean }
@@ -14,7 +15,7 @@ export function fileRows(files: MemoryFiles, shared: boolean, open: (target: Fil
return [
<p key="notes" className="memory-notes-header">{tr('Notes')}</p>,
...(live.length === 0 ? [<p key="notes-empty" className="memory-muted">{tr('Longer notes, one topic each. The bot reads one when its topic comes up.')}</p>] : []),
- ...(live.length > files.folderCap ? [<p key="notes-cap" className="memory-attention">{live.length} notes, over the {files.folderCap}-note cap. Ask the bot to merge some.</p>] : []),
+ ...(live.length > files.folderCap ? [<p key="notes-cap" className="memory-attention">{tr('{count} notes, over the {cap}-note cap. Ask the bot to merge some.').replaceAll('{count}', () => String(live.length)).replaceAll('{cap}', () => String(files.folderCap))}</p>] : []),
...live.map((file) => <FileRow key={file.name} file={file} cap={files.cap} tr={tr} open={() => open({ name: file.name, shared })} />),
]
}
@@ -25,13 +26,14 @@ function FileRow({ file, cap, tr, open }: { file: MemoryFile; cap: number; tr: (
<strong><Icon name="doc.text" size={11} />{file.name}</strong>
{file.description ? <span className="memory-muted">{file.description}</span> : null}
<small className={over ? 'memory-attention' : undefined}>
- {file.tokens} tokens{over ? `, over the ${cap} cap` : ''} · {relativeTime.day(file.updatedAt, tr)}
+ {tr('{tokens} tokens').replaceAll('{tokens}', () => String(file.tokens))}{over ? tr(', over the {cap} cap').replaceAll('{cap}', () => String(cap)) : ''} · {relativeTime.day(file.updatedAt, tr)}
</small>
</button>
}
/** One note, to read. */
export function MemoryFileSheet({ memory, target }: { memory: MemoryStore; target: FileTarget }) {
+ const tr = useTr()
const [detail, setDetail] = useState<MemoryFileDetail | null>(null)
useEffect(() => { void memory.file(target.name, target.shared).then(setDetail) }, [memory, target])
@@ -40,7 +42,7 @@ export function MemoryFileSheet({ memory, target }: { memory: MemoryStore; targe
<CardForm>
{memory.error ? <CardSection><p role="alert" className="memory-error">{memory.error}</p></CardSection> : null}
{detail
- ? <CardSection footer={detail.path}><pre className="memory-file-text">{detail.content ?? 'Deleted.'}</pre></CardSection>
+ ? <CardSection footer={detail.path}><pre className="memory-file-text">{detail.content ?? tr('Deleted.')}</pre></CardSection>
: <CardSection><p className="memory-muted">Loading…</p></CardSection>}
</CardForm>
</div>
diff --git a/apps/desktop/src/renderer/views/bots/MemoryView.tsx b/apps/desktop/src/renderer/views/bots/MemoryView.tsx
index 3112fce8..5c5b1d58 100644
--- a/apps/desktop/src/renderer/views/bots/MemoryView.tsx
+++ b/apps/desktop/src/renderer/views/bots/MemoryView.tsx
@@ -51,7 +51,7 @@ export function MemoryCard({ botId }: { botId: string }) {
if (next === 'harness') void memory.load()
}} />
<CardSection>
- {memory.error && <p role="alert" className="memory-error">{memory.error}</p>}
+ {memory.error && <p role="alert" className="memory-error">{tr(memory.error)}</p>}
{!view && !memory.error && <p className="memory-muted">Loading memory…</p>}
{view && bot && section === 'yours' && <Switch on={bot.sharedMemory} onChange={(on) => host.setSharedMemory(bot, on)}>
Use what your bots share
@@ -83,10 +83,10 @@ export function MemoryCard({ botId }: { botId: string }) {
</div>,
...(view.dreams.length ? [] : [<div key="empty" className="memory-empty"><Icon name="moon" size={20} color="var(--tertiary)" /><span>{tr('No dreams yet.')}</span></div>]),
...view.dreams.map((dream) => <div className="memory-content fade-in" key={dream.id}>
- <strong>{relativeTime.day(dream.at, tr)}{dream.undone ? ' · undone' : ''}</strong>
+ <strong>{relativeTime.day(dream.at, tr)}{dream.undone ? tr(' · undone') : ''}</strong>
{dream.added.map((c) => <Text key={`a${c.id}`} tone="added" className="line-clamp memory-clamp" title={c.text}>+ {c.text}</Text>)}
{dream.archived.map((c) => <Text key={`r${c.id}`} tone="removed" className="line-clamp memory-clamp" title={c.text}>− {c.text}</Text>)}
- {(dream.files ?? []).map((f) => <span key={`f${f.version}`} className="memory-muted">Added to {f.name}</span>)}
+ {(dream.files ?? []).map((f) => <span key={`f${f.version}`} className="memory-muted">{tr('Added to {name}').replaceAll('{name}', () => f.name)}</span>)}
</div>),
]}
{view?.projectMemory && section === 'harness' && <div className="memory-content">
@@ -115,6 +115,6 @@ function EntryRow({ entry }: { entry: MemoryEntry }) {
const archived = entry.state === 'archived'
return <div className="memory-content fade-in">
<strong className={archived ? 'memory-archived' : undefined}>{entry.pinned && <Icon name="pin.fill" size={10} color="var(--secondary)" />}<span className="line-clamp memory-clamp" title={entry.text}>{entry.text}</span></strong>
- <small>{authorLabel(entry, (id) => host.authorName(id))} · {relativeTime.day(entry.updatedAt, tr)}{archived ? ' · archived' : ''}</small>
+ <small>{authorLabel(entry, (id) => host.authorName(id))} · {relativeTime.day(entry.updatedAt, tr)}{archived ? tr(' · archived') : ''}</small>
</div>
}
diff --git a/apps/desktop/src/renderer/views/bots/agent-models.ts b/apps/desktop/src/renderer/views/bots/agent-models.ts
index d8cc6997..03464ac5 100644
--- a/apps/desktop/src/renderer/views/bots/agent-models.ts
+++ b/apps/desktop/src/renderer/views/bots/agent-models.ts
@@ -2,6 +2,7 @@ import { useEffect, useRef, useState } from 'react'
import { useStore } from '../../store/context'
import type { AgentMode } from '@shared/approvals'
import { errorText } from './drafts'
+import { trNow } from '../../lib/l10n.ts'
/** A model's own setting (effort, fast…) and the values the agent accepts. */
export interface ModelOption {
@@ -53,7 +54,7 @@ export function useAgentModels(backend: string): AgentModelsState {
if (custom) return
const client = store.client
if (!online || !client) {
- setFailure('Connect to this computer to load its models. You can still enter a model ID.')
+ setFailure(trNow('Connect to this computer to load its models. You can still enter a model ID.'))
return
}
let cancelled = false
diff --git a/apps/desktop/src/renderer/views/bots/parts.tsx b/apps/desktop/src/renderer/views/bots/parts.tsx
index 263c4307..63228cd0 100644
--- a/apps/desktop/src/renderer/views/bots/parts.tsx
+++ b/apps/desktop/src/renderer/views/bots/parts.tsx
@@ -54,18 +54,19 @@ export function AutoTextArea({ value, onChange, placeholder, minRows, maxRows, c
/** The avatar's shape and color: each a wrapping, centered row of choices, ringed when picked. */
export function AvatarPicker({ shape, color, onShape, onColor }: { shape: string; color: string; onShape: (s: string) => void; onColor: (c: string) => void }) {
+ const tr = useTr()
return (
<VStack gap={12} className="avatar-picker">
<div className="swatch-row">
{AVATAR_SHAPES.map((s) => (
- <button key={s} className={`swatch ${s === shape ? 'on' : ''}`} aria-label={`${s} shape`} aria-pressed={s === shape} onClick={() => onShape(s)}>
+ <button key={s} className={`swatch ${s === shape ? 'on' : ''}`} aria-label={tr('{shape} shape').replaceAll('{shape}', () => s)} aria-pressed={s === shape} onClick={() => onShape(s)}>
<CharacterAvatar shape={s} color={color} size={36} />
</button>
))}
</div>
<div className="swatch-row">
{AVATAR_COLORS.map((c) => (
- <button key={c.id} className={`swatch ${c.id === color ? 'on' : ''}`} aria-label={c.label} aria-pressed={c.id === color} onClick={() => onColor(c.id)}>
+ <button key={c.id} className={`swatch ${c.id === color ? 'on' : ''}`} aria-label={tr(c.label)} aria-pressed={c.id === color} onClick={() => onColor(c.id)}>
<span className="swatch-color" style={{ background: c.hex }} />
</button>
))}
diff --git a/apps/desktop/src/renderer/views/call/CallView.tsx b/apps/desktop/src/renderer/views/call/CallView.tsx
index 1e44cfa8..eb9c8ca5 100644
--- a/apps/desktop/src/renderer/views/call/CallView.tsx
+++ b/apps/desktop/src/renderer/views/call/CallView.tsx
@@ -20,6 +20,8 @@ import { GeminiLiveEngine } from './GeminiLiveEngine'
import { OnDeviceEngine } from './OnDeviceEngine'
import { OpenAIRealtimeEngine } from './OpenAIRealtimeEngine'
import { countVoiceUsage, fromBase64, onDeviceAvailable, onDeviceUnavailableReason, providerName, transcribeOnHost, VoiceEngine, VoiceSettings, voiceSettingsClosed, type VoicePhase, type VoiceProvider } from './voice'
+import { useTr } from '../../lib/use-language'
+import { trNow } from '../../lib/l10n.ts'
import './call.css'
/** What the call bar says for `phase`. */
@@ -29,13 +31,13 @@ function statusText(phase: VoicePhase | null, muted: boolean, working: boolean)
case 'starting':
return 'Connecting'
case 'reconnecting':
- return 'Reconnecting'
+ return trNow('Reconnecting')
case 'speaking':
- return 'Speaking'
+ return trNow('Speaking')
case 'failed':
- return "Can't listen"
+ return trNow("Can't listen")
case 'listening':
- return muted ? 'Muted' : working ? 'Working, listening' : 'Listening'
+ return muted ? trNow('Muted') : working ? trNow('Working, listening') : trNow('Listening')
}
}
@@ -57,6 +59,7 @@ export function CallView({ botId, onSpeaking, interrupt, onEnd }: {
interrupt: { current: (() => void) | null }
onEnd: () => void
}) {
+ const tr = useTr()
const store = useStore()
const [session, setSession] = useState<VoiceEngine | null>(null)
useModel(session)
@@ -177,7 +180,7 @@ export function CallView({ botId, onSpeaking, interrupt, onEnd }: {
// Ended, or another engine was picked meanwhile.
if (closed.current || engineChoice.current !== picked) return
if (configured) {
- setNotice(`${onDeviceUnavailableReason()} Using ${providerName(configured)}.`)
+ setNotice(tr('{device} Using {name}.').replace('{device}', () => onDeviceUnavailableReason()).replaceAll('{name}', () => providerName(configured)))
if (window.codync.platform !== 'darwin') preferredEngine.set(configured)
begin(configured)
if (window.codync.platform === 'darwin') engineChoice.current = picked
@@ -220,7 +223,7 @@ export function CallView({ botId, onSpeaking, interrupt, onEnd }: {
// A cloud engine that can't start or drops mid-call hands over to on-device voice.
if (phase === 'failed' && session.provider && onDeviceAvailable()) {
countCloudMinutes()
- setNotice(`${providerName(session.provider)} isn't available (${session.failure}). Using on-device voice.`)
+ setNotice(tr("{name} isn't available ({reason}). Using on-device voice.").replaceAll('{name}', providerName(session.provider)).replaceAll('{reason}', () => tr(String(session.failure))))
begin(null)
}
}, [session, phase])
@@ -237,8 +240,8 @@ export function CallView({ botId, onSpeaking, interrupt, onEnd }: {
<button
className={`call-avatar ${speaking ? 'speaking' : ''}`}
disabled={!speaking}
- aria-label={speaking ? 'Interrupt' : (bot?.name ?? '')}
- title={speaking ? 'Interrupt' : undefined}
+ aria-label={speaking ? tr('Interrupt') : (bot?.name ?? '')}
+ title={speaking ? tr('Interrupt') : undefined}
onClick={() => session?.interrupt()}
>
{bot ? <BotAvatar bot={bot} size={34} /> : <span className="call-avatar-empty" />}
@@ -251,7 +254,7 @@ export function CallView({ botId, onSpeaking, interrupt, onEnd }: {
/>
{/* Audio leaves the computer: say where. */}
{session?.provider ? (
- <Text size="caption2" weight="semibold" tone="secondary" aria-label={`Voice by ${providerName(session.provider)}`}>
+ <Text size="caption2" weight="semibold" tone="secondary" aria-label={tr('Voice by {name}').replaceAll('{name}', providerName(session.provider))}>
{providerName(session.provider)}
</Text>
) : null}
@@ -260,7 +263,7 @@ export function CallView({ botId, onSpeaking, interrupt, onEnd }: {
</button>
<button
className={`call-round ${muted ? 'on' : ''}`}
- title={muted ? 'Unmute' : 'Mute'}
+ title={tr(muted ? 'Unmute' : 'Mute')}
aria-label={muted ? 'Unmute' : 'Mute'}
onClick={() => session && (session.muted = !session.muted)}
>
@@ -272,7 +275,7 @@ export function CallView({ botId, onSpeaking, interrupt, onEnd }: {
</div>
{failure ? (
<Text as="div" key="failure" tone="danger" className="call-line">
- {failure}
+ {tr(failure)}
</Text>
) : notice ? (
<Text as="div" key={notice} tone="secondary" className="call-line">
diff --git a/apps/desktop/src/renderer/views/call/GeminiLiveEngine.ts b/apps/desktop/src/renderer/views/call/GeminiLiveEngine.ts
index 301c32cf..8725adaa 100644
--- a/apps/desktop/src/renderer/views/call/GeminiLiveEngine.ts
+++ b/apps/desktop/src/renderer/views/call/GeminiLiveEngine.ts
@@ -1,6 +1,7 @@
import type { CallLink, CallSession } from './call-link'
import { browserPorts, type CallOutput, type GeminiPorts, type LiveSocket } from './gemini-ports'
import { errorMessage, fromBase64, onDevicesChanged, PROGRESS_TAG, reconnect, toBase64, VoiceEngine } from './voice'
+import { trNow } from '../../lib/l10n.ts'
const URL_BASE = 'wss://generativelanguage.googleapis.com/ws/google.ai.generativelanguage.v1alpha.GenerativeService.BidiGenerateContentConstrained'
const OPEN = 1
@@ -77,7 +78,7 @@ export class GeminiLiveEngine extends VoiceEngine {
try {
const session = await this.link.start('realtime', 'gemini', this.model, this.voice)
if (this.ended) return
- if (!session.credential) throw new Error('Gemini sent no session credential.')
+ if (!session.credential) throw new Error(trNow('Gemini sent no session credential.'))
this.session = session
const socket = this.ports.socket(`${URL_BASE}?access_token=${encodeURIComponent(session.credential)}`)
this.socket = socket
@@ -173,9 +174,9 @@ export class GeminiLiveEngine extends VoiceEngine {
if (this.ended || this.socket !== socket) return
this.socket = null
this.ready = false
- if (!this.connected) return this.fail(reason || "Couldn't reach Gemini.", 'provider')
+ if (!this.connected) return this.fail(reason || trNow("Couldn't reach Gemini."), 'provider')
// Gemini refused the session (a key, a model, a request): trying again won't help.
- if (code === 1007 || code === 1008) return this.fail(reason || 'Gemini ended the call.', 'provider')
+ if (code === 1007 || code === 1008) return this.fail(reason || trNow('Gemini ended the call.'), 'provider')
if (this.replacing) {
this.replacing = false
// The turn under way ends with this connection: the resumed one won't complete it.
@@ -191,7 +192,7 @@ export class GeminiLiveEngine extends VoiceEngine {
* else a fresh one the computer primes with the call so far) before the call falls back.
*/
private dropped(reason: string) {
- if (this.reconnects >= reconnect.delays.length) return this.fail(reason || 'Lost the connection to Gemini.', 'connection')
+ if (this.reconnects >= reconnect.delays.length) return this.fail(reason || trNow('Lost the connection to Gemini.'), 'connection')
const delay = reconnect.delays[this.reconnects]!
this.reconnects++
this.stopPlayback()
diff --git a/apps/desktop/src/renderer/views/call/OnDeviceEngine.ts b/apps/desktop/src/renderer/views/call/OnDeviceEngine.ts
index 4fa15098..96c5b49f 100644
--- a/apps/desktop/src/renderer/views/call/OnDeviceEngine.ts
+++ b/apps/desktop/src/renderer/views/call/OnDeviceEngine.ts
@@ -1,5 +1,6 @@
import type { SpeechEvent } from '@shared/ipc'
import { onDeviceUnavailableReason, spokenText, VoiceEngine, VoiceSettings, type VoiceFailureKind } from './voice'
+import { trNow } from '../../lib/l10n.ts'
/**
* The reply's language from its script, for picking a voice (replies may be English while the
@@ -152,7 +153,7 @@ export class OnDeviceEngine extends VoiceEngine {
this.restart(e.message)
break
case 'stopped':
- if (!this.started) return this.fail("Speech recognition stopped.")
+ if (!this.started) return this.fail(trNow("Speech recognition stopped."))
this.restart('Speech recognition stopped.')
break
}
diff --git a/apps/desktop/src/renderer/views/call/OpenAIRealtimeEngine.ts b/apps/desktop/src/renderer/views/call/OpenAIRealtimeEngine.ts
index 303cd327..93c9c900 100644
--- a/apps/desktop/src/renderer/views/call/OpenAIRealtimeEngine.ts
+++ b/apps/desktop/src/renderer/views/call/OpenAIRealtimeEngine.ts
@@ -1,5 +1,6 @@
import type { CallLink, CallSession } from './call-link'
import { errorMessage, microphone, onDevicesChanged, PROGRESS_TAG, reconnect, VoiceEngine, VoiceSettings } from './voice'
+import { trNow } from '../../lib/l10n.ts'
/**
* OpenAI Realtime over WebRTC, this computer ↔ OpenAI directly: the microphone is a WebRTC audio
@@ -56,7 +57,7 @@ export class OpenAIRealtimeEngine extends VoiceEngine {
try {
const session = await this.link.start('realtime', 'openai', this.model, this.voice)
if (this.ended) return
- if (!session.credential) throw new Error('OpenAI sent no session credential.')
+ if (!session.credential) throw new Error(trNow('OpenAI sent no session credential.'))
this.session = session
await this.connect(session.credential)
} catch (e) {
@@ -99,7 +100,7 @@ export class OpenAIRealtimeEngine extends VoiceEngine {
const pc = new RTCPeerConnection({ bundlePolicy: 'max-bundle' })
this.pc = pc
const track = this.stream!.getAudioTracks()[0]
- if (!track) throw new Error("Couldn't start the call audio.")
+ if (!track) throw new Error(trNow("Couldn't start the call audio."))
track.enabled = !this.muted
pc.addTrack(track, this.stream!)
const audio = new Audio()
@@ -112,7 +113,7 @@ export class OpenAIRealtimeEngine extends VoiceEngine {
const events = pc.createDataChannel('oai-events')
events.onopen = () => this.opened()
events.onmessage = (e) => typeof e.data === 'string' && this.received(e.data)
- events.onclose = () => this.events === events && this.connected && this.dropped('Lost the connection to OpenAI.')
+ events.onclose = () => this.events === events && this.connected && this.dropped(trNow('Lost the connection to OpenAI.'))
this.events = events
const offer = await pc.createOffer()
@@ -136,7 +137,7 @@ export class OpenAIRealtimeEngine extends VoiceEngine {
this.dropTimer = setTimeout(() => {
if (this.ended || !this.isConnecting) return
if (this.connected) this.dropped("Couldn't reach OpenAI.")
- else this.fail("Couldn't reach OpenAI.", 'connection')
+ else this.fail(trNow("Couldn't reach OpenAI."), 'connection')
}, 15_000)
}
@@ -304,11 +305,11 @@ export class OpenAIRealtimeEngine extends VoiceEngine {
break
case 'disconnected':
if (this.dropTimer) clearTimeout(this.dropTimer)
- this.dropTimer = setTimeout(() => this.dropped('Lost the connection to OpenAI.'), 5000)
+ this.dropTimer = setTimeout(() => this.dropped(trNow('Lost the connection to OpenAI.')), 5000)
break
case 'failed':
- if (this.connected) this.dropped('Lost the connection to OpenAI.')
- else this.fail("Couldn't reach OpenAI.", 'connection')
+ if (this.connected) this.dropped(trNow('Lost the connection to OpenAI.'))
+ else this.fail(trNow("Couldn't reach OpenAI."), 'connection')
break
}
}
diff --git a/apps/desktop/src/renderer/views/call/voice.ts b/apps/desktop/src/renderer/views/call/voice.ts
index 95427524..9e4df2ef 100644
--- a/apps/desktop/src/renderer/views/call/voice.ts
+++ b/apps/desktop/src/renderer/views/call/voice.ts
@@ -2,6 +2,7 @@ import type { HostClient } from '../../client/host-client'
import type { VoiceFailure } from '@shared/analytics'
import type { CallCue } from '@shared/calls'
import { Observable } from '../../lib/observable'
+import { trNow } from '../../lib/l10n.ts'
import {
addVoiceUsage,
chosenModel,
@@ -30,7 +31,7 @@ export const SPEECH_CHUNK: Record<VoiceProvider, number> = { openai: 600, gemini
export const onDeviceAvailable = () => window.codync.speech.available
export const onDeviceUnavailableReason = () =>
window.codync.platform === 'darwin'
- ? "On-device speech isn't available in this build."
+ ? trNow("On-device speech isn't available in this build.")
: `On-device speech isn't available on ${window.codync.platform === 'win32' ? 'Windows' : 'Linux'}.`
export const VoiceSettings = {
diff --git a/apps/desktop/src/renderer/views/island-summary.ts b/apps/desktop/src/renderer/views/island-summary.ts
index 4a35c0a9..ccc9e2eb 100644
--- a/apps/desktop/src/renderer/views/island-summary.ts
+++ b/apps/desktop/src/renderer/views/island-summary.ts
@@ -6,6 +6,7 @@ import { refKey, type AppModel, type RosterItem } from '../store/app-model'
import type { BotStore } from '../store/bot-store'
import { botDetail } from './tray-summary'
import { optionLabel, permissionHeadline, sortedOptions } from './thread/PermissionCard'
+import { trNow } from '../lib/l10n.ts'
/** Tool calls in the island's ticker. */
const STEPS = 3
@@ -56,7 +57,7 @@ function islandBot(store: BotStore, bot: Bot, ref: string, name: string): Island
folder: folderName(bot),
detail: botDetail(bot),
steps: isWorking(bot)
- ? entries.filter((e) => e.kind === 'tool').slice(-STEPS).map((e) => ({ title: e.data.title || 'Use a tool', kind: e.data.toolKind ?? 'other' }))
+ ? entries.filter((e) => e.kind === 'tool').slice(-STEPS).map((e) => ({ title: e.data.title || trNow('Use a tool'), kind: e.data.toolKind ?? 'other' }))
: [],
error: bot.status === 'error' ? (lastError(entries) ?? null) : null,
}
diff --git a/apps/desktop/src/renderer/views/island/IslandViews.tsx b/apps/desktop/src/renderer/views/island/IslandViews.tsx
index 3fcf73eb..01cfc64d 100644
--- a/apps/desktop/src/renderer/views/island/IslandViews.tsx
+++ b/apps/desktop/src/renderer/views/island/IslandViews.tsx
@@ -109,13 +109,14 @@ export function Overview({ model }: { model: IslandModel }) {
}
export function Empty({ model }: { model: IslandModel }) {
+ const tr = useTr()
const focus = model.focus
return (
<div className="island-card island-empty">
{focus ? <BigCharacter bot={focus} size={62} mood="idle" badge={null} /> : null}
<span className="island-empty-text">
<span className="island-title">Nothing running right now.</span>
- <span className="island-subtitle">{focus ? 'Your bots are idle. Message one from here, or open Codync.' : 'Create a bot in Codync to get started.'}</span>
+ <span className="island-subtitle">{focus ? tr('Your bots are idle. Message one from here, or open Codync.') : tr('Create a bot in Codync to get started.')}</span>
</span>
{focus ? <Button onClick={() => model.setTab('message')}>Message a bot</Button> : <Button onClick={() => model.newBot()}>New bot</Button>}
</div>
@@ -155,6 +156,7 @@ export function Approval({ model, card }: { model: IslandModel; card: IslandPerm
/** A bot that just finished (for a moment) or failed (until dismissed). */
export function Notice({ model, bot, failed }: { model: IslandModel; bot: IslandBot; failed: boolean }) {
+ const tr = useTr()
const swap = useSwap(`${failed}:${bot.ref}`)
return (
<div className="island-with-minis">
@@ -162,10 +164,10 @@ export function Notice({ model, bot, failed }: { model: IslandModel; bot: Island
<div key={`${failed}:${bot.ref}`} className={`island-swap-slot ${swap}`}>
<BigCharacter bot={bot} size={58} mood="idle" badge={failed ? 'failed' : 'finished'} onOpen={() => model.openBot(bot.ref)} />
<div className="island-alert-text">
- <AgentRow color={bot.color} name={bot.name} subtitle={failed ? bot.backend : `${bot.backend} is done`} />
+ <AgentRow color={bot.color} name={bot.name} subtitle={failed ? bot.backend : tr('{backend} is done').replaceAll('{backend}', () => bot.backend)} />
{failed ? (
<>
- <div className="island-title">{`${bot.name} stopped.`}</div>
+ <div className="island-title">{tr('{name} stopped.').replaceAll('{name}', () => bot.name)}</div>
<div className="island-error">{bot.error ?? bot.detail}</div>
</>
) : (
@@ -222,8 +224,8 @@ export function Message({ model }: { model: IslandModel }) {
>
<input
autoFocus
- aria-label={`Message ${bot.name}`}
- placeholder={`Message ${bot.name}…`}
+ aria-label={tr('Message {name}').replaceAll('{name}', () => bot.name)}
+ placeholder={tr('Message {name}…').replaceAll('{name}', () => bot.name)}
value={model.draft}
onChange={(e) => model.setDraft(e.target.value)}
onKeyDown={(e) => {
@@ -233,11 +235,11 @@ export function Message({ model }: { model: IslandModel }) {
{dictation.listening ? (
<RecordingPill startedAt={dictation.startedAt} sample={() => dictation} onStop={() => dictation.finish()} color="#ffffff" />
) : dictation.available ? (
- <button type="button" className="island-mic" aria-label="Dictate" title="Dictate" onClick={() => dictation.start(model.draft)}>
+ <button type="button" className="island-mic" aria-label={tr('Dictate')} title={tr('Dictate')} onClick={() => dictation.start(model.draft)}>
<Icon name="mic" size={12} weight="medium" scaled={false} />
</button>
) : null}
- <button type="submit" className="island-send" aria-label="Send" title="Send" disabled={!model.draft.trim()}>
+ <button type="submit" className="island-send" aria-label={tr('Send')} title={tr('Send')} disabled={!model.draft.trim()}>
<Icon name="arrow.up" size={12} weight="bold" scaled={false} />
</button>
</form>
diff --git a/apps/desktop/src/renderer/views/island/IslandWindow.tsx b/apps/desktop/src/renderer/views/island/IslandWindow.tsx
index 08b0e3f5..a3ff1417 100644
--- a/apps/desktop/src/renderer/views/island/IslandWindow.tsx
+++ b/apps/desktop/src/renderer/views/island/IslandWindow.tsx
@@ -7,6 +7,7 @@ import { PINNED_LEAVE_MS, type IslandModel } from './island-model'
import { useCrossFade } from './island-motion'
import { Approval, Empty, Message, Notice, Overview, Wings } from './IslandViews'
import { UsageMeter, UsageView } from './IslandUsage'
+import { useTr } from '../../lib/use-language'
import './island.css'
import './island-views.css'
@@ -15,6 +16,7 @@ const FOLD_MS = 340
/** The notch island: a black shape that grows out of the notch and folds back into it. */
export function IslandWindow({ model }: { model: IslandModel }) {
+ const tr = useTr()
useModel(model)
const { mode, frame } = model
const open = isOpenMode(mode)
@@ -33,7 +35,7 @@ export function IslandWindow({ model }: { model: IslandModel }) {
data-mode={mode}
style={{ width: frame.width, height: frame.height }}
role={closed ? 'button' : undefined}
- aria-label={closed ? 'Show bots' : undefined}
+ aria-label={closed ? tr('Show bots') : undefined}
onClick={closed ? () => model.openNow() : undefined}
>
<span className="island-ear left" />
@@ -104,6 +106,7 @@ const TABS: { tab: IslandTab; icon: string; label: string }[] = [
/** Tabs on the left of the notch; the working count, the usage meter and Codync on the right. */
function Header({ model, mode }: { model: IslandModel; mode: IslandMode }) {
+ const tr = useTr()
const selected = mode === 'message' || mode === 'usage' ? mode : mode === 'overview' || mode === 'empty' ? 'bots' : null
const count = model.activeCount
return (
@@ -119,7 +122,7 @@ function Header({ model, mode }: { model: IslandModel; mode: IslandMode }) {
</button>
</div>
<div className="island-tabs">
- {count ? <span className="island-count">{`${count} working`}</span> : null}
+ {count ? <span className="island-count">{tr('{count} working').replaceAll('{count}', () => String(count))}</span> : null}
<UsageMeter model={model} />
<button className="island-tab" title="Open Codync" aria-label="Open Codync" onClick={() => model.openApp()}>
<Icon name="arrow.up.right.square" size={13} scaled={false} />
diff --git a/apps/desktop/src/renderer/views/marketplace/AgentSheet.tsx b/apps/desktop/src/renderer/views/marketplace/AgentSheet.tsx
index 233c3b32..0ecd09f6 100644
--- a/apps/desktop/src/renderer/views/marketplace/AgentSheet.tsx
+++ b/apps/desktop/src/renderer/views/marketplace/AgentSheet.tsx
@@ -281,7 +281,7 @@ function AgentKeysForm({ backend, method, saved, back, done }: {
</CardSection>
<VStack gap={6} className="agent-keys-notes">
{method.description ? <span>{method.description}</span> : null}
- <span>Saved on {store.hostName} only and given to {backend.name} when it starts.</span>
+ <span>{tr('Saved on {name} only and given to {other} when it starts.').replaceAll('{name}', () => store.hostName).replaceAll('{other}', () => backend.name)}</span>
{method.link && URL.canParse(method.link) ? <WebLink title="Get a key" url={method.link} /> : null}
</VStack>
</VStack>
diff --git a/apps/desktop/src/renderer/views/marketplace/ComposioViews.tsx b/apps/desktop/src/renderer/views/marketplace/ComposioViews.tsx
index 768c5a88..903b1477 100644
--- a/apps/desktop/src/renderer/views/marketplace/ComposioViews.tsx
+++ b/apps/desktop/src/renderer/views/marketplace/ComposioViews.tsx
@@ -67,11 +67,11 @@ export function ComposioConnectSheet({ app, requestId, done }: { app: ComposioAp
return
}
if (state.status === 'failed' || state.status === 'expired') {
- setError(`Signing in to ${app.name} didn't work (${state.status}). Close and try again.`)
+ setError(tr("Signing in to {name} didn't work ({status}). Close and try again.").replaceAll('{name}', () => app.name).replaceAll('{status}', () => String(state.status)))
return
}
}
- setError('Timed out waiting for the sign-in.')
+ setError(tr('Timed out waiting for the sign-in.'))
} catch (e) {
if (!cancelled) setError(errorText(e))
}
@@ -93,7 +93,7 @@ export function ComposioConnectSheet({ app, requestId, done }: { app: ComposioAp
if (requestId) await market.finishConnectionRequest(client, requestId, { connectorId: `composio-${app.slug}` })
markConnected()
} else {
- setError(`${app.name} says the connection is ${state.status}.`)
+ setError(tr('{name} says the connection is {status}.').replaceAll('{name}', () => app.name).replaceAll('{status}', () => String(state.status)))
}
} catch (e) {
setError(errorText(e))
@@ -119,7 +119,7 @@ export function ComposioConnectSheet({ app, requestId, done }: { app: ComposioAp
return (
<SheetPage>
- <ModalHeader title={`Connect ${app.name}`} trailing={trailing} />
+ <ModalHeader title={tr('Connect {name}').replaceAll('{name}', () => app.name)} trailing={trailing} />
<CardForm>
<CardSection>
<HStack gap={14} className="market-card-header">
@@ -131,14 +131,14 @@ export function ComposioConnectSheet({ app, requestId, done }: { app: ComposioAp
</HStack>
</CardSection>
{connected ? (
- <CardSection footer={`Turn ${app.name} on for a bot in the bot's settings, under Connectors.`}>
+ <CardSection footer={tr("Turn {name} on for a bot in the bot's settings, under Connectors.").replaceAll('{name}', () => app.name)}>
<HStack as="span" gap={6} className="composio-connected">
<Icon name="checkmark.circle.fill" size={12} />
Connected
</HStack>
</CardSection>
) : needsFields ? (
- <CardSection footer={`Sent to Composio, which keeps it for ${app.name}.`}>
+ <CardSection footer={tr('Sent to Composio, which keeps it for {name}.').replaceAll('{name}', () => app.name)}>
{(plan?.fields ?? []).map((f) => (
<VStack key={f.name} gap={4}>
<Field label={f.label} value={values[f.name] ?? ''} secret={f.secret} placeholder={f.label} onChange={(v) => setValues((old) => ({ ...old, [f.name]: v }))} />
diff --git a/apps/desktop/src/renderer/views/marketplace/ConnectionRequestCard.tsx b/apps/desktop/src/renderer/views/marketplace/ConnectionRequestCard.tsx
index fb55cbcb..0f73cdaf 100644
--- a/apps/desktop/src/renderer/views/marketplace/ConnectionRequestCard.tsx
+++ b/apps/desktop/src/renderer/views/marketplace/ConnectionRequestCard.tsx
@@ -43,7 +43,7 @@ export function ConnectionRequestCard({ entry }: { entry: Entry }) {
// The host completes the card and resends the messages once the sheet finds it signed in.
const backend = store.hello?.backends.find((b) => b.id === request.backend)
if (backend) setAgent(backend)
- else setError(`Open ${request.title} in Extensions to sign in.`)
+ else setError(tr('Open {name} in Extensions to sign in.').replaceAll('{name}', () => request.title))
} else if (request.kind === 'app' && request.toolkit) {
setApp({ slug: request.toolkit, name: request.title })
} else if (isLogin) {
@@ -86,7 +86,7 @@ export function ConnectionRequestCard({ entry }: { entry: Entry }) {
) : (
<HStack as="span" gap={6} className="request-card-trailing request-card-status">
{request.status === 'ready' ? <Icon name="checkmark" size={11} weight="semibold" /> : null}
- {request.status === 'ready' ? (isAgent ? 'Signed in' : isLogin ? 'Saved' : 'Connected') : 'Cancelled'}
+ {tr(request.status === 'ready' ? (isAgent ? 'Signed in' : isLogin ? 'Saved' : 'Connected') : 'Cancelled')}
</HStack>
)}
</HStack>
@@ -103,7 +103,7 @@ export function ConnectionRequestCard({ entry }: { entry: Entry }) {
<Text size="caption" tone="secondary">{tr(`Saved securely on this computer. Never added to the conversation.`)}</Text>
</>
) : null}
- {error ? <Text size="footnote" tone="danger">{error}</Text> : null}
+ {error ? <Text size="footnote" tone="danger">{tr(error)}</Text> : null}
<FormSheet open={item !== null} onClose={() => setItem(null)}>
{item ? <InstallConnectorSheet item={item} requestId={entry.id} done={() => setItem(null)} /> : null}
</FormSheet>
diff --git a/apps/desktop/src/renderer/views/marketplace/ConnectorSheets.tsx b/apps/desktop/src/renderer/views/marketplace/ConnectorSheets.tsx
index 5f5c47c2..a7a675bd 100644
--- a/apps/desktop/src/renderer/views/marketplace/ConnectorSheets.tsx
+++ b/apps/desktop/src/renderer/views/marketplace/ConnectorSheets.tsx
@@ -193,7 +193,7 @@ export function CustomConnectorSheet() {
<ModalHeader icon="point.3.connected.trianglepath.dotted" title={tr(`Custom connector`)} trailing={saving ? <Spinner /> : <IconButton title="Add" icon="plus" disabled={!ready} onClick={() => void save()} />} />
<CardForm>
<CardSection footer={footer}>
- <SegmentedChoice selection={mode} onChange={setMode} options={[{ id: 'command', label: 'Command' }, { id: 'url', label: 'URL' }, { id: 'config', label: 'Config' }]} />
+ <SegmentedChoice selection={mode} onChange={setMode} options={[{ id: 'command', label: tr('Command') }, { id: 'url', label: tr('URL') }, { id: 'config', label: tr('Config') }]} />
{mode === 'config' ? <Field value={config} onChange={setConfig} placeholder={'{ "mcpServers": { … } }'} lines={[6, 16]} mono /> : null}
{mode !== 'config' ? <Field value={name} onChange={setName} placeholder="Name" /> : null}
{mode !== 'config' ? <Field value={target} onChange={setTarget} placeholder={mode === 'url' ? 'https://example.com/mcp' : 'npx -y @scope/server'} mono /> : null}
diff --git a/apps/desktop/src/renderer/views/marketplace/SetupTerminal.tsx b/apps/desktop/src/renderer/views/marketplace/SetupTerminal.tsx
index c500d7da..2ecfa7b0 100644
--- a/apps/desktop/src/renderer/views/marketplace/SetupTerminal.tsx
+++ b/apps/desktop/src/renderer/views/marketplace/SetupTerminal.tsx
@@ -170,7 +170,7 @@ export function SetupTerminalView({ backend, step, method, back }: {
}
}, [store, backend?.id, step, method?.id])
- const name = backend?.name ?? 'the agent'
+ const name = backend?.name ?? tr('the agent')
const title = step === 'node' ? 'Add Node.js' : step === 'install' ? `Install ${name}` : (method?.name ?? `Sign in to ${name}`)
return (
<SheetPage>
@@ -184,12 +184,12 @@ export function SetupTerminalView({ backend, step, method, back }: {
) : exitCode !== null ? (
<>
<Icon name={exitCode === 0 ? 'checkmark.circle.fill' : 'exclamationmark.circle.fill'} size={10} color={exitCode === 0 ? 'var(--added)' : 'var(--warning)'} />
- <Text tone="secondary" lines={2}>{exitCode === 0 ? tr(`Finished.`) : `Ended with an error (${exitCode}).`}</Text>
+ <Text tone="secondary" lines={2}>{exitCode === 0 ? tr('Finished.') : tr('Ended with an error ({code}).').replaceAll('{code}', () => String(exitCode))}</Text>
</>
) : (
<>
<ThinkingOrb size={14} color="var(--secondary)" />
- <Text tone="secondary" lines={2}>Running on {store.hostName}. Links open on this device.</Text>
+ <Text tone="secondary" lines={2}>{tr('Running on {name}. Links open on this device.').replaceAll('{name}', () => store.hostName)}</Text>
</>
)}
<Spacer />
diff --git a/apps/desktop/src/renderer/views/marketplace/SkillSheet.tsx b/apps/desktop/src/renderer/views/marketplace/SkillSheet.tsx
index 3bb38c05..190621f8 100644
--- a/apps/desktop/src/renderer/views/marketplace/SkillSheet.tsx
+++ b/apps/desktop/src/renderer/views/marketplace/SkillSheet.tsx
@@ -64,7 +64,7 @@ export function SkillSheet({ skill }: { skill: SkillRef }) {
<Text size="subheadline" tone="secondary">{skill.description}</Text>
</CardSection>
) : null}
- <CardSection title="Instructions" footer={added ? 'Bots read these before using the skill.' : 'Add it to let bots use these instructions.'}>
+ <CardSection title="Instructions" footer={tr(added ? 'Bots read these before using the skill.' : 'Add it to let bots use these instructions.')}>
{markdown ? <MarkdownText text={markdown} /> : markdown === '' ? <Text tone="secondary">{tr(`No instructions.`)}</Text> : error ? null : <Spinner />}
</CardSection>
{error ? <CardSection><ErrorText text={error} /></CardSection> : null}
diff --git a/apps/desktop/src/renderer/views/marketplace/pieces.tsx b/apps/desktop/src/renderer/views/marketplace/pieces.tsx
index c6c58b49..8c04af6f 100644
--- a/apps/desktop/src/renderer/views/marketplace/pieces.tsx
+++ b/apps/desktop/src/renderer/views/marketplace/pieces.tsx
@@ -307,7 +307,8 @@ export function Field({ value, onChange, placeholder, secret = false, lines, mon
/** A danger-colored error line in its own card. */
export function ErrorText({ text }: { text: string }) {
- return <Text tone="danger" className="selectable">{text}</Text>
+ const tr = useTr()
+ return <Text tone="danger" className="selectable">{tr(text)}</Text>
}
/** Values with something typed in. */
diff --git a/apps/desktop/src/renderer/views/routines/RoutineEditorView.tsx b/apps/desktop/src/renderer/views/routines/RoutineEditorView.tsx
index 530d8a6b..b348a74d 100644
--- a/apps/desktop/src/renderer/views/routines/RoutineEditorView.tsx
+++ b/apps/desktop/src/renderer/views/routines/RoutineEditorView.tsx
@@ -44,8 +44,8 @@ export function RoutineEditorView({ botId, routine, saved }: {
const keepsOriginal = routine ? (routine.triggers.length === 1 ? !['cron', 'webhook'].includes(routine.triggers[0]!.type) : routine.triggers.length > 0) : false
const options = [
...(keepsOriginal ? [{ id: 'keep', label: 'Set by bot' }] : []),
- { id: 'cron', label: 'Schedule' },
- { id: 'webhook', label: 'Webhook' },
+ { id: 'cron', label: tr('Schedule') },
+ { id: 'webhook', label: tr('Webhook') },
]
const canSave = !!name.trim() && !!instruction.trim() && !store.isOffline && !busy && loaded && sameDraft(checkedSchedule, schedule) && previewError === null
@@ -144,7 +144,7 @@ export function RoutineEditorView({ botId, routine, saved }: {
return routine && routine.triggers.some((t) => t.type === 'webhook' || t.type === 'event') ? (
<RoutineWebhookPanel botId={botId} routineId={routine.id} />
) : (
- <Note icon="link" title="Runs each time something is posted to its URL." detail="Save to get the URL and key." />
+ <Note icon="link" title={tr('Runs each time something is posted to its URL.')} detail={tr('Save to get the URL and key.')} />
)
default:
return <Note icon="sparkles" title={routine?.triggerDescriptions.join(' · ') ?? ''} detail="Set up by the bot. Pick Schedule or Webhook to replace it." />
@@ -153,7 +153,7 @@ export function RoutineEditorView({ botId, routine, saved }: {
return (
<VStack className="routine-editor">
- <ModalHeader icon={schedule.kind === 'webhook' ? 'link' : 'clock'} title={routine ? 'Edit routine' : 'Set up a routine'} />
+ <ModalHeader icon={schedule.kind === 'webhook' ? 'link' : 'clock'} title={tr(routine ? 'Edit routine' : 'Set up a routine')} />
{/* The card fits the form; it scrolls only when taller than the window allows. */}
<fieldset className="routine-form" disabled={busy || !loaded}>
<VStack gap={24} className="routine-form-body">
@@ -161,7 +161,7 @@ export function RoutineEditorView({ botId, routine, saved }: {
<Field label="Name">
<input className="routine-input" value={name} placeholder="e.g. Morning summary" onChange={(e) => setName(e.target.value)} />
</Field>
- <Field label="Instruction">
+ <Field label={tr('Instruction')}>
<textarea className="routine-input" value={instruction} placeholder="Describe what this bot should do each time it runs." onChange={(e) => setInstruction(e.target.value)} />
</Field>
</VStack>
@@ -186,12 +186,12 @@ export function RoutineEditorView({ botId, routine, saved }: {
<Icon name="chevron.down" size={10} weight="semibold" />
</span>
<Spacer />
- {!advanced ? <Text tone="tertiary">Timeout {durationText(timeout)}</Text> : null}
+ {!advanced ? <Text tone="tertiary">{tr('Timeout {time}').replaceAll('{time}', () => durationText(timeout))}</Text> : null}
</button>
{advanced ? (
<div className="routine-fade">
<CardSection footer="A run is stopped after this long. 1 second to 24 hours.">
- <LabeledRow label="Timeout">
+ <LabeledRow label={tr('Timeout')}>
<input className="schedule-input routine-timeout" aria-label="Timeout in seconds" value={timeout} placeholder="3600" onChange={(e) => setTimeoutText(e.target.value)} />
<Text size="callout" tone="secondary">{tr(`seconds`)}</Text>
</LabeledRow>
@@ -231,7 +231,7 @@ export function RoutineEditorView({ botId, routine, saved }: {
<>
<IconButton title="Delete routine" icon="trash" onClick={() => setConfirmDelete(true)} />
<IconButton
- title={started ? 'Started' : 'Test run'}
+ title={tr(started ? 'Started' : 'Test run')}
icon={started ? 'checkmark' : 'play.circle'}
disabled={started || store.isOffline}
onClick={async () => {
@@ -246,9 +246,9 @@ export function RoutineEditorView({ botId, routine, saved }: {
</>
) : null}
<Spacer />
- <Button disabled={!canSave} onClick={() => void save()} title={`Save (${saveShortcut})`}>
+ <Button disabled={!canSave} onClick={() => void save()} title={tr('Save ({shortcut})').replaceAll('{shortcut}', () => saveShortcut)}>
{busy ? <Spinner size={12} /> : null}
- {busy ? 'Saving…' : routine ? 'Save changes' : 'Create routine'}
+ {tr(busy ? 'Saving…' : routine ? 'Save changes' : 'Create routine')}
{busy ? null : <span className="button-shortcut">{saveShortcut}</span>}
</Button>
</HStack>
diff --git a/apps/desktop/src/renderer/views/routines/RoutineScheduleFields.tsx b/apps/desktop/src/renderer/views/routines/RoutineScheduleFields.tsx
index d49101a8..f12333fe 100644
--- a/apps/desktop/src/renderer/views/routines/RoutineScheduleFields.tsx
+++ b/apps/desktop/src/renderer/views/routines/RoutineScheduleFields.tsx
@@ -41,12 +41,12 @@ export function RoutineScheduleFields({ schedule, update, preview, error }: {
return (
<CardSection footer={<SchedulePreview preview={preview} error={error} />}>
- <LabeledRow key="Repeat" label="Repeat">
+ <LabeledRow key="Repeat" label={tr('Repeat')}>
<ChipChoice label="Repeat" selection={repeat} options={repeatChoices} onChange={choose} />
</LabeledRow>
{repeat === 'weekly' ? (
<LabeledRow key="On" label="On">
- <ChipChoice label="Day" selection={schedule.weekday} options={weekdays} onChange={(weekday) => update({ weekday })} />
+ <ChipChoice label={tr('Day')} selection={schedule.weekday} options={weekdays} onChange={(weekday) => update({ weekday })} />
</LabeledRow>
) : null}
{repeat === 'hourly' ? (
@@ -54,11 +54,11 @@ export function RoutineScheduleFields({ schedule, update, preview, error }: {
<ChoicePicker selection={schedule.minute} options={minutes} onChange={(minute) => update({ minute })} fill="var(--field)" />
</LabeledRow>
) : repeat === 'custom' ? (
- <LabeledRow key="Cron" label="Cron" top>
+ <LabeledRow key="Cron" label={tr('Cron')} top>
<VStack gap={6} grow>
<input
className="schedule-input routine-cron-input"
- aria-label="Cron"
+ aria-label={tr('Cron')}
value={schedule.expression}
placeholder="0 9 * * 1-5"
spellCheck={false}
@@ -73,7 +73,7 @@ export function RoutineScheduleFields({ schedule, update, preview, error }: {
<input
type="time"
className="schedule-input schedule-time"
- aria-label="Time"
+ aria-label={tr('Time')}
value={`${pad(schedule.hour)}:${pad(schedule.minute)}`}
onChange={(e) => {
const [hour, minute] = e.target.value.split(':').map(Number)
diff --git a/apps/desktop/src/renderer/views/routines/RoutineWebhookPanel.tsx b/apps/desktop/src/renderer/views/routines/RoutineWebhookPanel.tsx
index 314c7c11..984010da 100644
--- a/apps/desktop/src/renderer/views/routines/RoutineWebhookPanel.tsx
+++ b/apps/desktop/src/renderer/views/routines/RoutineWebhookPanel.tsx
@@ -67,17 +67,17 @@ export function RoutineWebhookPanel({ botId, routineId }: { botId: string; routi
footer={
webhook.url
? 'POST with Authorization: Bearer <key>. For GitHub, use content type application/json and the key as the secret. ' +
- 'Deliveries wait up to 72 hours while this computer is off. They pass through the Codync cloud, which can read them.'
+ tr('Deliveries wait up to 72 hours while this computer is off. They pass through the Codync cloud, which can read them.')
: 'The Codync cloud is off, so only this computer can send to it.'
}
>
- {row(webhook.url ? 'URL' : 'Local URL', webhook.url ?? webhook.localUrl, 'url')}
+ {row(webhook.url ? tr('URL') : tr('Local URL'), webhook.url ?? webhook.localUrl, 'url')}
{row(
'Key',
showKey ? webhook.key : '•'.repeat(16),
'key',
<>
- <IconButton title={showKey ? 'Hide key' : 'Show key'} icon={showKey ? 'eye.slash' : 'eye'} onClick={() => setShowKey((s) => !s)} />
+ <IconButton title={tr(showKey ? 'Hide key' : 'Show key')} icon={showKey ? 'eye.slash' : 'eye'} onClick={() => setShowKey((s) => !s)} />
<IconButton title="Replace key" icon="arrow.triangle.2.circlepath" disabled={rotating || store.isOffline} onClick={() => setConfirmRotate(true)} />
</>,
)}
diff --git a/apps/desktop/src/renderer/views/routines/RoutinesView.tsx b/apps/desktop/src/renderer/views/routines/RoutinesView.tsx
index 92c1ce1a..a86a0e32 100644
--- a/apps/desktop/src/renderer/views/routines/RoutinesView.tsx
+++ b/apps/desktop/src/renderer/views/routines/RoutinesView.tsx
@@ -88,9 +88,9 @@ export function RoutinesView({ botId, initialId, onClose }: { botId: string; ini
const summary = (routine: Routine) => {
const active = runs.find((r) => r.routineId === routine.id && isActiveRun(r))
if (active) return runLabel(active)
- if (routine.lastError) return 'Schedule needs attention'
+ if (routine.lastError) return tr('Schedule needs attention')
const last = runs.find((r) => r.routineId === routine.id)
- if (last && ['failed', 'interrupted'].includes(last.status)) return `Last run ${runLabel(last).toLowerCase()}`
+ if (last && ['failed', 'interrupted'].includes(last.status)) return tr('Last run {status}').replaceAll('{status}', () => runLabel(last).toLowerCase())
return routine.triggerDescriptions.join(' · ')
}
diff --git a/apps/desktop/src/renderer/views/routines/TimeZonePicker.tsx b/apps/desktop/src/renderer/views/routines/TimeZonePicker.tsx
index 76c20737..08e391d2 100644
--- a/apps/desktop/src/renderer/views/routines/TimeZonePicker.tsx
+++ b/apps/desktop/src/renderer/views/routines/TimeZonePicker.tsx
@@ -4,10 +4,12 @@ import { Icon } from '../../components/Icon'
import { Text } from '../../components/Text'
import { AnchoredPanel } from '../bots/parts'
import { currentZone, matchZones, timeZoneOptions, zoneLabel, zoneOffset } from './time-zones'
+import { useTr } from '../../lib/use-language'
import './routines.css'
/** The routine's time zone: a button that opens every zone, filtered as you type. */
export function TimeZonePicker({ zone: saved, onChange }: { zone: string; onChange: (zone: string) => void }) {
+ const tr = useTr()
const zone = currentZone(saved)
const anchor = useRef<HTMLButtonElement>(null)
const [open, setOpen] = useState(false)
@@ -16,7 +18,7 @@ export function TimeZonePicker({ zone: saved, onChange }: { zone: string; onChan
<button
ref={anchor}
className="schedule-input zone-button"
- aria-label={`Time zone, ${zone}`}
+ aria-label={tr('Time zone, {zone}').replaceAll('{zone}', () => zone)}
aria-haspopup="listbox"
aria-expanded={open}
onClick={() => setOpen(true)}
@@ -40,6 +42,7 @@ export function TimeZonePicker({ zone: saved, onChange }: { zone: string; onChan
/** The search box over the matching zones; ↑/↓ move, Return picks. */
function ZoneList({ zone, pick }: { zone: string; pick: (zone: string) => void }) {
+ const tr = useTr()
const zones = useMemo(() => timeZoneOptions(), [])
const [query, setQuery] = useState('')
const matches = useMemo(() => matchZones(zones, query), [zones, query])
@@ -67,7 +70,7 @@ function ZoneList({ zone, pick }: { zone: string; pick: (zone: string) => void }
>
<SearchField
value={query}
- prompt="Search time zones"
+ prompt={tr('Search time zones')}
inputRef={input}
onChange={(q) => {
setQuery(q)
@@ -92,7 +95,7 @@ function ZoneList({ zone, pick }: { zone: string; pick: (zone: string) => void }
</span>
</button>
))}
- {matches.length === 0 ? <Text size="callout" tone="secondary" className="zone-empty">No time zone matches “{query}”.</Text> : null}
+ {matches.length === 0 ? <Text size="callout" tone="secondary" className="zone-empty">{tr('No time zone matches “{query}”.').replaceAll('{query}', () => query)}</Text> : null}
</div>
</div>
)
diff --git a/apps/desktop/src/renderer/views/routines/routine.ts b/apps/desktop/src/renderer/views/routines/routine.ts
index 0524d0b8..23871634 100644
--- a/apps/desktop/src/renderer/views/routines/routine.ts
+++ b/apps/desktop/src/renderer/views/routines/routine.ts
@@ -1,3 +1,5 @@
+import { trNow } from '../../lib/l10n.ts'
+
// Routines (kit Routine.swift, RoutineScheduleDraft.swift). The host hydrates, compiles,
// validates and describes schedules; the app only keeps form values.
@@ -45,18 +47,21 @@ export const isActiveRun = (run: RoutineRun) => ['pending', 'starting', 'running
export function runLabel(run: RoutineRun, now = Date.now()) {
switch (run.status) {
case 'pending':
- if (run.notBefore && run.notBefore > now) return `Retrying at ${new Date(run.notBefore).toLocaleTimeString(undefined, { timeStyle: 'short' })}`
- return run.notBefore ? 'Retrying' : 'Queued'
+ if (run.notBefore && run.notBefore > now) {
+ const at = new Date(run.notBefore).toLocaleTimeString(undefined, { timeStyle: 'short' })
+ return trNow('Retrying at {time}').replaceAll('{time}', () => at)
+ }
+ return run.notBefore ? trNow('Retrying') : trNow('Queued')
case 'starting':
- return 'Starting'
+ return trNow('Starting')
case 'running':
- return 'Running'
+ return trNow('Running')
case 'recovering':
- return 'Resuming after restart'
+ return trNow('Resuming after restart')
case 'failed':
- return 'Failed'
+ return trNow('Failed')
case 'interrupted':
- return 'Interrupted'
+ return trNow('Interrupted')
default:
return run.status.charAt(0).toUpperCase() + run.status.slice(1)
}
diff --git a/apps/desktop/src/renderer/views/settings/ApprovalSheet.tsx b/apps/desktop/src/renderer/views/settings/ApprovalSheet.tsx
index b876afdb..439110c5 100644
--- a/apps/desktop/src/renderer/views/settings/ApprovalSheet.tsx
+++ b/apps/desktop/src/renderer/views/settings/ApprovalSheet.tsx
@@ -43,23 +43,23 @@ export function ApprovalSheet({ approval }: { approval: Approval }) {
<Icon name={deviceIcon(request.platform)} size={40} weight="light" color="var(--secondary)" />
<VStack align="center" gap={4}>
<Text as="div" size="title3" weight="semibold" className="settings-centered">
- {request.deviceName} wants to use {approval.store.hostName}
+ {tr('{name} wants to use {other}').replaceAll('{other}', () => approval.store.hostName).replaceAll('{name}', () => request.deviceName)}
</Text>
- {request.email ? <Text as="div" size="callout" tone="secondary">Signed in as {request.email}</Text> : null}
+ {request.email ? <Text as="div" size="callout" tone="secondary">{tr('Signed in as {email}').split('{email}').join(request.email)}</Text> : null}
</VStack>
{request.code ? (
<>
- <Text as="div" size={48} weight="semibold" mono tone="text" className="selectable settings-appear" aria-label={`Code ${request.code.split('').join(' ')}`}>
+ <Text as="div" size={48} weight="semibold" mono tone="text" className="selectable settings-appear" aria-label={tr('Code {value}').replaceAll('{value}', request.code.split('').join(' '))}>
{spacedCode(request.code)}
</Text>
<Text as="div" size="callout" tone="secondary" className="settings-centered">
- Approve only if {request.deviceName} shows exactly this code. If it doesn't, deny: someone may be trying to get in.
+ {tr("Approve only if {name} shows exactly this code. If it doesn't, deny: someone may be trying to get in.").replaceAll('{name}', () => request.deviceName)}
</Text>
</>
) : (
<>
<Spinner />
- <Text as="div" size="callout" tone="secondary">Waiting for {request.deviceName} to show its code…</Text>
+ <Text as="div" size="callout" tone="secondary">{tr('Waiting for {name} to show its code…').replaceAll('{name}', () => request.deviceName)}</Text>
</>
)}
<Reveal show={error !== null}>
diff --git a/apps/desktop/src/renderer/views/settings/AuthorizedDevicesSection.tsx b/apps/desktop/src/renderer/views/settings/AuthorizedDevicesSection.tsx
index 551fd3e2..ba3a9087 100644
--- a/apps/desktop/src/renderer/views/settings/AuthorizedDevicesSection.tsx
+++ b/apps/desktop/src/renderer/views/settings/AuthorizedDevicesSection.tsx
@@ -80,8 +80,9 @@ export function AuthorizedDevicesSection({ store }: { store: BotStore }) {
function deviceDetail(device: AuthorizedDevice, tr: (text: string) => string) {
const paired = device.source === 'account' ? 'Approved through the account' : 'Paired with a QR code'
- if (device.connected) return tr(`${paired} · connected`)
+ // Two phrases, not a `{paired} · connected` key: as a template it would also match the routine notice `Routine · connected`.
+ if (device.connected) return `${tr(paired)} · ${tr('connected')}`
if (!device.lastSeenAt) return tr(paired)
const when = relativeDay(new Date(device.lastSeenAt))
- return tr(`${paired} · seen {when}`).replaceAll('{when}', when === 'Yesterday' ? tr('Yesterday') : when)
+ return tr('{paired} · seen {when}').replaceAll('{paired}', () => tr(paired)).replaceAll('{when}', () => when === 'Yesterday' ? tr('Yesterday') : when)
}
diff --git a/apps/desktop/src/renderer/views/settings/ComputersView.tsx b/apps/desktop/src/renderer/views/settings/ComputersView.tsx
index 9d18df32..59588361 100644
--- a/apps/desktop/src/renderer/views/settings/ComputersView.tsx
+++ b/apps/desktop/src/renderer/views/settings/ComputersView.tsx
@@ -93,7 +93,7 @@ export function ComputersView() {
message={removingOlder
? tr("It's an earlier identity of {name} and can't be reached anymore. Removing it only cleans up your account.").replaceAll('{name}', removing.name)
// Offline may only mean asleep: removal unclaims it, and its own app won't add it back by itself.
- : `${devicesLoseAccess(tr, account.user?.email)} ${tr('Access comes back only when you add {name} to the account again on {name} itself.').replaceAll('{name}', removing?.name ?? 'a computer')}`}
+ : `${devicesLoseAccess(tr, account.user?.email)} ${tr('Access comes back only when you add {name} to the account again on {name} itself.').replaceAll('{name}', () => removing?.name ?? tr('a computer'))}`}
actions={removing ? [{ title: 'Remove', destructive: true, action: () => void cloud.removeFromAccount(removing.computerId) }] : []}
onClose={() => setRemoving(null)}
/>
@@ -365,9 +365,9 @@ function SSHProfileEditor({ profile: initial, isNew }: { profile: SSHProfile; is
const save = async () => {
const isInt = (s: string) => /^-?\d+$/.test(s)
const portText = port.trim()
- if (portText && !isInt(portText)) return setProblem('The SSH port must be a number.')
+ if (portText && !isInt(portText)) return setProblem(tr('The SSH port must be a number.'))
const remote = remotePort.trim()
- if (!isInt(remote)) return setProblem('The Codync port must be a number.')
+ if (!isInt(remote)) return setProblem(tr('The Codync port must be a number.'))
const u = user.trim()
const p: SSHProfile = {
...profile,
@@ -392,15 +392,15 @@ function SSHProfileEditor({ profile: initial, isNew }: { profile: SSHProfile; is
return (
// Return in a field saves (the default action).
<VStack className="settings-ssh-editor" onKeyDown={(e) => e.key === 'Enter' && e.target instanceof HTMLInputElement && void save()}>
- <ModalHeader icon="terminal" title={isNew ? 'Add SSH computer' : 'Edit SSH computer'} trailing={<IconButton title={isNew ? 'Add' : 'Save'} icon="checkmark" onClick={() => void save()} />} />
+ <ModalHeader icon="terminal" title={tr(isNew ? 'Add SSH computer' : 'Edit SSH computer')} trailing={<IconButton title={tr(isNew ? 'Add' : 'Save')} icon="checkmark" onClick={() => void save()} />} />
<VStack gap={16} className="settings-ssh-editor-body">
<CardSection>
- {field('Name', profile.name, (name) => setProfile({ ...profile, name }), 'Optional')}
- {field('Host', profile.host, (host) => setProfile({ ...profile, host }), 'SSH alias or hostname')}
- {field('User', user, setUser, 'From SSH config')}
- {field('SSH port', port, setPort, 'From SSH config')}
+ {field('Name', profile.name, (name) => setProfile({ ...profile, name }), tr('Optional'))}
+ {field(tr('Host'), profile.host, (host) => setProfile({ ...profile, host }), tr('SSH alias or hostname'))}
+ {field(tr('User'), user, setUser, tr('From SSH config'))}
+ {field(tr('SSH port'), port, setPort, tr('From SSH config'))}
<div className="settings-row">
- <span>Key</span>
+ <span>{tr('Key')}</span>
<Spacer />
<Text tone="secondary">{profile.identityFile?.split(/[\\/]/).pop() ?? tr(`ssh-agent / SSH config`)}</Text>
<IconButton
@@ -414,7 +414,7 @@ function SSHProfileEditor({ profile: initial, isNew }: { profile: SSHProfile; is
</HStack>
) : null}
</div>
- {field('Codync port', remotePort, setRemotePort, '')}
+ {field(tr('Codync port'), remotePort, setRemotePort, '')}
</CardSection>
<Text size="caption" tone="secondary">
{tr(`Codync opens an SSH tunnel to codync-host on that computer's loopback. It uses your SSH config and ssh-agent; agent forwarding stays off.`)}
diff --git a/apps/desktop/src/renderer/views/settings/SettingsView.tsx b/apps/desktop/src/renderer/views/settings/SettingsView.tsx
index a1d31dc5..64f889ea 100644
--- a/apps/desktop/src/renderer/views/settings/SettingsView.tsx
+++ b/apps/desktop/src/renderer/views/settings/SettingsView.tsx
@@ -108,7 +108,7 @@ function PageContent({ page }: { page: SettingsPage }) {
</StoreContext.Provider>
) : (
<CardForm>
- <Text tone="secondary">{tr(isMac ? "Voice keys are kept by This Mac's host, which isn't running." : `Voice keys are kept by ${thisMac}'s host, which isn't running.`)}</Text>
+ <Text tone="secondary">{tr(isMac ? "Voice keys are kept by This Mac's host, which isn't running." : "Voice keys are kept by {computer}'s host, which isn't running.").replaceAll('{computer}', () => thisMac)}</Text>
</CardForm>
)
case 'usage':
@@ -286,6 +286,7 @@ function UsageLimitsList() {
/** The app's update check and preferences, the same as the menu bar's Updates menu. */
function UpdateSettings() {
+ const tr = useTr()
const updates = useUpdates()
if (!updates) return null
const footer = updates.supported ? null : 'Updates are available in release builds.'
@@ -305,7 +306,7 @@ function UpdateSettings() {
...(updates.downloadPercent !== null
? [
<div key="progress" className="settings-row settings-appear">
- <ProgressBar value={updates.downloadPercent / 100} label={`Downloading Codync ${updates.availableVersion ?? ''}`} />
+ <ProgressBar value={updates.downloadPercent / 100} label={tr('Downloading Codync {version}').replaceAll('{version}', () => updates.availableVersion ?? '')} />
</div>,
]
: []),
diff --git a/apps/desktop/src/renderer/views/settings/VoiceChatSettingsView.tsx b/apps/desktop/src/renderer/views/settings/VoiceChatSettingsView.tsx
index 0f9ec657..eb1a3f45 100644
--- a/apps/desktop/src/renderer/views/settings/VoiceChatSettingsView.tsx
+++ b/apps/desktop/src/renderer/views/settings/VoiceChatSettingsView.tsx
@@ -119,7 +119,7 @@ function ProviderVoiceSettings({ provider, dictationOnly = false }: { provider:
const transcribes = dictationOnly || speechMode || dictationEngine === provider
const hasKey = saved === true
const canEditKey = store.client?.transport instanceof LoopbackTransport
- const notConnected = { ok: false, text: `Not connected to ${store.hostName}.` }
+ const notConnected = { ok: false, text: tr('Not connected to {name}.').replaceAll('{name}', () => store.hostName) }
const loadModels = async (client: HostClient) => {
let list: VoiceModels
@@ -192,13 +192,13 @@ function ProviderVoiceSettings({ provider, dictationOnly = false }: { provider:
if (dictationOnly) await voice.voiceModels(client, provider)
else if (speechMode) await voice.voiceSpeak(client, provider, speechModel, chosenVoice, 'OK')
else await voice.voiceSession(client, provider, model, chosenVoice)
- setResult({ ok: true, text: 'Key works' })
+ setResult({ ok: true, text: tr('Key works') })
} else {
if (!(client.transport instanceof LoopbackTransport)) return
setSaved(voice.configured(await voice.setVoiceKey(client, provider, typed), provider))
setKey('')
setReplacing(false)
- setResult({ ok: true, text: `Key works and is saved on ${store.hostName}` })
+ setResult({ ok: true, text: tr('Key works and is saved on {name}').replaceAll('{name}', () => store.hostName) })
}
await loadModels(client)
})
@@ -220,7 +220,7 @@ function ProviderVoiceSettings({ provider, dictationOnly = false }: { provider:
const dimmed = hasKey ? 'settings-dimmable' : 'settings-dimmable dimmed'
let footer: string | null = null
if (!hasKey) footer = `Add a key to choose from ${info.name}'s models.`
- else if (dictationOnly) footer = 'For dictation in the message box.'
+ else if (dictationOnly) footer = tr('For dictation in the message box.')
const keyArea = (
<VStack key="key" gap={8}>
{hasKey && !replacing ? (
@@ -229,7 +229,7 @@ function ProviderVoiceSettings({ provider, dictationOnly = false }: { provider:
<Icon name="key.fill" size={13} color="var(--secondary)" />
<VStack grow className="settings-stack">
<Text tone="text" truncate>{tr(`Key saved`)}</Text>
- <Text size="caption" tone="tertiary" truncate>Stays on {store.hostName}</Text>
+ <Text size="caption" tone="tertiary" truncate>{tr('Stays on {name}').replaceAll('{name}', () => store.hostName)}</Text>
</VStack>
{busy ? (
<Spinner />
@@ -245,8 +245,8 @@ function ProviderVoiceSettings({ provider, dictationOnly = false }: { provider:
</div>
) : !canEditKey ? (
<VStack gap={4} className="settings-row">
- <Text>No {info.name} key on {store.hostName}</Text>
- <Text size="footnote" tone="secondary">Add it in Codync on {store.hostName}: Settings → Voice chat, or connect to that computer over SSH.</Text>
+ <Text>{tr('No {name} key on {other}').replaceAll('{name}', () => info.name).replaceAll('{other}', () => store.hostName)}</Text>
+ <Text size="footnote" tone="secondary">{tr('Add it in Codync on {name}: Settings → Voice chat, or connect to that computer over SSH.').replaceAll('{name}', () => store.hostName)}</Text>
</VStack>
) : (
// Paste a key; the computer checks it with the provider before keeping it.
@@ -273,7 +273,7 @@ function ProviderVoiceSettings({ provider, dictationOnly = false }: { provider:
</HStack>
<Text as="div" size="footnote" className="settings-row">
<button className="settings-link" onClick={() => window.codync.app.openExternal(info.keyPage)}>
- Get a key from {info.name}
+ {tr('Get a key from {name}').replaceAll('{name}', () => info.name)}
</button>
<Spacer />
{replacing ? (
@@ -300,13 +300,13 @@ function ProviderVoiceSettings({ provider, dictationOnly = false }: { provider:
{[
keyArea,
...(transcribes
- ? [<div key="stt" className={dimmed}><ValueRow label="Speech to text">{picker(transcribeModel, models.transcribe, pick('transcribe', setTranscribeModel))}</ValueRow></div>]
+ ? [<div key="stt" className={dimmed}><ValueRow label={tr('Speech to text')}>{picker(transcribeModel, models.transcribe, pick('transcribe', setTranscribeModel))}</ValueRow></div>]
: []),
...(dictationOnly
? []
: [
speechMode
- ? <div key="tts" className={dimmed}><ValueRow label="Text to speech">{picker(speechModel, models.speech, pick('speech', setSpeechModel))}</ValueRow></div>
+ ? <div key="tts" className={dimmed}><ValueRow label={tr('Text to speech')}>{picker(speechModel, models.speech, pick('speech', setSpeechModel))}</ValueRow></div>
: <div key="model" className={dimmed}><ValueRow label="Model">{picker(model, models.models, pick('realtime', setModel))}</ValueRow></div>,
<div key="voice" className={dimmed}>
<ValueRow label="Voice">
@@ -321,7 +321,7 @@ function ProviderVoiceSettings({ provider, dictationOnly = false }: { provider:
</ValueRow>
</div>,
<div key="minutes" className={dimmed}>
- <ValueRow label="This month">≈ {voice.voiceMinutes(provider)} min</ValueRow>
+ <ValueRow label={tr('This month')}>{tr('≈ {minutes} min').replaceAll('{minutes}', () => String(voice.voiceMinutes(provider)))}</ValueRow>
</div>,
]),
]}
diff --git a/apps/desktop/src/renderer/views/thread/BotConversation.tsx b/apps/desktop/src/renderer/views/thread/BotConversation.tsx
index 1aaf296a..58e7ca52 100644
--- a/apps/desktop/src/renderer/views/thread/BotConversation.tsx
+++ b/apps/desktop/src/renderer/views/thread/BotConversation.tsx
@@ -44,6 +44,7 @@ interface Peer {
/** The pair a conversation is between, for its header: the chat's own bot, then its peer. */
function BotPair({ botId, peer }: { botId: string; peer: Peer }) {
+ const tr = useTr()
const store = useStore()
const name = (id: string) => store.authorName(id, id === peer.id ? peer.name : undefined)
const label = (id: string) => (
@@ -53,7 +54,7 @@ function BotPair({ botId, peer }: { botId: string; peer: Peer }) {
</HStack>
)
return (
- <HStack as="span" gap={8} aria-label={`${name(botId)} and ${name(peer.id)}`}>
+ <HStack as="span" gap={8} aria-label={tr('{name} and {other}').replaceAll('{name}', () => name(botId)).replaceAll('{other}', () => name(peer.id))}>
{label(botId)}
<Icon name="arrow.left.arrow.right" size={11} color="var(--tertiary)" />
{label(peer.id)}
@@ -92,6 +93,7 @@ export function BotConversationView({ botId, peerId }: { botId: string; peerId:
}
function ConversationRow({ row, peer }: { row: BotConversationRow; peer: Peer }) {
+ const tr = useTr()
const store = useStore()
const name = (id: string) => store.authorName(id, id === peer.id ? peer.name : undefined)
switch (row.kind) {
@@ -112,7 +114,7 @@ function ConversationRow({ row, peer }: { row: BotConversationRow; peer: Peer })
)
case 'status': {
const failed = row.outcome.kind === 'failed'
- const text = row.outcome.kind === 'failed' ? row.outcome.detail || "Didn't complete." : `Waiting for ${name(row.awaiting)}…`
+ const text = row.outcome.kind === 'failed' ? row.outcome.detail || tr("Didn't complete.") : tr('Waiting for {name}…').replaceAll('{name}', () => name(row.awaiting))
return <Text as="div" size="footnote" tone={failed ? 'danger' : 'secondary'} className="selectable bot-conversation-status">{text}</Text>
}
}
diff --git a/apps/desktop/src/renderer/views/thread/ChatSidePanel.tsx b/apps/desktop/src/renderer/views/thread/ChatSidePanel.tsx
index 993a1dd6..298cca25 100644
--- a/apps/desktop/src/renderer/views/thread/ChatSidePanel.tsx
+++ b/apps/desktop/src/renderer/views/thread/ChatSidePanel.tsx
@@ -1,6 +1,7 @@
import { useRef, type ReactNode } from 'react'
import { ResizeHandle } from '../../components/Controls'
import { usePresence } from '../../components/Overlay'
+import { useTr } from '../../lib/use-language'
/**
* The panel beside the conversation. The conversation takes its new width at once (one layout,
@@ -16,6 +17,7 @@ export function ChatSidePanel({ open, width, min, max, onResize, children }: {
onResize: (width: number) => void
children: ReactNode
}) {
+ const tr = useTr()
// Animate explicit open/close actions without animating the initial mount.
const { mounted, shown } = usePresence(open, 300, false)
const last = useRef({ width, children })
@@ -28,7 +30,7 @@ export function ChatSidePanel({ open, width, min, max, onResize, children }: {
<div className="side-panel-slot" style={{ width: open ? panelWidth : 0 }} />
{mounted ? (
<div className="side-panel" inert={!open} style={{ width: panelWidth, right: shown ? 0 : -panelWidth }}>
- <ResizeHandle label="Resize panel" width={content.width} min={min} max={max} edge="leading" onResize={onResize} />
+ <ResizeHandle label={tr('Resize panel')} width={content.width} min={min} max={max} edge="leading" onResize={onResize} />
<div className="side-panel-content" style={{ width: content.width }}>{content.children}</div>
</div>
) : null}
diff --git a/apps/desktop/src/renderer/views/thread/CommandMenu.tsx b/apps/desktop/src/renderer/views/thread/CommandMenu.tsx
index 27536730..9749e83e 100644
--- a/apps/desktop/src/renderer/views/thread/CommandMenu.tsx
+++ b/apps/desktop/src/renderer/views/thread/CommandMenu.tsx
@@ -53,7 +53,7 @@ export function CommandMenu({ commands, index, hover, pick }: {
if (!mounted) return null
return (
<div className={`command-menu ${shown ? 'shown' : ''}`} inert={!open}>
- <div className="menu-panel" role="listbox" aria-label="Commands">
+ <div className="menu-panel" role="listbox" aria-label={tr('Commands')}>
{list.map((c, i) => (
<button
key={`${c.action.kind}:${c.name}`}
diff --git a/apps/desktop/src/renderer/views/thread/Composer.tsx b/apps/desktop/src/renderer/views/thread/Composer.tsx
index 972c2c48..7a765f4c 100644
--- a/apps/desktop/src/renderer/views/thread/Composer.tsx
+++ b/apps/desktop/src/renderer/views/thread/Composer.tsx
@@ -158,7 +158,7 @@ function DestinationComposer({ botId, reply, about, cancelReply, onCall, onInter
const accepted: OutgoingFile[] = []
for (const f of incoming) {
if (f.data.length > MAX_FILE_SIZE) {
- store.setError(`${f.name} is larger than 100 MB.`)
+ store.setError(tr('{name} is larger than 100 MB.').replaceAll('{name}', () => f.name))
continue
}
accepted.push({ id: crypto.randomUUID(), name: f.name, data: f.data })
@@ -184,8 +184,8 @@ function DestinationComposer({ botId, reply, about, cancelReply, onCall, onInter
const trailing: Trailing = onInterrupt && !draft && !files.length ? 'interrupt' : working && !draft && !files.length ? 'stop' : onCall && !draft && !files.length ? 'call' : 'send'
const [symbol, label] = ({
interrupt: ['stop.fill', 'Interrupt'],
- stop: ['stop.fill', 'Stop'],
- call: ['waveform', 'Call'],
+ stop: ['stop.fill', tr('Stop')],
+ call: ['waveform', tr('Call')],
send: ['arrow.up', 'Send'],
} as const)[trailing]
const enabled = trailing !== 'send' || canSend
@@ -245,7 +245,7 @@ function DestinationComposer({ botId, reply, about, cancelReply, onCall, onInter
value={draft}
placeholder={placeholder}
spellCheck
- aria-label={reply ? 'Reply' : 'Message'}
+ aria-label={tr(reply ? 'Reply' : 'Message')}
aria-keyshortcuts="Enter Shift+Enter"
onCompositionStart={() => { composing.current = true }}
onCompositionEnd={() => { composing.current = false }}
diff --git a/apps/desktop/src/renderer/views/thread/ComposerAttachment.tsx b/apps/desktop/src/renderer/views/thread/ComposerAttachment.tsx
index 5af82585..d9932ffe 100644
--- a/apps/desktop/src/renderer/views/thread/ComposerAttachment.tsx
+++ b/apps/desktop/src/renderer/views/thread/ComposerAttachment.tsx
@@ -4,12 +4,14 @@ import { Icon } from '../../components/Icon'
import { Text } from '../../components/Text'
import type { OutgoingFile } from '../../store/bot-store'
import { attachmentSymbol } from './Attachments'
+import { useTr } from '../../lib/use-language'
/**
* A local attachment, shown before it is sent: images as a whole-image thumbnail with the
* remove button in the corner, anything else (or an image that won't decode) as a name chip.
*/
export function ComposerAttachment({ file, remove }: { file: OutgoingFile; remove: () => void }) {
+ const tr = useTr()
const [url, setUrl] = useState<string | null>(null)
const [broken, setBroken] = useState(false)
@@ -22,7 +24,7 @@ export function ComposerAttachment({ file, remove }: { file: OutgoingFile; remov
if (url && !broken) {
return (
- <span className="attachment-tile" aria-label={`Image attachment: ${file.name}`} title={file.name}>
+ <span className="attachment-tile" aria-label={tr('Image attachment: {name}').replaceAll('{name}', () => file.name)} title={file.name}>
<img src={url} alt="" onError={() => setBroken(true)} />
<button className="press attachment-remove" aria-label={`Remove ${file.name}`} title="Remove" onClick={remove}>
<Icon name="xmark" size={11} weight="bold" color="#fff" />
diff --git a/apps/desktop/src/renderer/views/thread/DetailsPanel.tsx b/apps/desktop/src/renderer/views/thread/DetailsPanel.tsx
index 6c1ec0a2..fd5af646 100644
--- a/apps/desktop/src/renderer/views/thread/DetailsPanel.tsx
+++ b/apps/desktop/src/renderer/views/thread/DetailsPanel.tsx
@@ -130,14 +130,14 @@ function GroupMembersList({ group, editGroup }: { group: Bot; editGroup: () => v
<div className="details-members">
{store.members(group).map((bot) => (
<div key={bot.id} className="member-row removable">
- <button className="member-open press" title={`Open ${bot.name}'s own chat`} onClick={() => store.setSelection(bot.id)}>
+ <button className="member-open press" title={tr("Open {name}'s own chat").replaceAll('{name}', () => bot.name)} onClick={() => store.setSelection(bot.id)}>
<BotAvatar bot={bot} size={32} />
<VStack as="span" gap={1} grow>
<span className="member-name">{bot.name}</span>
{isWorking(bot) ? <Text size="compactSecondary" tone="secondary" className="member-name">{tr(bot.activity || 'Working…')}</Text> : null}
</VStack>
</button>
- {group.members.length > 1 ? <IconButton title={`Remove ${bot.name} from the group`} icon="xmark" onClick={() => store.removeMember(group, bot.id)} /> : null}
+ {group.members.length > 1 ? <IconButton title={tr('Remove {name} from the group').replaceAll('{name}', () => bot.name)} icon="xmark" onClick={() => store.removeMember(group, bot.id)} /> : null}
</div>
))}
<button className="member-row press" onClick={editGroup}>
diff --git a/apps/desktop/src/renderer/views/thread/DictationEngineMenu.tsx b/apps/desktop/src/renderer/views/thread/DictationEngineMenu.tsx
index 1b1388ec..1199daac 100644
--- a/apps/desktop/src/renderer/views/thread/DictationEngineMenu.tsx
+++ b/apps/desktop/src/renderer/views/thread/DictationEngineMenu.tsx
@@ -2,14 +2,16 @@ import { DropdownMenu } from '../../components/Controls'
import { Icon } from '../../components/Icon'
import { usePref } from '../../lib/prefs'
import { dictationEngine, engineOptions } from '../settings/voice-settings'
+import { useTr } from '../../lib/use-language'
/** Beside the mic, in its capsule: which speech dictation uses, on-device or a provider on the user's own key. */
export function DictationEngineMenu() {
+ const tr = useTr()
const [engine, setEngine] = usePref(dictationEngine)
return (
<DropdownMenu
className="press composer-engine"
- title="Dictation engine"
+ title={tr('Dictation engine')}
items={() => engineOptions().map((e) => ({ title: e.label, selected: e.id === engine, action: () => setEngine(e.id) }))}
>
<Icon name="chevron.up" size={10} weight="semibold" />
diff --git a/apps/desktop/src/renderer/views/thread/FileDownloadCard.tsx b/apps/desktop/src/renderer/views/thread/FileDownloadCard.tsx
index 7ee0bf7c..176c1615 100644
--- a/apps/desktop/src/renderer/views/thread/FileDownloadCard.tsx
+++ b/apps/desktop/src/renderer/views/thread/FileDownloadCard.tsx
@@ -7,11 +7,12 @@ import { IconButtonBase } from '../../components/Overlay'
import { HStack, VStack } from '../../components/Stack'
import { Text } from '../../components/Text'
import { AttachmentImage, AttachmentViewer, attachmentSymbol, byteCount, type ImageSource } from './Attachments'
+import { trNow } from '../../lib/l10n.ts'
import './attachments.css'
/** What the download button does now (also the Library's file rows). */
export function downloadAction(state: DownloadState | undefined) {
- return state?.kind === 'downloading' ? 'Cancel download' : state?.kind === 'failed' ? 'Retry download' : state?.kind === 'saved' ? 'Save again' : 'Download'
+ return state?.kind === 'downloading' ? trNow('Cancel download') : state?.kind === 'failed' ? trNow('Retry download') : state?.kind === 'saved' ? trNow('Save again') : trNow('Download')
}
/** The line under a shared file's name: its size, the download's progress, or what went wrong. */
diff --git a/apps/desktop/src/renderer/views/thread/HandoffNotice.tsx b/apps/desktop/src/renderer/views/thread/HandoffNotice.tsx
index 374f03ea..f553ec04 100644
--- a/apps/desktop/src/renderer/views/thread/HandoffNotice.tsx
+++ b/apps/desktop/src/renderer/views/thread/HandoffNotice.tsx
@@ -77,7 +77,7 @@ export function HandoffNotice({ entry, card }: { entry: Entry; card: HandoffCard
/>
<CardForm>
<CardSection footer="Your next message starts a fresh conversation that begins with this.">
- <Field value={draft} onChange={setDraft} label="Handoff" lines={[10, 24]} mono />
+ <Field value={draft} onChange={setDraft} label={tr('Handoff')} lines={[10, 24]} mono />
</CardSection>
</CardForm>
</SheetPage>}
diff --git a/apps/desktop/src/renderer/views/thread/PermissionCard.tsx b/apps/desktop/src/renderer/views/thread/PermissionCard.tsx
index 67971fe0..60a26e28 100644
--- a/apps/desktop/src/renderer/views/thread/PermissionCard.tsx
+++ b/apps/desktop/src/renderer/views/thread/PermissionCard.tsx
@@ -6,24 +6,25 @@ import { HStack, VStack } from '../../components/Stack'
import { Text } from '../../components/Text'
import './permission-card.css'
import { useTr } from '../../lib/use-language'
+import { trNow } from '../../lib/l10n.ts'
/** What the agent wants, from the tool's kind (also the notch island's headline). */
export const permissionHeadline = (toolKind?: string) => {
switch (toolKind) {
case 'execute':
- return 'Wants to run a command'
+ return trNow('Wants to run a command')
case 'edit':
case 'delete':
case 'move':
- return 'Wants to change files'
+ return trNow('Wants to change files')
case 'fetch':
- return 'Wants to access the web'
+ return trNow('Wants to access the web')
case 'read':
case 'search':
- return 'Wants to read files'
+ return trNow('Wants to read files')
default:
- return 'Wants to use a tool'
+ return trNow('Wants to use a tool')
}
}
@@ -35,13 +36,13 @@ export const sortedOptions = (options: PermissionOption[]) => [...options].sort(
export function optionLabel(o: PermissionOption) {
switch (o.kind) {
case 'allow_once':
- return 'Allow once'
+ return trNow('Allow once')
case 'allow_always':
- return 'Always allow'
+ return trNow('Always allow')
case 'reject_once':
return 'Deny'
case 'reject_always':
- return 'Never'
+ return trNow('Never')
default:
return o.name
}
@@ -68,7 +69,7 @@ export function PermissionCard({ entry, hostName, answering, respond }: { entry:
</Text>
<HStack gap={6}>
<Icon name="desktopcomputer" size={10} color="var(--tertiary)" />
- <Text size="caption" tone="tertiary">{`Runs on ${hostName}${cwd}`}</Text>
+ <Text size="caption" tone="tertiary">{tr('Runs on {name}{path}').replaceAll('{name}', () => hostName).replaceAll('{path}', () => cwd)}</Text>
</HStack>
{hasDetail ? (
<Disclosure expanded={expanded} onToggle={() => setExpanded((e) => !e)} label={<Text size="caption" weight="medium" tone="secondary">{tr(`Details`)}</Text>}>
@@ -110,21 +111,21 @@ function outcome(entry: Entry) {
const chosen = d.options?.find((o) => o.optionId === d.selected)
switch (chosen?.kind) {
case 'allow_once':
- return 'Allowed once'
+ return trNow('Allowed once')
case 'allow_always':
- return 'Always allowed'
+ return trNow('Always allowed')
case 'reject_once':
- return 'Denied'
+ return trNow('Denied')
case 'reject_always':
- return 'Never allowed'
+ return trNow('Never allowed')
default:
- return chosen?.name ?? 'Answered'
+ return chosen?.name ?? trNow('Answered')
}
}
case 'cancelled':
return 'Cancelled'
default:
- return 'Expired — the agent moved on'
+ return trNow('Expired — the agent moved on')
}
}
diff --git a/apps/desktop/src/renderer/views/thread/RoutineNotice.tsx b/apps/desktop/src/renderer/views/thread/RoutineNotice.tsx
index 0f6f9695..c349ae33 100644
--- a/apps/desktop/src/renderer/views/thread/RoutineNotice.tsx
+++ b/apps/desktop/src/renderer/views/thread/RoutineNotice.tsx
@@ -7,8 +7,8 @@ import { useStore } from '../../store/context'
/** A routine's line in the chat, which opens the routine; a failed run the user can run again has a retry button. */
export function RoutineNotice({ entry, open }: { entry: Entry; open: () => void }) {
- const store = useStore()
const tr = useTr()
+ const store = useStore()
const retrying = store.answering.has(entry.id)
return (
<HStack gap={4} justify="center">
diff --git a/apps/desktop/src/renderer/views/thread/ThreadView.tsx b/apps/desktop/src/renderer/views/thread/ThreadView.tsx
index 45370bc3..7552520d 100644
--- a/apps/desktop/src/renderer/views/thread/ThreadView.tsx
+++ b/apps/desktop/src/renderer/views/thread/ThreadView.tsx
@@ -43,6 +43,7 @@ const WIDE = 740
* calls and thinking live in the "Full conversation" sheet. Replying to a message quotes it in the composer.
*/
export const ThreadView = memo(function ThreadView({ botId }: { botId: string }) {
+ const tr = useTr()
const store = useStore()
const bot = store.bots.get(botId) ?? null
const [showTrace, setShowTrace] = useState(false)
@@ -168,7 +169,7 @@ export const ThreadView = memo(function ThreadView({ botId }: { botId: string })
) : null}
</div>
{/* The call bar takes the pill's place; its frosted glass would show the name blurred. */}
- <button className={`title-pill ${calling ? 'hidden-by-call' : ''}`} inert={calling} onClick={toggleDetails} aria-label={`${bot?.name ?? 'Conversation'}, view details`} title="View conversation details">
+ <button className={`title-pill ${calling ? 'hidden-by-call' : ''}`} inert={calling} onClick={toggleDetails} aria-label={tr('{name}, view details').replaceAll('{name}', () => bot?.name ?? tr('Conversation'))} title="View conversation details">
<HStack as="span" gap={7}>
{bot ? isGroup(bot) ? <GroupAvatar members={store.members(bot)} size={22} /> : <BotAvatar bot={bot} size={22} /> : null}
<Text size="body" weight="medium" tone="text" truncate>{bot?.name ?? ''}</Text>
@@ -264,7 +265,7 @@ function ConnectionSubtitle() {
return 'Not paired'
}
if (store.mismatch) return 'Needs update'
- return store.hostRoute === 'relay' ? connectedThrough(store.computer.cloud) : store.hostRoute === 'direct' ? 'Connected over Wi-Fi or Tailscale' : store.hostRoute === 'loopback' ? 'Connected locally' : 'Connected'
+ return store.hostRoute === 'relay' ? connectedThrough(store.computer.cloud) : store.hostRoute === 'direct' ? tr('Connected over Wi-Fi or Tailscale') : store.hostRoute === 'loopback' ? tr('Connected locally') : 'Connected'
})()
const spoken = tr(description)
return (
@@ -367,7 +368,7 @@ const Transcript = memo(function Transcript({ botId, openTrace, onReply, openRou
className="transcript"
ref={scroller}
role="log"
- aria-label="Messages"
+ aria-label={tr('Messages')}
onScroll={(e) => {
const el = e.currentTarget
const atEnd = el.scrollHeight - el.scrollTop - el.clientHeight < 8
diff --git a/apps/desktop/src/renderer/views/thread/TraceView.tsx b/apps/desktop/src/renderer/views/thread/TraceView.tsx
index b58dab6b..fafcfc9a 100644
--- a/apps/desktop/src/renderer/views/thread/TraceView.tsx
+++ b/apps/desktop/src/renderer/views/thread/TraceView.tsx
@@ -40,7 +40,7 @@ export function TraceView({ botId }: { botId: string }) {
{sorted.map(([turn, entries]) => (
<VStack key={turn} gap={8}>
<Text as="div" size="compactSecondary" weight="semibold" tone="text" truncate className="trace-turn-title">
- {entries.find((e) => e.kind === 'user')?.data.text ?? tr('Turn {turn}').replaceAll('{turn}', String(turn))}
+ {entries.find((e) => e.kind === 'user')?.data.text ?? tr('Turn {turn}').replaceAll('{turn}', () => String(turn))}
</Text>
<CardSection>
{entries.map((e) => (
@@ -127,7 +127,7 @@ export function TraceRow({ entry, unfolded }: { entry: Entry; unfolded: boolean
case 'permission':
return (
<Label icon={<Icon name="hand.raised" size={11} color="var(--secondary)" />} tone="secondary">
- {d.title ?? 'Approval'}
+ {d.title ?? tr('Approval')}
</Label>
)
case 'notice':
diff --git a/apps/desktop/src/renderer/views/thread/bot-exchange.ts b/apps/desktop/src/renderer/views/thread/bot-exchange.ts
index c3e04316..6e05d901 100644
--- a/apps/desktop/src/renderer/views/thread/bot-exchange.ts
+++ b/apps/desktop/src/renderer/views/thread/bot-exchange.ts
@@ -1,4 +1,5 @@
import { isChat, type Entry, type BotMessage } from '../../../shared/models.ts'
+import { trNow } from '../../lib/l10n.ts'
/** How a bot-to-bot message ended: still going, delivered, or it didn't complete. */
export type BotOutcome = { kind: 'pending' } | { kind: 'done' } | { kind: 'failed'; detail: string }
@@ -39,7 +40,7 @@ export function botExchange(e: Entry): BotExchange | null {
export const isOutgoing = (x: BotExchange) => x.chat === x.message.sourceBotId
export const peerOf = (x: BotExchange) => (isOutgoing(x) ? x.message.targetBotId : x.message.sourceBotId)
-export const verbOf = (x: BotExchange) => (isOutgoing(x) ? 'Messaged' : 'Message from')
+export const verbOf = (x: BotExchange) => (isOutgoing(x) ? trNow('Messaged') : trNow('Message from'))
/** A chat-visible entry; a run of same-peer bot exchanges is one slot at its first entry. */
export interface ChatSlot {
diff --git a/apps/desktop/src/renderer/views/thread/dictation-platform.ts b/apps/desktop/src/renderer/views/thread/dictation-platform.ts
index fd2bf122..117e31d9 100644
--- a/apps/desktop/src/renderer/views/thread/dictation-platform.ts
+++ b/apps/desktop/src/renderer/views/thread/dictation-platform.ts
@@ -5,6 +5,7 @@ import { useStoreRef } from '../../store/context'
import { countVoiceUsage, micPCM16k, onDeviceUnavailableReason, transcribeOnHost, VoiceSettings, wav } from '../call/voice'
import { configured, voiceStatus } from '../settings/voice-settings'
import { Dictation, type DictationPlatform } from './dictation'
+import { trNow } from '../../lib/l10n.ts'
/**
* Dictation's real surroundings: the speech helper and the microphone, and with `host` a provider
@@ -12,12 +13,13 @@ import { Dictation, type DictationPlatform } from './dictation'
*/
export function dictationPlatform(host: (() => Promise<HostClient>) | null = null, report: (message: string) => void = () => {}, configureKey: () => void = () => {}): DictationPlatform {
const client = async () => {
- if (!host) throw new Error('Dictating with a provider needs the chat window.')
+ if (!host) throw new Error(trNow('Dictating with a provider needs the chat window.'))
return host()
}
return {
speech: window.codync.speech.available ? window.codync.speech : null,
- noSpeech: onDeviceUnavailableReason(),
+ // Read when shown, so a language change since the window opened applies.
+ get noSpeech() { return onDeviceUnavailableReason() },
host: host !== null,
language: () => VoiceSettings.language() || null,
provider: VoiceSettings.dictationProvider,
diff --git a/apps/desktop/src/renderer/views/thread/dictation.ts b/apps/desktop/src/renderer/views/thread/dictation.ts
index 91580038..d6bf5e7d 100644
--- a/apps/desktop/src/renderer/views/thread/dictation.ts
+++ b/apps/desktop/src/renderer/views/thread/dictation.ts
@@ -3,6 +3,7 @@ import { VoiceKeyRouter, type VoiceKey } from '../../../shared/voice-shortcut.ts
import { Observable } from '../../lib/observable.ts'
import type { VoiceProvider } from '../settings/voice-settings.ts'
import { inOrder, joinDictated, MIN_SAMPLES, pieces } from './dictation-pieces.ts'
+import { trNow } from '../../lib/l10n.ts'
/** The running dictation: one recognizer at a time, and a call stops dictation first. */
let active: Dictation | null = null
@@ -104,7 +105,7 @@ export class Dictation extends Observable {
this.recording = { provider, pcm: [], stopMic: null }
return void this.record(this.recording, ++this.generation)
}
- if (!speech) return this.fail(`${this.platform.noSpeech} Pick OpenAI or Gemini beside the mic.`)
+ if (!speech) return this.fail(trNow('{error} Pick OpenAI or Gemini beside the mic.').replaceAll('{error}', () => this.platform.noSpeech))
this.off = speech.onEvent((e) => this.event(e))
speech.start(this.platform.language())
this.listen()
diff --git a/apps/ios/Kit/Sources/CodyncKit/L10n.swift b/apps/ios/Kit/Sources/CodyncKit/L10n.swift
index b1929b9f..e84c6ff0 100644
--- a/apps/ios/Kit/Sources/CodyncKit/L10n.swift
+++ b/apps/ios/Kit/Sources/CodyncKit/L10n.swift
@@ -212,7 +212,7 @@ public enum L10n {
}
private static let localizableSlots: Set<String> = [
- "{hint}", "{error}", "{setup}", "{kind}", "{when}", "{status}", "{reason}", "{shortcut}",
+ "{hint}", "{error}", "{setup}", "{kind}", "{when}", "{status}", "{reason}", "{shortcut}", "{changes}",
]
private static func fill(
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json
index b85daed5..ebd97bd5 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/de.json
@@ -1526,5 +1526,261 @@
"↵ sign in instead of the token": "↵ anmelden statt Token",
"Code {code} copied: paste it at {url}, then Enter checks. Ctrl+X cancels.": "Code {code} kopiert: auf {url} einfügen, dann mit Enter prüfen. Ctrl+X bricht ab.",
"Show agent logos": "Agent-Logos anzeigen",
- "Marks each bot with its agent's logo when your bots use more than one agent.": "Zeigt bei jedem Bot das Logo seines Agenten, wenn deine Bots mehr als einen Agenten nutzen."
+ "Marks each bot with its agent's logo when your bots use more than one agent.": "Zeigt bei jedem Bot das Logo seines Agenten, wenn deine Bots mehr als einen Agenten nutzen.",
+ " · archived": " · archiviert",
+ " · undone": " · rückgängig gemacht",
+ ", over the {cap} cap": ", über dem Limit von {cap}",
+ "A deleted bot": "Gelöschter Bot",
+ "A persistent workspace allocated for this bot": "Dauerhafter Arbeitsbereich für diesen Bot",
+ "About {name}": "Über {name}",
+ "Add it in Codync on {name}: Settings → Voice chat, or connect to that computer over SSH.": "Füge es in Codync auf {name} hinzu: Einstellungen → Sprachchat, oder verbinde dich über SSH mit diesem Computer.",
+ "Add it to let bots use these instructions.": "Füge sie hinzu, damit Bots diese Anweisungen nutzen können.",
+ "Add {name}": "{name} hinzufügen",
+ "Added to {name}": "Zu {name} hinzugefügt",
+ "After five quiet minutes or eight messages, or once memory is nearly full, the bot reads what you said since its last run and updates its memory.": "Nach fünf ruhigen Minuten oder acht Nachrichten oder sobald der Speicher fast voll ist, liest der Bot, was du seit seinem letzten Lauf geschrieben hast, und aktualisiert sein Gedächtnis.",
+ "Allow once": "Einmal erlauben",
+ "Allow the microphone for Codync in Settings to talk to your bots.": "Erlaube Codync in den Einstellungen den Mikrofonzugriff, um mit deinen Bots zu sprechen.",
+ "Allowed once": "Einmal erlaubt",
+ "Always allow": "Immer erlauben",
+ "Always allowed": "Immer erlaubt",
+ "Answered": "Beantwortet",
+ "Approval": "Genehmigung",
+ "Approve only if {name} shows exactly this code. If it doesn't, deny: someone may be trying to get in.": "Genehmige nur, wenn {name} genau diesen Code anzeigt. Wenn nicht, lehne ab: Jemand könnte versuchen, sich Zugang zu verschaffen.",
+ "Black": "Schwarz",
+ "Blue": "Blau",
+ "Bots read these before using the skill.": "Bots lesen diese Hinweise, bevor sie den Skill verwenden.",
+ "Brown": "Braun",
+ "Call": "Anruf",
+ "Can't listen": "Kann nicht hören",
+ "Can't reach your computer. Is it on and connected to the internet?": "Dein Computer ist nicht erreichbar. Ist er eingeschaltet und mit dem Internet verbunden?",
+ "Cancel download": "Download abbrechen",
+ "Cancelled": "Abgebrochen",
+ "Code {value}": "Code {value}",
+ "Codync port": "Codync-Port",
+ "Codync runs your coding agents through the host, a small background service on this {device}.": "Codync führt deine Coding-Agenten über den Host aus, einen kleinen Hintergrunddienst auf diesem {device}.",
+ "Commands": "Befehle",
+ "Computers, {filter}. Filter conversations": "Computer, {filter}. Unterhaltungen filtern",
+ "Connect to this computer to download the file": "Verbinde dich mit diesem Computer, um die Datei herunterzuladen",
+ "Connect to this computer to load its models. You can still enter a model ID.": "Verbinde dich mit diesem Computer, um seine Modelle zu laden. Eine Modell-ID kannst du trotzdem eingeben.",
+ "Connect to this computer to open the artifact": "Verbinde dich mit diesem Computer, um das Artefakt zu öffnen",
+ "Connect to this computer to rename the artifact": "Verbinde dich mit diesem Computer, um das Artefakt umzubenennen",
+ "Connect to this computer to see its library": "Verbinde dich mit diesem Computer, um seine Bibliothek zu sehen",
+ "Connect to your computer to change its icons.": "Verbinde dich mit deinem Computer, um seine Symbole zu ändern.",
+ "Connect {name}": "{name} verbinden",
+ "Connected locally": "Lokal verbunden",
+ "Connection timed out": "Verbindung abgelaufen",
+ "Conversation": "Unterhaltung",
+ "Couldn't reach Gemini.": "Gemini ist nicht erreichbar.",
+ "Couldn't reach OpenAI.": "OpenAI ist nicht erreichbar.",
+ "Couldn't save the draft on this device. Your text is still here; keep this window open until you send or copy it.": "Der Entwurf konnte auf diesem Gerät nicht gespeichert werden. Dein Text ist noch da; lass dieses Fenster offen, bis du ihn sendest oder kopierst.",
+ "Couldn't start the call audio.": "Der Anrufton konnte nicht gestartet werden.",
+ "Create a bot in Codync to get started.": "Erstelle einen Bot in Codync, um loszulegen.",
+ "Create routine": "Routine erstellen",
+ "Cron": "Cron",
+ "Custom": "Benutzerdefiniert",
+ "Custom agent": "Eigener Agent",
+ "Cyan": "Türkis",
+ "Daily": "Täglich",
+ "Day": "Tag",
+ "Default · {name}": "Standard · {name}",
+ "Delete {name}?": "{name} löschen?",
+ "Deleted.": "Gelöscht.",
+ "Deliveries wait up to 72 hours while this computer is off. They pass through the Codync cloud, which can read them.": "Zustellungen warten bis zu 72 Stunden, solange dieser Computer aus ist. Sie laufen über die Codync-Cloud, die sie lesen kann.",
+ "Denied": "Abgelehnt",
+ "Dictate": "Diktieren",
+ "Dictating with a provider needs the chat window.": "Diktieren über einen Anbieter erfordert das Chatfenster.",
+ "Dictation engine": "Diktier-Engine",
+ "Didn't complete.": "Nicht abgeschlossen.",
+ "Download": "Herunterladen",
+ "Downloading Codync {version}": "Codync {version} wird heruntergeladen",
+ "Edit SSH computer": "SSH-Computer bearbeiten",
+ "Edit routine": "Routine bearbeiten",
+ "Ended with an error ({code}).": "Mit einem Fehler beendet ({code}).",
+ "Expired — the agent moved on": "Abgelaufen – der Agent ist weitergegangen",
+ "For dictation in the message box.": "Zum Diktieren im Nachrichtenfeld.",
+ "Fri": "Fr",
+ "Friday": "Freitag",
+ "From SSH config": "Aus der SSH-Konfiguration",
+ "Gemini ended the call.": "Gemini hat den Anruf beendet.",
+ "Gemini sent no session credential.": "Gemini hat keine Sitzungsdaten gesendet.",
+ "Get a key from {name}": "Hol dir einen Schlüssel von {name}",
+ "GitHub Star": "GitHub-Stern",
+ "Gray": "Grau",
+ "Green": "Grün",
+ "Handoff": "Übergabe",
+ "Hide key": "Schlüssel ausblenden",
+ "Host": "Host",
+ "Hourly": "Stündlich",
+ "Image attachment: {name}": "Bildanhang: {name}",
+ "Install host on this {device}": "Host auf diesem {device} installieren",
+ "Instruction": "Anweisung",
+ "Interrupt": "Unterbrechen",
+ "Interrupted": "Unterbrochen",
+ "Key": "Schlüssel",
+ "Key works": "Schlüssel funktioniert",
+ "Key works and is saved on {name}": "Schlüssel funktioniert und ist auf {name} gespeichert",
+ "Listening": "Höre zu",
+ "Local URL": "Lokale URL",
+ "Lost the connection to Gemini.": "Verbindung zu Gemini verloren.",
+ "Lost the connection to OpenAI.": "Verbindung zu OpenAI verloren.",
+ "Magenta": "Magenta",
+ "Message": "Nachricht",
+ "Message from": "Nachricht von",
+ "Message {name}": "{name} schreiben",
+ "Message {name}…": "{name} schreiben…",
+ "Messaged": "Geschrieben",
+ "Messages": "Nachrichten",
+ "Mon": "Mo",
+ "Monday": "Montag",
+ "More": "Mehr",
+ "Moved from the old memory": "Aus dem alten Gedächtnis übernommen",
+ "Mute": "Stummschalten",
+ "Muted": "Stummgeschaltet",
+ "Never": "Nie",
+ "Never allowed": "Nie erlaubt",
+ "No time zone matches “{query}”.": "Keine Zeitzone passt zu „{query}“.",
+ "No {name} key on {other}": "Kein {name}-Schlüssel auf {other}",
+ "Not connected to {name}.": "Nicht mit {name} verbunden.",
+ "On-device speech isn't available in this build.": "Spracherkennung auf dem Gerät ist in diesem Build nicht verfügbar.",
+ "Open {name} in Extensions to sign in.": "Öffne {name} unter Erweiterungen, um dich anzumelden.",
+ "Open {name}'s own chat": "Eigenen Chat von {name} öffnen",
+ "OpenAI sent no session credential.": "OpenAI hat keine Sitzungsdaten gesendet.",
+ "Optional": "Optional",
+ "Orange": "Orange",
+ "Pairing code for {name}": "Kopplungscode für {name}",
+ "React {emoji}": "{emoji} reagieren",
+ "Rebuild Codync Dev with its development host, then open it again.": "Baue Codync Dev mit seinem Entwicklungs-Host neu und öffne es dann erneut.",
+ "Reconnecting": "Verbinde neu",
+ "Red": "Rot",
+ "Refresh model list": "Modellliste aktualisieren",
+ "Remove reaction {emoji}": "Reaktion {emoji} entfernen",
+ "Remove {emoji}": "{emoji} entfernen",
+ "Remove {name}": "{name} entfernen",
+ "Remove {name} from the group": "{name} aus der Gruppe entfernen",
+ "Repeat": "Wiederholen",
+ "Resize panel": "Panel-Größe ändern",
+ "Resize sidebar": "Seitenleiste-Breite ändern",
+ "Resuming after restart": "Wird nach dem Neustart fortgesetzt",
+ "Retry download": "Download wiederholen",
+ "Retry model list": "Modellliste erneut versuchen",
+ "Retrying": "Wiederhole",
+ "Routine": "Routine",
+ "Running": "Läuft",
+ "Running on {name}. Links open on this device.": "Läuft auf {name}. Links öffnen sich auf diesem Gerät.",
+ "Runs on {name}{path}": "Läuft auf {name}{path}",
+ "SSH alias or hostname": "SSH-Alias oder Hostname",
+ "SSH port": "SSH-Port",
+ "Sat": "Sa",
+ "Saturday": "Samstag",
+ "Save ({shortcut})": "Speichern ({shortcut})",
+ "Save again": "Erneut speichern",
+ "Save changes": "Änderungen speichern",
+ "Save to get the URL and key.": "Speichern, um URL und Schlüssel zu erhalten.",
+ "Saved": "Gespeichert",
+ "Saved on {name} only and given to {other} when it starts.": "Nur auf {name} gespeichert und beim Start an {other} übergeben.",
+ "Schedule": "Zeitplan",
+ "Schedule needs attention": "Zeitplan braucht Aufmerksamkeit",
+ "Search time zones": "Zeitzonen durchsuchen",
+ "Send": "Senden",
+ "Sent to Composio, which keeps it for {name}.": "An Composio gesendet, das es für {name} aufbewahrt.",
+ "Set up this {device}": "Diesen {device} einrichten",
+ "Show bots": "Bots anzeigen",
+ "Show key": "Schlüssel anzeigen",
+ "Sign in first.": "Melde dich zuerst an.",
+ "Signed in as {email}": "Angemeldet als {email}",
+ "Signing in to {name} didn't work ({status}). Close and try again.": "Anmeldung bei {name} hat nicht funktioniert ({status}). Schließe das Fenster und versuche es erneut.",
+ "Speaking": "Spricht",
+ "Speech recognition stopped.": "Spracherkennung beendet.",
+ "Speech to text": "Sprache in Text",
+ "Started": "Gestartet",
+ "Starting": "Startet",
+ "Stays on {name}": "Bleibt auf {name}",
+ "Stop": "Stopp",
+ "Stop dictating": "Diktieren beenden",
+ "Sun": "So",
+ "Sunday": "Sonntag",
+ "Test run": "Testlauf",
+ "Text to speech": "Text in Sprache",
+ "The Codync port must be a number.": "Der Codync-Port muss eine Zahl sein.",
+ "The SSH port must be a number.": "Der SSH-Port muss eine Zahl sein.",
+ "The request expired. Ask again.": "Die Anfrage ist abgelaufen. Frag erneut.",
+ "This account was deleted.": "Dieses Konto wurde gelöscht.",
+ "This computer's host isn't connected.": "Der Host dieses Computers ist nicht verbunden.",
+ "This copy of Codync doesn't include codync-host. Download Codync again from codync.dev or GitHub.": "Diese Codync-Version enthält codync-host nicht. Lade Codync erneut von codync.dev oder GitHub herunter.",
+ "This device isn't allowed on that computer anymore.": "Dieses Gerät hat auf diesem Computer keinen Zugriff mehr.",
+ "This month": "Diesen Monat",
+ "Thu": "Do",
+ "Thursday": "Donnerstag",
+ "Time": "Zeit",
+ "Time zone, {zone}": "Zeitzone: {zone}",
+ "Timed out waiting for the sign-in.": "Zeitüberschreitung beim Warten auf die Anmeldung.",
+ "Timeout": "Zeitlimit",
+ "Timeout {time}": "Zeitlimit {time}",
+ "Too many requests. Try again in a little while.": "Zu viele Anfragen. Versuche es gleich noch einmal.",
+ "Tue": "Di",
+ "Tuesday": "Dienstag",
+ "Turn {name} on for a bot in the bot's settings, under Connectors.": "Aktiviere {name} für einen Bot in den Einstellungen des Bots unter Konnektoren.",
+ "URL": "URL",
+ "Unmute": "Stummschaltung aufheben",
+ "Update Codync on your computer to see this bot's memory.": "Aktualisiere Codync auf deinem Computer, um das Gedächtnis dieses Bots zu sehen.",
+ "Update Codync on {host}": "Codync auf {host} aktualisieren",
+ "Update this app": "Diese App aktualisieren",
+ "Use a tool": "Verwendet ein Werkzeug",
+ "User": "Benutzer",
+ "Violet": "Violett",
+ "Voice by {name}": "Stimme von {name}",
+ "Voice keys are kept by {computer}'s host, which isn't running.": "Die Sprachschlüssel werden vom Host von {computer} verwaltet, der nicht läuft.",
+ "Waiting for {name} to show its code…": "Warte, bis {name} seinen Code anzeigt…",
+ "Waiting for {name}…": "Warte auf {name}…",
+ "Wants to access the web": "Möchte auf das Internet zugreifen",
+ "Wants to change files": "Möchte Dateien ändern",
+ "Wants to read files": "Möchte Dateien lesen",
+ "Wants to run a command": "Möchte einen Befehl ausführen",
+ "Wants to use a tool": "Möchte ein Werkzeug verwenden",
+ "Webhook": "Webhook",
+ "Wed": "Mi",
+ "Wednesday": "Mittwoch",
+ "Weekdays": "Werktage",
+ "What it adds quotes something you typed yourself; pasted text, the bot's replies and other bots don't count. It never rewrites what you wrote. It may also put a passed date in the past tense, and before memory fills up it moves detail, word for word, into notes by topic, keeping one line per topic that points to its note.": "Was es ergänzt, zitiert etwas, das du selbst getippt hast; eingefügter Text, Antworten des Bots und andere Bots zählen nicht. Deine Worte schreibt es nie um. Es kann auch ein vergangenes Datum in die Vergangenheitsform setzen und verschiebt, bevor der Speicher voll ist, Details wortwörtlich in Notizen nach Themen, wobei pro Thema eine Zeile zur Notiz bleibt.",
+ "Working, listening": "Arbeitet, hört zu",
+ "Works once, until {time}": "Gilt einmal, bis {time}",
+ "Yellow": "Gelb",
+ "You wrote it": "Von dir geschrieben",
+ "You've been using Codync for a while. If it saves you trips to your desk, a star on GitHub helps other people find it.": "Du nutzt Codync schon eine ganze Weile. Wenn es dir Wege zum Schreibtisch spart, hilft ein Stern auf GitHub anderen, es zu finden.",
+ "Your bots are idle. Message one from here, or open Codync.": "Deine Bots sind untätig. Schreib einem von hier aus oder öffne Codync.",
+ "Your computer is offline.": "Dein Computer ist offline.",
+ "a computer": "ein Computer",
+ "computer": "Computer",
+ "the agent": "der Agent",
+ "{backend} is done": "{backend} ist fertig",
+ "{count} notes, over the {cap}-note cap. Ask the bot to merge some.": "{count} Notizen, über dem Limit von {cap}. Bitte den Bot, einige zusammenzuführen.",
+ "{count} working": "{count} aktiv",
+ "{device} Using {name}.": "{device}. Verwendet {name}.",
+ "{error} Pick OpenAI or Gemini beside the mic.": "{error} Wähle OpenAI oder Gemini neben dem Mikrofon.",
+ "{name} and {other}": "{name} und {other}",
+ "{name} is larger than 100 MB.": "{name} ist größer als 100 MB.",
+ "{name} isn't available ({reason}). Using on-device voice.": "{name} ist nicht verfügbar ({reason}). Verwende Stimme auf dem Gerät.",
+ "{name} says the connection is {status}.": "{name} meldet, dass die Verbindung {status} ist.",
+ "{name} stopped.": "{name} wurde gestoppt.",
+ "{name} wants to use {other}": "{name} möchte {other} verwenden",
+ "{name} · {other}. Drag to reorder.": "{name} · {other}. Zum Sortieren ziehen.",
+ "{paired} · seen {when}": "{paired} · zuletzt aktiv {when}",
+ "{shape} shape": "Form: {shape}",
+ "{tokens} tokens": "{tokens} Token",
+ "“Reach from anywhere” is off, so the iPhone only reaches {name} on the same network.": "„Zugriff von überall“ ist aus, daher erreicht das iPhone {name} nur im selben Netzwerk.",
+ "≈ {minutes} min": "≈ {minutes} Min.",
+ "Set up Composio in Extensions first.": "Richte zuerst Composio unter Erweiterungen ein.",
+ "Composio didn't return a sign-in link": "Composio hat keinen Anmeldelink zurückgegeben",
+ "Composio didn't return an auth config": "Composio hat keine Auth-Konfiguration zurückgegeben",
+ "Composio didn't return the connection": "Composio hat die Verbindung nicht zurückgegeben",
+ "connector storage is busy": "Der Connector-Speicher ist belegt, versuche es erneut",
+ "Updated routine: {routine}": "Routine aktualisiert: {routine}",
+ "Created routine: {routine}": "Routine erstellt: {routine}",
+ "Created bot {bot}": "Bot {bot} erstellt",
+ "Updated {bot}: {changes}": "{bot} aktualisiert: {changes}",
+ "Message from {bot}: {message}": "Nachricht von {bot}: {message}",
+ "Could not start routine: {error}": "Routine konnte nicht gestartet werden: {error}",
+ "Could not queue routine: {error}": "Routine konnte nicht eingereiht werden: {error}",
+ "Retrying at {time}": "Neuer Versuch um {time}",
+ "Last run {status}": "Letzter Lauf: {status}"
}
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json
index 960e905a..7087b3b4 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/es.json
@@ -1526,5 +1526,261 @@
"↵ sign in instead of the token": "↵ iniciar sesión en lugar del token",
"Code {code} copied: paste it at {url}, then Enter checks. Ctrl+X cancels.": "Código {code} copiado: pégalo en {url} y luego Enter comprueba. Ctrl+X cancela.",
"Show agent logos": "Mostrar logotipos de agentes",
- "Marks each bot with its agent's logo when your bots use more than one agent.": "Marca cada bot con el logotipo de su agente cuando tus bots usan más de un agente."
+ "Marks each bot with its agent's logo when your bots use more than one agent.": "Marca cada bot con el logotipo de su agente cuando tus bots usan más de un agente.",
+ " · archived": " · archivado",
+ " · undone": " · deshecho",
+ ", over the {cap} cap": ", por encima del límite de {cap}",
+ "A deleted bot": "Bot eliminado",
+ "A persistent workspace allocated for this bot": "Espacio de trabajo permanente asignado a este bot",
+ "About {name}": "Acerca de {name}",
+ "Add it in Codync on {name}: Settings → Voice chat, or connect to that computer over SSH.": "Añádelo en Codync en {name}: Ajustes → Chat de voz, o conéctate a esa computadora por SSH.",
+ "Add it to let bots use these instructions.": "Añádelas para que los bots puedan usar estas instrucciones.",
+ "Add {name}": "Añadir {name}",
+ "Added to {name}": "Añadido a {name}",
+ "After five quiet minutes or eight messages, or once memory is nearly full, the bot reads what you said since its last run and updates its memory.": "Tras cinco minutos de calma u ocho mensajes, o cuando la memoria esté casi llena, el bot lee lo que has dicho desde su última ejecución y actualiza su memoria.",
+ "Allow once": "Permitir una vez",
+ "Allow the microphone for Codync in Settings to talk to your bots.": "Permite el micrófono para Codync en Ajustes para hablar con tus bots.",
+ "Allowed once": "Permitido una vez",
+ "Always allow": "Permitir siempre",
+ "Always allowed": "Permitido siempre",
+ "Answered": "Respondido",
+ "Approval": "Aprobación",
+ "Approve only if {name} shows exactly this code. If it doesn't, deny: someone may be trying to get in.": "Aprueba solo si {name} muestra exactamente este código. Si no, deniega: alguien podría estar intentando entrar.",
+ "Black": "Negro",
+ "Blue": "Azul",
+ "Bots read these before using the skill.": "Los bots leen esto antes de usar la habilidad.",
+ "Brown": "Marrón",
+ "Call": "Llamada",
+ "Can't listen": "No puedo escuchar",
+ "Can't reach your computer. Is it on and connected to the internet?": "No se puede conectar con tu computadora. ¿Está encendida y conectada a internet?",
+ "Cancel download": "Cancelar descarga",
+ "Cancelled": "Cancelado",
+ "Code {value}": "Código {value}",
+ "Codync port": "Puerto de Codync",
+ "Codync runs your coding agents through the host, a small background service on this {device}.": "Codync ejecuta tus agentes de código a través del host, un pequeño servicio en segundo plano en este {device}.",
+ "Commands": "Comandos",
+ "Computers, {filter}. Filter conversations": "Computadoras, {filter}. Filtrar conversaciones",
+ "Connect to this computer to download the file": "Conéctate a esta computadora para descargar el archivo",
+ "Connect to this computer to load its models. You can still enter a model ID.": "Conéctate a esta computadora para cargar sus modelos. Aún puedes introducir un ID de modelo.",
+ "Connect to this computer to open the artifact": "Conéctate a esta computadora para abrir el artefacto",
+ "Connect to this computer to rename the artifact": "Conéctate a esta computadora para renombrar el artefacto",
+ "Connect to this computer to see its library": "Conéctate a esta computadora para ver su biblioteca",
+ "Connect to your computer to change its icons.": "Conéctate a tu computadora para cambiar sus iconos.",
+ "Connect {name}": "Conectar {name}",
+ "Connected locally": "Conectado localmente",
+ "Connection timed out": "Tiempo de conexión agotado",
+ "Conversation": "Conversación",
+ "Couldn't reach Gemini.": "No se pudo conectar con Gemini.",
+ "Couldn't reach OpenAI.": "No se pudo conectar con OpenAI.",
+ "Couldn't save the draft on this device. Your text is still here; keep this window open until you send or copy it.": "No se pudo guardar el borrador en este dispositivo. Tu texto sigue aquí; mantén esta ventana abierta hasta que lo envíes o lo copies.",
+ "Couldn't start the call audio.": "No se pudo iniciar el audio de la llamada.",
+ "Create a bot in Codync to get started.": "Crea un bot en Codync para empezar.",
+ "Create routine": "Crear rutina",
+ "Cron": "Cron",
+ "Custom": "Personalizado",
+ "Custom agent": "Agente personalizado",
+ "Cyan": "Cian",
+ "Daily": "Diario",
+ "Day": "Día",
+ "Default · {name}": "Predeterminado · {name}",
+ "Delete {name}?": "¿Eliminar {name}?",
+ "Deleted.": "Eliminado.",
+ "Deliveries wait up to 72 hours while this computer is off. They pass through the Codync cloud, which can read them.": "Las entregas esperan hasta 72 horas mientras esta computadora está apagada. Pasan por la nube de Codync, que puede leerlas.",
+ "Denied": "Denegado",
+ "Dictate": "Dictar",
+ "Dictating with a provider needs the chat window.": "Dictar con un proveedor requiere la ventana del chat.",
+ "Dictation engine": "Motor de dictado",
+ "Didn't complete.": "No se completó.",
+ "Download": "Descargar",
+ "Downloading Codync {version}": "Descargando Codync {version}",
+ "Edit SSH computer": "Editar computadora SSH",
+ "Edit routine": "Editar rutina",
+ "Ended with an error ({code}).": "Terminó con un error ({code}).",
+ "Expired — the agent moved on": "Caducado: el agente siguió adelante",
+ "For dictation in the message box.": "Para dictar en el campo de mensaje.",
+ "Fri": "vie",
+ "Friday": "viernes",
+ "From SSH config": "Desde la configuración de SSH",
+ "Gemini ended the call.": "Gemini finalizó la llamada.",
+ "Gemini sent no session credential.": "Gemini no envió ninguna credencial de sesión.",
+ "Get a key from {name}": "Obtén una clave de {name}",
+ "GitHub Star": "Estrella de GitHub",
+ "Gray": "Gris",
+ "Green": "Verde",
+ "Handoff": "Transferencia",
+ "Hide key": "Ocultar clave",
+ "Host": "Host",
+ "Hourly": "Cada hora",
+ "Image attachment: {name}": "Adjunto de imagen: {name}",
+ "Install host on this {device}": "Instalar el host en este {device}",
+ "Instruction": "Instrucción",
+ "Interrupt": "Interrumpir",
+ "Interrupted": "Interrumpido",
+ "Key": "Clave",
+ "Key works": "La clave funciona",
+ "Key works and is saved on {name}": "La clave funciona y se guarda en {name}",
+ "Listening": "Escuchando",
+ "Local URL": "URL local",
+ "Lost the connection to Gemini.": "Se perdió la conexión con Gemini.",
+ "Lost the connection to OpenAI.": "Se perdió la conexión con OpenAI.",
+ "Magenta": "Magenta",
+ "Message": "Mensaje",
+ "Message from": "Mensaje de",
+ "Message {name}": "Escribir a {name}",
+ "Message {name}…": "Escribir a {name}…",
+ "Messaged": "Escrito",
+ "Messages": "Mensajes",
+ "Mon": "lun",
+ "Monday": "lunes",
+ "More": "Más",
+ "Moved from the old memory": "Movido desde la memoria anterior",
+ "Mute": "Silenciar",
+ "Muted": "Silenciado",
+ "Never": "Nunca",
+ "Never allowed": "Nunca permitido",
+ "No time zone matches “{query}”.": "Ninguna zona horaria coincide con «{query}».",
+ "No {name} key on {other}": "No hay clave de {name} en {other}",
+ "Not connected to {name}.": "No conectado a {name}.",
+ "On-device speech isn't available in this build.": "El reconocimiento de voz en el dispositivo no está disponible en esta versión.",
+ "Open {name} in Extensions to sign in.": "Abre {name} en Extensiones para iniciar sesión.",
+ "Open {name}'s own chat": "Abrir el chat propio de {name}",
+ "OpenAI sent no session credential.": "OpenAI no envió ninguna credencial de sesión.",
+ "Optional": "Opcional",
+ "Orange": "Naranja",
+ "Pairing code for {name}": "Código de vinculación para {name}",
+ "React {emoji}": "Reaccionar con {emoji}",
+ "Rebuild Codync Dev with its development host, then open it again.": "Recompila Codync Dev con su host de desarrollo y ábrelo de nuevo.",
+ "Reconnecting": "Reconectando",
+ "Red": "Rojo",
+ "Refresh model list": "Actualizar lista de modelos",
+ "Remove reaction {emoji}": "Quitar reacción {emoji}",
+ "Remove {emoji}": "Quitar {emoji}",
+ "Remove {name}": "Quitar {name}",
+ "Remove {name} from the group": "Quitar {name} del grupo",
+ "Repeat": "Repetir",
+ "Resize panel": "Cambiar tamaño del panel",
+ "Resize sidebar": "Cambiar tamaño de la barra lateral",
+ "Resuming after restart": "Reanudando tras reiniciar",
+ "Retry download": "Reintentar descarga",
+ "Retry model list": "Reintentar lista de modelos",
+ "Retrying": "Reintentando",
+ "Routine": "Rutina",
+ "Running": "En ejecución",
+ "Running on {name}. Links open on this device.": "Ejecutándose en {name}. Los enlaces se abren en este dispositivo.",
+ "Runs on {name}{path}": "Se ejecuta en {name}{path}",
+ "SSH alias or hostname": "Alias de SSH o nombre de host",
+ "SSH port": "Puerto SSH",
+ "Sat": "sáb",
+ "Saturday": "sábado",
+ "Save ({shortcut})": "Guardar ({shortcut})",
+ "Save again": "Guardar de nuevo",
+ "Save changes": "Guardar cambios",
+ "Save to get the URL and key.": "Guarda para obtener la URL y la clave.",
+ "Saved": "Guardado",
+ "Saved on {name} only and given to {other} when it starts.": "Guardado solo en {name} y se entrega a {other} al iniciarse.",
+ "Schedule": "Programación",
+ "Schedule needs attention": "La programación necesita atención",
+ "Search time zones": "Buscar zonas horarias",
+ "Send": "Enviar",
+ "Sent to Composio, which keeps it for {name}.": "Enviado a Composio, que lo guarda para {name}.",
+ "Set up this {device}": "Configurar este {device}",
+ "Show bots": "Mostrar bots",
+ "Show key": "Mostrar clave",
+ "Sign in first.": "Inicia sesión primero.",
+ "Signed in as {email}": "Sesión iniciada como {email}",
+ "Signing in to {name} didn't work ({status}). Close and try again.": "No se pudo iniciar sesión en {name} ({status}). Cierra y vuelve a intentarlo.",
+ "Speaking": "Hablando",
+ "Speech recognition stopped.": "Reconocimiento de voz detenido.",
+ "Speech to text": "Voz a texto",
+ "Started": "Iniciado",
+ "Starting": "Iniciando",
+ "Stays on {name}": "Se queda en {name}",
+ "Stop": "Detener",
+ "Stop dictating": "Dejar de dictar",
+ "Sun": "dom",
+ "Sunday": "domingo",
+ "Test run": "Ejecución de prueba",
+ "Text to speech": "Texto a voz",
+ "The Codync port must be a number.": "El puerto de Codync debe ser un número.",
+ "The SSH port must be a number.": "El puerto SSH debe ser un número.",
+ "The request expired. Ask again.": "La solicitud caducó. Vuelve a pedirla.",
+ "This account was deleted.": "Esta cuenta se eliminó.",
+ "This computer's host isn't connected.": "El host de esta computadora no está conectado.",
+ "This copy of Codync doesn't include codync-host. Download Codync again from codync.dev or GitHub.": "Esta copia de Codync no incluye codync-host. Descarga Codync de nuevo desde codync.dev o GitHub.",
+ "This device isn't allowed on that computer anymore.": "Este dispositivo ya no tiene permiso en esa computadora.",
+ "This month": "Este mes",
+ "Thu": "jue",
+ "Thursday": "jueves",
+ "Time": "Hora",
+ "Time zone, {zone}": "Zona horaria: {zone}",
+ "Timed out waiting for the sign-in.": "Se agotó el tiempo de espera del inicio de sesión.",
+ "Timeout": "Tiempo de espera",
+ "Timeout {time}": "Tiempo de espera {time}",
+ "Too many requests. Try again in a little while.": "Demasiadas solicitudes. Inténtalo de nuevo en un rato.",
+ "Tue": "mar",
+ "Tuesday": "martes",
+ "Turn {name} on for a bot in the bot's settings, under Connectors.": "Activa {name} para un bot en sus ajustes, en Conectores.",
+ "URL": "URL",
+ "Unmute": "Activar micrófono",
+ "Update Codync on your computer to see this bot's memory.": "Actualiza Codync en tu computadora para ver la memoria de este bot.",
+ "Update Codync on {host}": "Actualiza Codync en {host}",
+ "Update this app": "Actualizar esta app",
+ "Use a tool": "Usa una herramienta",
+ "User": "Usuario",
+ "Violet": "Violeta",
+ "Voice by {name}": "Voz de {name}",
+ "Voice keys are kept by {computer}'s host, which isn't running.": "Las claves de voz las guarda el host de {computer}, que no está en ejecución.",
+ "Waiting for {name} to show its code…": "Esperando a que {name} muestre su código…",
+ "Waiting for {name}…": "Esperando a {name}…",
+ "Wants to access the web": "Quiere acceder a la web",
+ "Wants to change files": "Quiere cambiar archivos",
+ "Wants to read files": "Quiere leer archivos",
+ "Wants to run a command": "Quiere ejecutar un comando",
+ "Wants to use a tool": "Quiere usar una herramienta",
+ "Webhook": "Webhook",
+ "Wed": "mié",
+ "Wednesday": "miércoles",
+ "Weekdays": "Días laborables",
+ "What it adds quotes something you typed yourself; pasted text, the bot's replies and other bots don't count. It never rewrites what you wrote. It may also put a passed date in the past tense, and before memory fills up it moves detail, word for word, into notes by topic, keeping one line per topic that points to its note.": "Lo que añade cita algo que escribiste tú; no cuentan el texto pegado, las respuestas del bot ni otros bots. Nunca reescribe lo que escribiste. También puede poner una fecha pasada en pasado y, antes de que la memoria se llene, traslada los detalles, palabra por palabra, a notas por tema, dejando una línea por tema que apunta a su nota.",
+ "Working, listening": "Trabajando, escuchando",
+ "Works once, until {time}": "Funciona una vez, hasta {time}",
+ "Yellow": "Amarillo",
+ "You wrote it": "Lo escribiste tú",
+ "You've been using Codync for a while. If it saves you trips to your desk, a star on GitHub helps other people find it.": "Llevas un tiempo usando Codync. Si te ahorra viajes a tu escritorio, una estrella en GitHub ayuda a otras personas a encontrarlo.",
+ "Your bots are idle. Message one from here, or open Codync.": "Tus bots están inactivos. Escribe a uno desde aquí o abre Codync.",
+ "Your computer is offline.": "Tu computadora está desconectada.",
+ "a computer": "una computadora",
+ "computer": "computadora",
+ "the agent": "el agente",
+ "{backend} is done": "{backend} ha terminado",
+ "{count} notes, over the {cap}-note cap. Ask the bot to merge some.": "{count} notas, por encima del límite de {cap}. Pide al bot que fusione algunas.",
+ "{count} working": "{count} trabajando",
+ "{device} Using {name}.": "{device}. Usando {name}.",
+ "{error} Pick OpenAI or Gemini beside the mic.": "{error} Elige OpenAI o Gemini junto al micrófono.",
+ "{name} and {other}": "{name} y {other}",
+ "{name} is larger than 100 MB.": "{name} es mayor de 100 MB.",
+ "{name} isn't available ({reason}). Using on-device voice.": "{name} no está disponible ({reason}). Usando voz en el dispositivo.",
+ "{name} says the connection is {status}.": "{name} indica que la conexión está {status}.",
+ "{name} stopped.": "{name} se detuvo.",
+ "{name} wants to use {other}": "{name} quiere usar {other}",
+ "{name} · {other}. Drag to reorder.": "{name} · {other}. Arrastra para reordenar.",
+ "{paired} · seen {when}": "{paired} · visto {when}",
+ "{shape} shape": "Forma: {shape}",
+ "{tokens} tokens": "{tokens} tokens",
+ "“Reach from anywhere” is off, so the iPhone only reaches {name} on the same network.": "«Acceso desde cualquier lugar» está desactivado, así que el iPhone solo llega a {name} en la misma red.",
+ "≈ {minutes} min": "≈ {minutes} min",
+ "Set up Composio in Extensions first.": "Configura primero Composio en Extensiones.",
+ "Composio didn't return a sign-in link": "Composio no devolvió un enlace de inicio de sesión",
+ "Composio didn't return an auth config": "Composio no devolvió una configuración de autenticación",
+ "Composio didn't return the connection": "Composio no devolvió la conexión",
+ "connector storage is busy": "El almacenamiento de conectores está ocupado, inténtalo de nuevo",
+ "Updated routine: {routine}": "Rutina actualizada: {routine}",
+ "Created routine: {routine}": "Rutina creada: {routine}",
+ "Created bot {bot}": "Bot {bot} creado",
+ "Updated {bot}: {changes}": "{bot} actualizado: {changes}",
+ "Message from {bot}: {message}": "Mensaje de {bot}: {message}",
+ "Could not start routine: {error}": "No se pudo iniciar la rutina: {error}",
+ "Could not queue routine: {error}": "No se pudo poner en cola la rutina: {error}",
+ "Retrying at {time}": "Reintentando a las {time}",
+ "Last run {status}": "Última ejecución: {status}"
}
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json
index bed0eece..eea978f7 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/fr.json
@@ -1526,5 +1526,261 @@
"↵ sign in instead of the token": "↵ se connecter au lieu du jeton",
"Code {code} copied: paste it at {url}, then Enter checks. Ctrl+X cancels.": "Code {code} copié : collez-le sur {url}, puis Entrée pour vérifier. Ctrl+X pour annuler.",
"Show agent logos": "Afficher les logos des agents",
- "Marks each bot with its agent's logo when your bots use more than one agent.": "Indique le logo de l'agent de chaque bot lorsque vos bots utilisent plusieurs agents."
+ "Marks each bot with its agent's logo when your bots use more than one agent.": "Indique le logo de l'agent de chaque bot lorsque vos bots utilisent plusieurs agents.",
+ " · archived": " · archivé",
+ " · undone": " · annulé",
+ ", over the {cap} cap": ", au-delà de la limite de {cap}",
+ "A deleted bot": "Bot supprimé",
+ "A persistent workspace allocated for this bot": "Espace de travail permanent attribué à ce bot",
+ "About {name}": "À propos de {name}",
+ "Add it in Codync on {name}: Settings → Voice chat, or connect to that computer over SSH.": "Ajoutez-le dans Codync sur {name} : Réglages → Chat vocal, ou connectez-vous à cet ordinateur en SSH.",
+ "Add it to let bots use these instructions.": "Ajoutez-les pour que les bots puissent utiliser ces instructions.",
+ "Add {name}": "Ajouter {name}",
+ "Added to {name}": "Ajouté à {name}",
+ "After five quiet minutes or eight messages, or once memory is nearly full, the bot reads what you said since its last run and updates its memory.": "Après cinq minutes de calme ou huit messages, ou lorsque la mémoire est presque pleine, le bot lit ce que vous avez écrit depuis sa dernière exécution et met à jour sa mémoire.",
+ "Allow once": "Autoriser une fois",
+ "Allow the microphone for Codync in Settings to talk to your bots.": "Autorisez le micro pour Codync dans les Réglages pour parler à vos bots.",
+ "Allowed once": "Autorisé une fois",
+ "Always allow": "Toujours autoriser",
+ "Always allowed": "Toujours autorisé",
+ "Answered": "Répondu",
+ "Approval": "Approbation",
+ "Approve only if {name} shows exactly this code. If it doesn't, deny: someone may be trying to get in.": "N'approuvez que si {name} affiche exactement ce code. Sinon, refusez : quelqu'un pourrait tenter d'entrer.",
+ "Black": "Noir",
+ "Blue": "Bleu",
+ "Bots read these before using the skill.": "Les bots lisent ceci avant d'utiliser la compétence.",
+ "Brown": "Marron",
+ "Call": "Appel",
+ "Can't listen": "Écoute impossible",
+ "Can't reach your computer. Is it on and connected to the internet?": "Impossible de joindre votre ordinateur. Est-il allumé et connecté à Internet ?",
+ "Cancel download": "Annuler le téléchargement",
+ "Cancelled": "Annulé",
+ "Code {value}": "Code {value}",
+ "Codync port": "Port Codync",
+ "Codync runs your coding agents through the host, a small background service on this {device}.": "Codync exécute vos agents de code via l'hôte, un petit service en arrière-plan sur cet {device}.",
+ "Commands": "Commandes",
+ "Computers, {filter}. Filter conversations": "Ordinateurs, {filter}. Filtrer les conversations",
+ "Connect to this computer to download the file": "Connectez-vous à cet ordinateur pour télécharger le fichier",
+ "Connect to this computer to load its models. You can still enter a model ID.": "Connectez-vous à cet ordinateur pour charger ses modèles. Vous pouvez tout de même saisir un identifiant de modèle.",
+ "Connect to this computer to open the artifact": "Connectez-vous à cet ordinateur pour ouvrir l'artefact",
+ "Connect to this computer to rename the artifact": "Connectez-vous à cet ordinateur pour renommer l'artefact",
+ "Connect to this computer to see its library": "Connectez-vous à cet ordinateur pour voir sa bibliothèque",
+ "Connect to your computer to change its icons.": "Connectez-vous à votre ordinateur pour modifier ses icônes.",
+ "Connect {name}": "Connecter {name}",
+ "Connected locally": "Connecté localement",
+ "Connection timed out": "Délai de connexion dépassé",
+ "Conversation": "Conversation",
+ "Couldn't reach Gemini.": "Impossible de joindre Gemini.",
+ "Couldn't reach OpenAI.": "Impossible de joindre OpenAI.",
+ "Couldn't save the draft on this device. Your text is still here; keep this window open until you send or copy it.": "Impossible d'enregistrer le brouillon sur cet appareil. Votre texte est toujours là ; gardez cette fenêtre ouverte jusqu'à l'envoi ou la copie.",
+ "Couldn't start the call audio.": "Impossible de démarrer l'audio de l'appel.",
+ "Create a bot in Codync to get started.": "Créez un bot dans Codync pour commencer.",
+ "Create routine": "Créer une routine",
+ "Cron": "Cron",
+ "Custom": "Personnalisé",
+ "Custom agent": "Agent personnalisé",
+ "Cyan": "Cyan",
+ "Daily": "Quotidien",
+ "Day": "Jour",
+ "Default · {name}": "Par défaut · {name}",
+ "Delete {name}?": "Supprimer {name} ?",
+ "Deleted.": "Supprimé.",
+ "Deliveries wait up to 72 hours while this computer is off. They pass through the Codync cloud, which can read them.": "Les livraisons attendent jusqu'à 72 heures pendant que cet ordinateur est éteint. Elles transitent par le cloud Codync, qui peut les lire.",
+ "Denied": "Refusé",
+ "Dictate": "Dicter",
+ "Dictating with a provider needs the chat window.": "La dictée via un fournisseur nécessite la fenêtre de chat.",
+ "Dictation engine": "Moteur de dictée",
+ "Didn't complete.": "Non terminé.",
+ "Download": "Télécharger",
+ "Downloading Codync {version}": "Téléchargement de Codync {version}",
+ "Edit SSH computer": "Modifier l'ordinateur SSH",
+ "Edit routine": "Modifier la routine",
+ "Ended with an error ({code}).": "Terminé avec une erreur ({code}).",
+ "Expired — the agent moved on": "Expiré : l'agent a poursuivi",
+ "For dictation in the message box.": "Pour dicter dans la zone de message.",
+ "Fri": "ven.",
+ "Friday": "vendredi",
+ "From SSH config": "Depuis la config SSH",
+ "Gemini ended the call.": "Gemini a mis fin à l'appel.",
+ "Gemini sent no session credential.": "Gemini n'a envoyé aucun identifiant de session.",
+ "Get a key from {name}": "Obtenez une clé auprès de {name}",
+ "GitHub Star": "Étoile GitHub",
+ "Gray": "Gris",
+ "Green": "Vert",
+ "Handoff": "Transmission",
+ "Hide key": "Masquer la clé",
+ "Host": "Hôte",
+ "Hourly": "Toutes les heures",
+ "Image attachment: {name}": "Pièce jointe image : {name}",
+ "Install host on this {device}": "Installer l'hôte sur cet {device}",
+ "Instruction": "Instruction",
+ "Interrupt": "Interrompre",
+ "Interrupted": "Interrompu",
+ "Key": "Clé",
+ "Key works": "La clé fonctionne",
+ "Key works and is saved on {name}": "La clé fonctionne et est enregistrée sur {name}",
+ "Listening": "À l'écoute",
+ "Local URL": "URL locale",
+ "Lost the connection to Gemini.": "Connexion à Gemini perdue.",
+ "Lost the connection to OpenAI.": "Connexion à OpenAI perdue.",
+ "Magenta": "Magenta",
+ "Message": "Message",
+ "Message from": "Message de",
+ "Message {name}": "Écrire à {name}",
+ "Message {name}…": "Écrire à {name}…",
+ "Messaged": "Écrit",
+ "Messages": "Messages",
+ "Mon": "lun.",
+ "Monday": "lundi",
+ "More": "Plus",
+ "Moved from the old memory": "Déplacé depuis l'ancienne mémoire",
+ "Mute": "Couper le micro",
+ "Muted": "Micro coupé",
+ "Never": "Jamais",
+ "Never allowed": "Jamais autorisé",
+ "No time zone matches “{query}”.": "Aucun fuseau horaire ne correspond à « {query} ».",
+ "No {name} key on {other}": "Aucune clé {name} sur {other}",
+ "Not connected to {name}.": "Non connecté à {name}.",
+ "On-device speech isn't available in this build.": "La reconnaissance vocale sur l'appareil n'est pas disponible dans cette version.",
+ "Open {name} in Extensions to sign in.": "Ouvrez {name} dans Extensions pour vous connecter.",
+ "Open {name}'s own chat": "Ouvrir le chat propre à {name}",
+ "OpenAI sent no session credential.": "OpenAI n'a envoyé aucun identifiant de session.",
+ "Optional": "Facultatif",
+ "Orange": "Orange",
+ "Pairing code for {name}": "Code d'association pour {name}",
+ "React {emoji}": "Réagir {emoji}",
+ "Rebuild Codync Dev with its development host, then open it again.": "Recompilez Codync Dev avec son hôte de développement, puis rouvrez-le.",
+ "Reconnecting": "Reconnexion",
+ "Red": "Rouge",
+ "Refresh model list": "Actualiser la liste des modèles",
+ "Remove reaction {emoji}": "Retirer la réaction {emoji}",
+ "Remove {emoji}": "Retirer {emoji}",
+ "Remove {name}": "Retirer {name}",
+ "Remove {name} from the group": "Retirer {name} du groupe",
+ "Repeat": "Répéter",
+ "Resize panel": "Redimensionner le panneau",
+ "Resize sidebar": "Redimensionner la barre latérale",
+ "Resuming after restart": "Reprise après redémarrage",
+ "Retry download": "Réessayer le téléchargement",
+ "Retry model list": "Réessayer la liste des modèles",
+ "Retrying": "Nouvel essai",
+ "Routine": "Routine",
+ "Running": "En cours",
+ "Running on {name}. Links open on this device.": "Fonctionne sur {name}. Les liens s'ouvrent sur cet appareil.",
+ "Runs on {name}{path}": "S'exécute sur {name}{path}",
+ "SSH alias or hostname": "Alias SSH ou nom d'hôte",
+ "SSH port": "Port SSH",
+ "Sat": "sam.",
+ "Saturday": "samedi",
+ "Save ({shortcut})": "Enregistrer ({shortcut})",
+ "Save again": "Enregistrer à nouveau",
+ "Save changes": "Enregistrer les modifications",
+ "Save to get the URL and key.": "Enregistrez pour obtenir l'URL et la clé.",
+ "Saved": "Enregistré",
+ "Saved on {name} only and given to {other} when it starts.": "Enregistré uniquement sur {name} et transmis à {other} au démarrage.",
+ "Schedule": "Programmation",
+ "Schedule needs attention": "La programmation nécessite une action",
+ "Search time zones": "Rechercher des fuseaux horaires",
+ "Send": "Envoyer",
+ "Sent to Composio, which keeps it for {name}.": "Envoyé à Composio, qui le conserve pour {name}.",
+ "Set up this {device}": "Configurer cet {device}",
+ "Show bots": "Afficher les bots",
+ "Show key": "Afficher la clé",
+ "Sign in first.": "Connectez-vous d'abord.",
+ "Signed in as {email}": "Connecté en tant que {email}",
+ "Signing in to {name} didn't work ({status}). Close and try again.": "La connexion à {name} a échoué ({status}). Fermez et réessayez.",
+ "Speaking": "En train de parler",
+ "Speech recognition stopped.": "Reconnaissance vocale arrêtée.",
+ "Speech to text": "Voix vers texte",
+ "Started": "Démarré",
+ "Starting": "Démarrage",
+ "Stays on {name}": "Reste sur {name}",
+ "Stop": "Arrêter",
+ "Stop dictating": "Arrêter la dictée",
+ "Sun": "dim.",
+ "Sunday": "dimanche",
+ "Test run": "Test",
+ "Text to speech": "Synthèse vocale",
+ "The Codync port must be a number.": "Le port Codync doit être un nombre.",
+ "The SSH port must be a number.": "Le port SSH doit être un nombre.",
+ "The request expired. Ask again.": "La demande a expiré. Redemandez.",
+ "This account was deleted.": "Ce compte a été supprimé.",
+ "This computer's host isn't connected.": "L'hôte de cet ordinateur n'est pas connecté.",
+ "This copy of Codync doesn't include codync-host. Download Codync again from codync.dev or GitHub.": "Cette copie de Codync ne contient pas codync-host. Téléchargez Codync à nouveau depuis codync.dev ou GitHub.",
+ "This device isn't allowed on that computer anymore.": "Cet appareil n'est plus autorisé sur cet ordinateur.",
+ "This month": "Ce mois-ci",
+ "Thu": "jeu.",
+ "Thursday": "jeudi",
+ "Time": "Heure",
+ "Time zone, {zone}": "Fuseau horaire : {zone}",
+ "Timed out waiting for the sign-in.": "Délai dépassé pour la connexion.",
+ "Timeout": "Délai",
+ "Timeout {time}": "Délai {time}",
+ "Too many requests. Try again in a little while.": "Trop de requêtes. Réessayez dans un instant.",
+ "Tue": "mar.",
+ "Tuesday": "mardi",
+ "Turn {name} on for a bot in the bot's settings, under Connectors.": "Activez {name} pour un bot dans les réglages du bot, sous Connecteurs.",
+ "URL": "URL",
+ "Unmute": "Réactiver le micro",
+ "Update Codync on your computer to see this bot's memory.": "Mettez à jour Codync sur votre ordinateur pour voir la mémoire de ce bot.",
+ "Update Codync on {host}": "Mettre à jour Codync sur {host}",
+ "Update this app": "Mettre à jour cette app",
+ "Use a tool": "Utilise un outil",
+ "User": "Utilisateur",
+ "Violet": "Violet",
+ "Voice by {name}": "Voix de {name}",
+ "Voice keys are kept by {computer}'s host, which isn't running.": "Les clés vocales sont conservées par l'hôte de {computer}, qui n'est pas lancé.",
+ "Waiting for {name} to show its code…": "En attente que {name} affiche son code…",
+ "Waiting for {name}…": "En attente de {name}…",
+ "Wants to access the web": "Veut accéder au web",
+ "Wants to change files": "Veut modifier des fichiers",
+ "Wants to read files": "Veut lire des fichiers",
+ "Wants to run a command": "Veut exécuter une commande",
+ "Wants to use a tool": "Veut utiliser un outil",
+ "Webhook": "Webhook",
+ "Wed": "mer.",
+ "Wednesday": "mercredi",
+ "Weekdays": "Jours de semaine",
+ "What it adds quotes something you typed yourself; pasted text, the bot's replies and other bots don't count. It never rewrites what you wrote. It may also put a passed date in the past tense, and before memory fills up it moves detail, word for word, into notes by topic, keeping one line per topic that points to its note.": "Ce qu'il ajoute cite ce que vous avez vous-même écrit ; le texte collé, les réponses du bot et les autres bots ne comptent pas. Il ne réécrit jamais ce que vous avez écrit. Il peut aussi mettre une date passée au passé et, avant que la mémoire ne se remplisse, déplacer les détails, mot pour mot, dans des notes par thème, en gardant une ligne par thème qui renvoie à sa note.",
+ "Working, listening": "Travaille, à l'écoute",
+ "Works once, until {time}": "Fonctionne une fois, jusqu'à {time}",
+ "Yellow": "Jaune",
+ "You wrote it": "Écrit par vous",
+ "You've been using Codync for a while. If it saves you trips to your desk, a star on GitHub helps other people find it.": "Vous utilisez Codync depuis un moment. S'il vous évite des allers-retours à votre bureau, une étoile sur GitHub aide d'autres personnes à le trouver.",
+ "Your bots are idle. Message one from here, or open Codync.": "Vos bots sont inactifs. Écrivez-en un d'ici ou ouvrez Codync.",
+ "Your computer is offline.": "Votre ordinateur est hors ligne.",
+ "a computer": "un ordinateur",
+ "computer": "ordinateur",
+ "the agent": "l'agent",
+ "{backend} is done": "{backend} a terminé",
+ "{count} notes, over the {cap}-note cap. Ask the bot to merge some.": "{count} notes, au-delà de la limite de {cap}. Demandez au bot d'en fusionner certaines.",
+ "{count} working": "{count} en cours",
+ "{device} Using {name}.": "{device}. Utilise {name}.",
+ "{error} Pick OpenAI or Gemini beside the mic.": "{error} Choisissez OpenAI ou Gemini à côté du micro.",
+ "{name} and {other}": "{name} et {other}",
+ "{name} is larger than 100 MB.": "{name} dépasse 100 Mo.",
+ "{name} isn't available ({reason}). Using on-device voice.": "{name} n'est pas disponible ({reason}). Utilisation de la voix sur l'appareil.",
+ "{name} says the connection is {status}.": "{name} indique que la connexion est {status}.",
+ "{name} stopped.": "{name} s'est arrêté.",
+ "{name} wants to use {other}": "{name} veut utiliser {other}",
+ "{name} · {other}. Drag to reorder.": "{name} · {other}. Glisser pour réordonner.",
+ "{paired} · seen {when}": "{paired} · vu {when}",
+ "{shape} shape": "Forme : {shape}",
+ "{tokens} tokens": "{tokens} jetons",
+ "“Reach from anywhere” is off, so the iPhone only reaches {name} on the same network.": "« Accès depuis n'importe où » est désactivé, donc l'iPhone n'atteint {name} que sur le même réseau.",
+ "≈ {minutes} min": "≈ {minutes} min",
+ "Set up Composio in Extensions first.": "Configurez d’abord Composio dans Extensions.",
+ "Composio didn't return a sign-in link": "Composio n’a pas renvoyé de lien de connexion",
+ "Composio didn't return an auth config": "Composio n’a pas renvoyé de configuration d’authentification",
+ "Composio didn't return the connection": "Composio n’a pas renvoyé la connexion",
+ "connector storage is busy": "Le stockage des connecteurs est occupé, réessayez",
+ "Updated routine: {routine}": "Routine mise à jour : {routine}",
+ "Created routine: {routine}": "Routine créée : {routine}",
+ "Created bot {bot}": "Bot {bot} créé",
+ "Updated {bot}: {changes}": "{bot} mis à jour : {changes}",
+ "Message from {bot}: {message}": "Message de {bot} : {message}",
+ "Could not start routine: {error}": "Impossible de lancer la routine : {error}",
+ "Could not queue routine: {error}": "Impossible de mettre la routine en file d’attente : {error}",
+ "Retrying at {time}": "Nouvel essai à {time}",
+ "Last run {status}": "Dernière exécution : {status}"
}
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json
index e34f3ba0..62aa1968 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ja.json
@@ -1526,5 +1526,261 @@
"↵ sign in instead of the token": "↵ トークンの代わりにサインイン",
"Code {code} copied: paste it at {url}, then Enter checks. Ctrl+X cancels.": "コード {code} をコピーしました: {url} に貼り付けてから Enter で確認。Ctrl+X でキャンセル。",
"Show agent logos": "エージェントのロゴを表示",
- "Marks each bot with its agent's logo when your bots use more than one agent.": "複数のエージェントを使っているとき、各ボットにそのエージェントのロゴを表示します。"
+ "Marks each bot with its agent's logo when your bots use more than one agent.": "複数のエージェントを使っているとき、各ボットにそのエージェントのロゴを表示します。",
+ " · archived": " · アーカイブ済み",
+ " · undone": " · 取り消し済み",
+ ", over the {cap} cap": ", 上限 {cap} を超えています",
+ "A deleted bot": "削除されたボット",
+ "A persistent workspace allocated for this bot": "このボット用に割り当てられた永続ワークスペース",
+ "About {name}": "{name} について",
+ "Add it in Codync on {name}: Settings → Voice chat, or connect to that computer over SSH.": "{name} の Codync で追加してください: 設定 → 音声チャット。または、そのコンピューターに SSH で接続してください。",
+ "Add it to let bots use these instructions.": "ボットがこの指示を使えるように追加します。",
+ "Add {name}": "{name} を追加",
+ "Added to {name}": "{name} に追加されました",
+ "After five quiet minutes or eight messages, or once memory is nearly full, the bot reads what you said since its last run and updates its memory.": "5 分間静かになったとき、8 件のメッセージの後、または記憶がほぼいっぱいになったときに、ボットは前回の実行以降の発言を読み取り、記憶を更新します。",
+ "Allow once": "1回だけ許可",
+ "Allow the microphone for Codync in Settings to talk to your bots.": "ボットと話すには、設定で Codync のマイクを許可してください。",
+ "Allowed once": "1回許可済み",
+ "Always allow": "常に許可",
+ "Always allowed": "常に許可済み",
+ "Answered": "回答済み",
+ "Approval": "承認",
+ "Approve only if {name} shows exactly this code. If it doesn't, deny: someone may be trying to get in.": "{name} にこのコードが正確に表示されている場合のみ承認してください。表示されない場合は拒否してください。誰かが侵入しようとしている可能性があります。",
+ "Black": "黒",
+ "Blue": "青",
+ "Bots read these before using the skill.": "ボットはスキルを使用する前にこれらを読みます。",
+ "Brown": "茶色",
+ "Call": "通話",
+ "Can't listen": "聞き取れません",
+ "Can't reach your computer. Is it on and connected to the internet?": "コンピューターに接続できません。電源が入っていて、インターネットに接続されていますか?",
+ "Cancel download": "ダウンロードをキャンセル",
+ "Cancelled": "キャンセル済み",
+ "Code {value}": "コード {value}",
+ "Codync port": "Codync ポート",
+ "Codync runs your coding agents through the host, a small background service on this {device}.": "Codync は、この{device}上の小さなバックグラウンドサービスであるホストを通じて、コーディングエージェントを実行します。",
+ "Commands": "コマンド",
+ "Computers, {filter}. Filter conversations": "コンピューター、{filter}。会話を絞り込む",
+ "Connect to this computer to download the file": "ファイルをダウンロードするには、このコンピューターに接続してください",
+ "Connect to this computer to load its models. You can still enter a model ID.": "モデルを読み込むには、このコンピューターに接続してください。モデル ID を直接入力することもできます。",
+ "Connect to this computer to open the artifact": "アーティファクトを開くには、このコンピューターに接続してください",
+ "Connect to this computer to rename the artifact": "アーティファクトの名前を変更するには、このコンピューターに接続してください",
+ "Connect to this computer to see its library": "ライブラリを表示するには、このコンピューターに接続してください",
+ "Connect to your computer to change its icons.": "アイコンを変更するには、コンピューターに接続してください。",
+ "Connect {name}": "{name} に接続",
+ "Connected locally": "ローカルに接続済み",
+ "Connection timed out": "接続がタイムアウトしました",
+ "Conversation": "会話",
+ "Couldn't reach Gemini.": "Gemini に接続できませんでした。",
+ "Couldn't reach OpenAI.": "OpenAI に接続できませんでした。",
+ "Couldn't save the draft on this device. Your text is still here; keep this window open until you send or copy it.": "この端末に下書きを保存できませんでした。テキストはまだここにあります。送信またはコピーするまで、このウィンドウを開いたままにしてください。",
+ "Couldn't start the call audio.": "通話の音声を開始できませんでした。",
+ "Create a bot in Codync to get started.": "始めるには、Codync でボットを作成してください。",
+ "Create routine": "ルーチンを作成",
+ "Cron": "Cron",
+ "Custom": "カスタム",
+ "Custom agent": "カスタムエージェント",
+ "Cyan": "シアン",
+ "Daily": "毎日",
+ "Day": "日",
+ "Default · {name}": "デフォルト · {name}",
+ "Delete {name}?": "{name} を削除しますか?",
+ "Deleted.": "削除しました。",
+ "Deliveries wait up to 72 hours while this computer is off. They pass through the Codync cloud, which can read them.": "このコンピューターがオフの間、配信は最大 72 時間待機します。配信は Codync のクラウドを経由し、クラウド側で内容を読み取れます。",
+ "Denied": "拒否済み",
+ "Dictate": "音声入力",
+ "Dictating with a provider needs the chat window.": "プロバイダーを使った音声入力には、チャットウィンドウが必要です。",
+ "Dictation engine": "音声入力エンジン",
+ "Didn't complete.": "完了しませんでした。",
+ "Download": "ダウンロード",
+ "Downloading Codync {version}": "Codync {version} をダウンロード中",
+ "Edit SSH computer": "SSH コンピューターを編集",
+ "Edit routine": "ルーチンを編集",
+ "Ended with an error ({code}).": "エラーで終了しました ({code})。",
+ "Expired — the agent moved on": "期限切れ — エージェントは次に進みました",
+ "For dictation in the message box.": "音声入力用に、メッセージ欄で使います。",
+ "Fri": "金",
+ "Friday": "金曜日",
+ "From SSH config": "SSH 設定から",
+ "Gemini ended the call.": "Gemini が通話を終了しました。",
+ "Gemini sent no session credential.": "Gemini からセッション資格情報が送られてきませんでした。",
+ "Get a key from {name}": "{name} でキーを取得",
+ "GitHub Star": "GitHub のスター",
+ "Gray": "グレー",
+ "Green": "緑",
+ "Handoff": "引き継ぎ",
+ "Hide key": "キーを隠す",
+ "Host": "ホスト",
+ "Hourly": "毎時",
+ "Image attachment: {name}": "画像の添付: {name}",
+ "Install host on this {device}": "この{device}にホストをインストール",
+ "Instruction": "指示",
+ "Interrupt": "中断",
+ "Interrupted": "中断されました",
+ "Key": "キー",
+ "Key works": "キーは有効です",
+ "Key works and is saved on {name}": "キーは有効で、{name} に保存されています",
+ "Listening": "聞き取り中",
+ "Local URL": "ローカル URL",
+ "Lost the connection to Gemini.": "Gemini との接続が切れました。",
+ "Lost the connection to OpenAI.": "OpenAI との接続が切れました。",
+ "Magenta": "マゼンタ",
+ "Message": "メッセージ",
+ "Message from": "メッセージの送信元",
+ "Message {name}": "{name} にメッセージ",
+ "Message {name}…": "{name} にメッセージ…",
+ "Messaged": "メッセージ送信済み",
+ "Messages": "メッセージ",
+ "Mon": "月",
+ "Monday": "月曜日",
+ "More": "その他",
+ "Moved from the old memory": "古い記憶から移行",
+ "Mute": "ミュート",
+ "Muted": "ミュート中",
+ "Never": "常に拒否",
+ "Never allowed": "許可しない",
+ "No time zone matches “{query}”.": "「{query}」に一致するタイムゾーンはありません。",
+ "No {name} key on {other}": "{other} に {name} キーがありません",
+ "Not connected to {name}.": "{name} に接続されていません。",
+ "On-device speech isn't available in this build.": "このビルドでは端末内の音声認識は利用できません。",
+ "Open {name} in Extensions to sign in.": "サインインするには、拡張機能で {name} を開いてください。",
+ "Open {name}'s own chat": "{name} の個別チャットを開く",
+ "OpenAI sent no session credential.": "OpenAI からセッション資格情報が送られてきませんでした。",
+ "Optional": "任意",
+ "Orange": "オレンジ",
+ "Pairing code for {name}": "{name} のペアリングコード",
+ "React {emoji}": "{emoji} でリアクション",
+ "Rebuild Codync Dev with its development host, then open it again.": "Codync Dev を開発用ホストと一緒に再ビルドしてから、もう一度開いてください。",
+ "Reconnecting": "再接続中",
+ "Red": "赤",
+ "Refresh model list": "モデル一覧を更新",
+ "Remove reaction {emoji}": "リアクション {emoji} を削除",
+ "Remove {emoji}": "{emoji} を削除",
+ "Remove {name}": "{name} を削除",
+ "Remove {name} from the group": "グループから {name} を削除",
+ "Repeat": "繰り返し",
+ "Resize panel": "パネルのサイズを変更",
+ "Resize sidebar": "サイドバーの幅を変更",
+ "Resuming after restart": "再起動後に再開中",
+ "Retry download": "ダウンロードを再試行",
+ "Retry model list": "モデル一覧を再試行",
+ "Retrying": "再試行中",
+ "Routine": "ルーチン",
+ "Running": "実行中",
+ "Running on {name}. Links open on this device.": "{name} で実行中。リンクはこの端末で開きます。",
+ "Runs on {name}{path}": "{name}{path} で実行",
+ "SSH alias or hostname": "SSH エイリアスまたはホスト名",
+ "SSH port": "SSH ポート",
+ "Sat": "土",
+ "Saturday": "土曜日",
+ "Save ({shortcut})": "保存 ({shortcut})",
+ "Save again": "再度保存",
+ "Save changes": "変更を保存",
+ "Save to get the URL and key.": "URL とキーを取得するには保存してください。",
+ "Saved": "保存しました",
+ "Saved on {name} only and given to {other} when it starts.": "{name} にのみ保存され、起動時に {other} に渡されます。",
+ "Schedule": "スケジュール",
+ "Schedule needs attention": "スケジュールに確認が必要です",
+ "Search time zones": "タイムゾーンを検索",
+ "Send": "送信",
+ "Sent to Composio, which keeps it for {name}.": "Composio に送信され、{name} 用に保管されます。",
+ "Set up this {device}": "この{device}を設定",
+ "Show bots": "ボットを表示",
+ "Show key": "キーを表示",
+ "Sign in first.": "先にサインインしてください。",
+ "Signed in as {email}": "{email} としてサインイン中",
+ "Signing in to {name} didn't work ({status}). Close and try again.": "{name} へのサインインに失敗しました ({status})。閉じてもう一度お試しください。",
+ "Speaking": "話し中",
+ "Speech recognition stopped.": "音声認識が停止しました。",
+ "Speech to text": "音声からテキストへ",
+ "Started": "開始しました",
+ "Starting": "開始中",
+ "Stays on {name}": "{name} に残ります",
+ "Stop": "停止",
+ "Stop dictating": "音声入力を停止",
+ "Sun": "日",
+ "Sunday": "日曜日",
+ "Test run": "テスト実行",
+ "Text to speech": "音声読み上げ",
+ "The Codync port must be a number.": "Codync ポートは数字で入力してください。",
+ "The SSH port must be a number.": "SSH ポートは数字で入力してください。",
+ "The request expired. Ask again.": "リクエストの期限が切れました。もう一度お願いします。",
+ "This account was deleted.": "このアカウントは削除されました。",
+ "This computer's host isn't connected.": "このコンピューターのホストに接続されていません。",
+ "This copy of Codync doesn't include codync-host. Download Codync again from codync.dev or GitHub.": "この Codync には codync-host が含まれていません。codync.dev または GitHub から Codync を再度ダウンロードしてください。",
+ "This device isn't allowed on that computer anymore.": "この端末は、そのコンピューターへのアクセスが許可されなくなりました。",
+ "This month": "今月",
+ "Thu": "木",
+ "Thursday": "木曜日",
+ "Time": "時刻",
+ "Time zone, {zone}": "タイムゾーン: {zone}",
+ "Timed out waiting for the sign-in.": "サインインの待機がタイムアウトしました。",
+ "Timeout": "タイムアウト",
+ "Timeout {time}": "タイムアウト {time}",
+ "Too many requests. Try again in a little while.": "リクエストが多すぎます。しばらくしてから再度お試しください。",
+ "Tue": "火",
+ "Tuesday": "火曜日",
+ "Turn {name} on for a bot in the bot's settings, under Connectors.": "ボットの設定の「コネクター」で、ボットに対して {name} をオンにしてください。",
+ "URL": "URL",
+ "Unmute": "ミュート解除",
+ "Update Codync on your computer to see this bot's memory.": "このボットの記憶を見るには、コンピューターの Codync を更新してください。",
+ "Update Codync on {host}": "{host} の Codync を更新",
+ "Update this app": "このアプリを更新",
+ "Use a tool": "ツールを使用",
+ "User": "ユーザー",
+ "Violet": "紫",
+ "Voice by {name}": "{name} の音声",
+ "Voice keys are kept by {computer}'s host, which isn't running.": "音声キーは {computer} のホストで保管されていますが、ホストが起動していません。",
+ "Waiting for {name} to show its code…": "{name} がコードを表示するのを待っています…",
+ "Waiting for {name}…": "{name} を待っています…",
+ "Wants to access the web": "Web へのアクセスを求めています",
+ "Wants to change files": "ファイルの変更を求めています",
+ "Wants to read files": "ファイルの読み取りを求めています",
+ "Wants to run a command": "コマンドの実行を求めています",
+ "Wants to use a tool": "ツールの使用を求めています",
+ "Webhook": "Webhook",
+ "Wed": "水",
+ "Wednesday": "水曜日",
+ "Weekdays": "平日",
+ "What it adds quotes something you typed yourself; pasted text, the bot's replies and other bots don't count. It never rewrites what you wrote. It may also put a passed date in the past tense, and before memory fills up it moves detail, word for word, into notes by topic, keeping one line per topic that points to its note.": "ボットが追加するのは、ご自身が入力した内容からの引用です。貼り付けたテキスト、ボットの返信、他のボットは対象外です。書いた内容を書き換えることはありません。過去の日付を過去形に変えることがあります。記憶がいっぱいになる前に、詳細を一語一句そのままトピック別のメモに移し、トピックごとに 1 行だけ残してメモへのリンクを付けます。",
+ "Working, listening": "作業中・聞き取り中",
+ "Works once, until {time}": "1 回限り有効、{time} まで",
+ "Yellow": "黄色",
+ "You wrote it": "ご自身が書いた内容",
+ "You've been using Codync for a while. If it saves you trips to your desk, a star on GitHub helps other people find it.": "Codync をしばらくお使いいただきありがとうございます。机に戻る手間を省けているなら、GitHub でスターを付けていただくと、他の人にも見つけてもらいやすくなります。",
+ "Your bots are idle. Message one from here, or open Codync.": "ボットは待機中です。ここから 1 つのボットにメッセージを送るか、Codync を開いてください。",
+ "Your computer is offline.": "コンピューターがオフラインです。",
+ "a computer": "コンピューター",
+ "computer": "コンピューター",
+ "the agent": "エージェント",
+ "{backend} is done": "{backend} が完了しました",
+ "{count} notes, over the {cap}-note cap. Ask the bot to merge some.": "メモ {count} 件、上限 {cap} 件を超えています。ボットに一部の統合を依頼してください。",
+ "{count} working": "{count} 件作業中",
+ "{device} Using {name}.": "{device}。{name} を使用中。",
+ "{error} Pick OpenAI or Gemini beside the mic.": "{error} マイクの横で OpenAI または Gemini を選択してください。",
+ "{name} and {other}": "{name} と {other}",
+ "{name} is larger than 100 MB.": "{name} は 100 MB を超えています。",
+ "{name} isn't available ({reason}). Using on-device voice.": "{name} は利用できません ({reason})。端末内の音声を使用します。",
+ "{name} says the connection is {status}.": "{name} によると、接続状態は {status} です。",
+ "{name} stopped.": "{name} が停止しました。",
+ "{name} wants to use {other}": "{name} が {other} の使用を求めています",
+ "{name} · {other}. Drag to reorder.": "{name} · {other}。ドラッグして並べ替え。",
+ "{paired} · seen {when}": "{paired} · {when} に確認",
+ "{shape} shape": "形状: {shape}",
+ "{tokens} tokens": "{tokens} トークン",
+ "“Reach from anywhere” is off, so the iPhone only reaches {name} on the same network.": "「どこからでもアクセス」がオフのため、iPhone は同じネットワーク上の {name} にのみ接続できます。",
+ "≈ {minutes} min": "約 {minutes} 分",
+ "Set up Composio in Extensions first.": "先に「拡張機能」で Composio を設定してください。",
+ "Composio didn't return a sign-in link": "Composio からサインインリンクが返されませんでした",
+ "Composio didn't return an auth config": "Composio から認証設定が返されませんでした",
+ "Composio didn't return the connection": "Composio から接続が返されませんでした",
+ "connector storage is busy": "コネクタのストレージが使用中です。もう一度お試しください",
+ "Updated routine: {routine}": "ルーティンを更新しました:{routine}",
+ "Created routine: {routine}": "ルーティンを作成しました:{routine}",
+ "Created bot {bot}": "ボット {bot} を作成しました",
+ "Updated {bot}: {changes}": "{bot} を更新しました:{changes}",
+ "Message from {bot}: {message}": "{bot} からのメッセージ:{message}",
+ "Could not start routine: {error}": "ルーティンを開始できませんでした:{error}",
+ "Could not queue routine: {error}": "ルーティンをキューに追加できませんでした:{error}",
+ "Retrying at {time}": "{time} に再試行",
+ "Last run {status}": "前回の実行: {status}"
}
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json
index b114a95d..16417b93 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ko.json
@@ -1526,5 +1526,261 @@
"↵ sign in instead of the token": "↵ 토큰 대신 로그인",
"Code {code} copied: paste it at {url}, then Enter checks. Ctrl+X cancels.": "코드 {code} 복사됨: {url}에 붙여 넣은 뒤 Enter로 확인. Ctrl+X로 취소.",
"Show agent logos": "에이전트 로고 표시",
- "Marks each bot with its agent's logo when your bots use more than one agent.": "봇이 두 가지 이상의 에이전트를 사용할 때 각 봇에 해당 에이전트의 로고를 표시합니다."
+ "Marks each bot with its agent's logo when your bots use more than one agent.": "봇이 두 가지 이상의 에이전트를 사용할 때 각 봇에 해당 에이전트의 로고를 표시합니다.",
+ " · archived": " · 보관됨",
+ " · undone": " · 실행 취소됨",
+ ", over the {cap} cap": ", 한도 {cap} 초과",
+ "A deleted bot": "삭제된 봇",
+ "A persistent workspace allocated for this bot": "이 봇에 할당된 영구 작업 공간",
+ "About {name}": "{name} 정보",
+ "Add it in Codync on {name}: Settings → Voice chat, or connect to that computer over SSH.": "{name}의 Codync에서 추가하세요: 설정 → 음성 채팅, 또는 SSH로 해당 컴퓨터에 연결하세요.",
+ "Add it to let bots use these instructions.": "봇이 이 지침을 사용하도록 추가하세요.",
+ "Add {name}": "{name} 추가",
+ "Added to {name}": "{name}에 추가됨",
+ "After five quiet minutes or eight messages, or once memory is nearly full, the bot reads what you said since its last run and updates its memory.": "5분간 조용하거나 메시지가 8개 쌓이거나 기억 공간이 거의 찼을 때, 봇은 지난 실행 이후 당신이 한 말을 읽고 기억을 업데이트합니다.",
+ "Allow once": "한 번 허용",
+ "Allow the microphone for Codync in Settings to talk to your bots.": "봇과 대화하려면 설정에서 Codync의 마이크 접근을 허용하세요.",
+ "Allowed once": "한 번 허용됨",
+ "Always allow": "항상 허용",
+ "Always allowed": "항상 허용됨",
+ "Answered": "답변함",
+ "Approval": "승인",
+ "Approve only if {name} shows exactly this code. If it doesn't, deny: someone may be trying to get in.": "{name}에 이 코드가 정확히 표시될 때만 승인하세요. 표시되지 않으면 거부하세요. 누군가 접속을 시도하고 있을 수 있습니다.",
+ "Black": "검은색",
+ "Blue": "파란색",
+ "Bots read these before using the skill.": "봇은 스킬을 사용하기 전에 이것을 읽습니다.",
+ "Brown": "갈색",
+ "Call": "통화",
+ "Can't listen": "듣지 못함",
+ "Can't reach your computer. Is it on and connected to the internet?": "컴퓨터에 연결할 수 없습니다. 켜져 있고 인터넷에 연결되어 있나요?",
+ "Cancel download": "다운로드 취소",
+ "Cancelled": "취소됨",
+ "Code {value}": "코드 {value}",
+ "Codync port": "Codync 포트",
+ "Codync runs your coding agents through the host, a small background service on this {device}.": "Codync은 이 {device}에서 실행되는 작은 백그라운드 서비스인 호스트를 통해 코딩 에이전트를 실행합니다.",
+ "Commands": "명령",
+ "Computers, {filter}. Filter conversations": "컴퓨터, {filter}. 대화 필터",
+ "Connect to this computer to download the file": "파일을 다운로드하려면 이 컴퓨터에 연결하세요",
+ "Connect to this computer to load its models. You can still enter a model ID.": "모델을 불러오려면 이 컴퓨터에 연결하세요. 모델 ID를 직접 입력할 수도 있습니다.",
+ "Connect to this computer to open the artifact": "아티팩트를 열려면 이 컴퓨터에 연결하세요",
+ "Connect to this computer to rename the artifact": "아티팩트 이름을 바꾸려면 이 컴퓨터에 연결하세요",
+ "Connect to this computer to see its library": "라이브러리를 보려면 이 컴퓨터에 연결하세요",
+ "Connect to your computer to change its icons.": "아이콘을 변경하려면 컴퓨터에 연결하세요.",
+ "Connect {name}": "{name} 연결",
+ "Connected locally": "로컬로 연결됨",
+ "Connection timed out": "연결 시간이 초과되었습니다",
+ "Conversation": "대화",
+ "Couldn't reach Gemini.": "Gemini에 연결할 수 없었습니다.",
+ "Couldn't reach OpenAI.": "OpenAI에 연결할 수 없었습니다.",
+ "Couldn't save the draft on this device. Your text is still here; keep this window open until you send or copy it.": "이 기기에 초안을 저장하지 못했습니다. 텍스트는 그대로 있습니다. 보내거나 복사할 때까지 이 창을 열어 두세요.",
+ "Couldn't start the call audio.": "통화 오디오를 시작하지 못했습니다.",
+ "Create a bot in Codync to get started.": "시작하려면 Codync에서 봇을 만드세요.",
+ "Create routine": "루틴 만들기",
+ "Cron": "Cron",
+ "Custom": "사용자 지정",
+ "Custom agent": "사용자 지정 에이전트",
+ "Cyan": "청록색",
+ "Daily": "매일",
+ "Day": "일",
+ "Default · {name}": "기본 · {name}",
+ "Delete {name}?": "{name}을(를) 삭제할까요?",
+ "Deleted.": "삭제되었습니다.",
+ "Deliveries wait up to 72 hours while this computer is off. They pass through the Codync cloud, which can read them.": "이 컴퓨터가 꺼져 있는 동안 전달은 최대 72시간 대기합니다. 전달 내용은 Codync 클라우드를 거치며, 클라우드에서 내용을 읽을 수 있습니다.",
+ "Denied": "거부됨",
+ "Dictate": "받아쓰기",
+ "Dictating with a provider needs the chat window.": "제공자를 사용한 받아쓰기에는 채팅 창이 필요합니다.",
+ "Dictation engine": "받아쓰기 엔진",
+ "Didn't complete.": "완료되지 않았습니다.",
+ "Download": "다운로드",
+ "Downloading Codync {version}": "Codync {version} 다운로드 중",
+ "Edit SSH computer": "SSH 컴퓨터 편집",
+ "Edit routine": "루틴 편집",
+ "Ended with an error ({code}).": "오류와 함께 종료됨 ({code}).",
+ "Expired — the agent moved on": "만료됨 — 에이전트가 다음 작업으로 넘어갔습니다",
+ "For dictation in the message box.": "메시지 입력창에서 받아쓰기용입니다.",
+ "Fri": "금",
+ "Friday": "금요일",
+ "From SSH config": "SSH 설정에서",
+ "Gemini ended the call.": "Gemini가 통화를 종료했습니다.",
+ "Gemini sent no session credential.": "Gemini가 세션 자격 증명을 보내지 않았습니다.",
+ "Get a key from {name}": "{name}에서 키 발급받기",
+ "GitHub Star": "GitHub 스타",
+ "Gray": "회색",
+ "Green": "초록색",
+ "Handoff": "인계",
+ "Hide key": "키 숨기기",
+ "Host": "호스트",
+ "Hourly": "매시간",
+ "Image attachment: {name}": "이미지 첨부: {name}",
+ "Install host on this {device}": "이 {device}에 호스트 설치",
+ "Instruction": "지침",
+ "Interrupt": "중단",
+ "Interrupted": "중단됨",
+ "Key": "키",
+ "Key works": "키 작동 중",
+ "Key works and is saved on {name}": "키가 작동하며 {name}에 저장되었습니다",
+ "Listening": "듣는 중",
+ "Local URL": "로컬 URL",
+ "Lost the connection to Gemini.": "Gemini와의 연결이 끊어졌습니다.",
+ "Lost the connection to OpenAI.": "OpenAI와의 연결이 끊어졌습니다.",
+ "Magenta": "자홍색",
+ "Message": "메시지",
+ "Message from": "보낸 사람",
+ "Message {name}": "{name}에게 메시지",
+ "Message {name}…": "{name}에게 메시지…",
+ "Messaged": "메시지 보냄",
+ "Messages": "메시지",
+ "Mon": "월",
+ "Monday": "월요일",
+ "More": "더 보기",
+ "Moved from the old memory": "이전 기억에서 이동됨",
+ "Mute": "음소거",
+ "Muted": "음소거됨",
+ "Never": "안 함",
+ "Never allowed": "허용 안 함",
+ "No time zone matches “{query}”.": "“{query}”와(과) 일치하는 시간대가 없습니다.",
+ "No {name} key on {other}": "{other}에 {name} 키가 없습니다",
+ "Not connected to {name}.": "{name}에 연결되어 있지 않습니다.",
+ "On-device speech isn't available in this build.": "이 빌드에서는 기기 내 음성 인식을 사용할 수 없습니다.",
+ "Open {name} in Extensions to sign in.": "로그인하려면 확장 기능에서 {name}을(를) 여세요.",
+ "Open {name}'s own chat": "{name}의 개인 채팅 열기",
+ "OpenAI sent no session credential.": "OpenAI가 세션 자격 증명을 보내지 않았습니다.",
+ "Optional": "선택 사항",
+ "Orange": "주황색",
+ "Pairing code for {name}": "{name}의 페어링 코드",
+ "React {emoji}": "{emoji} 반응",
+ "Rebuild Codync Dev with its development host, then open it again.": "개발용 호스트와 함께 Codync Dev를 다시 빌드한 후 다시 여세요.",
+ "Reconnecting": "다시 연결하는 중",
+ "Red": "빨간색",
+ "Refresh model list": "모델 목록 새로고침",
+ "Remove reaction {emoji}": "{emoji} 반응 제거",
+ "Remove {emoji}": "{emoji} 제거",
+ "Remove {name}": "{name} 제거",
+ "Remove {name} from the group": "그룹에서 {name} 제거",
+ "Repeat": "반복",
+ "Resize panel": "패널 크기 조정",
+ "Resize sidebar": "사이드바 크기 조정",
+ "Resuming after restart": "재시작 후 재개 중",
+ "Retry download": "다운로드 다시 시도",
+ "Retry model list": "모델 목록 다시 시도",
+ "Retrying": "다시 시도 중",
+ "Routine": "루틴",
+ "Running": "실행 중",
+ "Running on {name}. Links open on this device.": "{name}에서 실행 중입니다. 링크는 이 기기에서 열립니다.",
+ "Runs on {name}{path}": "{name}{path}에서 실행",
+ "SSH alias or hostname": "SSH 별칭 또는 호스트 이름",
+ "SSH port": "SSH 포트",
+ "Sat": "토",
+ "Saturday": "토요일",
+ "Save ({shortcut})": "저장 ({shortcut})",
+ "Save again": "다시 저장",
+ "Save changes": "변경 사항 저장",
+ "Save to get the URL and key.": "URL과 키를 받으려면 저장하세요.",
+ "Saved": "저장됨",
+ "Saved on {name} only and given to {other} when it starts.": "{name}에만 저장되며, 시작할 때 {other}에 전달됩니다.",
+ "Schedule": "일정",
+ "Schedule needs attention": "일정 확인이 필요합니다",
+ "Search time zones": "시간대 검색",
+ "Send": "보내기",
+ "Sent to Composio, which keeps it for {name}.": "Composio에 전송되어 {name}용으로 보관됩니다.",
+ "Set up this {device}": "이 {device} 설정",
+ "Show bots": "봇 표시",
+ "Show key": "키 표시",
+ "Sign in first.": "먼저 로그인하세요.",
+ "Signed in as {email}": "{email}(으)로 로그인됨",
+ "Signing in to {name} didn't work ({status}). Close and try again.": "{name} 로그인에 실패했습니다 ({status}). 닫고 다시 시도하세요.",
+ "Speaking": "말하는 중",
+ "Speech recognition stopped.": "음성 인식이 중지되었습니다.",
+ "Speech to text": "음성 텍스트 변환",
+ "Started": "시작됨",
+ "Starting": "시작하는 중",
+ "Stays on {name}": "{name}에 남습니다",
+ "Stop": "중지",
+ "Stop dictating": "받아쓰기 중지",
+ "Sun": "일",
+ "Sunday": "일요일",
+ "Test run": "테스트 실행",
+ "Text to speech": "텍스트 음성 변환",
+ "The Codync port must be a number.": "Codync 포트는 숫자여야 합니다.",
+ "The SSH port must be a number.": "SSH 포트는 숫자여야 합니다.",
+ "The request expired. Ask again.": "요청이 만료되었습니다. 다시 요청하세요.",
+ "This account was deleted.": "이 계정은 삭제되었습니다.",
+ "This computer's host isn't connected.": "이 컴퓨터의 호스트가 연결되어 있지 않습니다.",
+ "This copy of Codync doesn't include codync-host. Download Codync again from codync.dev or GitHub.": "이 Codync 버전에는 codync-host가 포함되어 있지 않습니다. codync.dev 또는 GitHub에서 Codync를 다시 다운로드하세요.",
+ "This device isn't allowed on that computer anymore.": "이 기기는 더 이상 해당 컴퓨터에 접근할 수 없습니다.",
+ "This month": "이번 달",
+ "Thu": "목",
+ "Thursday": "목요일",
+ "Time": "시간",
+ "Time zone, {zone}": "시간대: {zone}",
+ "Timed out waiting for the sign-in.": "로그인 대기 시간이 초과되었습니다.",
+ "Timeout": "시간 초과",
+ "Timeout {time}": "시간 초과 {time}",
+ "Too many requests. Try again in a little while.": "요청이 너무 많습니다. 잠시 후 다시 시도하세요.",
+ "Tue": "화",
+ "Tuesday": "화요일",
+ "Turn {name} on for a bot in the bot's settings, under Connectors.": "봇 설정의 커넥터에서 봇에 대해 {name}을(를) 켜세요.",
+ "URL": "URL",
+ "Unmute": "음소거 해제",
+ "Update Codync on your computer to see this bot's memory.": "이 봇의 기억을 보려면 컴퓨터의 Codync를 업데이트하세요.",
+ "Update Codync on {host}": "{host}의 Codync 업데이트",
+ "Update this app": "이 앱 업데이트",
+ "Use a tool": "도구 사용",
+ "User": "사용자",
+ "Violet": "보라색",
+ "Voice by {name}": "{name} 음성",
+ "Voice keys are kept by {computer}'s host, which isn't running.": "음성 키는 {computer}의 호스트에 보관되어 있지만, 호스트가 실행 중이 아닙니다.",
+ "Waiting for {name} to show its code…": "{name}이(가) 코드를 표시하기를 기다리는 중…",
+ "Waiting for {name}…": "{name} 대기 중…",
+ "Wants to access the web": "웹 접근을 요청함",
+ "Wants to change files": "파일 변경을 요청함",
+ "Wants to read files": "파일 읽기를 요청함",
+ "Wants to run a command": "명령 실행을 요청함",
+ "Wants to use a tool": "도구 사용을 요청함",
+ "Webhook": "웹훅",
+ "Wed": "수",
+ "Wednesday": "수요일",
+ "Weekdays": "평일",
+ "What it adds quotes something you typed yourself; pasted text, the bot's replies and other bots don't count. It never rewrites what you wrote. It may also put a passed date in the past tense, and before memory fills up it moves detail, word for word, into notes by topic, keeping one line per topic that points to its note.": "추가되는 내용은 사용자가 직접 입력한 내용을 인용한 것입니다. 붙여넣은 텍스트, 봇의 답변, 다른 봇의 내용은 포함되지 않습니다. 작성한 내용을 다시 쓰지는 않습니다. 지난 날짜를 과거형으로 바꿀 수도 있습니다. 기억 공간이 차기 전에는 세부 내용을 한 글자도 바꾸지 않고 주제별 메모로 옮기며, 주제마다 메모로 가는 링크 한 줄만 남깁니다.",
+ "Working, listening": "작업 및 듣기 중",
+ "Works once, until {time}": "한 번만 사용 가능, {time}까지",
+ "Yellow": "노란색",
+ "You wrote it": "직접 작성함",
+ "You've been using Codync for a while. If it saves you trips to your desk, a star on GitHub helps other people find it.": "Codync를 한동안 사용해 주셨네요. 자리에 가는 수고를 덜어주고 있다면, GitHub에 스타를 눌러 다른 사람들이 찾을 수 있도록 도와주세요.",
+ "Your bots are idle. Message one from here, or open Codync.": "봇들이 대기 중입니다. 여기서 한 봇에게 메시지를 보내거나 Codync를 여세요.",
+ "Your computer is offline.": "컴퓨터가 오프라인입니다.",
+ "a computer": "컴퓨터",
+ "computer": "컴퓨터",
+ "the agent": "에이전트",
+ "{backend} is done": "{backend} 완료",
+ "{count} notes, over the {cap}-note cap. Ask the bot to merge some.": "메모 {count}개, 한도 {cap}개 초과. 봇에게 일부 병합을 요청하세요.",
+ "{count} working": "{count}개 작업 중",
+ "{device} Using {name}.": "{device}. {name} 사용 중.",
+ "{error} Pick OpenAI or Gemini beside the mic.": "{error} 마이크 옆에서 OpenAI 또는 Gemini를 선택하세요.",
+ "{name} and {other}": "{name} 및 {other}",
+ "{name} is larger than 100 MB.": "{name}은(는) 100MB보다 큽니다.",
+ "{name} isn't available ({reason}). Using on-device voice.": "{name}을(를) 사용할 수 없습니다 ({reason}). 기기 내 음성을 사용합니다.",
+ "{name} says the connection is {status}.": "{name}에 따르면 연결 상태는 {status}입니다.",
+ "{name} stopped.": "{name}이(가) 중지되었습니다.",
+ "{name} wants to use {other}": "{name}이(가) {other} 사용을 요청함",
+ "{name} · {other}. Drag to reorder.": "{name} · {other}. 끌어서 순서 변경.",
+ "{paired} · seen {when}": "{paired} · {when}에 확인됨",
+ "{shape} shape": "모양: {shape}",
+ "{tokens} tokens": "토큰 {tokens}개",
+ "“Reach from anywhere” is off, so the iPhone only reaches {name} on the same network.": "“어디서나 접속”이 꺼져 있어, iPhone은 같은 네트워크에 있는 {name}에만 접속할 수 있습니다.",
+ "≈ {minutes} min": "약 {minutes}분",
+ "Set up Composio in Extensions first.": "먼저 확장 프로그램에서 Composio를 설정하세요.",
+ "Composio didn't return a sign-in link": "Composio가 로그인 링크를 반환하지 않았습니다",
+ "Composio didn't return an auth config": "Composio가 인증 구성을 반환하지 않았습니다",
+ "Composio didn't return the connection": "Composio가 연결을 반환하지 않았습니다",
+ "connector storage is busy": "커넥터 저장소가 사용 중입니다. 다시 시도하세요",
+ "Updated routine: {routine}": "루틴 업데이트됨: {routine}",
+ "Created routine: {routine}": "루틴 생성됨: {routine}",
+ "Created bot {bot}": "봇 {bot} 생성됨",
+ "Updated {bot}: {changes}": "{bot} 업데이트됨: {changes}",
+ "Message from {bot}: {message}": "{bot}의 메시지: {message}",
+ "Could not start routine: {error}": "루틴을 시작할 수 없음: {error}",
+ "Could not queue routine: {error}": "루틴을 대기열에 넣을 수 없음: {error}",
+ "Retrying at {time}": "{time}에 재시도",
+ "Last run {status}": "마지막 실행: {status}"
}
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/pt-BR.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/pt-BR.json
index dc33dfd9..34c9251d 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/pt-BR.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/pt-BR.json
@@ -1526,5 +1526,261 @@
"↵ sign in instead of the token": "↵ entrar em vez de usar o token",
"Code {code} copied: paste it at {url}, then Enter checks. Ctrl+X cancels.": "Código {code} copiado: cole em {url} e depois pressione Enter para verificar. Ctrl+X cancela.",
"Show agent logos": "Mostrar logotipos dos agentes",
- "Marks each bot with its agent's logo when your bots use more than one agent.": "Marca cada bot com o logotipo do agente dele quando seus bots usam mais de um agente."
+ "Marks each bot with its agent's logo when your bots use more than one agent.": "Marca cada bot com o logotipo do agente dele quando seus bots usam mais de um agente.",
+ " · archived": " · arquivado",
+ " · undone": " · desfeito",
+ ", over the {cap} cap": ", acima do limite de {cap}",
+ "A deleted bot": "Um bot excluído",
+ "A persistent workspace allocated for this bot": "Um espaço de trabalho persistente reservado para este bot",
+ "About {name}": "Sobre {name}",
+ "Add it in Codync on {name}: Settings → Voice chat, or connect to that computer over SSH.": "Adicione-o no Codync em {name}: Ajustes → Conversa por voz, ou conecte-se a esse computador por SSH.",
+ "Add it to let bots use these instructions.": "Adicione para que os bots possam usar estas instruções.",
+ "Add {name}": "Adicionar {name}",
+ "Added to {name}": "Adicionado a {name}",
+ "After five quiet minutes or eight messages, or once memory is nearly full, the bot reads what you said since its last run and updates its memory.": "Depois de cinco minutos sem atividade ou oito mensagens, ou quando a memória estiver quase cheia, o bot lê o que você disse desde a última execução e atualiza a memória.",
+ "Allow once": "Permitir uma vez",
+ "Allow the microphone for Codync in Settings to talk to your bots.": "Permita o uso do microfone para o Codync nos Ajustes para conversar com seus bots.",
+ "Allowed once": "Permitido uma vez",
+ "Always allow": "Sempre permitir",
+ "Always allowed": "Sempre permitido",
+ "Answered": "Respondido",
+ "Approval": "Aprovação",
+ "Approve only if {name} shows exactly this code. If it doesn't, deny: someone may be trying to get in.": "Aprove somente se {name} mostrar exatamente este código. Se não mostrar, negue: alguém pode estar tentando entrar.",
+ "Black": "Preto",
+ "Blue": "Azul",
+ "Bots read these before using the skill.": "Os bots leem isto antes de usar a habilidade.",
+ "Brown": "Marrom",
+ "Call": "Chamada",
+ "Can't listen": "Não é possível ouvir",
+ "Can't reach your computer. Is it on and connected to the internet?": "Não foi possível acessar seu computador. Ele está ligado e conectado à internet?",
+ "Cancel download": "Cancelar download",
+ "Cancelled": "Cancelado",
+ "Code {value}": "Código {value}",
+ "Codync port": "Porta do Codync",
+ "Codync runs your coding agents through the host, a small background service on this {device}.": "O Codync executa seus agentes de programação pelo host, um pequeno serviço em segundo plano neste {device}.",
+ "Commands": "Comandos",
+ "Computers, {filter}. Filter conversations": "Computadores, {filter}. Filtrar conversas",
+ "Connect to this computer to download the file": "Conecte-se a este computador para baixar o arquivo",
+ "Connect to this computer to load its models. You can still enter a model ID.": "Conecte-se a este computador para carregar os modelos. Você ainda pode digitar um ID de modelo.",
+ "Connect to this computer to open the artifact": "Conecte-se a este computador para abrir o artefato",
+ "Connect to this computer to rename the artifact": "Conecte-se a este computador para renomear o artefato",
+ "Connect to this computer to see its library": "Conecte-se a este computador para ver a biblioteca dele",
+ "Connect to your computer to change its icons.": "Conecte-se ao seu computador para alterar os ícones.",
+ "Connect {name}": "Conectar {name}",
+ "Connected locally": "Conectado localmente",
+ "Connection timed out": "A conexão expirou",
+ "Conversation": "Conversa",
+ "Couldn't reach Gemini.": "Não foi possível acessar o Gemini.",
+ "Couldn't reach OpenAI.": "Não foi possível acessar a OpenAI.",
+ "Couldn't save the draft on this device. Your text is still here; keep this window open until you send or copy it.": "Não foi possível salvar o rascunho neste dispositivo. Seu texto continua aqui; mantenha esta janela aberta até enviá-lo ou copiá-lo.",
+ "Couldn't start the call audio.": "Não foi possível iniciar o áudio da chamada.",
+ "Create a bot in Codync to get started.": "Crie um bot no Codync para começar.",
+ "Create routine": "Criar rotina",
+ "Cron": "Cron",
+ "Custom": "Personalizado",
+ "Custom agent": "Agente personalizado",
+ "Cyan": "Ciano",
+ "Daily": "Diário",
+ "Day": "Dia",
+ "Default · {name}": "Padrão · {name}",
+ "Delete {name}?": "Excluir {name}?",
+ "Deleted.": "Excluído.",
+ "Deliveries wait up to 72 hours while this computer is off. They pass through the Codync cloud, which can read them.": "As entregas aguardam até 72 horas enquanto este computador estiver desligado. Elas passam pela nuvem do Codync, que pode lê-las.",
+ "Denied": "Negado",
+ "Dictate": "Ditar",
+ "Dictating with a provider needs the chat window.": "Ditar com um provedor exige a janela de conversa.",
+ "Dictation engine": "Mecanismo de ditado",
+ "Didn't complete.": "Não foi concluído.",
+ "Download": "Baixar",
+ "Downloading Codync {version}": "Baixando o Codync {version}",
+ "Edit SSH computer": "Editar computador SSH",
+ "Edit routine": "Editar rotina",
+ "Ended with an error ({code}).": "Terminou com um erro ({code}).",
+ "Expired — the agent moved on": "Expirado — o agente seguiu em frente",
+ "For dictation in the message box.": "Para ditar na caixa de mensagem.",
+ "Fri": "Sex",
+ "Friday": "Sexta-feira",
+ "From SSH config": "Da configuração SSH",
+ "Gemini ended the call.": "O Gemini encerrou a chamada.",
+ "Gemini sent no session credential.": "O Gemini não enviou nenhuma credencial de sessão.",
+ "Get a key from {name}": "Obter uma chave do {name}",
+ "GitHub Star": "Estrela no GitHub",
+ "Gray": "Cinza",
+ "Green": "Verde",
+ "Handoff": "Passagem de contexto",
+ "Hide key": "Ocultar chave",
+ "Host": "Host",
+ "Hourly": "De hora em hora",
+ "Image attachment: {name}": "Anexo de imagem: {name}",
+ "Install host on this {device}": "Instalar o host neste {device}",
+ "Instruction": "Instrução",
+ "Interrupt": "Interromper",
+ "Interrupted": "Interrompido",
+ "Key": "Chave",
+ "Key works": "A chave funciona",
+ "Key works and is saved on {name}": "A chave funciona e está salva em {name}",
+ "Listening": "Ouvindo",
+ "Local URL": "URL local",
+ "Lost the connection to Gemini.": "A conexão com o Gemini foi perdida.",
+ "Lost the connection to OpenAI.": "A conexão com a OpenAI foi perdida.",
+ "Magenta": "Magenta",
+ "Message": "Mensagem",
+ "Message from": "Mensagem de",
+ "Message {name}": "Enviar mensagem a {name}",
+ "Message {name}…": "Enviar mensagem a {name}…",
+ "Messaged": "Mensagem enviada",
+ "Messages": "Mensagens",
+ "Mon": "Seg",
+ "Monday": "Segunda-feira",
+ "More": "Mais",
+ "Moved from the old memory": "Movido da memória antiga",
+ "Mute": "Silenciar",
+ "Muted": "Silenciado",
+ "Never": "Nunca",
+ "Never allowed": "Nunca permitido",
+ "No time zone matches “{query}”.": "Nenhum fuso horário corresponde a “{query}”.",
+ "No {name} key on {other}": "Nenhuma chave de {name} em {other}",
+ "Not connected to {name}.": "Não conectado a {name}.",
+ "On-device speech isn't available in this build.": "A fala no dispositivo não está disponível nesta versão.",
+ "Open {name} in Extensions to sign in.": "Abra {name} em Extensões para entrar.",
+ "Open {name}'s own chat": "Abrir a conversa própria de {name}",
+ "OpenAI sent no session credential.": "A OpenAI não enviou nenhuma credencial de sessão.",
+ "Optional": "Opcional",
+ "Orange": "Laranja",
+ "Pairing code for {name}": "Código de pareamento para {name}",
+ "React {emoji}": "Reagir com {emoji}",
+ "Rebuild Codync Dev with its development host, then open it again.": "Recompile o Codync Dev com o host de desenvolvimento e abra-o novamente.",
+ "Reconnecting": "Reconectando",
+ "Red": "Vermelho",
+ "Refresh model list": "Atualizar lista de modelos",
+ "Remove reaction {emoji}": "Remover reação {emoji}",
+ "Remove {emoji}": "Remover {emoji}",
+ "Remove {name}": "Remover {name}",
+ "Remove {name} from the group": "Remover {name} do grupo",
+ "Repeat": "Repetir",
+ "Resize panel": "Redimensionar painel",
+ "Resize sidebar": "Redimensionar barra lateral",
+ "Resuming after restart": "Retomando após reinício",
+ "Retry download": "Tentar baixar novamente",
+ "Retry model list": "Tentar lista de modelos novamente",
+ "Retrying": "Tentando novamente",
+ "Routine": "Rotina",
+ "Running": "Executando",
+ "Running on {name}. Links open on this device.": "Executando em {name}. Os links abrem neste dispositivo.",
+ "Runs on {name}{path}": "Executa em {name}{path}",
+ "SSH alias or hostname": "Apelido SSH ou nome do host",
+ "SSH port": "Porta SSH",
+ "Sat": "Sáb",
+ "Saturday": "Sábado",
+ "Save ({shortcut})": "Salvar ({shortcut})",
+ "Save again": "Salvar de novo",
+ "Save changes": "Salvar alterações",
+ "Save to get the URL and key.": "Salve para obter a URL e a chave.",
+ "Saved": "Salvo",
+ "Saved on {name} only and given to {other} when it starts.": "Salvo apenas em {name} e entregue a {other} quando ele iniciar.",
+ "Schedule": "Agendamento",
+ "Schedule needs attention": "O agendamento precisa de atenção",
+ "Search time zones": "Pesquisar fusos horários",
+ "Send": "Enviar",
+ "Sent to Composio, which keeps it for {name}.": "Enviado ao Composio, que o guarda para {name}.",
+ "Set up this {device}": "Configurar este {device}",
+ "Show bots": "Mostrar bots",
+ "Show key": "Mostrar chave",
+ "Sign in first.": "Entre na conta primeiro.",
+ "Signed in as {email}": "Conectado como {email}",
+ "Signing in to {name} didn't work ({status}). Close and try again.": "Não foi possível entrar em {name} ({status}). Feche e tente novamente.",
+ "Speaking": "Falando",
+ "Speech recognition stopped.": "O reconhecimento de voz foi interrompido.",
+ "Speech to text": "Voz para texto",
+ "Started": "Iniciado",
+ "Starting": "Iniciando",
+ "Stays on {name}": "Permanece em {name}",
+ "Stop": "Parar",
+ "Stop dictating": "Parar de ditar",
+ "Sun": "Dom",
+ "Sunday": "Domingo",
+ "Test run": "Execução de teste",
+ "Text to speech": "Texto para voz",
+ "The Codync port must be a number.": "A porta do Codync deve ser um número.",
+ "The SSH port must be a number.": "A porta SSH deve ser um número.",
+ "The request expired. Ask again.": "A solicitação expirou. Peça novamente.",
+ "This account was deleted.": "Esta conta foi excluída.",
+ "This computer's host isn't connected.": "O host deste computador não está conectado.",
+ "This copy of Codync doesn't include codync-host. Download Codync again from codync.dev or GitHub.": "Esta cópia do Codync não inclui o codync-host. Baixe o Codync novamente em codync.dev ou no GitHub.",
+ "This device isn't allowed on that computer anymore.": "Este dispositivo não tem mais permissão nesse computador.",
+ "This month": "Este mês",
+ "Thu": "Qui",
+ "Thursday": "Quinta-feira",
+ "Time": "Hora",
+ "Time zone, {zone}": "Fuso horário, {zone}",
+ "Timed out waiting for the sign-in.": "O tempo de espera pelo login esgotou.",
+ "Timeout": "Tempo limite",
+ "Timeout {time}": "Tempo limite {time}",
+ "Too many requests. Try again in a little while.": "Muitas solicitações. Tente novamente daqui a pouco.",
+ "Tue": "Ter",
+ "Tuesday": "Terça-feira",
+ "Turn {name} on for a bot in the bot's settings, under Connectors.": "Ative {name} para um bot nos ajustes do bot, em Conectores.",
+ "URL": "URL",
+ "Unmute": "Reativar som",
+ "Update Codync on your computer to see this bot's memory.": "Atualize o Codync no seu computador para ver a memória deste bot.",
+ "Update Codync on {host}": "Atualizar o Codync em {host}",
+ "Update this app": "Atualizar este app",
+ "Use a tool": "Usar uma ferramenta",
+ "User": "Usuário",
+ "Violet": "Violeta",
+ "Voice by {name}": "Voz de {name}",
+ "Voice keys are kept by {computer}'s host, which isn't running.": "As chaves de voz são guardadas pelo host de {computer}, que não está em execução.",
+ "Waiting for {name} to show its code…": "Aguardando {name} mostrar o código…",
+ "Waiting for {name}…": "Aguardando {name}…",
+ "Wants to access the web": "Quer acessar a web",
+ "Wants to change files": "Quer alterar arquivos",
+ "Wants to read files": "Quer ler arquivos",
+ "Wants to run a command": "Quer executar um comando",
+ "Wants to use a tool": "Quer usar uma ferramenta",
+ "Webhook": "Webhook",
+ "Wed": "Qua",
+ "Wednesday": "Quarta-feira",
+ "Weekdays": "Dias úteis",
+ "What it adds quotes something you typed yourself; pasted text, the bot's replies and other bots don't count. It never rewrites what you wrote. It may also put a passed date in the past tense, and before memory fills up it moves detail, word for word, into notes by topic, keeping one line per topic that points to its note.": "Ele adiciona citações de algo que você mesmo digitou; texto colado, respostas do bot e de outros bots não contam. Ele nunca reescreve o que você escreveu. Também pode colocar uma data já passada no tempo passado e, antes de a memória encher, move os detalhes, palavra por palavra, para anotações por tema, mantendo uma linha por tema que aponta para a respectiva anotação.",
+ "Working, listening": "Trabalhando, ouvindo",
+ "Works once, until {time}": "Funciona uma vez, até {time}",
+ "Yellow": "Amarelo",
+ "You wrote it": "Você escreveu",
+ "You've been using Codync for a while. If it saves you trips to your desk, a star on GitHub helps other people find it.": "Você usa o Codync há algum tempo. Se ele economiza idas até a mesa de trabalho, uma estrela no GitHub ajuda outras pessoas a encontrá-lo.",
+ "Your bots are idle. Message one from here, or open Codync.": "Seus bots estão ociosos. Envie uma mensagem para um deles daqui ou abra o Codync.",
+ "Your computer is offline.": "Seu computador está offline.",
+ "a computer": "um computador",
+ "computer": "computador",
+ "the agent": "o agente",
+ "{backend} is done": "{backend} terminou",
+ "{count} notes, over the {cap}-note cap. Ask the bot to merge some.": "{count} anotações, acima do limite de {cap}. Peça ao bot para mesclar algumas.",
+ "{count} working": "{count} trabalhando",
+ "{device} Using {name}.": "{device} Usando {name}.",
+ "{error} Pick OpenAI or Gemini beside the mic.": "{error} Escolha OpenAI ou Gemini ao lado do microfone.",
+ "{name} and {other}": "{name} e {other}",
+ "{name} is larger than 100 MB.": "{name} é maior que 100 MB.",
+ "{name} isn't available ({reason}). Using on-device voice.": "{name} não está disponível ({reason}). Usando a voz do dispositivo.",
+ "{name} says the connection is {status}.": "{name} informa que a conexão está {status}.",
+ "{name} stopped.": "{name} parou.",
+ "{name} wants to use {other}": "{name} quer usar {other}",
+ "{name} · {other}. Drag to reorder.": "{name} · {other}. Arraste para reordenar.",
+ "{paired} · seen {when}": "{paired} · visto {when}",
+ "{shape} shape": "Formato {shape}",
+ "{tokens} tokens": "{tokens} tokens",
+ "“Reach from anywhere” is off, so the iPhone only reaches {name} on the same network.": "“Acesso de qualquer lugar” está desativado, então o iPhone só alcança {name} na mesma rede.",
+ "≈ {minutes} min": "≈ {minutes} min",
+ "Set up Composio in Extensions first.": "Configure o Composio em Extensões primeiro.",
+ "Composio didn't return a sign-in link": "O Composio não retornou um link de login",
+ "Composio didn't return an auth config": "O Composio não retornou uma configuração de autenticação",
+ "Composio didn't return the connection": "O Composio não retornou a conexão",
+ "connector storage is busy": "o armazenamento do conector está ocupado",
+ "Updated routine: {routine}": "Rotina atualizada: {routine}",
+ "Created routine: {routine}": "Rotina criada: {routine}",
+ "Created bot {bot}": "Bot {bot} criado",
+ "Updated {bot}: {changes}": "Atualizado {bot}: {changes}",
+ "Message from {bot}: {message}": "Mensagem de {bot}: {message}",
+ "Could not start routine: {error}": "Não foi possível iniciar a rotina: {error}",
+ "Could not queue routine: {error}": "Não foi possível enfileirar a rotina: {error}",
+ "Retrying at {time}": "Nova tentativa às {time}",
+ "Last run {status}": "Última execução: {status}"
}
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ru.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ru.json
index ca53da5a..46f674a1 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ru.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/ru.json
@@ -1526,5 +1526,261 @@
"↵ sign in instead of the token": "↵ войти вместо использования токена",
"Code {code} copied: paste it at {url}, then Enter checks. Ctrl+X cancels.": "Код {code} скопирован: вставьте его на {url}, затем нажмите Enter для проверки. Ctrl+X — отмена.",
"Show agent logos": "Показывать логотипы агентов",
- "Marks each bot with its agent's logo when your bots use more than one agent.": "Отмечает каждого бота логотипом его агента, когда ваши боты используют больше одного агента."
+ "Marks each bot with its agent's logo when your bots use more than one agent.": "Отмечает каждого бота логотипом его агента, когда ваши боты используют больше одного агента.",
+ " · archived": " · в архиве",
+ " · undone": " · отменено",
+ ", over the {cap} cap": ", больше лимита {cap}",
+ "A deleted bot": "Удалённый бот",
+ "A persistent workspace allocated for this bot": "Постоянная рабочая папка этого бота",
+ "About {name}": "О {name}",
+ "Add it in Codync on {name}: Settings → Voice chat, or connect to that computer over SSH.": "Добавьте его в Codync на {name}: Настройки → Голосовой чат, или подключитесь к этому компьютеру по SSH.",
+ "Add it to let bots use these instructions.": "Добавьте, чтобы боты могли использовать эти инструкции.",
+ "Add {name}": "Добавить {name}",
+ "Added to {name}": "Добавлено в {name}",
+ "After five quiet minutes or eight messages, or once memory is nearly full, the bot reads what you said since its last run and updates its memory.": "Через пять минут тишины или после восьми сообщений, а также когда память почти заполнена, бот читает всё, что вы написали с прошлого запуска, и обновляет свою память.",
+ "Allow once": "Разрешить один раз",
+ "Allow the microphone for Codync in Settings to talk to your bots.": "Разрешите Codync доступ к микрофону в Настройках, чтобы говорить с ботами.",
+ "Allowed once": "Разрешено один раз",
+ "Always allow": "Всегда разрешать",
+ "Always allowed": "Разрешено всегда",
+ "Answered": "Ответ дан",
+ "Approval": "Подтверждение",
+ "Approve only if {name} shows exactly this code. If it doesn't, deny: someone may be trying to get in.": "Разрешайте, только если {name} показывает именно этот код. Если нет, отклоните: кто-то может пытаться войти.",
+ "Black": "Чёрный",
+ "Blue": "Синий",
+ "Bots read these before using the skill.": "Боты читают это перед использованием навыка.",
+ "Brown": "Коричневый",
+ "Call": "Звонок",
+ "Can't listen": "Не слышу",
+ "Can't reach your computer. Is it on and connected to the internet?": "Не удаётся связаться с вашим компьютером. Он включён и подключён к интернету?",
+ "Cancel download": "Отменить загрузку",
+ "Cancelled": "Отменено",
+ "Code {value}": "Код {value}",
+ "Codync port": "Порт Codync",
+ "Codync runs your coding agents through the host, a small background service on this {device}.": "Codync запускает ваших агентов для кода через хост, небольшую фоновую службу на этом {device}.",
+ "Commands": "Команды",
+ "Computers, {filter}. Filter conversations": "Компьютеры: {filter}. Фильтровать разговоры",
+ "Connect to this computer to download the file": "Подключитесь к этому компьютеру, чтобы скачать файл",
+ "Connect to this computer to load its models. You can still enter a model ID.": "Подключитесь к этому компьютеру, чтобы загрузить его модели. Идентификатор модели можно ввести и так.",
+ "Connect to this computer to open the artifact": "Подключитесь к этому компьютеру, чтобы открыть артефакт",
+ "Connect to this computer to rename the artifact": "Подключитесь к этому компьютеру, чтобы переименовать артефакт",
+ "Connect to this computer to see its library": "Подключитесь к этому компьютеру, чтобы увидеть его библиотеку",
+ "Connect to your computer to change its icons.": "Подключитесь к компьютеру, чтобы изменить его значки.",
+ "Connect {name}": "Подключить {name}",
+ "Connected locally": "Подключено локально",
+ "Connection timed out": "Время подключения истекло",
+ "Conversation": "Разговор",
+ "Couldn't reach Gemini.": "Не удалось подключиться к Gemini.",
+ "Couldn't reach OpenAI.": "Не удалось подключиться к OpenAI.",
+ "Couldn't save the draft on this device. Your text is still here; keep this window open until you send or copy it.": "Не удалось сохранить черновик на этом устройстве. Текст никуда не делся: не закрывайте окно, пока не отправите его или не скопируете.",
+ "Couldn't start the call audio.": "Не удалось запустить звук звонка.",
+ "Create a bot in Codync to get started.": "Чтобы начать, создайте бота в Codync.",
+ "Create routine": "Создать рутину",
+ "Cron": "Cron",
+ "Custom": "Свой",
+ "Custom agent": "Свой агент",
+ "Cyan": "Бирюзовый",
+ "Daily": "Каждый день",
+ "Day": "День",
+ "Default · {name}": "По умолчанию · {name}",
+ "Delete {name}?": "Удалить {name}?",
+ "Deleted.": "Удалено.",
+ "Deliveries wait up to 72 hours while this computer is off. They pass through the Codync cloud, which can read them.": "Доставка ждёт до 72 часов, пока этот компьютер выключен. Она проходит через облако Codync, которое может её прочитать.",
+ "Denied": "Отклонено",
+ "Dictate": "Диктовать",
+ "Dictating with a provider needs the chat window.": "Диктовка через провайдера требует окна чата.",
+ "Dictation engine": "Движок диктовки",
+ "Didn't complete.": "Не выполнено.",
+ "Download": "Скачать",
+ "Downloading Codync {version}": "Загружаем Codync {version}",
+ "Edit SSH computer": "Изменить компьютер по SSH",
+ "Edit routine": "Изменить рутину",
+ "Ended with an error ({code}).": "Завершилось с ошибкой ({code}).",
+ "Expired — the agent moved on": "Истекло, агент пошёл дальше",
+ "For dictation in the message box.": "Для диктовки в поле сообщения.",
+ "Fri": "Пт",
+ "Friday": "Пятница",
+ "From SSH config": "Из конфига SSH",
+ "Gemini ended the call.": "Gemini завершил звонок.",
+ "Gemini sent no session credential.": "Gemini не прислал данные сеанса.",
+ "Get a key from {name}": "Получите ключ у {name}",
+ "GitHub Star": "Звезда на GitHub",
+ "Gray": "Серый",
+ "Green": "Зелёный",
+ "Handoff": "Передача",
+ "Hide key": "Скрыть ключ",
+ "Host": "Хост",
+ "Hourly": "Каждый час",
+ "Image attachment: {name}": "Вложение-изображение: {name}",
+ "Install host on this {device}": "Установить хост на этом {device}",
+ "Instruction": "Инструкция",
+ "Interrupt": "Прервать",
+ "Interrupted": "Прервано",
+ "Key": "Ключ",
+ "Key works": "Ключ работает",
+ "Key works and is saved on {name}": "Ключ работает и сохранён на {name}",
+ "Listening": "Слушаю",
+ "Local URL": "Локальный URL",
+ "Lost the connection to Gemini.": "Соединение с Gemini потеряно.",
+ "Lost the connection to OpenAI.": "Соединение с OpenAI потеряно.",
+ "Magenta": "Пурпурный",
+ "Message": "Сообщение",
+ "Message from": "Сообщение от",
+ "Message {name}": "Написать {name}",
+ "Message {name}…": "Написать {name}…",
+ "Messaged": "Написано",
+ "Messages": "Сообщения",
+ "Mon": "Пн",
+ "Monday": "Понедельник",
+ "More": "Ещё",
+ "Moved from the old memory": "Перенесено из прежней памяти",
+ "Mute": "Выключить микрофон",
+ "Muted": "Микрофон выключен",
+ "Never": "Никогда",
+ "Never allowed": "Запрещено навсегда",
+ "No time zone matches “{query}”.": "Нет часового пояса по запросу «{query}».",
+ "No {name} key on {other}": "Нет ключа {name} на {other}",
+ "Not connected to {name}.": "Нет подключения к {name}.",
+ "On-device speech isn't available in this build.": "Распознавание речи на устройстве недоступно в этой сборке.",
+ "Open {name} in Extensions to sign in.": "Откройте {name} в разделе «Расширения», чтобы войти.",
+ "Open {name}'s own chat": "Открыть личный чат {name}",
+ "OpenAI sent no session credential.": "OpenAI не прислал данные сеанса.",
+ "Optional": "Необязательно",
+ "Orange": "Оранжевый",
+ "Pairing code for {name}": "Код подключения для {name}",
+ "React {emoji}": "Отреагировать {emoji}",
+ "Rebuild Codync Dev with its development host, then open it again.": "Пересоберите Codync Dev вместе с его хостом для разработки, затем откройте его снова.",
+ "Reconnecting": "Переподключаем",
+ "Red": "Красный",
+ "Refresh model list": "Обновить список моделей",
+ "Remove reaction {emoji}": "Убрать реакцию {emoji}",
+ "Remove {emoji}": "Убрать {emoji}",
+ "Remove {name}": "Убрать {name}",
+ "Remove {name} from the group": "Убрать {name} из группы",
+ "Repeat": "Повтор",
+ "Resize panel": "Изменить размер панели",
+ "Resize sidebar": "Изменить ширину боковой панели",
+ "Resuming after restart": "Возобновляем после перезапуска",
+ "Retry download": "Повторить загрузку",
+ "Retry model list": "Повторить список моделей",
+ "Retrying": "Повторяем",
+ "Routine": "Рутина",
+ "Running": "Выполняется",
+ "Running on {name}. Links open on this device.": "Работает на {name}. Ссылки открываются на этом устройстве.",
+ "Runs on {name}{path}": "Работает на {name}{path}",
+ "SSH alias or hostname": "Псевдоним SSH или имя хоста",
+ "SSH port": "Порт SSH",
+ "Sat": "Сб",
+ "Saturday": "Суббота",
+ "Save ({shortcut})": "Сохранить ({shortcut})",
+ "Save again": "Сохранить снова",
+ "Save changes": "Сохранить изменения",
+ "Save to get the URL and key.": "Сохраните, чтобы получить URL и ключ.",
+ "Saved": "Сохранено",
+ "Saved on {name} only and given to {other} when it starts.": "Сохраняется только на {name} и передаётся {other} при запуске.",
+ "Schedule": "Расписание",
+ "Schedule needs attention": "Расписанию нужно внимание",
+ "Search time zones": "Поиск часовых поясов",
+ "Send": "Отправить",
+ "Sent to Composio, which keeps it for {name}.": "Передано в Composio, который хранит это для {name}.",
+ "Set up this {device}": "Настроить этот {device}",
+ "Show bots": "Показать ботов",
+ "Show key": "Показать ключ",
+ "Sign in first.": "Сначала войдите.",
+ "Signed in as {email}": "Вход выполнен как {email}",
+ "Signing in to {name} didn't work ({status}). Close and try again.": "Не удалось войти в {name} ({status}). Закройте окно и попробуйте снова.",
+ "Speaking": "Говорю",
+ "Speech recognition stopped.": "Распознавание речи остановлено.",
+ "Speech to text": "Речь в текст",
+ "Started": "Запущено",
+ "Starting": "Запускаем",
+ "Stays on {name}": "Остаётся на {name}",
+ "Stop": "Остановить",
+ "Stop dictating": "Остановить диктовку",
+ "Sun": "Вс",
+ "Sunday": "Воскресенье",
+ "Test run": "Тестовый запуск",
+ "Text to speech": "Текст в речь",
+ "The Codync port must be a number.": "Порт Codync должен быть числом.",
+ "The SSH port must be a number.": "Порт SSH должен быть числом.",
+ "The request expired. Ask again.": "Срок запроса истёк. Запросите снова.",
+ "This account was deleted.": "Этот аккаунт удалён.",
+ "This computer's host isn't connected.": "Хост этого компьютера не подключён.",
+ "This copy of Codync doesn't include codync-host. Download Codync again from codync.dev or GitHub.": "В этой копии Codync нет codync-host. Скачайте Codync заново с codync.dev или GitHub.",
+ "This device isn't allowed on that computer anymore.": "Этому устройству больше не разрешён доступ к этому компьютеру.",
+ "This month": "В этом месяце",
+ "Thu": "Чт",
+ "Thursday": "Четверг",
+ "Time": "Время",
+ "Time zone, {zone}": "Часовой пояс: {zone}",
+ "Timed out waiting for the sign-in.": "Время ожидания входа истекло.",
+ "Timeout": "Таймаут",
+ "Timeout {time}": "Таймаут {time}",
+ "Too many requests. Try again in a little while.": "Слишком много запросов. Попробуйте чуть позже.",
+ "Tue": "Вт",
+ "Tuesday": "Вторник",
+ "Turn {name} on for a bot in the bot's settings, under Connectors.": "Включите {name} для бота в его настройках, в разделе «Коннекторы».",
+ "URL": "URL",
+ "Unmute": "Включить микрофон",
+ "Update Codync on your computer to see this bot's memory.": "Обновите Codync на компьютере, чтобы увидеть память этого бота.",
+ "Update Codync on {host}": "Обновите Codync на {host}",
+ "Update this app": "Обновить приложение",
+ "Use a tool": "Использует инструмент",
+ "User": "Пользователь",
+ "Violet": "Фиолетовый",
+ "Voice by {name}": "Голос: {name}",
+ "Voice keys are kept by {computer}'s host, which isn't running.": "Голосовые ключи хранит хост {computer}, а он не запущен.",
+ "Waiting for {name} to show its code…": "Ждём, пока {name} покажет код…",
+ "Waiting for {name}…": "Ждём {name}…",
+ "Wants to access the web": "Хочет получить доступ к интернету",
+ "Wants to change files": "Хочет изменить файлы",
+ "Wants to read files": "Хочет читать файлы",
+ "Wants to run a command": "Хочет запустить команду",
+ "Wants to use a tool": "Хочет использовать инструмент",
+ "Webhook": "Вебхук",
+ "Wed": "Ср",
+ "Wednesday": "Среда",
+ "Weekdays": "По будням",
+ "What it adds quotes something you typed yourself; pasted text, the bot's replies and other bots don't count. It never rewrites what you wrote. It may also put a passed date in the past tense, and before memory fills up it moves detail, word for word, into notes by topic, keeping one line per topic that points to its note.": "В память попадают цитаты из того, что вы написали сами: вставленный текст, ответы бота и другие боты не учитываются. Написанное вами бот не переписывает. Он может перевести прошедшую дату в прошедшее время. А когда память почти заполнена, он переносит подробности дословно в заметки по темам, оставляя по одной строке на тему со ссылкой на заметку.",
+ "Working, listening": "Работаю, слушаю",
+ "Works once, until {time}": "Работает один раз, до {time}",
+ "Yellow": "Жёлтый",
+ "You wrote it": "Написано вами",
+ "You've been using Codync for a while. If it saves you trips to your desk, a star on GitHub helps other people find it.": "Вы уже давно пользуетесь Codync. Если он экономит вам время, звезда на GitHub поможет другим его найти.",
+ "Your bots are idle. Message one from here, or open Codync.": "Ваши боты свободны. Напишите одному из них отсюда или откройте Codync.",
+ "Your computer is offline.": "Ваш компьютер не в сети.",
+ "a computer": "компьютер",
+ "computer": "компьютер",
+ "the agent": "агент",
+ "{backend} is done": "{backend} завершил работу",
+ "{count} notes, over the {cap}-note cap. Ask the bot to merge some.": "Заметок: {count}, это больше лимита {cap}. Попросите бота объединить некоторые.",
+ "{count} working": "Работает: {count}",
+ "{device} Using {name}.": "{device}. Используется {name}.",
+ "{error} Pick OpenAI or Gemini beside the mic.": "{error} Выберите OpenAI или Gemini рядом с микрофоном.",
+ "{name} and {other}": "{name} и {other}",
+ "{name} is larger than 100 MB.": "{name} больше 100 МБ.",
+ "{name} isn't available ({reason}). Using on-device voice.": "{name} недоступен ({reason}). Используется голос на устройстве.",
+ "{name} says the connection is {status}.": "{name} сообщает, что подключение: {status}.",
+ "{name} stopped.": "{name} остановлен.",
+ "{name} wants to use {other}": "{name} хочет использовать {other}",
+ "{name} · {other}. Drag to reorder.": "{name} · {other}. Перетащите, чтобы изменить порядок.",
+ "{paired} · seen {when}": "{paired} · был в сети {when}",
+ "{shape} shape": "Фигура: {shape}",
+ "{tokens} tokens": "Токенов: {tokens}",
+ "“Reach from anywhere” is off, so the iPhone only reaches {name} on the same network.": "«Доступ из любого места» выключен, поэтому iPhone подключается к {name} только в той же сети.",
+ "≈ {minutes} min": "≈ {minutes} мин",
+ "Set up Composio in Extensions first.": "Сначала настройте Composio в Расширениях: Расширения → Учётные данные → ключ API Composio.",
+ "Composio didn't return a sign-in link": "Composio не прислал ссылку для входа",
+ "Composio didn't return an auth config": "Composio не вернул настройки авторизации",
+ "Composio didn't return the connection": "Composio не вернул подключение",
+ "connector storage is busy": "Хранилище коннекторов занято, попробуйте ещё раз",
+ "Updated routine: {routine}": "Рутина изменена: {routine}",
+ "Created routine: {routine}": "Рутина создана: {routine}",
+ "Created bot {bot}": "Создан бот {bot}",
+ "Updated {bot}: {changes}": "Изменён {bot}: {changes}",
+ "Message from {bot}: {message}": "Сообщение от {bot}: {message}",
+ "Could not start routine: {error}": "Не удалось запустить рутину: {error}",
+ "Could not queue routine: {error}": "Не удалось поставить рутину в очередь: {error}",
+ "Retrying at {time}": "Повтор в {time}",
+ "Last run {status}": "Последний запуск: {status}"
}
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json
index b082cbed..5a588424 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hans.json
@@ -1526,5 +1526,261 @@
"↵ sign in instead of the token": "↵ 改用登录,不再用 token",
"Code {code} copied: paste it at {url}, then Enter checks. Ctrl+X cancels.": "代码 {code} 已复制:到 {url} 粘贴后,按 Enter 检查。Ctrl+X 取消。",
"Show agent logos": "显示智能体标志",
- "Marks each bot with its agent's logo when your bots use more than one agent.": "当你的 bot 使用不止一种智能体时,在每个 bot 上标出它的智能体标志。"
+ "Marks each bot with its agent's logo when your bots use more than one agent.": "当你的 bot 使用不止一种智能体时,在每个 bot 上标出它的智能体标志。",
+ " · archived": " · 已归档",
+ " · undone": " · 已撤销",
+ ", over the {cap} cap": ",超过 {cap} 的上限",
+ "A deleted bot": "已删除的 Bot",
+ "A persistent workspace allocated for this bot": "为这个 Bot 分配的持久工作区",
+ "About {name}": "关于 {name}",
+ "Add it in Codync on {name}: Settings → Voice chat, or connect to that computer over SSH.": "在 {name} 上的 Codync 中添加它:设置 → 语音,或通过 SSH 连接到那台电脑。",
+ "Add it to let bots use these instructions.": "添加后,Bot 才能使用这些指令。",
+ "Add {name}": "添加 {name}",
+ "Added to {name}": "已添加到 {name}",
+ "After five quiet minutes or eight messages, or once memory is nearly full, the bot reads what you said since its last run and updates its memory.": "安静五分钟或收到八条消息后,或记忆快满时,Bot 会读取你自上次运行以来说的话,并更新它的记忆。",
+ "Allow once": "允许一次",
+ "Allow the microphone for Codync in Settings to talk to your bots.": "请在设置中允许 Codync 使用麦克风,才能和你的 Bot 对话。",
+ "Allowed once": "已允许一次",
+ "Always allow": "始终允许",
+ "Always allowed": "已始终允许",
+ "Answered": "已回答",
+ "Approval": "审批",
+ "Approve only if {name} shows exactly this code. If it doesn't, deny: someone may be trying to get in.": "只有 {name} 显示的代码与此完全一致时才批准。不一致则拒绝:可能有人在尝试进入。",
+ "Black": "黑色",
+ "Blue": "蓝色",
+ "Bots read these before using the skill.": "Bot 使用这项技能前会先阅读这些内容。",
+ "Brown": "棕色",
+ "Call": "通话",
+ "Can't listen": "无法收听",
+ "Can't reach your computer. Is it on and connected to the internet?": "无法连接你的电脑。它是否已开机并连接到互联网?",
+ "Cancel download": "取消下载",
+ "Cancelled": "已取消",
+ "Code {value}": "代码 {value}",
+ "Codync port": "Codync 端口",
+ "Codync runs your coding agents through the host, a small background service on this {device}.": "Codync 通过 Host(这台{device}上的一个小型后台服务)运行你的编程智能体。",
+ "Commands": "命令",
+ "Computers, {filter}. Filter conversations": "电脑:{filter}。筛选对话",
+ "Connect to this computer to download the file": "连接到这台电脑以下载文件",
+ "Connect to this computer to load its models. You can still enter a model ID.": "连接到这台电脑以加载它的模型。你仍可以手动输入模型 ID。",
+ "Connect to this computer to open the artifact": "连接到这台电脑以打开产物",
+ "Connect to this computer to rename the artifact": "连接到这台电脑以重命名产物",
+ "Connect to this computer to see its library": "连接到这台电脑以查看它的资料库",
+ "Connect to your computer to change its icons.": "连接到你的电脑以更改它的图标。",
+ "Connect {name}": "连接 {name}",
+ "Connected locally": "已在本地连接",
+ "Connection timed out": "连接超时",
+ "Conversation": "对话",
+ "Couldn't reach Gemini.": "无法连接 Gemini。",
+ "Couldn't reach OpenAI.": "无法连接 OpenAI。",
+ "Couldn't save the draft on this device. Your text is still here; keep this window open until you send or copy it.": "无法在此设备上保存草稿。你的文字还在这里;发送或复制之前请保持此窗口打开。",
+ "Couldn't start the call audio.": "无法开始通话音频。",
+ "Create a bot in Codync to get started.": "在 Codync 中创建一个 Bot 即可开始。",
+ "Create routine": "创建例行任务",
+ "Cron": "Cron",
+ "Custom": "自定义",
+ "Custom agent": "自定义智能体",
+ "Cyan": "青色",
+ "Daily": "每天",
+ "Day": "日",
+ "Default · {name}": "默认 · {name}",
+ "Delete {name}?": "删除 {name}?",
+ "Deleted.": "已删除。",
+ "Deliveries wait up to 72 hours while this computer is off. They pass through the Codync cloud, which can read them.": "这台电脑关机时,投递最多等待 72 小时。投递会经过 Codync 云端,云端可以读取其内容。",
+ "Denied": "已拒绝",
+ "Dictate": "听写",
+ "Dictating with a provider needs the chat window.": "通过服务商听写需要使用聊天窗口。",
+ "Dictation engine": "听写引擎",
+ "Didn't complete.": "未完成。",
+ "Download": "下载",
+ "Downloading Codync {version}": "正在下载 Codync {version}",
+ "Edit SSH computer": "编辑 SSH 电脑",
+ "Edit routine": "编辑例行任务",
+ "Ended with an error ({code}).": "以错误结束({code})。",
+ "Expired — the agent moved on": "已过期,智能体已继续",
+ "For dictation in the message box.": "用于消息框中的听写。",
+ "Fri": "周五",
+ "Friday": "星期五",
+ "From SSH config": "来自 SSH 配置",
+ "Gemini ended the call.": "Gemini 结束了通话。",
+ "Gemini sent no session credential.": "Gemini 没有返回会话凭证。",
+ "Get a key from {name}": "从 {name} 获取密钥",
+ "GitHub Star": "GitHub 星标",
+ "Gray": "灰色",
+ "Green": "绿色",
+ "Handoff": "移交",
+ "Hide key": "隐藏密钥",
+ "Host": "主机",
+ "Hourly": "每小时",
+ "Image attachment: {name}": "图片附件:{name}",
+ "Install host on this {device}": "在这台{device}上安装 Host",
+ "Instruction": "指令",
+ "Interrupt": "中断",
+ "Interrupted": "已中断",
+ "Key": "密钥",
+ "Key works": "密钥有效",
+ "Key works and is saved on {name}": "密钥有效,并已保存在 {name} 上",
+ "Listening": "正在聆听",
+ "Local URL": "本地 URL",
+ "Lost the connection to Gemini.": "与 Gemini 的连接已断开。",
+ "Lost the connection to OpenAI.": "与 OpenAI 的连接已断开。",
+ "Magenta": "品红色",
+ "Message": "消息",
+ "Message from": "消息来自",
+ "Message {name}": "给 {name} 发消息",
+ "Message {name}…": "给 {name} 发消息…",
+ "Messaged": "已发消息",
+ "Messages": "消息",
+ "Mon": "周一",
+ "Monday": "星期一",
+ "More": "更多",
+ "Moved from the old memory": "从旧记忆中迁移",
+ "Mute": "静音",
+ "Muted": "已静音",
+ "Never": "从不",
+ "Never allowed": "从不允许",
+ "No time zone matches “{query}”.": "没有与“{query}”相符的时区。",
+ "No {name} key on {other}": "{other} 上没有 {name} 密钥",
+ "Not connected to {name}.": "未连接到 {name}。",
+ "On-device speech isn't available in this build.": "此版本不支持设备端语音识别。",
+ "Open {name} in Extensions to sign in.": "在扩展中打开 {name} 以登录。",
+ "Open {name}'s own chat": "打开 {name} 自己的对话",
+ "OpenAI sent no session credential.": "OpenAI 没有返回会话凭证。",
+ "Optional": "可选",
+ "Orange": "橙色",
+ "Pairing code for {name}": "{name} 的配对码",
+ "React {emoji}": "回应 {emoji}",
+ "Rebuild Codync Dev with its development host, then open it again.": "请连同开发用的 Host 重新构建 Codync Dev,然后再次打开。",
+ "Reconnecting": "正在重新连接",
+ "Red": "红色",
+ "Refresh model list": "刷新模型列表",
+ "Remove reaction {emoji}": "移除回应 {emoji}",
+ "Remove {emoji}": "移除 {emoji}",
+ "Remove {name}": "移除 {name}",
+ "Remove {name} from the group": "从群聊中移除 {name}",
+ "Repeat": "重复",
+ "Resize panel": "调整面板大小",
+ "Resize sidebar": "调整侧栏宽度",
+ "Resuming after restart": "重启后恢复中",
+ "Retry download": "重试下载",
+ "Retry model list": "重试模型列表",
+ "Retrying": "正在重试",
+ "Routine": "例行任务",
+ "Running": "运行中",
+ "Running on {name}. Links open on this device.": "在 {name} 上运行。链接在此设备上打开。",
+ "Runs on {name}{path}": "运行于 {name}{path}",
+ "SSH alias or hostname": "SSH 别名或主机名",
+ "SSH port": "SSH 端口",
+ "Sat": "周六",
+ "Saturday": "星期六",
+ "Save ({shortcut})": "保存({shortcut})",
+ "Save again": "再次保存",
+ "Save changes": "保存更改",
+ "Save to get the URL and key.": "保存后即可获得 URL 和密钥。",
+ "Saved": "已保存",
+ "Saved on {name} only and given to {other} when it starts.": "只保存在 {name} 上,并在启动时交给 {other}。",
+ "Schedule": "日程",
+ "Schedule needs attention": "日程需要处理",
+ "Search time zones": "搜索时区",
+ "Send": "发送",
+ "Sent to Composio, which keeps it for {name}.": "已发送给 Composio,由它为 {name} 保存。",
+ "Set up this {device}": "设置这台{device}",
+ "Show bots": "显示 Bot",
+ "Show key": "显示密钥",
+ "Sign in first.": "请先登录。",
+ "Signed in as {email}": "已登录为 {email}",
+ "Signing in to {name} didn't work ({status}). Close and try again.": "登录 {name} 失败({status})。请关闭后重试。",
+ "Speaking": "正在说话",
+ "Speech recognition stopped.": "语音识别已停止。",
+ "Speech to text": "语音转文字",
+ "Started": "已开始",
+ "Starting": "正在启动",
+ "Stays on {name}": "保留在 {name} 上",
+ "Stop": "停止",
+ "Stop dictating": "停止听写",
+ "Sun": "周日",
+ "Sunday": "星期日",
+ "Test run": "测试运行",
+ "Text to speech": "文字转语音",
+ "The Codync port must be a number.": "Codync 端口必须是数字。",
+ "The SSH port must be a number.": "SSH 端口必须是数字。",
+ "The request expired. Ask again.": "请求已过期,请重新发起。",
+ "This account was deleted.": "此账户已被删除。",
+ "This computer's host isn't connected.": "这台电脑的 Host 未连接。",
+ "This copy of Codync doesn't include codync-host. Download Codync again from codync.dev or GitHub.": "此版本的 Codync 不包含 codync-host。请从 codync.dev 或 GitHub 重新下载 Codync。",
+ "This device isn't allowed on that computer anymore.": "该设备已不再被允许访问那台电脑。",
+ "This month": "本月",
+ "Thu": "周四",
+ "Thursday": "星期四",
+ "Time": "时间",
+ "Time zone, {zone}": "时区:{zone}",
+ "Timed out waiting for the sign-in.": "等待登录超时。",
+ "Timeout": "超时",
+ "Timeout {time}": "超时 {time}",
+ "Too many requests. Try again in a little while.": "请求过于频繁,请稍后再试。",
+ "Tue": "周二",
+ "Tuesday": "星期二",
+ "Turn {name} on for a bot in the bot's settings, under Connectors.": "在 Bot 的设置中,于「连接器」下为其开启 {name}。",
+ "URL": "URL",
+ "Unmute": "取消静音",
+ "Update Codync on your computer to see this bot's memory.": "请在电脑上更新 Codync,才能看到这个 Bot 的记忆。",
+ "Update Codync on {host}": "在 {host} 上更新 Codync",
+ "Update this app": "更新此应用",
+ "Use a tool": "使用工具",
+ "User": "用户",
+ "Violet": "紫色",
+ "Voice by {name}": "语音:{name}",
+ "Voice keys are kept by {computer}'s host, which isn't running.": "语音密钥由 {computer} 的 Host 保管,而该 Host 未在运行。",
+ "Waiting for {name} to show its code…": "等待 {name} 显示代码…",
+ "Waiting for {name}…": "等待 {name}…",
+ "Wants to access the web": "想要访问网络",
+ "Wants to change files": "想要修改文件",
+ "Wants to read files": "想要读取文件",
+ "Wants to run a command": "想要运行命令",
+ "Wants to use a tool": "想要使用工具",
+ "Webhook": "Webhook",
+ "Wed": "周三",
+ "Wednesday": "星期三",
+ "Weekdays": "工作日",
+ "What it adds quotes something you typed yourself; pasted text, the bot's replies and other bots don't count. It never rewrites what you wrote. It may also put a passed date in the past tense, and before memory fills up it moves detail, word for word, into notes by topic, keeping one line per topic that points to its note.": "它记录的引文只来自你亲自输入的内容;粘贴的文字、Bot 的回复和其他 Bot 的内容不计入。它从不改写你写的内容。它也可能把已过去的日期改为过去时。在记忆占满之前,它会把细节逐字移入按主题分类的笔记中,每个主题在记忆里保留一行,指向对应笔记。",
+ "Working, listening": "正在工作,同时聆听",
+ "Works once, until {time}": "仅可使用一次,{time} 前有效",
+ "Yellow": "黄色",
+ "You wrote it": "由你写下",
+ "You've been using Codync for a while. If it saves you trips to your desk, a star on GitHub helps other people find it.": "你已经使用 Codync 一段时间了。如果它帮你省下了来回走动的时间,在 GitHub 上点个星标,能帮助更多人找到它。",
+ "Your bots are idle. Message one from here, or open Codync.": "你的 Bot 目前空闲。可以在这里给其中一个发消息,或打开 Codync。",
+ "Your computer is offline.": "你的电脑离线了。",
+ "a computer": "一台电脑",
+ "computer": "电脑",
+ "the agent": "智能体",
+ "{backend} is done": "{backend} 已完成",
+ "{count} notes, over the {cap}-note cap. Ask the bot to merge some.": "笔记有 {count} 条,超过 {cap} 条的上限。请让 Bot 合并一些。",
+ "{count} working": "{count} 个正在工作",
+ "{device} Using {name}.": "{device}。正在使用 {name}。",
+ "{error} Pick OpenAI or Gemini beside the mic.": "{error} 请在麦克风旁选择 OpenAI 或 Gemini。",
+ "{name} and {other}": "{name} 和 {other}",
+ "{name} is larger than 100 MB.": "{name} 超过 100 MB。",
+ "{name} isn't available ({reason}). Using on-device voice.": "{name} 不可用({reason})。正在使用设备端语音。",
+ "{name} says the connection is {status}.": "{name} 显示连接状态为:{status}。",
+ "{name} stopped.": "{name} 已停止。",
+ "{name} wants to use {other}": "{name} 想要使用 {other}",
+ "{name} · {other}. Drag to reorder.": "{name} · {other}。拖动可调整顺序。",
+ "{paired} · seen {when}": "{paired} · 上次在线 {when}",
+ "{shape} shape": "{shape} 形状",
+ "{tokens} tokens": "{tokens} 个 token",
+ "“Reach from anywhere” is off, so the iPhone only reaches {name} on the same network.": "“随时随地访问”已关闭,因此 iPhone 只能在同一网络中连接 {name}。",
+ "≈ {minutes} min": "≈ {minutes} 分钟",
+ "Set up Composio in Extensions first.": "请先在“扩展”中设置 Composio。",
+ "Composio didn't return a sign-in link": "Composio 未返回登录链接",
+ "Composio didn't return an auth config": "Composio 未返回认证配置",
+ "Composio didn't return the connection": "Composio 未返回连接",
+ "connector storage is busy": "连接器存储正忙,请重试",
+ "Updated routine: {routine}": "已更新例行任务:{routine}",
+ "Created routine: {routine}": "已创建例行任务:{routine}",
+ "Created bot {bot}": "已创建机器人 {bot}",
+ "Updated {bot}: {changes}": "已更新 {bot}:{changes}",
+ "Message from {bot}: {message}": "来自 {bot} 的消息:{message}",
+ "Could not start routine: {error}": "无法启动例行任务:{error}",
+ "Could not queue routine: {error}": "无法将例行任务加入队列:{error}",
+ "Retrying at {time}": "将于 {time} 重试",
+ "Last run {status}": "上次运行:{status}"
}
diff --git a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json
index e5e76e21..dd3e6357 100644
--- a/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json
+++ b/apps/ios/Kit/Sources/CodyncKit/Resources/Languages/zh-Hant.json
@@ -1526,5 +1526,261 @@
"↵ sign in instead of the token": "↵ 改用登入,不再用 token",
"Code {code} copied: paste it at {url}, then Enter checks. Ctrl+X cancels.": "代碼 {code} 已複製:到 {url} 貼上後,按 Enter 檢查。Ctrl+X 取消。",
"Show agent logos": "顯示智慧體標誌",
- "Marks each bot with its agent's logo when your bots use more than one agent.": "當你的 bot 使用不只一種智慧體時,在每個 bot 上標出它的智慧體標誌。"
+ "Marks each bot with its agent's logo when your bots use more than one agent.": "當你的 bot 使用不只一種智慧體時,在每個 bot 上標出它的智慧體標誌。",
+ " · archived": " · 已封存",
+ " · undone": " · 已撤銷",
+ ", over the {cap} cap": ",超過 {cap} 的上限",
+ "A deleted bot": "已刪除的 Bot",
+ "A persistent workspace allocated for this bot": "為這個 Bot 分配的持久工作區",
+ "About {name}": "關於 {name}",
+ "Add it in Codync on {name}: Settings → Voice chat, or connect to that computer over SSH.": "在 {name} 上的 Codync 中新增它:設定 → 語音,或透過 SSH 連線到那臺電腦。",
+ "Add it to let bots use these instructions.": "新增後,Bot 才能使用這些指示。",
+ "Add {name}": "新增 {name}",
+ "Added to {name}": "已新增到 {name}",
+ "After five quiet minutes or eight messages, or once memory is nearly full, the bot reads what you said since its last run and updates its memory.": "安靜五分鐘或收到八則訊息後,或記憶快滿時,Bot 會讀取你自上次執行以來說的話,並更新它的記憶。",
+ "Allow once": "允許一次",
+ "Allow the microphone for Codync in Settings to talk to your bots.": "請在設定中允許 Codync 使用麥克風,才能與你的 Bot 對話。",
+ "Allowed once": "已允許一次",
+ "Always allow": "始終允許",
+ "Always allowed": "已始終允許",
+ "Answered": "已回覆",
+ "Approval": "核准",
+ "Approve only if {name} shows exactly this code. If it doesn't, deny: someone may be trying to get in.": "只有 {name} 顯示的代碼與此完全一致時才批准。不一致則拒絕:可能有人在嘗試進入。",
+ "Black": "黑色",
+ "Blue": "藍色",
+ "Bots read these before using the skill.": "Bot 使用這項技能前會先閱讀這些內容。",
+ "Brown": "棕色",
+ "Call": "通話",
+ "Can't listen": "無法收聽",
+ "Can't reach your computer. Is it on and connected to the internet?": "無法連線到你的電腦。它是否已開機並連線到網際網路?",
+ "Cancel download": "取消下載",
+ "Cancelled": "已取消",
+ "Code {value}": "代碼 {value}",
+ "Codync port": "Codync 連接埠",
+ "Codync runs your coding agents through the host, a small background service on this {device}.": "Codync 透過 Host(這臺{device}上的一個小型背景服務)執行你的程式設計智慧體。",
+ "Commands": "命令",
+ "Computers, {filter}. Filter conversations": "電腦:{filter}。篩選對話",
+ "Connect to this computer to download the file": "連線到這臺電腦以下載檔案",
+ "Connect to this computer to load its models. You can still enter a model ID.": "連線到這臺電腦以載入它的模型。你仍可以手動輸入模型 ID。",
+ "Connect to this computer to open the artifact": "連線到這臺電腦以開啟產物",
+ "Connect to this computer to rename the artifact": "連線到這臺電腦以重新命名產物",
+ "Connect to this computer to see its library": "連線到這臺電腦以查看它的資料庫",
+ "Connect to your computer to change its icons.": "連線到你的電腦以更改它的圖示。",
+ "Connect {name}": "連線 {name}",
+ "Connected locally": "已在本機連線",
+ "Connection timed out": "連線逾時",
+ "Conversation": "對話",
+ "Couldn't reach Gemini.": "無法連線到 Gemini。",
+ "Couldn't reach OpenAI.": "無法連線到 OpenAI。",
+ "Couldn't save the draft on this device. Your text is still here; keep this window open until you send or copy it.": "無法在此裝置上儲存草稿。你的文字還在這裡;傳送或複製之前請保持此視窗開啟。",
+ "Couldn't start the call audio.": "無法啟動通話音訊。",
+ "Create a bot in Codync to get started.": "在 Codync 中建立一個 Bot 即可開始。",
+ "Create routine": "建立例行任務",
+ "Cron": "Cron",
+ "Custom": "自訂",
+ "Custom agent": "自訂智慧體",
+ "Cyan": "青色",
+ "Daily": "每天",
+ "Day": "日",
+ "Default · {name}": "預設 · {name}",
+ "Delete {name}?": "刪除 {name}?",
+ "Deleted.": "已刪除。",
+ "Deliveries wait up to 72 hours while this computer is off. They pass through the Codync cloud, which can read them.": "這臺電腦關機時,投遞最多等待 72 小時。投遞會經過 Codync 雲端,雲端可以讀取其內容。",
+ "Denied": "已拒絕",
+ "Dictate": "聽寫",
+ "Dictating with a provider needs the chat window.": "透過服務商聽寫需要使用聊天視窗。",
+ "Dictation engine": "聽寫引擎",
+ "Didn't complete.": "未完成。",
+ "Download": "下載",
+ "Downloading Codync {version}": "正在下載 Codync {version}",
+ "Edit SSH computer": "編輯 SSH 電腦",
+ "Edit routine": "編輯例行任務",
+ "Ended with an error ({code}).": "以錯誤結束({code})。",
+ "Expired — the agent moved on": "已過期,智慧體已繼續",
+ "For dictation in the message box.": "用於訊息框中的聽寫。",
+ "Fri": "週五",
+ "Friday": "星期五",
+ "From SSH config": "來自 SSH 設定",
+ "Gemini ended the call.": "Gemini 結束了通話。",
+ "Gemini sent no session credential.": "Gemini 沒有傳回工作階段憑證。",
+ "Get a key from {name}": "從 {name} 取得金鑰",
+ "GitHub Star": "GitHub 星標",
+ "Gray": "灰色",
+ "Green": "綠色",
+ "Handoff": "交接",
+ "Hide key": "隱藏金鑰",
+ "Host": "主機",
+ "Hourly": "每小時",
+ "Image attachment: {name}": "圖片附件:{name}",
+ "Install host on this {device}": "在這臺{device}上安裝 Host",
+ "Instruction": "指示",
+ "Interrupt": "中斷",
+ "Interrupted": "已中斷",
+ "Key": "金鑰",
+ "Key works": "金鑰有效",
+ "Key works and is saved on {name}": "金鑰有效,並已儲存在 {name} 上",
+ "Listening": "正在聆聽",
+ "Local URL": "本機 URL",
+ "Lost the connection to Gemini.": "與 Gemini 的連線已中斷。",
+ "Lost the connection to OpenAI.": "與 OpenAI 的連線已中斷。",
+ "Magenta": "洋紅色",
+ "Message": "訊息",
+ "Message from": "訊息來自",
+ "Message {name}": "傳訊息給 {name}",
+ "Message {name}…": "傳訊息給 {name}…",
+ "Messaged": "已傳訊息",
+ "Messages": "訊息",
+ "Mon": "週一",
+ "Monday": "星期一",
+ "More": "更多",
+ "Moved from the old memory": "從舊記憶中移轉",
+ "Mute": "靜音",
+ "Muted": "已靜音",
+ "Never": "從不",
+ "Never allowed": "從不允許",
+ "No time zone matches “{query}”.": "沒有與“{query}”相符的時區。",
+ "No {name} key on {other}": "{other} 上沒有 {name} 金鑰",
+ "Not connected to {name}.": "未連線到 {name}。",
+ "On-device speech isn't available in this build.": "此版本不支援裝置端語音辨識。",
+ "Open {name} in Extensions to sign in.": "在擴充功能中開啟 {name} 以登入。",
+ "Open {name}'s own chat": "開啟 {name} 自己的對話",
+ "OpenAI sent no session credential.": "OpenAI 沒有傳回工作階段憑證。",
+ "Optional": "選填",
+ "Orange": "橘色",
+ "Pairing code for {name}": "{name} 的配對碼",
+ "React {emoji}": "回應 {emoji}",
+ "Rebuild Codync Dev with its development host, then open it again.": "請連同開發用的 Host 重新建置 Codync Dev,然後再次開啟。",
+ "Reconnecting": "正在重新連線",
+ "Red": "紅色",
+ "Refresh model list": "重新整理模型列表",
+ "Remove reaction {emoji}": "移除回應 {emoji}",
+ "Remove {emoji}": "移除 {emoji}",
+ "Remove {name}": "移除 {name}",
+ "Remove {name} from the group": "從群組中移除 {name}",
+ "Repeat": "重複",
+ "Resize panel": "調整面板大小",
+ "Resize sidebar": "調整側邊欄寬度",
+ "Resuming after restart": "重新啟動後恢復中",
+ "Retry download": "重試下載",
+ "Retry model list": "重試模型列表",
+ "Retrying": "正在重試",
+ "Routine": "例行任務",
+ "Running": "執行中",
+ "Running on {name}. Links open on this device.": "在 {name} 上執行。連結在此裝置上開啟。",
+ "Runs on {name}{path}": "執行於 {name}{path}",
+ "SSH alias or hostname": "SSH 別名或主機名稱",
+ "SSH port": "SSH 連接埠",
+ "Sat": "週六",
+ "Saturday": "星期六",
+ "Save ({shortcut})": "儲存({shortcut})",
+ "Save again": "再次儲存",
+ "Save changes": "儲存變更",
+ "Save to get the URL and key.": "儲存後即可取得 URL 和金鑰。",
+ "Saved": "已儲存",
+ "Saved on {name} only and given to {other} when it starts.": "只儲存在 {name} 上,並在啟動時交給 {other}。",
+ "Schedule": "日程",
+ "Schedule needs attention": "日程需要處理",
+ "Search time zones": "搜尋時區",
+ "Send": "傳送",
+ "Sent to Composio, which keeps it for {name}.": "已傳送給 Composio,由它為 {name} 保存。",
+ "Set up this {device}": "設定這臺{device}",
+ "Show bots": "顯示 Bot",
+ "Show key": "顯示金鑰",
+ "Sign in first.": "請先登入。",
+ "Signed in as {email}": "已登入為 {email}",
+ "Signing in to {name} didn't work ({status}). Close and try again.": "登入 {name} 失敗({status})。請關閉後重試。",
+ "Speaking": "正在說話",
+ "Speech recognition stopped.": "語音辨識已停止。",
+ "Speech to text": "語音轉文字",
+ "Started": "已開始",
+ "Starting": "正在啟動",
+ "Stays on {name}": "保留在 {name} 上",
+ "Stop": "停止",
+ "Stop dictating": "停止聽寫",
+ "Sun": "週日",
+ "Sunday": "星期日",
+ "Test run": "測試執行",
+ "Text to speech": "文字轉語音",
+ "The Codync port must be a number.": "Codync 連接埠必須是數字。",
+ "The SSH port must be a number.": "SSH 連接埠必須是數字。",
+ "The request expired. Ask again.": "請求已過期,請重新發起。",
+ "This account was deleted.": "此帳戶已被刪除。",
+ "This computer's host isn't connected.": "這臺電腦的 Host 未連線。",
+ "This copy of Codync doesn't include codync-host. Download Codync again from codync.dev or GitHub.": "此版本的 Codync 不包含 codync-host。請從 codync.dev 或 GitHub 重新下載 Codync。",
+ "This device isn't allowed on that computer anymore.": "該裝置已不再被允許存取那臺電腦。",
+ "This month": "本月",
+ "Thu": "週四",
+ "Thursday": "星期四",
+ "Time": "時間",
+ "Time zone, {zone}": "時區:{zone}",
+ "Timed out waiting for the sign-in.": "等待登入逾時。",
+ "Timeout": "逾時",
+ "Timeout {time}": "逾時 {time}",
+ "Too many requests. Try again in a little while.": "請求過於頻繁,請稍後再試。",
+ "Tue": "週二",
+ "Tuesday": "星期二",
+ "Turn {name} on for a bot in the bot's settings, under Connectors.": "在 Bot 的設定中,於「聯結器」下為其開啟 {name}。",
+ "URL": "URL",
+ "Unmute": "取消靜音",
+ "Update Codync on your computer to see this bot's memory.": "請在電腦上更新 Codync,才能看到這個 Bot 的記憶。",
+ "Update Codync on {host}": "在 {host} 上更新 Codync",
+ "Update this app": "更新此應用程式",
+ "Use a tool": "使用工具",
+ "User": "使用者",
+ "Violet": "紫色",
+ "Voice by {name}": "語音:{name}",
+ "Voice keys are kept by {computer}'s host, which isn't running.": "語音金鑰由 {computer} 的 Host 保管,而該 Host 未在執行。",
+ "Waiting for {name} to show its code…": "等待 {name} 顯示代碼…",
+ "Waiting for {name}…": "等待 {name}…",
+ "Wants to access the web": "想要存取網路",
+ "Wants to change files": "想要修改檔案",
+ "Wants to read files": "想要讀取檔案",
+ "Wants to run a command": "想要執行命令",
+ "Wants to use a tool": "想要使用工具",
+ "Webhook": "Webhook",
+ "Wed": "週三",
+ "Wednesday": "星期三",
+ "Weekdays": "工作日",
+ "What it adds quotes something you typed yourself; pasted text, the bot's replies and other bots don't count. It never rewrites what you wrote. It may also put a passed date in the past tense, and before memory fills up it moves detail, word for word, into notes by topic, keeping one line per topic that points to its note.": "它記錄的引文只來自你親自輸入的內容;貼上的文字、Bot 的回覆和其他 Bot 的內容不計入。它從不改寫你寫的內容。它也可能把已過去的日期改為過去式。在記憶占滿之前,它會把細節逐字移入按主題分類的筆記中,每個主題在記憶裡保留一行,指向對應筆記。",
+ "Working, listening": "正在工作,同時聆聽",
+ "Works once, until {time}": "僅可使用一次,{time} 前有效",
+ "Yellow": "黃色",
+ "You wrote it": "由你寫下",
+ "You've been using Codync for a while. If it saves you trips to your desk, a star on GitHub helps other people find it.": "你已經使用 Codync 一段時間了。如果它幫你省下了來回走動的時間,在 GitHub 上點個星標,能幫助更多人找到它。",
+ "Your bots are idle. Message one from here, or open Codync.": "你的 Bot 目前閒置。可以在這裡傳訊息給其中一個,或開啟 Codync。",
+ "Your computer is offline.": "你的電腦離線了。",
+ "a computer": "一臺電腦",
+ "computer": "電腦",
+ "the agent": "智慧體",
+ "{backend} is done": "{backend} 已完成",
+ "{count} notes, over the {cap}-note cap. Ask the bot to merge some.": "筆記有 {count} 則,超過 {cap} 則的上限。請讓 Bot 合併一些。",
+ "{count} working": "{count} 個正在工作",
+ "{device} Using {name}.": "{device}。正在使用 {name}。",
+ "{error} Pick OpenAI or Gemini beside the mic.": "{error} 請在麥克風旁選擇 OpenAI 或 Gemini。",
+ "{name} and {other}": "{name} 和 {other}",
+ "{name} is larger than 100 MB.": "{name} 超過 100 MB。",
+ "{name} isn't available ({reason}). Using on-device voice.": "{name} 無法使用({reason})。正在使用裝置端語音。",
+ "{name} says the connection is {status}.": "{name} 顯示連線狀態為:{status}。",
+ "{name} stopped.": "{name} 已停止。",
+ "{name} wants to use {other}": "{name} 想要使用 {other}",
+ "{name} · {other}. Drag to reorder.": "{name} · {other}。拖曳可調整順序。",
+ "{paired} · seen {when}": "{paired} · 上次在線 {when}",
+ "{shape} shape": "{shape} 形狀",
+ "{tokens} tokens": "{tokens} 個 token",
+ "“Reach from anywhere” is off, so the iPhone only reaches {name} on the same network.": "“隨時隨地存取”已關閉,因此 iPhone 只能在同一網路中連線到 {name}。",
+ "≈ {minutes} min": "≈ {minutes} 分鐘",
+ "Set up Composio in Extensions first.": "請先在「擴充功能」中設定 Composio。",
+ "Composio didn't return a sign-in link": "Composio 未傳回登入連結",
+ "Composio didn't return an auth config": "Composio 未傳回驗證設定",
+ "Composio didn't return the connection": "Composio 未傳回連線",
+ "connector storage is busy": "聯結器儲存空間忙碌中,請重試",
+ "Updated routine: {routine}": "已更新例行任務:{routine}",
+ "Created routine: {routine}": "已建立例行任務:{routine}",
+ "Created bot {bot}": "已建立機器人 {bot}",
+ "Updated {bot}: {changes}": "已更新 {bot}:{changes}",
+ "Message from {bot}: {message}": "來自 {bot} 的訊息:{message}",
+ "Could not start routine: {error}": "無法啟動例行任務:{error}",
+ "Could not queue routine: {error}": "無法將例行任務加入佇列:{error}",
+ "Retrying at {time}": "將於 {time} 重試",
+ "Last run {status}": "上次執行:{status}"
}
diff --git a/apps/ios/Kit/Tests/CodyncKitTests/AppLanguageTests.swift b/apps/ios/Kit/Tests/CodyncKitTests/AppLanguageTests.swift
index de62857f..58136dce 100644
--- a/apps/ios/Kit/Tests/CodyncKitTests/AppLanguageTests.swift
+++ b/apps/ios/Kit/Tests/CodyncKitTests/AppLanguageTests.swift
@@ -185,6 +185,15 @@ extension AppLanguageTests {
#expect(AppLanguage.preference(in: store) == .ja)
store.removeObject(forKey: AppLanguage.storageKey)
}
+
+ @Test func botRoutineAndMessageSlotsKeepWhatTheUserWrote() {
+ func ru(_ text: String) -> String { L10n.tr(text, preference: .ru, systemIsChinese: false) }
+ #expect(ru("Created bot connected") == "Создан бот connected")
+ #expect(ru("Created bot Reviewer").hasSuffix("Reviewer"))
+ #expect(ru("Routine · Проверка почты") == "Рутина · Проверка почты")
+ #expect(ru("Routine · Settings") == "Рутина · Settings")
+ #expect(ru("Message from Reviewer: Settings") == "Сообщение от Reviewer: Settings")
+ }
}
extension AppLanguageTests {
diff --git a/docs/guides/localization.md b/docs/guides/localization.md
index 2b17ba70..bd513f02 100644
--- a/docs/guides/localization.md
+++ b/docs/guides/localization.md
@@ -21,7 +21,7 @@ is not translated. The desktop catalog test checks key and placeholder parity.
A captured name, title, query, sign-in code or message is opaque, even when it
matches an English interface phrase. Only app-owned `{hint}`, `{error}`,
-`{setup}`, `{kind}`, `{when}`, `{status}`, `{reason}` and `{shortcut}` slots
+`{setup}`, `{kind}`, `{when}`, `{status}`, `{reason}`, `{shortcut}` and `{changes}` slots
translate recursively. Cloud errors use `{reason}` and `{hint}` for their
interface text; keyboard hints use `{shortcut}`. Substitute captured values in
one pass so a name containing another placeholder's spelling stays literal.
diff --git a/host/src/tui/l10n.rs b/host/src/tui/l10n.rs
index 4cf7410d..8964e736 100644
--- a/host/src/tui/l10n.rs
+++ b/host/src/tui/l10n.rs
@@ -318,7 +318,15 @@ fn templated_at(text: &str, table: &HashMap<String, String>, depth: u8) -> Optio
// Only app-owned UI slots translate recursively; names and free text stay verbatim.
let localizable = matches!(
token.as_str(),
- "{hint}" | "{error}" | "{setup}" | "{kind}" | "{when}" | "{status}" | "{reason}" | "{shortcut}"
+ "{hint}"
+ | "{error}"
+ | "{setup}"
+ | "{kind}"
+ | "{when}"
+ | "{status}"
+ | "{reason}"
+ | "{shortcut}"
+ | "{changes}"
);
let shown = if !localizable {
value
diff --git a/host/src/tui/l10n_tests.rs b/host/src/tui/l10n_tests.rs
index 32a7ff54..60d81ff2 100644
--- a/host/src/tui/l10n_tests.rs
+++ b/host/src/tui/l10n_tests.rs
@@ -1,4 +1,4 @@
-use super::{AppLanguage, PREFERENCE, language_title, resolved_language, tr, translate};
+use super::{AppLanguage, HANS, PREFERENCE, language_title, resolved_language, tr, translate, translate_with};
use crate::LockExt;
#[test]
@@ -84,6 +84,14 @@ fn non_portuguese_system_locale_resolution_is_unchanged() {
}
}
+#[test]
+fn bot_routine_and_message_slots_keep_what_the_user_wrote() {
+ assert_eq!(translate_with("Created bot connected", &HANS), "已创建机器人 connected");
+ assert!(translate_with("Created bot Reviewer", &HANS).ends_with("Reviewer"));
+ assert_eq!(translate_with("Routine · Settings", &HANS), "例行任务 · Settings");
+ assert_eq!(translate_with("Message from Reviewer: Settings", &HANS), "来自 Reviewer 的消息:Settings");
+}
+
#[test]
fn additional_languages_resolve_regions_and_load_catalogs() {
for (language, table) in [
@@ -96,8 +104,8 @@ fn additional_languages_resolve_regions_and_load_catalogs() {
] {
assert_eq!(resolved_language(AppLanguage::System, &format!("{}_XX.UTF-8", language.stored())), language);
assert_eq!(resolved_language(language, "zh_TW"), language);
- assert_ne!(super::translate_with("Settings", table), "Settings");
- assert_eq!(super::translate_with("Unknown phrase", table), "Unknown phrase");
+ assert_ne!(translate_with("Settings", table), "Settings");
+ assert_eq!(translate_with("Unknown phrase", table), "Unknown phrase");
}
assert_eq!(resolved_language(AppLanguage::System, "nl_NL"), AppLanguage::En);
}
@@ -155,14 +163,14 @@ fn a_missing_choice_follows_the_computer() {
assert_eq!(super::system_script_of("zh-HK"), Some(super::ChineseScript::Hant));
assert_eq!(super::system_script_of("zh_CN.UTF-8"), Some(super::ChineseScript::Hans));
assert_eq!(super::system_script_of("en_US.UTF-8"), None);
- assert_eq!(super::translate_with("Settings", &super::HANT).as_ref(), "設定");
- assert_eq!(super::translate_with("Files", &super::HANT).as_ref(), "檔案");
+ assert_eq!(translate_with("Settings", &super::HANT).as_ref(), "設定");
+ assert_eq!(translate_with("Files", &super::HANT).as_ref(), "檔案");
}
#[test]
fn catalogs_preserve_names_and_substitute_captured_values_once() {
for table in [
- &*super::HANS,
+ &*HANS,
&*super::HANT,
&*super::JA,
&*super::KO,
@@ -173,15 +181,15 @@ fn catalogs_preserve_names_and_substitute_captured_values_once() {
&*super::RU,
] {
for name in ["Plan", "connected", "Standby", "$&", "{hint}"] {
- let expected = super::translate_with("Routine · {name}", table).replace("{name}", name);
- assert_eq!(super::translate_with(&format!("Routine · {name}"), table), expected);
- let title = super::translate_with("Message about “{title}”", table).replace("{title}", name);
- assert_eq!(super::translate_with(&format!("Message about “{name}”"), table), title);
+ let expected = translate_with("Routine · {name}", table).replace("{name}", name);
+ assert_eq!(translate_with(&format!("Routine · {name}"), table), expected);
+ let title = translate_with("Message about “{title}”", table).replace("{title}", name);
+ assert_eq!(translate_with(&format!("Message about “{name}”"), table), title);
}
let hint = "Install Claude Code and run `claude auth login`.";
- let expected = super::translate_with("{name} isn't set up on this computer. {hint}", table)
- .replace("{hint}", &super::translate_with(hint, table))
+ let expected = translate_with("{name} isn't set up on this computer. {hint}", table)
+ .replace("{hint}", &translate_with(hint, table))
.replace("{name}", "{hint}");
- assert_eq!(super::translate_with(&format!("{{hint}} isn't set up on this computer. {hint}"), table), expected);
+ assert_eq!(translate_with(&format!("{{hint}} isn't set up on this computer. {hint}"), table), expected);
}
}