'localTimeAgo()' returns wrong i18n string for 'hours'
Summary
The localTimeAgo()
function in JS returns wrong i18n strings for the hours
.
Steps to reproduce
Just set the Language preference in the settings to a language other than English, such as 'Chinese' or 'Spanish', then have a look at the Issues/Merge Requests/Todos page, https://gitlab.com/gitlab-org/gitlab-ce/merge_requests, refresh the page if it's needed.
What is the current bug behavior?
Here is the English version of the merge request page:
Here is the Chinese version of the merge request page:
What is the expected correct behavior?
年
means year
, which should be 小时
- hours
It's latest version of Gitlab, GitLab Enterprise Edition 11.0.0-rc12-ee 17323d98