Skip to content

Commit

Permalink
Merge pull request #25 from savoirfairelinux/lmg_ui_fixes_v4
Browse files Browse the repository at this point in the history
UI fixes
  • Loading branch information
lgharib authored Nov 16, 2020
2 parents 097ee0e + 3b68a3e commit 4af10d7
Show file tree
Hide file tree
Showing 8 changed files with 114 additions and 97 deletions.
2 changes: 1 addition & 1 deletion src/locales/_build/src/pages/main.js.json
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@
]
},
"msg.click_here_for_the_form": {
"defaults": "Click here for the form",
"defaults": "CLICK HERE FOR THE FORM",
"origin": [
[
"src/pages/main.js",
Expand Down
97 changes: 53 additions & 44 deletions src/locales/_build/src/pages/resources.js.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,42 +57,46 @@
]
]
},
"msg.resource_quebec": {
"defaults": "Quebec-Specific Resources:",
"origin": [
[
"src/pages/resources.js",
138
]
]
},
"msg.resource_quebec_tel_jeune": {
"defaults": "Contact a counsellor at Tel-jeunes",
"origin": [
[
"src/pages/resources.js",
150
]
]
},
"msg.call": {
"defaults": "CALL",
"origin": [
[
"src/pages/resources.js",
115
],
[
"src/pages/resources.js",
167
],
[
"src/pages/resources.js",
336
349
],
[
"src/pages/resources.js",
400
413
],
[
"src/pages/resources.js",
450
463
]
]
},
"msg.resource_quebec": {
"defaults": "Quebec-Specific Resources:",
"origin": [
[
"src/pages/resources.js",
138
]
]
},
"msg.resource_quebec_tel_jeune": {
"defaults": "Contact a counsellor at Tel-jeunes",
"origin": [
[
"src/pages/resources.js",
150
]
]
},
Expand Down Expand Up @@ -123,19 +127,15 @@
],
[
"src/pages/resources.js",
367
],
[
"src/pages/resources.js",
415
380
],
[
"src/pages/resources.js",
465
428
],
[
"src/pages/resources.js",
521
478
]
]
},
Expand All @@ -162,7 +162,7 @@
"origin": [
[
"src/pages/resources.js",
273
286
]
]
},
Expand All @@ -171,7 +171,7 @@
"origin": [
[
"src/pages/resources.js",
285
298
]
]
},
Expand All @@ -180,7 +180,7 @@
"origin": [
[
"src/pages/resources.js",
291
304
]
]
},
Expand All @@ -189,7 +189,7 @@
"origin": [
[
"src/pages/resources.js",
307
320
]
]
},
Expand All @@ -198,7 +198,7 @@
"origin": [
[
"src/pages/resources.js",
312
325
]
]
},
Expand All @@ -207,7 +207,7 @@
"origin": [
[
"src/pages/resources.js",
324
337
]
]
},
Expand All @@ -216,7 +216,7 @@
"origin": [
[
"src/pages/resources.js",
346
359
]
]
},
Expand All @@ -225,7 +225,7 @@
"origin": [
[
"src/pages/resources.js",
351
364
]
]
},
Expand All @@ -234,7 +234,7 @@
"origin": [
[
"src/pages/resources.js",
359
372
]
]
},
Expand All @@ -243,7 +243,7 @@
"origin": [
[
"src/pages/resources.js",
385
398
]
]
},
Expand All @@ -252,7 +252,7 @@
"origin": [
[
"src/pages/resources.js",
407
420
]
]
},
Expand All @@ -261,7 +261,7 @@
"origin": [
[
"src/pages/resources.js",
435
448
]
]
},
Expand All @@ -270,7 +270,7 @@
"origin": [
[
"src/pages/resources.js",
457
470
]
]
},
Expand All @@ -279,7 +279,7 @@
"origin": [
[
"src/pages/resources.js",
485
498
]
]
},
Expand All @@ -288,7 +288,7 @@
"origin": [
[
"src/pages/resources.js",
497
510
]
]
},
Expand All @@ -297,7 +297,16 @@
"origin": [
[
"src/pages/resources.js",
505
518
]
]
},
"msg.website": {
"defaults": "WEBSITE",
"origin": [
[
"src/pages/resources.js",
534
]
]
}
Expand Down
2 changes: 1 addition & 1 deletion src/locales/en/messages.js

Large diffs are not rendered by default.

50 changes: 27 additions & 23 deletions src/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@ msgstr "ABOUT THE PRISM-ACCESS OPEN MINDS PROJECT"
msgid "msg.back"
msgstr "BACK"

#: src/pages/resources.js:115
#: src/pages/resources.js:167
#: src/pages/resources.js:336
#: src/pages/resources.js:400
#: src/pages/resources.js:450
#: src/pages/resources.js:349
#: src/pages/resources.js:413
#: src/pages/resources.js:463
msgid "msg.call"
msgstr "CALL"

