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

typo in translation of var highestlevel status for categories #266

Open
MirMiz opened this issue Apr 20, 2023 · 2 comments
Open

typo in translation of var highestlevel status for categories #266

MirMiz opened this issue Apr 20, 2023 · 2 comments
Labels

Comments

@MirMiz
Copy link
Contributor

MirMiz commented Apr 20, 2023

Describe the bug
the highestlevel status of a category on the index site does not respect translations in case of "disrupted". it always shows the string "disrupted" - independet of the defined wording in i18.

Reproduction steps
create an incident with severity "disrupted" and change the wording in i18n.

Expected behavior
see the wording

Additional context
There is a typo in themes/cstate/partials/index/components.html, line 134
if (highlestLevelStatus === 'dsirupted') { highlestLevelStatusReadable = '{{ T "thisIsDisrupted" }}' }
"disrupted" is mispelled. therefore the translation won't be applied.

please fix :)

@mistermantas
Copy link
Member

If you have the time, you can make a PR and I'll push it faster.

@MirMiz
Copy link
Contributor Author

MirMiz commented Apr 20, 2023

This typo seems to be fixed in #246 . However the fixing commit is not available, when you clone the example.git (following the instructions on the Main README).
git clone --recursive -b master https://github.com/cstate/example.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants