-
Notifications
You must be signed in to change notification settings - Fork 186
[help_editor] Translate help editor module #10009
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
base: main
Are you sure you want to change the base?
Conversation
id="save-help" | ||
name="fire_away" | ||
value="Save" | ||
value={t('Save', {ns: 'help_editor'})} |
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.
Not sure if this exists in the loris namespace but it probably should. I'd be surprised if this was the only place we said "Save"
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's not there.. but agree, this should be in loris.po
// XXX: Replace this with a UI component for 500 errors. | ||
if (this.state.error) { | ||
return <h3>An error occured while loading the page.</h3>; | ||
return <h3>{t('An error occured while loading the page.', |
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.
loris namespace
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.
please point to the correct namespace @SKADE2303
This PR is responsible for translating the module help_editor to different languages. Currently only 'Hindi' language is supported but other languages can be added as required.
Testing instructions (if applicable)