From 6503dc1df06c7c5a1fe8f617639d41d02b70d288 Mon Sep 17 00:00:00 2001 From: Oliver Kopp Date: Sun, 27 Oct 2024 02:40:00 +0100 Subject: [PATCH] Refine hint on pasting keys. --- .../jabref/logic/l10n/LocalizationConsistencyTest.java | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/jabref/logic/l10n/LocalizationConsistencyTest.java b/src/test/java/org/jabref/logic/l10n/LocalizationConsistencyTest.java index e88a90f5c5c..73839fb8d07 100644 --- a/src/test/java/org/jabref/logic/l10n/LocalizationConsistencyTest.java +++ b/src/test/java/org/jabref/logic/l10n/LocalizationConsistencyTest.java @@ -133,8 +133,10 @@ void findMissingLocalizationKeys() throws IOException { .collect(Collectors.joining("\n", """ - DETECTED LANGUAGE KEYS WHICH ARE NOT IN THE ENGLISH LANGUAGE FILE - PASTE THESE INTO THE ENGLISH LANGUAGE FILE "JabRef_en.properties" + DETECTED LANGUAGE KEYS WHICH ARE NOT IN THE ENGLISH LANGUAGE FILE. + PASTE THESE INTO THE ENGLISH LANGUAGE FILE "JabRef_en.properties". + Search for a proper place; typically related keys are grouped together. + Maybe you find a similar key - then adapt your langauge instead of adding load to translators by adding a new key. """, "\n\n"))); @@ -148,8 +150,8 @@ void findObsoleteLocalizationKeys() throws IOException { "Obsolete keys found in language properties file: \n\n", """ - 1. CHECK IF THE KEY IS REALLY NOT USED ANYMORE - 2. REMOVE THESE FROM THE ENGLISH LANGUAGE FILE "JabRef_en.properties" + 1. CHECK IF THE KEY IS REALLY NOT USED ANYMORE. + 2. REMOVE THESE FROM THE ENGLISH LANGUAGE FILE "JabRef_en.properties". """)) );