mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
i18n: Add missed strings.
This commit is contained in:
committed by
Tim Abbott
parent
58880b6695
commit
2f5addc174
@@ -24,9 +24,9 @@ exports.render_now = function (time) {
|
||||
var days_old = Math.round(start_of_other_day.diffDays(start_of_today));
|
||||
|
||||
if (days_old === 0) {
|
||||
return ["Today", true];
|
||||
return [i18n.t("Today"), true];
|
||||
} else if (days_old === 1) {
|
||||
return ["Yesterday", true];
|
||||
return [i18n.t("Yesterday"), true];
|
||||
} else if (days_old >= 365) {
|
||||
// For long running servers, searching backlog can get ambiguous
|
||||
// without a year stamp. Only show year if message is over a year old.
|
||||
|
||||
Reference in New Issue
Block a user