From f3cb444b1c2b0f94308478c7fe9131a6944c8b6b Mon Sep 17 00:00:00 2001 From: "ITHQ1947\\saritha.pillai" Date: Wed, 30 Oct 2024 18:23:04 +0530 Subject: [PATCH 1/2] Funny memory game changes --- public/locales/hi/translation.json | 38 ++++++++++--------- src/components/EmbeddedActivity.tsx | 10 +++++ .../Researcher/ActivityList/Activity.tsx | 1 + .../Researcher/ActivityList/AddActivity.tsx | 3 +- .../Researcher/ActivityList/Index.tsx | 2 + src/components/Survey.tsx | 1 + 6 files changed, 36 insertions(+), 19 deletions(-) diff --git a/public/locales/hi/translation.json b/public/locales/hi/translation.json index b7a8e212..1a78494c 100644 --- a/public/locales/hi/translation.json +++ b/public/locales/hi/translation.json @@ -920,7 +920,7 @@ "Track your physical symptoms and the emotions you felt at the same time today": "अपने शारीरिक लक्षणों और भावनाओं को ट्रैक करें जिन्हें आपने आज एक ही समय में महसूस किया", "Your mental and physical health are strongly linked and stress can affect symptoms related to any chronic conditions that you may be living with. Every time today that you feel a physical symptom, make a note in your phone or on a piece of paper of that physical symptom and any emotions you also felt in that moment.": "आपका मानसिक और शारीरिक स्वास्थ्य आपस में मजबूती से जुड़ा हुआ है और किसी भी पुरानी स्थिति से संबंधित लक्षण, जो आपको होते हैं, तनाव उन्हें प्रभावित कर सकता है। जितनी बार भी आज आप एक शारीरिक लक्षण महसूस करते हैं, तो अपने फोन में या कागज के एक टुकड़े पर उस शारीरिक लक्षण और उस क्षण में आपके द्वारा महसूस की गई भावनाओं के बारे में एक नोट बनाएं।", "Activate your senses and ground yourself": "वर्तमान में रहें और अपनी इंद्रियों पर ध्यान केंद्रित करें।", -"It's pretty hard to have two different thoughts in your head at one time. The goal is to fill your brain with thoughts on the here and now - and stop allowing your brain to go to the other place. The more you practice, the faster you'll notice your body and brain responding well. Use the following prompts to go through your environment in five senses\nI see:\nI feel:\nI hear:\nI smell:\nI taste:\nAs long as your mind is talking through any of the statements and not on anxious thoughts, you're good. Talk through it until you feel your mind and your body calm down.": +"It’s pretty hard to have two different thoughts in your head at one time. The goal is to fill your brain with thoughts on the here and now - and stop allowing your brain to go to the other place. The more you practice, the faster you'll notice your body and brain responding well. Use the following prompts to go through your environment in five senses\nI see:\nI feel:\nI hear:\nI smell:\nI taste:\nAs long as your mind is talking through any of the statements and not on anxious thoughts, you're good. Talk through it until you feel your mind and your body calm down.": "एक समय में आपके दिमाग में दो अलग-अलग विचार होना बहुत कठिन है। लक्ष्य यह है कि आपको अपने मस्तिष्क में यहाँ और अभी के विचारों से भरना है - और अपने मस्तिष्क को दूसरी जगह जाने देना या दूसरी चीजों के बारे में सोचना बंद करना है। जितना अधिक आप अभ्यास करेंगे, उतनी ही तेज़ी से आप पाएंगे कि आपका शरीर और मस्तिष्क अच्छी तरह से प्रतिक्रिया कर रहे हैं। अपने वातावरण को पांच इंद्रियों से समझने के लिए निम्नलिखित संकेतों का प्रयोग करें- \n मैंने देखा- \nमैंने महसूस किया-\nमैंने सुना-\nमैंने सूंघा- \nमैंने स्वाद लिया-\nजब तक आपका दिमाग इनमें से किसी भी कथन के माध्यम से बात कर रहा है और चिंतित विचारों में नहीं है, आप सही रास्ते पर हैं। इसके माध्यम से तब तक बात करें जब तक आप महसूस न करें कि आपका मन और शरीर शांत हो गया है।", "I see":"मैंने देखा", "I feel": "मैंने महसूस किया", @@ -928,6 +928,8 @@ "I smell":"मैंने सूंघा", "I taste":"मैंने स्वाद लिया", +"It’s pretty hard to have two different thoughts in your head at one time. The goal is to fill your brain with thoughts on the here and now – and stop allowing your brain to go to the other place. The more you practice, the faster you’ll notice your body and brain responding well. Use the following prompts to go through your environment in five senses\nI see:\nI feel:\nI hear:\nI smell:\nI taste:\n\nAs long as your mind is talking through any of the statements and not on anxious thoughts, you’re good. Talk through it until you feel your mind and your body calm down.": + "एक समय में आपके दिमाग में दो अलग-अलग विचार होना बहुत कठिन है। लक्ष्य यह है कि आपको अपने मस्तिष्क में यहाँ और अभी के विचारों से भरना है - और अपने मस्तिष्क को दूसरी जगह जाने देना या दूसरी चीजों के बारे में सोचना बंद करना है। जितना अधिक आप अभ्यास करेंगे, उतनी ही तेज़ी से आप पाएंगे कि आपका शरीर और मस्तिष्क अच्छी तरह से प्रतिक्रिया कर रहे हैं। अपने वातावरण को पांच इंद्रियों से समझने के लिए निम्नलिखित संकेतों का प्रयोग करें-\n\nमैंने देखा- \nमैंने महसूस किया-\nमैंने सुना-\nमैंने सूंघा- \nमैंने स्वाद लिया-\n\nजब तक आपका दिमाग इनमें से किसी भी कथन के माध्यम से बात कर रहा है और चिंतित विचारों में नहीं है, आप सही रास्ते पर हैं। इसके माध्यम से तब तक बात करें जब तक आप महसूस न करें कि आपका मन और शरीर शांत हो गया है।", "As long as your mind is talking through any of the statements and not on anxious thoughts, you're good. Talk through it until you feel your mind and your body calm down.": "जब तक आपका दिमाग इनमें से किसी भी कथन के माध्यम से बात कर रहा है और चिंतित विचारों में नहीं है, आप सही रास्ते पर हैं। इसके माध्यम से तब तक बात करें जब तक आप महसूस न करें कि आपका मन और शरीर शांत हो गया है।", "Cognitive remediation": "संज्ञानात्मक उपचार", @@ -937,12 +939,12 @@ "Source: \nBarlati, S., Deste, G., De Peri, L., Ariu, C., & Vita, A. (2013). Cognitive remediation in schizophrenia: current status and future perspectives. Schizophrenia research and treatment, 2013, 156084.": "बरलाती, एस।, डेस्टे, जी।, डी पेरी, एल।, एरियू, सी।, और वीटा, ए। (2013)। सिज़ोफ्रेनिया में संज्ञानात्मक उपचार: वर्तमान स्थिति और भविष्य के दृष्टिकोण। सिज़ोफ्रेनिया अनुसंधान और उपचार, 2013, 156084।", "Distrust the voices": "आवाजों पर भरोसा ना करें", "This process of constantly questioning the voices can be surprisingly successful. Here is what one person said about the voices": "आवाजों पर लगातार सवाल उठाने की यह प्रक्रिया आश्चर्यजनक रूप से सफल हो सकती है। यहाँ एक व्यक्ति ने आवाज़ों के बारे में क्या कहा", -"...after a while I found that the voices didn't know the answers to the questions that I also didn't have answers to and then I realized that they must be coming from within me. So I realized that they were only auditory hallucinations. You can also ask them a word in Chinese or the solution to a math problem that you don't know the answer to. If the voices don't know the answer then they must be hallucinations.": "... कुछ समय बाद मैंने पाया कि आवाज़ें उन सवालों के जवाब नहीं जानती थीं जिनके जवाब मेरे पास भी नहीं थे और तब मुझे एहसास हुआ कि वे मेरे भीतर से ही आ रही होंगी। तो मुझे एहसास हुआ कि वे केवल श्रवण मतिभ्रम थे। आप उनसे चीनी भाषा में एक शब्द या गणित की किसी समस्या का समाधान भी पूछ सकते हैं जिसका उत्तर आपको नहीं पता है। अगर आवाजों को जवाब नहीं पता है, तो उन्हें मतिभ्रम ही मानना चाहिए।", -"This can be difficult and takes a lot of determination, but you don't have to believe or do what the voices tell you. Be aware that sometimes the voices become nastier and more persistent when you stand up to them. This can be a sign they know their days are numbered": "यह कठिन हो सकता है और इसके लिए बहुत दृढ़ संकल्प की आवश्यकता होती है, लेकिन आपको उस पर विश्वास करने या वह करने की ज़रूरत नहीं है जो आवाज़ें आपको बताती हैं। इस बात से अवगत रहें कि जब आप उनका सामना करते हैं तो कभी-कभी आवाजें तेज और अधिक स्थिर हो जाती हैं। यह एक संकेत हो सकता है कि वे जानती हैं कि उनके दिन गिने जा रहे हैं।", +"...after a while I found that the voices didn’t know the answers to the questions that I also didn’t have answers to and then I realized that they must be coming from within me. So I realized that they were only auditory hallucinations. You can also ask them a word in Chinese or the solution to a math problem that you don’t know the answer to. If the voices don’t know the answer then they must be hallucinations.": "... कुछ समय बाद मैंने पाया कि आवाज़ें उन सवालों के जवाब नहीं जानती थीं जिनके जवाब मेरे पास भी नहीं थे और तब मुझे एहसास हुआ कि वे मेरे भीतर से ही आ रही होंगी। तो मुझे एहसास हुआ कि वे केवल श्रवण मतिभ्रम थे। आप उनसे चीनी भाषा में एक शब्द या गणित की किसी समस्या का समाधान भी पूछ सकते हैं जिसका उत्तर आपको नहीं पता है। अगर आवाजों को जवाब नहीं पता है, तो उन्हें मतिभ्रम ही मानना चाहिए।", +"This can be difficult and takes a lot of determination, but you don’t have to believe or do what the voices tell you. Be aware that sometimes the voices become nastier and more persistent when you stand up to them. This can be a sign they know their days are numbered": "यह कठिन हो सकता है और इसके लिए बहुत दृढ़ संकल्प की आवश्यकता होती है, लेकिन आपको उस पर विश्वास करने या वह करने की ज़रूरत नहीं है जो आवाज़ें आपको बताती हैं। इस बात से अवगत रहें कि जब आप उनका सामना करते हैं तो कभी-कभी आवाजें तेज और अधिक स्थिर हो जाती हैं। यह एक संकेत हो सकता है कि वे जानती हैं कि उनके दिन गिने जा रहे हैं।", "Sources: \n-[Nursing Times](https://www.nursingtimes.net/roles/mental-health-nurses/simple-coping-strategies-for-people-who-hear-voices-25-11-2003/)\n-[Hearing Voices](https://www.hearing-voices.org/wp-content/uploads/2012/05/Hearing_Voices_Coping_Strategies_web.pdf)": "Sources: \n-[Nursing Times](https://www.nursingtimes.net/roles/mental-health-nurses/simple-coping-strategies-for-people-who-hear-voices-25-11-2003/)\n-[Hearing Voices](https://www.hearing-voices.org/wp-content/uploads/2012/05/Hearing_Voices_Coping_Strategies_web.pdf)", "Use Selective Listening": "चयनात्मक श्रवण/सुनने का प्रयोग करें", -"Some voice hearers find they hear positive as well as negative voices or that the same voices say both helpful and unhelpful things, so they develop their skills of selective listening, learning to take what is useful from the voices and ignoring the rest. For example 'I need to get to the shops before they close'. There is a difference between this speech pattern and 'We want you to go to the shops before they close'. It is often the subtle switches between reminding yourself of something and interacting with the voices. Change statements like 'We want you out of the house now' to 'I'm going out.'": "कुछ आवाज सुनने वाले बताते हैं कि वे सकारात्मक और नकारात्मक दोनों तरह की आवाजें सुनते हैं या वही आवाजें उपयोगी और अनुपयोगी दोनों तरह की बातें कहती हैं, इसलिए वे चयनात्मक श्रवण/ सुनने के अपने कौशल को विकसित करते हैं, जैसे कि आवाजों से जो उपयोगी है उसे लेना सीखते हैं और बाकी की बातें अनदेखी करते हैं। उदाहरण के लिए 'मुझे दुकानों के बंद होने से पहले पहुंचना होगा' इस बोलने के पैटर्न और 'हम चाहते हैं कि आप दुकानों के बंद होने से पहले जाएं' के बीच एक अंतर है। यह अक्सर अपने आप को कुछ याद दिलाने और आवाजों के साथ बातचीत करने के बीच सूक्ष्म बदलाव होता है। 'हम आपको अभी घर से बाहर चाहते हैं' जैसे कथनों को 'मैं बाहर जा रहा हूँ' में बदलें।", +"Some voice hearers find they hear positive as well as negative voices or that the same voices say both helpful and unhelpful things, so they develop their skills of selective listening, learning to take what is useful from the voices and ignoring the rest. For example “I need to get to the shops before they close”. There is a difference between this speech pattern and “We want you to go to the shops before they close”. It is often the subtle switches between reminding yourself of something and interacting with the voices. Change statements like “We want you out of the house now” to “I’m going out.”": "कुछ आवाज सुनने वाले बताते हैं कि वे सकारात्मक और नकारात्मक दोनों तरह की आवाजें सुनते हैं या वही आवाजें उपयोगी और अनुपयोगी दोनों तरह की बातें कहती हैं, इसलिए वे चयनात्मक श्रवण/ सुनने के अपने कौशल को विकसित करते हैं, जैसे कि आवाजों से जो उपयोगी है उसे लेना सीखते हैं और बाकी की बातें अनदेखी करते हैं। उदाहरण के लिए 'मुझे दुकानों के बंद होने से पहले पहुंचना होगा' इस बोलने के पैटर्न और 'हम चाहते हैं कि आप दुकानों के बंद होने से पहले जाएं' के बीच एक अंतर है। यह अक्सर अपने आप को कुछ याद दिलाने और आवाजों के साथ बातचीत करने के बीच सूक्ष्म बदलाव होता है। 'हम आपको अभी घर से बाहर चाहते हैं' जैसे कथनों को 'मैं बाहर जा रहा हूँ' में बदलें।", "Vocalization": "वोकलाईज़ेशन (शब्दरोच्चारण)", "Research shows that ‘sub-vocalization’ accompanies auditory hallucinations. This means that people use their own vocal cords when they hear voices. The physical act of talking - or using the vocal cords in other ways, such as singing – can interfere with the process that creates voices, and reduce the intensity of the hallucinations. \n\nAny vocal activity may therefore help. This could be singing, humming, counting, talking, reading out loud or sub-vocal speech. The latter involves talking quietly so that others cannot hear. Simply holding open the mouth can stop the sub-vocalization and therefore stop the voices. Singing under the breath is also possible, and for some people who hear voices this may be easier to sustain than talking sub-vocally.\n\nFrom: https://www.nursingtimes.net/roles/mental-health-nurses/simple-coping-strategies-for-people-who-hear-voices-25-11-2003/": @@ -967,7 +969,7 @@ "Take Medicine at The Same Time Each Day": "हर दिन एक ही समय पर दवा लें", "Taking medication at the same time each day is important for them to work correctly. If you take several medications at different times during the day, setting an alarm on your watch or cell phone is a great way to remind yourself when each dose is due.": "हर दिन एक ही समय पर दवा लेना उनके लिए सही ढंग से काम करने के लिए महत्वपूर्ण है। यदि आप पूरे दिन के दौरान अलग-अलग समय पर कई दवाएं लेते हैं, तो अपनी घड़ी या सेल फोन पर अलार्म सेट कर के खुद को यह याद दिलाना कि प्रत्येक खुराक कब लेनी है इसके लिए यह बहुत अच्छा तरीका है।", "Pair Medications With Something You Do Every Day": "हर दिन आप जो कुछ करते हैं, उसके साथ दवाओं को जोड़ें", -"If you aren't a fan of technology, pair your medications with something you do every day. For example, if you drink coffee every morning, put your medication bottle next to the coffee pot. This will remind you to take your medication while the coffee is brewing.": "यदि आप तकनीक को ज्यादा नहीं उपयोग करते हैं, तो अपनी दवाओं को हर दिन कुछ न कुछ करने के साथ जोड़ दें। उदाहरण के लिए, यदि आप रोज सुबह कॉफी पीते हैं, तो अपनी दवा की बोतल को कॉफी पॉट के बगल में रख दें। यह आपको कॉफी पीते समय अपनी दवा लेने की याद दिलाएगा।", +"If you aren’t a fan of technology, pair your medications with something you do every day. For example, if you drink coffee every morning, put your medication bottle next to the coffee pot. This will remind you to take your medication while the coffee is brewing.": "यदि आप तकनीक को ज्यादा नहीं उपयोग करते हैं, तो अपनी दवाओं को हर दिन कुछ न कुछ करने के साथ जोड़ दें। उदाहरण के लिए, यदि आप रोज सुबह कॉफी पीते हैं, तो अपनी दवा की बोतल को कॉफी पॉट के बगल में रख दें। यह आपको कॉफी पीते समय अपनी दवा लेने की याद दिलाएगा।", "Put Medications In A Weekly Pill Box": "एक साप्ताहिक गोली बॉक्स में दवाएं डालें", "If carrying around several different prescription bottles is a hassle, consider getting a weekly pill box or medication planner to keep everything together.": "यदि कई अलग-अलग दवा की बोतलें ले जाना एक परेशानी है, तो सब कुछ एक साथ रखने के लिए एक साप्ताहिक गोली बॉक्स या दवा योजनाकार उपयोग करने पर विचार करें।", "Enroll In A Pharmacy Automatic Refill Program": "फ़ार्मेसी स्वचालित रीफ़िल प्रोग्राम में नामांकन करें", @@ -984,23 +986,22 @@ "याद रखें, संवाद महत्त्वपूर्ण है। अपने डॉक्टर या फार्मासिस्ट से उन मुद्दों के बारे में बात करें जिनकी वजह से आपको अपनी दवाइयां निर्धारित तरीके से लेने में दिक्कत हो रही है| \nयह न भूलें कि आप अपनी स्वास्थ्य देखभाल टीम के सबसे महत्वपूर्ण सदस्य हैं। आखिर यह आपका ही स्वास्थ्य है! एक दवा योजना विकसित करने के लिए अपने डॉक्टर या फार्मासिस्ट के साथ काम करें जो आपके दैनिक जीवन के लिए सही हो । \nReference: https://www.nami.org/About-Mental-Illness/Treatment/Mental-Health-Medications/Medication-Plan-Adherence", "Mindfulness": "ध्यान", "Yawn and stretch for 10 seconds every hour today.": "आज हर घंटे 10 सेकंड के लिए अँगड़ाई ले और स्ट्रेच करें।", -"Do a fake yawn if you have to. That will trigger real ones. Say 'ahh' as you exhale. Notice how a yawn interrupts your thoughts and feelings. This brings you into the present. Then stretch really, really slowly for at least 20 seconds. Notice any tightness and say 'ease' or just say hello to that place (being mindful – noticing without judgment). Take another 20 seconds to notice and then get back to what you were doing.": "अगर आप चाहें तो नकली जम्हाई लें । यह असली जम्हाई को शुरू करेगा। साँस छोड़ते हुए 'आह' कहें। ध्यान दें कि कैसे एक जम्हाई आपके विचारों और भावनाओं में बाधा डालती है। यह आपको वर्तमान में लाता है। फिर कम से कम 20 सेकंड के लिए बहुत ही धीरे-धीरे स्ट्रेच करें । किसी भी जकड़न पर ध्यान दें और कहें ' ढीला छोड़ो ' या उस जगह नमस्ते कहें (सावधान रहना - बिना निर्णय के ध्यान देना)। ध्यान देने के लिए एक और 20 सेकंड का समय लें और फिर आप जो कर रहे थे उस पर वापस जाएं।", +"Do a fake yawn if you have to. That will trigger real ones. Say “ahh” as you exhale. Notice how a yawn interrupts your thoughts and feelings. This brings you into the present. Then stretch really, really slowly for at least 20 seconds. Notice any tightness and say “ease” or just say hello to that place (being mindful – noticing without judgment). Take another 20 seconds to notice and then get back to what you were doing.": "अगर आप चाहें तो नकली जम्हाई लें । यह असली जम्हाई को शुरू करेगा। साँस छोड़ते हुए 'आह' कहें। ध्यान दें कि कैसे एक जम्हाई आपके विचारों और भावनाओं में बाधा डालती है। यह आपको वर्तमान में लाता है। फिर कम से कम 20 सेकंड के लिए बहुत ही धीरे-धीरे स्ट्रेच करें । किसी भी जकड़न पर ध्यान दें और कहें ' ढीला छोड़ो ' या उस जगह नमस्ते कहें (सावधान रहना - बिना निर्णय के ध्यान देना)। ध्यान देने के लिए एक और 20 सेकंड का समय लें और फिर आप जो कर रहे थे उस पर वापस जाएं।", "Possibility. Ask yourself what is possible or what is a forward step.": "संभावना, अपने आप से पूछें कि क्या संभव है या आगे क्या करना है।", - -"If you find yourself being reactive, try the following steps:\n- Pause and take one to three big breaths/\n- Say 'step back' (you don’t have to physically \u2013 you can just do it in your mind.)\n- Say 'clear head.'\n- Say 'calm body.'\n- Breath again. Say 'relax,' 'melt,' or 'ease.'.": +"If you find yourself being reactive, try the following steps:\n-\tPause and take one to three big breaths/\n-\tSay “step back” (you don’t have to physically – you can just do it in your mind.)\n-\tSay “clear head.”\n-\tSay “calm body.”\n-\tBreath again. Say \u201Crelax,\u201D \u201Cmelt,\u201D or \u201Cease.\u201D.": "यदि आप स्वयं को प्रतिक्रियाशील पाते हैं, तो निम्न चरणों का प्रयास करें:\n- रुकें और एक से तीन बड़ी सांसें लें/\n- 'पीछे हटो' कहें (आपको शारीरिक रूप से नहीं करना है - आप इसे केवल अपने दिमाग में कर सकते हैं।)\n- 'दिमाग को खाली करो/तरोताजा करो ' कहें।\n- कहो 'शांत शरीर।'\n- फिर से सांस लें। 'तनाव मुक्त हो ' 'शांत हो जाओ,' या ' ढीला करो' कहें।", "Give yourself or someone else loving-kindness.": "अपने आप पर या किसी और पर प्रेम- दयालुता दिखाओ ।", -"For one minute, repeat 'May I bet happy, may I be well, may I be filled with kindness and peace.' You can substitute 'you' for 'I' and think of someone you know and like, or just send love to all people.": "एक मिनट के लिए, दोहराएं 'क्या मैं खुश हो सकता हूं, क्या मैं अच्छा हो सकता हूं, क्या मैं दया और शांति से भर सकता हूं।' आप 'मैं' के स्थान पर 'आप' का प्रयोग कर सकते हैं और किसी ऐसे व्यक्ति के बारे में सोच सकते हैं जिसे आप जानते हैं और पसंद करते हैं, या सभी लोगों को प्यार दे सकते हैं ।", +"For one minute, repeat ‘May I bet happy, may I be well, may I be filled with kindness and peace.’ You can substitute “you” for “I” and think of someone you know and like, or just send love to all people.": "एक मिनट के लिए, दोहराएं 'क्या मैं खुश हो सकता हूं, क्या मैं अच्छा हो सकता हूं, क्या मैं दया और शांति से भर सकता हूं।' आप 'मैं' के स्थान पर 'आप' का प्रयोग कर सकते हैं और किसी ऐसे व्यक्ति के बारे में सोच सकते हैं जिसे आप जानते हैं और पसंद करते हैं, या सभी लोगों को प्यार दे सकते हैं ।", "Focus on a goal or dream.": "किसी लक्ष्य या सपने पर ध्यान दें।", "Decide on a goal or dream. Just ask yourself this question: What is my heart’s aspiration? Pause for about 20 seconds. Do this a second or third time and write down what comes to mind. Once you decide which goal or dream you like best, say that at the beginning of the day when you wake up.\n\nFrom: https://psychcentral.com/blog/1-minute-mindfulness-exercises#1": "एक लक्ष्य या सपने का निर्णय लें। बस अपने आप से यह प्रश्न पूछें: मेरे हृदय की लालसा क्या है? लगभग 20 सेकंड के लिए रुकें। इसे दूसरी या तीसरी बार करें और जो मन में आए उसे लिख लें। एक बार जब आप तय कर लें कि आपको कौन सा लक्ष्य या सपना सबसे अच्छा लगता है, तो उसे दिन की शुरुआत में कहें जब आप जागते हैं। \nFrom: https://psychcentral.com/blog/1-minute-mindfulness-exercises#1", "Give yourself a compliment.": "अपनी सराहना करें।", -"Pick one thing unique to you - maybe it's something you did or how you made someone feel - and compliment yourself the way you would a friend. 'You are really great at X' or 'You should feel proud of Y.'": "अपने लिए एक अनोखी चीज़ चुनें - हो सकता है कि यह कुछ ऐसा हो जो आपने किया हो या आपने किसी को कैसा महसूस कराया हो - और जिस तरह से आप एक दोस्त की तारीफ़ करते हैं, उसी तरह खुद की तारीफ करें। 'आप वास्तव में एक्स में महान हैं' या 'आपको वाई पर गर्व महसूस करना चाहिए।'", +"Pick one thing unique to you – maybe it’s something you did or how you made someone feel – and compliment yourself the way you would a friend. “You are really great at X” or “You should feel proud of Y.”": "अपने लिए एक अनोखी चीज़ चुनें - हो सकता है कि यह कुछ ऐसा हो जो आपने किया हो या आपने किसी को कैसा महसूस कराया हो - और जिस तरह से आप एक दोस्त की तारीफ़ करते हैं, उसी तरह खुद की तारीफ करें। 'आप वास्तव में एक्स में महान हैं' या 'आपको वाई पर गर्व महसूस करना चाहिए।'", "Set an intention for the day.": "दिन के लिए एक इरादा निर्धारित करें।", -"Days are short. Pick a positive feeling - maybe its excitement, joy, or gratitude - and try to emulate or act that way through the day. It's okay if you feel other emotions, too.": "दिन छोटे हैं। एक सकारात्मक भावना चुनें – यह जोश हो सकता है या, खुशी, या कृतज्ञता - और दिन भर उस तरह से अनुकरण या कार्य करने का प्रयास करें। यदि आप अन्य भावनाओं को भी महसूस करते हैं तो कोई बात नहीं है ।", +"Days are short. Pick a positive feeling – maybe its excitement, joy, or gratitude – and try to emulate or act that way through the day. It’s okay if you feel other emotions, too.": "दिन छोटे हैं। एक सकारात्मक भावना चुनें – यह जोश हो सकता है या, खुशी, या कृतज्ञता - और दिन भर उस तरह से अनुकरण या कार्य करने का प्रयास करें। यदि आप अन्य भावनाओं को भी महसूस करते हैं तो कोई बात नहीं है ।", "Set a goal for the day.": "दिन के लिए एक लक्ष्य निर्धारित करें।", -"Pick one tangible thing you want to accomplish today. Maybe it's going for a walk, cooking a meal, calling a friend, or brushing your teeth. Whatever it is, set a goal that is realistic and that will make you feel accomplished after you complete it. Little actions add up and lead to change! So it's okay small.": "एक वास्तविक चीज चुनें जिसे आप आज पूरा करना चाहते हैं। वह टहलने जाना हो सकता है, खाना पकाना, किसी दोस्त को बुलाना या अपने दाँत ब्रश कर ना हो सकता है । जो भी हो, एक ऐसा लक्ष्य निर्धारित करें जो वास्तविक हो और जो आपको पूरा करने के बाद आपको संपूर्ण महसूस कराए । छोटी-छोटी हरकतें जुड़ती हैं और बदलाव की ओर ले जाती हैं! तो यह ठीक है छोटा।", +"Pick one tangible thing you want to accomplish today. Maybe it’s going for a walk, cooking a meal, calling a friend, or brushing your teeth. Whatever it is, set a goal that is realistic and that will make you feel accomplished after you complete it. Little actions add up and lead to change! So it’s okay small.": "एक वास्तविक चीज चुनें जिसे आप आज पूरा करना चाहते हैं। वह टहलने जाना हो सकता है, खाना पकाना, किसी दोस्त को बुलाना या अपने दाँत ब्रश कर ना हो सकता है । जो भी हो, एक ऐसा लक्ष्य निर्धारित करें जो वास्तविक हो और जो आपको पूरा करने के बाद आपको संपूर्ण महसूस कराए । छोटी-छोटी हरकतें जुड़ती हैं और बदलाव की ओर ले जाती हैं! तो यह ठीक है छोटा।", "Mood Tips" : "मूड टिप्स", "Hope": "आशा", "What gives you hope? This can look different for everyone. For some it is gardening, for others it is making progress towards a goal. Life always has its ups and downs, but hope can push us through the low moments. Think about what makes you hopeful and cultivate it. Take a few minutes to write about what gives you hope. Next time you feel down, look for what you wrote to remind yourself that even when things get tough there is hope for a better day.\nFrom: https://positivepsychology.com/hope-therapy/": @@ -1042,7 +1043,7 @@ "Exercise can actually increase your energy and make you feel less tired. The next time you feel too exhausted to exercise, push yourself to just do 5 minutes. Examples of how you can spend this time include walking, jumping rope, and at-home exercises. See how you feel after 5 minutes. You might be surprised to find that you can go even longer.\nFrom: https://www.helpguide.org/articles/healthy-living/the-mental-health-benefits-of-exercise.htm": "व्यायाम वास्तव में आपकी ऊर्जा को बढ़ा सकता है और आपको कम थका हुआ महसूस करा सकता है। अगली बार जब आप व्यायाम करने के लिए बहुत अधिक थकावट महसूस करें, तो अपने आप को केवल 5 मिनट व्यायाम करने के लिए प्रेरित करें। आप इस समय को कैसे व्यतीत कर सकते हैं, इसके उदाहरण में चलना, रस्सी कूदना और घर पर व्यायाम करना हो सकता है । देखें कि 5 मिनट के बाद आप कैसा महसूस करते हैं। आपको यह जानकर आश्चर्य हो सकता है कि आप इससे भी अधिक समय तक जा सकते हैं।\nFrom: https://www.helpguide.org/articles/healthy-living/the-mental-health-benefits-of-exercise.htm", -"Don't compare yourself to others": "दूसरों से अपनी तुलना न करें।", +"Don’t compare yourself to others": "दूसरों से अपनी तुलना न करें।", "Everyone is on a unique fitness journey so do not compare yourself to someone at a different fitness level. No matter your current shape, there are always others who have a similar goal as you. Try following along to workout videos online. Doing exercises in private can help you build the confidence you need to further your fitness journey.\nFrom: https://www.helpguide.org/articles/healthy-living/the-mental-health-benefits-of-exercise.htm": "हर कोई एक अलग ही फिटनेस तक पहुँचने की यात्रा पर होता है इसलिए अपनी तुलना किसी भिन्न फिटनेस स्तर के व्यक्ति से न करें। आपके वर्तमान आकार से कोई फर्क नहीं पड़ता, हमेशा ऐसे अन्य लोग भी होते हैं जिनका लक्ष्य आपके जैसा ही होता है। ऑनलाइन कसरत वीडियो के साथ अनुसरण करने का प्रयास करें। निजी तौर पर व्यायाम करने से आपको अपनी फिटनेस यात्रा को आगे बढ़ाने के लिए जरुरी आत्मविश्वास बनाने में मदद मिल सकती है।\nFrom: https://www.helpguide.org/articles/healthy-living/the-mental-health-benefits-of-exercise.htm", @@ -1114,7 +1115,7 @@ "Stop using your phone 15 minute before going to bed.": "सोने से 15 मिनट पहले फोन का इस्तेमाल बंद कर दें।", -"Send your final text, read your last email, and set your wake-up alarm at least 15 minutes before closing your eyes for sleep. Put your phone away to minimize distractions and begin unwinding. Screen time can keep us up later than we'd like!": "अपना अंतिम सन्देश भेजें, अपना अंतिम ईमेल पढ़ें, और सोने के लिए अपनी आँखें बंद करने से कम से कम 15 मिनट पहले अपना वेक-अप अलार्म सेट करें। फ़ोन को दूर रखें ताकि आपका ध्यान कम भटके और सारी गतिविधि बंद की जा सकें l स्क्रीन टाइम की वजह से हम देर रात तक जागे रह सकते हैं ", +"Send your final text, read your last email, and set your wake-up alarm at least 15 minutes before closing your eyes for sleep. Put your phone away to minimize distractions and begin unwinding. Screen time can keep us up later than we’d like!": "अपना अंतिम सन्देश भेजें, अपना अंतिम ईमेल पढ़ें, और सोने के लिए अपनी आँखें बंद करने से कम से कम 15 मिनट पहले अपना वेक-अप अलार्म सेट करें। फ़ोन को दूर रखें ताकि आपका ध्यान कम भटके और सारी गतिविधि बंद की जा सकें l स्क्रीन टाइम की वजह से हम देर रात तक जागे रह सकते हैं ", "Set a bedtime and try to be in bed at that hour every day this week.": "सोने का समय निर्धारित करें और इस सप्ताह हर दिन उस समय बिस्तर पर रहने का प्रयास करें।", @@ -1131,7 +1132,7 @@ "अनुसंधान से पता चलता है कि सामाजिक सहयोग मानसिक और सामान्य स्वास्थ्य दोनों में सुधार कर सकता है। इस सप्ताह किसी से मिलने या संपर्क करने का संकल्प लें। दूर के लोगों से जुड़ने के लिए, सोशल मीडिया, ईमेल या टेक्स्ट जैसे संचार के वेब-आधारित तरीकों का उपयोग करने पर विचार करें।\nFrom: https://www.mhanational.org/stay-connected", -"Ask about someone else's day.": "किसी और के दिन के बारे में पूछें।", +"Ask about someone else’s day.": "किसी और के दिन के बारे में पूछें।", "When you talk, also listen. Ask about someone else’s day, or follow up on the topic of a previous conversation. Showing sincere interest in another person’s life builds relationships and listening to other people’s concerns can often shed a new light on your own challenges. Offer help or advice if asked – listen and respond.\nFrom: https://www.mhanational.org/stay-connected": "जब आप बात करते हैं, तब सुनें भी। किसी और के दिन के बारे में पूछें, या पिछली बातचीत के विषय पर चर्चा करें। दूसरे व्यक्ति के जीवन में ईमानदारी से दिलचस्पी दिखाने से रिश्ते बनते हैं और दूसरे लोगों की चिंताओं को सुनना अक्सर आपकी अपनी चुनौतियों पर एक नया प्रकाश डाल सकता है। पूछे जाने पर मदद या सलाह दें - सुनें और जवाब दें।\nFrom: https://www.mhanational.org/stay-connected", @@ -1149,12 +1150,12 @@ "परिवार और दोस्तों से वर्चुअल रूप जैसे कॉल, टेक्स्ट या वीडियो चैट के माध्यम से या तो व्यक्तिगत रूप से जुड़ें। From: https://www.purewow.com/wellness/ways-to-mitigate-anxiety", "Increase social interactions": "सामाजिक संपर्क बढ़ाएँ।", -"Low level of social interaction was found to have an impact on lifespan equivalent to smoking nearly a pack of cigarettes a day or being an alcoholic, and was twice as harmful as being obese.\nFrom: https://www.mhanational.org/stay-connected": +"Low level of social interaction was found to have an impact on lifespan equivalent to smoking nearly a pack of cigarettes a day or being an alcoholic, and was twice as harmful as being obese.From: https://www.mhanational.org/stay-connected": "सामाजिक संपर्क के कम स्तर का जीवनकाल पर प्रभाव, एक दिन में लगभग एक पैकेट सिगरेट पीने या शराबी होने के बराबर पाया गया, और यह मोटे होने की तुलना में दोगुना हानिकारक था। \nFrom: https://www.mhanational.org/stay-connected", "Stress Tips": "तनाव के लिए सुझाव", "Color or Doodle": "रंग या डूडल", -"Coloring or drawing can help calm the mind. If facing a blank page is stressful, you can get a coloring book or search 'coloring book' in your app store or play store. Turning an empty page into a piece of art or completing a page in a coloring book allows you to be creative and give your mind a break. From: https://www.healthline.com/health/mindfulness-tricks-to-reduce-anxiety#1": "रंग या ड्राइंग मन को शांत करने में मदद कर सकता है। यदि एक खाली पृष्ठ का सामना करना तनावपूर्ण लगता है, तो आप अपने ऐप स्टोर या प्ले स्टोर में रंग भरने वाली किताब ले सकते हैं या 'रंग पुस्तक' खोज सकते हैं। एक खाली पृष्ठ को कला में बदलना या एक रंग पुस्तक में एक पृष्ठ को पूरा करना आपको रचनात्मक होने में मदद करता है और आपके दिमाग को विराम देता है। From: https://www.healthline.com/health/mindfulness-tricks-to-reduce-anxiety#1", +"Coloring or drawing can help calm the mind. If facing a blank page is stressful, you can get a coloring book or search ‘coloring book’ in your app store or play store. Turning an empty page into a piece of art or completing a page in a coloring book allows you to be creative and give your mind a break. From: https://www.healthline.com/health/mindfulness-tricks-to-reduce-anxiety#1": "रंग या ड्राइंग मन को शांत करने में मदद कर सकता है। यदि एक खाली पृष्ठ का सामना करना तनावपूर्ण लगता है, तो आप अपने ऐप स्टोर या प्ले स्टोर में रंग भरने वाली किताब ले सकते हैं या 'रंग पुस्तक' खोज सकते हैं। एक खाली पृष्ठ को कला में बदलना या एक रंग पुस्तक में एक पृष्ठ को पूरा करना आपको रचनात्मक होने में मदद करता है और आपके दिमाग को विराम देता है। From: https://www.healthline.com/health/mindfulness-tricks-to-reduce-anxiety#1", "Meditate to let go of stress": "तनाव दूर करने के लिए ध्यान करें", "According to the United Kingdom National Health Service, potential triggers for psychotic episodes are stressful life events. Although this does not cause schizophrenia, they can lead to its development. Watch this one-minute meditation video to practice letting go of stress.\nFrom: https://www.youtube.com/watch?v=c1Ndym-IsQg": "यूनाइटेड किंगडम नेशनल हेल्थ सर्विस के अनुसार, साइकोटिक एपिसोड के लिए संभावित ट्रिगर तनावपूर्ण जीवन की घटनाएं हैं। हालांकि इससे सिज़ोफ्रेनिया नहीं होता है, पर ये इसके विकास को जन्म दे सकते हैं। तनाव को दूर करने का अभ्यास करने के लिए यह एक मिनट का ध्यान वीडियो देखें। \nFrom: https://www.youtube.com/watch?v=c1Ndym-IsQg", @@ -1176,5 +1177,6 @@ "Whether it’s playing games or scrolling through social media, time flies while using our smartphones. Stepping away from your phone can reduce the pressures that come with it. Minimize the amount of time you spend by putting your phone on ‘do not disturb’ or ‘silent’. If you still want to receive notifications from some features on your phone, another method is to turn off notifications from specific apps. This can be done through the app itself or through the settings apps on your phone.\nFrom: https://www.cnet.com/how-to/screen-time-is-rising-and-its-ruining-us-here-are-11-ways-to-cut-back/": "चाहे वह गेम खेलना हो या सोशल मीडिया पर स्क्रॉल करना हो, हमारा समय स्मार्टफोन का उपयोग करते हुए बीत जाता है। अपने फोन से दूर जाने से उसके साथ आने वाले दबाव कम हो सकते हैं। अपना समय फोन पर कम से कम खर्च करने के लिए अपने फोन को 'परेशान न करें' या 'साइलेंट ' पर रखें । यदि आप अभी भी अपने फोन पर कुछ सुविधाओं से सूचनाएं प्राप्त करना चाहते हैं, तो विशिष्ट एप्लिकेशन से सूचनाएं बंद करना भी एक तरीका है। यह ऐप के माध्यम से या आपके फोन पर सेटिंग ऐप्स के माध्यम से किया जा सकता है।\nFrom: https://www.cnet.com/how-to/screen-time-is-rising-and-its-ruining-us-here-are-11-ways-to-cut-back/", "max characters.": "अधिक्तम शब्द", -"800 max characters": "अधिक्तम 800 शब्द" +"800 max characters": "अधिक्तम 800 शब्द", +"Last night I had trouble staying asleep": "पिछली रात मुझे सोने में दिक्कत हुई।" } diff --git a/src/components/EmbeddedActivity.tsx b/src/components/EmbeddedActivity.tsx index 0a7b4dbd..ffc8e87d 100644 --- a/src/components/EmbeddedActivity.tsx +++ b/src/components/EmbeddedActivity.tsx @@ -47,6 +47,7 @@ const demoActivities = { "lamp.symbol_digit_substitution": "symbol_digit_substitution", "lamp.gyroscope": "gyroscope", "lamp.dcog": "d-cog", + "lamp.simple_memory": "funnymemory", } export default function EmbeddedActivity({ participant, activity, name, onComplete, noBack, tab, ...props }) { @@ -195,6 +196,13 @@ export default function EmbeddedActivity({ participant, activity, name, onComple const exist = localStorage.getItem("first-time-" + (participant?.id ?? participant) + "-" + currentActivity?.id) try { setSaved(false) + console.log({ + ...settings, + activity: currentActivity, + configuration: { language: i18n.language }, + autoCorrect: !(exist === "true"), + noBack: noBack, + }) setSettings({ ...settings, activity: currentActivity, @@ -223,6 +231,8 @@ export default function EmbeddedActivity({ participant, activity, name, onComple if (!!demoActivities[currentActivity.spec]) { let activityURL = "https://raw.githubusercontent.com/BIDMCDigitalPsychiatry/LAMP-activities/" activityURL += process.env.REACT_APP_GIT_SHA === "dev" ? "dist/out" : "latest/out" + return atob(await (await fetch(`${demoActivities[currentActivity.spec]}.html.b64`)).text()) + return atob(await (await fetch(`${activityURL}/${demoActivities[currentActivity.spec]}.html.b64`)).text()) } else { return "about:blank" diff --git a/src/components/Researcher/ActivityList/Activity.tsx b/src/components/Researcher/ActivityList/Activity.tsx index ca8151eb..2a4fe2cc 100644 --- a/src/components/Researcher/ActivityList/Activity.tsx +++ b/src/components/Researcher/ActivityList/Activity.tsx @@ -27,6 +27,7 @@ export const games = [ "lamp.balloon_risk", "lamp.spin_wheel", "lamp.maze_game", + "lamp.simple_memory", "lamp.emotion_recognition", "lamp.symbol_digit_substitution", "lamp.gyroscope", diff --git a/src/components/Researcher/ActivityList/AddActivity.tsx b/src/components/Researcher/ActivityList/AddActivity.tsx index 8da30287..067850cc 100644 --- a/src/components/Researcher/ActivityList/AddActivity.tsx +++ b/src/components/Researcher/ActivityList/AddActivity.tsx @@ -14,7 +14,7 @@ import { Link, } from "@material-ui/core" -import LAMP from "lamp-core" +import LAMP, { ActivitySpec } from "lamp-core" import { useTranslation } from "react-i18next" const useStyles = makeStyles((theme: Theme) => @@ -158,6 +158,7 @@ export default function AddActivity({ "lamp.emotion_recognition": `${t("Emotion Recognition")}`, "lamp.symbol_digit_substitution": `${t("Symbol-digit Substitution")}`, "lamp.dcog": `${t("D-Cog")}`, + "lamp.simple_memory": `${t("Funny Memory Game")}`, } const getActivitySpec = async (id) => { diff --git a/src/components/Researcher/ActivityList/Index.tsx b/src/components/Researcher/ActivityList/Index.tsx index 4e0bd777..993c5f0c 100644 --- a/src/components/Researcher/ActivityList/Index.tsx +++ b/src/components/Researcher/ActivityList/Index.tsx @@ -57,6 +57,7 @@ export const availableActivitySpecs = [ "lamp.balloon_risk", "lamp.recording", "lamp.spin_wheel", + "lamp.simple_memory", "lamp.maze_game", "lamp.emotion_recognition", "lamp.symbol_digit_substitution", @@ -74,6 +75,7 @@ export const games = [ "lamp.symbol_digit_substitution", "lamp.gyroscope", "lamp.dcog", + "lamp.simple_memory", ] export default function ActivityList({ researcherId, diff --git a/src/components/Survey.tsx b/src/components/Survey.tsx index 5e10979d..dd156f1d 100644 --- a/src/components/Survey.tsx +++ b/src/components/Survey.tsx @@ -33,6 +33,7 @@ export const games = [ "lamp.symbol_digit_substitution", "lamp.gyroscope", "lamp.dcog", + "lamp.simple_memory", ] export default function Survey({ participant, activities, showStreak, ...props }) { From 8506a99e8040a5fa9bd314fd6e362a76f7527a87 Mon Sep 17 00:00:00 2001 From: "ITHQ1947\\saritha.pillai" Date: Wed, 30 Oct 2024 18:27:44 +0530 Subject: [PATCH 2/2] Funny memory game changes --- src/components/EmbeddedActivity.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/components/EmbeddedActivity.tsx b/src/components/EmbeddedActivity.tsx index ffc8e87d..512b3216 100644 --- a/src/components/EmbeddedActivity.tsx +++ b/src/components/EmbeddedActivity.tsx @@ -196,13 +196,6 @@ export default function EmbeddedActivity({ participant, activity, name, onComple const exist = localStorage.getItem("first-time-" + (participant?.id ?? participant) + "-" + currentActivity?.id) try { setSaved(false) - console.log({ - ...settings, - activity: currentActivity, - configuration: { language: i18n.language }, - autoCorrect: !(exist === "true"), - noBack: noBack, - }) setSettings({ ...settings, activity: currentActivity, @@ -231,8 +224,6 @@ export default function EmbeddedActivity({ participant, activity, name, onComple if (!!demoActivities[currentActivity.spec]) { let activityURL = "https://raw.githubusercontent.com/BIDMCDigitalPsychiatry/LAMP-activities/" activityURL += process.env.REACT_APP_GIT_SHA === "dev" ? "dist/out" : "latest/out" - return atob(await (await fetch(`${demoActivities[currentActivity.spec]}.html.b64`)).text()) - return atob(await (await fetch(`${activityURL}/${demoActivities[currentActivity.spec]}.html.b64`)).text()) } else { return "about:blank"