summaryrefslogtreecommitdiff
path: root/config/locales
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@gitlab.com>2017-06-12 10:16:18 +0200
committerBob Van Landuyt <bob@gitlab.com>2017-06-15 14:47:05 +0200
commit0c04a890db17f3e23e17ace5221836e6f748fc7e (patch)
tree9b902ad7183807285c4f7ffc4d261d93f33cef43 /config/locales
parent7d024a1db37b0632df88f91ed1e4115e8cef951d (diff)
downloadgitlab-ce-0c04a890db17f3e23e17ace5221836e6f748fc7e.tar.gz
Re-add time_ago_in_words
Diffstat (limited to 'config/locales')
-rw-r--r--config/locales/en.yml35
1 files changed, 35 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 6f23ca353e3..77d59c5d77a 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -60,6 +60,41 @@ en:
- :month
- :day
datetime:
+ time_ago_in_words:
+ half_a_minute: "half a minute ago"
+ less_than_x_seconds:
+ one: "less than 1 second ago"
+ other: "less than %{count} seconds ago"
+ x_seconds:
+ one: "1 second ago"
+ other: "%{count} seconds ago"
+ less_than_x_minutes:
+ one: "less than a minute ago"
+ other: "less than %{count} minutes ago"
+ x_minutes:
+ one: "1 minute ago"
+ other: "%{count} minutes ago"
+ about_x_hours:
+ one: "about 1 hour ago"
+ other: "about %{count} hours ago"
+ x_days:
+ one: "1 day ago"
+ other: "%{count} days ago"
+ about_x_months:
+ one: "about 1 month ago"
+ other: "about %{count} months ago"
+ x_months:
+ one: "1 month ago"
+ other: "%{count} months ago"
+ about_x_years:
+ one: "about 1 year ago"
+ other: "about %{count} years ago"
+ over_x_years:
+ one: "over 1 year ago"
+ other: "over %{count} years ago"
+ almost_x_years:
+ one: "almost 1 year ago"
+ other: "almost %{count} years ago"
distance_in_words:
about_x_hours:
one: about 1 hour