[l10n] force no-c-format for "sent at ..." message

"Sent at %X on %A" was incorrectly marked as c-format in PO files;
forcing the no-c-format to allow custom format in translations.
This commit is contained in:
Luca Ferretti 2010-12-13 23:07:37 +01:00
parent 7653cf6ad0
commit 26f395bb84

View File

@ -660,6 +660,7 @@ Notification.prototype = {
/* Translators: this is a time format string followed by a date.
If applicable, replace %X with a strftime format valid for your
locale, without seconds. */
// xgettext:no-c-format
let timeLabel = this.addBody(lastMessageDate.toLocaleFormat(_("Sent at %X on %A")), false, { expand: true, x_fill: false, x_align: St.Align.END });
timeLabel.add_style_class_name('chat-meta-message');
this._history.unshift({ actor: timeLabel, time: lastMessageTime, realMessage: false });