Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
Merge custom-exercise media: a photo, GIF or short video and a link on the exercises you create, kept on your server and on the device, never in the synced data (#126, #170, #295, #246)
Duarte Santos9c889dfe3faf
diff --cc api/server.jsindex a72a0bcb0,34830cf49..acd93f614--- a/api/server.js+++ b/api/server.js@@@ -25,9 -26,10 +26,10 @@@ import} from './password.js';import { createBackoff, createWindow } from './rate-limit.js';import {- listPasskeys, addPasskeyRecord, renamePasskeyRecord, removePasskeyRecord, MAX_PASSKEYS+ listPasskeys, addPasskeyRecord, renamePasskeyRecord, removePasskeyRecord, passkeyRemovalRefused, MAX_PASSKEYS} from './passkeys-store.js';import { createDeviceLink, findDeviceLink, burnDeviceLink, dropDeviceLinks } from './device-link.js';+ import { createMediaStore, mediaLimits, mediaConfig, MediaError, HASH_RE } from './media.js';const PORT = +(process.env.PORT || 3000);const DATA = process.env.DATA_DIR || '/data';diff --cc frontend/src/components/ServerSync.jsxindex aa3d124ee,9d3988519..b4df3bc1e--- a/frontend/src/components/ServerSync.jsx+++ b/frontend/src/components/ServerSync.jsx@@@ -187,17 -173,13 +196,18 @@@ export function OwedSheet({ kind, count}return <div style={{ textAlign: 'center', padding: '4px 0' }}><h3 style={{ marginBottom: 8 }}>{t('Not everything is on your server yet')}</h3>- <div style={{ marginBottom: 6, fontWeight: 600 }}>+ {(count !== 0 || !media) && <div style={{ marginBottom: 6, fontWeight: 600 }}>{count > 0 ? t('Not on your server yet: {0}', changeCount(count)) : t('Some changes on this device have not reached your server.')}- </div>+ </div>}+ {media > 0 && <div style={{ marginBottom: 6, fontWeight: 600 }}>{t('{0} photos or videos have not reached your server yet.', media)}</div>}{(tried || refused) && view && <div className="small" style={{ color: 'var(--red)', marginBottom: 6 }}>{view.line}</div>}+ {/* It names the button below it: Try again, or Pair again / Sign in where the server refuses. */}<div className="muted small" style={{ marginBottom: 18, lineHeight: 1.5 }}>- {t('Try again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.')}+ {refused+ ? (MOBILE+ ? t('Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.')+ : t('Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.'))+ : t('Try again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.')}</div>{refused && MOBILE && <><button className="btn primary" disabled={busy} onClick={() => { close(); pairAgain() }}>{t('Pair again')}</button><div style={{ height: 8 }} /></>}{refused && !MOBILE && canSignIn() && <><button className="btn primary" disabled={busy} onClick={() => { close(); signInAgain() }}>{pwOn() ? t('Sign in') : t('Sign in with passkey')}</button><div style={{ height: 8 }} /></>}diff --cc frontend/src/lib/api.jsindex 255bb0bcb,f7a059d0a..4342bc5ae--- a/frontend/src/lib/api.js+++ b/frontend/src/lib/api.js@@@ -81,19 -81,117 +81,130 @@@ async function exchange(url, init)return body}+// A "left" signal sent as the page goes: sendBeacon outlives a closing tab, where fetch may not.+// Only the web app sends one, to its own origin with its session cookie. A beacon carries no+// Authorization header, so a paired phone's server could not tell whose it is, and the phone's own+// origin is Capacitor's asset server, which answers every path with index.html: the phones sent+// every "left" to https://localhost/api/activity. The api() call beside it reaches the server.+export function beacon(path, body) {+ if (MOBILE) return false+ try {+ if (typeof navigator === 'undefined' || typeof navigator.sendBeacon !== 'function') return false+ return !!navigator.sendBeacon(appBase().replace(/\/$/, '') + path, new Blob([JSON.stringify(body)], { type: 'application/json' }))+ } catch { return false }+}++ /* ------------------------------------------------ photos and videos of custom exercises ------+ Two transports beside api(), for the one kind of body that is not JSON. Both go to the same+ base api() uses and carry the paired phone's Bearer token the same way (the server's CORS+ answer allows it for GET and PUT); both refuse to run on a phone without a server, like api(). */++ const mediaUrl = path => (remoteBase ? remoteBase + path : appBase().replace(/\/$/, '') + path)+ const mediaHeaders = () => (remoteToken ? { Authorization: 'Bearer ' + remoteToken } : {})+ const notPaired = () => failure(t('This phone is not connected to a server.'), 'not-paired', 0)+ const timedOut = () => failure(t('The server did not answer in time.'), 'timeout')++ /**+ * GET a file as a Blob (lib/media-sync.js fetchToStore, which checks its hash before keeping it).+ * An answer that announces more than `expectSize` (+1 KB) is refused before a byte is read, and+ * one that turns out longer is cut off: a login page or a proxy's error is never read into+ * memory. There is no total time limit — a video on a slow line takes what it takes — only an+ * idle one: no bytes for `idleMs` and the download counts as offline (code 'timeout').+ * Errors carry { status, code } like api()'s: the server's code on a refusal (media-missing).+ */+ export async function apiBlob(path, { expectSize, idleMs = 30000, fetchImpl = globalThis.fetch } = {}) {+ if (MOBILE && !remoteBase) throw notPaired()+ const max = typeof expectSize === 'number' && expectSize >= 0 ? expectSize + 1024 : Infinity+ const ctl = typeof AbortController === 'function' ? new AbortController() : null+ let timer = null+ let idle = false+ // The stall is raced against every await, not left to the abort alone: a WebView whose reader+ // does not settle on abort would otherwise hang the download for good.+ let stalled = null+ const stall = new Promise((_, reject) => { stalled = reject })+ stall.catch(() => {})+ const arm = () => { clearTimeout(timer); timer = setTimeout(() => { idle = true; ctl?.abort(); stalled(timedOut()) }, idleMs) }+ const tooBig = status => failure('HTTP ' + status, 'too-large', status)+ // What loses the race may still reject afterwards, with nobody left listening.+ const orStall = p => { p.catch(() => {}); return Promise.race([p, stall]) }+ arm()+ try {+ const r = await orStall(fetchImpl(mediaUrl(path), { headers: mediaHeaders(), cache: 'no-store', ...(ctl ? { signal: ctl.signal } : {}) }))+ if (!r.ok) {+ let body = null+ try { body = await r.json() } catch { /* not JSON: a proxy's page */ }+ throw Object.assign(new Error((body && body.error) || 'HTTP ' + r.status), { status: r.status, code: (body && body.code) || 'http', data: body || {} })+ }+ const announced = Number(r.headers?.get?.('content-length'))+ if (Number.isFinite(announced) && announced > max) { ctl?.abort(); throw tooBig(r.status) }+ const reader = r.body && typeof r.body.getReader === 'function' ? r.body.getReader() : null+ if (!reader) {+ const b = await orStall(r.blob())+ if (b.size > max) throw tooBig(r.status)+ return b+ }+ const parts = []+ let n = 0+ for (;;) {+ arm()+ const { done, value } = await orStall(reader.read())+ if (done) break+ n += value.length+ if (n > max) { ctl?.abort(); throw tooBig(r.status) }+ parts.push(value)+ }+ return new Blob(parts)+ } catch (e) {+ if (idle) throw timedOut()+ throw e+ } finally { clearTimeout(timer) }+ }++ /**+ * PUT a file (XMLHttpRequest, because only it reports upload progress). `mime` is the type the+ * MediaRef records, sent explicitly — a Blob read back from a phone's file carries whatever the+ * local server guessed. Resolves with the server's JSON answer. Rejects with { status, code }:+ * the server's own code on a refusal, plus `retryAfter` on a 429; 'proxy-too-large' for a 413+ * that is not the API's JSON (nginx's client_max_body_size, Cloudflare's 100 MB); 'timeout' after+ * `idleMs` without progress; no status at all when the network failed.+ */+ export function apiUpload(path, blob, mime, { onProgress, idleMs = 60000, XHR = globalThis.XMLHttpRequest } = {}) {+ if (MOBILE && !remoteBase) return Promise.reject(notPaired())+ return new Promise((resolve, reject) => {+ const xhr = new XHR()+ let timer = null+ let idle = false+ const arm = () => { clearTimeout(timer); timer = setTimeout(() => { idle = true; xhr.abort() }, idleMs) }+ xhr.open('PUT', mediaUrl(path))+ xhr.setRequestHeader('Content-Type', mime)+ for (const [k, v] of Object.entries(mediaHeaders())) xhr.setRequestHeader(k, v)+ if (xhr.upload) xhr.upload.onprogress = e => { arm(); if (onProgress && e.lengthComputable) onProgress(e.loaded, e.total) }+ xhr.onprogress = arm+ xhr.onload = () => {+ clearTimeout(timer)+ let body = null+ try { body = JSON.parse(xhr.responseText) } catch { /* not JSON */ }+ if (body && typeof body !== 'object') body = null+ if (xhr.status >= 200 && xhr.status < 300) {+ if (body) resolve(body)+ else reject(failure(t('The server answered with something other than openGym data.'), 'bad-response', xhr.status))+ return+ }+ if (xhr.status === 413 && !body) { reject(failure('HTTP 413', 'proxy-too-large', 413)); return }+ const e = Object.assign(new Error((body && body.error) || 'HTTP ' + xhr.status), { status: xhr.status, code: (body && body.code) || 'http', data: body || {} })+ if (xhr.status === 429) {+ const header = Number(xhr.getResponseHeader && xhr.getResponseHeader('Retry-After'))+ e.retryAfter = Number(body && body.retryAfter) || (Number.isFinite(header) && header > 0 ? header : 60)+ }+ reject(e)+ }+ xhr.onerror = () => { clearTimeout(timer); reject(Object.assign(new Error('network'), { code: 'network' })) }+ xhr.onabort = () => { clearTimeout(timer); reject(idle ? timedOut() : Object.assign(new Error('aborted'), { code: 'network' })) }+ arm()+ xhr.send(blob)+ })+ }+// Bootstraps the connection itself: the base isn't configured yet (that's what this call decides),// so it talks straight to the server the user typed in, no Authorization header.export async function pairRedeem(serverBase, code) {diff --cc frontend/src/locales/ar.jsindex bc6a164be,7bbebd3d6..1249325e7--- a/frontend/src/locales/ar.js+++ b/frontend/src/locales/ar.js@@@ -1599,13 -1597,34 +1599,43 @@@ export default'You get a code that lets your phone or another computer create a passkey for this profile. First confirm that it is you.': 'ستحصل على رمز يتيح لهاتفك أو لحاسوب آخر إنشاء مفتاح مرور لهذا الملف الشخصي. أكّد أولًا أنك أنت.','or with your password': 'أو بكلمة المرور','{0} passkeys': 'مفاتيح المرور: {0}',+ 'The server cannot be reached': 'تعذّر الوصول إلى الخادم',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'تعذّر الوصول إلى خادمك — تُحفظ تغييراتك على هذا الجهاز وتتزامن عندما يستجيب مجددًا.',+ 'Your server cannot be reached — showing the last copy synced with it.': 'تعذّر الوصول إلى خادمك — يُعرض آخر نسخة متزامنة معه.',+ 'Server address unknown': 'عنوان الخادم غير معروف',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'أقرِن الهاتف مجددًا، أو صدّر نسخة احتياطية أولًا. إذا تابعت على أي حال، فستبقى نسخة من هذه التغييرات على هذا الجهاز حتى يتصل بهذا الخادم بهذا الحساب مجددًا — وعندها تُضاف من جديد.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'سجّل الدخول مجددًا، أو صدّر نسخة احتياطية أولًا. إذا تابعت على أي حال، فستبقى نسخة من هذه التغييرات على هذا الجهاز حتى يتصل بهذا الخادم بهذا الحساب مجددًا — وعندها تُضاف من جديد.',+ '{0} set · {1} work': '{0} مجموعة · {1} عمل',+ 'Every exercise in this workout': 'كل التمارين في هذه الجلسة',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'لم تبقَ أي مجموعة في هذا التمرين، فلا يوجد ما يُحفظ. هل تريد حذفه من سجلك؟',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'صورة أو GIF أو فيديو',+ 'Optional — a picture makes it easier to spot in a list.': 'اختياري — الصورة تجعل العثور عليه في القائمة أسهل.',+ 'Add': 'إضافة',+ 'Change': 'تغيير',+ 'Video or guide link (optional)': 'رابط فيديو أو دليل (اختياري)',+ 'That link is not a web address': 'هذا الرابط ليس عنوان ويب',+ 'Watch video': 'مشاهدة الفيديو',+ 'Open link': 'فتح الرابط',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'نوع الملف هذا غير مدعوم — استخدم صورة أو GIF أو فيديو بصيغة MP4 أو MOV أو WebM.',+ 'That file is too large — up to {0} MB.': 'هذا الملف كبير جدًا — الحد الأقصى {0} م.ب.',+ 'That video is too long — up to {0} seconds.': 'هذا الفيديو طويل جدًا — الحد الأقصى {0} ثانية.',+ 'That photo is too large to process on this device.': 'هذه الصورة أكبر من أن تُعالَج على هذا الجهاز.',+ 'This browser cannot read that file.': 'لا يستطيع هذا المتصفح قراءة ذلك الملف.',+ 'There is no room left on this device for that file.': 'لم تعد هناك مساحة على هذا الجهاز لذلك الملف.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'قد لا يعمل هذا الفيديو على كل الأجهزة — صيغة MP4 (H.264) تعمل في كل مكان.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'امتلأت مساحة الصور والفيديو الخاصة بك على الخادم ({0} من {1} م.ب).',+ 'The server refused the file as too large.': 'رفض الخادم الملف لأنه كبير جدًا.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'محفوظ على هذا الجهاز فقط — التصدير مع الصور والفيديو يحتفظ بنسخة.',+ 'Your server does not store photos and videos yet.': 'لا يخزّن خادمك الصور والفيديو بعد.',+ 'This browser cannot store photos or videos here.': 'لا يستطيع هذا المتصفح تخزين الصور أو الفيديو هنا.',+ 'Photos & videos': 'الصور والفيديو',+ '{0} of {1} MB used on your server': 'المستخدم على خادمك: {0} من {1} م.ب',+ '{0} waiting to upload': 'بانتظار الرفع: {0}',+ 'Export with photos & videos (.zip)': 'تصدير مع الصور والفيديو (.zip)',+ '{0} files could not be included': 'تعذّر تضمين {0} من الملفات',+ 'Without photos and videos': 'بدون الصور والفيديو',+ 'Name it and pick a body part — it behaves like any other exercise.': 'سمِّه واختر جزءًا من الجسم — يعمل مثل أي تمرين آخر.',+ 'name + body part, and a photo or video if you like': 'الاسم + جزء الجسم، وصورة أو فيديو إن أردت',+ '{0} photos or videos have not reached your server yet.': 'لم تصل {0} من الصور أو مقاطع الفيديو إلى خادمك بعد.',}diff --cc frontend/src/locales/de.jsindex ab6f7601f,1dfc132ea..dd105d235--- a/frontend/src/locales/de.js+++ b/frontend/src/locales/de.js@@@ -1566,13 -1564,34 +1566,43 @@@ export default'Log your body weight to score this lift.': 'Trag dein Körpergewicht ein, damit diese Übung bewertet werden kann.','Log the anchor lift to score this one.': 'Trag die Anker-Übung ein, damit diese bewertet werden kann.','Not scored': 'Nicht bewertet',+ 'The server cannot be reached': 'Der Server ist nicht erreichbar',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'Dein Server ist nicht erreichbar — deine Änderungen sind auf diesem Gerät gespeichert und werden synchronisiert, sobald er wieder antwortet.',+ 'Your server cannot be reached — showing the last copy synced with it.': 'Dein Server ist nicht erreichbar — zeigt die zuletzt mit ihm synchronisierte Kopie.',+ 'Server address unknown': 'Serveradresse unbekannt',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Kopple neu oder exportiere zuerst ein Backup. Machst du trotzdem weiter, bleibt eine Kopie dieser Änderungen auf diesem Gerät, bis es sich wieder mit diesem Konto mit diesem Server verbindet — dann werden sie wieder hinzugefügt.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Melde dich wieder an oder exportiere zuerst ein Backup. Machst du trotzdem weiter, bleibt eine Kopie dieser Änderungen auf diesem Gerät, bis es sich wieder mit diesem Konto mit diesem Server verbindet — dann werden sie wieder hinzugefügt.',+ '{0} set · {1} work': '{0} Satz · {1} Arbeit',+ 'Every exercise in this workout': 'Alle Übungen dieses Trainings',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'In diesem Training ist kein Satz mehr übrig, es gibt also nichts zu speichern. Aus deinem Verlauf löschen?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'Foto, GIF oder Video',+ 'Optional — a picture makes it easier to spot in a list.': 'Optional — mit einem Bild findest du sie in einer Liste schneller.',+ 'Add': 'Hinzufügen',+ 'Change': 'Ändern',+ 'Video or guide link (optional)': 'Link zu Video oder Anleitung (optional)',+ 'That link is not a web address': 'Dieser Link ist keine Webadresse',+ 'Watch video': 'Video ansehen',+ 'Open link': 'Link öffnen',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'Dieser Dateityp wird nicht unterstützt — nimm ein Foto, ein GIF oder ein MP4-, MOV- oder WebM-Video.',+ 'That file is too large — up to {0} MB.': 'Diese Datei ist zu groß — höchstens {0} MB.',+ 'That video is too long — up to {0} seconds.': 'Dieses Video ist zu lang — höchstens {0} Sekunden.',+ 'That photo is too large to process on this device.': 'Dieses Foto ist zu groß, um es auf diesem Gerät zu verarbeiten.',+ 'This browser cannot read that file.': 'Dieser Browser kann diese Datei nicht lesen.',+ 'There is no room left on this device for that file.': 'Auf diesem Gerät ist kein Platz mehr für diese Datei.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'Dieses Video läuft womöglich nicht auf jedem Gerät — MP4 (H.264) läuft überall.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'Dein Platz für Fotos und Videos auf dem Server ist voll ({0} von {1} MB).',+ 'The server refused the file as too large.': 'Der Server hat die Datei als zu groß abgelehnt.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'Nur auf diesem Gerät gespeichert — der Export mit Fotos & Videos sichert eine Kopie.',+ 'Your server does not store photos and videos yet.': 'Dein Server speichert noch keine Fotos und Videos.',+ 'This browser cannot store photos or videos here.': 'Dieser Browser kann hier keine Fotos oder Videos speichern.',+ 'Photos & videos': 'Fotos & Videos',+ '{0} of {1} MB used on your server': '{0} von {1} MB auf deinem Server belegt',+ '{0} waiting to upload': '{0} warten auf den Upload',+ 'Export with photos & videos (.zip)': 'Mit Fotos & Videos exportieren (.zip)',+ '{0} files could not be included': '{0} Dateien konnten nicht aufgenommen werden',+ 'Without photos and videos': 'Ohne Fotos und Videos',+ 'Name it and pick a body part — it behaves like any other exercise.': 'Name und Körperpartie festlegen — die Übung verhält sich wie jede andere.',+ 'name + body part, and a photo or video if you like': 'Name + Körperpartie, auf Wunsch mit Foto oder Video',+ '{0} photos or videos have not reached your server yet.': '{0} Fotos oder Videos sind noch nicht auf deinem Server.',}diff --cc frontend/src/locales/es.jsindex 0b544b31d,153a47783..f9d7c6346--- a/frontend/src/locales/es.js+++ b/frontend/src/locales/es.js@@@ -1546,13 -1544,34 +1546,43 @@@ export default'Log your body weight to score this lift.': 'Registra tu peso corporal para evaluar este ejercicio.','Log the anchor lift to score this one.': 'Registra el ejercicio ancla para evaluar este.','Not scored': 'Sin evaluar',+ 'The server cannot be reached': 'No se puede llegar al servidor',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'No se puede llegar a tu servidor: tus cambios se guardan en este dispositivo y se sincronizarán cuando vuelva a responder.',+ 'Your server cannot be reached — showing the last copy synced with it.': 'No se puede llegar a tu servidor: se muestra la última copia sincronizada con él.',+ 'Server address unknown': 'Dirección del servidor desconocida',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Vuelve a emparejar o exporta antes una copia. Si continúas de todos modos, se guarda una copia de estos cambios en este dispositivo hasta que vuelva a conectarse a este servidor con esta cuenta; entonces se vuelven a añadir.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Vuelve a iniciar sesión o exporta antes una copia. Si continúas de todos modos, se guarda una copia de estos cambios en este dispositivo hasta que vuelva a conectarse a este servidor con esta cuenta; entonces se vuelven a añadir.',+ '{0} set · {1} work': '{0} serie · {1} trabajo',+ 'Every exercise in this workout': 'Todos los ejercicios de este entrenamiento',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'No queda ninguna serie en este entrenamiento, así que no hay nada que guardar. ¿Eliminarlo de tu historial?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'Foto, GIF o vídeo',+ 'Optional — a picture makes it easier to spot in a list.': 'Opcional — con una imagen es más fácil encontrarlo en una lista.',+ 'Add': 'Añadir',+ 'Change': 'Cambiar',+ 'Video or guide link (optional)': 'Enlace a un vídeo o guía (opcional)',+ 'That link is not a web address': 'Ese enlace no es una dirección web',+ 'Watch video': 'Ver vídeo',+ 'Open link': 'Abrir enlace',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'Ese tipo de archivo no es compatible — usa una foto, un GIF o un vídeo MP4, MOV o WebM.',+ 'That file is too large — up to {0} MB.': 'Ese archivo es demasiado grande — hasta {0} MB.',+ 'That video is too long — up to {0} seconds.': 'Ese vídeo es demasiado largo — hasta {0} segundos.',+ 'That photo is too large to process on this device.': 'Esa foto es demasiado grande para procesarla en este dispositivo.',+ 'This browser cannot read that file.': 'Este navegador no puede leer ese archivo.',+ 'There is no room left on this device for that file.': 'No queda espacio en este dispositivo para ese archivo.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'Puede que este vídeo no se reproduzca en todos los dispositivos — MP4 (H.264) funciona en todas partes.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'Tu espacio para fotos y vídeos en el servidor está lleno ({0} de {1} MB).',+ 'The server refused the file as too large.': 'El servidor rechazó el archivo por ser demasiado grande.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'Solo se guarda en este dispositivo — Exportar con fotos y vídeos guarda una copia.',+ 'Your server does not store photos and videos yet.': 'Tu servidor aún no guarda fotos ni vídeos.',+ 'This browser cannot store photos or videos here.': 'Este navegador no puede guardar fotos ni vídeos aquí.',+ 'Photos & videos': 'Fotos y vídeos',+ '{0} of {1} MB used on your server': '{0} de {1} MB usados en tu servidor',+ '{0} waiting to upload': '{0} pendientes de subir',+ 'Export with photos & videos (.zip)': 'Exportar con fotos y vídeos (.zip)',+ '{0} files could not be included': 'No se pudieron incluir {0} archivos',+ 'Without photos and videos': 'Sin fotos ni vídeos',+ 'Name it and pick a body part — it behaves like any other exercise.': 'Ponle nombre y elige una parte del cuerpo — funciona como cualquier otro ejercicio.',+ 'name + body part, and a photo or video if you like': 'nombre + parte del cuerpo, y una foto o vídeo si quieres',+ '{0} photos or videos have not reached your server yet.': '{0} fotos o vídeos aún no han llegado a tu servidor.',}diff --cc frontend/src/locales/fr.jsindex 8604ed9d9,7c338fe1e..b17d180b5--- a/frontend/src/locales/fr.js+++ b/frontend/src/locales/fr.js@@@ -1546,13 -1544,34 +1546,43 @@@ export default'Log your body weight to score this lift.': 'Note ton poids corporel pour évaluer cet exercice.','Log the anchor lift to score this one.': 'Note l’exercice de référence pour évaluer celui-ci.','Not scored': 'Non évalué',+ 'The server cannot be reached': 'Le serveur est injoignable',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'Votre serveur est injoignable — vos modifications sont enregistrées sur cet appareil et seront synchronisées dès qu\'il répondra à nouveau.',+ 'Your server cannot be reached — showing the last copy synced with it.': 'Votre serveur est injoignable — affichage de la dernière copie synchronisée avec lui.',+ 'Server address unknown': 'Adresse du serveur inconnue',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Associez à nouveau, ou exportez d\'abord une sauvegarde. Si vous continuez quand même, une copie de ces modifications reste sur cet appareil jusqu\'à ce qu\'il se reconnecte à ce serveur avec ce compte — elles sont alors rajoutées.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Reconnectez-vous, ou exportez d\'abord une sauvegarde. Si vous continuez quand même, une copie de ces modifications reste sur cet appareil jusqu\'à ce qu\'il se reconnecte à ce serveur avec ce compte — elles sont alors rajoutées.',+ '{0} set · {1} work': '{0} série · {1} travail',+ 'Every exercise in this workout': 'Tous les exercices de cette séance',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'Il ne reste aucune série dans cette séance, il n’y a donc rien à enregistrer. La supprimer de ton historique ?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'Photo, GIF ou vidéo',+ 'Optional — a picture makes it easier to spot in a list.': 'Facultatif — une image le rend plus facile à repérer dans une liste.',+ 'Add': 'Ajouter',+ 'Change': 'Changer',+ 'Video or guide link (optional)': 'Lien vers une vidéo ou un guide (facultatif)',+ 'That link is not a web address': 'Ce lien n’est pas une adresse web',+ 'Watch video': 'Voir la vidéo',+ 'Open link': 'Ouvrir le lien',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'Ce type de fichier n’est pas pris en charge — utilisez une photo, un GIF ou une vidéo MP4, MOV ou WebM.',+ 'That file is too large — up to {0} MB.': 'Ce fichier est trop volumineux — {0} Mo maximum.',+ 'That video is too long — up to {0} seconds.': 'Cette vidéo est trop longue — {0} secondes maximum.',+ 'That photo is too large to process on this device.': 'Cette photo est trop grande pour être traitée sur cet appareil.',+ 'This browser cannot read that file.': 'Ce navigateur ne peut pas lire ce fichier.',+ 'There is no room left on this device for that file.': 'Il n’y a plus de place sur cet appareil pour ce fichier.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'Cette vidéo risque de ne pas se lire sur tous les appareils — le MP4 (H.264) se lit partout.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'Votre espace pour les photos et vidéos sur le serveur est plein ({0} sur {1} Mo).',+ 'The server refused the file as too large.': 'Le serveur a refusé le fichier, jugé trop volumineux.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'Conservé sur cet appareil uniquement — « Exporter avec photos et vidéos » en garde une copie.',+ 'Your server does not store photos and videos yet.': 'Votre serveur n’enregistre pas encore les photos et vidéos.',+ 'This browser cannot store photos or videos here.': 'Ce navigateur ne peut pas stocker de photos ni de vidéos ici.',+ 'Photos & videos': 'Photos et vidéos',+ '{0} of {1} MB used on your server': '{0} sur {1} Mo utilisés sur votre serveur',+ '{0} waiting to upload': '{0} en attente d’envoi',+ 'Export with photos & videos (.zip)': 'Exporter avec photos et vidéos (.zip)',+ '{0} files could not be included': '{0} fichiers n’ont pas pu être inclus',+ 'Without photos and videos': 'Sans photos ni vidéos',+ 'Name it and pick a body part — it behaves like any other exercise.': 'Donnez-lui un nom et choisissez une partie du corps — il se comporte comme n’importe quel autre exercice.',+ 'name + body part, and a photo or video if you like': 'nom + partie du corps, et une photo ou vidéo si vous voulez',+ '{0} photos or videos have not reached your server yet.': '{0} photos ou vidéos ne sont pas encore arrivées sur votre serveur.',}diff --cc frontend/src/locales/hi.jsindex 4bb97c368,809847488..f9ac390a7--- a/frontend/src/locales/hi.js+++ b/frontend/src/locales/hi.js@@@ -1546,13 -1544,34 +1546,43 @@@ export default'Log your body weight to score this lift.': 'इस व्यायाम का आकलन करने के लिए अपने शरीर का वज़न दर्ज करें।','Log the anchor lift to score this one.': 'इसका आकलन करने के लिए आधार व्यायाम दर्ज करें।','Not scored': 'आकलन नहीं हुआ',+ 'The server cannot be reached': 'सर्वर तक नहीं पहुँचा जा सकता',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'आपके सर्वर तक नहीं पहुँचा जा सकता — आपके बदलाव इस डिवाइस पर सहेजे गए हैं और उसके फिर से जवाब देते ही सिंक हो जाएँगे।',+ 'Your server cannot be reached — showing the last copy synced with it.': 'आपके सर्वर तक नहीं पहुँचा जा सकता — उससे सिंक की गई आख़िरी प्रति दिखाई जा रही है।',+ 'Server address unknown': 'सर्वर का पता अज्ञात',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'फिर से पेयर करें, या पहले बैकअप निर्यात करें। फिर भी आगे बढ़ने पर इन बदलावों की एक कॉपी इस डिवाइस पर तब तक रहती है जब तक यह इसी खाते से इस सर्वर से फिर कनेक्ट नहीं होता — तब वे वापस जोड़ दिए जाते हैं।',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'फिर से साइन इन करें, या पहले बैकअप निर्यात करें। फिर भी आगे बढ़ने पर इन बदलावों की एक कॉपी इस डिवाइस पर तब तक रहती है जब तक यह इसी खाते से इस सर्वर से फिर कनेक्ट नहीं होता — तब वे वापस जोड़ दिए जाते हैं।',+ '{0} set · {1} work': '{0} सेट · {1} काम',+ 'Every exercise in this workout': 'इस वर्कआउट के सभी व्यायाम',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'इस वर्कआउट में कोई सेट नहीं बचा है, इसलिए सहेजने को कुछ नहीं है। इसे अपने इतिहास से हटाएँ?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'फ़ोटो, GIF या वीडियो',+ 'Optional — a picture makes it easier to spot in a list.': 'वैकल्पिक — तस्वीर हो तो सूची में ढूँढना आसान होता है।',+ 'Add': 'जोड़ें',+ 'Change': 'बदलें',+ 'Video or guide link (optional)': 'वीडियो या गाइड का लिंक (वैकल्पिक)',+ 'That link is not a web address': 'यह लिंक वेब पता नहीं है',+ 'Watch video': 'वीडियो देखें',+ 'Open link': 'लिंक खोलें',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'यह फ़ाइल प्रकार समर्थित नहीं है — फ़ोटो, GIF या MP4, MOV या WebM वीडियो इस्तेमाल करें।',+ 'That file is too large — up to {0} MB.': 'यह फ़ाइल बहुत बड़ी है — अधिकतम {0} MB।',+ 'That video is too long — up to {0} seconds.': 'यह वीडियो बहुत लंबा है — अधिकतम {0} सेकंड।',+ 'That photo is too large to process on this device.': 'यह फ़ोटो इस डिवाइस पर प्रोसेस करने के लिए बहुत बड़ी है।',+ 'This browser cannot read that file.': 'यह ब्राउज़र उस फ़ाइल को नहीं पढ़ सकता।',+ 'There is no room left on this device for that file.': 'इस डिवाइस पर उस फ़ाइल के लिए जगह नहीं बची है।',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'यह वीडियो शायद हर डिवाइस पर न चले — MP4 (H.264) हर जगह चलता है।',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'सर्वर पर आपकी फ़ोटो और वीडियो की जगह भर गई है ({1} में से {0} MB)।',+ 'The server refused the file as too large.': 'सर्वर ने फ़ाइल को बहुत बड़ी बताकर अस्वीकार कर दिया।',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'सिर्फ़ इसी डिवाइस पर रखा गया — फ़ोटो और वीडियो के साथ निर्यात करने से एक कॉपी बनी रहती है।',+ 'Your server does not store photos and videos yet.': 'आपका सर्वर अभी फ़ोटो और वीडियो नहीं रखता।',+ 'This browser cannot store photos or videos here.': 'यह ब्राउज़र यहाँ फ़ोटो या वीडियो नहीं रख सकता।',+ 'Photos & videos': 'फ़ोटो और वीडियो',+ '{0} of {1} MB used on your server': 'आपके सर्वर पर {1} में से {0} MB इस्तेमाल',+ '{0} waiting to upload': '{0} अपलोड की प्रतीक्षा में',+ 'Export with photos & videos (.zip)': 'फ़ोटो और वीडियो के साथ निर्यात करें (.zip)',+ '{0} files could not be included': '{0} फ़ाइलें शामिल नहीं हो सकीं',+ 'Without photos and videos': 'फ़ोटो और वीडियो के बिना',+ 'Name it and pick a body part — it behaves like any other exercise.': 'नाम दें और बॉडी पार्ट चुनें — यह किसी भी दूसरी एक्सरसाइज़ की तरह काम करती है।',+ 'name + body part, and a photo or video if you like': 'नाम + बॉडी पार्ट, और चाहें तो एक फ़ोटो या वीडियो',+ '{0} photos or videos have not reached your server yet.': '{0} फ़ोटो या वीडियो अभी आपके सर्वर तक नहीं पहुँचे हैं।',}diff --cc frontend/src/locales/hu.jsindex 6d7715b10,46df136b8..8b8568d34--- a/frontend/src/locales/hu.js+++ b/frontend/src/locales/hu.js@@@ -1549,13 -1547,34 +1549,43 @@@ export default'Log your body weight to score this lift.': 'Rögzítsd a testsúlyodat, hogy ez a gyakorlat értékelhető legyen.','Log the anchor lift to score this one.': 'Rögzítsd a viszonyítási alapul szolgáló gyakorlatot, hogy ez is értékelhető legyen.','Not scored': 'Nincs értékelve',+ 'The server cannot be reached': 'A szerver nem érhető el',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'A szervered nem érhető el — a módosításaid ezen az eszközön vannak mentve, és szinkronizálódnak, amint újra válaszol.',+ 'Your server cannot be reached — showing the last copy synced with it.': 'A szervered nem érhető el — a vele utoljára szinkronizált másolat látható.',+ 'Server address unknown': 'A szerver címe ismeretlen',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Párosítsd újra, vagy előbb exportálj egy biztonsági mentést. Ha mégis folytatod, a módosítások másolata ezen az eszközön marad, amíg újra nem csatlakozik ehhez a szerverhez ezzel a fiókkal — akkor visszakerülnek.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Jelentkezz be újra, vagy előbb exportálj egy biztonsági mentést. Ha mégis folytatod, a módosítások másolata ezen az eszközön marad, amíg újra nem csatlakozik ehhez a szerverhez ezzel a fiókkal — akkor visszakerülnek.',+ '{0} set · {1} work': '{0} sorozat · {1} munka',+ 'Every exercise in this workout': 'Az edzés összes gyakorlata',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'Ebben az edzésben egy sorozat sem maradt, így nincs mit menteni. Törlöd az előzményeidből?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'Fotó, GIF vagy videó',+ 'Optional — a picture makes it easier to spot in a list.': 'Nem kötelező — képpel könnyebb megtalálni a listában.',+ 'Add': 'Hozzáadás',+ 'Change': 'Csere',+ 'Video or guide link (optional)': 'Videó vagy útmutató linkje (nem kötelező)',+ 'That link is not a web address': 'Ez a link nem webcím',+ 'Watch video': 'Videó megnézése',+ 'Open link': 'Link megnyitása',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'Ez a fájltípus nem támogatott — használj fotót, GIF-et vagy MP4, MOV vagy WebM videót.',+ 'That file is too large — up to {0} MB.': 'Ez a fájl túl nagy — legfeljebb {0} MB.',+ 'That video is too long — up to {0} seconds.': 'Ez a videó túl hosszú — legfeljebb {0} másodperc.',+ 'That photo is too large to process on this device.': 'Ez a fotó túl nagy ahhoz, hogy ezen az eszközön feldolgozható legyen.',+ 'This browser cannot read that file.': 'Ez a böngésző nem tudja beolvasni a fájlt.',+ 'There is no room left on this device for that file.': 'Ezen az eszközön nincs már hely ehhez a fájlhoz.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'Lehet, hogy ez a videó nem minden eszközön játszható le — az MP4 (H.264) mindenhol működik.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'A szerveren a fotóknak és videóknak szánt helyed megtelt ({0} / {1} MB).',+ 'The server refused the file as too large.': 'A szerver túl nagynak találta és elutasította a fájlt.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'Csak ezen az eszközön tárolva — az exportálás fotókkal és videókkal megőriz egy másolatot.',+ 'Your server does not store photos and videos yet.': 'A szervered még nem tárol fotókat és videókat.',+ 'This browser cannot store photos or videos here.': 'Ez a böngésző itt nem tud fotókat vagy videókat tárolni.',+ 'Photos & videos': 'Fotók és videók',+ '{0} of {1} MB used on your server': '{0} / {1} MB foglalt a szervereden',+ '{0} waiting to upload': '{0} feltöltésre vár',+ 'Export with photos & videos (.zip)': 'Exportálás fotókkal és videókkal (.zip)',+ '{0} files could not be included': '{0} fájlt nem sikerült hozzáadni',+ 'Without photos and videos': 'Fotók és videók nélkül',+ 'Name it and pick a body part — it behaves like any other exercise.': 'Adj neki nevet, és válassz testrészt — úgy működik, mint bármelyik másik gyakorlat.',+ 'name + body part, and a photo or video if you like': 'név + testrész, és ha szeretnéd, egy fotó vagy videó',+ '{0} photos or videos have not reached your server yet.': '{0} fotó vagy videó még nem ért el a szerveredre.',}diff --cc frontend/src/locales/it.jsindex e97cac36c,d7c44e41c..d95d09702--- a/frontend/src/locales/it.js+++ b/frontend/src/locales/it.js@@@ -1546,13 -1544,34 +1546,43 @@@ export default'Log your body weight to score this lift.': 'Registra il tuo peso corporeo per valutare questo esercizio.','Log the anchor lift to score this one.': 'Registra l’esercizio di riferimento per valutare questo.','Not scored': 'Non valutato',+ 'The server cannot be reached': 'Il server non è raggiungibile',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'Il tuo server non è raggiungibile — le tue modifiche sono salvate su questo dispositivo e verranno sincronizzate quando risponderà di nuovo.',+ 'Your server cannot be reached — showing the last copy synced with it.': 'Il tuo server non è raggiungibile — viene mostrata l’ultima copia sincronizzata con esso.',+ 'Server address unknown': 'Indirizzo del server sconosciuto',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Abbina di nuovo, oppure esporta prima un backup. Se procedi comunque, una copia di queste modifiche resta su questo dispositivo finché non si ricollega a questo server con questo account — poi vengono aggiunte di nuovo.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Accedi di nuovo, oppure esporta prima un backup. Se procedi comunque, una copia di queste modifiche resta su questo dispositivo finché non si ricollega a questo server con questo account — poi vengono aggiunte di nuovo.',+ '{0} set · {1} work': '{0} serie · {1} lavoro',+ 'Every exercise in this workout': 'Tutti gli esercizi di questo allenamento',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'In questo allenamento non è rimasta nessuna serie, quindi non c’è niente da salvare. Eliminarlo dalla cronologia?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'Foto, GIF o video',+ 'Optional — a picture makes it easier to spot in a list.': 'Facoltativo — con un’immagine lo trovi più facilmente in un elenco.',+ 'Add': 'Aggiungi',+ 'Change': 'Cambia',+ 'Video or guide link (optional)': 'Link a un video o una guida (facoltativo)',+ 'That link is not a web address': 'Quel link non è un indirizzo web',+ 'Watch video': 'Guarda il video',+ 'Open link': 'Apri il link',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'Tipo di file non supportato — usa una foto, una GIF o un video MP4, MOV o WebM.',+ 'That file is too large — up to {0} MB.': 'Il file è troppo grande — massimo {0} MB.',+ 'That video is too long — up to {0} seconds.': 'Il video è troppo lungo — massimo {0} secondi.',+ 'That photo is too large to process on this device.': 'Questa foto è troppo grande per essere elaborata su questo dispositivo.',+ 'This browser cannot read that file.': 'Questo browser non riesce a leggere il file.',+ 'There is no room left on this device for that file.': 'Su questo dispositivo non c’è più spazio per il file.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'Questo video potrebbe non funzionare su tutti i dispositivi — l’MP4 (H.264) funziona ovunque.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'Il tuo spazio per foto e video sul server è pieno ({0} di {1} MB).',+ 'The server refused the file as too large.': 'Il server ha rifiutato il file perché troppo grande.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'Salvato solo su questo dispositivo — l’esportazione con foto e video ne tiene una copia.',+ 'Your server does not store photos and videos yet.': 'Il tuo server non salva ancora foto e video.',+ 'This browser cannot store photos or videos here.': 'Questo browser non può salvare foto o video qui.',+ 'Photos & videos': 'Foto e video',+ '{0} of {1} MB used on your server': '{0} di {1} MB usati sul tuo server',+ '{0} waiting to upload': '{0} in attesa di caricamento',+ 'Export with photos & videos (.zip)': 'Esporta con foto e video (.zip)',+ '{0} files could not be included': 'Non è stato possibile includere {0} file',+ 'Without photos and videos': 'Senza foto e video',+ 'Name it and pick a body part — it behaves like any other exercise.': 'Dagli un nome e scegli una parte del corpo — funziona come qualsiasi altro esercizio.',+ 'name + body part, and a photo or video if you like': 'nome + parte del corpo, e una foto o un video se vuoi',+ '{0} photos or videos have not reached your server yet.': '{0} foto o video non hanno ancora raggiunto il tuo server.',}diff --cc frontend/src/locales/ko.jsindex cb8b6341b,d0d185f4a..6c8973dc1--- a/frontend/src/locales/ko.js+++ b/frontend/src/locales/ko.js@@@ -1546,13 -1544,34 +1546,43 @@@ export default'Log your body weight to score this lift.': '이 운동을 평가하려면 체중을 기록하세요.','Log the anchor lift to score this one.': '이 운동을 평가하려면 기준 운동을 기록하세요.','Not scored': '평가 안 됨',+ 'The server cannot be reached': '서버에 연결할 수 없음',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': '서버에 연결할 수 없습니다 — 변경 사항은 이 기기에 저장되며 서버가 다시 응답하면 동기화됩니다.',+ 'Your server cannot be reached — showing the last copy synced with it.': '서버에 연결할 수 없습니다 — 서버와 마지막으로 동기화된 사본을 표시합니다.',+ 'Server address unknown': '서버 주소를 알 수 없음',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': '다시 페어링하거나 먼저 백업을 내보내세요. 그래도 계속하면 이 기기가 이 계정으로 이 서버에 다시 연결될 때까지 변경 사항의 사본이 이 기기에 보관되며, 그때 다시 추가됩니다.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': '다시 로그인하거나 먼저 백업을 내보내세요. 그래도 계속하면 이 기기가 이 계정으로 이 서버에 다시 연결될 때까지 변경 사항의 사본이 이 기기에 보관되며, 그때 다시 추가됩니다.',+ '{0} set · {1} work': '{0} 세트 · {1} 작업',+ 'Every exercise in this workout': '이번 세션의 모든 운동',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': '이 운동에 남은 세트가 없어 저장할 내용이 없습니다. 기록에서 삭제할까요?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': '사진, GIF 또는 동영상',+ 'Optional — a picture makes it easier to spot in a list.': '선택 — 사진이 있으면 목록에서 더 쉽게 찾을 수 있습니다.',+ 'Add': '추가',+ 'Change': '변경',+ 'Video or guide link (optional)': '동영상 또는 가이드 링크 (선택)',+ 'That link is not a web address': '웹 주소가 아닌 링크입니다',+ 'Watch video': '동영상 보기',+ 'Open link': '링크 열기',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': '지원하지 않는 파일 형식입니다 — 사진, GIF 또는 MP4, MOV, WebM 동영상을 사용하세요.',+ 'That file is too large — up to {0} MB.': '파일이 너무 큽니다 — 최대 {0} MB.',+ 'That video is too long — up to {0} seconds.': '동영상이 너무 깁니다 — 최대 {0}초.',+ 'That photo is too large to process on this device.': '이 사진은 이 기기에서 처리하기에 너무 큽니다.',+ 'This browser cannot read that file.': '이 브라우저는 해당 파일을 읽을 수 없습니다.',+ 'There is no room left on this device for that file.': '이 기기에 해당 파일을 저장할 공간이 없습니다.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': '이 동영상은 일부 기기에서 재생되지 않을 수 있습니다 — MP4(H.264)는 어디서나 재생됩니다.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': '서버의 사진·동영상 공간이 가득 찼습니다 ({0} / {1} MB).',+ 'The server refused the file as too large.': '파일이 너무 커서 서버가 거부했습니다.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': '이 기기에만 보관됩니다 — 사진·동영상 포함 내보내기로 사본을 남길 수 있습니다.',+ 'Your server does not store photos and videos yet.': '서버가 아직 사진과 동영상을 저장하지 않습니다.',+ 'This browser cannot store photos or videos here.': '이 브라우저에서는 여기에 사진이나 동영상을 저장할 수 없습니다.',+ 'Photos & videos': '사진 및 동영상',+ '{0} of {1} MB used on your server': '서버 사용량 {0} / {1} MB',+ '{0} waiting to upload': '업로드 대기 {0}개',+ 'Export with photos & videos (.zip)': '사진·동영상 포함 내보내기 (.zip)',+ '{0} files could not be included': '파일 {0}개를 포함하지 못했습니다',+ 'Without photos and videos': '사진·동영상 제외',+ 'Name it and pick a body part — it behaves like any other exercise.': '이름을 정하고 부위를 고르세요 — 다른 운동과 똑같이 쓸 수 있습니다.',+ 'name + body part, and a photo or video if you like': '이름 + 부위, 원하면 사진이나 동영상도',+ '{0} photos or videos have not reached your server yet.': '아직 서버에 올라가지 않은 사진·동영상이 {0}개 있습니다.',}diff --cc frontend/src/locales/pl.jsindex 20a545d46,6ba19bf79..8b1b0a38d--- a/frontend/src/locales/pl.js+++ b/frontend/src/locales/pl.js@@@ -1546,13 -1544,34 +1546,43 @@@ export default'Log your body weight to score this lift.': 'Zapisz swoją masę ciała, aby ocenić to ćwiczenie.','Log the anchor lift to score this one.': 'Zapisz ćwiczenie będące punktem odniesienia, aby ocenić to ćwiczenie.','Not scored': 'Bez oceny',+ 'The server cannot be reached': 'Serwer jest nieosiągalny',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'Twój serwer jest nieosiągalny — zmiany są zapisane na tym urządzeniu i zsynchronizują się, gdy znów odpowie.',+ 'Your server cannot be reached — showing the last copy synced with it.': 'Twój serwer jest nieosiągalny — wyświetlana jest ostatnia kopia z nim zsynchronizowana.',+ 'Server address unknown': 'Nieznany adres serwera',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Sparuj ponownie albo najpierw wyeksportuj kopię. Jeśli mimo to przejdziesz dalej, kopia tych zmian zostanie na tym urządzeniu, aż ponownie połączy się z tym serwerem na tym koncie — wtedy zostaną dodane z powrotem.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Zaloguj się ponownie albo najpierw wyeksportuj kopię. Jeśli mimo to przejdziesz dalej, kopia tych zmian zostanie na tym urządzeniu, aż ponownie połączy się z tym serwerem na tym koncie — wtedy zostaną dodane z powrotem.',+ '{0} set · {1} work': '{0} seria · {1} praca',+ 'Every exercise in this workout': 'Wszystkie ćwiczenia w tym treningu',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'W tym treningu nie została żadna seria, więc nie ma czego zapisać. Usunąć go z historii?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'Zdjęcie, GIF lub wideo',+ 'Optional — a picture makes it easier to spot in a list.': 'Opcjonalnie — ze zdjęciem łatwiej je znaleźć na liście.',+ 'Add': 'Dodaj',+ 'Change': 'Zmień',+ 'Video or guide link (optional)': 'Link do filmu lub poradnika (opcjonalnie)',+ 'That link is not a web address': 'Ten link nie jest adresem strony',+ 'Watch video': 'Obejrzyj film',+ 'Open link': 'Otwórz link',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'Ten typ pliku nie jest obsługiwany — użyj zdjęcia, GIF-a albo filmu MP4, MOV lub WebM.',+ 'That file is too large — up to {0} MB.': 'Ten plik jest za duży — maksymalnie {0} MB.',+ 'That video is too long — up to {0} seconds.': 'Ten film jest za długi — maksymalnie {0} sekund.',+ 'That photo is too large to process on this device.': 'To zdjęcie jest za duże, by przetworzyć je na tym urządzeniu.',+ 'This browser cannot read that file.': 'Ta przeglądarka nie może odczytać tego pliku.',+ 'There is no room left on this device for that file.': 'Na tym urządzeniu nie ma już miejsca na ten plik.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'Ten film może nie działać na każdym urządzeniu — MP4 (H.264) działa wszędzie.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'Twoje miejsce na zdjęcia i filmy na serwerze jest pełne ({0} z {1} MB).',+ 'The server refused the file as too large.': 'Serwer odrzucił plik jako zbyt duży.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'Zapisane tylko na tym urządzeniu — eksport ze zdjęciami i filmami zachowuje kopię.',+ 'Your server does not store photos and videos yet.': 'Twój serwer nie przechowuje jeszcze zdjęć i filmów.',+ 'This browser cannot store photos or videos here.': 'Ta przeglądarka nie może tu przechowywać zdjęć ani filmów.',+ 'Photos & videos': 'Zdjęcia i filmy',+ '{0} of {1} MB used on your server': '{0} z {1} MB zajęte na twoim serwerze',+ '{0} waiting to upload': 'Czeka na wysłanie: {0}',+ 'Export with photos & videos (.zip)': 'Eksportuj ze zdjęciami i filmami (.zip)',+ '{0} files could not be included': 'Nie udało się dołączyć plików: {0}',+ 'Without photos and videos': 'Bez zdjęć i filmów',+ 'Name it and pick a body part — it behaves like any other exercise.': 'Nadaj nazwę i wybierz partię ciała — działa jak każde inne ćwiczenie.',+ 'name + body part, and a photo or video if you like': 'nazwa + partia ciała, a do tego zdjęcie lub film, jeśli chcesz',+ '{0} photos or videos have not reached your server yet.': 'Zdjęcia lub filmy, które nie dotarły jeszcze na twój serwer: {0}.',}diff --cc frontend/src/locales/pt-BR.jsindex 2c7a8197d,0388df4dc..7bc5106e4--- a/frontend/src/locales/pt-BR.js+++ b/frontend/src/locales/pt-BR.js@@@ -905,12 -903,36 +905,42 @@@ export const PT_BR_OVERRIDES ='Custom': 'Personalizado','Log your body weight to score this lift.': 'Registre seu peso corporal para avaliar este exercício.','Log the anchor lift to score this one.': 'Registre o exercício de referência para avaliar este.',+ 'The server cannot be reached': 'Não é possível acessar o servidor',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'Não é possível acessar o seu servidor — suas alterações ficam salvas neste dispositivo e sincronizam assim que ele voltar a responder.',+ 'Your server cannot be reached — showing the last copy synced with it.': 'Não é possível acessar o seu servidor — mostrando a última cópia sincronizada com ele.',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Pareie de novo ou exporte um backup antes. Se continuar mesmo assim, uma cópia dessas alterações fica neste dispositivo até ele se conectar de novo a este servidor com esta conta — aí elas são adicionadas de volta.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Entre de novo ou exporte um backup antes. Se continuar mesmo assim, uma cópia dessas alterações fica neste dispositivo até ele se conectar de novo a este servidor com esta conta — aí elas são adicionadas de volta.',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'Não sobrou nenhuma série neste treino, então não há nada para salvar. Excluí-lo do seu histórico?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'Foto, GIF ou vídeo',+ 'Optional — a picture makes it easier to spot in a list.': 'Opcional — com uma imagem fica mais fácil encontrá-lo em uma lista.',+ 'Add': 'Adicionar',+ 'Change': 'Alterar',+ 'Video or guide link (optional)': 'Link de um vídeo ou guia (opcional)',+ 'That link is not a web address': 'Esse link não é um endereço da web',+ 'Watch video': 'Assistir ao vídeo',+ 'Open link': 'Abrir link',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'Esse tipo de arquivo não é compatível — use uma foto, um GIF ou um vídeo MP4, MOV ou WebM.',+ 'That file is too large — up to {0} MB.': 'Esse arquivo é grande demais — até {0} MB.',+ 'That video is too long — up to {0} seconds.': 'Esse vídeo é longo demais — até {0} segundos.',+ 'That photo is too large to process on this device.': 'Essa foto é grande demais para ser processada neste dispositivo.',+ 'This browser cannot read that file.': 'Este navegador não consegue ler esse arquivo.',+ 'There is no room left on this device for that file.': 'Não há mais espaço neste dispositivo para esse arquivo.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'Este vídeo pode não rodar em todos os dispositivos — MP4 (H.264) funciona em qualquer lugar.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'Seu espaço para fotos e vídeos no servidor está cheio ({0} de {1} MB).',+ 'The server refused the file as too large.': 'O servidor recusou o arquivo por ser grande demais.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'Salvo só neste dispositivo — Exportar com fotos e vídeos guarda uma cópia.',+ 'Your server does not store photos and videos yet.': 'Seu servidor ainda não armazena fotos e vídeos.',+ 'This browser cannot store photos or videos here.': 'Este navegador não consegue armazenar fotos ou vídeos aqui.',+ 'Photos & videos': 'Fotos e vídeos',+ '{0} of {1} MB used on your server': '{0} de {1} MB usados no seu servidor',+ '{0} waiting to upload': '{0} aguardando envio',+ 'Export with photos & videos (.zip)': 'Exportar com fotos e vídeos (.zip)',+ '{0} files could not be included': 'Não foi possível incluir {0} arquivos',+ 'Without photos and videos': 'Sem fotos nem vídeos',+ 'Name it and pick a body part — it behaves like any other exercise.': 'Dê um nome e escolha uma parte do corpo — ele funciona como qualquer outro exercício.',+ 'name + body part, and a photo or video if you like': 'nome + parte do corpo, e uma foto ou vídeo se quiser',+ '{0} photos or videos have not reached your server yet.': '{0} fotos ou vídeos ainda não chegaram ao seu servidor.',}export default { ...pt, ...PT_BR_OVERRIDES }diff --cc frontend/src/locales/pt.jsindex 080a28eb7,482e74c7b..6d328fbd3--- a/frontend/src/locales/pt.js+++ b/frontend/src/locales/pt.js@@@ -1546,13 -1544,34 +1546,43 @@@ export default'Log your body weight to score this lift.': 'Regista o teu peso corporal para avaliar este exercício.','Log the anchor lift to score this one.': 'Regista o exercício de referência para avaliar este.','Not scored': 'Sem avaliação',+ 'The server cannot be reached': 'Não é possível chegar ao servidor',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'Não é possível chegar ao teu servidor — as tuas alterações ficam guardadas neste dispositivo e sincronizam assim que ele voltar a responder.',+ 'Your server cannot be reached — showing the last copy synced with it.': 'Não é possível chegar ao teu servidor — a mostrar a última cópia sincronizada com ele.',+ 'Server address unknown': 'Endereço do servidor desconhecido',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Emparelha de novo, ou exporta primeiro uma cópia. Se continuares mesmo assim, fica uma cópia destas alterações neste dispositivo até ele voltar a ligar-se a este servidor com esta conta — aí são novamente adicionadas.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Inicia sessão de novo, ou exporta primeiro uma cópia. Se continuares mesmo assim, fica uma cópia destas alterações neste dispositivo até ele voltar a ligar-se a este servidor com esta conta — aí são novamente adicionadas.',+ '{0} set · {1} work': '{0} série · {1} trabalho',+ 'Every exercise in this workout': 'Todos os exercícios deste treino',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'Não resta nenhuma série neste treino, por isso não há nada para guardar. Eliminá-lo do histórico?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'Foto, GIF ou vídeo',+ 'Optional — a picture makes it easier to spot in a list.': 'Opcional — com uma imagem é mais fácil encontrá-lo numa lista.',+ 'Add': 'Adicionar',+ 'Change': 'Alterar',+ 'Video or guide link (optional)': 'Ligação para um vídeo ou guia (opcional)',+ 'That link is not a web address': 'Essa ligação não é um endereço web',+ 'Watch video': 'Ver vídeo',+ 'Open link': 'Abrir ligação',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'Esse tipo de ficheiro não é suportado — usa uma foto, um GIF ou um vídeo MP4, MOV ou WebM.',+ 'That file is too large — up to {0} MB.': 'Esse ficheiro é demasiado grande — até {0} MB.',+ 'That video is too long — up to {0} seconds.': 'Esse vídeo é demasiado longo — até {0} segundos.',+ 'That photo is too large to process on this device.': 'Essa foto é demasiado grande para ser processada neste dispositivo.',+ 'This browser cannot read that file.': 'Este navegador não consegue ler esse ficheiro.',+ 'There is no room left on this device for that file.': 'Já não há espaço neste dispositivo para esse ficheiro.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'Este vídeo pode não reproduzir em todos os dispositivos — MP4 (H.264) funciona em todo o lado.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'O teu espaço para fotos e vídeos no servidor está cheio ({0} de {1} MB).',+ 'The server refused the file as too large.': 'O servidor recusou o ficheiro por ser demasiado grande.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'Guardado apenas neste dispositivo — Exportar com fotos e vídeos guarda uma cópia.',+ 'Your server does not store photos and videos yet.': 'O teu servidor ainda não guarda fotos e vídeos.',+ 'This browser cannot store photos or videos here.': 'Este navegador não consegue guardar fotos ou vídeos aqui.',+ 'Photos & videos': 'Fotos e vídeos',+ '{0} of {1} MB used on your server': '{0} de {1} MB usados no teu servidor',+ '{0} waiting to upload': '{0} à espera de envio',+ 'Export with photos & videos (.zip)': 'Exportar com fotos e vídeos (.zip)',+ '{0} files could not be included': 'Não foi possível incluir {0} ficheiros',+ 'Without photos and videos': 'Sem fotos nem vídeos',+ 'Name it and pick a body part — it behaves like any other exercise.': 'Dá-lhe um nome e escolhe uma parte do corpo — comporta-se como qualquer outro exercício.',+ 'name + body part, and a photo or video if you like': 'nome + parte do corpo, e uma foto ou vídeo se quiseres',+ '{0} photos or videos have not reached your server yet.': '{0} fotos ou vídeos ainda não chegaram ao teu servidor.',}diff --cc frontend/src/locales/ru.jsindex bb1f63f6b,f512a50aa..19dccfb0e--- a/frontend/src/locales/ru.js+++ b/frontend/src/locales/ru.js@@@ -1546,13 -1544,34 +1546,43 @@@ export default'Log your body weight to score this lift.': 'Запишите вес тела, чтобы оценить это упражнение.','Log the anchor lift to score this one.': 'Запишите опорное упражнение, чтобы оценить это.','Not scored': 'Не оценено',+ 'The server cannot be reached': 'Сервер недоступен',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'Ваш сервер недоступен — изменения сохранены на этом устройстве и синхронизируются, как только он снова ответит.',+ 'Your server cannot be reached — showing the last copy synced with it.': 'Ваш сервер недоступен — показана последняя копия, синхронизированная с ним.',+ 'Server address unknown': 'Адрес сервера неизвестен',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Выполните сопряжение заново или сначала экспортируйте резервную копию. Если всё равно продолжить, копия этих изменений останется на этом устройстве, пока оно снова не подключится к этому серверу с этим аккаунтом, — тогда они будут добавлены обратно.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Войдите снова или сначала экспортируйте резервную копию. Если всё равно продолжить, копия этих изменений останется на этом устройстве, пока оно снова не подключится к этому серверу с этим аккаунтом, — тогда они будут добавлены обратно.',+ '{0} set · {1} work': '{0} подход · рабочих: {1}',+ 'Every exercise in this workout': 'Все упражнения этой тренировки',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'В этой тренировке не осталось ни одного подхода, сохранять нечего. Удалить её из истории?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'Фото, GIF или видео',+ 'Optional — a picture makes it easier to spot in a list.': 'Необязательно — с картинкой его проще найти в списке.',+ 'Add': 'Добавить',+ 'Change': 'Заменить',+ 'Video or guide link (optional)': 'Ссылка на видео или руководство (необязательно)',+ 'That link is not a web address': 'Эта ссылка — не веб-адрес',+ 'Watch video': 'Смотреть видео',+ 'Open link': 'Открыть ссылку',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'Этот тип файла не поддерживается — выберите фото, GIF или видео MP4, MOV или WebM.',+ 'That file is too large — up to {0} MB.': 'Файл слишком большой — не больше {0} МБ.',+ 'That video is too long — up to {0} seconds.': 'Видео слишком длинное — не дольше {0} секунд.',+ 'That photo is too large to process on this device.': 'Это фото слишком большое, чтобы обработать его на этом устройстве.',+ 'This browser cannot read that file.': 'Этот браузер не может прочитать файл.',+ 'There is no room left on this device for that file.': 'На этом устройстве не осталось места для этого файла.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'Это видео может воспроизводиться не на всех устройствах — MP4 (H.264) работает везде.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'Место для фото и видео на сервере закончилось ({0} из {1} МБ).',+ 'The server refused the file as too large.': 'Сервер отклонил файл как слишком большой.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'Хранится только на этом устройстве — экспорт с фото и видео сохранит копию.',+ 'Your server does not store photos and videos yet.': 'Ваш сервер пока не хранит фото и видео.',+ 'This browser cannot store photos or videos here.': 'Этот браузер не может хранить здесь фото и видео.',+ 'Photos & videos': 'Фото и видео',+ '{0} of {1} MB used on your server': 'Занято на вашем сервере: {0} из {1} МБ',+ '{0} waiting to upload': 'Ожидают загрузки: {0}',+ 'Export with photos & videos (.zip)': 'Экспорт с фото и видео (.zip)',+ '{0} files could not be included': 'Не удалось добавить файлов: {0}',+ 'Without photos and videos': 'Без фото и видео',+ 'Name it and pick a body part — it behaves like any other exercise.': 'Дайте название и выберите часть тела — упражнение работает как любое другое.',+ 'name + body part, and a photo or video if you like': 'название + часть тела и, по желанию, фото или видео',+ '{0} photos or videos have not reached your server yet.': 'Фото и видео, ещё не попавшие на ваш сервер: {0}.',}diff --cc frontend/src/locales/th.jsindex f52f4ff3e,244ee1bba..7d3fe75db--- a/frontend/src/locales/th.js+++ b/frontend/src/locales/th.js@@@ -1557,13 -1555,34 +1557,43 @@@ export default'Log your body weight to score this lift.': 'บันทึกน้ำหนักตัวเพื่อประเมินท่านี้','Log the anchor lift to score this one.': 'บันทึกท่าอ้างอิงเพื่อประเมินท่านี้','Not scored': 'ยังไม่ได้ประเมิน',+ 'The server cannot be reached': 'เชื่อมต่อเซิร์ฟเวอร์ไม่ได้',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'เชื่อมต่อเซิร์ฟเวอร์ของคุณไม่ได้ — การเปลี่ยนแปลงถูกบันทึกไว้ในอุปกรณ์นี้และจะซิงค์เมื่อเซิร์ฟเวอร์ตอบกลับอีกครั้ง',+ 'Your server cannot be reached — showing the last copy synced with it.': 'เชื่อมต่อเซิร์ฟเวอร์ของคุณไม่ได้ — แสดงสำเนาล่าสุดที่ซิงค์กับเซิร์ฟเวอร์',+ 'Server address unknown': 'ไม่ทราบที่อยู่เซิร์ฟเวอร์',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'จับคู่ใหม่ หรือส่งออกข้อมูลสำรองก่อน หากดำเนินการต่อ สำเนาของการเปลี่ยนแปลงเหล่านี้จะอยู่ในอุปกรณ์นี้จนกว่าจะเชื่อมต่อกับเซิร์ฟเวอร์นี้ด้วยบัญชีนี้อีกครั้ง — แล้วจะถูกเพิ่มกลับเข้าไป',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'เข้าสู่ระบบอีกครั้ง หรือส่งออกข้อมูลสำรองก่อน หากดำเนินการต่อ สำเนาของการเปลี่ยนแปลงเหล่านี้จะอยู่ในอุปกรณ์นี้จนกว่าจะเชื่อมต่อกับเซิร์ฟเวอร์นี้ด้วยบัญชีนี้อีกครั้ง — แล้วจะถูกเพิ่มกลับเข้าไป',+ '{0} set · {1} work': '{0} เซ็ต · เซ็ตหลัก {1}',+ 'Every exercise in this workout': 'ทุกท่าในการออกกำลังกายครั้งนี้',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'การออกกำลังกายนี้ไม่เหลือเซ็ตแล้ว จึงไม่มีอะไรให้บันทึก ลบออกจากประวัติไหม?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'รูปภาพ, GIF หรือวิดีโอ',+ 'Optional — a picture makes it easier to spot in a list.': 'ไม่บังคับ — มีรูปจะหาในรายการได้ง่ายขึ้น',+ 'Add': 'เพิ่ม',+ 'Change': 'เปลี่ยน',+ 'Video or guide link (optional)': 'ลิงก์วิดีโอหรือคู่มือ (ไม่บังคับ)',+ 'That link is not a web address': 'ลิงก์นี้ไม่ใช่ที่อยู่เว็บ',+ 'Watch video': 'ดูวิดีโอ',+ 'Open link': 'เปิดลิงก์',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'ไม่รองรับไฟล์ประเภทนี้ — ใช้รูปภาพ, GIF หรือวิดีโอ MP4, MOV หรือ WebM',+ 'That file is too large — up to {0} MB.': 'ไฟล์ใหญ่เกินไป — ไม่เกิน {0} MB',+ 'That video is too long — up to {0} seconds.': 'วิดีโอยาวเกินไป — ไม่เกิน {0} วินาที',+ 'That photo is too large to process on this device.': 'รูปนี้ใหญ่เกินกว่าจะประมวลผลบนอุปกรณ์นี้ได้',+ 'This browser cannot read that file.': 'เบราว์เซอร์นี้อ่านไฟล์นั้นไม่ได้',+ 'There is no room left on this device for that file.': 'อุปกรณ์นี้ไม่มีพื้นที่เหลือสำหรับไฟล์นั้น',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'วิดีโอนี้อาจเล่นไม่ได้ในทุกอุปกรณ์ — MP4 (H.264) เล่นได้ทุกที่',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'พื้นที่รูปภาพและวิดีโอของคุณบนเซิร์ฟเวอร์เต็มแล้ว ({0} จาก {1} MB)',+ 'The server refused the file as too large.': 'เซิร์ฟเวอร์ปฏิเสธไฟล์เพราะใหญ่เกินไป',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'เก็บไว้ในอุปกรณ์นี้เท่านั้น — การส่งออกพร้อมรูปภาพและวิดีโอจะเก็บสำเนาไว้',+ 'Your server does not store photos and videos yet.': 'เซิร์ฟเวอร์ของคุณยังไม่เก็บรูปภาพและวิดีโอ',+ 'This browser cannot store photos or videos here.': 'เบราว์เซอร์นี้เก็บรูปภาพหรือวิดีโอที่นี่ไม่ได้',+ 'Photos & videos': 'รูปภาพและวิดีโอ',+ '{0} of {1} MB used on your server': 'ใช้ไป {0} จาก {1} MB บนเซิร์ฟเวอร์ของคุณ',+ '{0} waiting to upload': 'รออัปโหลด {0} รายการ',+ 'Export with photos & videos (.zip)': 'ส่งออกพร้อมรูปภาพและวิดีโอ (.zip)',+ '{0} files could not be included': 'ใส่ไฟล์ไม่ได้ {0} ไฟล์',+ 'Without photos and videos': 'ไม่รวมรูปภาพและวิดีโอ',+ 'Name it and pick a body part — it behaves like any other exercise.': 'ตั้งชื่อและเลือกส่วนร่างกาย — ใช้งานได้เหมือนท่าอื่นทุกประการ',+ 'name + body part, and a photo or video if you like': 'ชื่อ + ส่วนร่างกาย และรูปหรือวิดีโอถ้าต้องการ',+ '{0} photos or videos have not reached your server yet.': 'มีรูปภาพหรือวิดีโอ {0} รายการที่ยังไม่ถึงเซิร์ฟเวอร์ของคุณ',}diff --cc frontend/src/locales/tr.jsindex f469407c0,f762a5df3..89ccd8a8c--- a/frontend/src/locales/tr.js+++ b/frontend/src/locales/tr.js@@@ -1546,13 -1544,34 +1546,43 @@@ export default'Log your body weight to score this lift.': 'Bu hareketin değerlendirilmesi için vücut ağırlığını kaydet.','Log the anchor lift to score this one.': 'Bunu değerlendirmek için referans hareketi kaydet.','Not scored': 'Değerlendirilmedi',+ 'The server cannot be reached': 'Sunucuya ulaşılamıyor',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'Sunucuna ulaşılamıyor — değişikliklerin bu cihazda kayıtlı, sunucu yeniden yanıt verince eşitlenecek.',+ 'Your server cannot be reached — showing the last copy synced with it.': 'Sunucuna ulaşılamıyor — sunucuyla en son eşitlenen kopya gösteriliyor.',+ 'Server address unknown': 'Sunucu adresi bilinmiyor',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Yeniden eşleştir ya da önce bir yedek dışa aktar. Yine de devam edersen bu değişikliklerin bir kopyası, cihaz bu hesapla bu sunucuya yeniden bağlanana kadar bu cihazda kalır — sonra geri eklenir.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Yeniden giriş yap ya da önce bir yedek dışa aktar. Yine de devam edersen bu değişikliklerin bir kopyası, cihaz bu hesapla bu sunucuya yeniden bağlanana kadar bu cihazda kalır — sonra geri eklenir.',+ '{0} set · {1} work': '{0} set · {1} çalışma',+ 'Every exercise in this workout': 'Bu antrenmandaki tüm egzersizler',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'Bu antrenmanda hiç set kalmadı, yani kaydedilecek bir şey yok. Geçmişinden silinsin mi?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'Fotoğraf, GIF veya video',+ 'Optional — a picture makes it easier to spot in a list.': 'İsteğe bağlı — bir görselle listede daha kolay bulunur.',+ 'Add': 'Ekle',+ 'Change': 'Değiştir',+ 'Video or guide link (optional)': 'Video veya rehber bağlantısı (isteğe bağlı)',+ 'That link is not a web address': 'Bu bağlantı bir web adresi değil',+ 'Watch video': 'Videoyu izle',+ 'Open link': 'Bağlantıyı aç',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'Bu dosya türü desteklenmiyor — fotoğraf, GIF ya da MP4, MOV veya WebM video kullan.',+ 'That file is too large — up to {0} MB.': 'Bu dosya çok büyük — en fazla {0} MB.',+ 'That video is too long — up to {0} seconds.': 'Bu video çok uzun — en fazla {0} saniye.',+ 'That photo is too large to process on this device.': 'Bu fotoğraf bu cihazda işlenemeyecek kadar büyük.',+ 'This browser cannot read that file.': 'Bu tarayıcı bu dosyayı okuyamıyor.',+ 'There is no room left on this device for that file.': 'Bu cihazda bu dosya için yer kalmadı.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'Bu video her cihazda oynamayabilir — MP4 (H.264) her yerde oynar.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'Sunucudaki fotoğraf ve video alanın dolu ({0} / {1} MB).',+ 'The server refused the file as too large.': 'Sunucu dosyayı çok büyük olduğu için reddetti.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'Yalnızca bu cihazda saklanır — fotoğraf ve videolarla dışa aktarma bir kopya tutar.',+ 'Your server does not store photos and videos yet.': 'Sunucun henüz fotoğraf ve video saklamıyor.',+ 'This browser cannot store photos or videos here.': 'Bu tarayıcı burada fotoğraf veya video saklayamıyor.',+ 'Photos & videos': 'Fotoğraflar ve videolar',+ '{0} of {1} MB used on your server': 'Sunucunda {0} / {1} MB kullanılıyor',+ '{0} waiting to upload': '{0} yükleme bekliyor',+ 'Export with photos & videos (.zip)': 'Fotoğraf ve videolarla dışa aktar (.zip)',+ '{0} files could not be included': '{0} dosya eklenemedi',+ 'Without photos and videos': 'Fotoğraf ve videolar hariç',+ 'Name it and pick a body part — it behaves like any other exercise.': 'Bir ad ver ve bir vücut bölgesi seç — diğer egzersizler gibi çalışır.',+ 'name + body part, and a photo or video if you like': 'ad + vücut bölgesi, istersen bir fotoğraf veya video',+ '{0} photos or videos have not reached your server yet.': '{0} fotoğraf veya video henüz sunucuna ulaşmadı.',}diff --cc frontend/src/locales/uk.jsindex 18e2b0b09,d5f45de15..4ac2086e7--- a/frontend/src/locales/uk.js+++ b/frontend/src/locales/uk.js@@@ -1543,13 -1541,34 +1543,43 @@@ export default'You get a code that lets your phone or another computer create a passkey for this profile. First confirm that it is you.': 'Ти отримаєш код, з яким твій телефон чи інший комп’ютер зможе створити ключ доступу для цього профілю. Спершу підтверди, що це ти.','or with your password': 'або своїм паролем','{0} passkeys': 'Ключів доступу: {0}',+ 'The server cannot be reached': 'Сервер недоступний',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': 'Твій сервер недоступний — зміни збережено на цьому пристрої, вони синхронізуються, щойно він знову відповість.',+ 'Your server cannot be reached — showing the last copy synced with it.': 'Твій сервер недоступний — показано останню копію, синхронізовану з ним.',+ 'Server address unknown': 'Адреса сервера невідома',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Спаруй знову або спершу експортуй резервну копію. Якщо все одно продовжити, копія цих змін залишиться на цьому пристрої, доки він знову не підключиться до цього сервера з цим акаунтом, — тоді їх буде додано назад.',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': 'Увійди знову або спершу експортуй резервну копію. Якщо все одно продовжити, копія цих змін залишиться на цьому пристрої, доки він знову не підключиться до цього сервера з цим акаунтом, — тоді їх буде додано назад.',+ '{0} set · {1} work': '{0} підхід · робочих: {1}',+ 'Every exercise in this workout': 'Усі вправи цього тренування',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': 'У цьому тренуванні не лишилося жодного підходу, тож зберігати нічого. Видалити його з історії?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': 'Фото, GIF або відео',+ 'Optional — a picture makes it easier to spot in a list.': 'Необов’язково — з картинкою її легше знайти у списку.',+ 'Add': 'Додати',+ 'Change': 'Змінити',+ 'Video or guide link (optional)': 'Посилання на відео чи інструкцію (необов’язково)',+ 'That link is not a web address': 'Це посилання не є вебадресою',+ 'Watch video': 'Дивитися відео',+ 'Open link': 'Відкрити посилання',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': 'Цей тип файлу не підтримується — вибери фото, GIF або відео MP4, MOV чи WebM.',+ 'That file is too large — up to {0} MB.': 'Файл завеликий — не більше {0} МБ.',+ 'That video is too long — up to {0} seconds.': 'Відео задовге — не довше {0} секунд.',+ 'That photo is too large to process on this device.': 'Це фото завелике, щоб обробити його на цьому пристрої.',+ 'This browser cannot read that file.': 'Цей браузер не може прочитати файл.',+ 'There is no room left on this device for that file.': 'На цьому пристрої не залишилося місця для цього файлу.',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': 'Це відео може відтворюватися не на всіх пристроях — MP4 (H.264) працює скрізь.',+ 'Your photo and video space on the server is full ({0} of {1} MB).': 'Місце для фото й відео на сервері закінчилося ({0} з {1} МБ).',+ 'The server refused the file as too large.': 'Сервер відхилив файл як завеликий.',+ 'Kept on this device only — Export with photos & videos keeps a copy.': 'Зберігається лише на цьому пристрої — експорт із фото й відео збереже копію.',+ 'Your server does not store photos and videos yet.': 'Твій сервер поки не зберігає фото й відео.',+ 'This browser cannot store photos or videos here.': 'Цей браузер не може зберігати тут фото чи відео.',+ 'Photos & videos': 'Фото й відео',+ '{0} of {1} MB used on your server': 'Зайнято на твоєму сервері: {0} з {1} МБ',+ '{0} waiting to upload': 'Чекають на вивантаження: {0}',+ 'Export with photos & videos (.zip)': 'Експорт із фото й відео (.zip)',+ '{0} files could not be included': 'Не вдалося додати файлів: {0}',+ 'Without photos and videos': 'Без фото й відео',+ 'Name it and pick a body part — it behaves like any other exercise.': 'Дай назву й вибери частину тіла — вправа працює як будь-яка інша.',+ 'name + body part, and a photo or video if you like': 'назва + частина тіла, а за бажання — фото чи відео',+ '{0} photos or videos have not reached your server yet.': 'Фото й відео, які ще не дійшли до твого сервера: {0}.',}diff --cc frontend/src/locales/zh.jsindex d89b8095e,0900043d7..4405285a1--- a/frontend/src/locales/zh.js+++ b/frontend/src/locales/zh.js@@@ -1546,13 -1544,34 +1546,43 @@@ export default'Log your body weight to score this lift.': '记录你的体重以评估这个动作。','Log the anchor lift to score this one.': '记录锚点动作以评估这个动作。','Not scored': '未评估',+ 'The server cannot be reached': '无法连接服务器',+ 'Your server cannot be reached — your changes are saved on this device and sync once it answers again.': '无法连接你的服务器 — 你的更改已保存在此设备上,服务器恢复响应后会自动同步。',+ 'Your server cannot be reached — showing the last copy synced with it.': '无法连接你的服务器 — 正在显示最后一次与它同步的副本。',+ 'Server address unknown': '服务器地址未知',+ 'Pair again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': '请重新配对,或先导出备份。如果仍然继续,这些更改的副本会保留在此设备上,直到它再次以此账号连接到此服务器——届时会重新加入。',+ 'Sign in again, or export a backup first. Going ahead anyway keeps a copy of these changes on this device until it connects to this server as this account again — then they are added back.': '请重新登录,或先导出备份。如果仍然继续,这些更改的副本会保留在此设备上,直到它再次以此账号连接到此服务器——届时会重新加入。',+ '{0} set · {1} work': '{0} 组 · {1} 工作',+ 'Every exercise in this workout': '本次训练的所有动作',+ 'No sets are left in this workout, so there is nothing to save. Delete it from your history?': '这次训练已经没有任何一组了,没有可保存的内容。要从历史中删除它吗?',+ // --- a custom exercise's own photo, GIF or video, and its link ---+ 'Photo, GIF or video': '照片、GIF 或视频',+ 'Optional — a picture makes it easier to spot in a list.': '可选——有图片更容易在列表中找到它。',+ 'Add': '添加',+ 'Change': '更换',+ 'Video or guide link (optional)': '视频或教程链接(可选)',+ 'That link is not a web address': '这不是一个网址',+ 'Watch video': '观看视频',+ 'Open link': '打开链接',+ 'That file type is not supported — use a photo, a GIF, or an MP4, MOV or WebM video.': '不支持该文件类型——请使用照片、GIF,或 MP4、MOV、WebM 视频。',+ 'That file is too large — up to {0} MB.': '文件太大——最大 {0} MB。',+ 'That video is too long — up to {0} seconds.': '视频太长——最长 {0} 秒。',+ 'That photo is too large to process on this device.': '照片太大,无法在此设备上处理。',+ 'This browser cannot read that file.': '此浏览器无法读取该文件。',+ 'There is no room left on this device for that file.': '此设备上已没有空间存放该文件。',+ 'This video may not play on every device — MP4 (H.264) plays everywhere.': '此视频可能无法在所有设备上播放——MP4(H.264)在任何设备上都能播放。',+ 'Your photo and video space on the server is full ({0} of {1} MB).': '你在服务器上的照片和视频空间已满({0} / {1} MB)。',+ 'The server refused the file as too large.': '服务器因文件过大而拒绝了它。',+ 'Kept on this device only — Export with photos & videos keeps a copy.': '仅保存在此设备上——“连同照片和视频导出”可保留一份副本。',+ 'Your server does not store photos and videos yet.': '你的服务器尚不能存储照片和视频。',+ 'This browser cannot store photos or videos here.': '此浏览器无法在这里存储照片或视频。',+ 'Photos & videos': '照片和视频',+ '{0} of {1} MB used on your server': '服务器已用 {0} / {1} MB',+ '{0} waiting to upload': '{0} 个等待上传',+ 'Export with photos & videos (.zip)': '连同照片和视频导出(.zip)',+ '{0} files could not be included': '有 {0} 个文件无法包含',+ 'Without photos and videos': '不含照片和视频',+ 'Name it and pick a body part — it behaves like any other exercise.': '起个名字并选择身体部位——它和其他动作用法一样。',+ 'name + body part, and a photo or video if you like': '名称 + 身体部位,可附照片或视频',+ '{0} photos or videos have not reached your server yet.': '有 {0} 个照片或视频尚未到达你的服务器。',}diff --cc frontend/src/store/useStore.jsindex c58c8787c,3505ca152..c5473208c--- a/frontend/src/store/useStore.js+++ b/frontend/src/store/useStore.js@@@ -6,9 -6,12 +6,12 @@@ import { registerCustom } from '../lib/import { DEMO, DEMO_SEEDED } from '../lib/demo.js'import { guestAllowed } from '../lib/guest.js'import { MOBILE, initReminderSync, nativeLoad, nativeSave, onAppActive, readJsonFile, syncReminder, writeAutoBackup, writeJsonFile } from '../lib/mobile.js'- import { mergeStates, localExtras, stampRoutines } from '../lib/sync-merge.js'+ import { mergeStates, localExtras, stampRoutines, stampCustomEx } from '../lib/sync-merge.js'+ import { pendingRefCount, settleMedia, loadPending } from '../lib/media-owed.js'+ import { referencedHashes } from '../lib/media-refs.js'+ import { mediaStore, mediaStoreInUse } from '../lib/media-store.js'import { countChanges, syncFingerprint } from '../lib/sync-changes.js'-import { saveWorkoutEdit } from '../lib/session-edit.js'+import { saveWorkoutEdit, deleteEditedWorkout } from '../lib/session-edit.js'import { appBase } from '../lib/app-base.js'import { linkTokenFromSearch, stripLinkFromUrl } from '../lib/device-link.js'import { loadRemote, chooseLocal, forgetRemote, connect, normalizeServerUrl, renewToken } from '../lib/remote.js'