FIX: raw translation string in user status tooltip (#18170)

This commit is contained in:
Andrei Prigorshnev 2022-09-02 23:57:17 +04:00 committed by GitHub
parent 801a284968
commit 54b8500881
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,7 +10,7 @@ export default createWidget("user-status-bubble", {
const until = moment
.tz(attrs.ends_at, this.currentUser.timezone)
.format(I18n.t("dates.long_date_without_year"));
title += `\n${I18n.t("user_status.until")} ${until}`;
title += `\n${I18n.t("until")} ${until}`;
}
return this.attach("emoji", { name: attrs.emoji, title });