Localizes home page and refines Xitsonga strings - #175
Merged
Conversation
…-strings' into fix/xitsonga-assessment-reviewed-strings
Contributor
There was a problem hiding this comment.
Pull request overview
This PR improves localization coverage (especially Xitsonga/ts-ZA) by moving Home page UI text into resx resources and replacing placeholder translations with reviewed strings across multiple modules.
Changes:
- Localized the Home landing page welcome heading and home tile display names via new resx keys.
- Replaced placeholder
[XS]strings with Xitsonga translations in Grower Status and Enrollment Photo Consent resources. - Updated/filled in multiple Xitsonga strings in Assessment Edit resources.
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| Client/Resources/OpenEug.TenTrees.Module.Home/Index.ts-ZA.resx | Adds Xitsonga translations for the Home heading and tile names. |
| Client/Resources/OpenEug.TenTrees.Module.Home/Index.resx | Adds default (English) resources for the Home heading and tile names. |
| Client/Resources/OpenEug.TenTrees.Module.Grower/Status.ts-ZA.resx | Replaces a placeholder grower-not-found message with Xitsonga. |
| Client/Resources/OpenEug.TenTrees.Module.Enrollment/PhotoConsent.ts-ZA.resx | Replaces multiple Photo Consent placeholders with Xitsonga text. |
| Client/Resources/OpenEug.TenTrees.Module.Assessment/Edit.ts-ZA.resx | Replaces multiple Assessment Edit placeholders with Xitsonga text (noted a few minor whitespace/casing issues). |
| Client/Modules/Home/Index.razor | Uses localized resources for the Home heading and tile names; keeps navigation tiles keyboard-accessible via <a> links. |
Comment on lines
75
to
77
| <data name="Problem.LosingLeaves" xml:space="preserve"> | ||
| <value>[XS] The trees are losing their leaves</value> | ||
| <value>Mirhi yi hlanhlekela matluka.</value> | ||
| </data> |
Comment on lines
102
to
104
| <data name="Practice.Compost.Text" xml:space="preserve"> | ||
| <value>[XS] Are they making compost?</value> | ||
| <value>Xana VA endla manyoro ya swilo swa ntumbuluko?</value> | ||
| </data> |
Comment on lines
105
to
107
| <data name="Practice.CollectingWater.Text" xml:space="preserve"> | ||
| <value>[XS] Are they collecting water?</value> | ||
| <value>Xana VA hlengeleta mati?</value> | ||
| </data> |
Comment on lines
108
to
110
| <data name="Practice.LeakyTaps.Text" xml:space="preserve"> | ||
| <value>[XS] Any leaky taps visible?</value> | ||
| <value>Xana Kuna lani ku pfutaka mati?</value> | ||
| </data> |
Comment on lines
213
to
215
| <data name="Message.NoteSaveError" xml:space="preserve"> | ||
| <value>[XS] One or more notes could not be saved. Please retry.</value> | ||
| <value>Tsalwa rinwe kumbe yo tala a swi koteki ku hlayisiwa. Hi kombela u ringeta na kambe.</value> | ||
| </data> |
Comment on lines
48
to
50
| <data name="DeceasedTrees.Text" xml:space="preserve"> | ||
| <value>[XS] If any died, which ones?</value> | ||
| <value>Loko yin’wani Yi file hi yini?</value> | ||
| </data> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enhances the Xitsonga language experience by: