Skip to content

SHPPWS-103: add feedback survey-link to email templates#637

Merged
Nukasev merged 3 commits intomainfrom
SHPPWS-103/add-feedback-survey-link-to-emails
Feb 10, 2026
Merged

SHPPWS-103: add feedback survey-link to email templates#637
Nukasev merged 3 commits intomainfrom
SHPPWS-103/add-feedback-survey-link-to-emails

Conversation

@Nukasev
Copy link
Contributor

@Nukasev Nukasev commented Jan 27, 2026

Description

add feedback survey-link to email templates

How Has This Been Tested?

permit_ended-email has been tested locally via mailpit, this should cover all cases as all the relevant emails use the same (or similiar) base template where the change has been made.

@Nukasev Nukasev requested a review from mhieta January 27, 2026 12:25
@azure-pipelines
Copy link

PYSAKOINNINVERKKOKAUPPA-BACKEND branch is deployed to platta: https://pysakoinninverkkokauppa-backend-pr637.dev.hel.ninja 🚀🚀🚀

@Nukasev Nukasev marked this pull request as draft January 27, 2026 12:47
@azure-pipelines
Copy link

PYSAKOINNINVERKKOKAUPPA-BACKEND branch is deployed to platta: https://pysakoinninverkkokauppa-backend-pr637.dev.hel.ninja 🚀🚀🚀

@Nukasev Nukasev marked this pull request as ready for review January 27, 2026 13:14
@azure-pipelines
Copy link

PYSAKOINNINVERKKOKAUPPA-BACKEND branch is deployed to platta: https://pysakoinninverkkokauppa-backend-pr637.dev.hel.ninja 🚀🚀🚀

Copy link
Contributor

@mhieta mhieta left a comment

Choose a reason for hiding this comment

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

Line numbers in translations makes them too verbose and also gives no actual real value, because you can always search the translation and get their location. So better not use them at all. Try running commands to remove them:

  • python manage.py makemessages -l fi --no-location
  • python manage.py makemessages -l sv --no-location

Also fuzzy-translations should be updated to match latest desired translation value and # fuzzy removed completely from them.

Empty "" -translations should be updated also to match the actual desired translation value.

@Nukasev Nukasev marked this pull request as draft January 30, 2026 08:40
@Nukasev Nukasev force-pushed the SHPPWS-103/add-feedback-survey-link-to-emails branch from 7260f93 to c1518ad Compare January 30, 2026 08:41
@azure-pipelines
Copy link

PYSAKOINNINVERKKOKAUPPA-BACKEND branch is deployed to platta: https://pysakoinninverkkokauppa-backend-pr637.dev.hel.ninja 🚀🚀🚀

@Nukasev Nukasev force-pushed the SHPPWS-103/add-feedback-survey-link-to-emails branch 2 times, most recently from 276c83f to 592f562 Compare January 30, 2026 09:23
@azure-pipelines
Copy link

PYSAKOINNINVERKKOKAUPPA-BACKEND branch is deployed to platta: https://pysakoinninverkkokauppa-backend-pr637.dev.hel.ninja 🚀🚀🚀

@Nukasev
Copy link
Contributor Author

Nukasev commented Jan 30, 2026

Fixed finnish translation file as requested by @mhieta. @Niilis do you have any suggestions for the missing swedish translations?

@Nukasev Nukasev requested a review from Niilis January 30, 2026 09:33
@Niilis
Copy link
Contributor

Niilis commented Feb 5, 2026

Fixed finnish translation file as requested by @mhieta. @Niilis do you have any suggestions for the missing swedish translations?

msgid "Permit count"
msgstr "Antal tillstånd"

msgid "Date"
msgstr "Datum"

msgid "Parking zone name"
msgstr "Namn på parkeringsområde"

msgid "Parking zone description"
msgstr "Deskription för parkeringsområde"

msgid "Parking zone description sv"
msgstr "Deskription för parkeringsområde (sv)"

msgid "Low-emission criteria"
msgstr "Kriterier för lågemission fordon"

msgid "Primary vehicle"
msgstr "Primär fordon"

msgid "Permit count snapshot"
msgstr "Ögonblicksbild av antal tilstånd"

msgid "Permit count snapshots"
msgstr "Ögonblicksbilder av antal tillstånd"

msgid "Customer does not have a valid driving licence for this vehicle"
msgstr "Kunden har inte ett giltigt körkort för detta fordon"

msgid "This person has a non-disclosure statement"
msgstr "Den här personen har spärr mot utlämnande av uppgifter"

msgid "Source: Transport register, Traficom"
msgstr "Källa: Trafik- och transportregistret, Traficom"

msgid "What do you think about this service?"
msgstr "Vad tycker du om den här tjänsten?"

msgid "Give us your feedback!"
msgstr "Ge oss din feedback!"

msgid "incl. VAT"
msgstr "inkl. MOMS"

Here are all of the lines that were changed in the Swedish translation translated. I might have translated already translated strings. I tried to align these with the already translated strings that are correct.

@Nukasev Nukasev force-pushed the SHPPWS-103/add-feedback-survey-link-to-emails branch 2 times, most recently from 5ad377e to 2eb7f6d Compare February 6, 2026 11:44
@azure-pipelines
Copy link

PYSAKOINNINVERKKOKAUPPA-BACKEND branch is deployed to platta: https://pysakoinninverkkokauppa-backend-pr637.dev.hel.ninja 🚀🚀🚀

@Nukasev
Copy link
Contributor Author

Nukasev commented Feb 6, 2026

Updated the missing Swedish translations, re-marking the PR as ready for review.

@Nukasev Nukasev marked this pull request as ready for review February 6, 2026 11:53
@azure-pipelines
Copy link

PYSAKOINNINVERKKOKAUPPA-BACKEND branch is deployed to platta: https://pysakoinninverkkokauppa-backend-pr637.dev.hel.ninja 🚀🚀🚀

@Nukasev Nukasev force-pushed the SHPPWS-103/add-feedback-survey-link-to-emails branch from 2eb7f6d to d70e7b8 Compare February 9, 2026 06:59
@azure-pipelines
Copy link

PYSAKOINNINVERKKOKAUPPA-BACKEND branch is deployed to platta: https://pysakoinninverkkokauppa-backend-pr637.dev.hel.ninja 🚀🚀🚀

@Nukasev Nukasev changed the title SHPPWS-503: add feedback survey-link to email templates SHPPWS-103: add feedback survey-link to email templates Feb 9, 2026
Niilis
Niilis previously approved these changes Feb 9, 2026
Copy link
Contributor

@Niilis Niilis left a comment

Choose a reason for hiding this comment

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

The Swedish translations are good to go now. Not sure about the other changes but with a quick glance I did not find anything to comment about.

Reduce code duplication by splitting the base email-templates into
reusable snippets.

refs SHPPWS-103
@Nukasev Nukasev force-pushed the SHPPWS-103/add-feedback-survey-link-to-emails branch from d70e7b8 to 8a01adb Compare February 10, 2026 08:46
@sonarqubecloud
Copy link

@azure-pipelines
Copy link

PYSAKOINNINVERKKOKAUPPA-BACKEND branch is deployed to platta: https://pysakoinninverkkokauppa-backend-pr637.dev.hel.ninja 🚀🚀🚀

Copy link
Contributor

@mhieta mhieta left a comment

Choose a reason for hiding this comment

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

LGTM! 👍

@Nukasev Nukasev merged commit 0da6ddb into main Feb 10, 2026
24 checks passed
@Nukasev Nukasev deleted the SHPPWS-103/add-feedback-survey-link-to-emails branch February 10, 2026 12:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants