From 27eeabafe096013f1d0d368a65fe71ef230eab50 Mon Sep 17 00:00:00 2001 From: nickago Date: Wed, 1 Jul 2015 09:48:39 -0700 Subject: Facelifted "direct message" to "private message" --- api/post.go | 2 +- web/react/components/more_direct_channels.jsx | 2 +- web/react/components/post_list.jsx | 4 ++-- web/react/components/search_results.jsx | 2 +- web/react/components/sidebar.jsx | 2 +- web/react/components/user_settings.jsx | 6 +++--- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/api/post.go b/api/post.go index 2d812e8de..650f47062 100644 --- a/api/post.go +++ b/api/post.go @@ -227,7 +227,7 @@ func fireAndForgetNotifications(post *model.Post, teamId, teamUrl string) { channel = result.Data.(*model.Channel) if channel.Type == model.CHANNEL_DIRECT { bodyText = "You have one new message." - subjectText = "New Direct Message" + subjectText = "New Private Message" } else { bodyText = "You have one new mention." subjectText = "New Mention" diff --git a/web/react/components/more_direct_channels.jsx b/web/react/components/more_direct_channels.jsx index 2785dc8e0..182d8884d 100644 --- a/web/react/components/more_direct_channels.jsx +++ b/web/react/components/more_direct_channels.jsx @@ -49,7 +49,7 @@ module.exports = React.createClass({ Close -

More Direct Messages

+

More Private Messages

); } else { more_messages = (
-

{"This is the start of your direct message history with this " + strings.Team + "mate. Direct messages and files shared here are not shown to people outside this area."}

+

{"This is the start of your private message history with this " + strings.Team + "mate. Private messages and files shared here are not shown to people outside this area."}

); } diff --git a/web/react/components/search_results.jsx b/web/react/components/search_results.jsx index 51aefd3b8..f0ed788b4 100644 --- a/web/react/components/search_results.jsx +++ b/web/react/components/search_results.jsx @@ -73,7 +73,7 @@ SearchItem = React.createClass({ if (channel) { if (channel.type === 'D') { - channelName = "Direct Message"; + channelName = "Private Message"; } else { channelName = channel.display_name; } diff --git a/web/react/components/sidebar.jsx b/web/react/components/sidebar.jsx index 10017c7ee..b5598e23a 100644 --- a/web/react/components/sidebar.jsx +++ b/web/react/components/sidebar.jsx @@ -414,7 +414,7 @@ var SidebarLoggedIn = React.createClass({ {privateChannelItems}