-
Notifications
You must be signed in to change notification settings - Fork 4
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
kolibri_explore_plugin: Make various UI strings translatable #782
Conversation
This is based on #777, so that needs to be reviewed and merged before this one. Only the top commit in this PR is actually specific to |
269b073
to
d1d9e2e
Compare
Rebasing this now that #777 has landed. |
d1d9e2e
to
cb64018
Compare
Pushing to test CI. It is failing to build locally for me but I can’t work out why (and so is |
So the CI is failing, but with a different failure from what I get locally, neither of which occur on I guess I need to dig deeper. |
@pwithnall running the linter locally succeeds on my end. The CI says |
@dbnicholson maybe the changes in a06ac87 (which are very well intentioned) regressed the node version in the CI. |
Locally I’m getting the following (and am also getting it on
|
Gah! Yes,
However, since |
I might be wrong, but I think this is ekalinin/nodeenv#324, which is ultimately nodejs/build#1993. Well, a more "proper" way to fix it would be to add back the |
I’ll look at doing that now, since I’m getting absolutely nowhere with this ‘Css Minimizer’ failure. |
cb64018
to
f33396f
Compare
Looks like my local issue with ‘Css Minimizer’ was something to do with having Anyway, now I can actually test these changes. |
Note that the `supportBody` string contains inline HTML which has to be embedded in the translation, so it’s inserted into the template using `v-html`. This is a potential injection site for malicious data if anything other than developer-controlled translated strings are used there. So don’t do that. Signed-off-by: Philip Withnall <[email protected]> Fixes: #773
f33396f
to
674ceed
Compare
OK, I think this is ready for review now. The only change since last time anyone saw it was that I’ve had to use |
Merging as per approval |
Signed-off-by: Philip Withnall [email protected]
Fixes: #773