From ca13fcd4a378add180df2df2f892860534a9cb97 Mon Sep 17 00:00:00 2001 From: fs Date: Mon, 27 Apr 2026 08:44:17 +0200 Subject: [PATCH] chore(i18n): drop user-lifecycle translation keys orphaned by cockpit cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Seven translation keys were orphaned by the recent user-lifecycle cockpit work (commits 144d841, cc2cf3a, 157eb18) and now have zero callers in pages/, modules/, or core/: * "Run lifecycle now" — was the
-summary title * "Run user lifecycle now" — was the
-button label * "This runs the lifecycle policy immediately and may deactivate or delete users." — was the
-blockquote warning * "User lifecycle logs" — was the embedded panel's title * "Purge user lifecycle logs" — was the panel's purge-button label * "Purge entries older than 365 days?" — was the panel's purge confirm * "Lifecycle audit entry not found" — was the deleted view($id).php flash key The aside-actions partial uses different, still-active keys ("Run policy now", "Purge logs", "Run user lifecycle now?") so no visible string lost. Removed from all four i18n files (core + audit-module, de + en) so translation parity stays balanced and the architecture-test "i18n parity" check stays green. Co-Authored-By: Claude Opus 4.7 (1M context) --- i18n/default_de.json | 7 ------- i18n/default_en.json | 7 ------- modules/audit/i18n/default_de.json | 5 ----- modules/audit/i18n/default_en.json | 5 ----- 4 files changed, 24 deletions(-) diff --git a/i18n/default_de.json b/i18n/default_de.json index 48db6f2..b5a6a1d 100644 --- a/i18n/default_de.json +++ b/i18n/default_de.json @@ -563,7 +563,6 @@ "Leave empty to keep the currently stored client secret.": "Leer lassen, um das aktuell gespeicherte Client-Secret beizubehalten.", "Leave empty to use the runtime default title.": "Leer lassen, um den Laufzeit-Standardtitel zu verwenden.", "Legal": "Rechtliches", - "Lifecycle audit entry not found": "Benutzer-Lifecycle-Eintrag nicht gefunden", "Lifecycle event": "Lifecycle-Ereignis", "Lifecycle event was already restored": "Lifecycle-Ereignis wurde bereits wiederhergestellt", "Lifecycle risks (7d)": "Lifecycle-Risiken (7d)", @@ -854,14 +853,12 @@ "Profile sync on Microsoft login": "Profil-Sync bei Microsoft-Login", "Provider message ID": "Provider-Nachrichten-ID", "Purge API audit logs": "API-Protokolle bereinigen", - "Purge entries older than 365 days?": "Einträge älter als 365 Tage bereinigen?", "Purge entries older than 90 days?": "Einträge älter als 90 Tage bereinigen?", "Purge expired system audit entries?": "Abgelaufene System-Protokoll-Einträge bereinigen?", "Purge import logs": "Import-Protokolle bereinigen", "Purge run logs older than 90 days?": "Laufprotokolle älter als 90 Tage bereinigen?", "Purge scheduler logs": "Scheduler-Protokolle bereinigen", "Purge system audit logs": "System-Protokolle bereinigen", - "Purge user lifecycle logs": "Benutzer-Lifecycle-Protokolle bereinigen", "Queries": "Abfragen", "Queries (%d)": "Abfragen (%d)", "Query metadata (keys)": "Query-Metadaten (Schlüssel)", @@ -953,10 +950,8 @@ "Rows total": "Zeilen gesamt", "Rules": "Regeln", "Run history": "Laufhistorie", - "Run lifecycle now": "Lebenszyklus jetzt ausführen", "Run now": "Jetzt ausführen", "Run preview": "Vorschau ausführen", - "Run user lifecycle now": "Benutzer-Lifecycle jetzt ausführen", "Run user lifecycle now?": "Benutzer-Lifecycle jetzt ausführen?", "Run UUID": "Run-UUID", "Runner lock not acquired": "Runner-Lock nicht erhalten", @@ -1220,7 +1215,6 @@ "These limits define default and maximum lifetimes for newly issued API tokens.": "Diese Grenzwerte definieren Standard- und Maximallaufzeit für neu ausgestellte API-Tokens.", "This action cannot be undone.": "Diese Aktion kann nicht rückgängig gemacht werden.", "This action revokes all active API tokens immediately across all users.": "Diese Aktion widerruft sofort alle aktiven API-Tokens über alle Benutzer hinweg.", - "This runs the lifecycle policy immediately and may deactivate or delete users.": "Dies führt die Lebenszyklus-Richtlinie sofort aus und kann Benutzer deaktivieren oder löschen.", "This scheduled job is no longer registered and cannot be edited. It has been superseded by a newer version.": "Diese geplante Aufgabe ist nicht mehr registriert und kann nicht bearbeitet werden. Sie wurde durch eine neuere Version ersetzt.", "This setting controls the application name shown across the UI.": "Diese Einstellung steuert den in der gesamten UI angezeigten Anwendungsnamen.", "This setting controls the default language for users without a personal preference.": "Diese Einstellung steuert die Standardsprache für Benutzer ohne persönliche Präferenz.", @@ -1307,7 +1301,6 @@ "User lifecycle completed: %d deactivated, %d deleted": "Benutzer-Lifecycle abgeschlossen: %d deaktiviert, %d gelöscht", "User lifecycle defines when inactive users are deactivated or deleted.": "Hier wird festgelegt, wann inaktive Benutzer deaktiviert oder gelöscht werden.", "User lifecycle failed": "Benutzer-Lifecycle fehlgeschlagen", - "User lifecycle logs": "Benutzer-Lifecycle-Protokolle", "User lifecycle policy": "Benutzer-Lifecycle-Regel", "User lifecycle settings": "Benutzer-Lebenszyklus-Einstellungen", "User not found": "Benutzer nicht gefunden", diff --git a/i18n/default_en.json b/i18n/default_en.json index 27e9788..676e387 100644 --- a/i18n/default_en.json +++ b/i18n/default_en.json @@ -563,7 +563,6 @@ "Leave empty to keep the currently stored client secret.": "Leave empty to keep the currently stored client secret.", "Leave empty to use the runtime default title.": "Leave empty to use the runtime default title.", "Legal": "Legal", - "Lifecycle audit entry not found": "Lifecycle audit entry not found", "Lifecycle event": "Lifecycle event", "Lifecycle event was already restored": "Lifecycle event was already restored", "Lifecycle risks (7d)": "Lifecycle risks (7d)", @@ -854,14 +853,12 @@ "Profile sync on Microsoft login": "Profile sync on Microsoft login", "Provider message ID": "Provider message ID", "Purge API audit logs": "Purge API logs", - "Purge entries older than 365 days?": "Purge entries older than 365 days?", "Purge entries older than 90 days?": "Purge entries older than 90 days?", "Purge expired system audit entries?": "Purge expired system audit entries?", "Purge import logs": "Purge import logs", "Purge run logs older than 90 days?": "Purge run logs older than 90 days?", "Purge scheduler logs": "Purge scheduler logs", "Purge system audit logs": "Purge system audit logs", - "Purge user lifecycle logs": "Purge user lifecycle logs", "Queries": "Queries", "Queries (%d)": "Queries (%d)", "Query metadata (keys)": "Query metadata (keys)", @@ -953,10 +950,8 @@ "Rows total": "Rows total", "Rules": "Rules", "Run history": "Run history", - "Run lifecycle now": "Run lifecycle now", "Run now": "Run now", "Run preview": "Run preview", - "Run user lifecycle now": "Run user lifecycle now", "Run user lifecycle now?": "Run user lifecycle now?", "Run UUID": "Run UUID", "Runner lock not acquired": "Runner lock not acquired", @@ -1220,7 +1215,6 @@ "These limits define default and maximum lifetimes for newly issued API tokens.": "These limits define default and maximum lifetimes for newly issued API tokens.", "This action cannot be undone.": "This action cannot be undone.", "This action revokes all active API tokens immediately across all users.": "This action revokes all active API tokens immediately across all users.", - "This runs the lifecycle policy immediately and may deactivate or delete users.": "This runs the lifecycle policy immediately and may deactivate or delete users.", "This scheduled job is no longer registered and cannot be edited. It has been superseded by a newer version.": "This scheduled job is no longer registered and cannot be edited. It has been superseded by a newer version.", "This setting controls the application name shown across the UI.": "This setting controls the application name shown across the UI.", "This setting controls the default language for users without a personal preference.": "This setting controls the default language for users without a personal preference.", @@ -1307,7 +1301,6 @@ "User lifecycle completed: %d deactivated, %d deleted": "User lifecycle completed: %d deactivated, %d deleted", "User lifecycle defines when inactive users are deactivated or deleted.": "User lifecycle defines when inactive users are deactivated or deleted.", "User lifecycle failed": "User lifecycle failed", - "User lifecycle logs": "User lifecycle logs", "User lifecycle policy": "User lifecycle policy", "User lifecycle settings": "User lifecycle settings", "User not found": "User not found", diff --git a/modules/audit/i18n/default_de.json b/modules/audit/i18n/default_de.json index c6429ed..7820711 100644 --- a/modules/audit/i18n/default_de.json +++ b/modules/audit/i18n/default_de.json @@ -30,18 +30,13 @@ "System audit controls whether security events are logged and how long they are kept.": "Hier wird gesteuert, ob Sicherheitsereignisse protokolliert werden und wie lange sie aufbewahrt werden.", "Privileged admins are excluded from automatic lifecycle actions": "Privilegierte Admins sind von automatischen Lifecycle-Aktionen ausgenommen", "Run user lifecycle now?": "Benutzer-Lifecycle jetzt ausführen?", - "Run user lifecycle now": "Benutzer-Lifecycle jetzt ausführen", "User lifecycle already running": "Benutzer-Lifecycle läuft bereits", "User lifecycle failed": "Benutzer-Lifecycle fehlgeschlagen", "User lifecycle completed: %d deactivated, %d deleted": "Benutzer-Lifecycle abgeschlossen: %d deaktiviert, %d gelöscht", "Purge scheduler logs": "Scheduler-Protokolle bereinigen", "Purge run logs older than 90 days?": "Laufprotokolle älter als 90 Tage bereinigen?", "%d scheduler run logs purged": "%d Scheduler-Laufprotokolle bereinigt", - "User lifecycle logs": "Benutzer-Lifecycle-Protokolle", "View user lifecycle audit entry": "Benutzer-Lifecycle-Eintrag anzeigen", - "Lifecycle audit entry not found": "Benutzer-Lifecycle-Eintrag nicht gefunden", - "Purge user lifecycle logs": "Benutzer-Lifecycle-Protokolle bereinigen", - "Purge entries older than 365 days?": "Einträge älter als 365 Tage bereinigen?", "%d user lifecycle audit entries purged": "%d Benutzer-Lifecycle-Protokoll-Einträge bereinigt", "Lifecycle event": "Lifecycle-Ereignis", "Restore this user from lifecycle snapshot?": "Diesen Benutzer aus dem Lifecycle-Snapshot wiederherstellen?", diff --git a/modules/audit/i18n/default_en.json b/modules/audit/i18n/default_en.json index 1d89d65..58f9dc7 100644 --- a/modules/audit/i18n/default_en.json +++ b/modules/audit/i18n/default_en.json @@ -30,18 +30,13 @@ "System audit controls whether security events are logged and how long they are kept.": "System audit controls whether security events are logged and how long they are kept.", "Privileged admins are excluded from automatic lifecycle actions": "Privileged admins are excluded from automatic lifecycle actions", "Run user lifecycle now?": "Run user lifecycle now?", - "Run user lifecycle now": "Run user lifecycle now", "User lifecycle already running": "User lifecycle already running", "User lifecycle failed": "User lifecycle failed", "User lifecycle completed: %d deactivated, %d deleted": "User lifecycle completed: %d deactivated, %d deleted", "Purge scheduler logs": "Purge scheduler logs", "Purge run logs older than 90 days?": "Purge run logs older than 90 days?", "%d scheduler run logs purged": "%d scheduler run logs purged", - "User lifecycle logs": "User lifecycle logs", "View user lifecycle audit entry": "View user lifecycle audit entry", - "Lifecycle audit entry not found": "Lifecycle audit entry not found", - "Purge user lifecycle logs": "Purge user lifecycle logs", - "Purge entries older than 365 days?": "Purge entries older than 365 days?", "%d user lifecycle audit entries purged": "%d user lifecycle audit entries purged", "Lifecycle event": "Lifecycle event", "Restore this user from lifecycle snapshot?": "Restore this user from lifecycle snapshot?",