Skip to content

Commit 012f420

Browse files
authored
Introduce Report an Issue Link (canada-ca#1970)
* add report and issue link in footer * update translations * add isExternal to external footer links
1 parent e714803 commit 012f420

5 files changed

Lines changed: 325 additions & 241 deletions

File tree

frontend/src/App.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ export default function App() {
193193
<FloatingMenu />
194194
<Footer>
195195
<Link
196+
isExternal={true}
196197
href={
197198
i18n.locale === 'en'
198199
? 'https://www.canada.ca/en/transparency/privacy.html'
@@ -203,6 +204,7 @@ export default function App() {
203204
</Link>
204205
<Link
205206
ml={4}
207+
isExternal={true}
206208
href={
207209
i18n.locale === 'en'
208210
? 'https://www.canada.ca/en/transparency/terms.html'
@@ -211,6 +213,13 @@ export default function App() {
211213
>
212214
<Trans>Terms & conditions</Trans>
213215
</Link>
216+
<Link
217+
ml={4}
218+
href={"https://github.com/canada-ca/tracker/issues"}
219+
isExternal={true}
220+
>
221+
<Trans>Report an Issue</Trans>
222+
</Link>
214223
</Footer>
215224
</Flex>
216225
</>

frontend/src/locales/en.js

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
/*eslint-disable*/ module.exports = {
22
messages: {
3-
'*All data represented is mocked for demonstration purposes':
4-
'*All data represented is mocked for demonstration purposes',
5-
"*search bars do not actively search databases currently. They are used to demonstrate the 'add' button feature":
6-
"*search bars do not actively search databases currently. They are used to demonstrate the 'add' button feature",
73
'3.2.2 Third Parties and DKIM': '3.2.2 Third Parties and DKIM',
84
'404 - Page Not Found': '404 - Page Not Found',
95
'A-all': 'A-all',
@@ -67,8 +63,8 @@
6763
'CCCS added to Aggregate sender list',
6864
'CCCS added to Forensic sender list': 'CCCS added to Forensic sender list',
6965
'CNAME-DMARC': 'CNAME-DMARC',
70-
'Canadians rely on the Government of Canada to provide secure digital services. A new policy notice guides government websites to adopt good web security practices. Track how government sites are becoming more secure.':
71-
'Canadians rely on the Government of Canada to provide secure digital services. A new policy notice guides government websites to adopt good web security practices. Track how government sites are becoming more secure.',
66+
'Canadians rely on the Government of Canada to provide secure digital services. The Policy on Service and Digital guides government online services to adopt good security practices for email and web services. Track how government sites are becoming more secure.':
67+
'Canadians rely on the Government of Canada to provide secure digital services. The Policy on Service and Digital guides government online services to adopt good security practices for email and web services. Track how government sites are becoming more secure.',
7268
'Canonical HTTPS endpoint internally redirects to HTTP. Follow guidance.':
7369
'Canonical HTTPS endpoint internally redirects to HTTP. Follow guidance.',
7470
'Certificate chain signed using SHA-256/SHA-384/AEAD':
@@ -127,7 +123,6 @@
127123
'DMARC Messages': 'DMARC Messages',
128124
'DMARC Not Implemented': 'DMARC Not Implemented',
129125
'DMARC Report': 'DMARC Report',
130-
'DMARC Report <0/>': 'DMARC Report <0/>',
131126
'DMARC fail': 'DMARC fail',
132127
'DMARC pass': 'DMARC pass',
133128
'DMARC-GC': 'DMARC-GC',
@@ -203,7 +198,6 @@
203198
Guidance: 'Guidance',
204199
'Guidance Tags': 'Guidance Tags',
205200
'Guidance:': 'Guidance:',
206-
'Guidance<0/>': 'Guidance<0/>',
207201
'HSTS Age:': 'HSTS Age:',
208202
'HSTS Status:': 'HSTS Status:',
209203
'HSTS-missing': 'HSTS-missing',
@@ -239,19 +233,27 @@
239233
'Implementation Status:': 'Implementation Status:',
240234
'Incorrect authenticate.result typename.':
241235
'Incorrect authenticate.result typename.',
236+
'Incorrect createDomain.result typename.':
237+
'Incorrect createDomain.result typename.',
242238
'Incorrect inviteUserToOrg.result typename.':
243239
'Incorrect inviteUserToOrg.result typename.',
240+
'Incorrect removeDomain.result typename.':
241+
'Incorrect removeDomain.result typename.',
244242
'Incorrect resetPassword.result typename.':
245243
'Incorrect resetPassword.result typename.',
246244
'Incorrect send method received.': 'Incorrect send method received.',
247245
'Incorrect setPhoneNumber.result typename.':
248246
'Incorrect setPhoneNumber.result typename.',
249247
'Incorrect signIn.result typename.': 'Incorrect signIn.result typename.',
250248
'Incorrect signUp.result typename.': 'Incorrect signUp.result typename.',
249+
'Incorrect updateDomain.result typename.':
250+
'Incorrect updateDomain.result typename.',
251251
'Incorrect updateUserPassword.result typename.':
252252
'Incorrect updateUserPassword.result typename.',
253253
'Incorrect updateUserProfile.result typename.':
254254
'Incorrect updateUserProfile.result typename.',
255+
'Incorrect updateUserRole.result typename.':
256+
'Incorrect updateUserRole.result typename.',
255257
'Incorrect verifyPhoneNumber.result typename.':
256258
'Incorrect verifyPhoneNumber.result typename.',
257259
'Internet facing services': 'Internet facing services',
@@ -321,7 +323,6 @@
321323
'One or more ciphers in use are not compliant with guidelines':
322324
'One or more ciphers in use are not compliant with guidelines',
323325
'Organization Details': 'Organization Details',
324-
'Organization Info': 'Organization Info',
325326
'Organization:': 'Organization:',
326327
Organizations: 'Organizations',
327328
'Owner has not configured Aggregate reporting.':
@@ -363,7 +364,6 @@
363364
'Password must be at least 12 characters long',
364365
'Password:': 'Password:',
365366
'Passwords must match': 'Passwords must match',
366-
'Phase:': 'Phase:',
367367
Phone: 'Phone',
368368
'Phone Number': 'Phone Number',
369369
'Phone Number:': 'Phone Number:',
@@ -410,6 +410,7 @@
410410
'RUF-CCCS': 'RUF-CCCS',
411411
'RUF-none': 'RUF-none',
412412
'Remove Domain': 'Remove Domain',
413+
'Report an Issue': 'Report an Issue',
413414
'Request a domain to be scanned:': 'Request a domain to be scanned:',
414415
'Result:': 'Result:',
415416
'Results for scans of email technologies (DMARC, SPF, DKIM).':
@@ -476,8 +477,6 @@
476477
'Source IP Address': 'Source IP Address',
477478
Submit: 'Submit',
478479
Summary: 'Summary',
479-
'Summary Cards': 'Summary Cards',
480-
'Summary:': 'Summary:',
481480
'T-enabled': 'T-enabled',
482481
TBD: 'TBD',
483482
'TFA Method:': 'TFA Method:',
@@ -495,17 +494,19 @@
495494
'This service is being developed in the open',
496495
'Total Messages': 'Total Messages',
497496
'Total users': 'Total users',
498-
'Track Web Security Compliance': 'Track Web Security Compliance',
497+
'Track Digital Security': 'Track Digital Security',
499498
'Tracker Logo': 'Tracker Logo',
500499
'Two Factor Authentication': 'Two Factor Authentication',
501500
USER: 'USER',
502501
'Unable to change user role, please try again.':
503502
'Unable to change user role, please try again.',
504503
'Unable to create account, please try again.':
505504
'Unable to create account, please try again.',
505+
'Unable to create new domain.': 'Unable to create new domain.',
506506
'Unable to create your account, please try again.':
507507
'Unable to create your account, please try again.',
508508
'Unable to invite user.': 'Unable to invite user.',
509+
'Unable to remove domain.': 'Unable to remove domain.',
509510
'Unable to request scan, please try again.':
510511
'Unable to request scan, please try again.',
511512
'Unable to reset your password, please try again.':
@@ -514,6 +515,7 @@
514515
'Unable to send password reset link to email.',
515516
'Unable to sign in to your account, please try again.':
516517
'Unable to sign in to your account, please try again.',
518+
'Unable to update domain.': 'Unable to update domain.',
517519
'Unable to update password': 'Unable to update password',
518520
'Unable to update to your TFA send method, please try again.':
519521
'Unable to update to your TFA send method, please try again.',
@@ -525,6 +527,7 @@
525527
'Unable to update to your preferred language, please try again.',
526528
'Unable to update to your username, please try again.':
527529
'Unable to update to your username, please try again.',
530+
'Unable to update user role.': 'Unable to update user role.',
528531
'Unable to update your password, please try again.':
529532
'Unable to update your password, please try again.',
530533
'Unable to update your phone number, please try again.':

0 commit comments

Comments
 (0)