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

Justin Lu jlu at openjdk.org
Mon Dec 15 19:23:51 UTC 2025


On Mon, 15 Dec 2025 19:05:31 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:

>> src/java.base/share/classes/sun/launcher/resources/launcher_zh_CN.properties line 53:
>> 
>>> 51: java.launcher.cls.error4=错误: 加载主类 {0} 时出现 LinkageError\n\t{1}
>>> 52: java.launcher.cls.error5=错误: 无法初始化主类 {0}\n原因: {1}: {2}
>>> 53: java.launcher.cls.error6=错误:在类 {0} 中未找到 non-private 零参数构造器\n请从现有构造器中删除 private,或者定义为:\n   public {0}()
>> 
>> Shall we translate "non-private" into Chinese?
>
> I believe we should. I will submit this issue to the translation team and have it fixed in the next drop.

I don't see a reason why this change should occur since there was no corresponding change in the original file for this time frame. Is the change just reverting "non-private" and "private"? We might just spot revert this change here (and still notify the translation team).

"`中未找到非专用零参数构造器\n请从现有构造器中删除 private`" might be better than the original translation, since `private` remains untranslated. Otherwise reverting back to the original is fine with me as well.

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

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


More information about the javadoc-dev mailing list