-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
Copy pathAppConstants.swift
47 lines (40 loc) · 2.26 KB
/
AppConstants.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import Foundation
import WordPressKit
/// - Warning:
/// This configuration class has a **WordPress** counterpart in the WordPress bundle.
/// Make sure to keep them in sync to avoid build errors when building the WordPress target.
@objc class AppConstants: NSObject {
static let itunesAppID = "1565481562"
static let productTwitterHandle = "@jetpack"
static let productTwitterURL = "https://twitter.com/jetpack"
static let productBlogURL = "https://jetpack.com/blog"
static let productBlogDisplayURL = "jetpack.com/blog"
static let zendeskSourcePlatform = "mobile_-_jp_ios"
static let shareAppName: ShareAppName = .jetpack
static let mobileAnnounceAppId = "6"
@objc static let eventNamePrefix = "jpios"
@objc static let explatPlatform = "wpios"
@objc static let authKeychainServiceName = "jetpack.public-api.wordpress.com"
}
// MARK: - Localized Strings
extension AppConstants {
struct AboutScreen {
static let blogName = NSLocalizedString("Blog", comment: "Title of a button that displays the WordPress.com blog")
static let workWithUs = NSLocalizedString("Work With Us", comment: "Title of button that displays the Automattic Work With Us web page")
static let workWithUsURL = "https://automattic.com/work-with-us"
}
struct AppRatings {
static let prompt = NSLocalizedString("appRatings.jetpack.prompt", value: "What do you think about Jetpack?", comment: "This is the string we display when prompting the user to review the Jetpack app")
}
struct Settings {
static let aboutTitle = NSLocalizedString("About Jetpack for iOS", comment: "Link to About screen for Jetpack for iOS")
static let shareButtonTitle = NSLocalizedString("Share Jetpack with a friend", comment: "Title for a button that recommends the app to others")
static let whatIsNewTitle = NSLocalizedString("What's New in Jetpack", comment: "Opens the What's New / Feature Announcement modal")
}
struct Logout {
static let alertTitle = NSLocalizedString("Log out of Jetpack?", comment: "LogOut confirmation text, whenever there are no local changes")
}
struct Zendesk {
static let ticketSubject = NSLocalizedString("Jetpack for iOS Support", comment: "Subject of new Zendesk ticket.")
}
}