Re: [jdk20] RFR: 8298133: JDK 20 RDP1 L10n resource files update - msgdrop 10 [v2]

2022-12-15 Thread Damon Nguyen
On Thu, 15 Dec 2022 23:12:58 GMT, Alexander Matveev  
wrote:

>> Damon Nguyen has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Removed trailing whitespace
>
> src/jdk.jpackage/windows/classes/jdk/jpackage/internal/resources/WinResources_de.properties
>  line 51:
> 
>> 49: error.msi-product-version-build-out-of-range=Build-Teil der Version muss 
>> im Bereich [0, 65535] liegen
>> 50: error.msi-product-version-minor-out-of-range=Nebenversion muss im 
>> Bereich [0, 255] liegen
>> 51: error.version-swap=Versionsinformationen f\u00FCr {0} konnten nicht 
>> aktualisiert werden
> 
> Why this was removed?

This line was added back to all locales as it was a regression from the 
translation process.

-

PR: https://git.openjdk.org/jdk20/pull/35


Re: [jdk20] RFR: 8298133: JDK 20 RDP1 L10n resource files update - msgdrop 10 [v2]

2022-12-15 Thread Damon Nguyen
On Thu, 15 Dec 2022 18:52:45 GMT, Naoto Sato  wrote:

>> Damon Nguyen has updated the pull request incrementally with one additional 
>> commit since the last revision:
>> 
>>   Removed trailing whitespace
>
> src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_de.properties 
> line 134:
> 
>> 132: public.api.replacement.column.header=Vorgeschlagene Ersetzung
>> 133: artifact.not.found=nicht gefunden
>> 134: 
>> jdeps.wiki.url=https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool
> 
> This seems to change backward. `openjdk.java.net` has changed to 
> `openjdk.org` Same issues are observed in other locales.

This and the https->http differences seem to also be a part of the extraction 
issue. The resource generation files show "http" and "java.net", but I see 
differently on my local repo that I used for the extraction.

I will run a new extraction job on a fresh repo/branch to see if this issue is 
reproducible and narrow down the source of the extraction issue.

As discussed with Naoto, these are small edits, and they have been addressed in 
the latest PR.

-

PR: https://git.openjdk.org/jdk20/pull/35


Re: [jdk20] RFR: 8298133: JDK 20 RDP1 L10n resource files update - msgdrop 10 [v2]

2022-12-15 Thread Naoto Sato
On Thu, 15 Dec 2022 02:45:48 GMT, Damon Nguyen  wrote:

>> Open l10n drop
>> All tests passed
>
> Damon Nguyen has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Removed trailing whitespace

Changes requested by naoto (Reviewer).

src/jdk.compiler/share/classes/com/sun/tools/javac/resources/javac_de.properties
 line 217:

