Skip to content

7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.

TypeScript

feat(desktop): in-app updates; fix the Windows updater filename; reload prompt for stale tabs (#1426)

Tashfeen44b3c3ffd110
diff --git a/client/src/App.tsx b/client/src/App.tsx
index 30ee502b..a159faf9 100644
--- a/client/src/App.tsx
+++ b/client/src/App.tsx
@@ -21,6 +21,7 @@ import { ErrorBoundary } from '@/components/error-boundary'
import { SettingsDialog } from '@/components/settings-dialog'
import { Toaster } from '@/components/toaster'
import { UpdateReminder } from '@/components/update-reminder'
+import { NewBuildPrompt } from '@/components/new-build-prompt'
import { usePremium } from '@/hooks/use-premium'
import { I18nProvider, useI18n } from '@/i18n'
import { logout } from '@/lib/api'
@@ -480,6 +481,7 @@ function App() {
<Toaster />
<CommandPalette />
<UpdateReminder />
+ <NewBuildPrompt />
</AppShell>
</AuthGate>
</BrowserRouter>
diff --git a/client/src/components/desktop-update.tsx b/client/src/components/desktop-update.tsx
new file mode 100644
index 00000000..e533a6c7
--- /dev/null
+++ b/client/src/components/desktop-update.tsx
@@ -0,0 +1,65 @@
+import { useEffect } from 'react'
+import { Download, Loader2, RotateCw } from 'lucide-react'
+import { useI18n } from '@/i18n'
+import type { DesktopUpdater } from '@/lib/desktop-updater'
+
+/**
+ * Download → progress → "Restart to update" for the desktop app. Shared by the
+ * Settings update dialog and the update reminder so both drive the same
+ * main-process updater. A check is started on mount when none has run yet, so
+ * the buttons reflect the release the updater itself sees (latest*.yml).
+ */
+export function DesktopUpdateActions({ updater }: { updater: DesktopUpdater }) {
+ const { t } = useI18n()
+ const { state } = updater
+
+ useEffect(() => {
+ if (state.phase === 'idle') void updater.check()
+ // Only on mount: a later 'current' or 'error' is an answer, not a prompt.
+ // eslint-disable-next-line react-hooks/exhaustive-deps
+ }, [])
+
+ const button = 'inline-flex items-center justify-center gap-1.5 rounded-lg bg-primary px-3.5 py-2 text-sm font-medium text-primary-foreground outline-none transition-opacity hover:opacity-90 focus-visible:ring-3 focus-visible:ring-ring/50 disabled:opacity-60'
+
+ return (
+ <div className="space-y-2">
+ {state.phase === 'available' && (
+ <button type="button" className={button} onClick={() => void updater.download()}>
+ <Download className="size-4" aria-hidden />
+ {t('settings.downloadUpdate')}
+ </button>
+ )}
+ {(state.phase === 'idle' || state.phase === 'checking') && (
+ <button type="button" className={button} disabled>
+ <Loader2 className="size-4 animate-spin" aria-hidden />
+ {t('keys.checking')}
+ </button>
+ )}
+ {state.phase === 'downloading' && (
+ <div className="space-y-1.5">
+ <button type="button" className={button} disabled>
+ <Loader2 className="size-4 animate-spin" aria-hidden />
+ {t('settings.downloadingUpdate', { percent: state.percent })}
+ </button>
+ <div className="h-1.5 w-full max-w-xs overflow-hidden rounded-full bg-muted" role="progressbar" aria-valuenow={state.percent} aria-valuemin={0} aria-valuemax={100}>
+ <div className="h-full bg-primary transition-[width]" style={{ width: `${state.percent}%` }} />
+ </div>
+ </div>
+ )}
+ {state.phase === 'ready' && (
+ <>
+ <button type="button" className={button} onClick={() => void updater.install()}>
+ <RotateCw className="size-4" aria-hidden />
+ {t('settings.restartToUpdate')}
+ </button>
+ <p className="text-[11px] text-muted-foreground">{t('settings.updateReadyHint')}</p>
+ </>
+ )}
+ {state.phase === 'error' && (
+ <p role="alert" className="break-words text-xs text-destructive [overflow-wrap:anywhere]">
+ {t('settings.updateInstallFailed')} {state.message}
+ </p>
+ )}
+ </div>
+ )
+}
diff --git a/client/src/components/keys/backups-section.tsx b/client/src/components/keys/backups-section.tsx
index 408d5d59..ed3ed923 100644
--- a/client/src/components/keys/backups-section.tsx
+++ b/client/src/components/keys/backups-section.tsx
@@ -1,4 +1,4 @@
-import { useEffect, useState } from 'react'
+import { useState } from 'react'
import { useQuery, useMutation, useQueryClient } from '@tanstack/react-query'
import { apiFetch, getToken } from '@/lib/api'
import { toast } from '@/lib/toast'
@@ -16,7 +16,7 @@ interface BackupMeta {
filename: string
filesize: number
isFull: boolean
- source: 'manual' | 'scheduled' | 'pre-restore'
+ source: 'manual' | 'scheduled' | 'pre-restore' | 'pre-update'
createdAt: string
tables: string[]
}
@@ -232,7 +232,9 @@ function BackupsPanel() {
? t('backups.scheduled')
: item.source === 'pre-restore'
? t('backups.preRestore')
- : t('backups.manual')}
+ : item.source === 'pre-update'
+ ? t('backups.preUpdate')
+ : t('backups.manual')}
</Badge>
<div className="inline-flex items-center gap-1">
<Button
@@ -284,27 +286,25 @@ function BackupsPanel() {
)}
</div>
- <AutoBackupForm schedule={schedule?.schedule ?? null} onSaved={invalidate} />
+ {/* Keyed on the stored schedule so the form re-seeds when it loads or
+ changes, rather than copying props into state from an effect. */}
+ <AutoBackupForm
+ key={JSON.stringify(schedule?.schedule ?? null)}
+ schedule={schedule?.schedule ?? null}
+ onSaved={invalidate}
+ />
</div>
)
}
function AutoBackupForm({ schedule, onSaved }: { schedule: BackupSchedule | null; onSaved: () => void }) {
const { t } = useI18n()
- const [enabled, setEnabled] = useState(false)
- const [time, setTime] = useState('03:00')
- const [intervalDays, setIntervalDays] = useState('1')
- const [backupPath, setBackupPath] = useState('')
+ const [enabled, setEnabled] = useState(schedule?.enabled ?? false)
+ const [time, setTime] = useState(schedule?.time ?? '03:00')
+ const [intervalDays, setIntervalDays] = useState(String(schedule?.intervalDays ?? 1))
+ const [backupPath, setBackupPath] = useState(schedule?.backupPath ?? '')
const [savedFlash, setSavedFlash] = useState(false)
- useEffect(() => {
- if (!schedule) return
- setEnabled(schedule.enabled)
- setTime(schedule.time)
- setIntervalDays(String(schedule.intervalDays))
- setBackupPath(schedule.backupPath ?? '')
- }, [schedule])
-
const save = useMutation({
meta: { silenceToast: true },
mutationFn: (body: Record<string, unknown>) =>
diff --git a/client/src/components/new-build-prompt.tsx b/client/src/components/new-build-prompt.tsx
new file mode 100644
index 00000000..ff741961
--- /dev/null
+++ b/client/src/components/new-build-prompt.tsx
@@ -0,0 +1,73 @@
+import { useEffect, useState } from 'react'
+import { RotateCw } from 'lucide-react'
+import { useI18n } from '@/i18n'
+import { isNewBuild } from '@/lib/new-build'
+
+/** At most one same-origin index.html fetch per minute, however often the tab
+ * regains focus; a tab left in the foreground re-checks every five. */
+const MIN_GAP_MS = 60 * 1000
+const POLL_MS = 5 * 60 * 1000
+
+function loadedEntry(): string | null {
+ const script = document.querySelector<HTMLScriptElement>('script[type="module"][src]')
+ return script?.src ?? null
+}
+
+/**
+ * "A newer dashboard is installed — Reload." The server can be replaced under
+ * an open tab (docker compose pull, a source rebuild, a demo-box deploy); the
+ * tab keeps running the old bundle and fails the moment it lazy-loads a chunk
+ * the new build deleted. This only ever asks this server for its own
+ * index.html — nothing leaves the install.
+ */
+export function NewBuildPrompt() {
+ const { t } = useI18n()
+ const [stale, setStale] = useState(false)
+
+ useEffect(() => {
+ const loaded = loadedEntry()
+ if (!loaded || !loaded.includes('/assets/')) return // dev server
+ let lastCheck = Date.now()
+ let cancelled = false
+
+ async function check() {
+ if (cancelled || document.visibilityState !== 'visible') return
+ if (Date.now() - lastCheck < MIN_GAP_MS) return
+ lastCheck = Date.now()
+ try {
+ const response = await fetch(import.meta.env.BASE_URL, { cache: 'no-store', headers: { Accept: 'text/html' } })
+ if (!response.ok) return
+ if (!cancelled && isNewBuild(loaded, await response.text())) setStale(true)
+ } catch { /* server restarting — try again on the next focus */ }
+ }
+
+ const onWake = () => { void check() }
+ window.addEventListener('focus', onWake)
+ document.addEventListener('visibilitychange', onWake)
+ const timer = window.setInterval(onWake, POLL_MS)
+ return () => {
+ cancelled = true
+ window.removeEventListener('focus', onWake)
+ document.removeEventListener('visibilitychange', onWake)
+ window.clearInterval(timer)
+ }
+ }, [])
+
+ if (!stale) return null
+ return (
+ <div
+ role="status"
+ className="fixed top-16 left-1/2 z-[60] flex max-w-[calc(100vw-2rem)] -translate-x-1/2 items-center gap-3 rounded-full border bg-card py-1.5 ps-4 pe-1.5 text-sm shadow-lg ring-1 ring-foreground/10"
+ >
+ <span className="truncate">{t('update.newBuild')}</span>
+ <button
+ type="button"
+ onClick={() => window.location.reload()}
+ className="inline-flex shrink-0 items-center gap-1.5 rounded-full bg-primary px-3 py-1 text-xs font-medium text-primary-foreground outline-none transition-opacity hover:opacity-90 focus-visible:ring-3 focus-visible:ring-ring/50"
+ >
+ <RotateCw className="size-3.5" aria-hidden />
+ {t('update.reload')}
+ </button>
+ </div>
+ )
+}
diff --git a/client/src/components/settings-dialog.tsx b/client/src/components/settings-dialog.tsx
index 4131c4e6..c8abbe2e 100644
--- a/client/src/components/settings-dialog.tsx
+++ b/client/src/components/settings-dialog.tsx
@@ -29,6 +29,8 @@ import {
} from '@/components/ui/dialog'
import { Popover, PopoverContent, PopoverTrigger } from '@/components/ui/popover'
import { UPDATE_CHECK_CHANGED_EVENT } from '@/components/update-reminder'
+import { DesktopUpdateActions } from '@/components/desktop-update'
+import { useDesktopUpdater } from '@/lib/desktop-updater'
import { Switch } from '@/components/ui/switch'
import { Tooltip } from '@/components/tooltip'
import { SUPPORTED_LOCALES, type Locale, useI18n } from '@/i18n'
@@ -663,6 +665,17 @@ function UpdateChecker({ active }: { active: boolean }) {
// Opt-in for the automatic reminder pill (#782). `null` until the server has
// answered, so the row never renders a state that isn't the stored one.
const [autoCheck, setAutoCheck] = useState<boolean | null>(null)
+ // Present only in a desktop build that can replace itself; otherwise the
+ // dialog keeps pointing at the releases page.
+ const desktopUpdater = useDesktopUpdater()
+ const desktopPhase = desktopUpdater?.state.phase
+ // In the desktop app the updater's own feed (latest*.yml) is the authority
+ // on what can be installed; the server's GitHub comparison only adds the
+ // changelog.
+ const desktopUpdate = desktopUpdater
+ && (desktopPhase === 'available' || desktopPhase === 'downloading' || desktopPhase === 'ready' || desktopPhase === 'error')
+ ? desktopUpdater
+ : null
useEffect(() => {
if (!active) return
@@ -709,6 +722,7 @@ function UpdateChecker({ active }: { active: boolean }) {
}, [active])
async function check() {
+ const desktopCheck = desktopUpdater?.check()
setChecking(true)
setError(false)
setCheckResult(null)
@@ -728,7 +742,9 @@ function UpdateChecker({ active }: { active: boolean }) {
lastChecked: result.checkedAt,
version: result.version,
})
- const resultMessage = result.status === 'available'
+ const desktopState = await desktopCheck
+ const desktopFound = desktopState?.phase === 'available' || desktopState?.phase === 'downloading' || desktopState?.phase === 'ready'
+ const resultMessage = desktopFound || result.status === 'available'
? t('settings.updateAvailable')
: result.status === 'current'
? t('settings.upToDate')
@@ -787,7 +803,17 @@ function UpdateChecker({ active }: { active: boolean }) {
{version
? <span>v{version}</span>
: <code className="font-mono text-xs">{currentSha}</code>}
- {status === 'available' && (
+ {desktopUpdate && 'version' in desktopUpdate.state ? (
+ <button
+ type="button"
+ onClick={openChecker}
+ title={t('settings.updateAvailable')}
+ className="flex items-center gap-1 text-primary underline underline-offset-2"
+ >
+ <ArrowRight className="size-3.5" aria-hidden />
+ <span>v{desktopUpdate.state.version}</span>
+ </button>
+ ) : status === 'available' && (
<button
type="button"
onClick={openChecker}
@@ -800,7 +826,7 @@ function UpdateChecker({ active }: { active: boolean }) {
</span>
</button>
)}
- {status === 'current' && <Check className="size-4 text-emerald-600 dark:text-emerald-400" aria-hidden />}
+ {status === 'current' && !desktopUpdate && <Check className="size-4 text-emerald-600 dark:text-emerald-400" aria-hidden />}
{error && (
<a
href={RELEASES_URL}
@@ -942,7 +968,7 @@ function UpdateChecker({ active }: { active: boolean }) {
<p className="text-[11px] text-muted-foreground">{t('settings.restartAfterUpdate')}</p>
</div>
)}
- {(info.installation === 'desktop' || info.installation === 'unknown') && (
+ {(info.installation === 'desktop' || info.installation === 'unknown') && !desktopUpdater && (
<a
href="https://github.com/tashfeenahmed/freellmapi/releases/latest"
target="_blank"
@@ -956,7 +982,19 @@ function UpdateChecker({ active }: { active: boolean }) {
</div>
)}
- {statusMessage && (
+ {desktopUpdate && (
+ <div className="space-y-3 rounded-xl border border-primary/25 bg-primary/5 p-4">
+ {'version' in desktopUpdate.state && (
+ <p className="flex items-center gap-2 text-sm font-medium">
+ <Sparkles className="size-4 shrink-0 text-primary" aria-hidden />
+ {t('settings.updateAvailable')} <span className="tabular-nums">v{desktopUpdate.state.version}</span>
+ </p>
+ )}
+ <DesktopUpdateActions updater={desktopUpdate} />
+ </div>
+ )}
+
+ {statusMessage && !desktopUpdate && (
<div className={`flex gap-3 rounded-xl border p-4 ${info?.status === 'current' ? 'border-emerald-500/25 bg-emerald-500/5' : 'border-amber-500/25 bg-amber-500/5'}`}>
{info?.status === 'current'
? <CheckCircle2 className="mt-0.5 size-5 shrink-0 text-emerald-500" />
diff --git a/client/src/components/update-reminder.tsx b/client/src/components/update-reminder.tsx
index 864bf100..3bf5ff6a 100644
--- a/client/src/components/update-reminder.tsx
+++ b/client/src/components/update-reminder.tsx
@@ -10,6 +10,8 @@ import {
import { Markdown } from '@/components/markdown'
import { apiFetch } from '@/lib/api'
import { useI18n } from '@/i18n'
+import { DesktopUpdateActions } from '@/components/desktop-update'
+import { useDesktopUpdater } from '@/lib/desktop-updater'
const RELEASES_URL = 'https://github.com/tashfeenahmed/freellmapi/releases'
@@ -104,6 +106,7 @@ export function UpdateReminder() {
const [refresh, setRefresh] = useState(0)
const version = shellVersion ?? serverVersion
const openRef = useRef(false)
+ const desktopUpdater = useDesktopUpdater()
// Read by the async check to decide whether it may replace what the operator
// is currently reading. Synced in an effect, not during render.
@@ -252,6 +255,12 @@ export function UpdateReminder() {
<p className="text-sm text-muted-foreground">{t('update.noNotes')}</p>
)}
+ {desktopUpdater && (
+ <div className="mt-5">
+ <DesktopUpdateActions updater={desktopUpdater} />
+ </div>
+ )}
+
<div className="mt-5 flex flex-wrap items-center gap-3">
<a
href={release.htmlUrl || RELEASES_URL}
diff --git a/client/src/i18n/locales/am.json b/client/src/i18n/locales/am.json
index d1363b69..27d96907 100644
--- a/client/src/i18n/locales/am.json
+++ b/client/src/i18n/locales/am.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "ራስ-ሰር የዝማኔ ፍተሻ",
"autoUpdateCheckHelp": "በቀን አንድ ጊዜ ለአዲስ ልቀት GitHubን ይፈትሻል እና ማስታወሻ ያሳያል። በነባሪነት ጠፍቷል።",
"openReleases": "የGitHub ልቀቶችን ክፈት",
- "restartAfterUpdate": "ግንባታው ከተጠናቀቀ በኋላ FreeLLMAPIን እንደገና ያስጀምሩ።"
+ "restartAfterUpdate": "ግንባታው ከተጠናቀቀ በኋላ FreeLLMAPIን እንደገና ያስጀምሩ።",
+ "downloadUpdate": "ዝማኔ አውርድ",
+ "downloadingUpdate": "በማውረድ ላይ… {percent}%",
+ "restartToUpdate": "ለማዘመን እንደገና አስጀምር",
+ "updateReadyHint": "ወርዷል። FreeLLMAPI ውሂብዎን ያስቀምጣል፣ እንደገና ይጀምራል እና አዲሱን ስሪት ይከፍታል።",
+ "updateInstallFailed": "ዝማኔው ሊጫን አልቻለም።"
},
"models": {
"title": "ሞዴሎች",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "ከዝማኔ በፊት"
},
"status": {
"healthy": "ጤናማ",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "አዲስ የFreeLLMAPI ስሪት ተጭኗል።",
+ "reload": "እንደገና ጫን"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/ar.json b/client/src/i18n/locales/ar.json
index 091aef2b..5c32f67a 100644
--- a/client/src/i18n/locales/ar.json
+++ b/client/src/i18n/locales/ar.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "التحقق التلقائي من التحديثات",
"autoUpdateCheckHelp": "يتحقق من GitHub مرة واحدة يوميًا بحثًا عن إصدار جديد ويعرض تذكيرًا. مُعطَّل افتراضيًا.",
"openReleases": "فتح إصدارات GitHub",
- "restartAfterUpdate": "أعد تشغيل FreeLLMAPI بعد اكتمال البنية."
+ "restartAfterUpdate": "أعد تشغيل FreeLLMAPI بعد اكتمال البنية.",
+ "downloadUpdate": "تنزيل التحديث",
+ "downloadingUpdate": "جارٍ التنزيل… {percent}%",
+ "restartToUpdate": "أعد التشغيل للتحديث",
+ "updateReadyHint": "اكتمل التنزيل. يحفظ FreeLLMAPI نسخة احتياطية من بياناتك ثم يعيد التشغيل ويفتح الإصدار الجديد.",
+ "updateInstallFailed": "تعذّر تثبيت التحديث."
},
"models": {
"title": "نماذج",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "قبل التحديث"
},
"status": {
"healthy": "صحي",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "تم تثبيت إصدار أحدث من FreeLLMAPI.",
+ "reload": "إعادة التحميل"
},
"freeTier": {
"poolsToggle": "مجمّعات الطبقة المجانية ({count})",
diff --git a/client/src/i18n/locales/az.json b/client/src/i18n/locales/az.json
index 4a533748..a5195107 100644
--- a/client/src/i18n/locales/az.json
+++ b/client/src/i18n/locales/az.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Avtomatik yeniləmə yoxlaması",
"autoUpdateCheckHelp": "Gündə bir dəfə yeni buraxılış üçün GitHub-u yoxlayır və xatırlatma göstərir. Standart olaraq sönülüdür.",
"openReleases": "GitHub buraxılışlarını aç",
- "restartAfterUpdate": "Quruluş tamamlandıqdan sonra FreeLLMAPI-ni yenidən başladın."
+ "restartAfterUpdate": "Quruluş tamamlandıqdan sonra FreeLLMAPI-ni yenidən başladın.",
+ "downloadUpdate": "Yeniləməni endir",
+ "downloadingUpdate": "Endirilir… {percent}%",
+ "restartToUpdate": "Yeniləmək üçün yenidən başlat",
+ "updateReadyHint": "Endirildi. FreeLLMAPI məlumatlarınızın ehtiyat nüsxəsini çıxarır, yenidən başlayır və yeni versiyanı açır.",
+ "updateInstallFailed": "Yeniləmə quraşdırıla bilmədi."
},
"models": {
"title": "Modellər",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Yeniləmədən əvvəl"
},
"status": {
"healthy": "sağlam",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI-nin daha yeni versiyası quraşdırılıb.",
+ "reload": "Yenidən yüklə"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/bg.json b/client/src/i18n/locales/bg.json
index f4ce5bce..d347de80 100644
--- a/client/src/i18n/locales/bg.json
+++ b/client/src/i18n/locales/bg.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Автоматична проверка за актуализации",
"autoUpdateCheckHelp": "Проверява GitHub веднъж дневно за ново издание и показва напомняне. По подразбиране е изключено.",
"openReleases": "Отвори изданията в GitHub",
- "restartAfterUpdate": "Рестартирайте FreeLLMAPI след завършване на компилацията."
+ "restartAfterUpdate": "Рестартирайте FreeLLMAPI след завършване на компилацията.",
+ "downloadUpdate": "Изтегли актуализацията",
+ "downloadingUpdate": "Изтегляне… {percent}%",
+ "restartToUpdate": "Рестартирай за актуализиране",
+ "updateReadyHint": "Изтеглено. FreeLLMAPI архивира данните ви, рестартира и отваря новата версия.",
+ "updateInstallFailed": "Актуализацията не можа да се инсталира."
},
"models": {
"title": "Модели",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Преди актуализация"
},
"status": {
"healthy": "здравословно",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Инсталирана е по-нова версия на FreeLLMAPI.",
+ "reload": "Презареди"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/bn.json b/client/src/i18n/locales/bn.json
index 99aa567a..661b15ca 100644
--- a/client/src/i18n/locales/bn.json
+++ b/client/src/i18n/locales/bn.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "স্বয়ংক্রিয় আপডেট পরীক্ষা",
"autoUpdateCheckHelp": "দিনে একবার নতুন রিলিজের জন্য GitHub পরীক্ষা করে এবং একটি অনুস্মারক দেখায়। ডিফল্টভাবে বন্ধ।",
"openReleases": "GitHub রিলিজ খুলুন",
- "restartAfterUpdate": "বিল্ড সম্পূর্ণ হওয়ার পর FreeLLMAPI পুনরায় চালু করুন।"
+ "restartAfterUpdate": "বিল্ড সম্পূর্ণ হওয়ার পর FreeLLMAPI পুনরায় চালু করুন।",
+ "downloadUpdate": "আপডেট ডাউনলোড করুন",
+ "downloadingUpdate": "ডাউনলোড হচ্ছে… {percent}%",
+ "restartToUpdate": "আপডেট করতে রিস্টার্ট করুন",
+ "updateReadyHint": "ডাউনলোড হয়েছে। FreeLLMAPI আপনার ডেটার ব্যাকআপ নেয়, রিস্টার্ট করে এবং নতুন সংস্করণ খোলে।",
+ "updateInstallFailed": "আপডেট ইনস্টল করা যায়নি।"
},
"models": {
"title": "মডেল",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "আপডেটের আগে"
},
"status": {
"healthy": "সুস্থ",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI-এর একটি নতুন সংস্করণ ইনস্টল হয়েছে।",
+ "reload": "রিলোড"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/cs.json b/client/src/i18n/locales/cs.json
index 05c17ce9..536003c1 100644
--- a/client/src/i18n/locales/cs.json
+++ b/client/src/i18n/locales/cs.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automatická kontrola aktualizací",
"autoUpdateCheckHelp": "Jednou denně zkontroluje na GitHubu novou verzi a zobrazí připomenutí. Ve výchozím nastavení vypnuto.",
"openReleases": "Otevřít vydání na GitHubu",
- "restartAfterUpdate": "Po dokončení sestavení restartujte FreeLLMAPI."
+ "restartAfterUpdate": "Po dokončení sestavení restartujte FreeLLMAPI.",
+ "downloadUpdate": "Stáhnout aktualizaci",
+ "downloadingUpdate": "Stahování… {percent} %",
+ "restartToUpdate": "Restartovat a aktualizovat",
+ "updateReadyHint": "Staženo. FreeLLMAPI zálohuje vaše data, restartuje se a otevře novou verzi.",
+ "updateInstallFailed": "Aktualizaci se nepodařilo nainstalovat."
},
"models": {
"title": "Modely",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Před aktualizací"
},
"status": {
"healthy": "zdravé",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Je nainstalována novější verze FreeLLMAPI.",
+ "reload": "Načíst znovu"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/da.json b/client/src/i18n/locales/da.json
index 41c65d33..bf2b349c 100644
--- a/client/src/i18n/locales/da.json
+++ b/client/src/i18n/locales/da.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automatisk opdateringstjek",
"autoUpdateCheckHelp": "Tjekker GitHub én gang om dagen for en ny udgivelse og viser en påmindelse. Slået fra som standard.",
"openReleases": "Åbn GitHub-udgivelser",
- "restartAfterUpdate": "Genstart FreeLLMAPI, når buildet er færdigt."
+ "restartAfterUpdate": "Genstart FreeLLMAPI, når buildet er færdigt.",
+ "downloadUpdate": "Hent opdatering",
+ "downloadingUpdate": "Henter… {percent} %",
+ "restartToUpdate": "Genstart for at opdatere",
+ "updateReadyHint": "Hentet. FreeLLMAPI tager backup af dine data, genstarter og åbner den nye version.",
+ "updateInstallFailed": "Opdateringen kunne ikke installeres."
},
"models": {
"title": "Modeller",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Før opdatering"
},
"status": {
"healthy": "sundt",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "En nyere version af FreeLLMAPI er installeret.",
+ "reload": "Genindlæs"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/de.json b/client/src/i18n/locales/de.json
index 8af2cca8..756949bd 100644
--- a/client/src/i18n/locales/de.json
+++ b/client/src/i18n/locales/de.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automatische Updateprüfung",
"autoUpdateCheckHelp": "Prüft einmal täglich auf GitHub, ob es eine neue Version gibt, und zeigt eine Erinnerung an. Standardmäßig deaktiviert.",
"openReleases": "GitHub-Releases öffnen",
- "restartAfterUpdate": "FreeLLMAPI nach Abschluss des Builds neu starten."
+ "restartAfterUpdate": "FreeLLMAPI nach Abschluss des Builds neu starten.",
+ "downloadUpdate": "Update herunterladen",
+ "downloadingUpdate": "Wird heruntergeladen… {percent} %",
+ "restartToUpdate": "Neu starten und aktualisieren",
+ "updateReadyHint": "Heruntergeladen. FreeLLMAPI sichert Ihre Daten, startet neu und öffnet die neue Version.",
+ "updateInstallFailed": "Das Update konnte nicht installiert werden."
},
"models": {
"title": "Modelle",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Vor Update"
},
"status": {
"healthy": "gesund",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Eine neuere Version von FreeLLMAPI ist installiert.",
+ "reload": "Neu laden"
},
"freeTier": {
"poolsToggle": "Free-Tier-Pools ({count})",
diff --git a/client/src/i18n/locales/el.json b/client/src/i18n/locales/el.json
index 381ebc55..f2eb54b1 100644
--- a/client/src/i18n/locales/el.json
+++ b/client/src/i18n/locales/el.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Αυτόματος έλεγχος ενημερώσεων",
"autoUpdateCheckHelp": "Ελέγχει το GitHub μία φορά την ημέρα για νέα έκδοση και εμφανίζει υπενθύμιση. Απενεργοποιημένο από προεπιλογή.",
"openReleases": "Άνοιγμα εκδόσεων GitHub",
- "restartAfterUpdate": "Επανεκκινήστε το FreeLLMAPI μετά την ολοκλήρωση του build."
+ "restartAfterUpdate": "Επανεκκινήστε το FreeLLMAPI μετά την ολοκλήρωση του build.",
+ "downloadUpdate": "Λήψη ενημέρωσης",
+ "downloadingUpdate": "Λήψη… {percent}%",
+ "restartToUpdate": "Επανεκκίνηση για ενημέρωση",
+ "updateReadyHint": "Η λήψη ολοκληρώθηκε. Το FreeLLMAPI δημιουργεί αντίγραφο ασφαλείας των δεδομένων σας, επανεκκινείται και ανοίγει τη νέα έκδοση.",
+ "updateInstallFailed": "Η ενημέρωση δεν ήταν δυνατό να εγκατασταθεί."
},
"models": {
"title": "Μοντέλα",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Πριν την ενημέρωση"
},
"status": {
"healthy": "υγιής",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Έχει εγκατασταθεί νεότερη έκδοση του FreeLLMAPI.",
+ "reload": "Επαναφόρτωση"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/en.json b/client/src/i18n/locales/en.json
index 72080c4e..4cb8c991 100644
--- a/client/src/i18n/locales/en.json
+++ b/client/src/i18n/locales/en.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automatic update check",
"autoUpdateCheckHelp": "Checks GitHub once a day for a new release and shows a reminder. Off by default.",
"openReleases": "Open GitHub Releases",
- "restartAfterUpdate": "Restart FreeLLMAPI after the build completes."
+ "restartAfterUpdate": "Restart FreeLLMAPI after the build completes.",
+ "downloadUpdate": "Download update",
+ "downloadingUpdate": "Downloading… {percent}%",
+ "restartToUpdate": "Restart to update",
+ "updateReadyHint": "Downloaded. FreeLLMAPI backs up your data, restarts and opens the new version.",
+ "updateInstallFailed": "The update could not be installed."
},
"models": {
"title": "Models",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Pre-update"
},
"status": {
"healthy": "healthy",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "A newer version of FreeLLMAPI is installed.",
+ "reload": "Reload"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/es.json b/client/src/i18n/locales/es.json
index 20c5ab94..ea8d07e9 100644
--- a/client/src/i18n/locales/es.json
+++ b/client/src/i18n/locales/es.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Comprobación automática de actualizaciones",
"autoUpdateCheckHelp": "Consulta GitHub una vez al día para ver si hay una nueva versión y muestra un recordatorio. Desactivado de forma predeterminada.",
"openReleases": "Abrir lanzamientos de GitHub",
- "restartAfterUpdate": "Reinicia FreeLLMAPI cuando finalice la compilación."
+ "restartAfterUpdate": "Reinicia FreeLLMAPI cuando finalice la compilación.",
+ "downloadUpdate": "Descargar actualización",
+ "downloadingUpdate": "Descargando… {percent} %",
+ "restartToUpdate": "Reiniciar para actualizar",
+ "updateReadyHint": "Descargada. FreeLLMAPI hace una copia de seguridad de tus datos, se reinicia y abre la nueva versión.",
+ "updateInstallFailed": "No se pudo instalar la actualización."
},
"models": {
"title": "Modelos",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Antes de actualizar"
},
"status": {
"healthy": "correcto",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Hay una versión más reciente de FreeLLMAPI instalada.",
+ "reload": "Recargar"
},
"freeTier": {
"poolsToggle": "Grupos del nivel gratuito ({count})",
diff --git a/client/src/i18n/locales/fa.json b/client/src/i18n/locales/fa.json
index d9021168..07ad4dad 100644
--- a/client/src/i18n/locales/fa.json
+++ b/client/src/i18n/locales/fa.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "بررسی خودکار به‌روزرسانی",
"autoUpdateCheckHelp": "روزی یک بار GitHub را برای انتشار نسخهٔ جدید بررسی می‌کند و یادآوری نشان می‌دهد. به‌طور پیش‌فرض خاموش است.",
"openReleases": "باز کردن نسخه‌های منتشرشده در GitHub",
- "restartAfterUpdate": "پس از تکمیل بیلد، FreeLLMAPI را راه‌اندازی مجدد کنید."
+ "restartAfterUpdate": "پس از تکمیل بیلد، FreeLLMAPI را راه‌اندازی مجدد کنید.",
+ "downloadUpdate": "دانلود به‌روزرسانی",
+ "downloadingUpdate": "در حال دانلود… {percent}٪",
+ "restartToUpdate": "راه‌اندازی مجدد برای به‌روزرسانی",
+ "updateReadyHint": "دانلود شد. FreeLLMAPI از داده‌های شما پشتیبان می‌گیرد، دوباره راه‌اندازی می‌شود و نسخهٔ جدید را باز می‌کند.",
+ "updateInstallFailed": "به‌روزرسانی نصب نشد."
},
"models": {
"title": "مدل ها",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "پیش از به‌روزرسانی"
},
"status": {
"healthy": "سالم",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "نسخهٔ جدیدتری از FreeLLMAPI نصب شده است.",
+ "reload": "بارگذاری مجدد"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/fi.json b/client/src/i18n/locales/fi.json
index 0429fc26..27acd1af 100644
--- a/client/src/i18n/locales/fi.json
+++ b/client/src/i18n/locales/fi.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automaattinen päivitystarkistus",
"autoUpdateCheckHelp": "Tarkistaa GitHubista kerran päivässä, onko uutta julkaisua, ja näyttää muistutuksen. Oletuksena pois päältä.",
"openReleases": "Avaa GitHub-julkaisut",
- "restartAfterUpdate": "Käynnistä FreeLLMAPI uudelleen koonnin valmistuttua."
+ "restartAfterUpdate": "Käynnistä FreeLLMAPI uudelleen koonnin valmistuttua.",
+ "downloadUpdate": "Lataa päivitys",
+ "downloadingUpdate": "Ladataan… {percent} %",
+ "restartToUpdate": "Käynnistä uudelleen päivittääksesi",
+ "updateReadyHint": "Ladattu. FreeLLMAPI varmuuskopioi tietosi, käynnistyy uudelleen ja avaa uuden version.",
+ "updateInstallFailed": "Päivitystä ei voitu asentaa."
},
"models": {
"title": "Mallit",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Ennen päivitystä"
},
"status": {
"healthy": "terve",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI:n uudempi versio on asennettu.",
+ "reload": "Lataa uudelleen"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/fr.json b/client/src/i18n/locales/fr.json
index b98204b4..d55714a5 100644
--- a/client/src/i18n/locales/fr.json
+++ b/client/src/i18n/locales/fr.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Vérification automatique des mises à jour",
"autoUpdateCheckHelp": "Consulte GitHub une fois par jour pour détecter une nouvelle version et affiche un rappel. Désactivé par défaut.",
"openReleases": "Ouvrir les versions GitHub",
- "restartAfterUpdate": "Redémarrez FreeLLMAPI une fois le build terminé."
+ "restartAfterUpdate": "Redémarrez FreeLLMAPI une fois le build terminé.",
+ "downloadUpdate": "Télécharger la mise à jour",
+ "downloadingUpdate": "Téléchargement… {percent} %",
+ "restartToUpdate": "Redémarrer pour mettre à jour",
+ "updateReadyHint": "Téléchargée. FreeLLMAPI sauvegarde vos données, redémarre et ouvre la nouvelle version.",
+ "updateInstallFailed": "La mise à jour n’a pas pu être installée."
},
"models": {
"title": "Modèles",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relatif au répertoire de la base de données. Les sauvegardes ne peuvent pas être écrites en dehors de ce répertoire.",
"save": "Enregistrer la planification",
- "saved": "Enregistré"
+ "saved": "Enregistré",
+ "preUpdate": "Avant mise à jour"
},
"status": {
"healthy": "sain",
@@ -1155,7 +1161,9 @@
"noNotes": "Aucune note de version n'a été publiée pour cette version.",
"openRelease": "Ouvrir la page de la version",
"dismissVersion": "Ignorer cette version",
- "dismiss": "Ignorer"
+ "dismiss": "Ignorer",
+ "newBuild": "Une version plus récente de FreeLLMAPI est installée.",
+ "reload": "Recharger"
},
"freeTier": {
"poolsToggle": "Pools de l'offre gratuite ({count})",
diff --git a/client/src/i18n/locales/gu.json b/client/src/i18n/locales/gu.json
index 806d7985..61ab1a34 100644
--- a/client/src/i18n/locales/gu.json
+++ b/client/src/i18n/locales/gu.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "આપમેળે અપડેટ તપાસ",
"autoUpdateCheckHelp": "દિવસમાં એક વાર નવા રિલીઝ માટે GitHub તપાસે છે અને રિમાઇન્ડર બતાવે છે. મૂળભૂત રીતે બંધ.",
"openReleases": "GitHub રિલીઝ ખોલો",
- "restartAfterUpdate": "બિલ્ડ પૂર્ણ થયા પછી FreeLLMAPI ફરી શરૂ કરો."
+ "restartAfterUpdate": "બિલ્ડ પૂર્ણ થયા પછી FreeLLMAPI ફરી શરૂ કરો.",
+ "downloadUpdate": "અપડેટ ડાઉનલોડ કરો",
+ "downloadingUpdate": "ડાઉનલોડ થઈ રહ્યું છે… {percent}%",
+ "restartToUpdate": "અપડેટ કરવા ફરી શરૂ કરો",
+ "updateReadyHint": "ડાઉનલોડ થયું. FreeLLMAPI તમારા ડેટાનો બેકઅપ લે છે, ફરી શરૂ થાય છે અને નવું સંસ્કરણ ખોલે છે.",
+ "updateInstallFailed": "અપડેટ ઇન્સ્ટોલ થઈ શક્યું નહીં."
},
"models": {
"title": "મોડલ્સ",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "અપડેટ પહેલાં"
},
"status": {
"healthy": "સ્વસ્થ",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI નું નવું સંસ્કરણ ઇન્સ્ટોલ થયું છે.",
+ "reload": "ફરી લોડ કરો"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/ha.json b/client/src/i18n/locales/ha.json
index 75b7bd25..c1ae9bc8 100644
--- a/client/src/i18n/locales/ha.json
+++ b/client/src/i18n/locales/ha.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Duba sabuntawa ta atomatik",
"autoUpdateCheckHelp": "Yana duba GitHub sau ɗaya a rana don sabon fitowa kuma yana nuna tunatarwa. A kashe ta tsohuwa.",
"openReleases": "Buɗe sakin GitHub",
- "restartAfterUpdate": "Sake kunna FreeLLMAPI bayan an gama build ɗin."
+ "restartAfterUpdate": "Sake kunna FreeLLMAPI bayan an gama build ɗin.",
+ "downloadUpdate": "Sauke sabuntawa",
+ "downloadingUpdate": "Ana saukewa… {percent}%",
+ "restartToUpdate": "Sake farawa don sabuntawa",
+ "updateReadyHint": "An sauke. FreeLLMAPI yana adana bayananka, sai ya sake farawa ya buɗe sabon sigar.",
+ "updateInstallFailed": "Ba a iya shigar da sabuntawar ba."
},
"models": {
"title": "Samfura",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Kafin sabuntawa"
},
"status": {
"healthy": "lafiya",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "An shigar da sabon sigar FreeLLMAPI.",
+ "reload": "Sake lodawa"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/he.json b/client/src/i18n/locales/he.json
index 858e64b7..8d158c91 100644
--- a/client/src/i18n/locales/he.json
+++ b/client/src/i18n/locales/he.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "בדיקת עדכונים אוטומטית",
"autoUpdateCheckHelp": "בודקת ב-GitHub פעם ביום אם יצאה גרסה חדשה ומציגה תזכורת. כבויה כברירת מחדל.",
"openReleases": "פתיחת מהדורות GitHub",
- "restartAfterUpdate": "הפעל מחדש את FreeLLMAPI לאחר השלמת הבנייה."
+ "restartAfterUpdate": "הפעל מחדש את FreeLLMAPI לאחר השלמת הבנייה.",
+ "downloadUpdate": "הורדת העדכון",
+ "downloadingUpdate": "מוריד… {percent}%",
+ "restartToUpdate": "הפעלה מחדש לעדכון",
+ "updateReadyHint": "ההורדה הושלמה. FreeLLMAPI מגבה את הנתונים שלך, מופעל מחדש ופותח את הגרסה החדשה.",
+ "updateInstallFailed": "לא ניתן היה להתקין את העדכון."
},
"models": {
"title": "דגמים",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "לפני עדכון"
},
"status": {
"healthy": "בריא",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "הותקנה גרסה חדשה יותר של FreeLLMAPI.",
+ "reload": "טעינה מחדש"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/hi.json b/client/src/i18n/locales/hi.json
index 4f4b2a56..9c552b91 100644
--- a/client/src/i18n/locales/hi.json
+++ b/client/src/i18n/locales/hi.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "स्वचालित अपडेट जाँच",
"autoUpdateCheckHelp": "दिन में एक बार नई रिलीज़ के लिए GitHub की जाँच करता है और अनुस्मारक दिखाता है। डिफ़ॉल्ट रूप से बंद।",
"openReleases": "GitHub रिलीज़ खोलें",
- "restartAfterUpdate": "बिल्ड पूरा होने के बाद FreeLLMAPI को पुनः आरंभ करें।"
+ "restartAfterUpdate": "बिल्ड पूरा होने के बाद FreeLLMAPI को पुनः आरंभ करें।",
+ "downloadUpdate": "अपडेट डाउनलोड करें",
+ "downloadingUpdate": "डाउनलोड हो रहा है… {percent}%",
+ "restartToUpdate": "अपडेट के लिए रीस्टार्ट करें",
+ "updateReadyHint": "डाउनलोड हो गया। FreeLLMAPI आपके डेटा का बैकअप लेता है, रीस्टार्ट होता है और नया संस्करण खोलता है।",
+ "updateInstallFailed": "अपडेट इंस्टॉल नहीं हो सका।"
},
"models": {
"title": "मॉडल",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "अपडेट से पहले"
},
"status": {
"healthy": "स्वस्थ",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI का नया संस्करण इंस्टॉल है।",
+ "reload": "रीलोड करें"
},
"freeTier": {
"poolsToggle": "फ्री टियर पूल ({count})",
diff --git a/client/src/i18n/locales/hr.json b/client/src/i18n/locales/hr.json
index f0ee92a4..1921c23a 100644
--- a/client/src/i18n/locales/hr.json
+++ b/client/src/i18n/locales/hr.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automatska provjera ažuriranja",
"autoUpdateCheckHelp": "Jednom dnevno provjerava GitHub za novo izdanje i prikazuje podsjetnik. Prema zadanome isključeno.",
"openReleases": "Otvori izdanja na GitHubu",
- "restartAfterUpdate": "Ponovno pokrenite FreeLLMAPI nakon dovršetka izgradnje."
+ "restartAfterUpdate": "Ponovno pokrenite FreeLLMAPI nakon dovršetka izgradnje.",
+ "downloadUpdate": "Preuzmi ažuriranje",
+ "downloadingUpdate": "Preuzimanje… {percent} %",
+ "restartToUpdate": "Ponovno pokreni za ažuriranje",
+ "updateReadyHint": "Preuzeto. FreeLLMAPI sigurnosno kopira vaše podatke, ponovno se pokreće i otvara novu verziju.",
+ "updateInstallFailed": "Ažuriranje se nije moglo instalirati."
},
"models": {
"title": "Modeli",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Prije ažuriranja"
},
"status": {
"healthy": "Zdravo",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Instalirana je novija verzija FreeLLMAPI-ja.",
+ "reload": "Ponovno učitaj"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/hu.json b/client/src/i18n/locales/hu.json
index 4bad2e06..ed44c8ba 100644
--- a/client/src/i18n/locales/hu.json
+++ b/client/src/i18n/locales/hu.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automatikus frissítésellenőrzés",
"autoUpdateCheckHelp": "Naponta egyszer ellenőrzi a GitHubon az új kiadást, és emlékeztetőt jelenít meg. Alapértelmezés szerint kikapcsolva.",
"openReleases": "GitHub-kiadások megnyitása",
- "restartAfterUpdate": "A build befejezése után indítsa újra a FreeLLMAPI-t."
+ "restartAfterUpdate": "A build befejezése után indítsa újra a FreeLLMAPI-t.",
+ "downloadUpdate": "Frissítés letöltése",
+ "downloadingUpdate": "Letöltés… {percent}%",
+ "restartToUpdate": "Újraindítás a frissítéshez",
+ "updateReadyHint": "Letöltve. A FreeLLMAPI biztonsági mentést készít az adatairól, újraindul, és megnyitja az új verziót.",
+ "updateInstallFailed": "A frissítést nem sikerült telepíteni."
},
"models": {
"title": "Modellek",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Frissítés előtt"
},
"status": {
"healthy": "egészséges",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "A FreeLLMAPI újabb verziója van telepítve.",
+ "reload": "Újratöltés"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/id.json b/client/src/i18n/locales/id.json
index c1f1b498..d73fc4a4 100644
--- a/client/src/i18n/locales/id.json
+++ b/client/src/i18n/locales/id.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Pemeriksaan pembaruan otomatis",
"autoUpdateCheckHelp": "Memeriksa GitHub sekali sehari untuk rilis baru dan menampilkan pengingat. Nonaktif secara bawaan.",
"openReleases": "Buka Rilis GitHub",
- "restartAfterUpdate": "Mulai ulang FreeLLMAPI setelah proses build selesai."
+ "restartAfterUpdate": "Mulai ulang FreeLLMAPI setelah proses build selesai.",
+ "downloadUpdate": "Unduh pembaruan",
+ "downloadingUpdate": "Mengunduh… {percent}%",
+ "restartToUpdate": "Mulai ulang untuk memperbarui",
+ "updateReadyHint": "Selesai diunduh. FreeLLMAPI mencadangkan data Anda, memulai ulang, lalu membuka versi baru.",
+ "updateInstallFailed": "Pembaruan tidak dapat dipasang."
},
"models": {
"title": "Model",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Sebelum pembaruan"
},
"status": {
"healthy": "sehat",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Versi FreeLLMAPI yang lebih baru telah terpasang.",
+ "reload": "Muat ulang"
},
"freeTier": {
"poolsToggle": "Kumpulan tingkat gratis ({count})",
diff --git a/client/src/i18n/locales/ig.json b/client/src/i18n/locales/ig.json
index 52fb232d..43aa5bb4 100644
--- a/client/src/i18n/locales/ig.json
+++ b/client/src/i18n/locales/ig.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Nyocha mmelite akpaaka",
"autoUpdateCheckHelp": "Ọ na-enyocha GitHub otu ugboro n'ụbọchị maka ntọhapụ ọhụrụ ma gosi ncheta. A gbanyụrụ ya na ndabara.",
"openReleases": "Mepee GitHub Releases",
- "restartAfterUpdate": "Malitegharịa FreeLLMAPI mgbe build ahụ gwụchara."
+ "restartAfterUpdate": "Malitegharịa FreeLLMAPI mgbe build ahụ gwụchara.",
+ "downloadUpdate": "Budata mmelite",
+ "downloadingUpdate": "Na-ebudata… {percent}%",
+ "restartToUpdate": "Malitegharịa ka imelite",
+ "updateReadyHint": "Ebudatala. FreeLLMAPI na-echekwa data gị, malitegharịa ma mepee ụdị ọhụrụ.",
+ "updateInstallFailed": "Enweghị ike itinye mmelite ahụ."
},
"models": {
"title": "Ụdị",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Tupu mmelite"
},
"status": {
"healthy": "ahụike",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Etinyela ụdị FreeLLMAPI ọhụrụ.",
+ "reload": "Bugharịa"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/it.json b/client/src/i18n/locales/it.json
index c36bf855..11e159e3 100644
--- a/client/src/i18n/locales/it.json
+++ b/client/src/i18n/locales/it.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Controllo automatico degli aggiornamenti",
"autoUpdateCheckHelp": "Controlla GitHub una volta al giorno per una nuova versione e mostra un promemoria. Disattivato per impostazione predefinita.",
"openReleases": "Apri le release di GitHub",
- "restartAfterUpdate": "Riavvia FreeLLMAPI al termine della build."
+ "restartAfterUpdate": "Riavvia FreeLLMAPI al termine della build.",
+ "downloadUpdate": "Scarica aggiornamento",
+ "downloadingUpdate": "Download in corso… {percent}%",
+ "restartToUpdate": "Riavvia per aggiornare",
+ "updateReadyHint": "Scaricato. FreeLLMAPI esegue il backup dei tuoi dati, si riavvia e apre la nuova versione.",
+ "updateInstallFailed": "Impossibile installare l’aggiornamento."
},
"models": {
"title": "Modelli",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Pre-aggiornamento"
},
"status": {
"healthy": "funzionante",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "È installata una versione più recente di FreeLLMAPI.",
+ "reload": "Ricarica"
},
"freeTier": {
"poolsToggle": "Pool del piano gratuito ({count})",
diff --git a/client/src/i18n/locales/ja.json b/client/src/i18n/locales/ja.json
index bf55c562..bbeb6eae 100644
--- a/client/src/i18n/locales/ja.json
+++ b/client/src/i18n/locales/ja.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "自動アップデートチェック",
"autoUpdateCheckHelp": "1日1回、新しいリリースがないかGitHubを確認し、通知を表示します。既定では無効です。",
"openReleases": "GitHub Releasesを開く",
- "restartAfterUpdate": "ビルド完了後にFreeLLMAPIを再起動してください。"
+ "restartAfterUpdate": "ビルド完了後にFreeLLMAPIを再起動してください。",
+ "downloadUpdate": "アップデートをダウンロード",
+ "downloadingUpdate": "ダウンロード中… {percent}%",
+ "restartToUpdate": "再起動してアップデート",
+ "updateReadyHint": "ダウンロード完了。FreeLLMAPI はデータをバックアップしてから再起動し、新しいバージョンを開きます。",
+ "updateInstallFailed": "アップデートをインストールできませんでした。"
},
"models": {
"title": "モデル",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "アップデート前"
},
"status": {
"healthy": "健康な",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "新しいバージョンの FreeLLMAPI がインストールされています。",
+ "reload": "再読み込み"
},
"freeTier": {
"poolsToggle": "無料枠プール({count})",
diff --git a/client/src/i18n/locales/ka.json b/client/src/i18n/locales/ka.json
index bc4c2d4d..ae549d99 100644
--- a/client/src/i18n/locales/ka.json
+++ b/client/src/i18n/locales/ka.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "განახლებების ავტომატური შემოწმება",
"autoUpdateCheckHelp": "დღეში ერთხელ ამოწმებს GitHub-ს ახალი გამოშვებისთვის და აჩვენებს შეხსენებას. ნაგულისხმევად გამორთულია.",
"openReleases": "GitHub-ის რელიზების გახსნა",
- "restartAfterUpdate": "ბილდის დასრულების შემდეგ გადატვირთეთ FreeLLMAPI."
+ "restartAfterUpdate": "ბილდის დასრულების შემდეგ გადატვირთეთ FreeLLMAPI.",
+ "downloadUpdate": "განახლების ჩამოტვირთვა",
+ "downloadingUpdate": "იტვირთება… {percent}%",
+ "restartToUpdate": "გადატვირთვა განახლებისთვის",
+ "updateReadyHint": "ჩამოიტვირთა. FreeLLMAPI ქმნის თქვენი მონაცემების სარეზერვო ასლს, გადაიტვირთება და გახსნის ახალ ვერსიას.",
+ "updateInstallFailed": "განახლების დაყენება ვერ მოხერხდა."
},
"models": {
"title": "მოდელები",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "განახლებამდე"
},
"status": {
"healthy": "ჯანსაღი",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "დაყენებულია FreeLLMAPI-ის უფრო ახალი ვერსია.",
+ "reload": "გადატვირთვა"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/km.json b/client/src/i18n/locales/km.json
index e9ee106f..a9b02c66 100644
--- a/client/src/i18n/locales/km.json
+++ b/client/src/i18n/locales/km.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "ការពិនិត្យអាប់ដេតដោយស្វ័យប្រវត្តិ",
"autoUpdateCheckHelp": "ពិនិត្យ GitHub ម្ដងក្នុងមួយថ្ងៃរកមើលការចេញផ្សាយថ្មី ហើយបង្ហាញការរំលឹក។ បិទតាមលំនាំដើម។",
"openReleases": "បើក GitHub Releases",
- "restartAfterUpdate": "ចាប់ផ្តើម FreeLLMAPI ឡើងវិញ បន្ទាប់ពីការបង្កើតបានបញ្ចប់។"
+ "restartAfterUpdate": "ចាប់ផ្តើម FreeLLMAPI ឡើងវិញ បន្ទាប់ពីការបង្កើតបានបញ្ចប់។",
+ "downloadUpdate": "ទាញយកបច្ចុប្បន្នភាព",
+ "downloadingUpdate": "កំពុងទាញយក… {percent}%",
+ "restartToUpdate": "ចាប់ផ្ដើមឡើងវិញដើម្បីធ្វើបច្ចុប្បន្នភាព",
+ "updateReadyHint": "បានទាញយករួច។ FreeLLMAPI បម្រុងទុកទិន្នន័យរបស់អ្នក ចាប់ផ្ដើមឡើងវិញ ហើយបើកកំណែថ្មី។",
+ "updateInstallFailed": "មិនអាចដំឡើងបច្ចុប្បន្នភាពបានទេ។"
},
"models": {
"title": "ម៉ូដែល",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "មុនបច្ចុប្បន្នភាព"
},
"status": {
"healthy": "មានសុខភាពល្អ",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "កំណែថ្មីជាងរបស់ FreeLLMAPI ត្រូវបានដំឡើង។",
+ "reload": "ផ្ទុកឡើងវិញ"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/kn.json b/client/src/i18n/locales/kn.json
index f5dad48e..24468f2d 100644
--- a/client/src/i18n/locales/kn.json
+++ b/client/src/i18n/locales/kn.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "ಸ್ವಯಂಚಾಲಿತ ನವೀಕರಣ ಪರಿಶೀಲನೆ",
"autoUpdateCheckHelp": "ದಿನಕ್ಕೊಮ್ಮೆ ಹೊಸ ಬಿಡುಗಡೆಗಾಗಿ GitHub ಅನ್ನು ಪರಿಶೀಲಿಸುತ್ತದೆ ಮತ್ತು ಜ್ಞಾಪನೆ ತೋರಿಸುತ್ತದೆ. ಪೂರ್ವನಿಯೋಜಿತವಾಗಿ ಆಫ್ ಆಗಿದೆ.",
"openReleases": "GitHub ಬಿಡುಗಡೆಗಳನ್ನು ತೆರೆಯಿರಿ",
- "restartAfterUpdate": "ಬಿಲ್ಡ್ ಪೂರ್ಣಗೊಂಡ ನಂತರ FreeLLMAPI ಅನ್ನು ಮರುಪ್ರಾರಂಭಿಸಿ."
+ "restartAfterUpdate": "ಬಿಲ್ಡ್ ಪೂರ್ಣಗೊಂಡ ನಂತರ FreeLLMAPI ಅನ್ನು ಮರುಪ್ರಾರಂಭಿಸಿ.",
+ "downloadUpdate": "ಅಪ್‌ಡೇಟ್ ಡೌನ್‌ಲೋಡ್ ಮಾಡಿ",
+ "downloadingUpdate": "ಡೌನ್‌ಲೋಡ್ ಆಗುತ್ತಿದೆ… {percent}%",
+ "restartToUpdate": "ಅಪ್‌ಡೇಟ್ ಮಾಡಲು ಮರುಪ್ರಾರಂಭಿಸಿ",
+ "updateReadyHint": "ಡೌನ್‌ಲೋಡ್ ಆಗಿದೆ. FreeLLMAPI ನಿಮ್ಮ ಡೇಟಾದ ಬ್ಯಾಕಪ್ ತೆಗೆದು, ಮರುಪ್ರಾರಂಭಿಸಿ ಹೊಸ ಆವೃತ್ತಿಯನ್ನು ತೆರೆಯುತ್ತದೆ.",
+ "updateInstallFailed": "ಅಪ್‌ಡೇಟ್ ಅನ್ನು ಸ್ಥಾಪಿಸಲಾಗಲಿಲ್ಲ."
},
"models": {
"title": "ಮಾದರಿಗಳು",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "ಅಪ್‌ಡೇಟ್‌ಗೆ ಮುನ್ನ"
},
"status": {
"healthy": "ಆರೋಗ್ಯಕರ",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI ನ ಹೊಸ ಆವೃತ್ತಿ ಸ್ಥಾಪಿಸಲಾಗಿದೆ.",
+ "reload": "ಮರುಲೋಡ್"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/ko.json b/client/src/i18n/locales/ko.json
index 939d7cb8..e0288635 100644
--- a/client/src/i18n/locales/ko.json
+++ b/client/src/i18n/locales/ko.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "자동 업데이트 확인",
"autoUpdateCheckHelp": "하루에 한 번 GitHub에서 새 릴리스를 확인하고 알림을 표시합니다. 기본값은 꺼짐입니다.",
"openReleases": "GitHub 릴리스 열기",
- "restartAfterUpdate": "빌드가 완료되면 FreeLLMAPI를 다시 시작하세요."
+ "restartAfterUpdate": "빌드가 완료되면 FreeLLMAPI를 다시 시작하세요.",
+ "downloadUpdate": "업데이트 다운로드",
+ "downloadingUpdate": "다운로드 중… {percent}%",
+ "restartToUpdate": "재시작하여 업데이트",
+ "updateReadyHint": "다운로드 완료. FreeLLMAPI가 데이터를 백업한 뒤 재시작하고 새 버전을 엽니다.",
+ "updateInstallFailed": "업데이트를 설치하지 못했습니다."
},
"models": {
"title": "모델",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "업데이트 전"
},
"status": {
"healthy": "건강한",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "더 새로운 버전의 FreeLLMAPI가 설치되었습니다.",
+ "reload": "새로고침"
},
"freeTier": {
"poolsToggle": "무료 등급 풀 ({count})",
diff --git a/client/src/i18n/locales/lt.json b/client/src/i18n/locales/lt.json
index 002ff6d8..60fae82a 100644
--- a/client/src/i18n/locales/lt.json
+++ b/client/src/i18n/locales/lt.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automatinis atnaujinimų tikrinimas",
"autoUpdateCheckHelp": "Kartą per dieną patikrina „GitHub“, ar yra nauja laida, ir parodo priminimą. Pagal numatytuosius nustatymus išjungta.",
"openReleases": "Atverti GitHub leidimus",
- "restartAfterUpdate": "Baigę komponuoti paleiskite FreeLLMAPI iš naujo."
+ "restartAfterUpdate": "Baigę komponuoti paleiskite FreeLLMAPI iš naujo.",
+ "downloadUpdate": "Atsisiųsti naujinimą",
+ "downloadingUpdate": "Atsisiunčiama… {percent} %",
+ "restartToUpdate": "Paleisti iš naujo ir atnaujinti",
+ "updateReadyHint": "Atsisiųsta. FreeLLMAPI padaro jūsų duomenų atsarginę kopiją, pasileidžia iš naujo ir atidaro naują versiją.",
+ "updateInstallFailed": "Naujinimo įdiegti nepavyko."
},
"models": {
"title": "Modeliai",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Prieš naujinimą"
},
"status": {
"healthy": "Sveika",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Įdiegta naujesnė FreeLLMAPI versija.",
+ "reload": "Įkelti iš naujo"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/ml.json b/client/src/i18n/locales/ml.json
index 2121b5c4..1b0dc575 100644
--- a/client/src/i18n/locales/ml.json
+++ b/client/src/i18n/locales/ml.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "സ്വയമേവയുള്ള അപ്ഡേറ്റ് പരിശോധന",
"autoUpdateCheckHelp": "ദിവസത്തിൽ ഒരിക്കൽ പുതിയ റിലീസിനായി GitHub പരിശോധിച്ച് ഒരു ഓർമ്മപ്പെടുത്തൽ കാണിക്കുന്നു. സ്ഥിരസ്ഥിതിയായി ഓഫ് ആണ്.",
"openReleases": "GitHub റിലീസുകൾ തുറക്കുക",
- "restartAfterUpdate": "ബിൽഡ് പൂർത്തിയായ ശേഷം FreeLLMAPI പുനരാരംഭിക്കുക."
+ "restartAfterUpdate": "ബിൽഡ് പൂർത്തിയായ ശേഷം FreeLLMAPI പുനരാരംഭിക്കുക.",
+ "downloadUpdate": "അപ്‌ഡേറ്റ് ഡൗൺലോഡ് ചെയ്യുക",
+ "downloadingUpdate": "ഡൗൺലോഡ് ചെയ്യുന്നു… {percent}%",
+ "restartToUpdate": "അപ്‌ഡേറ്റിനായി റീസ്റ്റാർട്ട് ചെയ്യുക",
+ "updateReadyHint": "ഡൗൺലോഡ് ചെയ്തു. FreeLLMAPI നിങ്ങളുടെ ഡാറ്റ ബാക്കപ്പ് ചെയ്ത് റീസ്റ്റാർട്ട് ചെയ്ത് പുതിയ പതിപ്പ് തുറക്കും.",
+ "updateInstallFailed": "അപ്‌ഡേറ്റ് ഇൻസ്റ്റാൾ ചെയ്യാനായില്ല."
},
"models": {
"title": "മോഡലുകൾ",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "അപ്‌ഡേറ്റിന് മുമ്പ്"
},
"status": {
"healthy": "ആരോഗ്യമുള്ള",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI-യുടെ പുതിയ പതിപ്പ് ഇൻസ്റ്റാൾ ചെയ്തിട്ടുണ്ട്.",
+ "reload": "റീലോഡ്"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/mr.json b/client/src/i18n/locales/mr.json
index c1369e7d..85d11229 100644
--- a/client/src/i18n/locales/mr.json
+++ b/client/src/i18n/locales/mr.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "स्वयंचलित अद्यतन तपासणी",
"autoUpdateCheckHelp": "दिवसातून एकदा नवीन रिलीजसाठी GitHub तपासते आणि स्मरणपत्र दाखवते. डीफॉल्टनुसार बंद.",
"openReleases": "GitHub रिलीजेस उघडा",
- "restartAfterUpdate": "बिल्ड पूर्ण झाल्यानंतर FreeLLMAPI पुन्हा सुरू करा."
+ "restartAfterUpdate": "बिल्ड पूर्ण झाल्यानंतर FreeLLMAPI पुन्हा सुरू करा.",
+ "downloadUpdate": "अपडेट डाउनलोड करा",
+ "downloadingUpdate": "डाउनलोड होत आहे… {percent}%",
+ "restartToUpdate": "अपडेटसाठी रीस्टार्ट करा",
+ "updateReadyHint": "डाउनलोड झाले. FreeLLMAPI तुमच्या डेटाचा बॅकअप घेते, रीस्टार्ट होते आणि नवीन आवृत्ती उघडते.",
+ "updateInstallFailed": "अपडेट इंस्टॉल होऊ शकले नाही."
},
"models": {
"title": "मॉडेल्स",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "अपडेटपूर्वी"
},
"status": {
"healthy": "निरोगी",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI ची नवीन आवृत्ती इंस्टॉल झाली आहे.",
+ "reload": "रीलोड करा"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/ms.json b/client/src/i18n/locales/ms.json
index f2abc82d..20d63b69 100644
--- a/client/src/i18n/locales/ms.json
+++ b/client/src/i18n/locales/ms.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Semakan kemas kini automatik",
"autoUpdateCheckHelp": "Menyemak GitHub sekali sehari untuk keluaran baharu dan memaparkan peringatan. Dimatikan secara lalai.",
"openReleases": "Buka Keluaran GitHub",
- "restartAfterUpdate": "Mulakan semula FreeLLMAPI selepas binaan selesai."
+ "restartAfterUpdate": "Mulakan semula FreeLLMAPI selepas binaan selesai.",
+ "downloadUpdate": "Muat turun kemas kini",
+ "downloadingUpdate": "Memuat turun… {percent}%",
+ "restartToUpdate": "Mulakan semula untuk mengemas kini",
+ "updateReadyHint": "Selesai dimuat turun. FreeLLMAPI menyandarkan data anda, bermula semula dan membuka versi baharu.",
+ "updateInstallFailed": "Kemas kini tidak dapat dipasang."
},
"models": {
"title": "Model",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Sebelum kemas kini"
},
"status": {
"healthy": "sihat",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Versi FreeLLMAPI yang lebih baharu telah dipasang.",
+ "reload": "Muat semula"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/my.json b/client/src/i18n/locales/my.json
index c700bdeb..54b56f25 100644
--- a/client/src/i18n/locales/my.json
+++ b/client/src/i18n/locales/my.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "အလိုအလျောက် အပ်ဒိတ်စစ်ဆေးမှု",
"autoUpdateCheckHelp": "တစ်ရက်လျှင် တစ်ကြိမ် ဗားရှင်းအသစ်အတွက် GitHub ကို စစ်ဆေးပြီး သတိပေးချက် ပြသသည်။ မူရင်းအတိုင်း ပိတ်ထားသည်။",
"openReleases": "GitHub Releases ကို ဖွင့်ရန်",
- "restartAfterUpdate": "build ပြီးဆုံးပြီးနောက် FreeLLMAPI ကို ပြန်လည်စတင်ပါ။"
+ "restartAfterUpdate": "build ပြီးဆုံးပြီးနောက် FreeLLMAPI ကို ပြန်လည်စတင်ပါ။",
+ "downloadUpdate": "အပ်ဒိတ်ကို ဒေါင်းလုဒ်လုပ်ရန်",
+ "downloadingUpdate": "ဒေါင်းလုဒ်လုပ်နေသည်… {percent}%",
+ "restartToUpdate": "အပ်ဒိတ်လုပ်ရန် ပြန်စတင်ပါ",
+ "updateReadyHint": "ဒေါင်းလုဒ်ပြီးပါပြီ။ FreeLLMAPI သည် သင့်ဒေတာကို အရန်သိမ်းပြီး ပြန်စတင်ကာ ဗားရှင်းအသစ်ကို ဖွင့်ပါမည်။",
+ "updateInstallFailed": "အပ်ဒိတ်ကို ထည့်သွင်း၍ မရပါ။"
},
"models": {
"title": "မော်ဒယ်များ",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "အပ်ဒိတ်မတိုင်မီ"
},
"status": {
"healthy": "ကျန်းမာသော",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI ဗားရှင်းအသစ် ထည့်သွင်းပြီးပါပြီ။",
+ "reload": "ပြန်ဖွင့်ရန်"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/ne.json b/client/src/i18n/locales/ne.json
index 02c40651..e697349e 100644
--- a/client/src/i18n/locales/ne.json
+++ b/client/src/i18n/locales/ne.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "स्वचालित अद्यावधिक जाँच",
"autoUpdateCheckHelp": "दिनमा एक पटक नयाँ रिलिजका लागि GitHub जाँच गर्छ र सम्झना देखाउँछ। पूर्वनिर्धारित रूपमा बन्द।",
"openReleases": "GitHub रिलीजहरू खोल्नुहोस्",
- "restartAfterUpdate": "बिल्ड पूरा भएपछि FreeLLMAPI पुनः सुरु गर्नुहोस्।"
+ "restartAfterUpdate": "बिल्ड पूरा भएपछि FreeLLMAPI पुनः सुरु गर्नुहोस्।",
+ "downloadUpdate": "अपडेट डाउनलोड गर्नुहोस्",
+ "downloadingUpdate": "डाउनलोड हुँदैछ… {percent}%",
+ "restartToUpdate": "अपडेट गर्न पुनः सुरु गर्नुहोस्",
+ "updateReadyHint": "डाउनलोड भयो। FreeLLMAPI ले तपाईंको डेटाको ब्याकअप लिन्छ, पुनः सुरु हुन्छ र नयाँ संस्करण खोल्छ।",
+ "updateInstallFailed": "अपडेट इन्स्टल हुन सकेन।"
},
"models": {
"title": "नमूनाहरू",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "अपडेटअघि"
},
"status": {
"healthy": "स्वस्थ छ",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI को नयाँ संस्करण इन्स्टल भएको छ।",
+ "reload": "पुनः लोड"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/nl.json b/client/src/i18n/locales/nl.json
index 85f5c459..2f4ce4d5 100644
--- a/client/src/i18n/locales/nl.json
+++ b/client/src/i18n/locales/nl.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automatische updatecontrole",
"autoUpdateCheckHelp": "Controleert GitHub eenmaal per dag op een nieuwe release en toont een herinnering. Standaard uitgeschakeld.",
"openReleases": "GitHub Releases openen",
- "restartAfterUpdate": "Start FreeLLMAPI opnieuw nadat de build is voltooid."
+ "restartAfterUpdate": "Start FreeLLMAPI opnieuw nadat de build is voltooid.",
+ "downloadUpdate": "Update downloaden",
+ "downloadingUpdate": "Downloaden… {percent}%",
+ "restartToUpdate": "Herstarten om bij te werken",
+ "updateReadyHint": "Gedownload. FreeLLMAPI maakt een back-up van je gegevens, herstart en opent de nieuwe versie.",
+ "updateInstallFailed": "De update kon niet worden geïnstalleerd."
},
"models": {
"title": "Modellen",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Vóór update"
},
"status": {
"healthy": "Gezond",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Er is een nieuwere versie van FreeLLMAPI geïnstalleerd.",
+ "reload": "Opnieuw laden"
},
"freeTier": {
"poolsToggle": "Gratis-tierpools ({count})",
diff --git a/client/src/i18n/locales/no.json b/client/src/i18n/locales/no.json
index 2864e90f..88d20e4b 100644
--- a/client/src/i18n/locales/no.json
+++ b/client/src/i18n/locales/no.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automatisk oppdateringssjekk",
"autoUpdateCheckHelp": "Sjekker GitHub én gang om dagen for en ny utgivelse og viser en påminnelse. Av som standard.",
"openReleases": "Åpne GitHub Releases",
- "restartAfterUpdate": "Start FreeLLMAPI på nytt etter at byggingen er fullført."
+ "restartAfterUpdate": "Start FreeLLMAPI på nytt etter at byggingen er fullført.",
+ "downloadUpdate": "Last ned oppdatering",
+ "downloadingUpdate": "Laster ned… {percent} %",
+ "restartToUpdate": "Start på nytt for å oppdatere",
+ "updateReadyHint": "Lastet ned. FreeLLMAPI tar sikkerhetskopi av dataene dine, starter på nytt og åpner den nye versjonen.",
+ "updateInstallFailed": "Oppdateringen kunne ikke installeres."
},
"models": {
"title": "Modeller",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Før oppdatering"
},
"status": {
"healthy": "Sunt",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "En nyere versjon av FreeLLMAPI er installert.",
+ "reload": "Last inn på nytt"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/or.json b/client/src/i18n/locales/or.json
index 08ea91d5..17e25fca 100644
--- a/client/src/i18n/locales/or.json
+++ b/client/src/i18n/locales/or.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "ସ୍ୱୟଂଚାଳିତ ଅପଡେଟ୍ ଯାଞ୍ଚ",
"autoUpdateCheckHelp": "ଦିନକୁ ଥରେ ନୂଆ ରିଲିଜ୍ ପାଇଁ GitHub ଯାଞ୍ଚ କରେ ଏବଂ ଏକ ସ୍ମାରକ ଦେଖାଏ। ଡିଫଲ୍ଟ ଭାବେ ବନ୍ଦ।",
"openReleases": "GitHub Releases ଖୋଲନ୍ତୁ",
- "restartAfterUpdate": "ବିଲ୍ଡ ସମ୍ପୂର୍ଣ୍ଣ ହେବା ପରେ FreeLLMAPI ପୁନଃ ଚାଲୁ କରନ୍ତୁ।"
+ "restartAfterUpdate": "ବିଲ୍ଡ ସମ୍ପୂର୍ଣ୍ଣ ହେବା ପରେ FreeLLMAPI ପୁନଃ ଚାଲୁ କରନ୍ତୁ।",
+ "downloadUpdate": "ଅପଡେଟ୍ ଡାଉନଲୋଡ୍ କରନ୍ତୁ",
+ "downloadingUpdate": "ଡାଉନଲୋଡ୍ ହେଉଛି… {percent}%",
+ "restartToUpdate": "ଅପଡେଟ୍ ପାଇଁ ପୁନଃ ଆରମ୍ଭ କରନ୍ତୁ",
+ "updateReadyHint": "ଡାଉନଲୋଡ୍ ହୋଇଗଲା। FreeLLMAPI ଆପଣଙ୍କ ଡାଟାର ବ୍ୟାକଅପ୍ ନେଇ, ପୁନଃ ଆରମ୍ଭ ହୋଇ ନୂଆ ସଂସ୍କରଣ ଖୋଲେ।",
+ "updateInstallFailed": "ଅପଡେଟ୍ ଇନଷ୍ଟଲ୍ ହୋଇପାରିଲା ନାହିଁ।"
},
"models": {
"title": "ମଡେଲଗୁଡିକ",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "ଅପଡେଟ୍ ପୂର୍ବରୁ"
},
"status": {
"healthy": "ସୁସ୍ଥ",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI ର ନୂଆ ସଂସ୍କରଣ ଇନଷ୍ଟଲ୍ ହୋଇଛି।",
+ "reload": "ପୁନଃ ଲୋଡ୍"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/pa.json b/client/src/i18n/locales/pa.json
index 797c4bb5..06d50119 100644
--- a/client/src/i18n/locales/pa.json
+++ b/client/src/i18n/locales/pa.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "ਆਪਣੇ-ਆਪ ਅੱਪਡੇਟ ਜਾਂਚ",
"autoUpdateCheckHelp": "ਦਿਨ ਵਿੱਚ ਇੱਕ ਵਾਰ ਨਵੀਂ ਰਿਲੀਜ਼ ਲਈ GitHub ਦੀ ਜਾਂਚ ਕਰਦਾ ਹੈ ਅਤੇ ਯਾਦ-ਦਹਾਨੀ ਦਿਖਾਉਂਦਾ ਹੈ। ਮੂਲ ਰੂਪ ਵਿੱਚ ਬੰਦ।",
"openReleases": "GitHub Releases ਖੋਲ੍ਹੋ",
- "restartAfterUpdate": "ਬਿਲਡ ਪੂਰਾ ਹੋਣ ਤੋਂ ਬਾਅਦ FreeLLMAPI ਨੂੰ ਮੁੜ ਚਾਲੂ ਕਰੋ।"
+ "restartAfterUpdate": "ਬਿਲਡ ਪੂਰਾ ਹੋਣ ਤੋਂ ਬਾਅਦ FreeLLMAPI ਨੂੰ ਮੁੜ ਚਾਲੂ ਕਰੋ।",
+ "downloadUpdate": "ਅੱਪਡੇਟ ਡਾਊਨਲੋਡ ਕਰੋ",
+ "downloadingUpdate": "ਡਾਊਨਲੋਡ ਹੋ ਰਿਹਾ ਹੈ… {percent}%",
+ "restartToUpdate": "ਅੱਪਡੇਟ ਲਈ ਮੁੜ ਚਾਲੂ ਕਰੋ",
+ "updateReadyHint": "ਡਾਊਨਲੋਡ ਹੋ ਗਿਆ। FreeLLMAPI ਤੁਹਾਡੇ ਡੇਟਾ ਦਾ ਬੈਕਅੱਪ ਲੈਂਦਾ ਹੈ, ਮੁੜ ਚਾਲੂ ਹੁੰਦਾ ਹੈ ਅਤੇ ਨਵਾਂ ਸੰਸਕਰਣ ਖੋਲ੍ਹਦਾ ਹੈ।",
+ "updateInstallFailed": "ਅੱਪਡੇਟ ਇੰਸਟਾਲ ਨਹੀਂ ਹੋ ਸਕਿਆ।"
},
"models": {
"title": "ਮਾਡਲ",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "ਅੱਪਡੇਟ ਤੋਂ ਪਹਿਲਾਂ"
},
"status": {
"healthy": "ਸਿਹਤਮੰਦ",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI ਦਾ ਨਵਾਂ ਸੰਸਕਰਣ ਇੰਸਟਾਲ ਹੈ।",
+ "reload": "ਮੁੜ ਲੋਡ ਕਰੋ"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/pl.json b/client/src/i18n/locales/pl.json
index 7f247052..9cb63b81 100644
--- a/client/src/i18n/locales/pl.json
+++ b/client/src/i18n/locales/pl.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automatyczne sprawdzanie aktualizacji",
"autoUpdateCheckHelp": "Raz dziennie sprawdza w serwisie GitHub, czy jest nowe wydanie, i wyświetla przypomnienie. Domyślnie wyłączone.",
"openReleases": "Otwórz wydania w GitHubie",
- "restartAfterUpdate": "Uruchom ponownie FreeLLMAPI po zakończeniu kompilacji."
+ "restartAfterUpdate": "Uruchom ponownie FreeLLMAPI po zakończeniu kompilacji.",
+ "downloadUpdate": "Pobierz aktualizację",
+ "downloadingUpdate": "Pobieranie… {percent}%",
+ "restartToUpdate": "Uruchom ponownie, aby zaktualizować",
+ "updateReadyHint": "Pobrano. FreeLLMAPI tworzy kopię zapasową danych, uruchamia się ponownie i otwiera nową wersję.",
+ "updateInstallFailed": "Nie udało się zainstalować aktualizacji."
},
"models": {
"title": "Modele",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Przed aktualizacją"
},
"status": {
"healthy": "zdrowy",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Zainstalowano nowszą wersję FreeLLMAPI.",
+ "reload": "Odśwież"
},
"freeTier": {
"poolsToggle": "Pule darmowego poziomu ({count})",
diff --git a/client/src/i18n/locales/pt-BR.json b/client/src/i18n/locales/pt-BR.json
index 65cc5772..ca346f0b 100644
--- a/client/src/i18n/locales/pt-BR.json
+++ b/client/src/i18n/locales/pt-BR.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Verificação automática de atualizações",
"autoUpdateCheckHelp": "Consulta o GitHub uma vez por dia em busca de uma nova versão e exibe um lembrete. Desativado por padrão.",
"openReleases": "Abrir releases no GitHub",
- "restartAfterUpdate": "Reinicie o FreeLLMAPI após a conclusão da build."
+ "restartAfterUpdate": "Reinicie o FreeLLMAPI após a conclusão da build.",
+ "downloadUpdate": "Baixar atualização",
+ "downloadingUpdate": "Baixando… {percent}%",
+ "restartToUpdate": "Reiniciar para atualizar",
+ "updateReadyHint": "Baixada. O FreeLLMAPI faz backup dos seus dados, reinicia e abre a nova versão.",
+ "updateInstallFailed": "Não foi possível instalar a atualização."
},
"models": {
"title": "Modelos",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Pré-atualização"
},
"status": {
"healthy": "saudável",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Uma versão mais recente do FreeLLMAPI está instalada.",
+ "reload": "Recarregar"
},
"freeTier": {
"poolsToggle": "Grupos do nível gratuito ({count})",
diff --git a/client/src/i18n/locales/pt-PT.json b/client/src/i18n/locales/pt-PT.json
index 4cf9d931..7afdda21 100644
--- a/client/src/i18n/locales/pt-PT.json
+++ b/client/src/i18n/locales/pt-PT.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Verificação automática de atualizações",
"autoUpdateCheckHelp": "Consulta o GitHub uma vez por dia à procura de uma nova versão e mostra um lembrete. Desativado por predefinição.",
"openReleases": "Abrir lançamentos no GitHub",
- "restartAfterUpdate": "Reinicie o FreeLLMAPI após a conclusão da compilação."
+ "restartAfterUpdate": "Reinicie o FreeLLMAPI após a conclusão da compilação.",
+ "downloadUpdate": "Transferir atualização",
+ "downloadingUpdate": "A transferir… {percent}%",
+ "restartToUpdate": "Reiniciar para atualizar",
+ "updateReadyHint": "Transferida. O FreeLLMAPI faz uma cópia de segurança dos seus dados, reinicia e abre a nova versão.",
+ "updateInstallFailed": "Não foi possível instalar a atualização."
},
"models": {
"title": "Modelos",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Pré-atualização"
},
"status": {
"healthy": "Saudável",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Está instalada uma versão mais recente do FreeLLMAPI.",
+ "reload": "Recarregar"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/ro.json b/client/src/i18n/locales/ro.json
index 45cf8101..580ad521 100644
--- a/client/src/i18n/locales/ro.json
+++ b/client/src/i18n/locales/ro.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Verificare automată a actualizărilor",
"autoUpdateCheckHelp": "Verifică GitHub o dată pe zi dacă există o versiune nouă și afișează o notificare. Dezactivat implicit.",
"openReleases": "Deschide versiunile GitHub",
- "restartAfterUpdate": "Repornește FreeLLMAPI după finalizarea compilării."
+ "restartAfterUpdate": "Repornește FreeLLMAPI după finalizarea compilării.",
+ "downloadUpdate": "Descarcă actualizarea",
+ "downloadingUpdate": "Se descarcă… {percent}%",
+ "restartToUpdate": "Repornește pentru actualizare",
+ "updateReadyHint": "Descărcat. FreeLLMAPI face o copie de rezervă a datelor, repornește și deschide noua versiune.",
+ "updateInstallFailed": "Actualizarea nu a putut fi instalată."
},
"models": {
"title": "Modele",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Înainte de actualizare"
},
"status": {
"healthy": "Sănătos",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Este instalată o versiune mai nouă de FreeLLMAPI.",
+ "reload": "Reîncarcă"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/ru.json b/client/src/i18n/locales/ru.json
index d998efd7..23ab8e99 100644
--- a/client/src/i18n/locales/ru.json
+++ b/client/src/i18n/locales/ru.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Автоматическая проверка обновлений",
"autoUpdateCheckHelp": "Раз в день проверяет на GitHub наличие нового выпуска и показывает напоминание. По умолчанию выключено.",
"openReleases": "Открыть релизы на GitHub",
- "restartAfterUpdate": "Перезапустите FreeLLMAPI после завершения сборки."
+ "restartAfterUpdate": "Перезапустите FreeLLMAPI после завершения сборки.",
+ "downloadUpdate": "Скачать обновление",
+ "downloadingUpdate": "Загрузка… {percent}%",
+ "restartToUpdate": "Перезапустить для обновления",
+ "updateReadyHint": "Загружено. FreeLLMAPI создаёт резервную копию данных, перезапускается и открывает новую версию.",
+ "updateInstallFailed": "Не удалось установить обновление."
},
"models": {
"title": "Модели",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Перед обновлением"
},
"status": {
"healthy": "здоровый",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Установлена более новая версия FreeLLMAPI.",
+ "reload": "Перезагрузить"
},
"freeTier": {
"poolsToggle": "Пулы бесплатного тарифа ({count})",
diff --git a/client/src/i18n/locales/si.json b/client/src/i18n/locales/si.json
index 16ef2754..a4c334f9 100644
--- a/client/src/i18n/locales/si.json
+++ b/client/src/i18n/locales/si.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "ස්වයංක්‍රීය යාවත්කාලීන පරීක්ෂාව",
"autoUpdateCheckHelp": "නව නිකුතුවක් සඳහා දිනකට වරක් GitHub පරීක්ෂා කර මතක් කිරීමක් පෙන්වයි. පෙරනිමියෙන් ක්‍රියාවිරහිතයි.",
"openReleases": "GitHub Releases විවෘත කරන්න",
- "restartAfterUpdate": "ගොඩනැගීම සම්පූර්ණ වූ පසු FreeLLMAPI නැවත ආරම්භ කරන්න."
+ "restartAfterUpdate": "ගොඩනැගීම සම්පූර්ණ වූ පසු FreeLLMAPI නැවත ආරම්භ කරන්න.",
+ "downloadUpdate": "යාවත්කාලීනය බාගන්න",
+ "downloadingUpdate": "බාගනිමින්… {percent}%",
+ "restartToUpdate": "යාවත්කාලීන කිරීමට නැවත අරඹන්න",
+ "updateReadyHint": "බාගත විය. FreeLLMAPI ඔබගේ දත්ත උපස්ථ කර, නැවත ආරම්භ වී නව අනුවාදය විවෘත කරයි.",
+ "updateInstallFailed": "යාවත්කාලීනය ස්ථාපනය කළ නොහැකි විය."
},
"models": {
"title": "ආකෘති",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "යාවත්කාලීනයට පෙර"
},
"status": {
"healthy": "සෞඛ්ය සම්පන්න",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI හි නවතම අනුවාදයක් ස්ථාපනය කර ඇත.",
+ "reload": "නැවත පූරණය"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/sk.json b/client/src/i18n/locales/sk.json
index 54f36291..bf2351d1 100644
--- a/client/src/i18n/locales/sk.json
+++ b/client/src/i18n/locales/sk.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automatická kontrola aktualizácií",
"autoUpdateCheckHelp": "Raz denne skontroluje na GitHube novú verziu a zobrazí pripomienku. Predvolene vypnuté.",
"openReleases": "Otvoriť vydania na GitHube",
- "restartAfterUpdate": "Reštartujte FreeLLMAPI po dokončení zostavovania."
+ "restartAfterUpdate": "Reštartujte FreeLLMAPI po dokončení zostavovania.",
+ "downloadUpdate": "Stiahnuť aktualizáciu",
+ "downloadingUpdate": "Sťahuje sa… {percent} %",
+ "restartToUpdate": "Reštartovať a aktualizovať",
+ "updateReadyHint": "Stiahnuté. FreeLLMAPI zálohuje vaše údaje, reštartuje sa a otvorí novú verziu.",
+ "updateInstallFailed": "Aktualizáciu sa nepodarilo nainštalovať."
},
"models": {
"title": "Modely",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Pred aktualizáciou"
},
"status": {
"healthy": "zdravé",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Je nainštalovaná novšia verzia FreeLLMAPI.",
+ "reload": "Znova načítať"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/sr.json b/client/src/i18n/locales/sr.json
index 094b91f0..c51bcc51 100644
--- a/client/src/i18n/locales/sr.json
+++ b/client/src/i18n/locales/sr.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Аутоматска провера ажурирања",
"autoUpdateCheckHelp": "Једном дневно проверава GitHub за ново издање и приказује подсетник. Подразумевано искључено.",
"openReleases": "Отвори GitHub издања",
- "restartAfterUpdate": "Поново покрените FreeLLMAPI након завршетка израде."
+ "restartAfterUpdate": "Поново покрените FreeLLMAPI након завршетка израде.",
+ "downloadUpdate": "Преузми ажурирање",
+ "downloadingUpdate": "Преузимање… {percent}%",
+ "restartToUpdate": "Поново покрени ради ажурирања",
+ "updateReadyHint": "Преузето. FreeLLMAPI прави резервну копију ваших података, поново се покреће и отвара нову верзију.",
+ "updateInstallFailed": "Ажурирање није могло да се инсталира."
},
"models": {
"title": "Модели",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Пре ажурирања"
},
"status": {
"healthy": "здраво",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Инсталирана је новија верзија FreeLLMAPI-ја.",
+ "reload": "Поново учитај"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/sv.json b/client/src/i18n/locales/sv.json
index a09b4791..0daa0a35 100644
--- a/client/src/i18n/locales/sv.json
+++ b/client/src/i18n/locales/sv.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Automatisk uppdateringskontroll",
"autoUpdateCheckHelp": "Kontrollerar GitHub en gång om dagen efter en ny version och visar en påminnelse. Av som standard.",
"openReleases": "Öppna GitHub Releases",
- "restartAfterUpdate": "Starta om FreeLLMAPI när bygget är klart."
+ "restartAfterUpdate": "Starta om FreeLLMAPI när bygget är klart.",
+ "downloadUpdate": "Hämta uppdatering",
+ "downloadingUpdate": "Hämtar… {percent} %",
+ "restartToUpdate": "Starta om för att uppdatera",
+ "updateReadyHint": "Hämtad. FreeLLMAPI säkerhetskopierar dina data, startar om och öppnar den nya versionen.",
+ "updateInstallFailed": "Uppdateringen kunde inte installeras."
},
"models": {
"title": "Modeller",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Före uppdatering"
},
"status": {
"healthy": "Hälsosamt",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "En nyare version av FreeLLMAPI är installerad.",
+ "reload": "Läs in igen"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/sw.json b/client/src/i18n/locales/sw.json
index 3c248b59..d329b36c 100644
--- a/client/src/i18n/locales/sw.json
+++ b/client/src/i18n/locales/sw.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Ukaguzi wa masasisho otomatiki",
"autoUpdateCheckHelp": "Hukagua GitHub mara moja kwa siku kwa toleo jipya na kuonyesha ukumbusho. Imezimwa kwa chaguo-msingi.",
"openReleases": "Fungua Matoleo ya GitHub",
- "restartAfterUpdate": "Anzisha upya FreeLLMAPI baada ya ujenzi kukamilika."
+ "restartAfterUpdate": "Anzisha upya FreeLLMAPI baada ya ujenzi kukamilika.",
+ "downloadUpdate": "Pakua sasisho",
+ "downloadingUpdate": "Inapakua… {percent}%",
+ "restartToUpdate": "Anzisha upya ili kusasisha",
+ "updateReadyHint": "Imepakuliwa. FreeLLMAPI huhifadhi nakala ya data yako, huanza upya na kufungua toleo jipya.",
+ "updateInstallFailed": "Sasisho halikuweza kusakinishwa."
},
"models": {
"title": "Mifano",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Kabla ya sasisho"
},
"status": {
"healthy": "afya",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Toleo jipya la FreeLLMAPI limesakinishwa.",
+ "reload": "Pakia upya"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/ta.json b/client/src/i18n/locales/ta.json
index e3631c2a..c431fbdf 100644
--- a/client/src/i18n/locales/ta.json
+++ b/client/src/i18n/locales/ta.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "தானியங்கு புதுப்பிப்புச் சரிபார்ப்பு",
"autoUpdateCheckHelp": "நாளொன்றுக்கு ஒருமுறை புதிய வெளியீட்டிற்காக GitHub-ஐச் சரிபார்த்து நினைவூட்டலைக் காட்டும். இயல்பாக அணைக்கப்பட்டுள்ளது.",
"openReleases": "GitHub வெளியீடுகளைத் திற",
- "restartAfterUpdate": "உருவாக்கம் முடிந்ததும் FreeLLMAPI-ஐ மறுதொடக்கம் செய்யவும்."
+ "restartAfterUpdate": "உருவாக்கம் முடிந்ததும் FreeLLMAPI-ஐ மறுதொடக்கம் செய்யவும்.",
+ "downloadUpdate": "புதுப்பிப்பைப் பதிவிறக்கு",
+ "downloadingUpdate": "பதிவிறக்குகிறது… {percent}%",
+ "restartToUpdate": "புதுப்பிக்க மறுதொடக்கம் செய்",
+ "updateReadyHint": "பதிவிறக்கப்பட்டது. FreeLLMAPI உங்கள் தரவைக் காப்புப்பிரதி எடுத்து, மறுதொடக்கம் செய்து புதிய பதிப்பைத் திறக்கும்.",
+ "updateInstallFailed": "புதுப்பிப்பை நிறுவ முடியவில்லை."
},
"models": {
"title": "மாதிரிகள்",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "புதுப்பிப்புக்கு முன்"
},
"status": {
"healthy": "ஆரோக்கியமான",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI-இன் புதிய பதிப்பு நிறுவப்பட்டுள்ளது.",
+ "reload": "மீண்டும் ஏற்று"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/te.json b/client/src/i18n/locales/te.json
index 2e43c9ed..deb73405 100644
--- a/client/src/i18n/locales/te.json
+++ b/client/src/i18n/locales/te.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "స్వయంచాలక నవీకరణ తనిఖీ",
"autoUpdateCheckHelp": "రోజుకు ఒకసారి కొత్త విడుదల కోసం GitHubను తనిఖీ చేసి రిమైండర్‌ను చూపుతుంది. అప్రమేయంగా ఆఫ్‌లో ఉంటుంది.",
"openReleases": "GitHub విడుదలలను తెరవండి",
- "restartAfterUpdate": "బిల్డ్ పూర్తయిన తర్వాత FreeLLMAPIని పునఃప్రారంభించండి."
+ "restartAfterUpdate": "బిల్డ్ పూర్తయిన తర్వాత FreeLLMAPIని పునఃప్రారంభించండి.",
+ "downloadUpdate": "అప్‌డేట్ డౌన్‌లోడ్ చేయండి",
+ "downloadingUpdate": "డౌన్‌లోడ్ అవుతోంది… {percent}%",
+ "restartToUpdate": "అప్‌డేట్ కోసం రీస్టార్ట్ చేయండి",
+ "updateReadyHint": "డౌన్‌లోడ్ అయింది. FreeLLMAPI మీ డేటాను బ్యాకప్ చేసి, రీస్టార్ట్ అయి కొత్త వెర్షన్‌ను తెరుస్తుంది.",
+ "updateInstallFailed": "అప్‌డేట్‌ను ఇన్‌స్టాల్ చేయలేకపోయాము."
},
"models": {
"title": "మోడల్స్",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "అప్‌డేట్‌కు ముందు"
},
"status": {
"healthy": "ఆరోగ్యకరమైన",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI యొక్క కొత్త వెర్షన్ ఇన్‌స్టాల్ అయింది.",
+ "reload": "రీలోడ్"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/th.json b/client/src/i18n/locales/th.json
index 33936dec..8d364861 100644
--- a/client/src/i18n/locales/th.json
+++ b/client/src/i18n/locales/th.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "ตรวจสอบการอัปเดตอัตโนมัติ",
"autoUpdateCheckHelp": "ตรวจสอบ GitHub วันละครั้งว่ามีเวอร์ชันใหม่หรือไม่ และแสดงการแจ้งเตือน ปิดไว้ตามค่าเริ่มต้น",
"openReleases": "เปิด GitHub Releases",
- "restartAfterUpdate": "รีสตาร์ต FreeLLMAPI หลังจากบิลด์เสร็จสิ้น"
+ "restartAfterUpdate": "รีสตาร์ต FreeLLMAPI หลังจากบิลด์เสร็จสิ้น",
+ "downloadUpdate": "ดาวน์โหลดอัปเดต",
+ "downloadingUpdate": "กำลังดาวน์โหลด… {percent}%",
+ "restartToUpdate": "รีสตาร์ตเพื่ออัปเดต",
+ "updateReadyHint": "ดาวน์โหลดแล้ว FreeLLMAPI จะสำรองข้อมูลของคุณ รีสตาร์ต และเปิดเวอร์ชันใหม่",
+ "updateInstallFailed": "ไม่สามารถติดตั้งอัปเดตได้"
},
"models": {
"title": "โมเดล",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "ก่อนอัปเดต"
},
"status": {
"healthy": "มีสุขภาพดี",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "ติดตั้ง FreeLLMAPI เวอร์ชันใหม่กว่าแล้ว",
+ "reload": "โหลดใหม่"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/tl.json b/client/src/i18n/locales/tl.json
index 22c044fd..494ca05b 100644
--- a/client/src/i18n/locales/tl.json
+++ b/client/src/i18n/locales/tl.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Awtomatikong pagsusuri ng update",
"autoUpdateCheckHelp": "Sinusuri ang GitHub minsan sa isang araw para sa bagong release at nagpapakita ng paalala. Naka-off bilang default.",
"openReleases": "Buksan ang GitHub Releases",
- "restartAfterUpdate": "I-restart ang FreeLLMAPI kapag natapos ang build."
+ "restartAfterUpdate": "I-restart ang FreeLLMAPI kapag natapos ang build.",
+ "downloadUpdate": "I-download ang update",
+ "downloadingUpdate": "Nagda-download… {percent}%",
+ "restartToUpdate": "I-restart para mag-update",
+ "updateReadyHint": "Na-download na. Iba-backup ng FreeLLMAPI ang iyong data, magre-restart, at bubuksan ang bagong bersyon.",
+ "updateInstallFailed": "Hindi ma-install ang update."
},
"models": {
"title": "Mga Modelo",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Bago ang update"
},
"status": {
"healthy": "malusog",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "May mas bagong bersyon ng FreeLLMAPI na naka-install.",
+ "reload": "I-reload"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/tr.json b/client/src/i18n/locales/tr.json
index ee42876e..c08bf9d2 100644
--- a/client/src/i18n/locales/tr.json
+++ b/client/src/i18n/locales/tr.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Otomatik güncelleme denetimi",
"autoUpdateCheckHelp": "Yeni bir sürüm için günde bir kez GitHub'ı denetler ve bir hatırlatma gösterir. Varsayılan olarak kapalıdır.",
"openReleases": "GitHub sürümlerini aç",
- "restartAfterUpdate": "Derleme tamamlandıktan sonra FreeLLMAPI'yi yeniden başlatın."
+ "restartAfterUpdate": "Derleme tamamlandıktan sonra FreeLLMAPI'yi yeniden başlatın.",
+ "downloadUpdate": "Güncellemeyi indir",
+ "downloadingUpdate": "İndiriliyor… %{percent}",
+ "restartToUpdate": "Güncellemek için yeniden başlat",
+ "updateReadyHint": "İndirildi. FreeLLMAPI verilerinizi yedekler, yeniden başlar ve yeni sürümü açar.",
+ "updateInstallFailed": "Güncelleme yüklenemedi."
},
"models": {
"title": "Modeller",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Veritabanı dizinine göre göreli yol. Yedekler bu dizinin dışına yazılamaz.",
"save": "Zamanlamayı kaydet",
- "saved": "Kaydedildi"
+ "saved": "Kaydedildi",
+ "preUpdate": "Güncelleme öncesi"
},
"status": {
"healthy": "sağlıklı",
@@ -1155,7 +1161,9 @@
"noNotes": "Bu sürüm için sürüm notu yayımlanmadı.",
"openRelease": "Sürüm sayfasını aç",
"dismissVersion": "Bu sürümü yoksay",
- "dismiss": "Yoksay"
+ "dismiss": "Yoksay",
+ "newBuild": "FreeLLMAPI'nin daha yeni bir sürümü yüklü.",
+ "reload": "Yeniden yükle"
},
"freeTier": {
"poolsToggle": "Ücretsiz katman havuzları ({count})",
diff --git a/client/src/i18n/locales/uk.json b/client/src/i18n/locales/uk.json
index d25faf73..5e15a238 100644
--- a/client/src/i18n/locales/uk.json
+++ b/client/src/i18n/locales/uk.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Автоматична перевірка оновлень",
"autoUpdateCheckHelp": "Раз на день перевіряє GitHub на новий випуск і показує нагадування. Типово вимкнено.",
"openReleases": "Відкрити релізи GitHub",
- "restartAfterUpdate": "Перезапустіть FreeLLMAPI після завершення збірки."
+ "restartAfterUpdate": "Перезапустіть FreeLLMAPI після завершення збірки.",
+ "downloadUpdate": "Завантажити оновлення",
+ "downloadingUpdate": "Завантаження… {percent}%",
+ "restartToUpdate": "Перезапустити для оновлення",
+ "updateReadyHint": "Завантажено. FreeLLMAPI створює резервну копію даних, перезапускається й відкриває нову версію.",
+ "updateInstallFailed": "Не вдалося встановити оновлення."
},
"models": {
"title": "Моделі",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Перед оновленням"
},
"status": {
"healthy": "здоровий",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Встановлено новішу версію FreeLLMAPI.",
+ "reload": "Перезавантажити"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/ur.json b/client/src/i18n/locales/ur.json
index c64b9f99..6d0ff1c8 100644
--- a/client/src/i18n/locales/ur.json
+++ b/client/src/i18n/locales/ur.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "خودکار اپ ڈیٹ جانچ",
"autoUpdateCheckHelp": "دن میں ایک بار نئی ریلیز کے لیے GitHub کی جانچ کرتا ہے اور یاد دہانی دکھاتا ہے۔ بطور ڈیفالٹ بند ہے۔",
"openReleases": "GitHub ریلیزز کھولیں",
- "restartAfterUpdate": "بلڈ مکمل ہونے کے بعد FreeLLMAPI کو دوبارہ شروع کریں۔"
+ "restartAfterUpdate": "بلڈ مکمل ہونے کے بعد FreeLLMAPI کو دوبارہ شروع کریں۔",
+ "downloadUpdate": "اپ ڈیٹ ڈاؤن لوڈ کریں",
+ "downloadingUpdate": "ڈاؤن لوڈ ہو رہا ہے… {percent}%",
+ "restartToUpdate": "اپ ڈیٹ کے لیے دوبارہ شروع کریں",
+ "updateReadyHint": "ڈاؤن لوڈ ہو گیا۔ FreeLLMAPI آپ کے ڈیٹا کا بیک اپ لیتا ہے، دوبارہ شروع ہوتا ہے اور نیا ورژن کھولتا ہے۔",
+ "updateInstallFailed": "اپ ڈیٹ انسٹال نہیں ہو سکا۔"
},
"models": {
"title": "ماڈلز",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "اپ ڈیٹ سے پہلے"
},
"status": {
"healthy": "صحت مند",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI کا نیا ورژن انسٹال ہو چکا ہے۔",
+ "reload": "دوبارہ لوڈ کریں"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/uz.json b/client/src/i18n/locales/uz.json
index e12afa12..b15a518c 100644
--- a/client/src/i18n/locales/uz.json
+++ b/client/src/i18n/locales/uz.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Avtomatik yangilanish tekshiruvi",
"autoUpdateCheckHelp": "Kuniga bir marta yangi nashr uchun GitHub'ni tekshiradi va eslatma ko'rsatadi. Sukut bo'yicha o'chirilgan.",
"openReleases": "GitHub relizlarini ochish",
- "restartAfterUpdate": "Build tugagach, FreeLLMAPI'ni qayta ishga tushiring."
+ "restartAfterUpdate": "Build tugagach, FreeLLMAPI'ni qayta ishga tushiring.",
+ "downloadUpdate": "Yangilanishni yuklab olish",
+ "downloadingUpdate": "Yuklab olinmoqda… {percent}%",
+ "restartToUpdate": "Yangilash uchun qayta ishga tushirish",
+ "updateReadyHint": "Yuklab olindi. FreeLLMAPI maʼlumotlaringizning zaxira nusxasini oladi, qayta ishga tushadi va yangi versiyani ochadi.",
+ "updateInstallFailed": "Yangilanishni o‘rnatib bo‘lmadi."
},
"models": {
"title": "Modellar",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Yangilanishdan oldin"
},
"status": {
"healthy": "sog'lom",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "FreeLLMAPI ning yangiroq versiyasi o‘rnatilgan.",
+ "reload": "Qayta yuklash"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/vi.json b/client/src/i18n/locales/vi.json
index f3a0c35f..3250ad65 100644
--- a/client/src/i18n/locales/vi.json
+++ b/client/src/i18n/locales/vi.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Tự động kiểm tra cập nhật",
"autoUpdateCheckHelp": "Kiểm tra GitHub mỗi ngày một lần để tìm bản phát hành mới và hiển thị lời nhắc. Mặc định tắt.",
"openReleases": "Mở GitHub Releases",
- "restartAfterUpdate": "Khởi động lại FreeLLMAPI sau khi hoàn tất bản dựng."
+ "restartAfterUpdate": "Khởi động lại FreeLLMAPI sau khi hoàn tất bản dựng.",
+ "downloadUpdate": "Tải bản cập nhật",
+ "downloadingUpdate": "Đang tải… {percent}%",
+ "restartToUpdate": "Khởi động lại để cập nhật",
+ "updateReadyHint": "Đã tải xong. FreeLLMAPI sao lưu dữ liệu của bạn, khởi động lại và mở phiên bản mới.",
+ "updateInstallFailed": "Không thể cài đặt bản cập nhật."
},
"models": {
"title": "Người mẫu",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Trước cập nhật"
},
"status": {
"healthy": "khỏe mạnh",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "Đã cài đặt phiên bản FreeLLMAPI mới hơn.",
+ "reload": "Tải lại"
},
"freeTier": {
"poolsToggle": "Nhóm hạn mức miễn phí ({count})",
diff --git a/client/src/i18n/locales/yo.json b/client/src/i18n/locales/yo.json
index 966f9dd5..b3882c62 100644
--- a/client/src/i18n/locales/yo.json
+++ b/client/src/i18n/locales/yo.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "Àyẹ̀wò ìmúdójúìwọ̀n aládàáṣe",
"autoUpdateCheckHelp": "Ó ń ṣàyẹ̀wò GitHub lẹ́ẹ̀kan lóòjọ́ fún ìtújáde tuntun, ó sì ń fi ìránnilétí hàn. Ó pa ní àtìbẹ̀rẹ̀.",
"openReleases": "Ṣí àwọn ìtújáde GitHub",
- "restartAfterUpdate": "Tun FreeLLMAPI bẹ̀rẹ̀ lẹ́yìn tí ìkọ́lé bá parí."
+ "restartAfterUpdate": "Tun FreeLLMAPI bẹ̀rẹ̀ lẹ́yìn tí ìkọ́lé bá parí.",
+ "downloadUpdate": "Ṣe ìgbàsílẹ̀ ìmúdójúìwọ̀n",
+ "downloadingUpdate": "Ń ṣe ìgbàsílẹ̀… {percent}%",
+ "restartToUpdate": "Tún bẹ̀rẹ̀ láti mú dójúìwọ̀n",
+ "updateReadyHint": "Ìgbàsílẹ̀ ti parí. FreeLLMAPI yóò ṣe àfẹ̀yìntì dátà rẹ, tún bẹ̀rẹ̀, yóò sì ṣí ẹ̀yà tuntun.",
+ "updateInstallFailed": "A kò lè fi ìmúdójúìwọ̀n náà sí i."
},
"models": {
"title": "Awọn awoṣe",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "Ṣáájú ìmúdójúìwọ̀n"
},
"status": {
"healthy": "ni ilera",
@@ -1155,7 +1161,9 @@
"noNotes": "No release notes were published for this version.",
"openRelease": "Open release page",
"dismissVersion": "Dismiss this version",
- "dismiss": "Dismiss"
+ "dismiss": "Dismiss",
+ "newBuild": "A ti fi ẹ̀yà FreeLLMAPI tuntun sí i.",
+ "reload": "Tún gbé e"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/i18n/locales/zh-CN.json b/client/src/i18n/locales/zh-CN.json
index f5e3ada5..8045c60d 100644
--- a/client/src/i18n/locales/zh-CN.json
+++ b/client/src/i18n/locales/zh-CN.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "自动检查更新",
"autoUpdateCheckHelp": "每天检查一次 GitHub 上是否有新版本,并显示提醒。默认关闭。",
"openReleases": "打开 GitHub Releases",
- "restartAfterUpdate": "构建完成后重启 FreeLLMAPI。"
+ "restartAfterUpdate": "构建完成后重启 FreeLLMAPI。",
+ "downloadUpdate": "下载更新",
+ "downloadingUpdate": "正在下载… {percent}%",
+ "restartToUpdate": "重启以更新",
+ "updateReadyHint": "已下载。FreeLLMAPI 会先备份你的数据,然后重启并打开新版本。",
+ "updateInstallFailed": "无法安装更新。"
},
"models": {
"title": "模型",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "相对于数据库所在目录。备份不能写到该目录之外。",
"save": "保存计划",
- "saved": "已保存"
+ "saved": "已保存",
+ "preUpdate": "更新前"
},
"status": {
"healthy": "健康",
@@ -1155,7 +1161,9 @@
"noNotes": "此版本未发布更新说明。",
"openRelease": "打开发布页",
"dismissVersion": "忽略此版本",
- "dismiss": "忽略"
+ "dismiss": "忽略",
+ "newBuild": "已安装更新版本的 FreeLLMAPI。",
+ "reload": "重新加载"
},
"freeTier": {
"poolsToggle": "免费额度池({count})",
diff --git a/client/src/i18n/locales/zh-TW.json b/client/src/i18n/locales/zh-TW.json
index 2694a211..2a3028b2 100644
--- a/client/src/i18n/locales/zh-TW.json
+++ b/client/src/i18n/locales/zh-TW.json
@@ -166,7 +166,12 @@
"autoUpdateCheck": "自動檢查更新",
"autoUpdateCheckHelp": "每天檢查一次 GitHub 上是否有新版本,並顯示提醒。預設關閉。",
"openReleases": "開啟 GitHub Releases",
- "restartAfterUpdate": "建置完成後重新啟動 FreeLLMAPI。"
+ "restartAfterUpdate": "建置完成後重新啟動 FreeLLMAPI。",
+ "downloadUpdate": "下載更新",
+ "downloadingUpdate": "正在下載… {percent}%",
+ "restartToUpdate": "重新啟動以更新",
+ "updateReadyHint": "已下載。FreeLLMAPI 會先備份你的資料,然後重新啟動並開啟新版本。",
+ "updateInstallFailed": "無法安裝更新。"
},
"models": {
"title": "模型",
@@ -721,7 +726,8 @@
"pathPlaceholder": "backups",
"pathHint": "Relative to the database directory. Backups cannot be written outside it.",
"save": "Save schedule",
- "saved": "Saved"
+ "saved": "Saved",
+ "preUpdate": "更新前"
},
"status": {
"healthy": "健康",
@@ -1155,7 +1161,9 @@
"noNotes": "此版本未发布更新说明。",
"openRelease": "打开发布页",
"dismissVersion": "忽略此版本",
- "dismiss": "忽略"
+ "dismiss": "忽略",
+ "newBuild": "已安裝較新版本的 FreeLLMAPI。",
+ "reload": "重新載入"
},
"freeTier": {
"poolsToggle": "Free-tier pools ({count})",
diff --git a/client/src/lib/desktop-updater.ts b/client/src/lib/desktop-updater.ts
new file mode 100644
index 00000000..b026412a
--- /dev/null
+++ b/client/src/lib/desktop-updater.ts
@@ -0,0 +1,56 @@
+import { useEffect, useState } from 'react'
+
+/** Mirrors desktop/src/update-support.ts — the main process's updater state. */
+export type DesktopUpdateState =
+ | { phase: 'unsupported'; reason: 'dev' | 'package' }
+ | { phase: 'idle' }
+ | { phase: 'checking' }
+ | { phase: 'current'; checkedAt: string }
+ | { phase: 'available'; version: string }
+ | { phase: 'downloading'; version: string; percent: number }
+ | { phase: 'ready'; version: string }
+ | { phase: 'error'; message: string }
+
+interface DesktopUpdaterBridge {
+ state: () => Promise<DesktopUpdateState>
+ check: () => Promise<DesktopUpdateState>
+ download: () => Promise<DesktopUpdateState>
+ install: () => Promise<DesktopUpdateState>
+ subscribe: (listener: (state: DesktopUpdateState) => void) => () => void
+}
+
+function bridge(): DesktopUpdaterBridge | null {
+ if (typeof window === 'undefined') return null
+ return (window as { __FREEAPI_UPDATER__?: DesktopUpdaterBridge }).__FREEAPI_UPDATER__ ?? null
+}
+
+/**
+ * The desktop shell's in-app updater, or null in a browser and in a desktop
+ * build that cannot replace itself (deb/rpm, the portable zip, a dev build) —
+ * callers then keep their "open the releases page" fallback.
+ */
+export function useDesktopUpdater() {
+ const updater = bridge()
+ const [state, setState] = useState<DesktopUpdateState | null>(null)
+
+ useEffect(() => {
+ if (!updater) return
+ let cancelled = false
+ void updater.state().then(next => { if (!cancelled) setState(next) })
+ const unsubscribe = updater.subscribe(next => setState(next))
+ return () => {
+ cancelled = true
+ unsubscribe()
+ }
+ }, [updater])
+
+ if (!updater || !state || state.phase === 'unsupported') return null
+ return {
+ state,
+ check: () => updater.check().then(next => { setState(next); return next }),
+ download: () => updater.download().then(next => { setState(next); return next }),
+ install: () => updater.install().then(next => { setState(next); return next }),
+ }
+}
+
+export type DesktopUpdater = NonNullable<ReturnType<typeof useDesktopUpdater>>
diff --git a/client/src/lib/new-build.test.ts b/client/src/lib/new-build.test.ts
new file mode 100644
index 00000000..465d24e5
--- /dev/null
+++ b/client/src/lib/new-build.test.ts
@@ -0,0 +1,24 @@
+import { describe, expect, it } from 'vitest'
+import { entryScriptSrc, isNewBuild } from './new-build'
+
+const page = (src: string) => `<!doctype html><html><head><script>/* theme bootstrap */</script>
+<script type="module" crossorigin src="${src}"></script><link rel="stylesheet" href="/assets/index-a.css"></head></html>`
+
+describe('new build detection', () => {
+ it('reads the module entry script, whatever the attribute order', () => {
+ expect(entryScriptSrc(page('/assets/index-Ab12.js'))).toBe('/assets/index-Ab12.js')
+ expect(entryScriptSrc('<script src="/assets/index-Cd34.js" type="module"></script>')).toBe('/assets/index-Cd34.js')
+ expect(entryScriptSrc('<script>inline()</script>')).toBeNull()
+ })
+
+ it('reports a new build only when the fingerprinted entry changed', () => {
+ expect(isNewBuild('/assets/index-Ab12.js', page('/assets/index-Ab12.js'))).toBe(false)
+ expect(isNewBuild('http://127.0.0.1:3001/assets/index-Ab12.js', page('/assets/index-Ef56.js'))).toBe(true)
+ })
+
+ it('never fires on a dev server or an unreadable page', () => {
+ expect(isNewBuild('/src/main.tsx', page('/src/main.tsx?t=2'))).toBe(false)
+ expect(isNewBuild(null, page('/assets/index-Ef56.js'))).toBe(false)
+ expect(isNewBuild('/assets/index-Ab12.js', '<html>502 Bad Gateway</html>')).toBe(false)
+ })
+})
diff --git a/client/src/lib/new-build.ts b/client/src/lib/new-build.ts
new file mode 100644
index 00000000..835a7c99
--- /dev/null
+++ b/client/src/lib/new-build.ts
@@ -0,0 +1,25 @@
+// Vite fingerprints the entry bundle (/assets/index-<hash>.js) and the server
+// sends index.html with no-cache, so the entry <script> in a fresh copy of
+// index.html names the build the server is serving now. A tab whose own entry
+// script differs is running a build that has since been replaced — after a
+// Docker pull, a source rebuild or a desktop update — and its lazy chunks may
+// already be gone from disk.
+
+const ENTRY_SCRIPT = /<script\b[^>]*\btype=["']module["'][^>]*\bsrc=["']([^"']+)["']|<script\b[^>]*\bsrc=["']([^"']+)["'][^>]*\btype=["']module["']/i
+
+/** The module entry script an index.html loads, or null when it has none. */
+export function entryScriptSrc(html: string): string | null {
+ const match = ENTRY_SCRIPT.exec(html)
+ const src = match?.[1] ?? match?.[2]
+ return src ? new URL(src, 'http://x/').pathname : null
+}
+
+/**
+ * True when `latestHtml` loads a different fingerprinted entry than the one
+ * this tab loaded. Dev servers (no /assets/ fingerprint) never report one.
+ */
+export function isNewBuild(loadedSrc: string | null, latestHtml: string): boolean {
+ if (!loadedSrc || !loadedSrc.includes('/assets/')) return false
+ const latest = entryScriptSrc(latestHtml)
+ return latest != null && latest.includes('/assets/') && latest !== new URL(loadedSrc, 'http://x/').pathname
+}
diff --git a/desktop/electron-builder.yml b/desktop/electron-builder.yml
index c192b125..21c1caee 100644
--- a/desktop/electron-builder.yml
+++ b/desktop/electron-builder.yml
@@ -84,5 +84,10 @@ linux:
arch:
- x64
nsis:
+ # electron-builder's default NSIS name has spaces ("FreeLLMAPI Setup x.y.z.exe")
+ # and latest.yml records it with dashes, while GitHub stores the upload with
+ # dots — so the updater asked for a file the release did not have. A name with
+ # no spaces is the same string in all three places.
+ artifactName: "${productName}-Setup-${version}.${ext}"
oneClick: true
deleteAppDataOnUninstall: false
diff --git a/desktop/package-lock.json b/desktop/package-lock.json
index 177ae122..6c87a9e2 100644
--- a/desktop/package-lock.json
+++ b/desktop/package-lock.json
@@ -8,7 +8,8 @@
"name": "freellmapi-desktop",
"version": "0.13.4",
"dependencies": {
- "better-sqlite3": "^12.10.0"
+ "better-sqlite3": "^12.10.0",
+ "electron-updater": "^6.8.9"
},
"devDependencies": {
"@electron/rebuild": "^3.7.0",
@@ -2082,7 +2083,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
"integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==",
- "dev": true,
"license": "Python-2.0"
},
"node_modules/assert-plus": {
@@ -2832,7 +2832,6 @@
"version": "4.4.3",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz",
"integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==",
- "dev": true,
"license": "MIT",
"dependencies": {
"ms": "^2.1.3"
@@ -3216,6 +3215,47 @@
"mime": "^2.5.2"
}
},
+ "node_modules/electron-updater": {
+ "version": "6.8.9",
+ "resolved": "https://registry.npmjs.org/electron-updater/-/electron-updater-6.8.9.tgz",
+ "integrity": "sha512-ZhVxM9iGONUpZGI1FxdMRgJjUFXi7AYGVa5PwKlO1tV1/4zDxQmfKpXOHVztKrd6L9rLcFjERvi1Mf2vxyTkig==",
+ "license": "MIT",
+ "dependencies": {
+ "builder-util-runtime": "9.7.0",
+ "fs-extra": "^10.1.0",
+ "js-yaml": "^4.1.0",
+ "lazy-val": "^1.0.5",
+ "lodash.escaperegexp": "^4.1.2",
+ "lodash.isequal": "^4.5.0",
+ "semver": "~7.7.3",
+ "tiny-typed-emitter": "^2.1.0"
+ }
+ },
+ "node_modules/electron-updater/node_modules/builder-util-runtime": {
+ "version": "9.7.0",
+ "resolved": "https://registry.npmjs.org/builder-util-runtime/-/builder-util-runtime-9.7.0.tgz",
+ "integrity": "sha512-g/kR520giAFYkSXTzcmF3kqQq7wi8F6N6SzeDgZrqTBN+VHdmgWOyTdD1yD7AATDId/yXLvuP34CxW46/BwCdw==",
+ "license": "MIT",
+ "dependencies": {
+ "debug": "^4.3.4",
+ "sax": "^1.2.4"
+ },
+ "engines": {
+ "node": ">=12.0.0"
+ }
+ },
+ "node_modules/electron-updater/node_modules/semver": {
+ "version": "7.7.4",
+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.7.4.tgz",
+ "integrity": "sha512-vFKC2IEtQnVhpT78h1Yp8wzwrf8CM+MzKMHGJZfBtzhZNycRFnXsHk6E5TxIkkMsgNS7mdX3AGB7x2QM2di4lA==",
+ "license": "ISC",
+ "bin": {
+ "semver": "bin/semver.js"
+ },
+ "engines": {
+ "node": ">=10"
+ }
+ },
"node_modules/emoji-regex": {
"version": "8.0.0",
"resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
@@ -3602,7 +3642,6 @@
"version": "10.1.0",
"resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
"integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
- "dev": true,
"license": "MIT",
"dependencies": {
"graceful-fs": "^4.2.0",
@@ -3881,7 +3920,6 @@
"version": "4.2.11",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz",
"integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==",
- "dev": true,
"license": "ISC"
},
"node_modules/has-flag": {
@@ -4267,7 +4305,6 @@
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.2.0.tgz",
"integrity": "sha512-ePWsvanv0DWuDRsW8dnt+R4jQ31SCRCQ7hhNcPXZPsoBZiemuZNYGf7adZdqX2D86j6rvKp3RpCxVTSb8WQlOw==",
- "dev": true,
"funding": [
{
"type": "github",
@@ -4325,7 +4362,6 @@
"version": "6.2.1",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.2.1.tgz",
"integrity": "sha512-zwOTdL3rFQ/lRdBnntKVOX6k5cKJwEc1HdilT71BWEu7J41gXIB2MRp+vxduPSwZJPWBxEzv4yH1wYLJGUHX4Q==",
- "dev": true,
"license": "MIT",
"dependencies": {
"universalify": "^2.0.0"
@@ -4348,7 +4384,6 @@
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/lazy-val/-/lazy-val-1.0.5.tgz",
"integrity": "sha512-0/BnGCCfyUMkBpeDgWihanIAF9JmZhHBgUhEqzvf+adhNGLoP6TaiI5oF8oyb3I45P+PcnrqihSf01M0l0G5+Q==",
- "dev": true,
"license": "MIT"
},
"node_modules/lazystream": {
@@ -4424,6 +4459,12 @@
"license": "MIT",
"peer": true
},
+ "node_modules/lodash.escaperegexp": {
+ "version": "4.1.2",
+ "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz",
+ "integrity": "sha512-TM9YBvyC84ZxE3rgfefxUWiQKLilstD6k7PTGt6wfbtXF8ixIJLOL3VYyV/z+ZiPLsVxAsKAFVwWlWeb2Y8Yyw==",
+ "license": "MIT"
+ },
"node_modules/lodash.flatten": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz",
@@ -4432,6 +4473,13 @@
"license": "MIT",
"peer": true
},
+ "node_modules/lodash.isequal": {
+ "version": "4.5.0",
+ "resolved": "https://registry.npmjs.org/lodash.isequal/-/lodash.isequal-4.5.0.tgz",
+ "integrity": "sha512-pDo3lu8Jhfjqls6GkMgpahsF9kCyayhgykjyLMNFTKWrpVdAQtYyB4muAMWozBB4ig/dtWAmsMxLEI8wuz+DYQ==",
+ "deprecated": "This package is deprecated. Use require('node:util').isDeepStrictEqual instead.",
+ "license": "MIT"
+ },
"node_modules/lodash.isplainobject": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz",
@@ -4810,7 +4858,6 @@
"version": "2.1.3",
"resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz",
"integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==",
- "dev": true,
"license": "MIT"
},
"node_modules/nanoid": {
@@ -5723,7 +5770,6 @@
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/sax/-/sax-1.6.0.tgz",
"integrity": "sha512-6R3J5M4AcbtLUdZmRv2SygeVaM7IhrLXu9BmnOGmmACak8fiUtOsYNWUS4uK7upbmHIBbLBeFeI//477BKLBzA==",
- "dev": true,
"license": "BlueOak-1.0.0",
"engines": {
"node": ">=11.0.0"
@@ -6203,6 +6249,12 @@
"fs-extra": "^10.0.0"
}
},
+ "node_modules/tiny-typed-emitter": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/tiny-typed-emitter/-/tiny-typed-emitter-2.1.0.tgz",
+ "integrity": "sha512-qVtvMxeXbVej0cQWKqVSSAHmKZEHAvxdF8HEUBFWts8h+xEo5m/lEiPakuyZ3BnCBjOD8i24kzNOiOLLgsSxhA==",
+ "license": "MIT"
+ },
"node_modules/tinybench": {
"version": "2.9.0",
"resolved": "https://registry.npmjs.org/tinybench/-/tinybench-2.9.0.tgz",
@@ -6371,7 +6423,6 @@
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.1.tgz",
"integrity": "sha512-gptHNQghINnc/vTGIk0SOFGFNXw7JVrlRUtConJRlvaw6DuX0wO5Jeko9sWrMBhh+PsYAZ7oXAiOnf/UKogyiw==",
- "dev": true,
"license": "MIT",
"engines": {
"node": ">= 10.0.0"
diff --git a/desktop/package.json b/desktop/package.json
index ffcfd16d..85beada6 100644
--- a/desktop/package.json
+++ b/desktop/package.json
@@ -13,7 +13,7 @@
"main": "build/main.mjs",
"scripts": {
"bundle:server": "node scripts/bundle-server.mjs",
- "build:main": "esbuild src/main.ts --bundle --platform=node --format=esm --external:electron --external:./server.mjs --outfile=build/main.mjs",
+ "build:main": "esbuild src/main.ts --bundle --platform=node --format=esm --external:electron --external:electron-updater --external:./server.mjs --outfile=build/main.mjs",
"build:preload": "esbuild src/preload.ts src/preload-popover.ts --bundle --platform=node --format=cjs --external:electron --outdir=build --out-extension:.js=.cjs",
"build:all": "npm run bundle:server && npm run build:main && npm run build:preload",
"stage:client": "node scripts/stage-client.mjs",
@@ -26,7 +26,8 @@
"test": "vitest run"
},
"dependencies": {
- "better-sqlite3": "^12.10.0"
+ "better-sqlite3": "^12.10.0",
+ "electron-updater": "^6.8.9"
},
"devDependencies": {
"@electron/rebuild": "^3.7.0",
diff --git a/desktop/src/__tests__/update-support.test.ts b/desktop/src/__tests__/update-support.test.ts
new file mode 100644
index 00000000..4f567c2d
--- /dev/null
+++ b/desktop/src/__tests__/update-support.test.ts
@@ -0,0 +1,29 @@
+import { describe, expect, it } from 'vitest';
+import { updateSupport } from '../update-support.js';
+
+const base = { isPackaged: true, execPath: '/Applications/FreeLLMAPI.app/Contents/MacOS/FreeLLMAPI', productName: 'FreeLLMAPI' };
+
+describe('updateSupport', () => {
+ it('leaves a dev build alone unless a test feed is configured', () => {
+ expect(updateSupport({ ...base, isPackaged: false, platform: 'darwin' })).toEqual({ phase: 'unsupported', reason: 'dev' });
+ expect(updateSupport({ ...base, isPackaged: false, platform: 'darwin', feed: 'http://127.0.0.1:8099/' })).toBeNull();
+ });
+
+ it('updates an installed mac app but not one running from the mounted dmg', () => {
+ expect(updateSupport({ ...base, platform: 'darwin' })).toBeNull();
+ expect(updateSupport({ ...base, platform: 'darwin', execPath: '/Volumes/FreeLLMAPI/FreeLLMAPI.app/Contents/MacOS/FreeLLMAPI' }))
+ .toEqual({ phase: 'unsupported', reason: 'package' });
+ });
+
+ it('updates the NSIS install on Windows but not the portable zip', () => {
+ const execPath = 'C:\\Users\\me\\AppData\\Local\\Programs\\FreeLLMAPI\\FreeLLMAPI.exe';
+ const installed = (file: string) => file.endsWith('Uninstall FreeLLMAPI.exe');
+ expect(updateSupport({ ...base, platform: 'win32', execPath }, installed)).toBeNull();
+ expect(updateSupport({ ...base, platform: 'win32', execPath }, () => false)).toEqual({ phase: 'unsupported', reason: 'package' });
+ });
+
+ it('updates the AppImage on Linux and leaves deb/rpm to the package manager', () => {
+ expect(updateSupport({ ...base, platform: 'linux', execPath: '/tmp/.mount_x/freellmapi-desktop', appImage: '/home/me/FreeLLMAPI.AppImage' })).toBeNull();
+ expect(updateSupport({ ...base, platform: 'linux', execPath: '/opt/FreeLLMAPI/freellmapi-desktop' })).toEqual({ phase: 'unsupported', reason: 'package' });
+ });
+});
diff --git a/desktop/src/__tests__/updater-artifact-names.test.ts b/desktop/src/__tests__/updater-artifact-names.test.ts
new file mode 100644
index 00000000..e6c79ed3
--- /dev/null
+++ b/desktop/src/__tests__/updater-artifact-names.test.ts
@@ -0,0 +1,38 @@
+import { readFileSync } from 'node:fs';
+import { createRequire } from 'node:module';
+import { dirname, join, resolve } from 'node:path';
+import { fileURLToPath } from 'node:url';
+import { describe, expect, it } from 'vitest';
+
+// The updater downloads the file latest*.yml names from the GitHub release.
+// GitHub rewrites spaces in an uploaded asset's name to dots while
+// electron-builder writes them into the manifest as dashes, so any installer
+// name with a space is one the updater can never fetch (v0.13.4's
+// "FreeLLMAPI.Setup.0.13.4.exe" vs latest.yml's "FreeLLMAPI-Setup-0.13.4.exe").
+
+const yaml = createRequire(import.meta.url)('js-yaml');
+const desktopRoot = resolve(dirname(fileURLToPath(import.meta.url)), '../..');
+const config = yaml.load(readFileSync(join(desktopRoot, 'electron-builder.yml'), 'utf8')) as Record<string, any>;
+
+function expand(template: string): string {
+ return template
+ .replace('${productName}', config.productName)
+ .replace('${version}', '1.2.3')
+ .replace('${arch}', 'x64')
+ .replace('${ext}', 'exe');
+}
+
+describe('updater artifact names', () => {
+ it('gives every auto-updatable target a name without spaces', () => {
+ for (const section of ['nsis', 'mac', 'appImage']) {
+ const template = config[section]?.artifactName ?? config.artifactName;
+ if (section === 'appImage' && !template) continue; // default "${productName}-${version}.${ext}"
+ expect(template, section).toBeTypeOf('string');
+ expect(expand(template), section).not.toMatch(/\s/);
+ }
+ });
+
+ it('names the Windows installer the way latest.yml will', () => {
+ expect(expand(config.nsis.artifactName)).toBe('FreeLLMAPI-Setup-1.2.3.exe');
+ });
+});
diff --git a/desktop/src/i18n.ts b/desktop/src/i18n.ts
index ee6600c7..70c0bc17 100644
--- a/desktop/src/i18n.ts
+++ b/desktop/src/i18n.ts
@@ -46,6 +46,18 @@ const STRINGS: Record<NativeLocale, Strings> = {
now: 'now',
peak: 'peak {n}/h',
successSuffix: '{n}% success',
+ checkForUpdates: "Check for Updates…",
+ restartToUpdateTray: "Restart to Update (v{version})",
+ upToDate: "FreeLLMAPI v{version} is the latest version.",
+ updateAvailable: "FreeLLMAPI v{version} is available",
+ updateAvailableDetail: "You have v{current}. The update downloads in the background; your data is backed up before it installs.",
+ downloadUpdate: "Download",
+ releaseNotes: "Release Notes",
+ later: "Later",
+ updateFailed: "Update failed",
+ updateReadyTitle: "FreeLLMAPI v{version} is ready to install",
+ updateReadyBody: "Restart FreeLLMAPI to finish updating. It also installs the next time you quit.",
+ restartToUpdate: "Restart Now",
},
'zh-CN': {
tooltip: 'FreeLLMAPI — 本地 LLM 路由器',
@@ -69,6 +81,18 @@ const STRINGS: Record<NativeLocale, Strings> = {
now: '现在',
peak: '峰值 {n}/小时',
successSuffix: '{n}% 成功',
+ checkForUpdates: "检查更新…",
+ restartToUpdateTray: "重启以更新 (v{version})",
+ upToDate: "FreeLLMAPI v{version} 已是最新版本。",
+ updateAvailable: "FreeLLMAPI v{version} 可用",
+ updateAvailableDetail: "当前版本为 v{current}。更新会在后台下载,安装前会先备份你的数据。",
+ downloadUpdate: "下载",
+ releaseNotes: "更新说明",
+ later: "稍后",
+ updateFailed: "更新失败",
+ updateReadyTitle: "FreeLLMAPI v{version} 已可安装",
+ updateReadyBody: "重启 FreeLLMAPI 以完成更新。下次退出时也会自动安装。",
+ restartToUpdate: "立即重启",
},
fr: {
tooltip: 'FreeLLMAPI — routeur LLM local',
@@ -92,6 +116,18 @@ const STRINGS: Record<NativeLocale, Strings> = {
now: 'maintenant',
peak: 'pic {n}/h',
successSuffix: '{n} % de réussite',
+ checkForUpdates: "Rechercher des mises à jour…",
+ restartToUpdateTray: "Redémarrer pour mettre à jour (v{version})",
+ upToDate: "FreeLLMAPI v{version} est la dernière version.",
+ updateAvailable: "FreeLLMAPI v{version} est disponible",
+ updateAvailableDetail: "Vous avez la v{current}. La mise à jour se télécharge en arrière-plan ; vos données sont sauvegardées avant l’installation.",
+ downloadUpdate: "Télécharger",
+ releaseNotes: "Notes de version",
+ later: "Plus tard",
+ updateFailed: "Échec de la mise à jour",
+ updateReadyTitle: "FreeLLMAPI v{version} est prête à être installée",
+ updateReadyBody: "Redémarrez FreeLLMAPI pour terminer la mise à jour. Elle s’installe aussi à la prochaine fermeture.",
+ restartToUpdate: "Redémarrer maintenant",
},
es: {
tooltip: 'FreeLLMAPI — enrutador LLM local',
@@ -115,6 +151,18 @@ const STRINGS: Record<NativeLocale, Strings> = {
now: 'ahora',
peak: 'pico {n}/h',
successSuffix: '{n}% de aciertos',
+ checkForUpdates: "Buscar actualizaciones…",
+ restartToUpdateTray: "Reiniciar para actualizar (v{version})",
+ upToDate: "FreeLLMAPI v{version} es la versión más reciente.",
+ updateAvailable: "FreeLLMAPI v{version} está disponible",
+ updateAvailableDetail: "Tienes la v{current}. La actualización se descarga en segundo plano y tus datos se respaldan antes de instalarla.",
+ downloadUpdate: "Descargar",
+ releaseNotes: "Notas de la versión",
+ later: "Más tarde",
+ updateFailed: "La actualización falló",
+ updateReadyTitle: "FreeLLMAPI v{version} está lista para instalarse",
+ updateReadyBody: "Reinicia FreeLLMAPI para terminar de actualizar. También se instala la próxima vez que salgas.",
+ restartToUpdate: "Reiniciar ahora",
},
'pt-BR': {
tooltip: 'FreeLLMAPI — roteador LLM local',
@@ -138,6 +186,18 @@ const STRINGS: Record<NativeLocale, Strings> = {
now: 'agora',
peak: 'pico {n}/h',
successSuffix: '{n}% de sucesso',
+ checkForUpdates: "Verificar atualizações…",
+ restartToUpdateTray: "Reiniciar para atualizar (v{version})",
+ upToDate: "FreeLLMAPI v{version} é a versão mais recente.",
+ updateAvailable: "FreeLLMAPI v{version} está disponível",
+ updateAvailableDetail: "Você tem a v{current}. A atualização é baixada em segundo plano e seus dados recebem backup antes da instalação.",
+ downloadUpdate: "Baixar",
+ releaseNotes: "Notas da versão",
+ later: "Mais tarde",
+ updateFailed: "Falha na atualização",
+ updateReadyTitle: "FreeLLMAPI v{version} está pronto para instalar",
+ updateReadyBody: "Reinicie o FreeLLMAPI para concluir a atualização. Ela também é instalada na próxima vez que você sair.",
+ restartToUpdate: "Reiniciar agora",
},
it: {
tooltip: 'FreeLLMAPI — router LLM locale',
@@ -161,6 +221,18 @@ const STRINGS: Record<NativeLocale, Strings> = {
now: 'ora',
peak: 'picco {n}/h',
successSuffix: '{n}% di successo',
+ checkForUpdates: "Controlla aggiornamenti…",
+ restartToUpdateTray: "Riavvia per aggiornare (v{version})",
+ upToDate: "FreeLLMAPI v{version} è la versione più recente.",
+ updateAvailable: "FreeLLMAPI v{version} è disponibile",
+ updateAvailableDetail: "Hai la v{current}. L’aggiornamento si scarica in background e i tuoi dati vengono salvati prima dell’installazione.",
+ downloadUpdate: "Scarica",
+ releaseNotes: "Note di rilascio",
+ later: "Più tardi",
+ updateFailed: "Aggiornamento non riuscito",
+ updateReadyTitle: "FreeLLMAPI v{version} è pronto per l’installazione",
+ updateReadyBody: "Riavvia FreeLLMAPI per completare l’aggiornamento. Viene installato anche alla prossima chiusura.",
+ restartToUpdate: "Riavvia ora",
},
};
diff --git a/desktop/src/main.ts b/desktop/src/main.ts
index fc43090a..a482742b 100644
--- a/desktop/src/main.ts
+++ b/desktop/src/main.ts
@@ -1,7 +1,7 @@
import path from 'node:path';
import { fileURLToPath } from 'node:url';
import { app, dialog, ipcMain, clipboard, nativeTheme, screen, shell, type Tray } from 'electron';
-import { startServer, ensureSessionToken, getUnifiedApiKey } from './server.mjs';
+import { startServer, ensureSessionToken, getUnifiedApiKey, isAutoUpdateCheckEnabled, backupBeforeUpdate } from './server.mjs';
import { loadConfig, saveConfig } from './config.js';
import { installFileLogger } from './logger.js';
import { buildTray, refreshTrayLocale } from './tray.js';
@@ -10,6 +10,7 @@ import { shouldOpenDashboardOnLaunch } from './tray-platform.js';
import { openDashboard } from './window.js';
import { todayStats, hourlyRequests, successRateToday } from './stats.js';
import { normalizeLocale, nativeStrings, type NativeLocale } from './i18n.js';
+import { initUpdater, getUpdateState, checkForUpdates, downloadUpdate, installUpdate, checkFromTray } from './updater.js';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
const DEFAULT_PORT = 31415;
@@ -153,6 +154,12 @@ if (!app.requestSingleInstanceLock()) {
ipcMain.handle('freeapi:copy-api-key', () => clipboard.writeText(getUnifiedApiKey()));
ipcMain.handle('freeapi:set-login-item', (_e, open: boolean) => app.setLoginItemSettings({ openAtLogin: open }));
ipcMain.handle('freeapi:quit', () => app.quit());
+ // Dashboard → the in-app updater (preload __FREEAPI_UPDATER__). Each call
+ // returns the new state; progress arrives as 'freeapi:update-state' events.
+ ipcMain.handle('freeapi:update-state', () => getUpdateState());
+ ipcMain.handle('freeapi:update-check', () => checkForUpdates());
+ ipcMain.handle('freeapi:update-download', () => downloadUpdate());
+ ipcMain.handle('freeapi:update-install', () => installUpdate());
// Dashboard → a fresh session for the hidden machine account (preload
// __FREEAPI_SESSION__). The window never shows a login form: its account has
// a random password nobody knows, so when the boot-time session is gone the
@@ -269,6 +276,14 @@ if (!app.requestSingleInstanceLock()) {
// the app the user actually launched (#703).
process.env.FREEAPI_VERSION = app.getVersion();
+ initUpdater({
+ autoCheckEnabled: () => {
+ try { return isAutoUpdateCheckEnabled(); } catch { return false; }
+ },
+ backupBeforeUpdate,
+ getLocale: () => locale,
+ });
+
try {
const { port } = await startServer({
dbPath,
@@ -291,6 +306,8 @@ if (!app.requestSingleInstanceLock()) {
toggleLanAccess,
() => loadConfig().showInDock ?? true,
toggleShowInDock,
+ getUpdateState,
+ () => void checkFromTray(),
);
} catch (err) {
console.warn('[desktop] could not create the tray icon:', err);
diff --git a/desktop/src/preload.ts b/desktop/src/preload.ts
index 7d0cdab7..9adc4aa1 100644
--- a/desktop/src/preload.ts
+++ b/desktop/src/preload.ts
@@ -40,6 +40,22 @@ contextBridge.exposeInMainWorld(
versionArg ? versionArg.slice('--freeapi-version='.length) : null,
);
+// The in-app updater (the Settings update dialog and the update reminder). Like the session bridge above, deliberately
+// narrow: it can only check for, download and install the release published at
+// tashfeenahmed/freellmapi — the feed URL and signature checks live in the main
+// process and nothing here can point them anywhere else.
+contextBridge.exposeInMainWorld('__FREEAPI_UPDATER__', {
+ state: () => ipcRenderer.invoke('freeapi:update-state'),
+ check: () => ipcRenderer.invoke('freeapi:update-check'),
+ download: () => ipcRenderer.invoke('freeapi:update-download'),
+ install: () => ipcRenderer.invoke('freeapi:update-install'),
+ subscribe: (listener: (state: unknown) => void) => {
+ const handler = (_event: unknown, state: unknown) => listener(state);
+ ipcRenderer.on('freeapi:update-state', handler);
+ return () => { ipcRenderer.removeListener('freeapi:update-state', handler); };
+ },
+});
+
// `desktop` class on <html> identifies the desktop shell. On macOS, `desktop-mac`
// activates the translucent glass backdrop that pairs with native vibrancy;
// on Windows and Linux, the solid theme background is preserved so contrast and
diff --git a/desktop/src/server-host.ts b/desktop/src/server-host.ts
index 0bfccce7..2d768254 100644
--- a/desktop/src/server-host.ts
+++ b/desktop/src/server-host.ts
@@ -18,7 +18,8 @@ import { startCatalogSync } from '../../server/src/services/catalog-sync.js';
import { startCooldownProbe } from '../../server/src/services/cooldown-probe.js';
import { startCustomModelSync } from '../../server/src/services/custom-model-sync.js';
import { startBuiltinModelDiscovery } from '../../server/src/services/builtin-model-discovery.js';
-import { startBackupScheduler } from '../../server/src/services/backups.js';
+import { startBackupScheduler, createBackup } from '../../server/src/services/backups.js';
+import { isAutoUpdateCheckEnabled } from '../../server/src/routes/update.js';
import { cleanupExpiredCooldowns } from '../../server/src/services/ratelimit.js';
import { loadCacheFromDb } from '../../server/src/services/cache.js';
import { startWakeDetect } from '../../server/src/lib/wake-detect.js';
@@ -27,7 +28,13 @@ import { installLogRedaction } from '../../server/src/lib/log-redaction.js';
import { userCount, createUser, createSession } from '../../server/src/services/auth.js';
import { NodeScheduler } from '../../server/src/lib/scheduler.js';
-export { getDb, getUnifiedApiKey };
+export { getDb, getUnifiedApiKey, isAutoUpdateCheckEnabled };
+
+// Desktop updater → a full dump before an update installs, listed on the
+// Backups page as "Pre-update". Returns the file it wrote.
+export function backupBeforeUpdate(): string {
+ return createBackup(getDb(), { source: 'pre-update' }).filename;
+}
export interface StartOptions {
dbPath: string;
diff --git a/desktop/src/server.d.mts b/desktop/src/server.d.mts
index d0323379..43e8d346 100644
--- a/desktop/src/server.d.mts
+++ b/desktop/src/server.d.mts
@@ -20,3 +20,5 @@ export function startServer(opts: StartOptions): Promise<ServerHandle>;
export function ensureSessionToken(): string;
export function getDb(): Database.Database;
export function getUnifiedApiKey(): string;
+export function isAutoUpdateCheckEnabled(): boolean;
+export function backupBeforeUpdate(): string;
diff --git a/desktop/src/tray.ts b/desktop/src/tray.ts
index df96f068..0cdbf1ea 100644
--- a/desktop/src/tray.ts
+++ b/desktop/src/tray.ts
@@ -6,6 +6,7 @@ import { openDashboard } from './window.js';
import { openLogsFolder, openBackupsFolder } from './logger.js';
import { dt, type NativeLocale } from './i18n.js';
import { trayPlatform } from './tray-platform.js';
+import type { UpdateState } from './update-support.js';
const __dirname = path.dirname(fileURLToPath(import.meta.url));
@@ -25,6 +26,8 @@ export function buildTray(
onToggleLanAccess: () => void,
getShowInDock: () => boolean,
onToggleShowInDock: () => void,
+ getUpdateState: () => UpdateState,
+ onUpdateClick: () => void,
): Tray {
const platform = trayPlatform(process.platform);
const iconPath = path.join(__dirname, '../assets', platform.iconFile);
@@ -62,6 +65,7 @@ export function buildTray(
// only shows relative paths, so the tray is the discovery point.
{ label: dt(locale, 'openBackups'), click: () => openBackupsFolder() },
{ type: 'separator' },
+ { label: updateLabel(locale, getUpdateState()), click: () => onUpdateClick() },
{ label: dt(locale, 'quitApp'), click: () => app.quit() },
]));
});
@@ -69,6 +73,12 @@ export function buildTray(
return tray;
}
+function updateLabel(locale: NativeLocale, state: UpdateState): string {
+ return state.phase === 'ready'
+ ? dt(locale, 'restartToUpdateTray', { version: state.version })
+ : dt(locale, 'checkForUpdates');
+}
+
// Update the static tooltip after a locale change (the menu reads the locale
// live when it opens, so it needs no explicit refresh).
export function refreshTrayLocale(locale: NativeLocale): void {
diff --git a/desktop/src/update-support.ts b/desktop/src/update-support.ts
new file mode 100644
index 00000000..12cc6729
--- /dev/null
+++ b/desktop/src/update-support.ts
@@ -0,0 +1,40 @@
+// Pure helpers for updater.ts, kept free of Electron imports so they can be
+// unit-tested in plain Node.
+import fs from 'node:fs';
+import path from 'node:path';
+
+export type UpdateState =
+ | { phase: 'unsupported'; reason: 'dev' | 'package' }
+ | { phase: 'idle' }
+ | { phase: 'checking' }
+ | { phase: 'current'; checkedAt: string }
+ | { phase: 'available'; version: string }
+ | { phase: 'downloading'; version: string; percent: number }
+ | { phase: 'ready'; version: string }
+ | { phase: 'error'; message: string };
+
+/**
+ * Whether this copy of the app can replace itself. Only an installed build
+ * can: the Windows NSIS install (it ships an uninstaller next to the exe; the
+ * portable .zip does not), a mac .app that is not running from the mounted dmg,
+ * and the Linux AppImage. deb/rpm/tar.xz belong to the package manager.
+ * FREEAPI_UPDATE_FEED lets an unpackaged build exercise the real flow against
+ * a local feed during development.
+ */
+export function updateSupport(
+ env: { isPackaged: boolean; platform: NodeJS.Platform; execPath: string; appImage?: string; feed?: string; productName: string },
+ exists: (file: string) => boolean = fs.existsSync,
+): UpdateState | null {
+ if (!env.isPackaged && !env.feed) return { phase: 'unsupported', reason: 'dev' };
+ if (env.feed) return null;
+ if (env.platform === 'darwin') {
+ return env.execPath.startsWith('/Volumes/') ? { phase: 'unsupported', reason: 'package' } : null;
+ }
+ if (env.platform === 'win32') {
+ const uninstaller = path.join(path.dirname(env.execPath), `Uninstall ${env.productName}.exe`);
+ return exists(uninstaller) ? null : { phase: 'unsupported', reason: 'package' };
+ }
+ if (env.platform === 'linux') return env.appImage ? null : { phase: 'unsupported', reason: 'package' };
+ return { phase: 'unsupported', reason: 'package' };
+}
+
diff --git a/desktop/src/updater.ts b/desktop/src/updater.ts
new file mode 100644
index 00000000..6973d427
--- /dev/null
+++ b/desktop/src/updater.ts
@@ -0,0 +1,228 @@
+// In-app updates for the packaged desktop app, on top of electron-updater.
+//
+// The release workflow already publishes what the updater reads: latest.yml,
+// latest-mac.yml and latest-linux.yml next to the installers, plus the mac
+// .zip (Squirrel.Mac installs from the zip, never the dmg). This module owns the
+// whole lifecycle — check, download, install — and hands one serialisable state
+// to every surface that shows it: the dashboard (through the preload bridge),
+// the tray menu and the native dialogs.
+//
+// Nothing is downloaded or installed without the user asking, with one
+// exception they opt into: when the dashboard's "Check for updates
+// automatically" setting is on, a found update is fetched in the background and
+// the app says it is ready. It still never restarts on its own — agents are
+// routed through this process, and a restart drops their in-flight requests.
+import { app, BrowserWindow, dialog, Notification, shell } from 'electron';
+import electronUpdater from 'electron-updater';
+import { dt, type NativeLocale } from './i18n.js';
+import { updateSupport, type UpdateState } from './update-support.js';
+
+export type { UpdateState };
+
+const { autoUpdater } = electronUpdater;
+
+const RELEASES_URL = 'https://github.com/tashfeenahmed/freellmapi/releases/latest';
+const BACKGROUND_INTERVAL_MS = 6 * 60 * 60 * 1000;
+const FIRST_BACKGROUND_CHECK_MS = 60 * 1000;
+
+export interface UpdaterHooks {
+ /** The dashboard's opt-in (settings table `update_check_enabled`). */
+ autoCheckEnabled: () => boolean;
+ /** Writes a database backup and returns its file name; runs before every
+ * install. Synchronous so it can also run inside 'before-quit'. */
+ backupBeforeUpdate: () => string | null;
+ getLocale: () => NativeLocale;
+ /** Called on every state change, e.g. so the tray can relabel itself. */
+ onChange?: (state: UpdateState) => void;
+}
+
+let state: UpdateState = { phase: 'idle' };
+let hooks: UpdaterHooks | null = null;
+let inFlight: Promise<UpdateState> | null = null;
+// Set while a check runs in the background, so a found update is downloaded
+// straight away instead of waiting for a click nobody is there to make.
+let backgroundCheck = false;
+// Set once the pre-install backup for the downloaded update has been written,
+// so the Restart button and the quit that follows don't write it twice.
+let backedUp = false;
+
+export function getUpdateState(): UpdateState {
+ return state;
+}
+
+function setState(next: UpdateState): void {
+ state = next;
+ for (const window of BrowserWindow.getAllWindows()) {
+ if (!window.isDestroyed()) window.webContents.send('freeapi:update-state', state);
+ }
+ hooks?.onChange?.(state);
+}
+
+function message(err: unknown): string {
+ const text = err instanceof Error ? err.message : String(err);
+ // electron-updater errors can carry a whole HTTP response; the first line is
+ // the part a person can act on.
+ return text.split('\n')[0].slice(0, 300);
+}
+
+export function initUpdater(options: UpdaterHooks): void {
+ hooks = options;
+ const unsupported = updateSupport({
+ isPackaged: app.isPackaged,
+ platform: process.platform,
+ execPath: process.execPath,
+ appImage: process.env.APPIMAGE,
+ feed: process.env.FREEAPI_UPDATE_FEED,
+ productName: app.getName(),
+ });
+ if (unsupported) {
+ state = unsupported;
+ return;
+ }
+
+ if (process.env.FREEAPI_UPDATE_FEED) {
+ autoUpdater.forceDevUpdateConfig = true;
+ autoUpdater.setFeedURL({ provider: 'generic', url: process.env.FREEAPI_UPDATE_FEED });
+ }
+ autoUpdater.logger = console;
+ autoUpdater.autoDownload = false;
+ // A downloaded update installs on the next ordinary quit as well, so an
+ // update the user never got round to restarting for still lands.
+ autoUpdater.autoInstallOnAppQuit = true;
+
+ autoUpdater.on('checking-for-update', () => setState({ phase: 'checking' }));
+ autoUpdater.on('update-not-available', () => setState({ phase: 'current', checkedAt: new Date().toISOString() }));
+ autoUpdater.on('update-available', (info) => {
+ setState({ phase: 'available', version: info.version });
+ if (backgroundCheck) void downloadUpdate();
+ });
+ autoUpdater.on('download-progress', (progress) => {
+ if (state.phase !== 'available' && state.phase !== 'downloading') return;
+ setState({ phase: 'downloading', version: state.version, percent: Math.floor(progress.percent) });
+ });
+ autoUpdater.on('update-downloaded', (info) => {
+ setState({ phase: 'ready', version: info.version });
+ if (Notification.isSupported()) {
+ const locale = options.getLocale();
+ new Notification({
+ title: dt(locale, 'updateReadyTitle', { version: info.version }),
+ body: dt(locale, 'updateReadyBody'),
+ }).show();
+ }
+ });
+ autoUpdater.on('error', (err) => setState({ phase: 'error', message: message(err) }));
+
+ // A downloaded update also installs on an ordinary quit (autoInstallOnAppQuit);
+ // that path must get the same backup the Restart button takes.
+ app.on('before-quit', () => {
+ if (state.phase !== 'ready' || backedUp) return;
+ try {
+ backup();
+ } catch (err) {
+ console.warn('[updater] backup before the quit-time install failed:', err);
+ }
+ });
+
+ setTimeout(runBackgroundCheck, FIRST_BACKGROUND_CHECK_MS).unref();
+ setInterval(runBackgroundCheck, BACKGROUND_INTERVAL_MS).unref();
+}
+
+function runBackgroundCheck(): void {
+ if (!hooks?.autoCheckEnabled()) return;
+ if (state.phase === 'downloading' || state.phase === 'ready') return;
+ backgroundCheck = true;
+ void checkForUpdates().finally(() => { backgroundCheck = false; });
+}
+
+export function checkForUpdates(): Promise<UpdateState> {
+ if (state.phase === 'unsupported' || state.phase === 'downloading' || state.phase === 'ready') {
+ return Promise.resolve(state);
+ }
+ inFlight ??= autoUpdater.checkForUpdates()
+ .then(() => state)
+ .catch((err) => {
+ setState({ phase: 'error', message: message(err) });
+ return state;
+ })
+ .finally(() => { inFlight = null; });
+ return inFlight;
+}
+
+export async function downloadUpdate(): Promise<UpdateState> {
+ if (state.phase !== 'available') return state;
+ setState({ phase: 'downloading', version: state.version, percent: 0 });
+ try {
+ await autoUpdater.downloadUpdate();
+ } catch (err) {
+ setState({ phase: 'error', message: message(err) });
+ }
+ return state;
+}
+
+function backup(): void {
+ if (state.phase !== 'ready') return;
+ const file = hooks?.backupBeforeUpdate();
+ backedUp = true;
+ if (file) console.log(`[updater] backed up the database to ${file} before installing v${state.version}`);
+}
+
+/** Back the database up, then quit, install and relaunch. */
+export async function installUpdate(): Promise<UpdateState> {
+ if (state.phase !== 'ready') return state;
+ try {
+ backup();
+ } catch (err) {
+ // A failed backup must not install over data it could not save.
+ setState({ phase: 'error', message: `Backup before update failed: ${message(err)}` });
+ return state;
+ }
+ // Let the IPC reply reach the renderer before the process starts to quit.
+ setImmediate(() => autoUpdater.quitAndInstall(false, true));
+ return state;
+}
+
+/** Tray → "Check for Updates…": the same lifecycle with native dialogs. */
+export async function checkFromTray(): Promise<void> {
+ const locale = hooks?.getLocale() ?? 'en';
+ if (state.phase === 'unsupported') {
+ await shell.openExternal(RELEASES_URL);
+ return;
+ }
+ if (state.phase === 'ready') {
+ await offerRestart(locale, state.version);
+ return;
+ }
+ const result = await checkForUpdates();
+ if (result.phase === 'current') {
+ await dialog.showMessageBox({ type: 'info', message: dt(locale, 'upToDate', { version: app.getVersion() }) });
+ } else if (result.phase === 'available') {
+ const { response } = await dialog.showMessageBox({
+ type: 'info',
+ message: dt(locale, 'updateAvailable', { version: result.version }),
+ detail: dt(locale, 'updateAvailableDetail', { current: app.getVersion() }),
+ buttons: [dt(locale, 'downloadUpdate'), dt(locale, 'releaseNotes'), dt(locale, 'later')],
+ defaultId: 0,
+ cancelId: 2,
+ });
+ if (response === 0) {
+ const downloaded = await downloadUpdate();
+ if (downloaded.phase === 'ready') await offerRestart(locale, downloaded.version);
+ } else if (response === 1) {
+ await shell.openExternal(RELEASES_URL);
+ }
+ } else if (result.phase === 'error') {
+ dialog.showErrorBox(dt(locale, 'updateFailed'), result.message);
+ }
+}
+
+async function offerRestart(locale: NativeLocale, version: string): Promise<void> {
+ const { response } = await dialog.showMessageBox({
+ type: 'info',
+ message: dt(locale, 'updateReadyTitle', { version }),
+ detail: dt(locale, 'updateReadyBody'),
+ buttons: [dt(locale, 'restartToUpdate'), dt(locale, 'later')],
+ defaultId: 0,
+ cancelId: 1,
+ });
+ if (response === 0) await installUpdate();
+}
diff --git a/docs/en/install/01-install.md b/docs/en/install/01-install.md
index d0a8b884..ddf2040f 100644
--- a/docs/en/install/01-install.md
+++ b/docs/en/install/01-install.md
@@ -282,6 +282,8 @@ request stats.
**Mac downloads:** choose `arm64` for Apple Silicon or `x64` for Intel. Both require macOS 12 Monterey or later and include DMG and ZIP downloads.
+**Updating:** the installed app updates itself on macOS, on Windows (the `Setup` installer) and from the Linux AppImage. **⋯ → Settings → Check for updates** (or the tray's **Check for Updates…**) downloads the new release and offers **Restart to update**; a full database backup, listed as *Pre-update* on the Backups page, is written before it installs. With **Automatic update check** on, new releases download in the background and install on the next restart or quit; the app never restarts on its own. The Linux `.deb`/`.rpm`/`.tar.xz` and the portable Windows `.zip` update by downloading the new release.
+
> **Note for Windows users building from source:** Building the desktop app requires compiling native SQLite modules for Electron. You must have [Visual Studio Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/) installed (specifically the "Desktop development with C++" workload) and Python installed before running `npm install`.
```bash
@@ -289,7 +291,7 @@ npm install
npm install --prefix desktop # install desktop dependencies
npm run desktop:dist # macOS → desktop/dist-electron/FreeLLMAPI-…-arm64.dmg
npm run desktop:dist:mac:x64 # Intel Mac → desktop/dist-electron/FreeLLMAPI-…-x64.dmg
-npm run desktop:dist:win # Windows → "desktop/dist-electron/FreeLLMAPI Setup ….exe"
+npm run desktop:dist:win # Windows → "desktop/dist-electron/FreeLLMAPI-Setup-….exe"
```
> Locally built apps are unsigned, so Windows SmartScreen may warn on first run
diff --git a/docs/zh-cn/install/01-install.md b/docs/zh-cn/install/01-install.md
index 143fc853..9b19c256 100644
--- a/docs/zh-cn/install/01-install.md
+++ b/docs/zh-cn/install/01-install.md
@@ -231,6 +231,8 @@ FREEAPI_DB_BACKUP_INTERVAL_MS=300000
**Mac 下载:** Apple Silicon 请选择 `arm64`,Intel 请选择 `x64`。两者都要求 macOS 12 Monterey 或更高版本,并提供 DMG 和 ZIP 下载。
+**更新:** 已安装的应用在 macOS、Windows(`Setup` 安装版)和 Linux AppImage 上可以自动更新。**⋯ → 设置 → 检查更新**(或托盘菜单的 **检查更新…**)会下载新版本并提供 **重启以更新**;安装前会先写入一份完整的数据库备份,在备份页面中标记为「更新前」。开启 **自动检查更新** 后,新版本会在后台下载,并在下次重启或退出时安装;应用不会自行重启。Linux 的 `.deb`/`.rpm`/`.tar.xz` 和 Windows 便携版 `.zip` 请下载新版本来更新。
+
> **Windows 用户从源码构建的注意事项:** 构建桌面应用需要为 Electron 编译原生 SQLite 模块。在执行 `npm install` 之前,你必须先装好 [Visual Studio Build Tools](https://visualstudio.microsoft.com/visual-cpp-build-tools/)(具体来说是「使用 C++ 的桌面开发」工作负载)以及 Python。
```bash
@@ -238,7 +240,7 @@ npm install
npm install --prefix desktop # 安装桌面端依赖
npm run desktop:dist # macOS → desktop/dist-electron/FreeLLMAPI-…-arm64.dmg
npm run desktop:dist:mac:x64 # Intel Mac → desktop/dist-electron/FreeLLMAPI-…-x64.dmg
-npm run desktop:dist:win # Windows → "desktop/dist-electron/FreeLLMAPI Setup ….exe"
+npm run desktop:dist:win # Windows → "desktop/dist-electron/FreeLLMAPI-Setup-….exe"
```
> 本地构建出来的应用没有签名,所以 Windows SmartScreen 首次运行时可能会警告(点「更多信息」→「仍要运行」);macOS 构建则不会触发 Gatekeeper 提示。
diff --git a/server/src/__tests__/routes/backups.test.ts b/server/src/__tests__/routes/backups.test.ts
index 7f1b22fc..92893451 100644
--- a/server/src/__tests__/routes/backups.test.ts
+++ b/server/src/__tests__/routes/backups.test.ts
@@ -137,6 +137,14 @@ describe('Backups API', () => {
expect(scheduled.filename).toMatch(/^auto-backup-.*\.sql$/);
});
+ it('names and lists the desktop updater\'s backup as pre-update', async () => {
+ const backup = createBackup(getDb(), { tables: [], source: 'pre-update', backupPath: '' });
+ expect(backup.filename).toMatch(/^pre-update-.*\.sql$/);
+ const listed = await request(app, 'GET', '/api/backups');
+ const items = listed.body.items as Array<{ id: number; source: string }>;
+ expect(items.find(item => item.id === backup.id)?.source).toBe('pre-update');
+ });
+
it('never dumps the accounts, sessions or URL-token tables', async () => {
const tables = await request(app, 'GET', '/api/backups/tables');
for (const excluded of ['users', 'sessions', 'url_tokens']) {
diff --git a/server/src/services/backups.ts b/server/src/services/backups.ts
index 78eca4b5..57142d3b 100644
--- a/server/src/services/backups.ts
+++ b/server/src/services/backups.ts
@@ -14,7 +14,8 @@ const LAST_RUN_SETTING = 'backup_last_run_day';
* path would misread. Restore refuses anything it does not know. */
const DUMP_FORMAT = 1;
-export type BackupSource = 'manual' | 'scheduled' | 'pre-restore';
+export const BACKUP_SOURCES = ['manual', 'scheduled', 'pre-restore', 'pre-update'] as const;
+export type BackupSource = (typeof BACKUP_SOURCES)[number];
export interface BackupSchedule {
enabled: boolean;
@@ -289,7 +290,7 @@ export function createBackup(
const now = new Date();
const createdAt = now.toISOString();
const stamp = now.toISOString().replace(/[-:]/g, '').replace(/\..+/, '').replace('T', '-');
- const prefix = source === 'scheduled' ? 'auto-backup' : source === 'pre-restore' ? 'pre-restore' : 'backup';
+ const prefix = source === 'scheduled' ? 'auto-backup' : source === 'manual' ? 'backup' : source;
const filename = `${prefix}-${stamp}-${crypto.randomBytes(3).toString('hex')}.sql`;
const dir = resolveBackupDir(db, opts.backupPath ?? readBackupSchedule().backupPath);
@@ -331,8 +332,9 @@ function toMeta(row: BackupRow): BackupMeta {
} catch {
tables = [];
}
- const source: BackupSource =
- row.source === 'scheduled' ? 'scheduled' : row.source === 'pre-restore' ? 'pre-restore' : 'manual';
+ const source: BackupSource = (BACKUP_SOURCES as readonly string[]).includes(row.source)
+ ? row.source as BackupSource
+ : 'manual';
return {
id: row.id,
filename: row.filename,