Skip to content

Commit

Permalink
Removed usa shipping collapsible
Browse files Browse the repository at this point in the history
removed unused import
  • Loading branch information
AdamP-HRSDC-RHDCC committed Oct 2, 2024
1 parent e5ef8b0 commit 3e3460d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 65 deletions.
8 changes: 1 addition & 7 deletions public/locales/en/status.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,7 @@
"mailing": "We're mailing it to you by Canada Post",
"remote-area": "If you live in a northern or remote area, it may take up to 8 business days to arrive.",
"supporting-documents": "We may send your supporting documents back separately.",
"take-up-to": "It can take up to 2 to 3 business days to arrive.",
"united-states": {
"title": "Special instructions for applicants residing in the United States",
"mailed-us": "If your passport is being mailed to the United States, it will be sent to you via FedEx.",
"supporting-documents": "You'll receive your passport and supporting documents in the same envelope.",
"contact-us": "If you don't receive your passport and supporting documents, <Link>contact us</Link>."
}
"take-up-to": "It can take up to 2 to 3 business days to arrive."
},
"shipped-fedex": {
"contact-us": "If you don't receive your passport and supporting documents, <Link>contact us</Link>.",
Expand Down
8 changes: 1 addition & 7 deletions public/locales/fr/status.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,7 @@
"mailing": "Nous vous l'envoyons par Postes Canada.",
"remote-area": "Si vous vivez dans une région au nord ou éloignée, cela pourrait prendre jusqu'à 8 jours ouvrables pour arriver.",
"supporting-documents": "Nous pourrions renvoyer vos documents fournis en support de la demande séparément.",
"take-up-to": "Cela peut prendre jusqu'à 2 à 3 jours ouvrables pour arriver.",
"united-states": {
"title": "Instructions spéciales pour les requérants résidant aux États-Unis.",
"mailed-us": "Si votre passeport est envoyé aux États-Unis, il vous sera envoyé via FedEx.",
"supporting-documents": "Vous recevrez le passeport et les documents justificatifs dans la même enveloppe.",
"contact-us": "Si vous ne recevez pas votre passeport et vos documents, <Link>veuillez nous contacter</Link>."
}
"take-up-to": "Cela peut prendre jusqu'à 2 à 3 jours ouvrables pour arriver."
},
"shipped-fedex": {
"contact-us": "Si vous ne recevez pas votre passeport et vos documents, <Link>veuillez nous contacter</Link>.",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { Trans, useTranslation } from 'next-i18next'

import AlertBlock from '../AlertBlock'
import AlertSection from '../AlertSection'
import Collapse from '../Collapse'
import ExternalLink from '../ExternalLink'

export interface CheckStatusShippingCanadaPostProps {
Expand Down Expand Up @@ -58,56 +57,6 @@ export const CheckStatusShippingCanadaPost = ({
</>
)}
</AlertSection>
<Collapse title={t('shipped-canada-post.united-states.title')}>
<div className="mt-3 border-t">
<p className="mt-3">
{t('shipped-canada-post.united-states.mailed-us')}
</p>
{trackingNumber ? (
<>
<p>
<Trans
i18nKey="status-check-tracking.number"
ns="status"
tOptions={{ trackingNumber }}
/>
</p>
<p>
<Trans
i18nKey={'status-check-tracking.can-track'}
ns="status"
components={{
Link: (
<ExternalLink
data-gc-analytics-exempt={true}
href={t('status-check-tracking.link.fedex', {
trackingNumber: encodeURIComponent(trackingNumber),
})}
/>
),
}}
/>
</p>
</>
) : (
<></>
)}
<p>
<strong>
{t('shipped-canada-post.united-states.supporting-documents')}
</strong>
</p>
<p>
<Trans
i18nKey="shipped-canada-post.united-states.contact-us"
ns="status"
components={{
Link: <ExternalLink href={t('common:contact-us-link')} />,
}}
/>
</p>
</div>
</Collapse>
<p className="h3 mt-6">{t('shipped-canada-post.supporting-documents')}</p>
<p className="mt-6">
<Trans
Expand Down

0 comments on commit 3e3460d

Please sign in to comment.