You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: WordPress/Classes/ViewRelated/Blog/Onboarding Questions Prompt/OnboardingEnableNotificationsViewController.swift
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,8 @@ class OnboardingEnableNotificationsViewController: UIViewController {
4
4
@IBOutlet weak vartitleLabel:UILabel!
5
5
@IBOutlet weak varsubTitleLabel:UILabel!
6
6
@IBOutlet weak vardetailView:UIView!
7
+
@IBOutlet weak varenableButton:UIButton!
8
+
@IBOutlet weak varcancelButton:UIButton!
7
9
8
10
letoption:OnboardingOption
9
11
letcoordinator:OnboardingQuestionsCoordinator
@@ -26,6 +28,7 @@ class OnboardingEnableNotificationsViewController: UIViewController {
staticlettitle=NSLocalizedString("Enable Notifications?", comment:"Title of the view, asking the user if they want to enable notifications.")
139
+
staticletenableButton=NSLocalizedString("Enable Notifications", comment:"Title of button that enables push notifications when tapped")
140
+
staticletcancelButton=NSLocalizedString("Not Now", comment:"Title of a button that cancels enabling notifications when tapped")
141
+
}
142
+
128
143
privatestructStatsStrings{
129
144
staticletsubTitle=NSLocalizedString("Know when your site is getting more traffic, new followers, or when it passes a new milestone!", comment:"Subtitle giving the user more context about why to enable notifications.")
Copy file name to clipboardExpand all lines: WordPress/Classes/ViewRelated/Blog/Onboarding Questions Prompt/OnboardingEnableNotificationsViewController.xib
0 commit comments