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



commit 26f395bb8495d3c95cf4396077d2d3f730b03948
Author: Luca Ferretti <lferrett gnome org>
Date:   Mon Dec 13 23:07:37 2010 +0100

    [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.

 js/ui/telepathyClient.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js
index 57cb78f..5b57706 100644
--- a/js/ui/telepathyClient.js
+++ b/js/ui/telepathyClient.js
@@ -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 });



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]