@@ -143,18 +143,29 @@ class GrowAudienceCell: UITableViewCell, NibLoadable {
143143
144144 private enum Strings {
145145
146- static let viewsCountDescriptionSingular =
147- NSLocalizedString ( " View to your site so far " , comment: " Description for view count. Singular. " )
148-
149- static let viewsCountDescriptionPlural =
150- NSLocalizedString ( " Views to your site so far " , comment: " Description for view count. Singular. " )
151-
152- static let tipTitle =
153- NSLocalizedString ( " A tip to grow your audience " ,
154- comment: " A hint to users about growing the audience for their site, when their site doesn't have many views yet. " )
155-
156- static let dismissButtonTitle =
157- NSLocalizedString ( " Dismiss " , comment: " Title for button that will dismiss the Grow Your Audience card. " )
146+ static let viewsCountDescriptionSingular = NSLocalizedString (
147+ " growAudienceCell.viewsCount.singular " ,
148+ value: " View to your site so far " ,
149+ comment: " Description for view count. Singular. "
150+ )
151+
152+ static let viewsCountDescriptionPlural = NSLocalizedString (
153+ " growAudienceCell.viewsCount.plural " ,
154+ value: " Views to your site so far " ,
155+ comment: " Description for view count. Singular. "
156+ )
157+
158+ static let tipTitle = NSLocalizedString (
159+ " growAudienceCell.tip " ,
160+ value: " A tip to grow your audience " ,
161+ comment: " A hint to users about growing the audience for their site, when their site doesn't have many views yet. "
162+ )
163+
164+ static let dismissButtonTitle = NSLocalizedString (
165+ " growAudienceCell.dismiss " ,
166+ value: " Dismiss " ,
167+ comment: " Title for button that will dismiss the Grow Your Audience card. "
168+ )
158169
159170 static func getViewsCountDescription( viewsCount: Int ) -> String {
160171 return viewsCount == 1 ? viewsCountDescriptionSingular : viewsCountDescriptionPlural
@@ -166,63 +177,99 @@ class GrowAudienceCell: UITableViewCell, NibLoadable {
166177 }
167178
168179 enum Social {
169- static let detailsTitle =
170- NSLocalizedString ( " Automatically share new posts to your social media to start bringing that audience over to your site. " ,
171- comment: " A detailed message to users about growing the audience for their site through enabling post sharing. " )
172-
173- static let actionButtonTitle =
174- NSLocalizedString ( " Enable post sharing " , comment: " Title for button that will open up the social media Sharing screen. " )
175-
176- static let completedTipTitle =
177- NSLocalizedString ( " Sharing is set up! " ,
178- comment: " A hint to users that they've set up post sharing. " )
179-
180- static let completedDetailsTitle =
181- NSLocalizedString ( " When you publish your next post it will be automatically shared to your connected networks. " ,
182- comment: " A detailed message to users indicating that they've set up post sharing. " )
183-
184- static let completedActionButtonTitle =
185- NSLocalizedString ( " Connect more networks " , comment: " Title for button that will open up the social media Sharing screen. " )
180+ static let detailsTitle = NSLocalizedString (
181+ " growAudienceCell.social.title " ,
182+ value: " Automatically share new posts to your social media to start bringing that audience over to your site. " ,
183+ comment: " A detailed message to users about growing the audience for their site through enabling post sharing. "
184+ )
185+
186+ static let actionButtonTitle = NSLocalizedString (
187+ " growAudienceCell.social.actionButton " ,
188+ value: " Enable post sharing " ,
189+ comment: " Title for button that will open up the social media Sharing screen. "
190+ )
191+
192+ static let completedTipTitle = NSLocalizedString (
193+ " growAudienceCell.social.completed.title " ,
194+ value: " Sharing is set up! " ,
195+ comment: " A hint to users that they've set up post sharing. "
196+ )
197+
198+ static let completedDetailsTitle = NSLocalizedString (
199+ " growAudienceCell.social.completed.details " ,
200+ value: " When you publish your next post it will be automatically shared to your connected networks. " ,
201+ comment: " A detailed message to users indicating that they've set up post sharing. "
202+ )
203+
204+ static let completedActionButtonTitle = NSLocalizedString (
205+ " growAudienceCell.social.completed.button " ,
206+ value: " Connect more networks " ,
207+ comment: " Title for button that will open up the social media Sharing screen. "
208+ )
186209 }
187210
188211 enum BloggingReminders {
189- static let detailsTitle =
190- NSLocalizedString ( " Posting regularly can help build an audience. Reminders help keep you on track. " ,
191- comment: " A detailed message to users about growing the audience for their site through blogging reminders. " )
192-
193- static let actionButtonTitle =
194- NSLocalizedString ( " Set up blogging reminders " , comment: " Title for button that will open up the blogging reminders screen. " )
195-
196- static let completedTipTitle =
197- NSLocalizedString ( " You set up blogging reminders " ,
198- comment: " A hint to users that they've set up blogging reminders. " )
199-
200- static let completedDetailsTitle =
201- NSLocalizedString ( " Keep blogging and check back to see visitors arriving at your site. " ,
202- comment: " A detailed message to users indicating that they've set up blogging reminders. " )
203-
204- static let completedActionButtonTitle =
205- NSLocalizedString ( " Edit reminders " , comment: " Title for button that will open up the blogging reminders screen. " )
212+ static let detailsTitle = NSLocalizedString (
213+ " growAudienceCell.bloggingReminders.details " ,
214+ value: " Posting regularly can help build an audience. Reminders help keep you on track. " ,
215+ comment: " A detailed message to users about growing the audience for their site through blogging reminders. "
216+ )
217+
218+ static let actionButtonTitle = NSLocalizedString (
219+ " growAudienceCell.bloggingReminders.actionButton " ,
220+ value: " Set up blogging reminders " ,
221+ comment: " Title for button that will open up the blogging reminders screen. "
222+ )
223+
224+ static let completedTipTitle = NSLocalizedString (
225+ " growAudienceCell.bloggingReminders.completed.tip " ,
226+ value: " You set up blogging reminders " ,
227+ comment: " A hint to users that they've set up blogging reminders. "
228+ )
229+
230+ static let completedDetailsTitle = NSLocalizedString (
231+ " growAudienceCell.bloggingReminders.completed.details " ,
232+ value: " Keep blogging and check back to see visitors arriving at your site. " ,
233+ comment: " A detailed message to users indicating that they've set up blogging reminders. "
234+ )
235+
236+ static let completedActionButtonTitle = NSLocalizedString (
237+ " growAudienceCell.bloggingReminders.completed.actionButton " ,
238+ value: " Edit reminders " ,
239+ comment: " Title for button that will open up the blogging reminders screen. "
240+ )
206241 }
207242
208243 enum ReaderDiscover {
209- static let detailsTitle =
210- NSLocalizedString ( " Connect with other bloggers by following, liking and commenting on their posts. " ,
211- comment: " A detailed message to users about growing the audience for their site through reader discover. " )
212-
213- static let actionButtonTitle =
214- NSLocalizedString ( " Discover blogs to follow " , comment: " Title for button that will open up the follow topics screen. " )
215-
216- static let completedTipTitle =
217- NSLocalizedString ( " You've connected with other blogs " ,
218- comment: " A hint to users that they've set up reader discover. " )
219-
220- static let completedDetailsTitle =
221- NSLocalizedString ( " Keep going! Liking and commenting is a good way to build a network. Go to Reader to find more posts. " ,
222- comment: " A detailed message to users indicating that they've set up reader discover. " )
223-
224- static let completedActionButtonTitle =
225- NSLocalizedString ( " Do it again " , comment: " Title for button that will open up the follow topics screen. " )
244+ static let detailsTitle = NSLocalizedString (
245+ " growAudienceCell.readerDiscover.details " ,
246+ value: " Connect with other bloggers by following, liking and commenting on their posts. " ,
247+ comment: " A detailed message to users about growing the audience for their site through reader discover. "
248+ )
249+
250+ static let actionButtonTitle = NSLocalizedString (
251+ " growAudienceCell.readerDiscover.actionButton " ,
252+ value: " Discover blogs to follow " ,
253+ comment: " Title for button that will open up the follow topics screen. "
254+ )
255+
256+ static let completedTipTitle = NSLocalizedString (
257+ " growAudienceCell.readerDiscover.completed.tip " ,
258+ value: " You've connected with other blogs " ,
259+ comment: " A hint to users that they've set up reader discover. "
260+ )
261+
262+ static let completedDetailsTitle = NSLocalizedString (
263+ " growAudienceCell.readerDiscover.completed.details " ,
264+ value: " Keep going! Liking and commenting is a good way to build a network. Go to Reader to find more posts. " ,
265+ comment: " A detailed message to users indicating that they've set up reader discover. "
266+ )
267+
268+ static let completedActionButtonTitle = NSLocalizedString (
269+ " growAudienceCell.readerDiscover.completed.action " ,
270+ value: " Do it again " ,
271+ comment: " Title for button that will open up the follow topics screen. "
272+ )
226273 }
227274 }
228275
0 commit comments