From 4d804c2a29ae1428d11c18c33c2405a68da155ab Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 15 Mar 2011 07:36:04 -0400 Subject: [PATCH] telepathyClient: remove alias-change messages, to unbreak string freeze https://bugzilla.gnome.org/show_bug.cgi?id=642793 --- js/ui/telepathyClient.js | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js index e7a8240a9..4634a40d3 100644 --- a/js/ui/telepathyClient.js +++ b/js/ui/telepathyClient.js @@ -490,16 +490,18 @@ Notification.prototype = { }, appendAliasChange: function(oldAlias, newAlias) { - oldAlias = GLib.markup_escape_text(oldAlias, -1); - newAlias = GLib.markup_escape_text(newAlias, -1); + // FIXME: uncomment this after 3.0 string freeze ends - /* Translators: this is the other person changing their old IM name to their new - IM name. */ - let message = '' + _("%s is now known as %s").format(oldAlias, newAlias) + ''; - let label = this.addBody(message, true); - label.add_style_class_name('chat-meta-message'); - this._history.unshift({ actor: label, time: (Date.now() / 1000), realMessage: false }); - this.update(newAlias, null, { customContent: true }); + // oldAlias = GLib.markup_escape_text(oldAlias, -1); + // newAlias = GLib.markup_escape_text(newAlias, -1); + + // /* Translators: this is the other person changing their old IM name to their new + // IM name. */ + // let message = '' + _("%s is now known as %s").format(oldAlias, newAlias) + ''; + // let label = this.addBody(message, true); + // label.add_style_class_name('chat-meta-message'); + // this._history.unshift({ actor: label, time: (Date.now() / 1000), realMessage: false }); + // this.update(newAlias, null, { customContent: true }); }, _onEntryActivated: function() {