fix(i18n): fix translation override issue - #4165
Conversation
|
The image is available at: |
|
/retest |
|
/cherry-pick release-1.9 |
|
@christoph-jerolimov: once the present PR merges, I will cherry-pick it on top of DetailsIn 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-sigs/prow repository. |
|
/retest |
3 similar comments
|
/retest |
|
/retest |
|
/retest |
|
The image is available at: |
Signed-off-by: Yi Cai <yicai@redhat.com>
Signed-off-by: Yi Cai <yicai@redhat.com>
7a24830 to
fa038a0
Compare
|
The image is available at: |
This reverts commit fa038a0.
|
The image is available at: |
Signed-off-by: Yi Cai <yicai@redhat.com>
|
The image is available at: |
|
Addressed two issues in main, let see /retest |
Signed-off-by: Yi Cai <yicai@redhat.com>
|
The image is available at: |
|
/retest |
1 similar comment
|
/retest |
| <Route | ||
| path="/create" | ||
| element={ | ||
| <ScaffolderPage headerOptions={{ title: 'Self-service' }} /> |
There was a problem hiding this comment.
This PR adds 'templateListPage.title' translation string, and it needs to be updated in the all-v1.8_s3281-en.json test file as well.
Update Create a new component to Self-service in the /test directory here -
https://github.com/redhat-developer/rhdh/blob/main/translations/test/all-v1.8_s3281-en.json#L969
|
/retest |
|
The image is available at: |
| "catalog": { | ||
| "fr": { | ||
| "indexPage.createButtonTitle": "Self-service" | ||
| } | ||
| }, | ||
| "catalog-import": { | ||
| "fr": { | ||
| "defaultImportPage.headerTitle": "Importer un dépôt Git existant", | ||
| "importInfoCard.title": "Importer un dépôt Git existant" | ||
| } | ||
| }, | ||
| "scaffolder": { | ||
| "fr": { | ||
| "templateListPage.title": "Self-service", | ||
| "templateListPage.pageTitle": "Self-service", | ||
| "templateWizardPage.title": "Self-service", | ||
| "templateWizardPage.pageTitle": "Self-service", | ||
| "templateListPage.contentHeader.registerExistingButtonTitle": "Importer un dépôt Git existant" | ||
| } | ||
| }, |
There was a problem hiding this comment.
Can we move these to backstage-fr.json? The keys are already there and can be updated. Same with the other 2 files.
| "catalog": { | ||
| "it": { | ||
| "indexPage.createButtonTitle": "Self-service" | ||
| } | ||
| }, | ||
| "catalog-import": { | ||
| "it": { | ||
| "defaultImportPage.headerTitle": "Importa un repository Git esistente", | ||
| "importInfoCard.title": "Importa un repository Git esistente" | ||
| } | ||
| }, | ||
| "scaffolder": { | ||
| "it": { | ||
| "templateListPage.title": "Self-service", | ||
| "templateListPage.pageTitle": "Self-service", | ||
| "templateWizardPage.title": "Self-service", | ||
| "templateWizardPage.pageTitle": "Self-service", | ||
| "templateListPage.contentHeader.registerExistingButtonTitle": "Importa un repository Git esistente" | ||
| } | ||
| }, |
There was a problem hiding this comment.
Can we move these to backstage-it.json?
| "catalog": { | ||
| "ja": { | ||
| "indexPage.createButtonTitle": "セルフサービス" | ||
| } | ||
| }, | ||
| "catalog-import": { | ||
| "ja": { | ||
| "defaultImportPage.headerTitle": "既存の Git リポジトリーのインポート", | ||
| "importInfoCard.title": "既存の Git リポジトリーのインポート" | ||
| } | ||
| }, | ||
| "scaffolder": { | ||
| "ja": { | ||
| "templateListPage.title": "セルフサービス", | ||
| "templateListPage.pageTitle": "セルフサービス", | ||
| "templateWizardPage.title": "セルフサービス", | ||
| "templateWizardPage.pageTitle": "セルフサービス", | ||
| "templateListPage.contentHeader.registerExistingButtonTitle": "既存の Git リポジトリーのインポート" | ||
| } | ||
| }, |
There was a problem hiding this comment.
Can we move these to backstage-ja.json?
There was a problem hiding this comment.
Hi @teknaS47 @karthikjeeyar , thanks for taking care of this PR. The reason they are in rhdh-<locale>.json is they are override values specific from RHDH. The values in backstage-<locale>.json are translations for references collected from backstage repo. Why we have to move these values into backstage-<locale>.json files?
|
The image is available at: |
|
|
The image is available at: |
|
/retest |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christoph-jerolimov, karthikjeeyar, rohitkrai03 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
a46d1e5
into
redhat-developer:main
|
@christoph-jerolimov: #4165 failed to apply on top of branch "release-1.9": DetailsIn 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-sigs/prow repository. |






Description
Which issue(s) does this PR fix
PR acceptance criteria
Please make sure that the following steps are complete:
How to test changes / Special notes to the reviewer
Before:

After:

Verified on a cluster:
