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/People/Controllers/PersonViewController.swift
+23-68Lines changed: 23 additions & 68 deletions
Original file line number
Diff line number
Diff line change
@@ -21,18 +21,15 @@ final class PersonViewController: UITableViewController {
21
21
/// PersonViewController operation modes
22
22
///
23
23
enumScreenMode:String{
24
-
case User ="user"
25
-
case Follower ="follower"
26
-
case Viewer ="viewer"
24
+
case user ="user"
25
+
case viewer ="viewer"
27
26
28
27
vartitle:String{
29
28
switchself{
30
-
case.User:
31
-
returnNSLocalizedString("user.details.title.user", value:"Site's User", comment:"Sites's User Profile. Displayed when the name is empty!")
32
-
case.Follower:
33
-
returnNSLocalizedString("user.details.title.subscriber", value:"Site's Subscriber", comment:"Site's Subscriber Profile. Displayed when the name is empty!")
34
-
case.Viewer:
35
-
returnNSLocalizedString("user.details.title.viewer", value:"Site's Viewer", comment:"Site's Viewers Profile. Displayed when the name is empty!")
29
+
case.user:
30
+
NSLocalizedString("user.details.title.user", value:"Site's User", comment:"Sites's User Profile. Displayed when the name is empty!")
31
+
case.viewer:
32
+
NSLocalizedString("user.details.title.viewer", value:"Site's Viewer", comment:"Site's Viewers Profile. Displayed when the name is empty!")
36
33
}
37
34
}
38
35
}
@@ -53,7 +50,7 @@ final class PersonViewController: UITableViewController {
53
50
}
54
51
}
55
52
56
-
/// Mode: User / Follower / Viewer / Email Follower
lettext=NSLocalizedString("If you remove %@, that user will no longer be able to access this site, but any content that was created by %@ will remain on the site.",
247
242
comment:"First line of remove user warning in confirmation dialog. Note: '%@' is the placeholder for the user's name and it must exist twice in this string.")
messageFirstLine =NSLocalizedString("Removing followers makes them stop receiving updates from your site. If they choose to, they can still visit your site, and follow it again.",
251
-
comment:"First line of remove follower warning in confirmation dialog.")
252
-
case.Viewer:
244
+
case.viewer:
253
245
messageFirstLine =NSLocalizedString("If you remove this viewer, he or she will not be able to visit this site.",
254
246
comment:"First line of remove viewer warning in confirmation dialog.")
255
247
}
256
248
257
249
letmessageSecondLineText=NSLocalizedString("Would you still like to remove this person?",
258
-
comment:"Second line of Remove user/follower/viewer warning in confirmation dialog.")
250
+
comment:"Second line of Remove user/viewer warning in confirmation dialog.")
0 commit comments