2024-04-29 00:17:15 +02:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-09-06 15:04:43 +02:00
|
|
|
{
|
|
|
|
:en => {
|
|
|
|
:time => {
|
|
|
|
:formats => {
|
|
|
|
:message_date => lambda { |time, _| "%B #{time.day.ordinalize} at %H:%M" },
|
2022-10-28 15:45:04 +02:00
|
|
|
:message_date_with_year => lambda { |time, _| "%B #{time.day.ordinalize} %Y at %H:%M" },
|
|
|
|
:message_date_without_time => lambda { |_time, _| "%Y/%m/%d" }
|
2018-09-06 15:04:43 +02:00
|
|
|
}
|
2023-06-28 16:34:50 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
datetime: {
|
|
|
|
distance_in_words: {
|
|
|
|
x_weeks: {
|
|
|
|
one: "1 week",
|
|
|
|
other: "%{count} weeks"
|
|
|
|
}
|
|
|
|
}
|
2018-09-06 15:04:43 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|