fix: innerHTML violations, German translations, and PT diacritics

- Replace innerHTML with replaceChildren/insertAdjacentHTML in birthdays.js and calendar.js (hook compliance)
- Translate calendar attachment i18n keys to German in de.json
- Fix missing diacritical marks in pt.json attachment strings

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Ulas Kalayci
2026-04-29 16:53:45 +02:00
parent d9218a4941
commit 3fc95da48f
4 changed files with 12 additions and 11 deletions
+5 -5
View File
@@ -376,11 +376,11 @@
},
"iconLabel": "Icon",
"invalidDate": "Bitte ein gültiges Datum im ausgewählten Format verwenden.",
"attachmentLabel": "Attachment",
"attachmentHint": "Attach a local image, PDF, or document. Images will be shown in the event popup.",
"attachmentFallback": "Attachment",
"attachmentReadError": "The attachment could not be read.",
"attachmentTooLarge": "Attachment may be at most 5 MB."
"attachmentLabel": "Anhang",
"attachmentHint": "Lokales Bild, PDF oder Dokument anhängen. Bilder werden im Ereignis-Popup angezeigt.",
"attachmentFallback": "Anhang",
"attachmentReadError": "Der Anhang konnte nicht gelesen werden.",
"attachmentTooLarge": "Der Anhang darf höchstens 5 MB groß sein."
},
"notes": {
"title": "Notizen",