Merge pull request #7156 from jibees/5679-add-i18n-keys-for-distance_of_time_in_words_to_now-method

Add keys to handle some i18n issues
This commit is contained in:
Andy Brett
2021-03-25 12:43:09 -07:00
committed by GitHub

View File

@@ -3806,3 +3806,42 @@ See the %{link} to find out more about %{sitename}'s features and to start using
spree/payment:
one: Payment
other: Payments
datetime:
distance_in_words:
about_x_hours:
one: about 1 hour
other: about %{count} hours
about_x_months:
one: about 1 month
other: about %{count} months
about_x_years:
one: about 1 year
other: about %{count} years
almost_x_years:
one: almost 1 year
other: almost %{count} years
half_a_minute: half a minute
less_than_x_seconds:
one: less than 1 second
other: less than %{count} seconds
less_than_x_minutes:
one: less than a minute
other: less than %{count} minutes
over_x_years:
one: over 1 year
other: over %{count} years
x_seconds:
one: 1 second
other: "%{count} seconds"
x_minutes:
one: 1 minute
other: "%{count} minutes"
x_days:
one: 1 day
other: "%{count} days"
x_months:
one: 1 month
other: "%{count} months"
x_years:
one: 1 year
other: "%{count} years"