mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 17:41:09 +02:00
i18n(sleep): add namespace JSONs (de/en/es/fr/it)
Adds list_view sub-namespace covering log CTA, last-night card (label + edit + interruptions), week chart heading, 5 stat labels (avg duration/ quality, sleep debt, consistency, streak), heatmap title interpolation, hygiene-correlation card, log/hygiene action buttons. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
1931739aac
commit
c94b67395a
5 changed files with 110 additions and 0 deletions
22
apps/mana/apps/web/src/lib/i18n/locales/sleep/de.json
Normal file
22
apps/mana/apps/web/src/lib/i18n/locales/sleep/de.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"list_view": {
|
||||
"cta_question": "Wie hast du geschlafen?",
|
||||
"cta_action": "Jetzt loggen",
|
||||
"label_last_night": "Letzte Nacht",
|
||||
"action_edit": "Bearbeiten",
|
||||
"interruptions": "{n}× aufgewacht",
|
||||
"section_week": "Diese Woche",
|
||||
"stat_avg_duration": "Ø Dauer (7T)",
|
||||
"stat_avg_quality": "Ø Qualität",
|
||||
"stat_sleep_debt": "Schlafschuld",
|
||||
"stat_consistency": "Konsistenz",
|
||||
"stat_streak": "Streak",
|
||||
"section_quality": "Qualität (30 Tage)",
|
||||
"heatmap_cell_title": "{date}: {label}",
|
||||
"section_hygiene_corr": "Schlafhygiene-Effekt",
|
||||
"corr_with": "Mit Hygiene (≥70%):",
|
||||
"corr_without": "Ohne:",
|
||||
"action_log_sleep": "Schlaf loggen",
|
||||
"action_hygiene_check": "Hygiene-Check"
|
||||
}
|
||||
}
|
||||
22
apps/mana/apps/web/src/lib/i18n/locales/sleep/en.json
Normal file
22
apps/mana/apps/web/src/lib/i18n/locales/sleep/en.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"list_view": {
|
||||
"cta_question": "How did you sleep?",
|
||||
"cta_action": "Log now",
|
||||
"label_last_night": "Last night",
|
||||
"action_edit": "Edit",
|
||||
"interruptions": "{n}× woke up",
|
||||
"section_week": "This week",
|
||||
"stat_avg_duration": "Avg duration (7d)",
|
||||
"stat_avg_quality": "Avg quality",
|
||||
"stat_sleep_debt": "Sleep debt",
|
||||
"stat_consistency": "Consistency",
|
||||
"stat_streak": "Streak",
|
||||
"section_quality": "Quality (30 days)",
|
||||
"heatmap_cell_title": "{date}: {label}",
|
||||
"section_hygiene_corr": "Sleep hygiene effect",
|
||||
"corr_with": "With hygiene (≥70%):",
|
||||
"corr_without": "Without:",
|
||||
"action_log_sleep": "Log sleep",
|
||||
"action_hygiene_check": "Hygiene check"
|
||||
}
|
||||
}
|
||||
22
apps/mana/apps/web/src/lib/i18n/locales/sleep/es.json
Normal file
22
apps/mana/apps/web/src/lib/i18n/locales/sleep/es.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"list_view": {
|
||||
"cta_question": "¿Cómo dormiste?",
|
||||
"cta_action": "Registrar ahora",
|
||||
"label_last_night": "Anoche",
|
||||
"action_edit": "Editar",
|
||||
"interruptions": "{n}× despertares",
|
||||
"section_week": "Esta semana",
|
||||
"stat_avg_duration": "Duración media (7d)",
|
||||
"stat_avg_quality": "Calidad media",
|
||||
"stat_sleep_debt": "Deuda de sueño",
|
||||
"stat_consistency": "Consistencia",
|
||||
"stat_streak": "Racha",
|
||||
"section_quality": "Calidad (30 días)",
|
||||
"heatmap_cell_title": "{date}: {label}",
|
||||
"section_hygiene_corr": "Efecto higiene del sueño",
|
||||
"corr_with": "Con higiene (≥70%):",
|
||||
"corr_without": "Sin:",
|
||||
"action_log_sleep": "Registrar sueño",
|
||||
"action_hygiene_check": "Check higiene"
|
||||
}
|
||||
}
|
||||
22
apps/mana/apps/web/src/lib/i18n/locales/sleep/fr.json
Normal file
22
apps/mana/apps/web/src/lib/i18n/locales/sleep/fr.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"list_view": {
|
||||
"cta_question": "Comment as-tu dormi ?",
|
||||
"cta_action": "Enregistrer maintenant",
|
||||
"label_last_night": "Dernière nuit",
|
||||
"action_edit": "Modifier",
|
||||
"interruptions": "{n}× réveils",
|
||||
"section_week": "Cette semaine",
|
||||
"stat_avg_duration": "Durée moy. (7j)",
|
||||
"stat_avg_quality": "Qualité moy.",
|
||||
"stat_sleep_debt": "Dette de sommeil",
|
||||
"stat_consistency": "Régularité",
|
||||
"stat_streak": "Série",
|
||||
"section_quality": "Qualité (30 jours)",
|
||||
"heatmap_cell_title": "{date} : {label}",
|
||||
"section_hygiene_corr": "Effet hygiène du sommeil",
|
||||
"corr_with": "Avec hygiène (≥70 %) :",
|
||||
"corr_without": "Sans :",
|
||||
"action_log_sleep": "Enregistrer le sommeil",
|
||||
"action_hygiene_check": "Check hygiène"
|
||||
}
|
||||
}
|
||||
22
apps/mana/apps/web/src/lib/i18n/locales/sleep/it.json
Normal file
22
apps/mana/apps/web/src/lib/i18n/locales/sleep/it.json
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"list_view": {
|
||||
"cta_question": "Come hai dormito?",
|
||||
"cta_action": "Registra ora",
|
||||
"label_last_night": "Ultima notte",
|
||||
"action_edit": "Modifica",
|
||||
"interruptions": "{n}× risvegli",
|
||||
"section_week": "Questa settimana",
|
||||
"stat_avg_duration": "Durata media (7g)",
|
||||
"stat_avg_quality": "Qualità media",
|
||||
"stat_sleep_debt": "Debito di sonno",
|
||||
"stat_consistency": "Costanza",
|
||||
"stat_streak": "Serie",
|
||||
"section_quality": "Qualità (30 giorni)",
|
||||
"heatmap_cell_title": "{date}: {label}",
|
||||
"section_hygiene_corr": "Effetto igiene del sonno",
|
||||
"corr_with": "Con igiene (≥70%):",
|
||||
"corr_without": "Senza:",
|
||||
"action_log_sleep": "Registra sonno",
|
||||
"action_hygiene_check": "Check igiene"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue