-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Plural of "days" under EMS Status not working for Swedish #874
Comments
I think this is because the pl base have no fixed part: |
Thanks Michael, I'm not sure I understand the syntax but I used the EN one as reference... |
I think it's something else that is causing this. And it only happens in the Bus Status and only for SE. It renders correctly in the Dashboard for the "* burner operating time". |
For many days like in "burner operating time" the SE also renders correctly. And for minutes, hours also all languages work and PL defines cases for 1, 2, few, many, other languages only single/many. The only difference i see is that days are not defined as fixedpart/suffix, but use cases for each plural. My emsesp rarly reaches 2 days uptime without updating. Difficult to check. |
yeah, this is a weird one and related to how the page is rendered are the variables loaded. I have a workaround which I'll push shortly. |
I found the problem after tracing it down to internal JS library |
Nice work. Translations finally look really good too. The only missing piece is #872. |
Bug description
It seems plural for "days" for EMS Status is not working for Swedish but works for other languages.
Day Singular = Dag
Day Plural = Dagar
In index.ts
NUM_DAYS: '{num} dag{{ar}}',
Screenshot where it should say "dagar" and not "dag"
Version: v3.5.0-dev.14
The text was updated successfully, but these errors were encountered: