diff --git a/messages/uniworx/categories/send/send_notifications/en-eu.msg b/messages/uniworx/categories/send/send_notifications/en-eu.msg index 381b6bf73..b214e8b10 100644 --- a/messages/uniworx/categories/send/send_notifications/en-eu.msg +++ b/messages/uniworx/categories/send/send_notifications/en-eu.msg @@ -99,5 +99,5 @@ MailSupervisorNote: Note to supervisor MailSupervisorBody undername supername: You receive this message, since #{supername} is registered as supervisor for #{undername} in MailSupervisorCopy undermail: This is a copy of a message originally sent to #{undermail}. MailSupervisorNoCopy: Warning: This message was not sent to the original recipient! The FRADrive registered supervisor, i.e. you, is responsible for forwarding this message to the recipient! -MailSupervisedNote: Please Note +MailSupervisedNote: Please note MailSupervisedBody: A copy of this message has been sent to all supervisors registered for you in FRADrive, namely: \ No newline at end of file diff --git a/src/Utils.hs b/src/Utils.hs index eb7f68f46..9e9ccc445 100644 --- a/src/Utils.hs +++ b/src/Utils.hs @@ -369,6 +369,9 @@ text2markup t = [shamlet|#{t}|] text2widget :: Text -> WidgetFor site () text2widget t = [whamlet|#{t}|] +show2widget :: Show a => a -> WidgetFor site () +show2widget t = [whamlet|#{tshow t}|] + citext2widget :: CI Text -> WidgetFor site () citext2widget t = [whamlet|#{CI.original t}|] diff --git a/templates/i18n/avs-synchronisation/de-de-formal.hamlet b/templates/i18n/avs-synchronisation/de-de-formal.hamlet index 6c21b055c..4370ef23f 100644 --- a/templates/i18n/avs-synchronisation/de-de-formal.hamlet +++ b/templates/i18n/avs-synchronisation/de-de-formal.hamlet @@ -11,9 +11,8 @@ $# SPDX-License-Identifier: AGPL-3.0-or-later $if numUnknownLicenceOwners > 0

- Es wurden #{length unknownLicenceOwners} Personen mit - einer Fahrberechtigung im AVS gefunden, # - welche FRADrive unbekannt sind. # + ^{modal (text2widget (tshow numUnknownLicenceOwners <> " Personen IDs")) (Right (text2widget ("AVS Personen IDs: " <> tshow unknownLicenceOwners)))} # + mit einer Fahrberechtigung wurden im AVS gefunden, welche FRADrive unbekannt sind. # Es gibt zwei Möglichkeiten zum Auflösen dieses Problems: #

diff --git a/templates/i18n/avs-synchronisation/en-eu.hamlet b/templates/i18n/avs-synchronisation/en-eu.hamlet index 5cae60d1a..da2570b41 100644 --- a/templates/i18n/avs-synchronisation/en-eu.hamlet +++ b/templates/i18n/avs-synchronisation/en-eu.hamlet @@ -10,9 +10,8 @@ $# SPDX-License-Identifier: AGPL-3.0-or-later $if numUnknownLicenceOwners > 0

- There are #{length unknownLicenceOwners} persons - owning a driving licence within AVS, # - which are not in the FRADrive database. # + ^{modal (text2widget (tshow numUnknownLicenceOwners <> " Person IDs")) (Right (text2widget ("AVS Person IDs: " <> tshow unknownLicenceOwners)))} # + owning a driving licence within AVS were found, which are unknown within the FRADrive database. # There are two solutions to this problem: #