On Thu, 11 Jun 2026 20:22:03 GMT, Justin Lu <[email protected]> wrote:

>> 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
>
> Fixed. Curious as to why the `de` translation for this key came back without 
> the extra spaces, but the `ja` one did. Assuming `zh_CN` operated differently 
> given its full width colon.

I guess de/zh_CN translators were aware of the original alignment. De 
translator simply removed them, zh_CN translator removed them which happened to 
align placeholders. Ja translator simply copied them over.

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

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

Reply via email to