On Thu, 11 Jun 2026 18:11:57 GMT, Justin Lu <[email protected]> wrote:

> Localization updates for JDK 27 RDP1.
> 
> For easier review, you can also view the changes side-by-side with the 
> corresponding English changes here:
> https://cr.openjdk.org/~jlu/output/. Note that translations come from 
> upstream as usual, so any modifications made in this PR will also need to be 
> applied upstream. While most changes are the result of updates to the 
> corresponding English values, it is not unusual to also see some updates to 
> existing translations.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler_ja.properties
 line 714:

> 712: 
> 713: # 0: list of type or message segment, 1: list of type or message segment
> 714: compiler.misc.incompatible.arg.types.in.lambda=ラムダ式のパラメータ型は不適合です\n期待値: 
> {0}\n検出値:    {1}

Those extra spaces between "検出値:\u0020" and "{1}" seems unnecessary. Original 
English resource has these spaces to align the placeholders, but not needed for 
Japanese

src/jdk.jlink/share/classes/jdk/tools/jimage/resources/jimage_ja.properties 
line 71:

> 69: err.invalid.jimage={0}を開けません: {1}
> 70: # More specific alternative for cases of version mismatch
> 71: err.wrong.version={0}を開けません: 
> ファイルとツールのバージョンが一致していません\njimageファイルに関連付けられたJDKには''<JAVA_HOME>/bin/jimage''を使用してください:\n{1}

I believe this translation is not accurate. The second sentence should be 
something along the lines of: 

> jimageファイルに関連付けられたJDKの''<JAVA_HOME>/bin/jimage''を使用してください:\n{1}

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31486#discussion_r3398632880
PR Review Comment: https://git.openjdk.org/jdk/pull/31486#discussion_r3398730467

Reply via email to