RFR: 8373119: JDK 26 RDP1 L10n resource files update [v2]

Damon Nguyen dnguyen at openjdk.org
Fri Dec 12 22:34:12 UTC 2025


On Fri, 12 Dec 2025 22:04:36 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac_zh_CN.properties line 209:
>> 
>>> 207: javac.opt.prefer=指定读取文件, 当同时找到隐式编译类的源文件和类文件时
>>> 208: # L10N: do not localize: ''preview''
>>> 209: javac.opt.preview=启用预览语言功能。\n还禁用“预览”lint 类别。\n要与 -source 或 --release 一起使用。
>> 
>> I have spotted that this Chinese localization is missing the ''preview'' mentioned in the above comment. I will submit this issue to the localization team. If the fix comes in time, I will add it to this drop. Otherwise, I will add it to the next possible drop. Alternatively, if anyone has a suggestion for how to correct this, I'm open to incorporate it.
>
> Since this is an apparent l10n mistake, I'd just replace "预览" with ''preview''

Thanks. Updated!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28802#discussion_r2615744326


More information about the core-libs-dev mailing list