RFR: 7420: Update Japanese translation for rules

Marcus Hirt hirt at openjdk.java.net
Thu Jan 20 23:33:13 UTC 2022


On Mon, 20 Sep 2021 04:55:25 GMT, mohno007 <duke at openjdk.java.net> wrote:

> This PR updates/improves Japanese translation of rules and its descriptions.
> 
> ## Update
> 
> * Update texts based on new commits to `messages.properties` made after the last update date of the `messages_ja.properties`.
> 	* Support a new placeholder format introduced in `Rule 2.0`.
> 	* Use Markdown style link.
> 	* Add translations for newly added texts.
> * Update texts for translation correctness and understandability.
> 	* Fix some wordings for understandability. Especially usage of Japanese particle.
> 	* Add [Japanese counter word (助数詞)](https://en.wikipedia.org/wiki/Japanese_counter_word) for numeric value.
> 
> You can see decoded version of `messages_ja` using this script:
> 
> 
> native2ascii -reverse core/org.openjdk.jmc.flightrecorder.rules.jdk/src/main/resources/org/openjdk/jmc/flightrecorder/rules/jdk/messages/internal/messages_ja.properties

Thanks @mohno007! Let me know if you need any help with verifying the OCA status! Meanwhile, I've asked a friend in Japan to verify the texts.

Hi @davidbuckjp! Any chance you could take a look at this?

core/org.openjdk.jmc.flightrecorder.rules.jdk/src/main/resources/org/openjdk/jmc/flightrecorder/rules/jdk/messages/internal/messages_ja.properties line 2:

> 1: #
> 2: #  Copyright (c) 2018, 2019, 2020, 2021 Oracle and/or its affiliates. All rights reserved.

Only the first and the last year in the range should be in the copyright header. In this case the text should be:
Copyright (c) 2018, 2021, Oracle and/or its affiliates. All rights reserved.

Note the comma after the end year as well.

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

PR: https://git.openjdk.java.net/jmc/pull/308


More information about the jmc-dev mailing list