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.

Settings: the reset warning says photos and videos go too; the source code link points at GitHub

Duarte Santos8a8f95e2c13b
diff --git a/frontend/src/locales/ar.js b/frontend/src/locales/ar.js
index 1c443b6e4..9cfdf99fb 100644
--- a/frontend/src/locales/ar.js
+++ b/frontend/src/locales/ar.js
@@ -313,7 +313,7 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': 'يحفظ نسخة مؤرخة في مجلد «المستندات/openGym» بعد إنهاء تمرين أو تعديل روتين، ويحتفظ بأحدث {0} نسخة — وجّه تطبيق مزامنة إلى هذا المجلد أو انسخها يدويًا.',
'Reset everything?': 'إعادة تعيين كل شيء؟',
'Reset everything': 'إعادة تعيين كل شيء',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'يحذف خطتك وتمارينك ووزن جسمك على هذا الجهاز. لا يمكن التراجع عن هذا.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'يحذف خطتك وتمارينك ووزن جسمك والصور ومقاطع الفيديو على هذا الجهاز. لا يمكن التراجع عن هذا.',
'Delete everything': 'حذف كل شيء',
'All data reset': 'تمت إعادة تعيين جميع البيانات',
'Backup exported': 'تم تصدير النسخة الاحتياطية',
@@ -1275,7 +1275,7 @@ export default {
'{0} %': '{0} %',
'{0} MB': '{0} م.ب',
'Checksum not available — not installing': 'البصمة غير متاحة — لن يتم التثبيت',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'يحذف خطتك وتدريباتك ووزن جسمك من ملفك على هذا الخادم وعلى كل جهاز مسجَّل الدخول. لا يمكن التراجع عن هذا.',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'يحذف خطتك وتدريباتك ووزن جسمك والصور ومقاطع الفيديو من ملفك على هذا الخادم وعلى كل جهاز مسجَّل الدخول. لا يمكن التراجع عن هذا.',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'فشلت المزامنة: رفض الخادم الرفع لأنه كبير جدًا. لم تصل تغييراتك إلى الخادم.',
'Add routine': 'إضافة روتين',
'Bring another routine into this session': 'أضف روتينًا آخر إلى هذه الجلسة',
diff --git a/frontend/src/locales/de.js b/frontend/src/locales/de.js
index fc9684c7d..bfa014a4b 100644
--- a/frontend/src/locales/de.js
+++ b/frontend/src/locales/de.js
@@ -473,8 +473,8 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': 'Speichert nach jedem beendeten Training oder jeder bearbeiteten Routine eine datierte Kopie im Ordner „Dokumente/openGym“ und behält die neuesten {0} — richte eine Sync-App auf diesen Ordner aus oder kopiere die Datei von Hand.',
'Reset everything?': 'Alles zurücksetzen?',
'Reset everything': 'Alles zurücksetzen',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Löscht Plan, Trainings und Körpergewicht auf diesem Gerät. Das kann nicht rückgängig gemacht werden.',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'Löscht Plan, Trainings und Körpergewicht aus deinem Profil auf diesem Server und auf allen angemeldeten Geräten. Das kann nicht rückgängig gemacht werden.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'Löscht Plan, Trainings, Körpergewicht, Fotos und Videos auf diesem Gerät. Das kann nicht rückgängig gemacht werden.',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'Löscht Plan, Trainings, Körpergewicht, Fotos und Videos aus deinem Profil auf diesem Server und auf allen angemeldeten Geräten. Das kann nicht rückgängig gemacht werden.',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'Synchronisierung fehlgeschlagen: Der Server hat den Upload als zu groß abgelehnt. Deine Änderungen sind noch nicht auf dem Server angekommen.',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': 'Auf diesem Gerät ist kein Speicher mehr frei: Die Änderung ist nicht auf ihm gespeichert. Angemeldet geht sie trotzdem an den Server.',
'Delete everything': 'Alles löschen',
diff --git a/frontend/src/locales/es.js b/frontend/src/locales/es.js
index bed0c468f..34d758425 100644
--- a/frontend/src/locales/es.js
+++ b/frontend/src/locales/es.js
@@ -458,8 +458,8 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': 'Guarda una copia fechada en la carpeta Documentos/openGym al terminar un entrenamiento o editar una rutina, y conserva las {0} más recientes — apunta una app de sincronización a esa carpeta, o copia el archivo a mano.',
'Reset everything?': '¿Restablecer todo?',
'Reset everything': 'Restablecer todo',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Elimina tu plan, entrenamientos y peso corporal en este dispositivo. No se puede deshacer.',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'Elimina tu plan, entrenamientos y peso corporal de tu perfil en este servidor y en todos los dispositivos con sesión iniciada. No se puede deshacer.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'Elimina tu plan, entrenamientos, peso corporal, fotos y vídeos en este dispositivo. No se puede deshacer.',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'Elimina tu plan, entrenamientos, peso corporal, fotos y vídeos de tu perfil en este servidor y en todos los dispositivos con sesión iniciada. No se puede deshacer.',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'Error de sincronización: el servidor rechazó la subida por ser demasiado grande. Tus cambios no han llegado al servidor.',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': 'A este dispositivo no le queda almacenamiento: el cambio no está guardado en él. Con la sesión iniciada, llega igualmente al servidor.',
'Delete everything': 'Eliminar todo',
diff --git a/frontend/src/locales/fr.js b/frontend/src/locales/fr.js
index e70f4ebfd..e7d484d36 100644
--- a/frontend/src/locales/fr.js
+++ b/frontend/src/locales/fr.js
@@ -458,8 +458,8 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': 'Enregistre une copie datée dans le dossier Documents/openGym après chaque entraînement terminé ou modification de routine, et garde les {0} plus récentes — pointez une appli de synchronisation sur ce dossier, ou copiez le fichier à la main.',
'Reset everything?': 'Tout réinitialiser ?',
'Reset everything': 'Tout réinitialiser',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Supprime ton plan, tes séances et ton poids corporel sur cet appareil. Irréversible.',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'Supprime ton plan, tes séances et ton poids corporel de ton profil sur ce serveur et sur tous les appareils connectés. Irréversible.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'Supprime ton plan, tes séances, ton poids corporel, tes photos et tes vidéos sur cet appareil. Irréversible.',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'Supprime ton plan, tes séances, ton poids corporel, tes photos et tes vidéos de ton profil sur ce serveur et sur tous les appareils connectés. Irréversible.',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'Échec de la synchronisation : le serveur a refusé l’envoi, trop volumineux. Tes modifications n’ont pas atteint le serveur.',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': 'Cet appareil n’a plus d’espace de stockage : la modification n’y est pas enregistrée. Connecté, elle part quand même vers le serveur.',
'Delete everything': 'Tout supprimer',
diff --git a/frontend/src/locales/hi.js b/frontend/src/locales/hi.js
index 63054da5a..65e6172d2 100644
--- a/frontend/src/locales/hi.js
+++ b/frontend/src/locales/hi.js
@@ -458,8 +458,8 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': 'वर्कआउट खत्म करने या रूटीन एडिट करने के बाद Documents/openGym फ़ोल्डर में तारीख़ वाली कॉपी सेव करता है और सबसे नई {0} कॉपी रखता है — उस फ़ोल्डर पर कोई सिंक ऐप लगाएं, या फ़ाइल को हाथ से कॉपी करें।',
'Reset everything?': 'सब कुछ रीसेट करें?',
'Reset everything': 'सब कुछ रीसेट करें',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'इस डिवाइस पर आपकी योजना, वर्कआउट और वज़न हट जाएँगे। इसे पूर्ववत नहीं किया जा सकता।',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'इस सर्वर पर आपकी प्रोफ़ाइल से और साइन इन किए हुए सभी डिवाइस से आपकी योजना, वर्कआउट और वज़न हट जाएँगे। इसे पूर्ववत नहीं किया जा सकता।',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'इस डिवाइस पर आपकी योजना, वर्कआउट, वज़न, फ़ोटो और वीडियो हट जाएँगे। इसे पूर्ववत नहीं किया जा सकता।',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'इस सर्वर पर आपकी प्रोफ़ाइल से और साइन इन किए हुए सभी डिवाइस से आपकी योजना, वर्कआउट, वज़न, फ़ोटो और वीडियो हट जाएँगे। इसे पूर्ववत नहीं किया जा सकता।',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'सिंक विफल: सर्वर ने अपलोड को बहुत बड़ा बताकर अस्वीकार कर दिया। आपके बदलाव सर्वर तक नहीं पहुँचे हैं।',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': 'इस डिवाइस में जगह नहीं बची: बदलाव इस पर सेव नहीं हुआ है। साइन इन होने पर यह फिर भी सर्वर तक पहुँच जाएगा।',
'Delete everything': 'सब हटाएँ',
diff --git a/frontend/src/locales/hu.js b/frontend/src/locales/hu.js
index 6b2d555c1..5619a3ece 100644
--- a/frontend/src/locales/hu.js
+++ b/frontend/src/locales/hu.js
@@ -458,8 +458,8 @@ export default {
'Auto-backup on changes': 'Automatikus mentés módosításkor',
'Reset everything?': 'Mindent visszaállítasz?',
'Reset everything': 'Minden visszaállítása',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Törli a terved, edzéseid és testsúlyod ezen az eszközön. Ez nem vonható vissza.',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'Törli a terved, edzéseid és testsúlyod a profilodból ezen a szerveren és minden bejelentkezett eszközön. Ez nem vonható vissza.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'Törli a terved, edzéseid, testsúlyod, fotóid és videóid ezen az eszközön. Ez nem vonható vissza.',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'Törli a terved, edzéseid, testsúlyod, fotóid és videóid a profilodból ezen a szerveren és minden bejelentkezett eszközön. Ez nem vonható vissza.',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'A szinkronizálás nem sikerült: a szerver túl nagynak találta a feltöltést és elutasította. A módosításaid nem jutottak el a szerverre.',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': 'Ezen az eszközön elfogyott a tárhely: a módosítás nincs rajta elmentve. Bejelentkezve így is eljut a kiszolgálóra.',
'Delete everything': 'Minden törlése',
diff --git a/frontend/src/locales/it.js b/frontend/src/locales/it.js
index 13cf09db4..7f83a6a04 100644
--- a/frontend/src/locales/it.js
+++ b/frontend/src/locales/it.js
@@ -458,8 +458,8 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': "Salva una copia datata nella cartella Documenti/openGym dopo aver terminato un allenamento o modificato una routine, e tiene le {0} più recenti — punta un'app di sincronizzazione su quella cartella, oppure copia il file a mano.",
'Reset everything?': 'Azzerare tutto?',
'Reset everything': 'Azzera tutto',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Elimina piano, allenamenti e peso corporeo su questo dispositivo. Irreversibile.',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'Elimina piano, allenamenti e peso corporeo dal tuo profilo su questo server e su tutti i dispositivi connessi. Irreversibile.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'Elimina piano, allenamenti, peso corporeo, foto e video su questo dispositivo. Irreversibile.',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'Elimina piano, allenamenti, peso corporeo, foto e video dal tuo profilo su questo server e su tutti i dispositivi connessi. Irreversibile.',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'Sincronizzazione fallita: il server ha rifiutato il caricamento perché troppo grande. Le tue modifiche non hanno raggiunto il server.',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': 'Questo dispositivo non ha più spazio: la modifica non è salvata su di esso. Se hai effettuato l’accesso, arriva comunque al server.',
'Delete everything': 'Elimina tutto',
diff --git a/frontend/src/locales/ko.js b/frontend/src/locales/ko.js
index 8b8d5cc3a..7aa730641 100644
--- a/frontend/src/locales/ko.js
+++ b/frontend/src/locales/ko.js
@@ -458,8 +458,8 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': '운동을 마치거나 루틴을 수정한 뒤 날짜가 적힌 사본을 문서/openGym 폴더에 저장하고 최근 {0}개만 남깁니다 — 동기화 앱이 그 폴더를 보게 하거나 파일을 직접 복사하세요.',
'Reset everything?': '전부 초기화할까요?',
'Reset everything': '전부 초기화',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': '이 기기의 계획, 운동, 체중을 삭제합니다. 되돌릴 수 없어요.',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': '이 서버의 프로필과 로그인된 모든 기기에서 계획, 운동, 체중을 삭제합니다. 되돌릴 수 없어요.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': '이 기기의 계획, 운동, 체중, 사진과 동영상을 삭제합니다. 되돌릴 수 없어요.',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': '이 서버의 프로필과 로그인된 모든 기기에서 계획, 운동, 체중, 사진과 동영상을 삭제합니다. 되돌릴 수 없어요.',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': '동기화 실패: 서버가 업로드가 너무 크다며 거부했습니다. 변경 내용이 서버에 반영되지 않았습니다.',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': '이 기기에 저장 공간이 없습니다: 변경 내용이 기기에 저장되지 않았습니다. 로그인 상태라면 서버로는 그대로 전송됩니다.',
'Delete everything': '전부 삭제',
diff --git a/frontend/src/locales/pl.js b/frontend/src/locales/pl.js
index 1e01f24d3..fcc61929a 100644
--- a/frontend/src/locales/pl.js
+++ b/frontend/src/locales/pl.js
@@ -458,8 +458,8 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': 'Zapisuje datowaną kopię w folderze Dokumenty/openGym po zakończeniu treningu lub edycji rutyny i zachowuje {0} najnowszych — wskaż ten folder aplikacji synchronizującej albo skopiuj plik ręcznie.',
'Reset everything?': 'Zresetować wszystko?',
'Reset everything': 'Zresetuj wszystko',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Usuwa plan, treningi i masę ciała na tym urządzeniu. Nie można tego cofnąć.',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'Usuwa plan, treningi i masę ciała z profilu na tym serwerze i ze wszystkich zalogowanych urządzeń. Nie można tego cofnąć.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'Usuwa plan, treningi, masę ciała, zdjęcia i filmy na tym urządzeniu. Nie można tego cofnąć.',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'Usuwa plan, treningi, masę ciała, zdjęcia i filmy z profilu na tym serwerze i ze wszystkich zalogowanych urządzeń. Nie można tego cofnąć.',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'Synchronizacja nie powiodła się: serwer odrzucił przesyłanie jako zbyt duże. Twoje zmiany nie dotarły na serwer.',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': 'To urządzenie nie ma już miejsca: zmiana nie jest na nim zapisana. Po zalogowaniu trafi jednak na serwer.',
'Delete everything': 'Usuń wszystko',
diff --git a/frontend/src/locales/pt-BR.js b/frontend/src/locales/pt-BR.js
index 5365d0eb7..caa1c7ad0 100644
--- a/frontend/src/locales/pt-BR.js
+++ b/frontend/src/locales/pt-BR.js
@@ -125,8 +125,8 @@ export const PT_BR_OVERRIDES = {
'Import backup': 'Importar backup',
'Reset everything?': 'Redefinir tudo?',
'Reset everything': 'Redefinir tudo',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Exclui seu plano, seus treinos e seu peso corporal deste dispositivo. Esta ação não pode ser desfeita.',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'Exclui seu plano, seus treinos e seu peso corporal do seu perfil neste servidor e de todos os dispositivos conectados. Esta ação não pode ser desfeita.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'Exclui seu plano, seus treinos, seu peso corporal, suas fotos e seus vídeos deste dispositivo. Esta ação não pode ser desfeita.',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'Exclui seu plano, seus treinos, seu peso corporal, suas fotos e seus vídeos do seu perfil neste servidor e de todos os dispositivos conectados. Esta ação não pode ser desfeita.',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'A sincronização falhou: o servidor recusou o envio por ser grande demais. Suas alterações não chegaram ao servidor.',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': 'Este dispositivo está sem espaço: a alteração não está salva nele. Com a sessão iniciada, ela chega ao servidor de qualquer forma.',
'Delete everything': 'Excluir tudo',
diff --git a/frontend/src/locales/pt.js b/frontend/src/locales/pt.js
index 0fbe3e9e3..6ae5f7275 100644
--- a/frontend/src/locales/pt.js
+++ b/frontend/src/locales/pt.js
@@ -458,8 +458,8 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': 'Guarda uma cópia datada na pasta Documentos/openGym após terminar um treino ou editar uma rotina e mantém as {0} mais recentes — aponta uma app de sincronização para essa pasta, ou copia o ficheiro à mão.',
'Reset everything?': 'Repor tudo?',
'Reset everything': 'Repor tudo',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Elimina o teu plano, treinos e peso corporal neste dispositivo. Não pode ser anulado.',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'Elimina o teu plano, treinos e peso corporal do teu perfil neste servidor e em todos os dispositivos com sessão iniciada. Não pode ser anulado.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'Elimina o teu plano, treinos, peso corporal, fotos e vídeos neste dispositivo. Não pode ser anulado.',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'Elimina o teu plano, treinos, peso corporal, fotos e vídeos do teu perfil neste servidor e em todos os dispositivos com sessão iniciada. Não pode ser anulado.',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'A sincronização falhou: o servidor recusou o envio por ser demasiado grande. As tuas alterações não chegaram ao servidor.',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': 'Este dispositivo não tem espaço livre: a alteração não está guardada nele. Com sessão iniciada, chega ainda assim ao servidor.',
'Delete everything': 'Eliminar tudo',
diff --git a/frontend/src/locales/ru.js b/frontend/src/locales/ru.js
index a40d0feed..082411ae6 100644
--- a/frontend/src/locales/ru.js
+++ b/frontend/src/locales/ru.js
@@ -458,8 +458,8 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': 'Сохраняет копию с датой в папку «Документы/openGym» после завершения тренировки или редактирования программы и хранит {0} последних — направьте на эту папку приложение синхронизации или скопируйте файл вручную.',
'Reset everything?': 'Сбросить всё?',
'Reset everything': 'Сбросить всё',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Удаляет план, тренировки и вес тела на этом устройстве. Отменить нельзя.',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'Удаляет план, тренировки и вес тела из профиля на этом сервере и со всех устройств, где выполнен вход. Отменить нельзя.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'Удаляет план, тренировки, вес тела, фото и видео на этом устройстве. Отменить нельзя.',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'Удаляет план, тренировки, вес тела, фото и видео из профиля на этом сервере и со всех устройств, где выполнен вход. Отменить нельзя.',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'Синхронизация не удалась: сервер отклонил загрузку как слишком большую. Твои изменения не дошли до сервера.',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': 'На этом устройстве нет места: изменение на нём не сохранено. Если вы вошли в аккаунт, оно всё равно уйдёт на сервер.',
'Delete everything': 'Удалить всё',
diff --git a/frontend/src/locales/th.js b/frontend/src/locales/th.js
index 348a842de..7b8b0258b 100644
--- a/frontend/src/locales/th.js
+++ b/frontend/src/locales/th.js
@@ -458,8 +458,8 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': 'บันทึกสำเนาที่มีวันที่กำกับไว้ในโฟลเดอร์ Documents/openGym หลังจบการออกกำลังกายหรือแก้ไขรูทีน และเก็บไว้เฉพาะ {0} ฉบับล่าสุด — ตั้งแอปซิงก์ให้ชี้มาที่โฟลเดอร์นี้ หรือคัดลอกออกไปเองก็ได้',
'Reset everything?': 'รีเซ็ตทุกอย่าง?',
'Reset everything': 'รีเซ็ตทุกอย่าง',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'จะลบแผน, การออกกำลังกาย และน้ำหนักตัวบนเครื่องนี้ ไม่สามารถย้อนกลับได้',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'จะลบแผน, การออกกำลังกาย และน้ำหนักตัวออกจากโปรไฟล์ของคุณบนเซิร์ฟเวอร์นี้ และจากทุกอุปกรณ์ที่เข้าสู่ระบบอยู่ ไม่สามารถย้อนกลับได้',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'จะลบแผน, การออกกำลังกาย, น้ำหนักตัว, รูปภาพ และวิดีโอบนเครื่องนี้ ไม่สามารถย้อนกลับได้',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'จะลบแผน, การออกกำลังกาย, น้ำหนักตัว, รูปภาพ และวิดีโอออกจากโปรไฟล์ของคุณบนเซิร์ฟเวอร์นี้ และจากทุกอุปกรณ์ที่เข้าสู่ระบบอยู่ ไม่สามารถย้อนกลับได้',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'ซิงค์ไม่สำเร็จ: เซิร์ฟเวอร์ปฏิเสธการอัปโหลดเพราะข้อมูลใหญ่เกินไป การเปลี่ยนแปลงของคุณยังไม่ถึงเซิร์ฟเวอร์',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': 'อุปกรณ์นี้ไม่มีที่ว่างเหลือ: การเปลี่ยนแปลงไม่ได้บันทึกไว้บนอุปกรณ์ หากลงชื่อเข้าใช้อยู่ ข้อมูลจะยังถูกส่งไปที่เซิร์ฟเวอร์',
'Delete everything': 'ลบทุกอย่าง',
diff --git a/frontend/src/locales/tr.js b/frontend/src/locales/tr.js
index 8d860f5b2..5e9348301 100644
--- a/frontend/src/locales/tr.js
+++ b/frontend/src/locales/tr.js
@@ -458,8 +458,8 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': 'Bir antrenmanı bitirdikten veya bir rutini düzenledikten sonra Belgeler/openGym klasörüne tarihli bir kopya kaydeder ve en yeni {0} kopyayı tutar — bir senkronizasyon uygulamasını bu klasöre yönlendir ya da dosyayı elle kopyala.',
'Reset everything?': 'Her şey sıfırlansın mı?',
'Reset everything': 'Her şeyi sıfırla',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Bu cihazdaki planını, antrenmanlarını ve vücut ağırlığını siler. Geri alınamaz.',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': 'Bu sunucudaki profilinden ve oturum açılmış tüm cihazlardan planını, antrenmanlarını ve vücut ağırlığını siler. Geri alınamaz.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'Bu cihazdaki planını, antrenmanlarını, vücut ağırlığını, fotoğraflarını ve videolarını siler. Geri alınamaz.',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'Bu sunucudaki profilinden ve oturum açılmış tüm cihazlardan planını, antrenmanlarını, vücut ağırlığını, fotoğraflarını ve videolarını siler. Geri alınamaz.',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': 'Eşitleme başarısız: sunucu yüklemeyi çok büyük diye reddetti. Değişikliklerin sunucuya ulaşmadı.',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': 'Bu cihazda yer kalmadı: değişiklik cihaza kaydedilmedi. Oturum açıkken sunucuya yine de gidiyor.',
'Delete everything': 'Her şeyi sil',
diff --git a/frontend/src/locales/uk.js b/frontend/src/locales/uk.js
index a10649538..8fe0f3ff8 100644
--- a/frontend/src/locales/uk.js
+++ b/frontend/src/locales/uk.js
@@ -297,7 +297,7 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': 'Зберігає копію з датою в папку «Документи/openGym» після завершення тренування або редагування програми й тримає {0} найновіших — спрямуй на цю папку застосунок синхронізації або скопіюй файл вручну.',
'Reset everything?': 'Скинути все?',
'Reset everything': 'Скинути все',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Видаляє план, тренування та вагу тіла на цьому пристрої. Скасувати неможливо.',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': 'Видаляє план, тренування, вагу тіла, фото й відео на цьому пристрої. Скасувати неможливо.',
'Delete everything': 'Видалити все',
'All data reset': 'Усі дані скинуто',
'Backup exported': 'Копію експортовано',
@@ -1156,7 +1156,7 @@ export default {
"No entries yet — log your weight to start the curve.": "Записів поки немає — внеси вагу, щоб почати криву.",
"Play sounds when the phone is on silent": "Відтворювати звуки в беззвучному режимі",
"Music playing on this phone stops during a workout and does not resume by itself.": "Музика, що грає на цьому телефоні, зупиняється під час тренування і сама не відновлюється.",
- "Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.": "Видаляє план, тренування та вагу тіла з профілю на цьому сервері й на всіх пристроях, де виконано вхід. Скасувати неможливо.",
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': 'Видаляє план, тренування, вагу тіла, фото й відео з профілю на цьому сервері й на всіх пристроях, де виконано вхід. Скасувати неможливо.',
"Sync failed: the server refused the upload as too large. Your changes have not reached the server.": "Синхронізація не вдалася: сервер відхилив завантаження як завелике. Твої зміни не дійшли до сервера.",
"Workout view": "Вигляд тренування",
"Cards": "Картки",
diff --git a/frontend/src/locales/zh.js b/frontend/src/locales/zh.js
index db5309b95..887b99fb8 100644
--- a/frontend/src/locales/zh.js
+++ b/frontend/src/locales/zh.js
@@ -458,8 +458,8 @@ export default {
'Saves a dated copy to Documents/openGym after finishing a workout or editing a routine, and keeps the newest {0} — point a sync app at that folder, or copy it out by hand.': '完成训练或编辑计划后,会在「文档/openGym」文件夹中保存一份带日期的副本,并只保留最近的 {0} 份——可以让同步应用指向该文件夹,或手动复制出来。',
'Reset everything?': '重置所有内容?',
'Reset everything': '重置所有内容',
- 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': '删除本设备上的计划、训练和体重。无法撤销。',
- 'Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.': '从此服务器上的档案以及所有已登录设备中删除计划、训练和体重。无法撤销。',
+ 'Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.': '删除本设备上的计划、训练、体重、照片和视频。无法撤销。',
+ 'Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.': '从此服务器上的档案以及所有已登录设备中删除计划、训练、体重、照片和视频。无法撤销。',
'Sync failed: the server refused the upload as too large. Your changes have not reached the server.': '同步失败:服务器拒绝了上传,内容过大。你的更改尚未同步到服务器。',
'This device is out of storage: the change is not saved on it. Signed in, it still goes to the server.': '此设备存储空间已满:更改未保存在设备上。已登录时,它仍会同步到服务器。',
'Delete everything': '全部删除',
diff --git a/frontend/src/views/Settings.jsx b/frontend/src/views/Settings.jsx
index 899433148..5de54ac5a 100644
--- a/frontend/src/views/Settings.jsx
+++ b/frontend/src/views/Settings.jsx
@@ -238,8 +238,8 @@ export default function Settings() {
const resetEverything = () => confirmSheet({
title: t('Reset everything?'),
message: user
- ? t('Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.')
- : t('Deletes your plan, workouts and body weight on this device. This cannot be undone.'),
+ ? t('Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.')
+ : t('Deletes your plan, workouts, body weight, photos and videos on this device. This cannot be undone.'),
confirmText: t('Delete everything'), danger: true,
onConfirm: () => {
if (user) api('/api/coach/forget', { method: 'POST', body: '{}' }).catch(() => {})
@@ -578,7 +578,7 @@ export default function Settings() {
are running, or whether an update actually installed. */}
<div className="dim small" style={{ textAlign: 'center', marginTop: 4, lineHeight: 1.6 }}>
openGym v{__APP_VERSION__} · {t('free & open source (AGPL v3)')}<br />
- <a href="https://gitlab.com/DuarteSantos8/opengym" target="_blank" rel="noopener">source code</a> · exercise data: hasaneyldrm/exercises-dataset (MIT)<br />
+ <a href="https://github.com/DuarteSantos8/openGym" target="_blank" rel="noopener">source code</a> · exercise data: hasaneyldrm/exercises-dataset (MIT)<br />
exercise images and animations © <a href="https://gymvisual.com/" target="_blank" rel="noopener">Gym visual</a>
</div>
</div>
diff --git a/frontend/src/views/Settings.reset.test.jsx b/frontend/src/views/Settings.reset.test.jsx
index 8b9b17112..f6a2e91ba 100644
--- a/frontend/src/views/Settings.reset.test.jsx
+++ b/frontend/src/views/Settings.reset.test.jsx
@@ -94,7 +94,7 @@ 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])
@@ -107,7 +107,7 @@ describe('Settings — reset everything', () => {
mocks.user = { uid: 'u1', name: 'Ana' }
mount()
const dialog = openDialog()
- expect(dialog.message).toBe('Deletes your plan, workouts and body weight from your profile on this server and on every signed-in device. This cannot be undone.')
+ expect(dialog.message).toBe('Deletes your plan, workouts, body weight, photos and videos from your profile on this server and on every signed-in device. This cannot be undone.')
act(() => { dialog.onConfirm() })
expect(serverForgetCalls()).toHaveLength(1)
expect(serverForgetCalls()[0][1]).toEqual({ method: 'POST', body: '{}' })
@@ -151,3 +151,11 @@ describe('Settings — reset everything', () => {
expect(mocks.replaceState).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')
+ })
+})