From 6eabeda89b6c02682d627424a3cf67163a949307 Mon Sep 17 00:00:00 2001 From: Duarte Santos Date: Tue, 25 Aug 2026 14:06:40 +0200 Subject: [PATCH] equipment profiles: translate the new strings into all 11 locales MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The merge request added 18 user-facing strings and no locale entries, so every non-English profile would have rendered the equipment card, picker banner and routine warning in English. Terminology follows each pack's existing 'Equipment' key (Geräte / Equipo / Attrezzi / Sprzęt / Инвентарь …). Also replaces the literal \u2019 escape in the Settings footer with the character itself — the locale key has to match the string as it is written. --- frontend/src/locales/de.js | 22 +++++++++++++++++++++- frontend/src/locales/es.js | 22 +++++++++++++++++++++- frontend/src/locales/fr.js | 22 +++++++++++++++++++++- frontend/src/locales/hi.js | 22 +++++++++++++++++++++- frontend/src/locales/it.js | 22 +++++++++++++++++++++- frontend/src/locales/ko.js | 22 +++++++++++++++++++++- frontend/src/locales/pl.js | 22 +++++++++++++++++++++- frontend/src/locales/pt.js | 22 +++++++++++++++++++++- frontend/src/locales/ru.js | 22 +++++++++++++++++++++- frontend/src/locales/tr.js | 22 +++++++++++++++++++++- frontend/src/locales/zh.js | 22 +++++++++++++++++++++- frontend/src/views/Settings.jsx | 2 +- 12 files changed, 232 insertions(+), 12 deletions(-) diff --git a/frontend/src/locales/de.js b/frontend/src/locales/de.js index 6a2492b..b853df2 100644 --- a/frontend/src/locales/de.js +++ b/frontend/src/locales/de.js @@ -597,5 +597,25 @@ export default { 'secondary': 'sekundär', 'No exercises with an estimated 1RM yet.': 'Noch keine Übungen mit geschätztem 1RM.', 'Tap a muscle to see its exercises.': 'Tippe auf einen Muskel, um seine Übungen zu sehen.', - 'Unpair': 'Trennen' + 'Unpair': 'Trennen', + + // --- equipment profiles --- + 'Showing all equipment': 'Alle Geräte werden angezeigt', + 'Showing what you have in "{0}"': 'Angezeigt wird, was du in „{0}“ hast', + 'Show all equipment': 'Alle Geräte zeigen', + 'Filter by "{0}"': 'Nach „{0}“ filtern', + 'Edit profile': 'Profil bearbeiten', + 'New equipment profile': 'Neues Geräteprofil', + 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': 'Benenne es nach deinem Trainingsort — z. B. „Zuhause“ oder „Gym“ — und hake dann ab, was du dort hast.', + 'Profile name': 'Profilname', + 'Body-weight exercises are always available, in every profile.': 'Körpergewichtsübungen sind immer verfügbar, in jedem Profil.', + '{0} of {1} exercises need equipment outside "{2}"': '{0} von {1} Übungen brauchen Geräte außerhalb von „{2}“', + 'Needs {0} — not in your active profile': 'Braucht {0} — nicht in deinem aktiven Profil', + 'Filter by equipment': 'Nach Geräten filtern', + 'Active profile': 'Aktives Profil', + '{0} equipment types': '{0} Gerätearten', + 'Add equipment profile': 'Geräteprofil hinzufügen', + 'Delete profile?': 'Profil löschen?', + '"{0}" and its equipment list will be removed.': '„{0}“ und die zugehörige Geräteliste werden entfernt.', + 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Filtert die Übungsbibliothek und die Auswahl und markiert Übungen in Routinen, die Geräte brauchen, die du im aktiven Profil nicht hast.', } diff --git a/frontend/src/locales/es.js b/frontend/src/locales/es.js index cd3acd4..d091fb6 100644 --- a/frontend/src/locales/es.js +++ b/frontend/src/locales/es.js @@ -580,5 +580,25 @@ export default { 'secondary': 'secundario', 'No exercises with an estimated 1RM yet.': 'Aún no hay ejercicios con 1RM estimado.', 'Tap a muscle to see its exercises.': 'Toca un músculo para ver sus ejercicios.', - 'Unpair': 'Desvincular' + 'Unpair': 'Desvincular', + + // --- equipment profiles --- + 'Showing all equipment': 'Mostrando todo el equipo', + 'Showing what you have in "{0}"': 'Mostrando lo que tienes en «{0}»', + 'Show all equipment': 'Mostrar todo el equipo', + 'Filter by "{0}"': 'Filtrar por «{0}»', + 'Edit profile': 'Editar perfil', + 'New equipment profile': 'Nuevo perfil de equipo', + 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': 'Ponle el nombre del sitio donde entrenas — p. ej. «Casa» o «Gimnasio» — y marca lo que tienes allí.', + 'Profile name': 'Nombre del perfil', + 'Body-weight exercises are always available, in every profile.': 'Los ejercicios con peso corporal están siempre disponibles, en todos los perfiles.', + '{0} of {1} exercises need equipment outside "{2}"': '{0} de {1} ejercicios necesitan equipo fuera de «{2}»', + 'Needs {0} — not in your active profile': 'Necesita {0} — no está en tu perfil activo', + 'Filter by equipment': 'Filtrar por equipo', + 'Active profile': 'Perfil activo', + '{0} equipment types': '{0} tipos de equipo', + 'Add equipment profile': 'Añadir perfil de equipo', + 'Delete profile?': '¿Eliminar perfil?', + '"{0}" and its equipment list will be removed.': '«{0}» y su lista de equipo se eliminarán.', + 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Filtra la biblioteca de ejercicios y el selector, y marca los ejercicios de las rutinas que necesitan algo que no tienes en el perfil activo.', } diff --git a/frontend/src/locales/fr.js b/frontend/src/locales/fr.js index b50544a..db13fd8 100644 --- a/frontend/src/locales/fr.js +++ b/frontend/src/locales/fr.js @@ -580,5 +580,25 @@ export default { 'secondary': 'secondaire', "No exercises with an estimated 1RM yet.": "Aucun exercice avec un 1RM estimé pour l'instant.", 'Tap a muscle to see its exercises.': 'Touchez un muscle pour voir ses exercices.', - 'Unpair': 'Dissocier' + 'Unpair': 'Dissocier', + + // --- equipment profiles --- + 'Showing all equipment': 'Tout l’équipement est affiché', + 'Showing what you have in "{0}"': 'Affichage de ce que tu as dans « {0} »', + 'Show all equipment': 'Afficher tout l’équipement', + 'Filter by "{0}"': 'Filtrer par « {0} »', + 'Edit profile': 'Modifier le profil', + 'New equipment profile': 'Nouveau profil d’équipement', + 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': 'Nomme-le d’après ton lieu d’entraînement — p. ex. « Maison » ou « Salle » — puis coche ce que tu y as.', + 'Profile name': 'Nom du profil', + 'Body-weight exercises are always available, in every profile.': 'Les exercices au poids du corps sont toujours disponibles, dans tous les profils.', + '{0} of {1} exercises need equipment outside "{2}"': '{0} exercices sur {1} nécessitent un équipement hors de « {2} »', + 'Needs {0} — not in your active profile': 'Nécessite {0} — absent de ton profil actif', + 'Filter by equipment': 'Filtrer par équipement', + 'Active profile': 'Profil actif', + '{0} equipment types': '{0} types d’équipement', + 'Add equipment profile': 'Ajouter un profil d’équipement', + 'Delete profile?': 'Supprimer le profil ?', + '"{0}" and its equipment list will be removed.': '« {0} » et sa liste d’équipement seront supprimés.', + 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Filtre la bibliothèque d’exercices et le sélecteur, et signale les exercices de routine qui nécessitent quelque chose que tu n’as pas dans le profil actif.', } diff --git a/frontend/src/locales/hi.js b/frontend/src/locales/hi.js index 2b3c21e..a6c56dc 100644 --- a/frontend/src/locales/hi.js +++ b/frontend/src/locales/hi.js @@ -580,5 +580,25 @@ export default { 'secondary': 'द्वितीयक', 'No exercises with an estimated 1RM yet.': 'अभी तक अनुमानित 1RM वाला कोई व्यायाम नहीं।', 'Tap a muscle to see its exercises.': 'व्यायाम देखने के लिए किसी मांसपेशी पर टैप करें।', - 'Unpair': 'अलग करें' + 'Unpair': 'अलग करें', + + // --- equipment profiles --- + 'Showing all equipment': 'सभी उपकरण दिखाए जा रहे हैं', + 'Showing what you have in "{0}"': '“{0}” में आपके पास जो है वह दिखाया जा रहा है', + 'Show all equipment': 'सभी उपकरण दिखाएँ', + 'Filter by "{0}"': '“{0}” से फ़िल्टर करें', + 'Edit profile': 'प्रोफ़ाइल संपादित करें', + 'New equipment profile': 'नई उपकरण प्रोफ़ाइल', + 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': 'जहाँ आप कसरत करते हैं उसी के नाम पर रखें — जैसे “घर” या “जिम” — फिर वहाँ जो है उसे चुनें।', + 'Profile name': 'प्रोफ़ाइल का नाम', + 'Body-weight exercises are always available, in every profile.': 'शरीर के वज़न वाली कसरतें हर प्रोफ़ाइल में हमेशा उपलब्ध रहती हैं।', + '{0} of {1} exercises need equipment outside "{2}"': '{1} में से {0} कसरतों को “{2}” के बाहर के उपकरण चाहिए', + 'Needs {0} — not in your active profile': '{0} चाहिए — आपकी सक्रिय प्रोफ़ाइल में नहीं है', + 'Filter by equipment': 'उपकरण से फ़िल्टर करें', + 'Active profile': 'सक्रिय प्रोफ़ाइल', + '{0} equipment types': '{0} प्रकार के उपकरण', + 'Add equipment profile': 'उपकरण प्रोफ़ाइल जोड़ें', + 'Delete profile?': 'प्रोफ़ाइल हटाएँ?', + '"{0}" and its equipment list will be removed.': '“{0}” और उसकी उपकरण सूची हटा दी जाएगी।', + 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'कसरत लाइब्रेरी और चयनकर्ता को फ़िल्टर करता है, और उन रूटीन कसरतों को चिह्नित करता है जिनके लिए सक्रिय प्रोफ़ाइल में मौजूद न होने वाला उपकरण चाहिए।', } diff --git a/frontend/src/locales/it.js b/frontend/src/locales/it.js index 6d393aa..3c94aa1 100644 --- a/frontend/src/locales/it.js +++ b/frontend/src/locales/it.js @@ -580,5 +580,25 @@ export default { 'secondary': 'secondario', 'No exercises with an estimated 1RM yet.': 'Nessun esercizio con 1RM stimato finora.', 'Tap a muscle to see its exercises.': 'Tocca un muscolo per vedere i suoi esercizi.', - 'Unpair': 'Separa' + 'Unpair': 'Separa', + + // --- equipment profiles --- + 'Showing all equipment': 'Vengono mostrati tutti gli attrezzi', + 'Showing what you have in "{0}"': 'Viene mostrato ciò che hai in “{0}”', + 'Show all equipment': 'Mostra tutti gli attrezzi', + 'Filter by "{0}"': 'Filtra per “{0}”', + 'Edit profile': 'Modifica profilo', + 'New equipment profile': 'Nuovo profilo attrezzi', + 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': 'Chiamalo come il posto dove ti alleni — ad es. “Casa” o “Palestra” — poi spunta ciò che hai lì.', + 'Profile name': 'Nome del profilo', + 'Body-weight exercises are always available, in every profile.': 'Gli esercizi a corpo libero sono sempre disponibili, in ogni profilo.', + '{0} of {1} exercises need equipment outside "{2}"': '{0} di {1} esercizi richiedono attrezzi fuori da “{2}”', + 'Needs {0} — not in your active profile': 'Richiede {0} — non presente nel profilo attivo', + 'Filter by equipment': 'Filtra per attrezzi', + 'Active profile': 'Profilo attivo', + '{0} equipment types': '{0} tipi di attrezzi', + 'Add equipment profile': 'Aggiungi profilo attrezzi', + 'Delete profile?': 'Eliminare il profilo?', + '"{0}" and its equipment list will be removed.': '“{0}” e il suo elenco di attrezzi verranno rimossi.', + 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Filtra la libreria degli esercizi e il selettore, e segnala gli esercizi delle routine che richiedono qualcosa che non hai nel profilo attivo.', } diff --git a/frontend/src/locales/ko.js b/frontend/src/locales/ko.js index d460c56..8989c17 100644 --- a/frontend/src/locales/ko.js +++ b/frontend/src/locales/ko.js @@ -580,5 +580,25 @@ export default { 'secondary': '보조', 'No exercises with an estimated 1RM yet.': '추정 1RM이 있는 운동이 아직 없습니다.', 'Tap a muscle to see its exercises.': '근육을 눌러 해당 운동을 확인하세요.', - 'Unpair': '분리' + 'Unpair': '분리', + + // --- equipment profiles --- + 'Showing all equipment': '모든 장비를 표시하는 중', + 'Showing what you have in "{0}"': '‘{0}’에 있는 장비를 표시하는 중', + 'Show all equipment': '모든 장비 표시', + 'Filter by "{0}"': '‘{0}’(으)로 필터', + 'Edit profile': '프로필 편집', + 'New equipment profile': '새 장비 프로필', + 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': '운동하는 장소의 이름을 붙여 — 예: ‘집’ 또는 ‘헬스장’ — 그곳에 있는 장비를 체크하세요.', + 'Profile name': '프로필 이름', + 'Body-weight exercises are always available, in every profile.': '맨몸 운동은 모든 프로필에서 항상 사용할 수 있습니다.', + '{0} of {1} exercises need equipment outside "{2}"': '{1}개 운동 중 {0}개가 ‘{2}’ 외의 장비를 필요로 합니다', + 'Needs {0} — not in your active profile': '{0} 필요 — 활성 프로필에 없음', + 'Filter by equipment': '장비로 필터', + 'Active profile': '활성 프로필', + '{0} equipment types': '장비 종류 {0}가지', + 'Add equipment profile': '장비 프로필 추가', + 'Delete profile?': '프로필을 삭제할까요?', + '"{0}" and its equipment list will be removed.': '‘{0}’과(와) 해당 장비 목록이 삭제됩니다.', + 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': '운동 라이브러리와 선택기를 필터링하고, 활성 프로필에 없는 장비가 필요한 루틴 운동을 표시합니다.', } diff --git a/frontend/src/locales/pl.js b/frontend/src/locales/pl.js index ed2b54e..81b5ca5 100644 --- a/frontend/src/locales/pl.js +++ b/frontend/src/locales/pl.js @@ -580,5 +580,25 @@ export default { 'secondary': 'drugorzędny', 'No exercises with an estimated 1RM yet.': 'Brak ćwiczeń z oszacowanym 1RM.', 'Tap a muscle to see its exercises.': 'Dotknij mięśnia, aby zobaczyć jego ćwiczenia.', - 'Unpair': 'Rozłącz' + 'Unpair': 'Rozłącz', + + // --- equipment profiles --- + 'Showing all equipment': 'Pokazywany jest cały sprzęt', + 'Showing what you have in "{0}"': 'Pokazywane jest to, co masz w „{0}”', + 'Show all equipment': 'Pokaż cały sprzęt', + 'Filter by "{0}"': 'Filtruj według „{0}”', + 'Edit profile': 'Edytuj profil', + 'New equipment profile': 'Nowy profil sprzętu', + 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': 'Nazwij go tak jak miejsce, w którym trenujesz — np. „Dom” lub „Siłownia” — a potem zaznacz, co tam masz.', + 'Profile name': 'Nazwa profilu', + 'Body-weight exercises are always available, in every profile.': 'Ćwiczenia z masą własnego ciała są zawsze dostępne, w każdym profilu.', + '{0} of {1} exercises need equipment outside "{2}"': '{0} z {1} ćwiczeń wymaga sprzętu spoza „{2}”', + 'Needs {0} — not in your active profile': 'Wymaga: {0} — brak w aktywnym profilu', + 'Filter by equipment': 'Filtruj według sprzętu', + 'Active profile': 'Aktywny profil', + '{0} equipment types': 'Typy sprzętu: {0}', + 'Add equipment profile': 'Dodaj profil sprzętu', + 'Delete profile?': 'Usunąć profil?', + '"{0}" and its equipment list will be removed.': '„{0}” i jego lista sprzętu zostaną usunięte.', + 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Filtruje bibliotekę ćwiczeń i selektor oraz oznacza ćwiczenia w rutynach, które wymagają czegoś, czego nie masz w aktywnym profilu.', } diff --git a/frontend/src/locales/pt.js b/frontend/src/locales/pt.js index f9ec41d..4a287be 100644 --- a/frontend/src/locales/pt.js +++ b/frontend/src/locales/pt.js @@ -580,5 +580,25 @@ export default { 'secondary': 'secundário', 'No exercises with an estimated 1RM yet.': 'Ainda não há exercícios com 1RM estimado.', 'Tap a muscle to see its exercises.': 'Toque num músculo para ver os seus exercícios.', - 'Unpair': 'Desfazer' + 'Unpair': 'Desfazer', + + // --- equipment profiles --- + 'Showing all equipment': 'A mostrar todo o equipamento', + 'Showing what you have in "{0}"': 'A mostrar o que tens em «{0}»', + 'Show all equipment': 'Mostrar todo o equipamento', + 'Filter by "{0}"': 'Filtrar por «{0}»', + 'Edit profile': 'Editar perfil', + 'New equipment profile': 'Novo perfil de equipamento', + 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': 'Dá-lhe o nome do sítio onde treinas — p. ex. «Casa» ou «Ginásio» — e marca o que tens lá.', + 'Profile name': 'Nome do perfil', + 'Body-weight exercises are always available, in every profile.': 'Os exercícios com o peso do corpo estão sempre disponíveis, em todos os perfis.', + '{0} of {1} exercises need equipment outside "{2}"': '{0} de {1} exercícios precisam de equipamento fora de «{2}»', + 'Needs {0} — not in your active profile': 'Precisa de {0} — não está no teu perfil ativo', + 'Filter by equipment': 'Filtrar por equipamento', + 'Active profile': 'Perfil ativo', + '{0} equipment types': '{0} tipos de equipamento', + 'Add equipment profile': 'Adicionar perfil de equipamento', + 'Delete profile?': 'Eliminar perfil?', + '"{0}" and its equipment list will be removed.': '«{0}» e a respetiva lista de equipamento serão removidos.', + 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Filtra a biblioteca de exercícios e o seletor, e assinala os exercícios das rotinas que precisam de algo que não tens no perfil ativo.', } diff --git a/frontend/src/locales/ru.js b/frontend/src/locales/ru.js index f188d64..63e10fc 100644 --- a/frontend/src/locales/ru.js +++ b/frontend/src/locales/ru.js @@ -580,5 +580,25 @@ export default { 'secondary': 'вспомогательная', 'No exercises with an estimated 1RM yet.': 'Пока нет упражнений с расчётным 1ПМ.', 'Tap a muscle to see its exercises.': 'Нажмите на мышцу, чтобы увидеть её упражнения.', - 'Unpair': 'Разъединить' + 'Unpair': 'Разъединить', + + // --- equipment profiles --- + 'Showing all equipment': 'Показан весь инвентарь', + 'Showing what you have in "{0}"': 'Показано то, что есть в «{0}»', + 'Show all equipment': 'Показать весь инвентарь', + 'Filter by "{0}"': 'Фильтровать по «{0}»', + 'Edit profile': 'Изменить профиль', + 'New equipment profile': 'Новый профиль инвентаря', + 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': 'Назови его по месту тренировок — например, «Дом» или «Зал» — и отметь, что там есть.', + 'Profile name': 'Название профиля', + 'Body-weight exercises are always available, in every profile.': 'Упражнения с собственным весом доступны всегда, в любом профиле.', + '{0} of {1} exercises need equipment outside "{2}"': '{0} из {1} упражнений требуют инвентаря вне «{2}»', + 'Needs {0} — not in your active profile': 'Нужен инвентарь: {0} — его нет в активном профиле', + 'Filter by equipment': 'Фильтровать по инвентарю', + 'Active profile': 'Активный профиль', + '{0} equipment types': 'Типов инвентаря: {0}', + 'Add equipment profile': 'Добавить профиль инвентаря', + 'Delete profile?': 'Удалить профиль?', + '"{0}" and its equipment list will be removed.': '«{0}» и его список инвентаря будут удалены.', + 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Фильтрует библиотеку упражнений и выбор, а также отмечает упражнения в программах, для которых нужно то, чего нет в активном профиле.', } diff --git a/frontend/src/locales/tr.js b/frontend/src/locales/tr.js index a912a6d..012f5cc 100644 --- a/frontend/src/locales/tr.js +++ b/frontend/src/locales/tr.js @@ -580,5 +580,25 @@ export default { 'secondary': 'ikincil', 'No exercises with an estimated 1RM yet.': 'Henüz tahmini 1RM olan egzersiz yok.', 'Tap a muscle to see its exercises.': 'Egzersizlerini görmek için bir kas seçin.', - 'Unpair': 'Ayır' + 'Unpair': 'Ayır', + + // --- equipment profiles --- + 'Showing all equipment': 'Tüm ekipman gösteriliyor', + 'Showing what you have in "{0}"': '“{0}” içinde sahip olduklarını gösteriyor', + 'Show all equipment': 'Tüm ekipmanı göster', + 'Filter by "{0}"': '“{0}” ile filtrele', + 'Edit profile': 'Profili düzenle', + 'New equipment profile': 'Yeni ekipman profili', + 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': 'Antrenman yaptığın yerin adını ver — örn. “Ev” veya “Spor salonu” — sonra orada nelerin olduğunu işaretle.', + 'Profile name': 'Profil adı', + 'Body-weight exercises are always available, in every profile.': 'Vücut ağırlığı hareketleri her profilde her zaman kullanılabilir.', + '{0} of {1} exercises need equipment outside "{2}"': '{1} hareketten {0} tanesi “{2}” dışında ekipman gerektiriyor', + 'Needs {0} — not in your active profile': '{0} gerekiyor — aktif profilinde yok', + 'Filter by equipment': 'Ekipmana göre filtrele', + 'Active profile': 'Aktif profil', + '{0} equipment types': '{0} ekipman türü', + 'Add equipment profile': 'Ekipman profili ekle', + 'Delete profile?': 'Profil silinsin mi?', + '"{0}" and its equipment list will be removed.': '“{0}” ve ekipman listesi kaldırılacak.', + 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Hareket kitaplığını ve seçiciyi filtreler, ayrıca aktif profilinde olmayan bir şeye ihtiyaç duyan rutin hareketlerini işaretler.', } diff --git a/frontend/src/locales/zh.js b/frontend/src/locales/zh.js index 6a3af0a..ac9a643 100644 --- a/frontend/src/locales/zh.js +++ b/frontend/src/locales/zh.js @@ -580,5 +580,25 @@ export default { 'secondary': '次要', 'No exercises with an estimated 1RM yet.': '暂无估算1RM的动作。', 'Tap a muscle to see its exercises.': '点击肌肉查看其动作。', - 'Unpair': '取消组合' + 'Unpair': '取消组合', + + // --- equipment profiles --- + 'Showing all equipment': '正在显示全部器械', + 'Showing what you have in "{0}"': '正在显示你在“{0}”拥有的器械', + 'Show all equipment': '显示全部器械', + 'Filter by "{0}"': '按“{0}”筛选', + 'Edit profile': '编辑配置', + 'New equipment profile': '新建器械配置', + 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': '用你训练的地点命名 —— 例如“家里”或“健身房”—— 然后勾选你在那里有的器械。', + 'Profile name': '配置名称', + 'Body-weight exercises are always available, in every profile.': '自重动作在每个配置中都始终可用。', + '{0} of {1} exercises need equipment outside "{2}"': '{1} 个动作中有 {0} 个需要“{2}”之外的器械', + 'Needs {0} — not in your active profile': '需要{0} —— 不在你的当前配置中', + 'Filter by equipment': '按器械筛选', + 'Active profile': '当前配置', + '{0} equipment types': '{0} 种器械', + 'Add equipment profile': '添加器械配置', + 'Delete profile?': '删除配置?', + '"{0}" and its equipment list will be removed.': '“{0}”及其器械清单将被删除。', + 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': '筛选动作库和选择器,并标记训练计划中需要当前配置里没有的器械的动作。', } diff --git a/frontend/src/views/Settings.jsx b/frontend/src/views/Settings.jsx index 47b2395..94696c4 100644 --- a/frontend/src/views/Settings.jsx +++ b/frontend/src/views/Settings.jsx @@ -344,7 +344,7 @@ function EquipmentCard({ S, update }) { if (s.activeEquipId === p.id) s.activeEquipId = (s.equipProfiles[0] && s.equipProfiles[0].id) || null }), }) - return
+ return
{profiles.length > 0 && update(s => { s.equipFilterOn = v })} /> }