-
Notifications
You must be signed in to change notification settings - Fork 119
Closed
Labels
Description
The timeago.js file currently only exists in the lib/assets/javascripts/locale/en_GB directory and contains a lot of hard-coded strings that are not being handled properly for other locales.
There may be ways to handle it by adding a translated version to the other language directories in lib/assets/javascripts/locale and then updating lib/assets/javascripts/utils/timeagoFactory.js to grab the current locale and import the appropriate file.
A more convenient approach though might be to place those hardcoded strings into the views/layouts/application.html.erb JSON section that gets fed into lib/assets/javascripts/constants.js so that they're picked up and added to the app.pot file and handled like our other translations.
Reactions are currently unavailable