Tradeshift / tradeshift-ui

Tradeshift UI is a framework-agnostic JavaScript library to help Tradeshift App developers to create cohesive user experiences and to provide reusable UI components.
https://ui.tradeshift.com
Other
33 stars 44 forks source link

Time component labels are not translated #472

Closed marinalecuts closed 6 years ago

marinalecuts commented 6 years ago

Bug report

Tradeshift UI version affected

v9.2.0

Expected Behavior

data-ts="Time" components should have translated labels, e.g. 1 year ago should be translated to the user's language, as set in the User Settings.

Actual Behavior

data-ts="Time" components have English labels, regardless of the user's or the browser's language.

Steps to reproduce

Access User Settings and set a language other than English. Access an app that uses `<time data-ts="Time"..../> tag. (e.g. Collaboration conversations with messages older than 1h).

Screenshots (optional)

See Time label: pasted image at 2017_10_26 07_16 pm

wiredearp commented 6 years ago

🙈