feat(i18n): Aktions-Buttons dynamisch + komplettes Neue-Lage/Bearbeiten-Modal

- _updateRefreshButton + _updateArchiveButton (app.js) nutzen T() statt
  Hardcode -- Aktualisieren/Laeuft/Wiederherstellen/Archivieren/Lesemodus.
- Modal-Title-Setter (Lage bearbeiten / Neue Lage anlegen) lokalisiert
  an drei Stellen (init / openEdit / closeModal).
- updateVisibilityHint und toggleTypeDefaults: dynamischer Text via T().
- HTML: ~31 data-i18n + data-i18n-attr im modal-new (Art der Lage,
  Optionen, Type-Hint, Quellen-Toggles, Sichtbarkeit, Aktualisierung,
  Intervall-Einheiten, Aufbewahrung, E-Mail-Toggles, Abbrechen).
- Cache-Buster app.js auf v=20260514a.
Dieser Commit ist enthalten in:
Claude Code
2026-05-13 22:05:31 +00:00
Ursprung 90f0731a86
Commit 3a68097b4f
4 geänderte Dateien mit 924 neuen und 840 gelöschten Zeilen

Datei anzeigen

@@ -17,6 +17,12 @@
"action.export": "Export report",
"action.archive": "Archive",
"action.delete": "Delete",
"action.refreshing": "Running...",
"action.restore": "Restore",
"action.budget_exceeded": "Budget exhausted",
"action.read_only": "Read-only",
"action.budget_exceeded_title": "Token budget exhausted. Please contact administration.",
"action.read_only_title": "License does not permit write access",
"sidebar.empty": "No situations yet",
"header.logout": "Sign out",
"header.new_incident": "+ New situation",
@@ -46,6 +52,37 @@
"modal.new_incident.visibility_public": "Public",
"modal.new_incident.visibility_private": "Private",
"modal.new_incident.submit": "Create situation",
"modal.new_incident.title2": "Create new case",
"modal.new_incident.edit_title": "Edit situation",
"modal.placeholder.title": "e.g. Explosion in Madrid",
"modal.placeholder.description": "More details about the incident (optional)",
"modal.field.type": "Type of situation",
"modal.option.type_adhoc": "Live monitoring : track an event",
"modal.option.type_research": "Research : analyse a topic",
"modal.hint.type_adhoc": "Continuously searches hundreds of news sources for new articles. Recommended: automatic refresh.",
"modal.hint.type_research": "Structured deep research with multiple passes. Recommended: start manually and deepen when needed.",
"modal.field.sources": "Sources",
"modal.toggle.international": "Include international sources",
"modal.toggle.telegram": "Include Telegram channels",
"modal.toggle.visibility_public_text": "Public : visible to all users",
"modal.toggle.visibility_private_text": "Private : only visible to you",
"modal.field.refresh": "Refresh",
"modal.option.manual": "Manual",
"modal.option.auto": "Automatic",
"modal.field.interval": "Interval",
"modal.unit.minutes": "Minutes",
"modal.unit.hours": "Hours",
"modal.unit.days": "Days",
"modal.unit.weeks": "Weeks",
"modal.field.start_time": "First refresh at",
"modal.field.retention": "Retention (days)",
"modal.placeholder.retention": "0 = unlimited",
"modal.field.notifications": "Email notifications",
"modal.hint.notifications": "Notify me by email about:",
"modal.notify.summary": "New briefing",
"modal.notify.new_articles": "New articles",
"modal.notify.status_change": "Fact-check status change",
"aria.close": "Close",
"modal.sources.title": "Source management",
"modal.sources.approve_all_high": "Approve all ≥ 0.85",
"modal.export.title": "Export report",