On Fri, 12 Dec 2025 20:45:34 GMT, Damon Nguyen <[email protected]> wrote:

>> Open l10n drop. Files have been updated with translated versions.
>
> 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''

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

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

Reply via email to