-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
8322041: JDK 22 RDP1 L10n resource files update #17096
Conversation
👋 Welcome back achung! A progress list of the required criteria for merging this PR into |
@alisenchung The following labels will be automatically applied to this pull request:
When this pull request is ready to be reviewed, an "RFR" email will be sent to the corresponding mailing lists. If you would like to change these labels, use the /label pull request command. |
Webrevs
|
@alexeysemenyukoracle please review jpackage part |
@JoeWang-Java can u review the xml changes? |
@jonathan-gibbons can u review the compiler changes? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jpackage part looks fine.
@alisenchung This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been 79 new commits pushed to the
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details. ➡️ To integrate this PR with the above commit message to the |
German translations read OK. Nit: some layouts get lost in translated files - it would be great to have similar usage of For example, the English file java.launcher.opt.header = Usage: {0} [options] <mainclass> [args...]\n\
\ (to execute a class)\n\
\ or {0} [options] -jar <jarfile> [args...]\n\
\ (to execute a jar file)\n\
\ or {0} [options] -m <module>[/<mainclass>] [args...]\n\
\ {0} [options] --module <module>[/<mainclass>] [args...]\n\
\ (to execute the main class in a module)\n\
\ or {0} [options] <sourcefile> [args]\n\
\ (to execute a source-file program)\n\n\
[...] The German translation in java.launcher.opt.header = Verwendung: {0} [Optionen] <Hauptklasse> [args...]\n (zur Ausführung einer Klasse)\n oder {0} [Optionen] -jar <JAR-Datei> [args...]\n (zur Ausführung einer JAR-Datei)\n oder {0} [Optionen] -m <Modul>[/<Hauptklasse>] [args...]\n {0} [Optionen] --module <Modul>[/<Hauptklasse>] [args...]\n (zur Ausführung der Hauptklasse in einem Modul)\n oder {0} [Optionen] <Quelldatei> [args]\n (zur Ausführung eines Programms mit einer Quelldatei)\n\n[...] Changes in the latter are not easy to spot and review. |
@@ -323,3 +326,7 @@ | |||
# Catalog 09 | |||
# Technical term, do not translate: catalog | |||
CatalogException=JAXP00090001: CatalogResolver ist mit dem Katalog "{0}" aktiviert, eine CatalogException wird jedoch zurückgegeben. | |||
|
|||
# Implementation Property DTD | |||
JDK_DTD_DENY = JAXP00010008: DOCTYPE ist nicht zulässig, wenn die DTD-Eigenschaft auf "Ablehnen" gesetzt wurde. Weitere Informationen: Eigenschaft jdk.xml.dtd.support in java.xml/module-summary. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This version quoted "Ablehnen" while the other two (ja - "拒否" and zh_CN - "拒绝") didn't. If we want to be consistent, "deny" would be better since that's the literal value. The English version should have quoted "deny".
The previous translations in these files have not been consistent. Some of the key words were translated. If we want to keep this translation as is, it's probably better to remove the quote in the "de" file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed quotes around Ablehnen
doclet.UnknownTag=不明なタグ。未登録のカスタム・タグ? | ||
doclet.UnknownTagWithHint=不明なタグ。入力ミスによる@{0}または未登録のカスタム・タグ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simply appending a question mark may read a bit odd, although it is a straightforward translation from English.
dc.unknown.javadoc.tag = 不明なタグ。未登録のカスタム・タグ? | ||
dc.unknown.javadoc.tag.with.hint = 不明なタグ。入力ミスによる@{0}または未登録のカスタム・タグ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All around LGTM. From a skim I don't see any of the typical l10n related file mode issues, line ending issues, or values that should not be changed (like WixLocalization Culture). Might be worth filing a bug against the translation tool to see if it could support multi line translations for localized versions as @sormuras pointed out.
|
||
compiler.warn.underscore.as.identifier=Ab Release 9 ist "_" ein Schlüsselwort und kann nicht als ID verwendet werden | ||
|
||
compiler.err.underscore.as.identifier=Ab Release 9 ist "_" ein Schlüsselwort und kann nicht als ID verwendet werden | ||
|
||
compiler.err.use.of.underscore.not.allowed=Ab Release 21 ist nur das Unterstrichschlüsselwort "_" zulässig, um\nunbenannte Muster, lokale Variablen, Ausnahmeparameter oder Lambda-Parameter zu deklarieren | ||
compiler.err.use.of.underscore.not.allowed=Unterstrich ist hier nicht zulässig\nAb Release 9 ist ''_'' ein Schlüsselwort und kann nicht als ID verwendet werden\nAb Release 22 kann ''_'' als Name in der Deklaration unbenannter Muster, lokaler Variablen, Ausnahmeparameter oder Lambda-Parameter verwendet werden |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just an observation, but the double quotes were converted to (two) single quotes. Previously, localized de files represented '' '' as " ", as different languages have different l10n rules (according to the translation contact). And this is seen with the other values on this file using "" instead of '' ''.
But here it looks like they updated the value to match the quotes in of the value in the original .properties files. Not sure if they updated the rules and this is intentional, or unintentional.
jpackage changes look good |
mach5 looks green |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The java.xml changes look good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The diffs are more conveniently available here:
https://cr.openjdk.org/~jjg/jdk-l10n-diffs--15dec23/
The compiler and javadoc diffs look "ok" but I cannot read most other languages, and cannot comment on the quality of the translations. I do see that there are places where a translation has been edited where the English original has not. I also see issues with some of the English messages, but that is not for here.
My "approval" is just for jdk.compiler
and jdk.javadoc
files.
/integrate |
Going to push as commit b061b66.
Your commit was automatically rebased without conflicts. |
@alisenchung Pushed as commit b061b66. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Translation drop for JDK22 RDP1
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/17096/head:pull/17096
$ git checkout pull/17096
Update a local copy of the PR:
$ git checkout pull/17096
$ git pull https://git.openjdk.org/jdk.git pull/17096/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 17096
View PR using the GUI difftool:
$ git pr show -t 17096
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/17096.diff
Webrev
Link to Webrev Comment