Favoriten-Uebungen (#6): Stern im Detail-Sheet, Favoriten zuoberst im Picker, in der Bibliothek und im Muskel-Explorer
Wer eine Routine plant, scrollt sonst jedes Mal durch 1300 Uebungen zu denselben zehn.
Ein Stern im Kopf des Uebungs-Detail-Sheets (aria-label + Toast) merkt sich eine Uebung in
S.favEx — Katalog- oder eigene Ids. Das Feld reist mit dem Profil (Sync/Export), bleibt aber
bewusst aus dem geteilten Plan-Bundle draussen (lib/plan-share.js baut das Bundle nur aus
Routinen/Woche/customEx, dort war nichts zu aendern).
- lib/favourites.js: favIds/isFav/toggleFav/sortFavouritesFirst; alte Profile ohne Feld lesen
als leer. Die Sortierung ist in beiden Haelften stabil, damit eine nach Name oder Nutzung
sortierte Liste ihre Ordnung behaelt.
- Picker, Library, MuscleExplorer sortieren erst NACH Suche/Koerperteil/Equipment, also innerhalb
der aktuellen Trefferliste; Favoriten tragen einen kleinen gelben Stern vor dem Namen. Der
Akzent-Tag am Zeilenende ("Gewaehlt" = schon in Routine/Log) bleibt unveraendert und ist
durch Position und Farbe davon unterscheidbar.
- Picker: zusaetzlicher Chip "Favoriten (n)" vor "Gewaehlt", nur sichtbar wenn es welche gibt,
mit eigenem Leer-Hinweis; die Scope-Abfrage ist jetzt eine kleine inScope-Funktion.
- Eine geloeschte eigene Uebung faellt auch aus favEx.
- ko/ru nannten den alten "Chosen"-Filter bereits "Favoriten" — umbenannt (선택됨 / Выбранные),
damit die zwei Chips nicht gleich heissen.
- 6 neue Strings in 14 Packs, pt-BR nur der Leer-Hinweis (toque/adicioná-lo); Fingerprint
in pt-br-locale.test.js nachgezogen.
- Tests: lib/favourites.test.js, sheets.favourites.test.jsx (Stern + Picker-Reihenfolge +
Chip mit echtem Store), views/Library.test.jsx (Reihenfolge + Koerperteil-Filter).
This commit is contained in:
1 parent
b5769b9c38
commit
f162505549
24 files changed
+353
-17
No files matched your search
@@ -93,6 +93,12 @@ export default {
|
||||
'Search {0} exercises…': '{0} Übungen durchsuchen…',
|
||||
'Chosen': 'Gewählt',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': 'Noch nichts gewählt — füge Übungen hinzu, dann erscheinen sie hier.',
|
||||
'Add to favourites': 'Zu Favoriten hinzufügen',
|
||||
'Remove from favourites': 'Aus Favoriten entfernen',
|
||||
'Added to favourites': 'Zu Favoriten hinzugefügt',
|
||||
'Removed from favourites': 'Aus Favoriten entfernt',
|
||||
'Favourites': 'Favoriten',
|
||||
'No favourites here — tap the star on an exercise to add it.': 'Keine Favoriten hier — tippe bei einer Übung auf den Stern.',
|
||||
'No match': 'Kein Treffer',
|
||||
'Show more': 'Mehr anzeigen',
|
||||
'Intervals': 'Intervalle',
|
||||
|
||||
@@ -89,6 +89,12 @@ export default {
|
||||
'Search {0} exercises…': 'Buscar entre {0} ejercicios…',
|
||||
'Chosen': 'Elegidos',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': 'Nada elegido aún — añade ejercicios y aparecerán aquí.',
|
||||
'Add to favourites': 'Añadir a favoritos',
|
||||
'Remove from favourites': 'Quitar de favoritos',
|
||||
'Added to favourites': 'Añadido a favoritos',
|
||||
'Removed from favourites': 'Quitado de favoritos',
|
||||
'Favourites': 'Favoritos',
|
||||
'No favourites here — tap the star on an exercise to add it.': 'Sin favoritos aquí — toca la estrella de un ejercicio para añadirlo.',
|
||||
'No match': 'Sin resultados',
|
||||
'Show more': 'Mostrar más',
|
||||
'Intervals': 'Intervalos',
|
||||
|
||||
@@ -89,6 +89,12 @@ export default {
|
||||
'Search {0} exercises…': 'Rechercher parmi {0} exercices…',
|
||||
'Chosen': 'Choisis',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': 'Rien de choisi — ajoute des exercices et ils apparaîtront ici.',
|
||||
'Add to favourites': 'Ajouter aux favoris',
|
||||
'Remove from favourites': 'Retirer des favoris',
|
||||
'Added to favourites': 'Ajouté aux favoris',
|
||||
'Removed from favourites': 'Retiré des favoris',
|
||||
'Favourites': 'Favoris',
|
||||
'No favourites here — tap the star on an exercise to add it.': 'Aucun favori ici — touche l’étoile d’un exercice pour l’ajouter.',
|
||||
'No match': 'Aucun résultat',
|
||||
'Show more': 'Afficher plus',
|
||||
'Intervals': 'Intervalles',
|
||||
|
||||
@@ -89,6 +89,12 @@ export default {
|
||||
'Search {0} exercises…': '{0} व्यायामों में खोजें…',
|
||||
'Chosen': 'चुने हुए',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': 'अभी कुछ नहीं चुना — व्यायाम जोड़ें तो वे यहाँ दिखेंगे।',
|
||||
'Add to favourites': 'पसंदीदा में जोड़ें',
|
||||
'Remove from favourites': 'पसंदीदा से हटाएँ',
|
||||
'Added to favourites': 'पसंदीदा में जोड़ा गया',
|
||||
'Removed from favourites': 'पसंदीदा से हटाया गया',
|
||||
'Favourites': 'पसंदीदा',
|
||||
'No favourites here — tap the star on an exercise to add it.': 'यहाँ कोई पसंदीदा नहीं — किसी व्यायाम पर तारे को टैप करें।',
|
||||
'No match': 'कोई परिणाम नहीं',
|
||||
'Show more': 'और दिखाएँ',
|
||||
'Intervals': 'इंटरवल',
|
||||
|
||||
@@ -92,6 +92,12 @@ export default {
|
||||
'Search {0} exercises…': '{0} gyakorlat keresése…',
|
||||
'Chosen': 'Kiválasztva',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': 'Még nincs kiválasztva semmi — adj hozzá gyakorlatokat, és itt fognak megjelenni.',
|
||||
'Add to favourites': 'Kedvencekhez adás',
|
||||
'Remove from favourites': 'Eltávolítás a kedvencekből',
|
||||
'Added to favourites': 'Hozzáadva a kedvencekhez',
|
||||
'Removed from favourites': 'Eltávolítva a kedvencekből',
|
||||
'Favourites': 'Kedvencek',
|
||||
'No favourites here — tap the star on an exercise to add it.': 'Itt nincs kedvenc — koppints egy gyakorlat csillagára.',
|
||||
'No match': 'Nincs találat',
|
||||
'Show more': 'Több megjelenítése',
|
||||
'Intervals': 'Intervallumok',
|
||||
|
||||
@@ -89,6 +89,12 @@ export default {
|
||||
'Search {0} exercises…': 'Cerca tra {0} esercizi…',
|
||||
'Chosen': 'Scelti',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': 'Ancora niente — aggiungi esercizi e appariranno qui.',
|
||||
'Add to favourites': 'Aggiungi ai preferiti',
|
||||
'Remove from favourites': 'Rimuovi dai preferiti',
|
||||
'Added to favourites': 'Aggiunto ai preferiti',
|
||||
'Removed from favourites': 'Rimosso dai preferiti',
|
||||
'Favourites': 'Preferiti',
|
||||
'No favourites here — tap the star on an exercise to add it.': 'Nessun preferito qui — tocca la stella di un esercizio per aggiungerlo.',
|
||||
'No match': 'Nessun risultato',
|
||||
'Show more': 'Mostra altro',
|
||||
'Intervals': 'Intervalli',
|
||||
|
||||
@@ -87,8 +87,14 @@ export default {
|
||||
'Create one and start with this exercise': '새로 만들어 이 운동으로 시작',
|
||||
'Add exercise': '운동 추가',
|
||||
'Search {0} exercises…': '{0}개 운동 검색…',
|
||||
'Chosen': '즐겨찾기',
|
||||
'Chosen': '선택됨',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': '아직 없어요 — 운동을 추가하면 여기에 표시됩니다.',
|
||||
'Add to favourites': '즐겨찾기에 추가',
|
||||
'Remove from favourites': '즐겨찾기에서 제거',
|
||||
'Added to favourites': '즐겨찾기에 추가했어요',
|
||||
'Removed from favourites': '즐겨찾기에서 제거했어요',
|
||||
'Favourites': '즐겨찾기',
|
||||
'No favourites here — tap the star on an exercise to add it.': '즐겨찾기가 없어요 — 운동의 별을 눌러 추가하세요.',
|
||||
'No match': '검색 결과 없음',
|
||||
'Show more': '더 보기',
|
||||
'Intervals': '인터벌',
|
||||
|
||||
@@ -89,6 +89,12 @@ export default {
|
||||
'Search {0} exercises…': 'Szukaj wśród {0} ćwiczeń…',
|
||||
'Chosen': 'Wybrane',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': 'Nic nie wybrano — dodaj ćwiczenia, a pojawią się tutaj.',
|
||||
'Add to favourites': 'Dodaj do ulubionych',
|
||||
'Remove from favourites': 'Usuń z ulubionych',
|
||||
'Added to favourites': 'Dodano do ulubionych',
|
||||
'Removed from favourites': 'Usunięto z ulubionych',
|
||||
'Favourites': 'Ulubione',
|
||||
'No favourites here — tap the star on an exercise to add it.': 'Brak ulubionych — dotknij gwiazdki przy ćwiczeniu, aby je dodać.',
|
||||
'No match': 'Brak wyników',
|
||||
'Show more': 'Pokaż więcej',
|
||||
'Intervals': 'Interwały',
|
||||
|
||||
@@ -32,6 +32,7 @@ export const PT_BR_OVERRIDES = {
|
||||
'Create one and start with this exercise': 'Crie uma e comece com este exercício',
|
||||
'Search {0} exercises…': 'Buscar entre {0} exercícios…',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': 'Nenhum exercício escolhido — adicione exercícios e eles aparecerão aqui.',
|
||||
'No favourites here — tap the star on an exercise to add it.': 'Sem favoritos aqui — toque na estrela de um exercício para adicioná-lo.',
|
||||
'The sets you logged for this exercise in this session will be lost.': 'As séries registradas para este exercício nesta sessão serão perdidas.',
|
||||
'Swap exercise': 'Trocar exercício',
|
||||
'Swap exercise?': 'Trocar exercício?',
|
||||
|
||||
@@ -89,6 +89,12 @@ export default {
|
||||
'Search {0} exercises…': 'Pesquisar {0} exercícios…',
|
||||
'Chosen': 'Escolhidos',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': 'Ainda nada escolhido — adiciona exercícios e eles aparecem aqui.',
|
||||
'Add to favourites': 'Adicionar aos favoritos',
|
||||
'Remove from favourites': 'Remover dos favoritos',
|
||||
'Added to favourites': 'Adicionado aos favoritos',
|
||||
'Removed from favourites': 'Removido dos favoritos',
|
||||
'Favourites': 'Favoritos',
|
||||
'No favourites here — tap the star on an exercise to add it.': 'Sem favoritos aqui — toca na estrela de um exercício para o adicionar.',
|
||||
'No match': 'Sem resultados',
|
||||
'Show more': 'Mostrar mais',
|
||||
'Intervals': 'Intervalos',
|
||||
|
||||
@@ -87,8 +87,14 @@ export default {
|
||||
'Create one and start with this exercise': 'Создай новую и начни с этого упражнения',
|
||||
'Add exercise': 'Добавить упражнение',
|
||||
'Search {0} exercises…': 'Поиск среди {0} упражнений…',
|
||||
'Chosen': 'Избранные',
|
||||
'Chosen': 'Выбранные',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': 'Пока ничего нет — добавляй упражнения, и они появятся здесь.',
|
||||
'Add to favourites': 'В избранное',
|
||||
'Remove from favourites': 'Убрать из избранного',
|
||||
'Added to favourites': 'Добавлено в избранное',
|
||||
'Removed from favourites': 'Убрано из избранного',
|
||||
'Favourites': 'Избранное',
|
||||
'No favourites here — tap the star on an exercise to add it.': 'Здесь нет избранного — нажми на звезду у упражнения.',
|
||||
'No match': 'Ничего не найдено',
|
||||
'Show more': 'Показать ещё',
|
||||
'Intervals': 'Интервалы',
|
||||
|
||||
@@ -92,6 +92,12 @@ export default {
|
||||
'Search {0} exercises…': 'ค้นหาใน {0} ท่า…',
|
||||
'Chosen': 'ที่เลือกไว้',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': 'ยังไม่ได้เลือกอะไรเลย — เพิ่มท่าออกกำลังกายแล้วจะโผล่มาที่นี่',
|
||||
'Add to favourites': 'เพิ่มในรายการโปรด',
|
||||
'Remove from favourites': 'นำออกจากรายการโปรด',
|
||||
'Added to favourites': 'เพิ่มในรายการโปรดแล้ว',
|
||||
'Removed from favourites': 'นำออกจากรายการโปรดแล้ว',
|
||||
'Favourites': 'รายการโปรด',
|
||||
'No favourites here — tap the star on an exercise to add it.': 'ยังไม่มีรายการโปรดที่นี่ — แตะดาวที่ท่าออกกำลังกายเพื่อเพิ่ม',
|
||||
'No match': 'ไม่พบผลลัพธ์',
|
||||
'Show more': 'แสดงเพิ่ม',
|
||||
'Intervals': 'อินเทอร์วัล',
|
||||
|
||||
@@ -89,6 +89,12 @@ export default {
|
||||
'Search {0} exercises…': '{0} egzersiz içinde ara…',
|
||||
'Chosen': 'Seçilenler',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': 'Henüz seçim yok — egzersiz ekledikçe burada görünecekler.',
|
||||
'Add to favourites': 'Favorilere ekle',
|
||||
'Remove from favourites': 'Favorilerden çıkar',
|
||||
'Added to favourites': 'Favorilere eklendi',
|
||||
'Removed from favourites': 'Favorilerden çıkarıldı',
|
||||
'Favourites': 'Favoriler',
|
||||
'No favourites here — tap the star on an exercise to add it.': 'Burada favori yok — eklemek için bir egzersizin yıldızına dokun.',
|
||||
'No match': 'Sonuç yok',
|
||||
'Show more': 'Daha fazla göster',
|
||||
'Intervals': 'Aralıklar',
|
||||
|
||||
@@ -89,6 +89,12 @@ export default {
|
||||
'Search {0} exercises…': '搜索 {0} 个动作…',
|
||||
'Chosen': '常用',
|
||||
'Nothing chosen yet — add exercises and they’ll show up here.': '还没有常用动作——添加后会显示在这里。',
|
||||
'Add to favourites': '加入收藏',
|
||||
'Remove from favourites': '取消收藏',
|
||||
'Added to favourites': '已加入收藏',
|
||||
'Removed from favourites': '已取消收藏',
|
||||
'Favourites': '收藏',
|
||||
'No favourites here — tap the star on an exercise to add it.': '这里还没有收藏——点动作旁的星标即可加入。',
|
||||
'No match': '没有匹配',
|
||||
'Show more': '显示更多',
|
||||
'Intervals': '间歇数',
|
||||
|
||||
Reference in new issue
Block a user