Skip to content

Commit

Permalink
Timezones and improved content on login history (#1985)
Browse files Browse the repository at this point in the history
* clarify timezones and improve content on login history

* missed a p

* added missing ;
  • Loading branch information
amazingphilippe authored Nov 4, 2024
1 parent 0eee3c0 commit a1b800f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
8 changes: 5 additions & 3 deletions app/templates/components/tou-prompt.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
{% macro tou_prompt() %}

<h1 class="heading-large mt-0 mb-4" tabindex="0" autofocus>{{ _('Before you continue') }}</h1>
<p>{{ _('GC Notify always shows your local time, except where we state otherwise.') }}</p>
<div class="mt-16 mb-10">
<h2 class="heading-medium">{{ _('Review your activity') }}</h1>
<p>{{ _('Our records show that these are the last 3 times you signed into this account:') }}</p>
<p>{{ _('Review our records of your last 3 sign in times:') }}</p>
<table>
<tbody>
{% for event in session[events_key] %}
Expand All @@ -24,11 +25,12 @@ <h2 class="heading-medium">{{ _('Review your activity') }}</h1>
</tbody>
</table>
<p>
{{ _('If this is not correct, ') }}<a href="{{ url_for('main.contact') }}" target="_blank">{{ _('contact us') }}</a>.
{{ _('If our records are not correct, ') }}<a href="{{ url_for('main.contact') }}" target="_blank">{{ _('contact us')
}}</a>.
</p>
</div>
<div id="tou-prompt" data-testid="tou-prompt" class="mt-16">
<h2 class="heading-medium mt-0 mb-6" data-testid="tou-heading">{{ _('Know your responsibilities') }}</h2>
<h2 class="heading-medium mt-0 mb-6" data-testid="tou-heading">{{ _('By using GC Notify, you agree to:') }}</h2>
<div data-testid="tou-terms">
<p>
{{ _('By using GC Notify, you accept our ') }}
Expand Down
5 changes: 3 additions & 2 deletions app/templates/views/login_events.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="grid-row contain-floats">
<div class="w-full float-left py-0 px-0 px-gutterHalf box-border">
<h1 class="heading-large">{{ _('Sign-in history') }}</h1>
<p>{{ _('Our records show that these are the last 3 times you signed into this account:') }}</p>
<p>{{ _('Review our records of your last 3 sign in times:') }}</p>
<table>
<tbody>
{% for event in events %}
Expand All @@ -30,7 +30,8 @@ <h1 class="heading-large">{{ _('Sign-in history') }}</h1>

<br />
<p>
{{ _('If this is not correct, ') }}<a href="{{ url_for('main.contact') }}" target="_blank">{{ _('contact us') }}</a>.
{{ _('If our records are not correct, ') }}<a href="{{ url_for('main.contact') }}" target="_blank">{{ _('contact us')
}}</a>.
</p>
<a href="{{next}}" class="button">{{ _('Continue') }}</a>
{{ page_footer(
Expand Down
7 changes: 4 additions & 3 deletions app/translations/csv/fr.csv
Original file line number Diff line number Diff line change
Expand Up @@ -565,8 +565,8 @@
"There’s something wrong with the link you’ve used.","Il y a un problème avec le lien que vous avez utilisé."
"You’re signed in as %(email)s. This invite is for another email address. <a href=%(href)s>Sign out</a> and click the link again to accept this invite.","Vous vous êtes connecté avec&nbsp;: %(email)s. Cette invitation est pour une autre adresse courriel. <a href=%(href)s>Veuillez vous déconnecter</a> et cliquer à nouveau sur le lien pour accepter cette invitation."
"Sign-in history","Historique de connexion"
"Our records show that these are the last 3 times you signed into this account:","Nos archives montrent que ce sont les trois dernières fois que vous vous êtes connecté au site&nbsp;:"
"If this is not correct, ","Si ce n'est pas le cas, "
"Review our records of your last 3 sign in times:","Voici les 3 dernières connexions enregistrées&thinsp;:"
"If our records are not correct, ","Si ces renseignements sont incorrects, "
"Invite someone to join your team","Invitez une personne à se joindre à votre équipe"
"invited","invitation envoyée"
"cancelled invite","invitation annulée"
Expand Down Expand Up @@ -1899,7 +1899,7 @@
"total sends in the last 7 days","total des envois au cours des 7 derniers jours"
"Getting started","Découvrez comment fonctionne Notification GC"
"Check your service is running and not using a proxy we cannot access","Vérifiez que votre service est en cours d'exécution et n'utilise pas un proxy auquel nous ne pouvons pas accéder"
"Know your responsibilities","Ayez connaissance de vos responsabilités"
"By using GC Notify, you agree to:","En utilisant Notification GC, vous prenez les engagements suivants&thinsp;:"
"By using GC Notify, you accept our ","En utilisant Notification GC, vous acceptez ses "
"This includes your agreement to:","Cela implique notamment les engagement suivants&nbsp;:"
"Your responsibilities","Vos responsabilités"
Expand Down Expand Up @@ -1964,6 +1964,7 @@
"Secure your API keys and follow our rules for <a href='https://documentation.notification.canada.ca/en/send.html#check-status-repair-and-resend-messages'>API calls and unprocessed requests</a> as well as <a href='https://documentation.notification.canada.ca/en/callbacks.html'>callbacks</a>. If you cannot meet our callback requirements, we’ll need to suspend callbacks for your service.","Sécurisez vos clés API et suivez nos règles concernant <a href='https://documentation.notification.canada.ca/fr/envoyer.html#verifiez-l-etat-du-message-corrigez-et-envoyez-a-nouveau'>les appels d’API et les demandes non traitées</a> ainsi que <a href='https://documentation.notification.canada.ca/fr/rappel.html'>les rappels</a>. Si vous n'êtes pas en mesure de respecter nos exigences en matière de rappels, nous devrons suspendre les rappels pour votre service."
"Agree and continue","Accepter et continuer"
"Before you continue","Avant d’aller plus loin"
"GC Notify always shows your local time, except where we state otherwise.","Sauf mention contraire, Notification GC affiche toujours l’heure de votre fuseau horaire."
"Template category","Catégorie de gabarit"
"Template categories help improve delivery of your messages","Les catégories de gabarits nous aident à améliorer Notification GC"
"Explain purpose of message","Expliquez l’objectif du message"
Expand Down

0 comments on commit a1b800f

Please sign in to comment.