Skip to content

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.

Merge the small fixes from the full test round: printout, set counts, wording, translations, search, editor

Duarte Santos4746dbe9f284
diff --cc frontend/src/components/ui.jsx
index cdbc1fbaa,763063ef0..fca6fa8c2
--- a/frontend/src/components/ui.jsx
+++ b/frontend/src/components/ui.jsx
@@@ -15,8 -15,7 +15,9 @@@
import { useRef, useState, useEffect, useCallback, forwardRef } from 'react'
import Icon from './Icon.jsx'
+import { sheetKeyboardInsets } from '../lib/use-sheet-keyboard.js'
+import { NATIVE_KEYBOARD_EVENT } from '../lib/native-keyboard.js'
+ import { t } from '../lib/i18n.js'
/* ============================ text ============================ */
diff --cc frontend/src/locales/ar.js
index b237e6fe2,9cfdf99fb..9cee05594
--- a/frontend/src/locales/ar.js
+++ b/frontend/src/locales/ar.js
@@@ -1675,10 -1675,36 +1675,42 @@@ export default
'Its {0} photos or videos are deleted with it.': 'ستُحذف معه أيضًا الصور أو مقاطع الفيديو المرفقة ({0}).',
'Its photo or video moves to the new workout.': 'تنتقل الصورة أو الفيديو المرفق إلى التمرين الجديد.',
'Its {0} photos or videos move to the new workout.': 'تنتقل الصور أو مقاطع الفيديو المرفقة ({0}) إلى التمرين الجديد.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'على الخادم تمرين واحد ليس في هذه النسخة الاحتياطية، سُجّل بعد إنشائها أو على جهاز آخر. الاستبدال يحذفه.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'على الخادم {0} تمارين ليست في هذه النسخة الاحتياطية، سُجّلت بعد إنشائها أو على جهاز آخر. الاستبدال يحذفها.',
+ 'Replace anyway': 'استبدال على أي حال',
+ 'Merge them in': 'دمجها',
+ 'Waiting for your answer about this device’s workouts': 'بانتظار إجابتك بشأن تمارين هذا الجهاز',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'لن تتم المزامنة حتى تحدد ما إذا كانت تمارين هذا الجهاز ستُضاف إلى ملفك — اضغط للإجابة.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'استخدمه في هذا التمرين',
+ 'Add to this workout': 'أضِف إلى هذا التمرين',
+ 'No weight to enter — just time the hold.': 'لا وزن لإدخاله — فقط احسب مدة الثبات.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'بصمة الإصبع أو فتح القفل بالوجه',
+ 'your fingerprint, face or PIN': 'بصمة إصبعك أو وجهك أو رمز PIN',
+ 'iCloud Keychain': 'سلسلة مفاتيح iCloud',
+ 'Google Password Manager': 'مدير كلمات المرور من Google',
+ 'your password manager': 'مدير كلمات المرور لديك',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'الأسبوع السابق',
+ 'Next week': 'الأسبوع التالي',
+ 'Previous month': 'الشهر السابق',
+ 'Next month': 'الشهر التالي',
+ 'Decrease': 'إنقاص',
+ 'Increase': 'زيادة',
+ 'Decrease by {0}': 'إنقاص بمقدار {0}',
+ 'Increase by {0}': 'زيادة بمقدار {0}',
+ 'Clear': 'مسح',
+ 'QR code': 'رمز QR',
+ 'Delete weigh-in': 'حذف الوزن المسجّل',
+ 'Green': 'أخضر',
+ 'Blue': 'أزرق',
+ 'Orange': 'برتقالي',
+ 'Purple': 'بنفسجي',
+ 'Pink': 'وردي',
+ 'Red': 'أحمر',
+ 'Teal': 'أزرق مخضر',
+ 'Yellow': 'أصفر',
+ 'Enter how long it took — at least 1 minute.': 'أدخل المدة التي استغرقها — دقيقة واحدة على الأقل.',
}
diff --cc frontend/src/locales/de.js
index c6bd7ddf6,bfa014a4b..bf7dbf128
--- a/frontend/src/locales/de.js
+++ b/frontend/src/locales/de.js
@@@ -1642,10 -1642,36 +1642,42 @@@ export default
'Its {0} photos or videos are deleted with it.': 'Die {0} Fotos oder Videos darin werden mitgelöscht.',
'Its photo or video moves to the new workout.': 'Das Foto oder Video kommt ins neue Training mit.',
'Its {0} photos or videos move to the new workout.': 'Die {0} Fotos oder Videos kommen ins neue Training mit.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'Auf dem Server ist 1 Training, das nicht in diesem Backup ist – seither oder auf einem anderen Gerät erfasst. Ersetzen löscht es.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'Auf dem Server sind {0} Trainings, die nicht in diesem Backup sind – seither oder auf einem anderen Gerät erfasst. Ersetzen löscht sie.',
+ 'Replace anyway': 'Trotzdem ersetzen',
+ 'Merge them in': 'Zusammenführen',
+ 'Waiting for your answer about this device’s workouts': 'Wartet auf deine Antwort zu den Trainings dieses Geräts',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'Nichts wird synchronisiert, bis du sagst, ob die Trainings dieses Geräts in dein Profil kommen – tippe zum Antworten.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'In diesem Training verwenden',
+ 'Add to this workout': 'Zu diesem Training hinzufügen',
+ 'No weight to enter — just time the hold.': 'Kein Gewicht einzutragen — nur die Haltezeit.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'Fingerabdruck oder Gesichtsentsperrung',
+ 'your fingerprint, face or PIN': 'Fingerabdruck, Gesicht oder PIN',
+ 'iCloud Keychain': 'iCloud-Schlüsselbund',
+ 'Google Password Manager': 'Google Passwortmanager',
+ 'your password manager': 'Passwortmanager',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'Vorherige Woche',
+ 'Next week': 'Nächste Woche',
+ 'Previous month': 'Vorheriger Monat',
+ 'Next month': 'Nächster Monat',
+ 'Decrease': 'Verringern',
+ 'Increase': 'Erhöhen',
+ 'Decrease by {0}': 'Um {0} verringern',
+ 'Increase by {0}': 'Um {0} erhöhen',
+ 'Clear': 'Leeren',
+ 'QR code': 'QR-Code',
+ 'Delete weigh-in': 'Wiegung löschen',
+ 'Green': 'Grün',
+ 'Blue': 'Blau',
+ 'Orange': 'Orange',
+ 'Purple': 'Lila',
+ 'Pink': 'Pink',
+ 'Red': 'Rot',
+ 'Teal': 'Türkis',
+ 'Yellow': 'Gelb',
+ 'Enter how long it took — at least 1 minute.': 'Gib ein, wie lange es gedauert hat — mindestens 1 Minute.',
}
diff --cc frontend/src/locales/es.js
index 7703d1c03,34d758425..ffc0c5d06
--- a/frontend/src/locales/es.js
+++ b/frontend/src/locales/es.js
@@@ -1622,10 -1622,36 +1622,42 @@@ export default
'Its {0} photos or videos are deleted with it.': 'Sus {0} fotos o vídeos también se eliminan.',
'Its photo or video moves to the new workout.': 'Su foto o vídeo pasa al nuevo entrenamiento.',
'Its {0} photos or videos move to the new workout.': 'Sus {0} fotos o vídeos pasan al nuevo entrenamiento.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'El servidor tiene 1 entrenamiento que no está en esta copia, registrado después de hacerla o en otro dispositivo. Reemplazar lo elimina.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'El servidor tiene {0} entrenamientos que no están en esta copia, registrados después de hacerla o en otro dispositivo. Reemplazar los elimina.',
+ 'Replace anyway': 'Reemplazar igualmente',
+ 'Merge them in': 'Combinarlos',
+ 'Waiting for your answer about this device’s workouts': 'Esperando tu respuesta sobre los entrenamientos de este dispositivo',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'No se sincroniza nada hasta que digas si los entrenamientos de este dispositivo van a tu perfil: toca para responder.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'Usar en este entrenamiento',
+ 'Add to this workout': 'Añadir a este entrenamiento',
+ 'No weight to enter — just time the hold.': 'Sin peso que anotar — solo cronometra la retención.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'huella dactilar o desbloqueo facial',
+ 'your fingerprint, face or PIN': 'tu huella, tu cara o tu PIN',
+ 'iCloud Keychain': 'Llavero de iCloud',
+ 'Google Password Manager': 'Gestor de contraseñas de Google',
+ 'your password manager': 'tu gestor de contraseñas',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'Semana anterior',
+ 'Next week': 'Semana siguiente',
+ 'Previous month': 'Mes anterior',
+ 'Next month': 'Mes siguiente',
+ 'Decrease': 'Disminuir',
+ 'Increase': 'Aumentar',
+ 'Decrease by {0}': 'Disminuir {0}',
+ 'Increase by {0}': 'Aumentar {0}',
+ 'Clear': 'Borrar',
+ 'QR code': 'Código QR',
+ 'Delete weigh-in': 'Eliminar pesaje',
+ 'Green': 'Verde',
+ 'Blue': 'Azul',
+ 'Orange': 'Naranja',
+ 'Purple': 'Morado',
+ 'Pink': 'Rosa',
+ 'Red': 'Rojo',
+ 'Teal': 'Turquesa',
+ 'Yellow': 'Amarillo',
+ 'Enter how long it took — at least 1 minute.': 'Indica cuánto duró — al menos 1 minuto.',
}
diff --cc frontend/src/locales/fr.js
index c20a60241,e7d484d36..f7b15690c
--- a/frontend/src/locales/fr.js
+++ b/frontend/src/locales/fr.js
@@@ -1622,10 -1622,36 +1622,42 @@@ export default
'Its {0} photos or videos are deleted with it.': 'Ses {0} photos ou vidéos sont supprimées avec elle.',
'Its photo or video moves to the new workout.': 'Sa photo ou vidéo passe à la nouvelle séance.',
'Its {0} photos or videos move to the new workout.': 'Ses {0} photos ou vidéos passent à la nouvelle séance.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'Le serveur a 1 séance absente de cette sauvegarde, enregistrée depuis ou sur un autre appareil. Remplacer la supprime.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'Le serveur a {0} séances absentes de cette sauvegarde, enregistrées depuis ou sur un autre appareil. Remplacer les supprime.',
+ 'Replace anyway': 'Remplacer quand même',
+ 'Merge them in': 'Les fusionner',
+ 'Waiting for your answer about this device’s workouts': 'En attente de ta réponse sur les séances de cet appareil',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'Rien ne se synchronise tant que tu n’as pas dit si les séances de cet appareil vont dans ton profil — touche pour répondre.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'Utiliser dans cette séance',
+ 'Add to this workout': 'Ajouter à cette séance',
+ 'No weight to enter — just time the hold.': 'Aucun poids à saisir — chronomètre simplement le maintien.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'empreinte digitale ou déverrouillage par le visage',
+ 'your fingerprint, face or PIN': 'ton empreinte, ton visage ou ton code PIN',
+ 'iCloud Keychain': 'trousseau iCloud',
+ 'Google Password Manager': 'Gestionnaire de mots de passe de Google',
+ 'your password manager': 'ton gestionnaire de mots de passe',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'Semaine précédente',
+ 'Next week': 'Semaine suivante',
+ 'Previous month': 'Mois précédent',
+ 'Next month': 'Mois suivant',
+ 'Decrease': 'Diminuer',
+ 'Increase': 'Augmenter',
+ 'Decrease by {0}': 'Diminuer de {0}',
+ 'Increase by {0}': 'Augmenter de {0}',
+ 'Clear': 'Effacer',
+ 'QR code': 'Code QR',
+ 'Delete weigh-in': 'Supprimer la pesée',
+ 'Green': 'Vert',
+ 'Blue': 'Bleu',
+ 'Orange': 'Orange',
+ 'Purple': 'Violet',
+ 'Pink': 'Rose',
+ 'Red': 'Rouge',
+ 'Teal': 'Turquoise',
+ 'Yellow': 'Jaune',
+ 'Enter how long it took — at least 1 minute.': 'Indique combien de temps ça a duré — au moins 1 minute.',
}
diff --cc frontend/src/locales/hi.js
index 870bc3d2c,65e6172d2..26d9efa1f
--- a/frontend/src/locales/hi.js
+++ b/frontend/src/locales/hi.js
@@@ -1622,10 -1622,36 +1622,42 @@@ export default
'Its {0} photos or videos are deleted with it.': 'इसकी {0} फ़ोटो या वीडियो भी इसके साथ हट जाएँगी।',
'Its photo or video moves to the new workout.': 'इसकी फ़ोटो या वीडियो नए वर्कआउट में चली जाएगी।',
'Its {0} photos or videos move to the new workout.': 'इसकी {0} फ़ोटो या वीडियो नए वर्कआउट में चली जाएँगी।',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'सर्वर पर 1 वर्कआउट है जो इस बैकअप में नहीं है — बैकअप के बाद या किसी दूसरे डिवाइस पर दर्ज। बदलने से वह हट जाएगा।',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'सर्वर पर {0} वर्कआउट हैं जो इस बैकअप में नहीं हैं — बैकअप के बाद या किसी दूसरे डिवाइस पर दर्ज। बदलने से वे हट जाएँगे।',
+ 'Replace anyway': 'फिर भी बदलें',
+ 'Merge them in': 'उन्हें मिलाएँ',
+ 'Waiting for your answer about this device’s workouts': 'इस डिवाइस के वर्कआउट के बारे में आपके जवाब की प्रतीक्षा है',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'जब तक आप यह नहीं बताते कि इस डिवाइस के वर्कआउट आपकी प्रोफ़ाइल में जाएँ या नहीं, कुछ भी सिंक नहीं होगा — जवाब देने के लिए टैप करें।',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'इस वर्कआउट में इस्तेमाल करें',
+ 'Add to this workout': 'इस वर्कआउट में जोड़ें',
+ 'No weight to enter — just time the hold.': 'कोई वज़न नहीं भरना — बस होल्ड का समय गिनें।',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'फ़िंगरप्रिंट या फ़ेस अनलॉक',
+ 'your fingerprint, face or PIN': 'अपने फ़िंगरप्रिंट, चेहरे या PIN',
+ 'iCloud Keychain': 'iCloud कीचेन',
+ 'Google Password Manager': 'Google पासवर्ड मैनेजर',
+ 'your password manager': 'आपका पासवर्ड मैनेजर',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'पिछला सप्ताह',
+ 'Next week': 'अगला सप्ताह',
+ 'Previous month': 'पिछला महीना',
+ 'Next month': 'अगला महीना',
+ 'Decrease': 'घटाएँ',
+ 'Increase': 'बढ़ाएँ',
+ 'Decrease by {0}': '{0} घटाएँ',
+ 'Increase by {0}': '{0} बढ़ाएँ',
+ 'Clear': 'साफ़ करें',
+ 'QR code': 'QR कोड',
+ 'Delete weigh-in': 'वज़न प्रविष्टि हटाएँ',
+ 'Green': 'हरा',
+ 'Blue': 'नीला',
+ 'Orange': 'नारंगी',
+ 'Purple': 'बैंगनी',
+ 'Pink': 'गुलाबी',
+ 'Red': 'लाल',
+ 'Teal': 'फ़िरोज़ी',
+ 'Yellow': 'पीला',
+ 'Enter how long it took — at least 1 minute.': 'बताएँ कि इसमें कितना समय लगा — कम से कम 1 मिनट।',
}
diff --cc frontend/src/locales/hu.js
index 36261c7a8,5619a3ece..ca82839ba
--- a/frontend/src/locales/hu.js
+++ b/frontend/src/locales/hu.js
@@@ -1625,10 -1625,36 +1625,42 @@@ export default
'Its {0} photos or videos are deleted with it.': 'Vele együtt törlődnek a hozzá tartozó fotók és videók is ({0}).',
'Its photo or video moves to the new workout.': 'A hozzá tartozó fotó vagy videó átkerül az új edzéshez.',
'Its {0} photos or videos move to the new workout.': 'A hozzá tartozó fotók és videók ({0}) átkerülnek az új edzéshez.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'A szerveren van 1 edzés, amely nincs ebben a mentésben – azóta vagy egy másik eszközön rögzítették. A csere törli.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'A szerveren {0} edzés van, amely nincs ebben a mentésben – azóta vagy egy másik eszközön rögzítették. A csere törli őket.',
+ 'Replace anyway': 'Csere mégis',
+ 'Merge them in': 'Összefésülés',
+ 'Waiting for your answer about this device’s workouts': 'Válaszra vár az eszköz edzéseiről',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'Semmi sem szinkronizálódik, amíg meg nem mondod, bekerüljenek-e az eszköz edzései a profilodba – koppints a válaszhoz.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'Használat ebben az edzésben',
+ 'Add to this workout': 'Hozzáadás ehhez az edzéshez',
+ 'No weight to enter — just time the hold.': 'Nincs megadandó súly — csak a tartás idejét méred.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'ujjlenyomat vagy arcfelismerés',
+ 'your fingerprint, face or PIN': 'ujjlenyomat, arc vagy PIN-kód',
+ 'iCloud Keychain': 'iCloud-kulcskarika',
+ 'Google Password Manager': 'Google Jelszókezelő',
+ 'your password manager': 'jelszókezelő',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'Előző hét',
+ 'Next week': 'Következő hét',
+ 'Previous month': 'Előző hónap',
+ 'Next month': 'Következő hónap',
+ 'Decrease': 'Csökkentés',
+ 'Increase': 'Növelés',
+ 'Decrease by {0}': 'Csökkentés ennyivel: {0}',
+ 'Increase by {0}': 'Növelés ennyivel: {0}',
+ 'Clear': 'Törlés',
+ 'QR code': 'QR-kód',
+ 'Delete weigh-in': 'Mérés törlése',
+ 'Green': 'Zöld',
+ 'Blue': 'Kék',
+ 'Orange': 'Narancs',
+ 'Purple': 'Lila',
+ 'Pink': 'Rózsaszín',
+ 'Red': 'Piros',
+ 'Teal': 'Türkiz',
+ 'Yellow': 'Sárga',
+ 'Enter how long it took — at least 1 minute.': 'Add meg, meddig tartott — legalább 1 perc.',
}
diff --cc frontend/src/locales/it.js
index b01eab5f8,7f83a6a04..acec903a6
--- a/frontend/src/locales/it.js
+++ b/frontend/src/locales/it.js
@@@ -1622,10 -1622,36 +1622,42 @@@ export default
'Its {0} photos or videos are deleted with it.': 'Anche le sue {0} foto o video vengono eliminati.',
'Its photo or video moves to the new workout.': 'La sua foto o il suo video passa al nuovo allenamento.',
'Its {0} photos or videos move to the new workout.': 'Le sue {0} foto o video passano al nuovo allenamento.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'Sul server c’è 1 allenamento che non è in questo backup, registrato dopo o su un altro dispositivo. Sostituire lo elimina.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'Sul server ci sono {0} allenamenti che non sono in questo backup, registrati dopo o su un altro dispositivo. Sostituire li elimina.',
+ 'Replace anyway': 'Sostituisci comunque',
+ 'Merge them in': 'Uniscili',
+ 'Waiting for your answer about this device’s workouts': 'In attesa della tua risposta sugli allenamenti di questo dispositivo',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'Non si sincronizza nulla finché non dici se gli allenamenti di questo dispositivo vanno nel tuo profilo — tocca per rispondere.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'Usa in questo allenamento',
+ 'Add to this workout': 'Aggiungi a questo allenamento',
+ 'No weight to enter — just time the hold.': 'Nessun peso da inserire — cronometra solo la tenuta.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'impronta digitale o sblocco con il volto',
+ 'your fingerprint, face or PIN': 'la tua impronta, il tuo volto o il PIN',
+ 'iCloud Keychain': 'Portachiavi iCloud',
+ 'Google Password Manager': 'Gestore delle password di Google',
+ 'your password manager': 'il tuo gestore di password',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'Settimana precedente',
+ 'Next week': 'Settimana successiva',
+ 'Previous month': 'Mese precedente',
+ 'Next month': 'Mese successivo',
+ 'Decrease': 'Diminuisci',
+ 'Increase': 'Aumenta',
+ 'Decrease by {0}': 'Diminuisci di {0}',
+ 'Increase by {0}': 'Aumenta di {0}',
+ 'Clear': 'Cancella',
+ 'QR code': 'Codice QR',
+ 'Delete weigh-in': 'Elimina pesata',
+ 'Green': 'Verde',
+ 'Blue': 'Blu',
+ 'Orange': 'Arancione',
+ 'Purple': 'Viola',
+ 'Pink': 'Rosa',
+ 'Red': 'Rosso',
+ 'Teal': 'Turchese',
+ 'Yellow': 'Giallo',
+ 'Enter how long it took — at least 1 minute.': 'Inserisci quanto è durato — almeno 1 minuto.',
}
diff --cc frontend/src/locales/ko.js
index 087592709,7aa730641..24aea66b0
--- a/frontend/src/locales/ko.js
+++ b/frontend/src/locales/ko.js
@@@ -1622,10 -1622,36 +1622,42 @@@ export default
'Its {0} photos or videos are deleted with it.': '첨부된 사진·동영상 {0}개도 함께 삭제됩니다.',
'Its photo or video moves to the new workout.': '첨부된 사진·동영상은 새 운동으로 옮겨집니다.',
'Its {0} photos or videos move to the new workout.': '첨부된 사진·동영상 {0}개는 새 운동으로 옮겨집니다.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': '서버에 이 백업에 없는 운동이 1개 있습니다. 백업 이후 또는 다른 기기에서 기록된 것입니다. 바꾸면 삭제됩니다.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': '서버에 이 백업에 없는 운동이 {0}개 있습니다. 백업 이후 또는 다른 기기에서 기록된 것입니다. 바꾸면 삭제됩니다.',
+ 'Replace anyway': '그래도 바꾸기',
+ 'Merge them in': '합치기',
+ 'Waiting for your answer about this device’s workouts': '이 기기의 운동에 대한 답변을 기다리는 중',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': '이 기기의 운동을 프로필에 넣을지 정할 때까지 아무것도 동기화되지 않습니다. 탭하여 답하세요.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': '이번 운동에 사용',
+ 'Add to this workout': '이번 운동에 추가',
+ 'No weight to enter — just time the hold.': '입력할 무게 없음 — 버티는 시간만 재세요.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': '지문 또는 얼굴 인식 잠금 해제',
+ 'your fingerprint, face or PIN': '지문, 얼굴 또는 PIN',
+ 'iCloud Keychain': 'iCloud 키체인',
+ 'Google Password Manager': 'Google 비밀번호 관리자',
+ 'your password manager': '비밀번호 관리자',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': '이전 주',
+ 'Next week': '다음 주',
+ 'Previous month': '이전 달',
+ 'Next month': '다음 달',
+ 'Decrease': '줄이기',
+ 'Increase': '늘리기',
+ 'Decrease by {0}': '{0} 줄이기',
+ 'Increase by {0}': '{0} 늘리기',
+ 'Clear': '지우기',
+ 'QR code': 'QR 코드',
+ 'Delete weigh-in': '체중 기록 삭제',
+ 'Green': '초록',
+ 'Blue': '파랑',
+ 'Orange': '주황',
+ 'Purple': '보라',
+ 'Pink': '분홍',
+ 'Red': '빨강',
+ 'Teal': '청록',
+ 'Yellow': '노랑',
+ 'Enter how long it took — at least 1 minute.': '걸린 시간을 입력하세요 — 최소 1분.',
}
diff --cc frontend/src/locales/pl.js
index e35d9fabb,fcc61929a..ada4f393e
--- a/frontend/src/locales/pl.js
+++ b/frontend/src/locales/pl.js
@@@ -1622,10 -1622,36 +1622,42 @@@ export default
'Its {0} photos or videos are deleted with it.': 'Zdjęcia lub filmy ({0}) też zostaną usunięte.',
'Its photo or video moves to the new workout.': 'Zdjęcie lub film przejdzie do nowego treningu.',
'Its {0} photos or videos move to the new workout.': 'Zdjęcia lub filmy ({0}) przejdą do nowego treningu.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'Na serwerze jest 1 trening, którego nie ma w tej kopii – zapisany później lub na innym urządzeniu. Zastąpienie go usunie.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'Na serwerze jest {0} treningów, których nie ma w tej kopii – zapisanych później lub na innym urządzeniu. Zastąpienie je usunie.',
+ 'Replace anyway': 'Zastąp mimo to',
+ 'Merge them in': 'Scal je',
+ 'Waiting for your answer about this device’s workouts': 'Czeka na Twoją odpowiedź w sprawie treningów z tego urządzenia',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'Nic się nie synchronizuje, dopóki nie zdecydujesz, czy treningi z tego urządzenia trafią do profilu – dotknij, aby odpowiedzieć.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'Użyj w tym treningu',
+ 'Add to this workout': 'Dodaj do tego treningu',
+ 'No weight to enter — just time the hold.': 'Bez ciężaru do wpisania — mierz tylko czas utrzymania.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'odcisk palca lub rozpoznawanie twarzy',
+ 'your fingerprint, face or PIN': 'odcisk palca, twarz lub PIN',
+ 'iCloud Keychain': 'pęk kluczy iCloud',
+ 'Google Password Manager': 'Menedżer haseł Google',
+ 'your password manager': 'Twój menedżer haseł',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'Poprzedni tydzień',
+ 'Next week': 'Następny tydzień',
+ 'Previous month': 'Poprzedni miesiąc',
+ 'Next month': 'Następny miesiąc',
+ 'Decrease': 'Zmniejsz',
+ 'Increase': 'Zwiększ',
+ 'Decrease by {0}': 'Zmniejsz o {0}',
+ 'Increase by {0}': 'Zwiększ o {0}',
+ 'Clear': 'Wyczyść',
+ 'QR code': 'Kod QR',
+ 'Delete weigh-in': 'Usuń pomiar wagi',
+ 'Green': 'Zielony',
+ 'Blue': 'Niebieski',
+ 'Orange': 'Pomarańczowy',
+ 'Purple': 'Fioletowy',
+ 'Pink': 'Różowy',
+ 'Red': 'Czerwony',
+ 'Teal': 'Turkusowy',
+ 'Yellow': 'Żółty',
+ 'Enter how long it took — at least 1 minute.': 'Wpisz, ile to trwało — co najmniej 1 minutę.',
}
diff --cc frontend/src/locales/pt-BR.js
index e8b3a6566,caa1c7ad0..06c739813
--- a/frontend/src/locales/pt-BR.js
+++ b/frontend/src/locales/pt-BR.js
@@@ -967,12 -967,38 +967,44 @@@ export const PT_BR_OVERRIDES =
'A progress photo or a form-check video, kept with this workout.': 'Uma foto de progresso ou um vídeo para conferir a técnica, salvos com este treino.',
'Its photo or video is deleted with it.': 'A foto ou o vídeo dele também é excluído.',
'Its {0} photos or videos are deleted with it.': 'As {0} fotos ou vídeos dele também são excluídos.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'O servidor tem 1 treino que não está neste backup, registrado depois dele ou em outro dispositivo. Substituir exclui esse treino.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'O servidor tem {0} treinos que não estão neste backup, registrados depois dele ou em outro dispositivo. Substituir exclui esses treinos.',
+ 'Replace anyway': 'Substituir mesmo assim',
+ 'Merge them in': 'Juntar os treinos',
+ 'Waiting for your answer about this device’s workouts': 'Aguardando sua resposta sobre os treinos deste dispositivo',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'Nada é sincronizado até você dizer se os treinos deste dispositivo vão para o seu perfil — toque para responder.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'Usar neste treino',
+ 'Add to this workout': 'Adicionar a este treino',
+ 'No weight to enter — just time the hold.': 'Sem peso para informar — só cronometre a sustentação.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'impressão digital ou desbloqueio facial',
+ 'your fingerprint, face or PIN': 'sua impressão digital, rosto ou PIN',
+ 'iCloud Keychain': 'Chaves do iCloud',
+ 'Google Password Manager': 'Gerenciador de senhas do Google',
+ 'your password manager': 'seu gerenciador de senhas',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'Semana anterior',
+ 'Next week': 'Próxima semana',
+ 'Previous month': 'Mês anterior',
+ 'Next month': 'Próximo mês',
+ 'Decrease': 'Diminuir',
+ 'Increase': 'Aumentar',
+ 'Decrease by {0}': 'Diminuir {0}',
+ 'Increase by {0}': 'Aumentar {0}',
+ 'Clear': 'Limpar',
+ 'QR code': 'QR code',
+ 'Delete weigh-in': 'Excluir pesagem',
+ 'Green': 'Verde',
+ 'Blue': 'Azul',
+ 'Orange': 'Laranja',
+ 'Purple': 'Roxo',
+ 'Pink': 'Rosa',
+ 'Red': 'Vermelho',
+ 'Teal': 'Turquesa',
+ 'Yellow': 'Amarelo',
+ 'Enter how long it took — at least 1 minute.': 'Informe quanto tempo levou — pelo menos 1 minuto.',
}
export default { ...pt, ...PT_BR_OVERRIDES }
diff --cc frontend/src/locales/pt.js
index 49e34042d,6ae5f7275..9c6214514
--- a/frontend/src/locales/pt.js
+++ b/frontend/src/locales/pt.js
@@@ -1622,10 -1622,36 +1622,42 @@@ export default
'Its {0} photos or videos are deleted with it.': 'As {0} fotos ou vídeos dele também são eliminados.',
'Its photo or video moves to the new workout.': 'A foto ou o vídeo dele passa para o novo treino.',
'Its {0} photos or videos move to the new workout.': 'As {0} fotos ou vídeos dele passam para o novo treino.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'O servidor tem 1 treino que não está nesta cópia, registado depois dela ou noutro dispositivo. Substituir elimina-o.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'O servidor tem {0} treinos que não estão nesta cópia, registados depois dela ou noutro dispositivo. Substituir elimina-os.',
+ 'Replace anyway': 'Substituir mesmo assim',
+ 'Merge them in': 'Juntá-los',
+ 'Waiting for your answer about this device’s workouts': 'À espera da tua resposta sobre os treinos deste dispositivo',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'Nada é sincronizado até dizeres se os treinos deste dispositivo vão para o teu perfil — toca para responder.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'Usar neste treino',
+ 'Add to this workout': 'Adicionar a este treino',
+ 'No weight to enter — just time the hold.': 'Sem peso para indicar — cronometra apenas a sustentação.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'impressão digital ou desbloqueio facial',
+ 'your fingerprint, face or PIN': 'a tua impressão digital, rosto ou PIN',
+ 'iCloud Keychain': 'Porta-chaves iCloud',
+ 'Google Password Manager': 'Gestor de palavras-passe da Google',
+ 'your password manager': 'o teu gestor de palavras-passe',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'Semana anterior',
+ 'Next week': 'Semana seguinte',
+ 'Previous month': 'Mês anterior',
+ 'Next month': 'Mês seguinte',
+ 'Decrease': 'Diminuir',
+ 'Increase': 'Aumentar',
+ 'Decrease by {0}': 'Diminuir {0}',
+ 'Increase by {0}': 'Aumentar {0}',
+ 'Clear': 'Limpar',
+ 'QR code': 'Código QR',
+ 'Delete weigh-in': 'Eliminar pesagem',
+ 'Green': 'Verde',
+ 'Blue': 'Azul',
+ 'Orange': 'Laranja',
+ 'Purple': 'Roxo',
+ 'Pink': 'Rosa',
+ 'Red': 'Vermelho',
+ 'Teal': 'Turquesa',
+ 'Yellow': 'Amarelo',
+ 'Enter how long it took — at least 1 minute.': 'Indica quanto tempo demorou — pelo menos 1 minuto.',
}
diff --cc frontend/src/locales/ru.js
index 2a38d0b83,082411ae6..704a05839
--- a/frontend/src/locales/ru.js
+++ b/frontend/src/locales/ru.js
@@@ -1622,10 -1622,36 +1622,42 @@@ export default
'Its {0} photos or videos are deleted with it.': 'Фото и видео ({0}) тоже будут удалены.',
'Its photo or video moves to the new workout.': 'Фото или видео перейдёт в новую тренировку.',
'Its {0} photos or videos move to the new workout.': 'Фото и видео ({0}) перейдут в новую тренировку.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'На сервере есть 1 тренировка, которой нет в этой копии: записана позже или на другом устройстве. Замена её удалит.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'На сервере есть тренировки, которых нет в этой копии ({0}): записаны позже или на другом устройстве. Замена их удалит.',
+ 'Replace anyway': 'Всё равно заменить',
+ 'Merge them in': 'Объединить',
+ 'Waiting for your answer about this device’s workouts': 'Ждём вашего ответа о тренировках с этого устройства',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'Ничего не синхронизируется, пока вы не решите, добавлять ли тренировки с этого устройства в профиль, — нажмите, чтобы ответить.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'Использовать в этой тренировке',
+ 'Add to this workout': 'Добавить в эту тренировку',
+ 'No weight to enter — just time the hold.': 'Вес вводить не нужно — только засеките время удержания.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'отпечаток пальца или распознавание лица',
+ 'your fingerprint, face or PIN': 'отпечаток пальца, лицо или PIN-код',
+ 'iCloud Keychain': 'связка ключей iCloud',
+ 'Google Password Manager': 'Диспетчер паролей Google',
+ 'your password manager': 'ваш менеджер паролей',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'Предыдущая неделя',
+ 'Next week': 'Следующая неделя',
+ 'Previous month': 'Предыдущий месяц',
+ 'Next month': 'Следующий месяц',
+ 'Decrease': 'Уменьшить',
+ 'Increase': 'Увеличить',
+ 'Decrease by {0}': 'Уменьшить на {0}',
+ 'Increase by {0}': 'Увеличить на {0}',
+ 'Clear': 'Очистить',
+ 'QR code': 'QR-код',
+ 'Delete weigh-in': 'Удалить взвешивание',
+ 'Green': 'Зелёный',
+ 'Blue': 'Синий',
+ 'Orange': 'Оранжевый',
+ 'Purple': 'Фиолетовый',
+ 'Pink': 'Розовый',
+ 'Red': 'Красный',
+ 'Teal': 'Бирюзовый',
+ 'Yellow': 'Жёлтый',
+ 'Enter how long it took — at least 1 minute.': 'Укажите, сколько это длилось — не меньше 1 минуты.',
}
diff --cc frontend/src/locales/th.js
index 2d7fa85e5,7b8b0258b..ea7753f30
--- a/frontend/src/locales/th.js
+++ b/frontend/src/locales/th.js
@@@ -1633,10 -1633,36 +1633,42 @@@ export default
'Its {0} photos or videos are deleted with it.': 'รูปภาพหรือวิดีโอที่แนบไว้ {0} รายการจะถูกลบไปด้วย',
'Its photo or video moves to the new workout.': 'รูปภาพหรือวิดีโอที่แนบไว้จะย้ายไปยังการออกกำลังกายใหม่',
'Its {0} photos or videos move to the new workout.': 'รูปภาพหรือวิดีโอที่แนบไว้ {0} รายการจะย้ายไปยังการออกกำลังกายใหม่',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'เซิร์ฟเวอร์มีการออกกำลังกาย 1 รายการที่ไม่อยู่ในข้อมูลสำรองนี้ บันทึกหลังจากนั้นหรือบนอุปกรณ์อื่น การแทนที่จะลบรายการนั้น',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'เซิร์ฟเวอร์มีการออกกำลังกาย {0} รายการที่ไม่อยู่ในข้อมูลสำรองนี้ บันทึกหลังจากนั้นหรือบนอุปกรณ์อื่น การแทนที่จะลบรายการเหล่านั้น',
+ 'Replace anyway': 'แทนที่ต่อไป',
+ 'Merge them in': 'รวมเข้าด้วยกัน',
+ 'Waiting for your answer about this device’s workouts': 'กำลังรอคำตอบของคุณเกี่ยวกับการออกกำลังกายในอุปกรณ์นี้',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'จะไม่มีการซิงค์จนกว่าคุณจะบอกว่าจะเพิ่มการออกกำลังกายในอุปกรณ์นี้ลงในโปรไฟล์หรือไม่ — แตะเพื่อตอบ',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'ใช้ในการออกกำลังกายครั้งนี้',
+ 'Add to this workout': 'เพิ่มในการออกกำลังกายครั้งนี้',
+ 'No weight to enter — just time the hold.': 'ไม่ต้องใส่น้ำหนัก — แค่จับเวลาการค้างท่า',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'ลายนิ้วมือหรือการปลดล็อกด้วยใบหน้า',
+ 'your fingerprint, face or PIN': 'ลายนิ้วมือ ใบหน้า หรือ PIN ของคุณ',
+ 'iCloud Keychain': 'พวงกุญแจ iCloud',
+ 'Google Password Manager': 'เครื่องมือจัดการรหัสผ่านของ Google',
+ 'your password manager': 'ตัวจัดการรหัสผ่านของคุณ',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'สัปดาห์ก่อนหน้า',
+ 'Next week': 'สัปดาห์ถัดไป',
+ 'Previous month': 'เดือนก่อนหน้า',
+ 'Next month': 'เดือนถัดไป',
+ 'Decrease': 'ลด',
+ 'Increase': 'เพิ่ม',
+ 'Decrease by {0}': 'ลด {0}',
+ 'Increase by {0}': 'เพิ่ม {0}',
+ 'Clear': 'ล้าง',
+ 'QR code': 'คิวอาร์โค้ด',
+ 'Delete weigh-in': 'ลบการชั่งน้ำหนัก',
+ 'Green': 'เขียว',
+ 'Blue': 'น้ำเงิน',
+ 'Orange': 'ส้ม',
+ 'Purple': 'ม่วง',
+ 'Pink': 'ชมพู',
+ 'Red': 'แดง',
+ 'Teal': 'เขียวน้ำทะเล',
+ 'Yellow': 'เหลือง',
+ 'Enter how long it took — at least 1 minute.': 'ใส่ระยะเวลาที่ใช้ — อย่างน้อย 1 นาที',
}
diff --cc frontend/src/locales/tr.js
index cc29ca277,5e9348301..8b7e1d524
--- a/frontend/src/locales/tr.js
+++ b/frontend/src/locales/tr.js
@@@ -1622,10 -1622,36 +1622,42 @@@ export default
'Its {0} photos or videos are deleted with it.': '{0} fotoğrafı veya videosu da onunla birlikte silinir.',
'Its photo or video moves to the new workout.': 'Fotoğrafı veya videosu yeni antrenmana taşınır.',
'Its {0} photos or videos move to the new workout.': '{0} fotoğrafı veya videosu yeni antrenmana taşınır.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'Sunucuda bu yedekte olmayan 1 antrenman var; yedekten sonra ya da başka bir cihazda kaydedilmiş. Değiştirmek onu siler.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'Sunucuda bu yedekte olmayan {0} antrenman var; yedekten sonra ya da başka bir cihazda kaydedilmiş. Değiştirmek onları siler.',
+ 'Replace anyway': 'Yine de değiştir',
+ 'Merge them in': 'Birleştir',
+ 'Waiting for your answer about this device’s workouts': 'Bu cihazdaki antrenmanlar için yanıtın bekleniyor',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'Bu cihazdaki antrenmanların profiline eklenip eklenmeyeceğini söyleyene kadar hiçbir şey eşitlenmez — yanıtlamak için dokun.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'Bu antrenmanda kullan',
+ 'Add to this workout': 'Bu antrenmana ekle',
+ 'No weight to enter — just time the hold.': 'Girilecek ağırlık yok — sadece tutuşu süreyle ölç.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'parmak izi veya yüz tanıma',
+ 'your fingerprint, face or PIN': 'parmak izi, yüz veya PIN',
+ 'iCloud Keychain': 'iCloud Anahtar Zinciri',
+ 'Google Password Manager': 'Google Şifre Yöneticisi',
+ 'your password manager': 'şifre yöneticin',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'Önceki hafta',
+ 'Next week': 'Sonraki hafta',
+ 'Previous month': 'Önceki ay',
+ 'Next month': 'Sonraki ay',
+ 'Decrease': 'Azalt',
+ 'Increase': 'Artır',
+ 'Decrease by {0}': '{0} azalt',
+ 'Increase by {0}': '{0} artır',
+ 'Clear': 'Temizle',
+ 'QR code': 'QR kodu',
+ 'Delete weigh-in': 'Tartıyı sil',
+ 'Green': 'Yeşil',
+ 'Blue': 'Mavi',
+ 'Orange': 'Turuncu',
+ 'Purple': 'Mor',
+ 'Pink': 'Pembe',
+ 'Red': 'Kırmızı',
+ 'Teal': 'Turkuaz',
+ 'Yellow': 'Sarı',
+ 'Enter how long it took — at least 1 minute.': 'Ne kadar sürdüğünü gir — en az 1 dakika.',
}
diff --cc frontend/src/locales/uk.js
index 4d159c1d4,8fe0f3ff8..e83161e1f
--- a/frontend/src/locales/uk.js
+++ b/frontend/src/locales/uk.js
@@@ -1619,10 -1619,36 +1619,42 @@@ export default
'Its {0} photos or videos are deleted with it.': 'Фото й відео ({0}) теж буде видалено.',
'Its photo or video moves to the new workout.': 'Фото чи відео перейде до нового тренування.',
'Its {0} photos or videos move to the new workout.': 'Фото й відео ({0}) перейдуть до нового тренування.',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': 'На сервері є 1 тренування, якого немає в цій копії: записане пізніше або на іншому пристрої. Заміна його видалить.',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': 'На сервері є тренування, яких немає в цій копії ({0}): записані пізніше або на іншому пристрої. Заміна їх видалить.',
+ 'Replace anyway': 'Однаково замінити',
+ 'Merge them in': 'Об’єднати',
+ 'Waiting for your answer about this device’s workouts': 'Чекаємо на вашу відповідь щодо тренувань із цього пристрою',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': 'Нічого не синхронізується, доки ви не вирішите, чи додавати тренування з цього пристрою до профілю, — торкніться, щоб відповісти.',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': 'Використати в цьому тренуванні',
+ 'Add to this workout': 'Додати до цього тренування',
+ 'No weight to enter — just time the hold.': 'Вага не потрібна — лише засікай час утримання.',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': 'Face ID / Touch ID',
+ 'fingerprint or face unlock': 'відбиток пальця або розблокування обличчям',
+ 'your fingerprint, face or PIN': 'відбиток пальця, обличчя або PIN-код',
+ 'iCloud Keychain': 'Зв’язка ключів iCloud',
+ 'Google Password Manager': 'Менеджер паролів Google',
+ 'your password manager': 'твій менеджер паролів',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': 'Попередній тиждень',
+ 'Next week': 'Наступний тиждень',
+ 'Previous month': 'Попередній місяць',
+ 'Next month': 'Наступний місяць',
+ 'Decrease': 'Зменшити',
+ 'Increase': 'Збільшити',
+ 'Decrease by {0}': 'Зменшити на {0}',
+ 'Increase by {0}': 'Збільшити на {0}',
+ 'Clear': 'Очистити',
+ 'QR code': 'QR-код',
+ 'Delete weigh-in': 'Видалити зважування',
+ 'Green': 'Зелений',
+ 'Blue': 'Синій',
+ 'Orange': 'Помаранчевий',
+ 'Purple': 'Фіолетовий',
+ 'Pink': 'Рожевий',
+ 'Red': 'Червоний',
+ 'Teal': 'Бірюзовий',
+ 'Yellow': 'Жовтий',
+ 'Enter how long it took — at least 1 minute.': 'Вкажи, скільки це тривало — щонайменше 1 хвилину.',
}
diff --cc frontend/src/locales/zh.js
index cc68820fc,887b99fb8..8a916e656
--- a/frontend/src/locales/zh.js
+++ b/frontend/src/locales/zh.js
@@@ -1622,10 -1622,36 +1622,42 @@@ export default
'Its {0} photos or videos are deleted with it.': '其中的 {0} 个照片或视频也会一并删除。',
'Its photo or video moves to the new workout.': '其中的照片或视频会移到新的训练中。',
'Its {0} photos or videos move to the new workout.': '其中的 {0} 个照片或视频会移到新的训练中。',
+ 'The server has 1 workout that is not in this backup, logged since it was made or on another device. Replacing deletes it.': '服务器上有 1 次训练不在此备份中,是备份之后或在其他设备上记录的。替换会删除它。',
+ 'The server has {0} workouts that are not in this backup, logged since it was made or on another device. Replacing deletes them.': '服务器上有 {0} 次训练不在此备份中,是备份之后或在其他设备上记录的。替换会删除它们。',
+ 'Replace anyway': '仍然替换',
+ 'Merge them in': '合并进来',
+ 'Waiting for your answer about this device’s workouts': '正在等待你对本设备训练的答复',
+ 'Nothing syncs until you say whether this device’s workouts go into your profile — tap to answer.': '在你决定是否将本设备的训练加入个人资料之前,不会同步任何内容——点按以答复。',
+ // --- a swap or an add during a workout changes only this session ---
+ 'Use in this workout': '用于本次训练',
+ 'Add to this workout': '添加到本次训练',
+ 'No weight to enter — just time the hold.': '无需填写重量 — 只需为保持计时。',
+ // --- how this device confirms a passkey, and where it keeps it ---
+ 'Face ID / Touch ID': '面容 ID / 触控 ID',
+ 'fingerprint or face unlock': '指纹或人脸解锁',
+ 'your fingerprint, face or PIN': '你的指纹、面容或 PIN 码',
+ 'iCloud Keychain': 'iCloud 钥匙串',
+ 'Google Password Manager': 'Google 密码管理工具',
+ 'your password manager': '你的密码管理器',
+ // --- screen-reader labels on icon buttons ---
+ 'Previous week': '上一周',
+ 'Next week': '下一周',
+ 'Previous month': '上个月',
+ 'Next month': '下个月',
+ 'Decrease': '减少',
+ 'Increase': '增加',
+ 'Decrease by {0}': '减少 {0}',
+ 'Increase by {0}': '增加 {0}',
+ 'Clear': '清除',
+ 'QR code': '二维码',
+ 'Delete weigh-in': '删除称重记录',
+ 'Green': '绿色',
+ 'Blue': '蓝色',
+ 'Orange': '橙色',
+ 'Purple': '紫色',
+ 'Pink': '粉色',
+ 'Red': '红色',
+ 'Teal': '青色',
+ 'Yellow': '黄色',
+ 'Enter how long it took — at least 1 minute.': '请输入用时 — 至少 1 分钟。',
}
diff --cc frontend/src/sheets.jsx
index 004835198,d471cdb95..2ed88722a
--- a/frontend/src/sheets.jsx
+++ b/frontend/src/sheets.jsx
@@@ -3,10 -3,10 +3,10 @@@ import { useStore } from './store/useSt
import { useUI } from './store/useUI.js'
import { EXDB, EXIDX, BODYPARTS, isCardio, isBodyweightEq, allExercises, equipmentOf, smOf, searchExercises, exOr, isAssisted, betterWeight, beatsWeight } from './lib/exercises.js'
import { activeProfile, exAvailable, ALL_EQUIPMENT, newProfile } from './lib/equipment.js'
-import { fmtDate, fmtNum, fmtPlate, exerciseNameText, fmtVol, fmtDur, durPart, todayISO, isoOf, uid, exCount, routineCount, setsWorkCount, DAYN, DAYS, weekOrder, weekStartOf, weekDayOffset, MONTHS_LONG, ACCENTS } from './lib/format.js'
+import { fmtDate, fmtDateRange, fmtNum, fmtPlate, exerciseNameText, fmtVol, fmtDur, durPart, todayISO, isoOf, uid, exCount, routineCount, setsWorkCount, DAYN, DAYS, weekOrder, weekStartOf, weekDayOffset, MONTHS_LONG, ACCENTS } from './lib/format.js'
import { lastEntryFor, bestWeightFor, bestWeightForEntry, buildSets, effectiveRoutineIds, workoutDay, workoutVolume, setsDone, setsDoneActive, setUnitsTotal, lastBW, supersetUnits, sessionSections, unitOf, setLabel, defaultConfig, cleanupSg, modeOf, effortOf, EFFORT, capEffort, stepEffort, isBw, isPerSide, sideReps, workSetsDone, applyIntensifierPlan, MAX_PLANNED_WARMUPS, NOTE_MAX } from './lib/history.js'
import { usesBar, defaultBarWeight, hasBarOverride, isNoBar } from './lib/bar.js'
- import { PLATE_SIZES, pairsOf, ownsPlates, withPlatePairs, withStandardPlates, withLoadKind, loadKindFor, baseWeightFor } from './lib/plates.js'
+ import { PLATE_SIZES, pairsOf, ownsPlates, withPlatePairs, withStandardPlates, withLoadKind, loadKindFor, baseWeightFor, dropGrid } from './lib/plates.js'
import { toScale, rirOf, EFFORT_PRESETS, effortColor } from './lib/effort.js'
import { beep, vibrate } from './lib/sound.js'
import { t, dateLocale, instrFor, exerciseNameFor, exerciseNameClass, getLang, INSTR_LANGS } from './lib/i18n.js'
@@@ -2633,12 -2649,14 +2649,17 @@@ function doFinishWorkout()
snapshotFor: e => EXIDX[e.id]?.custom ? exerciseMuscleSnapshot(EXIDX[e.id]) : null,
})
w.vol = workoutVolume(w)
+ let shown = w
update(s => {
if (past) {
+ // Its start and end are in the past; the stamp says when it was logged, which is what a
+ // merge after a reset elsewhere asks of it (lib/sync-merge.js sinceReset).
+ stampWorkout(w)
- s.workouts = completeBackfill(s.workouts, A, w)
+ const replaced = A.backfill.replaceId ? s.workouts.find(x => x.id === A.backfill.replaceId) : null
+ const touched = [...new Set([...(replaced?.entries || []), ...w.entries].map(e => e?.id).filter(id => id != null))]
+ s.workouts = rebuildPrHistory(completeBackfill(s.workouts, A, w), touched, w)
+ shown = s.workouts.find(x => x === w || (w.id != null && x.id === w.id)) || w
+ prs.push(...[...(shown.prs || [])])
} else {
w.entries.forEach(e => {
const mx = bestWeightForEntry(e)
diff --cc frontend/src/views/Settings.reset.test.jsx
index 73007d4fc,f6a2e91ba..bc67eb3ce
--- a/frontend/src/views/Settings.reset.test.jsx
+++ b/frontend/src/views/Settings.reset.test.jsx
@@@ -96,10 -94,10 +96,10 @@@ describe('Settings — reset everything
mount()
const dialog = openDialog()
expect(dialog.title).toBe('Reset everything?')
- expect(dialog.message).toBe('Deletes your plan, workouts and body weight on this device. This cannot be undone.')
+ expect(dialog.message).toBe('Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.')
act(() => { dialog.onConfirm() })
- expect(mocks.replaceState).toHaveBeenCalledTimes(1)
- expect(mocks.replaceState.mock.calls[0]).toEqual([{ reminder: { time: '17:30' }, workouts: [] }, true])
+ // the store's reset: the empty copy, stamped (useStore resetEverything)
+ expect(mocks.resetEverything).toHaveBeenCalledTimes(1)
expect(serverForgetCalls()).toHaveLength(0)
expect(mocks.forgetCoach).not.toHaveBeenCalled()
expect(mocks.toast).toHaveBeenCalledWith('All data reset')
@@@ -149,6 -148,14 +149,14 @@@
act(() => { dialog.onConfirm() })
expect(serverForgetCalls()).toHaveLength(0)
expect(mocks.forgetCoach).toHaveBeenCalledTimes(1)
- expect(mocks.replaceState).toHaveBeenCalledTimes(1)
+ expect(mocks.resetEverything).toHaveBeenCalledTimes(1)
})
})
+
+ describe('Settings — footer', () => {
+ it('links the source code to its home on GitHub', () => {
+ mount()
+ const link = [...host.querySelectorAll('a')].find(a => a.textContent === 'source code')
+ expect(link.getAttribute('href')).toBe('https://github.com/DuarteSantos8/openGym')
+ })
+ })