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

Do not translate technical errors #2145

Merged
merged 2 commits into from
Apr 24, 2024
Merged

Do not translate technical errors #2145

merged 2 commits into from
Apr 24, 2024

Conversation

nikku
Copy link
Member

@nikku nikku commented Apr 22, 2024

This PR proposes a change in how we handle technical errors: These are no longer translated, both during modeling and during import.

Due to the nature of technical errors it makes little sense to localize them. If I need help on how to fix a particular technical issue, then I want to search for these errors as is.

Closes https://github.com/bpmn-io/internal-docs/issues/937

Related to #2137

@bpmn-io-tasks bpmn-io-tasks bot added the in progress Currently worked on label Apr 22, 2024
@nikku nikku marked this pull request as draft April 22, 2024 10:18
nikku added 2 commits April 23, 2024 12:03
These errors are non-user facing.

You shall be able to find them in public knowledge bases _as is_.
These are technical errors that shall be searchable in
public knowledge bases _as is_.
@nikku nikku force-pushed the 937-error-messages branch from 7708bf8 to 9f67018 Compare April 23, 2024 10:22
@nikku nikku changed the title wip: do not translate technical (user invisible) errors Do not translate technical errors Apr 23, 2024
@nikku nikku marked this pull request as ready for review April 23, 2024 10:24
@bpmn-io-tasks bpmn-io-tasks bot added needs review Review pending and removed in progress Currently worked on labels Apr 23, 2024
@nikku nikku merged commit ea9318b into develop Apr 24, 2024
11 of 12 checks passed
@nikku nikku deleted the 937-error-messages branch April 24, 2024 08:18
@bpmn-io-tasks bpmn-io-tasks bot removed the needs review Review pending label Apr 24, 2024
@@ -83,7 +80,7 @@ export default function BpmnTreeWalker(handler, translate) {
// avoid multiple rendering of elements
if (gfx) {
throw new Error(
translate('already rendered {element}', { element: elementToString(element) })
'already rendered ${ elementToString(element) }'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tagged template is missing, has been modified in this pr

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

Successfully merging this pull request may close these issues.

3 participants