On Mon, 23 Jun 2025 16:44:23 GMT, Alisen Chung <ach...@openjdk.org> wrote:

>> This issue is responsible for updating the translations of all the 
>> localize(able) resources in the JDK since the previous L10n drop.
>
> Alisen Chung has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   update to german translations

src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac_de.properties
 line 178:

> 176: javac.opt.Xlint.desc.restricted=Warnt vor der Verwendung eingeschränkter 
> Methoden.
> 177: 
> 178: javac.opt.Xlint.desc.synchronization=Warnt vor 
> Synchronisierungsversuchen mit Instanzen wertbasierter Klassen.\n             
>             Dieser Schlüssel ist ein veralteter Alias für die Kategorie 
> "Identität", die dieselben Verwendungen und\n                         Effekte 
> hat. Benutzern wird empfohlen, die Kategorie "Identität" für alle 
> zukünftigen\n                         und vorhandenen Verwendungen von 
> "Synchronisierung" zu verwenden.

"Identität" and "Synchronisierung" are literals that must not be translated.

The English base entry reads:


javac.opt.Xlint.desc.synchronization=\
    Warn about synchronization attempts on instances of value-based classes.\n\
\                         This key is a deprecated alias for ''identity'', 
which has the same uses and\n\
\                         effects. Users are encouraged to use the ''identity'' 
category for all future\n\
\                         and existing uses of ''synchronization''.


And `javac --help-lint` contains:


    strictfp             Warn about unnecessary use of the strictfp modifier.
    synchronization      Warn about synchronization attempts on instances of 
value-based classes.
    text-blocks          Warn about inconsistent white space characters in text 
block indentation.
    
    
    
Suggestion:

javac.opt.Xlint.desc.synchronization=Warnt vor Synchronisierungsversuchen mit 
Instanzen wertbasierter Klassen.\n                         Dieser Schlüssel ist 
ein veralteter Alias für die Kategorie "identity", die dieselben Verwendungen 
und\n                         Effekte hat. Benutzern wird empfohlen, die 
Kategorie "identity" für alle zukünftigen\n                         und 
vorhandenen Verwendungen von "synchronization" zu verwenden.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25839#discussion_r2162995954

Reply via email to