From 5b52f38d78b172a7a3d4f001f35f20a83e677b36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= <1005065+DeepDiver1975@users.noreply.github.com> Date: Mon, 27 Jul 2026 12:19:47 +0200 Subject: [PATCH] fix(l10n): remove duplicate de/de_DE empty-state keys MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The all-languages backfill appended "No note selected" and "Create a note using the + button in the sidebar." to the de and de_DE catalogs, which already carried those keys from #552. That produced the same key twice in a single catalog object (malformed JS object literal / JSON), resolved only by implicit last-wins. Collapse each to a single register-correct entry: de keeps the informal "Erstelle …" form, de_DE keeps the formal "Erstellen Sie …" form. The genuinely new "Notes" key added by the backfill is retained. Co-Authored-By: Claude Opus 4.8 Signed-off-by: Thomas Müller <1005065+DeepDiver1975@users.noreply.github.com> --- l10n/de.js | 6 ++---- l10n/de.json | 6 ++---- l10n/de_DE.js | 4 +--- l10n/de_DE.json | 4 +--- 4 files changed, 6 insertions(+), 14 deletions(-) diff --git a/l10n/de.js b/l10n/de.js index 9b2219c7..77f396a7 100644 --- a/l10n/de.js +++ b/l10n/de.js @@ -5,11 +5,9 @@ OC.L10N.register( "Note is currently saving. Leaving the page will delete all changes!" : "Notizen werden gerade gespeichert. Das Verlassen der Seite löscht alle Änderungen!", "_%n word_::_%n words_" : ["%n Wort","%n Wörter"], "No note selected" : "Keine Notiz ausgewählt", - "Create a note using the + button in the sidebar." : "Erstellen Sie eine Notiz über den +-Button in der Seitenleiste.", + "Create a note using the + button in the sidebar." : "Erstelle eine Notiz über die +-Schaltfläche in der Seitenleiste.", "Delete note" : "Notiz löschen", "Favorite" : "Favorisieren", - "Notes" : "Notizen", - "No note selected" : "Keine Notiz ausgewählt", - "Create a note using the + button in the sidebar." : "Erstelle eine Notiz über die +-Schaltfläche in der Seitenleiste." + "Notes" : "Notizen" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/de.json b/l10n/de.json index 2181fbae..8a1448a1 100644 --- a/l10n/de.json +++ b/l10n/de.json @@ -3,11 +3,9 @@ "Note is currently saving. Leaving the page will delete all changes!" : "Notizen werden gerade gespeichert. Das Verlassen der Seite löscht alle Änderungen!", "_%n word_::_%n words_" : ["%n Wort","%n Wörter"], "No note selected" : "Keine Notiz ausgewählt", - "Create a note using the + button in the sidebar." : "Erstellen Sie eine Notiz über den +-Button in der Seitenleiste.", + "Create a note using the + button in the sidebar." : "Erstelle eine Notiz über die +-Schaltfläche in der Seitenleiste.", "Delete note" : "Notiz löschen", "Favorite" : "Favorisieren", - "Notes" : "Notizen", - "No note selected" : "Keine Notiz ausgewählt", - "Create a note using the + button in the sidebar." : "Erstelle eine Notiz über die +-Schaltfläche in der Seitenleiste." + "Notes" : "Notizen" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file diff --git a/l10n/de_DE.js b/l10n/de_DE.js index c0b9c455..15ab7e0c 100644 --- a/l10n/de_DE.js +++ b/l10n/de_DE.js @@ -8,8 +8,6 @@ OC.L10N.register( "Create a note using the + button in the sidebar." : "Erstellen Sie eine Notiz über die +-Schaltfläche in der Seitenleiste.", "Delete note" : "Notiz löschen", "Favorite" : "Favorit", - "Notes" : "Notizen", - "No note selected" : "Keine Notiz ausgewählt", - "Create a note using the + button in the sidebar." : "Erstellen Sie eine Notiz über die Schaltfläche + in der Seitenleiste." + "Notes" : "Notizen" }, "nplurals=2; plural=(n != 1);"); diff --git a/l10n/de_DE.json b/l10n/de_DE.json index fceda750..309a0ea6 100644 --- a/l10n/de_DE.json +++ b/l10n/de_DE.json @@ -6,8 +6,6 @@ "Create a note using the + button in the sidebar." : "Erstellen Sie eine Notiz über die +-Schaltfläche in der Seitenleiste.", "Delete note" : "Notiz löschen", "Favorite" : "Favorit", - "Notes" : "Notizen", - "No note selected" : "Keine Notiz ausgewählt", - "Create a note using the + button in the sidebar." : "Erstellen Sie eine Notiz über die Schaltfläche + in der Seitenleiste." + "Notes" : "Notizen" },"pluralForm" :"nplurals=2; plural=(n != 1);" } \ No newline at end of file