#: src/pages/resources.js:505
#: src/pages/resources.js:518
msgid "msg.call_211"
msgstr "CALL 211"

Expand All @@ -37,10 +38,9 @@ msgid "msg.call_811"
msgstr "CALL 811"

#: src/pages/resources.js:195
#: src/pages/resources.js:367
#: src/pages/resources.js:415
#: src/pages/resources.js:465
#: src/pages/resources.js:521
#: src/pages/resources.js:380
#: src/pages/resources.js:428
#: src/pages/resources.js:478
msgid "msg.chat"
msgstr "CHAT"

Expand Down Expand Up @@ -179,19 +179,19 @@ msgstr "Project Summary"
msgid "msg.project_updates"
msgstr "Project Updates"

#: src/pages/resources.js:435
#: src/pages/resources.js:448
msgid "msg.resource_LGBTQIA2SP"
msgstr "Interligne (for the LGBTQIA2SP+ community)"

#: src/pages/resources.js:457
#: src/pages/resources.js:470
msgid "msg.resource_LGBTQIA2SP_web"
msgstr "www.interligne.co/en (live chat available)"

#: src/pages/resources.js:96
msgid "msg.resource_WAYS"
msgstr "WAYS Mental Health Support Crisis and Community Support Program 24/7 crisis line (for youth 6-18 y/o and their parents)"

#: src/pages/resources.js:497
#: src/pages/resources.js:510
msgid "msg.resource_call_211"
msgstr "Call or dial 2-1-1"

Expand All @@ -207,48 +207,48 @@ msgstr "Lambton Mental Health Crisis Line: "
msgid "msg.resource_canadian_mental_health_phone_chatman"
msgstr "Chatham Kent Mental Health Crisis Line:"

#: src/pages/resources.js:307
#: src/pages/resources.js:320
msgid "msg.resource_emergency_department"
msgstr "or go to the nearest Emergency Department."

#: src/pages/resources.js:273
#: src/pages/resources.js:286
msgid "msg.resource_exit"
msgstr "QUICK EXIT"

#: src/pages/resources.js:485
#: src/pages/resources.js:498
msgid "msg.resource_find_other"
msgstr "Find another resource near you"

#: src/pages/resources.js:385
#: src/pages/resources.js:398
msgid "msg.resource_first_nation"
msgstr "First Nations and Inuit Hope for Wellness Help Line"

#: src/pages/resources.js:407
#: src/pages/resources.js:420
msgid "msg.resource_first_nation_web"
msgstr "www.hopeforwellness.ca (live chat available)"

#: src/components/sidebar.js:41
#: src/pages/resources.js:285
#: src/pages/resources.js:298
msgid "msg.resource_header"
msgstr "PRISM-AOM IS NOT AN EMERGENCY SERVICE."

#: src/pages/resources.js:324
#: src/pages/resources.js:337
msgid "msg.resource_kid_help_phone"
msgstr "Contact a counsellor at Kids Help Phone"

#: src/pages/resources.js:351
#: src/pages/resources.js:364
msgid "msg.resource_kid_help_phone_chat"
msgstr "Text CONNECT to 686868"

#: src/pages/resources.js:359
#: src/pages/resources.js:372
msgid "msg.resource_kid_help_phone_web"
msgstr "www.kidshelpphone.ca (live chat available)"

#: src/pages/resources.js:33
msgid "msg.resource_ontario"
msgstr "Ontario-Specific Resources:"

#: src/pages/resources.js:312
#: src/pages/resources.js:325
msgid "msg.resource_other_resources"
msgstr "Here are other resources that could help (all toll-free, open 24/7). All of these services are offered in English and French."

Expand All @@ -268,7 +268,7 @@ msgstr "Contact a counsellor at Tel-jeunes"
msgid "msg.resource_quebec_tel_jeune_chat"
msgstr "www.teljeunes.com/Tel-jeunes-en (live chat available)"

#: src/pages/resources.js:291
#: src/pages/resources.js:304
msgid "msg.resource_urgent_situation"
msgstr "If there is an urgent situation (for example, losing control of aggressive or suicidal thoughts), please call:"

Expand Down Expand Up @@ -364,10 +364,14 @@ msgstr "You will not use the form wrongly (e.g., spamming or writing false infor
msgid "msg.text"
msgstr "TEXT"

#: src/pages/resources.js:346
#: src/pages/resources.js:359
msgid "msg.text_connect"
msgstr "TEXT \"CONNECT\""

#: src/pages/resources.js:534
msgid "msg.website"
msgstr "WEBSITE"

#: src/pages/welcome.js:61
msgid "msg.welcome_how"
msgstr "How does it work?"
Expand Down
2 changes: 1 addition & 1 deletion src/locales/fr/messages.js

Large diffs are not rendered by default.

Loading

0 comments on commit 4af10d7

Please sign in to comment.