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

Proposal for errors to have unique IDs #937

Open
tresf opened this issue Mar 9, 2022 · 0 comments · May be fixed by #941
Open

Proposal for errors to have unique IDs #937

tresf opened this issue Mar 9, 2022 · 0 comments · May be fixed by #941

Comments

@tresf
Copy link
Contributor

tresf commented Mar 9, 2022

Throughout QZ's life cycle, it can throw quite a few errors to the browser.

https://github.com/qzind/tray/search?q=sendError

However, translating these to the front end (e.g. for non-English) can be tricky as it results in trial and error, or scraping the code.

Goals:

  • Using unique IDs for the errors will give translator a reliable identifier for translating.
  • It should be possible to use code to prevent an ID from being reused
  • It should be possible to procedurally generate a list of errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant