-
Notifications
You must be signed in to change notification settings - Fork 52
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
CONSOLE-3654: console-plugin-template repository should support localization #47
Conversation
…into i18n hook, generated locale files Missed support for generation of locales
@Mylanos: This pull request references CONSOLE-3654 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/retest-required |
/retest |
/retest |
1 similar comment
/retest |
…that gets called with the title text instead of static string before changes. Changed the name of the locale file so that it follows plugin__<name-of-the-plugin> convention. Added a test-frontend.sh script that checks if the strings in the plugin have been localized using i18n.
…to the build directory, reverted should(include.text) to original should(contain) in the example-page-cy.ts test as it didnt cause any problems in the end
{Operator unavailable (null): operator is not reporting conditions Operator unavailable (null): operator is not reporting conditions} { openshift cluster install failed with cluster creation} { openshift cluster install failed overall} |
/retest |
/retest |
…es the i18n namespace
…the version used in other repositories
…e-plugin-template repository
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.
One small nit, otherwise good to go 👍
README.md
Outdated
``` | ||
|
||
NOTE: When deploying on OpenShift 4.10, it is recommended to add the parameter `--set plugin.securityContext.enabled=false` which will omit configurations related to Pod Security. | ||
|
||
NOTE: Please adhere to the specified namespace format `plugin__<name-of-the-plugin>` when defining namespaces. The name of the plugin should be extracted from the `consolePlugin` declaration within the [package.json](package.json) 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.
NOTE: Please adhere to the specified namespace format `plugin__<name-of-the-plugin>` when defining namespaces. The name of the plugin should be extracted from the `consolePlugin` declaration within the [package.json](package.json) file. | |
NOTE: When defining i18n namespace, adhere `plugin__<name-of-the-plugin>` format. The name of the plugin should be extracted from the `consolePlugin` declaration within the [package.json](package.json) file. |
@Mylanos: all tests passed! Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed 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.
/lgtm
/approve
QE Approver: Docs Approver: PX Approver: |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: jhadvig, Mylanos The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/label px-approved |
/label docs-approved |
I run the plugin using a local development environment by: |
I'm sorry but I'm not sure if I understand correctly, could you please clarify the question? |
@Mylanos I mean except the check in above screenshot , if there are any other checkpoints I need to test for the feature from the pr code. |
That's pretty much it, other than that the features that this PR brings is the locale/translations files and contents get automatically generated from source codes via |
@Mylanos Thanks. I tried to remove file: |
@yanpzhan: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/label qe-approved |
Links to: https://issues.redhat.com/browse/CONSOLE-3654
Adds possibility to generate locales in the console-plugin-template repo.