From 08b32a64728927babb7b093ba988e695c37eaafd Mon Sep 17 00:00:00 2001 From: Miklos Juhasz Date: Fri, 7 Oct 2016 14:32:04 -0700 Subject: [PATCH] Add email unsubscribe description for `digest` category. (#8597) * Add email unsubscribe description for `digest` category. * Add email unsubscribe category name for `digest` category. --- client/mailing-lists/main.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/mailing-lists/main.jsx b/client/mailing-lists/main.jsx index 311da2be382d11..46cd7600ceb07a 100644 --- a/client/mailing-lists/main.jsx +++ b/client/mailing-lists/main.jsx @@ -99,6 +99,8 @@ const MainComponent = React.createClass( { return this.translate( 'Research' ); } else if ( 'community' === this.props.category ) { return this.translate( 'Community' ); + } else if ( 'digest' === this.props.category ) { + return this.translate( 'Digests' ); } return this.props.category; @@ -111,6 +113,8 @@ const MainComponent = React.createClass( { return this.translate( 'Opportunities to participate in WordPress.com research & surveys.' ); } else if ( 'community' === this.props.category ) { return this.translate( 'Information on WordPress.com courses and events (online & in-person).' ); + } else if ( 'digest' === this.props.category ) { + return this.translate( 'Reading & writing digests, tailored for you.' ); } return null;