Skip to content
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

Issue with translations #30

Closed
jasr1 opened this issue Apr 29, 2020 · 2 comments · Fixed by #33
Closed

Issue with translations #30

jasr1 opened this issue Apr 29, 2020 · 2 comments · Fixed by #33
Labels
bug Something isn't working

Comments

@jasr1
Copy link

jasr1 commented Apr 29, 2020

I updated to 0.109 and in this card the states are not showing up properly formatted. I think this is because of a new update in the way translations are dealt with in 0.109.

I have attached an image to this post. As you can see, instead of showing up as "Partly cloudy", it shows "partlycloudy".

Screen Shot 2020-04-29 at 1 53 02 PM

@ronaldheft
Copy link

Also seeing this issue since 0.109.

@kalkih kalkih added the bug Something isn't working label May 7, 2020
@jackwilsdon
Copy link

jackwilsdon commented May 11, 2020

We should be using the translations from component.weather.state._, as these provide a mapping from state to name (i.e. component.weather.state._.partlycloudy -> Partly cloudy).

@kalkih kalkih linked a pull request May 11, 2020 that will close this issue
kalkih added a commit that referenced this issue May 11, 2020
@kalkih kalkih closed this as completed May 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants