Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(shipper): update intelcom, ups and amazon with canadian french strings #954

Merged
merged 8 commits into from
Jul 18, 2024
Merged
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions custom_components/mail_and_packages/const.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"Livré",
"Entregado:",
"Bezorgd:",
"Livraison : Votre",
]
AMAZON_SHIPMENT_TRACKING = [
"shipment-tracking",
Expand All @@ -110,10 +111,7 @@
"verzending-volgen",
"update-bestelling",
]
AMAZON_EMAIL = [
"order-update@",
"update-bestelling@",
]
AMAZON_EMAIL = ["order-update@", "update-bestelling@", "versandbestaetigung@"]
Copy link
Author

@Bluscream Bluscream Jul 18, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what a dumb change, but apparently the linter is happy now, so be it ig

AMAZON_PACKAGES = "amazon_packages"
AMAZON_ORDER = "amazon_order"
AMAZON_DELIVERED = "amazon_delivered"
Expand All @@ -126,6 +124,7 @@
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
]
AMAZON_HUB_SUBJECT = "ready for pickup from Amazon Hub Locker"
AMAZON_HUB_SUBJECT_SEARCH = "(a package to pick up)(.*)(\\d{6})"
Expand All @@ -143,6 +142,7 @@
"A chegar:",
"Arrivée :",
"Verwachte bezorgdatum:",
"Votre date de livraison prévue est :",
]
AMAZON_TIME_PATTERN_END = [
"Previously expected:",
Expand Down Expand Up @@ -177,6 +177,8 @@
"pt_PT.UTF-8",
"pt_BR",
"pt_BR.UTF-8",
"fr_CA",
"fr_CA.UTF-8",
"",
]

Expand Down Expand Up @@ -224,6 +226,7 @@
"Your UPS Packages were delivered",
"Your UPS Parcel was delivered",
"Your UPS Parcels were delivered",
"Votre colis UPS a été livré",
],
},
"ups_delivering": {
Expand All @@ -233,6 +236,8 @@
"UPS Update: Follow Your Delivery on a Live Map",
"UPS Pre-Arrival: Your Driver is Arriving Soon! Follow on a Live Map",
"UPS Update: Parcel Scheduled for Delivery Today",
"Mise à jour UPS : Livraison du colis prévue demain",
"Mise à jour UPS : Livraison du colis prévue aujourd'hui",
],
},
"ups_exception": {
Expand Down Expand Up @@ -563,11 +568,17 @@
# Intelcom
"intelcom_delivered": {
"email": ["[email protected]"],
"subject": ["Your order has been delivered!"],
"subject": [
"Your order has been delivered!" "Votre commande a été livrée!",
"Votre colis a été livré!",
],
},
"intelcom_delivering": {
"email": ["[email protected]"],
"subject": ["Your package is on the way!"],
"subject": [
"Your package is on the way!",
"Votre colis est en chemin!",
],
},
"intelcom_packages": {
"email": ["[email protected]"],
Expand Down
Loading