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 remote-tracking branch 'pr/467' into r1311
Duarte Santosf82a90c55de3
diff --cc frontend/src/lib/i18n-core.jsindex 3a71009d6,60b80ff11..1e62c66dd--- a/frontend/src/lib/i18n-core.js+++ b/frontend/src/lib/i18n-core.js@@@ -7,10 -7,10 +7,10 @@@ export const LANGS =en: 'English', de: 'Deutsch', 'de-CH': 'Deutsch (Schweiz)', es: 'Español', fr: 'Français',it: 'Italiano', pt: 'Português (Portugal)', 'pt-BR': 'Português (Brasil)', pl: 'Polski',tr: 'Türkçe', ru: 'Русский', uk: 'Українська', zh: '简体中文', 'zh-TW': '繁體中文',- ko: '한국어', hi: 'हिन्दी', th: 'ไทย', hu: 'Magyar', ar: 'العربية'+ ko: '한국어', hi: 'हिन्दी', bn: 'বাংলা', th: 'ไทย', hu: 'Magyar', ar: 'العربية'}export const INSTR_LANGS = ['en', 'es', 'fr', 'it', 'tr', 'ru', 'zh', 'zh-TW', 'hi', 'pl', 'ko', 'pt-BR', 'hu', 'ar']- export const EXERCISE_NAME_LANGS = ['pt-BR', 'hu', 'de', 'es', 'ru', 'it', 'fr']+ export const EXERCISE_NAME_LANGS = ['pt-BR', 'hu', 'de', 'es', 'ru', 'it', 'fr', 'pl']// Languages rendered right-to-left; i18n.js setLang applies the direction from this.export const RTL_LANGS = new Set(['ar'])export const DATE_LOCALES = {diff --cc frontend/src/locales/pl.jsindex 38da0bf2a,e9b84b7f6..87008886b--- a/frontend/src/locales/pl.js+++ b/frontend/src/locales/pl.js@@@ -383,46 -383,44 +383,46 @@@ export default'Last used {0}': 'Ostatnio użyty {0}','Make a new code': 'Utwórz nowy kod','Name, e.g. Work laptop': 'Nazwa, np. Laptop służbowy',- 'None yet. Add one and sign in without your password.': 'Jeszcze żadnego. Dodaj passkey i loguj się bez hasła.',- 'Passkey added': 'Dodano passkey',- 'Passkey removed': 'Usunięto passkey',- 'Passkey {0}': 'Passkey {0}',- 'Passkeys': 'Passkeys',- 'Remove passkey': 'Usuń passkey',- 'Remove this passkey?': 'Usunąć ten passkey?',+ 'None yet. Add one and sign in without your password.': 'Jeszcze żadnego. Dodaj klucz dostępu i loguj się bez hasła.',+ 'Passkey added': 'Dodano klucz dostępu',+ 'Passkey removed': 'Usunięto klucz dostępu',+ 'Passkey {0}': 'Klucz dostępu {0}',+ 'Passkeys': 'Klucze dostępu',+ 'Remove passkey': 'Usuń klucz dostępu',+ 'Remove this passkey?': 'Usunąć ten klucz dostępu?','Scan this with the other device, or open openGym there and enter the code on the sign-in screen. It works once, for {0} minutes.': 'Zeskanuj to drugim urządzeniem albo otwórz tam openGym i wpisz kod na ekranie logowania. Działa raz, przez {0} minut.','That code is wrong, already used or expired. Make a new one on your other device.': 'Ten kod jest błędny, już użyty albo wygasł. Utwórz nowy na drugim urządzeniu.',- 'This browser cannot confirm with your passkey. Do this on a device that holds one.': 'Ta przeglądarka nie może potwierdzić twoim passkey. Zrób to na urządzeniu, na którym go masz.',+ 'This browser cannot confirm with your passkey. Do this on a device that holds one.': 'Ta przeglądarka nie może potwierdzić twoim kluczem dostępu. Zrób to na urządzeniu, na którym go masz.','First confirm that it is you.': 'Najpierw potwierdź, że to ty.',- 'This profile has no passkey, and this server does not take passwords, so nothing here can confirm that it is you. Ask your admin.': 'Ten profil nie ma żadnego passkey, a ten serwer nie przyjmuje haseł, więc nic tutaj nie potwierdzi, że to ty. Zwróć się do administratora.',- 'This browser cannot create passkeys, so it cannot be added with a code. Open the link in a browser that can.': 'Ta przeglądarka nie potrafi tworzyć passkey, więc nie można jej dodać kodem. Otwórz link w przeglądarce, która to potrafi.',+ 'This profile has no passkey, and this server does not take passwords, so nothing here can confirm that it is you. Ask your admin.': 'Ten profil nie ma żadnego klucza dostępu, a ten serwer nie przyjmuje haseł, więc nic tutaj nie potwierdzi, że to ty. Zwróć się do administratora.',+ 'This browser cannot create passkeys, so it cannot be added with a code. Open the link in a browser that can.': 'Ta przeglądarka nie potrafi tworzyć kluczy dostępu, więc nie można jej dodać kodem. Otwórz link w przeglądarce, która to potrafi.','This browser is signed in as “{0}”. Adding it to “{1}” signs “{0}” out here.': 'Ta przeglądarka jest zalogowana jako „{0}”. Dodanie jej do „{1}” wyloguje tu „{0}”.',- 'This code is for a different profile that is also called “{0}”, not the one this browser is signed in as. Adding it there signs yours out here.': 'Ten kod należy do innego profilu, który też nazywa się „{0}”, a nie do tego, na który zalogowana jest ta przeglądarka. Dodanie jej tam wyloguje tu Twój profil.',- 'Only continue if this code comes from a device of your own. This browser is then signed in to “{0}”, and what you log here goes to that profile.': 'Kontynuuj tylko wtedy, gdy ten kod pochodzi z Twojego własnego urządzenia. Ta przeglądarka zostanie wtedy zalogowana do „{0}”, a to, co tu zapiszesz, trafi do tego profilu.',+ 'This code is for a different profile that is also called “{0}”, not the one this browser is signed in as. Adding it there signs yours out here.': 'Ten kod należy do innego profilu, który też nazywa się „{0}”, a nie do tego, na który zalogowana jest ta przeglądarka. Dodanie jej tam wyloguje tu twój profil.',+ 'Only continue if this code comes from a device of your own. This browser is then signed in to “{0}”, and what you log here goes to that profile.': 'Kontynuuj tylko wtedy, gdy ten kod pochodzi z twojego własnego urządzenia. Ta przeglądarka zostanie wtedy zalogowana do „{0}”, a to, co tu zapiszesz, trafi do tego profilu.','This code has expired.': 'Ten kod wygasł.',- 'This device already has a passkey for this profile.': 'To urządzenie ma już passkey dla tego profilu.',- 'This passkey already belongs to a profile.': 'Ten passkey należy już do jakiegoś profilu.',- 'This profile already has as many passkeys as it can hold.': 'Ten profil ma już tyle passkey, ile może mieć.',+ 'This device already has a passkey for this profile.': 'To urządzenie ma już klucz dostępu dla tego profilu.',+ 'This passkey already belongs to a profile.': 'Ten klucz dostępu należy już do jakiegoś profilu.',+ 'This profile already has as many passkeys as it can hold.': 'Ten profil ma już maksymalną liczbę kluczy dostępu.','Use a code from your other device': 'Użyj kodu z drugiego urządzenia',- 'You get a code that lets your phone or another computer create a passkey for this profile. First confirm that it is you.': 'Dostaniesz kod, dzięki któremu twój telefon lub inny komputer utworzy passkey dla tego profilu. Najpierw potwierdź, że to ty.',+ 'You get a code that lets your phone or another computer create a passkey for this profile. First confirm that it is you.': 'Dostaniesz kod, dzięki któremu twój telefon lub inny komputer utworzy klucz dostępu dla tego profilu. Najpierw potwierdź, że to ty.','or with your password': 'albo swoim hasłem',- '{0} passkeys': { one: '{0} passkey', few: 'Passkeys: {0}', many: 'Passkeys: {0}' },+ '{0} passkeys': { one: '{0} klucz dostępu', few: '{0} klucze dostępu', many: '{0} kluczy dostępu', other: '{0} klucza dostępu' },'Each profile keeps its own plan, workouts & body weight.': 'Każdy profil ma własny plan, treningi i masę ciała.','Account': 'Konto',- 'Sign out?': 'Wylogować?',- 'Sign out': 'Wyloguj',- 'Sign out everywhere?': 'Wylogować wszędzie?',+ 'Sign out?': 'Wylogować się?',+ 'Sign out': 'Wyloguj się',+ 'Sign out everywhere?': 'Wylogować się wszędzie?','You have a workout running. It waits on this device until you’re back on this account.': 'Masz trwający trening. Poczeka na tym urządzeniu, aż wrócisz na to konto.',- 'Sign out everywhere': 'Wyloguj wszędzie',+ 'Sign out everywhere': 'Wyloguj się wszędzie','Account ID': 'ID konta','Account ID copied': 'Skopiowano ID konta',- 'Ends this profile’s sessions on all your devices.': 'Kończy sesje tego profilu na wszystkich Twoich urządzeniach.',+ 'Ends this profile’s sessions on all your devices.': 'Kończy sesje tego profilu na wszystkich twoich urządzeniach.','Signed out on all devices': 'Wylogowano na wszystkich urządzeniach',- 'Couldn’t sign out everywhere. You’re still signed in.': 'Nie udało się wylogować wszędzie. Nadal jesteś zalogowany.',- 'Couldn’t sign out. You’re still signed in.': 'Nie udało się wylogować. Nadal jesteś zalogowany.',- 'Couldn’t disconnect. You’re still connected.': 'Nie udało się rozłączyć. Nadal jesteś połączony.',- 'Create passkey profile': 'Utwórz profil passkey',- 'Passkeys not supported in this browser.': 'Passkey nieobsługiwane w tej przeglądarce.',+ 'Couldn’t sign out everywhere. You’re still signed in.': 'Nie udało się wylogować wszędzie. Twoja sesja jest nadal aktywna.',+ 'Create passkey profile': 'Utwórz profil z kluczem dostępu',+ 'Passkeys not supported in this browser.': 'Klucze dostępu nie są obsługiwane w tej przeglądarce.',++ 'Couldn’t sign out. You’re still signed in.': 'Nie udało się wylogować. Twoja sesja jest nadal aktywna.',++ 'Couldn’t disconnect. You’re still connected.': 'Nie udało się rozłączyć. Połączenie z serwerem jest nadal aktywne.','synced with your profile': 'synchronizowane z profilem','Language': 'Język','Exercise instructions aren\'t translated into this language yet, so they stay in English.': 'Instrukcje ćwiczeń nie są jeszcze przetłumaczone na ten język, więc zostają po angielsku.',@@@ -506,9 -504,9 +506,9 @@@'Recovery': 'Regeneracja','Any equipment': 'Dowolny sprzęt','assisted': 'z asystą', 'band': 'guma', 'barbell': 'sztanga', 'body weight': 'masa ciała',- 'bosu ball': 'bosu', 'cable': 'wyciąg', 'dumbbell': 'hantla',+ 'bosu ball': 'bosu', 'cable': 'wyciąg', 'dumbbell': 'hantle','elliptical machine': 'orbitrek', 'ez barbell': 'sztanga łamana', 'hammer': 'młot',- 'kettlebell': 'kettlebell', 'leverage machine': 'maszyna dźwigniowa', 'medicine ball': 'piłka lekarska',+ 'kettlebell': 'kettlebell', 'clubbell': 'clubbell', 'macebell': 'macebell', 'leverage machine': 'maszyna dźwigniowa', 'medicine ball': 'piłka lekarska','olympic barbell': 'sztanga olimpijska', 'resistance band': 'guma oporowa', 'roller': 'wałek','rope': 'lina', 'skierg machine': 'SkiErg', 'sled machine': 'sanie','smith machine': 'maszyna Smitha', 'stability ball': 'piłka gimnastyczna', 'stationary bike': 'rower stacjonarny',@@@ -925,9 -923,10 +925,9 @@@'Nothing is saved, and you can ask again anytime.': 'Nic nie zostanie zapisane i możesz poprosić ponownie w każdej chwili.','The Coach is revising it…': 'Trener poprawia…','Revision {0}': 'Wersja {0}',- 'Replaces your current week. Days this plan leaves empty become rest days.': 'Zastępuje Twój obecny tydzień. Dni, które ten plan zostawia puste, stają się dniami odpoczynku.',+ 'Replaces your current week. Days this plan leaves empty become rest days.': 'Zastępuje twój obecny tydzień. Dni, które ten plan zostawia puste, stają się dniami odpoczynku.','Want something different?': 'Chcesz czegoś innego?','Say it in your own words and the Coach will revise the whole plan.': 'Powiedz to własnymi słowami, a Trener poprawi cały plan.',- 'e.g. “swap the squats for split squats, and Mondays are short”': 'np. „zamień przysiady na wykroki bułgarskie, a w poniedziałki mam mało czasu”','Ask for a revision': 'Poproś o poprawkę','Accept plan': 'Zaakceptuj plan','Could not apply those changes': 'Nie udało się zastosować tych zmian',@@@ -1095,22 -1094,14 +1095,22 @@@'Build me a fresh plan from my answers.': 'Ułóż mi nowy plan na podstawie moich odpowiedzi.','Experience': 'Doświadczenie','Goal, days, equipment, limits': 'Cel, dni, sprzęt, ograniczenia',- 'Have a look at my training and tell me what you would change.': 'Przejrzyj mój trening i powiedz, co byś zmienił.',+ 'Have a look at my training and tell me what you would change.': 'Przejrzyj mój trening i powiedz, co warto zmienić.','Here is what I am working with:': 'Oto, z czym pracuję:',- 'Hi, I’m your Coach. I build your plan from your answers and adjust it from what you actually log. Nothing changes until you say so.': 'Cześć, jestem Twoim Trenerem. Buduję plan z Twoich odpowiedzi i dostosowuję go do tego, co naprawdę zapisujesz. Nic się nie zmieni, dopóki nie powiesz.',+ 'Hi, I’m your Coach. I build your plan from your answers and adjust it from what you actually log. Nothing changes until you say so.': 'Cześć, jestem twoim Trenerem. Buduję plan z twoich odpowiedzi i dostosowuję go do tego, co naprawdę zapisujesz. Nic się nie zmieni, dopóki nie powiesz.','I looked through everything and there is nothing I would change right now. Keep it up, and ask me again after a few more sessions.': 'Przejrzałem wszystko i na razie niczego bym nie zmieniał. Tak trzymaj i zapytaj mnie znów po kilku kolejnych sesjach.','I understand, let’s go': 'Rozumiem, zaczynamy',- 'Imported! {0} routines are in your plan and your week is set. See you at the next session.': 'Zaimportowano! {0} rutyn jest w Twoim planie, a tydzień ustawiony. Do zobaczenia na następnym treningu.',- 'Imported! {0} routines are in your plan. Your week is unchanged; schedule them whenever you like.': 'Zaimportowano! {0} rutyn jest w Twoim planie. Tydzień bez zmian; zaplanuj je, kiedy chcesz.',- 'It designs your plan from a few answers and adjusts it from what you actually log. It never changes anything without your say-so, and you can undo every change.': 'Projektuje plan z kilku odpowiedzi i dostosowuje go do tego, co naprawdę zapisujesz. Nigdy nic nie zmienia bez Twojej zgody, a każdą zmianę możesz cofnąć.',+ 'Imported! {0} routines are in your plan and your week is set. See you at the next session.': { one: 'Zaimportowano {0} plan treningowy, a tydzień jest ustawiony. Do zobaczenia na następnym treningu.', few: 'Zaimportowano {0} plany treningowe, a tydzień jest ustawiony. Do zobaczenia na następnym treningu.', many: 'Zaimportowano {0} planów treningowych, a tydzień jest ustawiony. Do zobaczenia na następnym treningu.', other: 'Zaimportowano {0} planów treningowych, a tydzień jest ustawiony. Do zobaczenia na następnym treningu.' },+ 'Imported! {0} routines are in your plan. Your week is unchanged; schedule them whenever you like.': { one: 'Zaimportowano {0} plan treningowy. Tydzień bez zmian; zaplanuj je, kiedy chcesz.', few: 'Zaimportowano {0} plany treningowe. Tydzień bez zmian; zaplanuj je, kiedy chcesz.', many: 'Zaimportowano {0} planów treningowych. Tydzień bez zmian; zaplanuj je, kiedy chcesz.', other: 'Zaimportowano {0} planów treningowych. Tydzień bez zmian; zaplanuj je, kiedy chcesz.' },+ 'It designs your plan from a few answers and adjusts it from what you actually log. It never changes anything without your say-so, and you can undo every change.': 'Projektuje plan z kilku odpowiedzi i dostosowuje go do tego, co naprawdę zapisujesz. Nigdy nic nie zmienia bez twojej zgody, a każdą zmianę możesz cofnąć.',+ 'Routines, exercises, sets and reps, your weekly schedule and progression settings.': 'Rutyny, ćwiczenia, serie i powtórzenia, Twój harmonogram tygodnia i ustawienia progresji.',+ 'Your logged training': 'Twój zapisany trening',+ 'Sets you logged in the review window: weights, reps, times, effort ratings, how long sessions took, and your session notes.': 'Serie zapisane w okresie przeglądu: ciężary, powtórzenia, czasy, oceny wysiłku, długość sesji i Twoje notatki do sesji.',+ 'Weigh-ins from the same window, and your goal weight if you set one.': 'Ważenia z tego samego okresu i Twoja docelowa waga, jeśli jest ustawiona.',+ 'What you tell the Coach': 'Co mówisz Trenerowi',+ 'Your intake answers, including any limitations or injuries you describe.': 'Twoje odpowiedzi z ankiety, w tym ograniczenia lub kontuzje, które opisujesz.',+ 'A few preferences': 'Kilka ustawień',+ 'Your unit, your language and which effort scale you log.': 'Twoja jednostka, Twój język i skala, w której oceniasz wysiłek.','Likes: {0}': 'Lubi: {0}','Limits': 'Ograniczenia','Limits: {0}': 'Ograniczenia: {0}',@@@ -1247,17 -1238,9 +1247,17 @@@'General fitness': 'Ogólna sprawność','Lose fat': 'Zrzucić tłuszcz','Endurance': 'Wytrzymałość',- 'New to lifting': 'Nowy na siłowni',+ 'New to lifting': 'Dopiero zaczynam','Coming back after a break': 'Wracam po przerwie','Training regularly': 'Trenuję regularnie',+ 'Heavier lifts, lower reps.': 'Większe ciężary, mniej powtórzeń.',+ 'Volume and progression.': 'Objętość i progresja.',+ 'Balanced, sustainable training.': 'Zrównoważony trening na dłuższą metę.',+ 'Keep strength while leaning out.': 'Utrzymać siłę podczas redukcji.',+ 'Higher reps, less rest, cardio.': 'Więcej powtórzeń, mniej odpoczynku, cardio.',+ 'First months in the gym.': 'Pierwsze miesiące na siłowni.',+ 'You know the movements; the numbers need rebuilding.': 'Znasz ruchy; wyniki trzeba odbudować.',+ 'Consistent for a while now.': 'Regularnie od dłuższego czasu.','Back muscles': 'Plecy','{0}: what’s planned': '{0}: w planie','What should change?': 'Co powinno się zmienić?',