> 215: javac.msg.usage.nonstandard.footer=Diese zus\u00E4tzlichen Optionen 
> k\u00F6nnen jederzeit ohne vorherige Ank\u00FCndigung ge\u00E4ndert werden.
> 216: 
> 217: javac.msg.bug=Im Compiler ({0}) ist eine Ausnahme aufgetreten. Erstellen 
> Sie auf der Java-Seite zum Melden von Bugs (http://bugreport.java.com) einen 
> Bugbericht, nachdem Sie die Bugdatenbank (http://bugs.java.com) auf Duplikate 
> gepr\u00FCft haben. Geben Sie in Ihrem Bericht Ihr Programm, die folgende 
> Diagnose und die Parameter an, die Sie dem Java-Compiler \u00FCbergeben 
> haben. Vielen Dank.

How come `https` turned into `http`? I see these happening all over the places 
other than this location as well.

src/jdk.jdeps/share/classes/com/sun/tools/jdeps/resources/jdeps_de.properties 
line 134:

> 132: public.api.replacement.column.header=Vorgeschlagene Ersetzung
> 133: artifact.not.found=nicht gefunden
> 134: 
> jdeps.wiki.url=https://wiki.openjdk.java.net/display/JDK8/Java+Dependency+Analysis+Tool

This seems to change backward. `openjdk.java.net` has changed to `openjdk.org` 
Same issues are observed in other locales.

-

PR: https://git.openjdk.org/jdk20/pull/35


Re: [jdk20] RFR: 8298133: JDK 20 RDP1 L10n resource files update - msgdrop 10 [v2]

2022-12-15 Thread Damon Nguyen
On Thu, 15 Dec 2022 02:23:34 GMT, Damon Nguyen  wrote:

>> src/jdk.jlink/share/classes/jdk/tools/jmod/resources/jmod_de.properties line 
>> 26:
>> 
>>> 24: #
>>> 25: 
>>> 26: jmod.description=JMOD-Dateien erstellen und den Inhalt vorhandener 
>>> JMOD-Dateien auflisten
>> 
>> `jlink.description` was added to `jmod.properties` in May 2022 (Which was 
>> before Alisen's drop for JDK19). Shouldn't this have been translated during 
>> the 19 drop in August, as opposed to showing up now?
>
> I see the date of [that PR](https://github.com/openjdk/jdk/pull/8772) as 
> well. Looks like it was integrated on May 19.
> 
> I'm contacting Kate Gavin to determine why some translations seem to 
> sometimes be delayed. As you mentioned in the other comment, there are a few 
> instances where text was added between the last drop & this drop, but weren't 
> translated.
> 
> And as you showed here, this should have been translated in the last drop 
> rather than this one, but showed up here. I need a response from Kate to 
> clarify when these translations are generated.

I conversed with Kate and the problem seems to come from the extraction 
process. We went through the source files that were sent for translation as a 
zip, and some changes would be missing. We confirmed that everything in this 
zip was translated, so the issue was in the extraction to create the source 
files to send for translation.  

For example, the plugin.properties missing text didn't show in the source.zip 
but showed on my forked repo used in the extraction. I re-ran the extraction 
script but still did not see the new text in the generated zip.

Kate thinks a similar issue occurred in the previous drop and this 
jmod.properties change wasn't captured in the extraction process. So now it is 
captured in this drop and translated here. It could be syncing or branch 
issues, but while working with Kate, I learned to better see what files are 
pulled from the extraction script. So for future drops, I can better check to 
make sure changes I expect to be translated will appear.

-

PR: https://git.openjdk.org/jdk20/pull/35


Re: [jdk20] RFR: 8298133: JDK 20 RDP1 L10n resource files update - msgdrop 10 [v2]

2022-12-15 Thread Damon Nguyen
On Thu, 15 Dec 2022 01:13:32 GMT, Justin Lu  wrote:

>> src/jdk.jlink/share/classes/jdk/tools/jlink/resources/plugins_zh_CN.properties
>>  line 188:
>> 
>>> 186: main.plugin.module=\u63D2\u4EF6\u6A21\u5757
>>> 187: 
>>> 188: main.plugin.category=\u7C7B\u522B 
>> 
>> As Naoto pointed out, it looks like a trailing space was added by accident. 
>> This is also done in the ja version but for a different value. And no space 
>> was added for any value for the de version. It looks like the translation 
>> drop that Damon is receiving contains random changes.
>
> Additionally, there were changes made to plugins.properties in October that 
> were not translated in the translation drop

In our discussion, Kate mentioned that some languages are double byte, so this 
extra space may be correct but she hasn't looked in detail yet. I looked 
through all of the changes and these two instances of trailing whitespaces were 
the only two. I removed the extra spaces to reduce the changes as it seems 
useless due to the previous version not having the whitespace.

-

PR: https://git.openjdk.org/jdk20/pull/35


Re: [jdk20] RFR: 8298133: JDK 20 RDP1 L10n resource files update - msgdrop 10 [v2]

2022-12-14 Thread Damon Nguyen
> Open l10n drop
> All tests passed

Damon Nguyen has updated the pull request incrementally with one additional 
commit since the last revision:

  Removed trailing whitespace

-

Changes:
  - all: https://git.openjdk.org/jdk20/pull/35/files
  - new: https://git.openjdk.org/jdk20/pull/35/files/39511b7a..54d2ec5f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk20&pr=35&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk20&pr=35&range=00-01

  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk20/pull/35.diff
  Fetch: git fetch https://git.openjdk.org/jdk20 pull/35/head:pull/35

PR: https://git.openjdk.org/jdk20/pull/35