Skip to content

Commit

Permalink
Refine hint on pasting keys. (JabRef#12102)
Browse files Browse the repository at this point in the history
* Refine hint on pasting keys.

* Update src/test/java/org/jabref/logic/l10n/LocalizationConsistencyTest.java

Co-authored-by: Carl Christian Snethlage <[email protected]>

---------

Co-authored-by: Carl Christian Snethlage <[email protected]>
  • Loading branch information
koppor and calixtus authored Oct 29, 2024
1 parent 108a6d1 commit d586102
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
If a similar key is already present, please adapt your language instead of adding load to translators by adding a new key.
""",
"\n\n")));
Expand All @@ -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".
"""))
);
Expand Down

0 comments on commit d586102

Please sign in to comment.