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
Translator improvements #846
Translator improvements #846
Conversation
@@ -50,7 +50,7 @@ export default function ServerHTML({ body, assets, locale, title, meta }) { | |||
<link href="https://fonts.googleapis.com/css?family=Source+Serif+Pro:400,600" rel="stylesheet" type="text/css" /> | |||
{ assets.style.map((href, idx) => | |||
<link href={href} key={idx} rel="stylesheet" type="text/css" />) } | |||
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Intl.~locale.en"></script> | |||
<script src="https://cdn.polyfill.io/v2/polyfill.min.js?features=Intl.~locale.en,Intl.~locale.ru,Intl.~locale.fr,Intl.~locale.es,Intl.~locale.it"></script> |
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 find another solution for this; We will be removing all non-essential 3P javascript resources from steemit.com soon.
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.
Perhaps the polyfill script needs to be imported into our repo - that would be acceptable.
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.
No 3P javascript - find a replacement for polyfill
This is a way suggested by react-intl wiki. |
waiting for #862 to be approved |
Thanks for keeping track. :) Things are a bit slow around here due to the holidays this week but I imagine that will get merged in soon. |
It's fine, there is no rush. |
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.
@roadscape or @jcalfee please review too. It looks good to me to merge.
heya @Undeadlol1 - could you please toss a dummy commit on the tip of your branch so that CircleCI will rerun the tests so we can merge this? For some reason it got stuck. |
@sneak sure |
Oh, that's what the problem was - it wasn't set to build forks. Can you do it one more time? I have the setting set in CircleCI now. |
You can just |
ff95fff
to
c5abc77
Compare
All checks passed. Yay! |
Great news. @jcalfee @roadscape could one of you take a look, too? It looks good to me. |
lgtm |
@Undeadlol1 thank you tremendously for your help with this - i18n is something we need to be good at. We're investigating using a service to allow better community translations. Thoughts? |
@sneak my pleasure!
Do not know about external services, have no experience using them. Can you give me a link to one? |
Adds: