Skip to content

Commit

Permalink
Merge pull request #778 from BIDMCDigitalPsychiatry/issue-771
Browse files Browse the repository at this point in the history
Translation - DBT text change
  • Loading branch information
sarithapillai8 authored Aug 25, 2023
2 parents 8cee021 + e362766 commit b924da3
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion public/locales/da/translation.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/locales/de/translation.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"QUESTION_NUMBER_OF_TOTAL": "Pregunta {{ number }} de {{ total }}",
"Question": "Pregunta",
"of":"de",
"Self evaluation":"Self evaluation",
"Next" : "Siguiente",
"Submit": "Enviar",
"Mood": "Humor",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/fr/translation.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/locales/hi/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"Participant": "प्रतिभागी",
"Patient": "मरीज़",
"User": "उपयोगकर्ताओं",
"Self evaluation":"Self evaluation",
"User number": "उपयोगकर्ताओं {{number}}",
"You're logged into a demo account. Any changes you make will be reset when you restart the app.": "आपने एक डेमो अकाउंट में लॉग इन किया हैं l आप जो भी बदलाव करेगें वह ऐप रिस्टार्ट करने पर रिसेट हो जाएंगे l",
"Dismiss" : "ख़ारिज",
Expand Down
2 changes: 1 addition & 1 deletion public/locales/it/translation.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/locales/ko/translation.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions public/locales/zh-CN/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"There are no Assess/Manage/Learn/scheduled activities available.": "无评估/管理/学习/计划的活动。",
"Portal": "首页",
"Cortex": "皮层",
"Self evaluation":"Self evaluation",
"No Records found": "未发现任何结果",
"Rows per page": "每页行数",
"Update": "更新",
Expand Down
1 change: 1 addition & 0 deletions public/locales/zh-HK/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"There are no Assess/Manage/Learn/scheduled activities available.": "無評估/管理/學習/計劃的活動。",
"Portal": "首頁",
"Cortex": "皮層",
"Self evaluation":"Self evaluation",
"No Records found": "未發現任何結果",
"Rows per page": "每頁行數",
"Update": "更新",
Expand Down
8 changes: 7 additions & 1 deletion src/components/ActivityPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,17 @@ export default function ActivityPopup({
{`${t("Quick Tips to Improve Your")}`} {`${t(activity?.name)}`}
</Typography>
)}
{(activity?.spec === "lamp.survey" || activity?.spec === "lamp.dbt_diary_card") && (
{activity?.spec === "lamp.survey" && (
<Typography variant="h4" gutterBottom>
{questionCount} {questionCount > 1 ? `${t("questions")}` : `${t("question")}`} {/* (10 mins) */}
</Typography>
)}
{activity?.spec === "lamp.dbt_diary_card" && (
<Typography variant="h4" gutterBottom>
{`${t("Self evaluation")}`}
</Typography>
)}

<Typography variant="body2" component="p">
<ReactMarkdown
children={
Expand Down

0 comments on commit b924da3

Please sign in to comment.