-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8291924: jpackage: l10n for Windows context menu label #9753
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
Conversation
👋 Welcome back akasko! A progress list of the required criteria for merging this PR into |
Webrevs
|
private static String queryRegistryValue(String keyPath, String valueName) { | ||
public static String queryRegistryValue(String keyPath, String valueName) { |
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.
It should be sufficient to make it package private, not public.
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.
Changed the modifier to package private.
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.
As to the l10n files, no need to provide those. Providing the English resource is just fine. L10n will pick them up in the later translation process.
I've updated the patch, making |
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.
Looks good for the translation file change.
@akashche 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 96 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. As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@naotoj, @alexeysemenyukoracle, @sashamatveev) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
I think there was a miscommunication about l10n files. |
Missing entries in localized files are automatically detected by the translation process. So modifying only the English file should be fine. |
Thanks for the l10n files review! As I understand, I need a second jpackage-specific review before integrating the change. I can change non-EN |
@naotoj , I suspect missing entries in l10n files will cause code depending on them to fail when executed in non-English locales until the next l10n drop corrects missing entries. |
Thanks, @alexeysemenyukoracle , I was under the impression of falling back to the English resource if l10n was not available. If it is not falling back to English, please bring those non-English resources back. |
Thanks for clarification! I've updated the patch adding English entries to all |
I've verified that there is no fallback to EN for |
/integrate |
/sponsor |
Going to push as commit e4925a3.
Your commit was automatically rebased without conflicts. |
@alexeysemenyukoracle @akashche Pushed as commit e4925a3. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
This change adds
ContextMenuCommandLabel
l10n property for file association context menu label. It is a follow-up to this PR comment.Note, non-EN l10n values were filled using auto-translator and may need to be corrected.
To check the contents of the label, registry query is added to
PackageTest::addHelloAppFileAssociationsVerifier
.Testing:
FileAssociationsTest
withinstall
enabledProgress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk pull/9753/head:pull/9753
$ git checkout pull/9753
Update a local copy of the PR:
$ git checkout pull/9753
$ git pull https://git.openjdk.org/jdk pull/9753/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 9753
View PR using the GUI difftool:
$ git pr show -t 9753
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/9753.diff