Skip to content

Commit 0e57479

Browse files
mupbed
andcommitted
Fixes translations for Tuta Calendar
Co-authored-by: bed <[email protected]>
1 parent 833333b commit 0e57479

File tree

5 files changed

+2124
-2121
lines changed

5 files changed

+2124
-2121
lines changed

src/calendar-app/calendar/view/CalendarNotificationSender.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { lang, TranslationKey } from "../../../common/misc/LanguageViewModel.js"
1+
import { InfoLink, lang, TranslationKey } from "../../../common/misc/LanguageViewModel.js"
22
import { makeInvitationCalendarFile } from "../export/CalendarExporter.js"
33
import { CalendarAttendeeStatus, getAttendeeStatus, MailMethod, mailMethodToCalendarMethod } from "../../../common/api/common/TutanotaConstants.js"
44
import { getTimeZone } from "../../../common/calendar/date/CalendarUtils.js"
@@ -575,7 +575,9 @@ function makeHTMLBody({ event, infoBannerMessage, eventInviteEmailType, sender,
575575
<table style="padding: 24px 0">
576576
<tr>
577577
<td>
578-
${lang.get("invitationNote_msg")}
578+
${lang.get("invitationNote_msg", {
579+
"{1}": `<a href=${InfoLink.CalendarHomePageFreeSignup}>${InfoLink.CalendarHomePageFreeSignup}</a>`,
580+
})}
579581
<td>
580582
</tr>
581583
</table>

src/common/misc/LanguageViewModel.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,7 @@ export const enum InfoLink {
246246
AppStoreDowngrade = "https://tuta.com/support/#appstore-subscription-downgrade",
247247
PasswordGenerator = "https://tuta.com/faq#passphrase-generator",
248248
HomePageFreeSignup = "https://tuta.com/free-email",
249+
CalendarHomePageFreeSignup = "https://tuta.com/calendar",
249250
DeprecatedKey = "https://tuta.com/support#deprecated-key-warning",
250251
SecretStorage = "https://tuta.com/faq/#secretstorage",
251252
AccountApprovalFaq = "https://tuta.com/support#48",

src/mail-app/translations/de.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2110,7 +2110,7 @@ export default {
21102110
"declined_label": "Abgelehnt",
21112111
"removed_label": "Entfernt",
21122112
"event_label": "Termin",
2113-
"invitationNote_msg": "Sicher mit dem <strong><a href=\"https://tuta.com\" target=\"_blank\">Tuta Calendar</a></strong>",
2113+
"invitationNote_msg": "Sicher gesendet mit <strong>Tuta Calendar:</strong>\n<br>\n{1}",
21142114
"updateThisAndFutureEvents_action": "Dieses und zukünftige Ereignisse aktualisiere",
21152115
"deleteThisAndFutureOccurrences_action": "Dieses und zukünftige Ereignisse löschen",
21162116
"deleteThisAndFutureOccurrencesConfirmation_msg": "Sind Sie sicher, dass Sie dieses und alle zukünftigen Ereignisse löschen wollen?",

0 commit comments

Comments
 (0)