fix: replace ASCII-encoded umlauts with proper German characters in user-facing strings
Notification email and submission response used ae/oe instead of ä/ö.
This commit is contained in:
@@ -222,7 +222,7 @@ func (s *Service) SubmitMarket(ctx context.Context, req SubmitMarketRequest, rem
|
||||
To: s.adminEmail,
|
||||
Subject: fmt.Sprintf("Neuer Markt eingereicht: %s", req.Name),
|
||||
Body: fmt.Sprintf(
|
||||
"Ein neuer Markt wurde eingereicht:\n\nName: %s\nStadt: %s\nZeitraum: %s - %s\nEingereicht von: %s (%s)\n\nBitte im Admin-Panel pruefen.",
|
||||
"Ein neuer Markt wurde eingereicht:\n\nName: %s\nStadt: %s\nZeitraum: %s - %s\nEingereicht von: %s (%s)\n\nBitte im Admin-Panel prüfen.",
|
||||
req.Name, req.City, req.StartDate, req.EndDate,
|
||||
req.SubmitterName, req.SubmitterEmail,
|
||||
),
|
||||
|
||||
@@ -41,7 +41,7 @@ func (h *SubmissionHandler) Submit(c *gin.Context) {
|
||||
|
||||
c.JSON(http.StatusAccepted, SubmitResponse{
|
||||
Data: SubmitResponseData{
|
||||
Message: "Vielen Dank! Dein Markt wurde eingereicht und wird nach Pruefung veroeffentlicht.",
|
||||
Message: "Vielen Dank! Dein Markt wurde eingereicht und wird nach Prüfung veröffentlicht.",
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user