inveniosoftware / react-invenio-deposit

React application for Invenio deposit forms.
https://react-invenio-deposit.readthedocs.io
MIT License
3 stars 46 forks source link

i18n: Improvement of string marked for translation needed #524

Open chriz-uniba opened 2 years ago

chriz-uniba commented 2 years ago

The following string isn't marked nicely for translation:

https://github.com/inveniosoftware/react-invenio-deposit/blob/de12453ea2121c69b9cd629e46f11fbfdb7725bd/src/lib/components/FileUploader/FileUploader.js#L109-L115

See https://github.com/inveniosoftware/invenio-app-rdm/issues/1718 for further explanation and solutions.

Subissue of https://github.com/inveniosoftware/invenio-app-rdm/issues/1707

chriz-uniba commented 2 years ago

It looks like the humanReadableBytes aren't localised (meaning that in the German translation it says 0 bytes instead of 0 Bytes) --- is there a way to localise this?

image