Skip to content

Missing translation for NetworkError #6111

@Tobi-Herzog

Description

@Tobi-Herzog

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

No response

Steps to reproduce

To reproduce use the XHR plugin and a locale (we use German). Afterwards trigger a network error when uploading a file:

Image

Its not possible to translate the text of the tooltip. I guess the reason lies in the NetworkError class where the error message is not translateable at the moment https://github.com/transloadit/uppy/blob/main/packages/%40uppy/utils/src/NetworkError.ts#L1

Image

Expected behavior

The text of the network error message should be translated when using a locale.

Actual behavior

The network error message is not translated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions