Skip to content

Commit 91c9af8

Browse files
committed
MORE-Platform#396: update goal template localization variables
1 parent fbd364b commit 91c9af8

2 files changed

Lines changed: 166 additions & 90 deletions

File tree

src/i18n/de.json

Lines changed: 76 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,24 @@
572572
"goaltemplate": {
573573
"property": {
574574
"global": {
575+
"section": {
576+
"configuration": {
577+
"name": "Zielkonfiguration",
578+
"description": "Hier können Sie das ZIeltemplate konfigurieren. Die konfigurierten Werte ermöglichen es Teilnehmer:innen, das Ziel auf der App zu personalisieren."
579+
},
580+
"goal": {
581+
"name": "Ziel-Einstellungen konfigurieren",
582+
"description": "Die folgenden Zieleinstellungen legen fest, welche Werte die Teilnehmer:innen zur Personalisierung des Ziels zur Verfügung haben."
583+
},
584+
"status-texts": {
585+
"name": "Status Texte",
586+
"description": "Diese Texte werden basierend auf einen Algorythmus in der App angezeigt. Dies sollen motivierende Texte sein, die die Teilnehmer:innen anspornen."
587+
},
588+
"self-report": {
589+
"name": "Selbstbericht Benachrichigung",
590+
"description": "Hier können Sie zu einer bestimmten Zeit eine Benachrichtigung an die Teilnehmer:innen senden, um die Zielerreichung zu verifizieren."
591+
}
592+
},
575593
"appTitle": {
576594
"name": "App Ziel Titel",
577595
"description": "Der Default-Name des Ziels, welcher auf der Teilnehmer:innen App angezeigt wird.",
@@ -587,38 +605,23 @@
587605
"description": "Erlaubt den Teilnehmer:innen bei der Personalisierung auf der App den Zieltitel anzupassen.",
588606
"placeholder": "Überschreiben erlauben"
589607
},
608+
"showAsTodoItemState": {
609+
"name": "Verpflichtendes Ziel",
610+
"description": "Dies ist ein verpflichtendes Ziel, das von den Teilnehmer:innen abgeschlossen werden muss."
611+
},
612+
"customShowAsTodoItemState": {
613+
"name": "Benutzerdefiniertes verpflichtendes Ziel",
614+
"description": "Dies ist ein benutzerdefiniertes verpflichtendes Ziel, das von den Teilnehmer:innen abgeschlossen werden muss."
615+
},
590616
"days-of-week": {
591617
"name": "Wochentage",
592618
"description": "Wochentage Bereich",
593619
"placeholder-min": "Mindestwert",
594620
"placeholder-max": "Maximalwert"
595-
},
596-
"self-report-time": {
597-
"name": "Sendungs Zeitpunkt",
598-
"description": "Dies ist der Zeitpunkt, zu dem die Benachricthigung an die Teilnehmer:innen gesendet wird.",
599-
"placeholder": "Zeitpunkte auswählen"
600621
}
601622
},
602623
"amountOfGoal": {
603624
"partOfTemplate": "Teil der Vorschau",
604-
"section": {
605-
"configuration": {
606-
"name": "Zielkonfiguration",
607-
"description": "Hier können Sie das ZIeltemplate konfigurieren. Die konfigurierten Werte ermöglichen es Teilnehmer:innen, das Ziel auf der App zu personalisieren."
608-
},
609-
"goal": {
610-
"name": "Ziel-Einstellungen konfigurieren",
611-
"description": "Die folgenden Zieleinstellungen legen fest, welche Werte die Teilnehmer:innen zur Personalisierung des Ziels zur Verfügung haben."
612-
},
613-
"status-texts": {
614-
"name": "Status Texte",
615-
"description": "Diese Texte werden basierend auf einen Algorythmus in der App angezeigt. Dies sollen motivierende Texte sein, die die Teilnehmer:innen anspornen."
616-
},
617-
"self-report": {
618-
"name": "Selbstbericht Benachrichigung",
619-
"description": "Hier können Sie zu einer bestimmten Zeit eine Benachrichtigung an die Teilnehmer:innen senden, um die Zielerreichung zu verifizieren."
620-
}
621-
},
622625
"goal-preview": {
623626
"name": "Ziel Vorschau",
624627
"description": "Das Ziel wird auf der App folgendermaßen angezeigt:",
@@ -638,6 +641,28 @@
638641
"description": "Die Einheit für Zielwerte (z.B. Glas Wasser)",
639642
"placeholder": "Einheit eingeben"
640643
}
644+
}
645+
},
646+
"boolean": {
647+
"goal": {
648+
"question": {
649+
"name": "Zieltext",
650+
"description": "Dies ist der Text, der den Patienten in der App angezeigt wird (z. B. wie die Vorschau von anderen Zielen mit komplexeren Eigenschaften).",
651+
"placeholder": "Zieltext eingeben"
652+
},
653+
"desired": {
654+
"name": "Gewünschtes Ergebnis",
655+
"description": "Dies ist das gewünschte Ergebnis der Adhärenzprüfung (wahr, falsch)"
656+
}
657+
}
658+
},
659+
"reduceAmountOf": {
660+
"goal": {
661+
"activity": {
662+
"name": "Aktion",
663+
"description": "Was wird gemacht?",
664+
"placeholder": "Aktion eingeben"
665+
}
641666
},
642667
"status-100-reached": {
643668
"name": "100% erreicht",
@@ -654,11 +679,6 @@
654679
"description": "Text der zwischen 0 und 75% Zielerreichung angezeigt wird.",
655680
"placeholder": "Statustext für 'noch nicht erreicht' eingeben"
656681
},
657-
"self-report-question": {
658-
"name": "Fargetext",
659-
"description": "Dies ist die Nachricht, die an die Teilnehmer:innen gesendet wird.",
660-
"placeholder": "Fargetext eingeben"
661-
},
662682
"status-day-not-consumed": {
663683
"name": "Nichts konsumiert",
664684
"description": "Dieser Status wird angezeigt, wenn an dem Tag nichts konsumiert wurde.",
@@ -673,15 +693,24 @@
673693
"name": "Über dem Limit",
674694
"description": "Dieser Status wird angezeigt, wenn das Limit überschritten wurde.",
675695
"placeholder": "Statustext für 'Über dem Limit' eingeben"
676-
}
677-
},
678-
"reduceAmountOf": {
679-
"goal": {
680-
"activity": {
681-
"name": "Aktion",
682-
"description": "Was wird gemacht?",
683-
"placeholder": "Aktion eingeben"
684-
}
696+
},
697+
"self-report-time": {
698+
"name": "Benachrichtigungszeitpunkt",
699+
"description": "Dies ist der Zeitpunkt, zu dem die Benachrichtigung an die Teilnehmer:innen gesendet wird.",
700+
"placeholder": "Zeitpunkte auswählen"
701+
},
702+
"customAdherenceChecksState": {
703+
"name": "Benutzerdefinierte Adhärenzprüfung",
704+
"description": "Ermöglicht es dem Patienten, die Standardeinstellungen für Adhärenzprüfungen zu überschreiben."
705+
},
706+
"adherenceChecksScheduleState": {
707+
"name": "Benutzerdefinierte Adhärenzprüfung",
708+
"description": "Ermöglicht es dem Patienten, die Standardeinstellungen für Adhärenzprüfungen zu überschreiben."
709+
},
710+
"self-report-question": {
711+
"name": "Fragetext",
712+
"description": "Dies ist die Nachricht, die an die Teilnehmer:innen gesendet wird.",
713+
"placeholder": "Fragetext eingeben"
685714
}
686715
}
687716
},
@@ -741,7 +770,16 @@
741770
},
742771
"category": {
743772
"nutrition": "Ernährung",
744-
"smoking": "Rauchen"
773+
"smoking": "Rauchen",
774+
"medication": "Medikamente"
775+
},
776+
"medication": {
777+
"description": "Dieses Ziel hilft dabei, die Einnahme von Medikamenten zu verfolgen.",
778+
"name": "Medikament"
779+
},
780+
"boolean": {
781+
"description": "Dieses Ziel ist eine einfache Ja/Nein-Bedingung für ein benutzerdefiniertes Ziel.",
782+
"name": "Ja/Nein-Bedingung"
745783
}
746784
},
747785
"goalTemplateList": {

src/i18n/en.json

Lines changed: 90 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -572,6 +572,24 @@
572572
"goaltemplate": {
573573
"property": {
574574
"global": {
575+
"section": {
576+
"configuration": {
577+
"name": "Goal Configuration",
578+
"description": "Here you can configure the goal template. The configured values allow participants to personalize the goal in the app."
579+
},
580+
"goal": {
581+
"name": "Configure Goal Settings",
582+
"description": "The following goal settings define which values are available to participants for personalizing the goal."
583+
},
584+
"status-texts": {
585+
"name": "Status Texts",
586+
"description": "These texts are displayed in the app based on an algorithm. They should be motivating texts that encourage participants."
587+
},
588+
"self-report": {
589+
"name": "Self-Report Notification",
590+
"description": "Here you can send a notification to participants at a specific time to verify goal achievement."
591+
}
592+
},
575593
"appTitle": {
576594
"name": "App Goal Title",
577595
"description": "The default name of the goal displayed in the participant app.",
@@ -587,58 +605,20 @@
587605
"description": "Allows participants to customize the goal title during personalization in the app.",
588606
"placeholder": "Allow overriding"
589607
},
608+
"showAsTodoItemState": {
609+
"name": "Mendatory Goal",
610+
"description": "This is a mandatory goal that must be completed by the participant."
611+
},
612+
"customShowAsTodoItemState": {
613+
"name": "Custom Mendatory Goal",
614+
"description": "This is a custom mandatory goal that must be completed by the participant."
615+
},
590616
"days-of-week": {
591617
"name": "Days of the Week",
592618
"description": "Days of the week range",
593619
"placeholder-min": "Minimum value",
594620
"placeholder-max": "Maximum value"
595621
},
596-
"self-report-time": {
597-
"name": "Notification Time",
598-
"description": "This is the time at which the notification is sent to participants.",
599-
"placeholder": "Select times"
600-
}
601-
},
602-
"amountOfGoal": {
603-
"partOfTemplate": "Part of the preview",
604-
"section": {
605-
"configuration": {
606-
"name": "Goal Configuration",
607-
"description": "Here you can configure the goal template. The configured values allow participants to personalize the goal in the app."
608-
},
609-
"goal": {
610-
"name": "Configure Goal Settings",
611-
"description": "The following goal settings define which values are available to participants for personalizing the goal."
612-
},
613-
"status-texts": {
614-
"name": "Status Texts",
615-
"description": "These texts are displayed in the app based on an algorithm. They should be motivating texts that encourage participants."
616-
},
617-
"self-report": {
618-
"name": "Self-Report Notification",
619-
"description": "Here you can send a notification to participants at a specific time to verify goal achievement."
620-
}
621-
},
622-
"goal-preview": {
623-
"name": "Goal Preview",
624-
"description": "The goal is displayed in the app as follows:",
625-
"partOfTemplate": "Part of the preview"
626-
},
627-
"goal": {
628-
"name": "Goal Settings",
629-
"description": "These are the options for the goal settings that participants can use to customize their personal goal.",
630-
"amount": {
631-
"name": "Amount",
632-
"description": "Range for goal achievement",
633-
"placeholder-min": "Minimum value",
634-
"placeholder-max": "Maximum value"
635-
},
636-
"unit": {
637-
"name": "Unit",
638-
"description": "The unit for goal values (e.g. glass of water)",
639-
"placeholder": "Enter unit"
640-
}
641-
},
642622
"status-100-reached": {
643623
"name": "100% Reached",
644624
"description": "Text displayed when 100% of the goal is achieved.",
@@ -654,11 +634,6 @@
654634
"description": "Text displayed between 0 and 75% goal achievement.",
655635
"placeholder": "Enter status text for 'not yet reached'"
656636
},
657-
"self-report-question": {
658-
"name": "Question Text",
659-
"description": "This is the message sent to participants.",
660-
"placeholder": "Enter question text"
661-
},
662637
"status-day-not-consumed": {
663638
"name": "Nothing Consumed",
664639
"description": "This status is displayed when nothing was consumed that day.",
@@ -673,6 +648,60 @@
673648
"name": "Above the Limit",
674649
"description": "This status is displayed when the limit has been exceeded.",
675650
"placeholder": "Enter status text for 'above the limit'"
651+
},
652+
"self-report-time": {
653+
"name": "Notification Time",
654+
"description": "This is the time at which the notification is sent to participants.",
655+
"placeholder": "Select times"
656+
},
657+
"customAdherenceChecksState": {
658+
"name": "Custom Adherence Check",
659+
"description": "Lets the patient overwrite the goals default settings for adherence checks."
660+
},
661+
"adherenceChecksScheduleState": {
662+
"name": "Custom Adherence Check",
663+
"description": "Lets the patient overwrite the goals default settings for adherence checks."
664+
},
665+
"self-report-question": {
666+
"name": "Question Text",
667+
"description": "This is the message sent to participants.",
668+
"placeholder": "Enter question text"
669+
}
670+
},
671+
"amountOfGoal": {
672+
"partOfTemplate": "Part of the preview",
673+
"goal-preview": {
674+
"name": "Goal Preview",
675+
"description": "The goal is displayed in the app as follows:",
676+
"partOfTemplate": "Part of the preview"
677+
},
678+
"goal": {
679+
"name": "Goal Settings",
680+
"description": "These are the options for the goal settings that participants can use to customize their personal goal.",
681+
"amount": {
682+
"name": "Amount",
683+
"description": "Range for goal achievement",
684+
"placeholder-min": "Minimum value",
685+
"placeholder-max": "Maximum value"
686+
},
687+
"unit": {
688+
"name": "Unit",
689+
"description": "The unit for goal values (e.g. glass of water)",
690+
"placeholder": "Enter unit"
691+
}
692+
}
693+
},
694+
"boolean": {
695+
"goal": {
696+
"question": {
697+
"name": "Goal Text",
698+
"description": "This is the text displayed to patients in the app (e.g. like the Previewf from other goals with more complex properties)",
699+
"placeholder": "Enter goal text"
700+
},
701+
"desired": {
702+
"name": "Desired outcome",
703+
"description": "This is the desired outcome of the adhearance check (true, false)"
704+
}
676705
}
677706
},
678707
"reduceAmountOf": {
@@ -741,7 +770,16 @@
741770
},
742771
"category": {
743772
"nutrition": "Nutrition",
744-
"smoking": "Smoking"
773+
"smoking": "Smoking",
774+
"medication": "Medication"
775+
},
776+
"medication": {
777+
"description": "This goal helps to track adherance for medication.",
778+
"name": "Medication"
779+
},
780+
"boolean": {
781+
"description": "This goal is a simple yes/no condition, for defining a custom goal.",
782+
"name": "Yes/No condition"
745783
}
746784
},
747785
"goalTemplateList": {

0 commit comments

Comments
 (0)