Skip to content

Proposal for errors to have unique IDs #937

@tresf

Description

@tresf

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions