RFR: 8345327: JDK 24 RDP1 L10n resource files update

Justin Lu jlu at openjdk.org
Fri Dec 6 00:32:40 UTC 2024


On Fri, 6 Dec 2024 00:21:34 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

>> Please review this PR which contains the open L10n drop changes for RDP1.
>> 
>> I recommend viewing the improved diffs which are built out by Jon's tool here: https://cr.openjdk.org/~jlu/output/.  As always, I can not confirm the correctness on the quality of the translations themselves.
>> 
>> Generally speaking, observed differences in punctuation can be attributed to language rules. Any keys requiring localization that came in after the JDK was submitted for translations will be handled in the RDP2 L10n drop.
>
> src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties line 190:
> 
>> 188: javac.opt.Xdoclint.package.args = [-]<程序包>(,[-]<程序包>)*
>> 189: 
>> 190: javac.opt.Xdoclint.package.desc=在特定的程序包中启用或禁用检查。每个 <package> 是\n限定的程序包名称,或程序包名称前缀后跟 ''.*''\n(这将扩展到给定程序包的所有子程序包)。在每个 <package>\n前面加上 ''-'' 可对指定程序包禁用检查。
> 
> Looks like single-quotes are being changed to double single-quotes for some instances. Is this intentional? Or an issue with how the translation process reads this text?

That's because the English source file had an update to introduce those double single quotes. (See https://cr.openjdk.org/~jlu/output/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac.html). It's just being updated to match.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22588#discussion_r1872384728


More information about the compiler-dev mailing list