Newer
Older
public static let email = Localized.tr("Localizable", "scan.display.share.email")
/// ・・・・・・・・・・
public static let hidden = Localized.tr("Localizable", "scan.display.share.hidden")
/// Not added
public static let notAdded = Localized.tr("Localizable", "scan.display.share.notAdded")
/// PHONE NUMBER
public static let phone = Localized.tr("Localizable", "scan.display.share.phone")
/// Select what you'd like to share
public static let title = Localized.tr("Localizable", "scan.display.share.title")
}
}
public enum Error {
public static func alreadyFriends(_ p1: Any) -> String {
return Localized.tr("Localizable", "scan.error.alreadyFriends", String(describing: p1))
/// Camera needs permission to be used
public static let cameraPermissionNeeded = Localized.tr("Localizable", "scan.error.cameraPermissionNeeded")
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
/// Something’s gone wrong. Please try again.
public static let general = Localized.tr("Localizable", "scan.error.general")
/// Invalid QR code
public static let invalid = Localized.tr("Localizable", "scan.error.invalid")
/// This user is already pending in your contact list
public static let pending = Localized.tr("Localizable", "scan.error.pending")
/// You already have a request open with this contact.
public static let requested = Localized.tr("Localizable", "scan.error.requested")
}
public enum Info {
/// Personal Information shared with the QR Code. The recipient will be able to see this info on the profile on their device.
public static let subtitle = Localized.tr("Localizable", "scan.info.subtitle")
/// QR Code
public static let title = Localized.tr("Localizable", "scan.info.title")
}
public enum SegmentedControl {
/// Scan Code
public static let `left` = Localized.tr("Localizable", "scan.segmentedControl.left")
/// My Code
public static let `right` = Localized.tr("Localizable", "scan.segmentedControl.right")
}
public enum Status {
/// Processing...
public static let processing = Localized.tr("Localizable", "scan.status.processing")
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
/// Place QR code inside frame to scan
public static let reading = Localized.tr("Localizable", "scan.status.reading")
/// Success
public static let success = Localized.tr("Localizable", "scan.status.success")
}
}
public enum Settings {
/// Advanced Settings
public static let advanced = Localized.tr("Localizable", "settings.advanced")
/// Chat Settings
public static let chat = Localized.tr("Localizable", "settings.chat")
/// Delete account
public static let delete = Localized.tr("Localizable", "settings.delete")
/// Disclosures
public static let disclosures = Localized.tr("Localizable", "settings.disclosures")
/// General Settings
public static let general = Localized.tr("Localizable", "settings.general")
/// Privacy policy
public static let privacyPolicy = Localized.tr("Localizable", "settings.privacyPolicy")
/// Settings
public static let title = Localized.tr("Localizable", "settings.title")
public enum Advanced {
/// Advanced Settings
public static let title = Localized.tr("Localizable", "settings.advanced.title")
public enum AccountBackup {
/// Account Backup
public static let title = Localized.tr("Localizable", "settings.advanced.accountBackup.title")
}
public enum Crashes {
/// Automatically sends anonymous reports containing crash data
public static let description = Localized.tr("Localizable", "settings.advanced.crashes.description")
/// Enable crash reporting
public static let title = Localized.tr("Localizable", "settings.advanced.crashes.title")
}
public enum Logs {
/// Record your logs to submit for debugging.
public static let description = Localized.tr("Localizable", "settings.advanced.logs.description")
/// Record logs
public static let title = Localized.tr("Localizable", "settings.advanced.logs.title")
}
public enum ShowUsername {
/// Allow us to show a more detailed push notification
public static let description = Localized.tr("Localizable", "settings.advanced.showUsername.description")
/// Rich notifications
public static let title = Localized.tr("Localizable", "settings.advanced.showUsername.title")
}
}
public enum Biometrics {
/// Enable unlocking with your device biometrics.
public static let description = Localized.tr("Localizable", "settings.biometrics.description")
/// Biometric Authentication
public static let title = Localized.tr("Localizable", "settings.biometrics.title")
}
public enum Delete {
/// Cancel
public static let cancel = Localized.tr("Localizable", "settings.delete.cancel")
/// Confirm Delete
public static let delete = Localized.tr("Localizable", "settings.delete.delete")
/// Your username
public static let input = Localized.tr("Localizable", "settings.delete.input")
/// A deleted account cannot be recovered. The username associated with this account cannot be reused in the future.
///
/// To confirm your account deletion, type in your username.
public static let subtitle = Localized.tr("Localizable", "settings.delete.subtitle")
/// Delete Account
public static let title = Localized.tr("Localizable", "settings.delete.title")
public enum Info {
/// On deletion, all keys for your account are purged from your phone. This action will not notify your contacts. Your keys and any registered emails or phone numbers are removed from the user discovery system.
public static let subtitle = Localized.tr("Localizable", "settings.delete.info.subtitle")
/// Deleting Your Account
public static let title = Localized.tr("Localizable", "settings.delete.info.title")
}
}
public enum Drawer {
/// %@ will be opened using your default browser
public static func subtitle(_ p1: Any) -> String {
return Localized.tr("Localizable", "settings.drawer.subtitle", String(describing: p1))
}
/// Do you want to open %@?
public static func title(_ p1: Any) -> String {
return Localized.tr("Localizable", "settings.drawer.title", String(describing: p1))
}
}
public enum HideActiveApps {
/// Hide screen in recent apps list
public static let description = Localized.tr("Localizable", "settings.hideActiveApps.description")
/// Hide Screen
public static let title = Localized.tr("Localizable", "settings.hideActiveApps.title")
}
public enum IcognitoKeyboard {
/// While using the app, allow keyboard to use activity for predictive text.
public static let description = Localized.tr("Localizable", "settings.icognitoKeyboard.description")
/// Predictive Text
public static let title = Localized.tr("Localizable", "settings.icognitoKeyboard.title")
}
public enum InAppNotifications {
/// Enable local in-app notifications.
public static let description = Localized.tr("Localizable", "settings.inAppNotifications.description")
/// In-App Notifications
public static let title = Localized.tr("Localizable", "settings.inAppNotifications.title")
}
public static let action = Localized.tr("Localizable", "settings.infoDrawer.action")
public enum Biometrics {
/// Biometric authentication is stored through the native system on your phone, not by the xx messenger app. The xx network cannot access your biometric authentication data.
public static let subtitle = Localized.tr("Localizable", "settings.infoDrawer.biometrics.subtitle")
public static let title = Localized.tr("Localizable", "settings.infoDrawer.biometrics.title")
}
public enum Icognito {
/// Predictive text is a feature offered by your phone’s operating system. It involves storing entered text within your phone’s operating system and may involve sending it to remote servers. As a result, it may significantly degrade your privacy.
public static let subtitle = Localized.tr("Localizable", "settings.infoDrawer.icognito.subtitle")
public static let title = Localized.tr("Localizable", "settings.infoDrawer.icognito.title")
}
public enum Notifications {
/// Selecting this setting will share your account ID and unique phone identifiers with a notification service run by the xx network team. However, these details are obfuscated via an #ID collision system# when you receive a notification. As a result, both the notifications service and your notifications provider (Firebase on Android, Apple on iOS) cannot tell exactly when you receive a message.
public static let subtitle = Localized.tr("Localizable", "settings.infoDrawer.notifications.subtitle")
public static let title = Localized.tr("Localizable", "settings.infoDrawer.notifications.title")
}
public enum Privacy {
/// Because xx messenger does not capture your personal data or save your private keys, we will not be able to, at this time, help new users recover their account in case of being locked out, changing devices, etc. Account recovery support that continues to protect your privacy and personal data will be coming soon.
public static let subtitle = Localized.tr("Localizable", "settings.infoDrawer.privacy.subtitle")
public static let title = Localized.tr("Localizable", "settings.infoDrawer.privacy.title")
}
public enum Traffic {
/// Cover Traffic hides when you are sending messages by randomly sending messages to random users. Other user’s phones will pick up these messages but they will not see them or know you sent them. As a result, it not only hides when you send messages, but helps hide who you are talking to. #Read more about it#
public static let subtitle = Localized.tr("Localizable", "settings.infoDrawer.traffic.subtitle")
public static let title = Localized.tr("Localizable", "settings.infoDrawer.traffic.title")
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
}
}
public enum RemoteNotifications {
/// Enable remote push notifications.
public static let description = Localized.tr("Localizable", "settings.remoteNotifications.description")
/// Push Notifications
public static let title = Localized.tr("Localizable", "settings.remoteNotifications.title")
}
public enum Traffic {
/// Enable cover traffic
public static let subtitle = Localized.tr("Localizable", "settings.traffic.subtitle")
/// Cover Traffic
public static let title = Localized.tr("Localizable", "settings.traffic.title")
}
}
public enum Shared {
/// Done
public static let done = Localized.tr("Localizable", "shared.done")
/// #No internet connection.# Connect to a network to continue receiving messages.
public static let networkIssue = Localized.tr("Localizable", "shared.networkIssue")
/// #Your request failed#
public static let requestFailed = Localized.tr("Localizable", "shared.requestFailed")
/// Resend
public static let resend = Localized.tr("Localizable", "shared.resend")
public enum Search {
/// Search
public static let placeholder = Localized.tr("Localizable", "shared.search.placeholder")
}
public enum SnackBar {
/// Connecting to xx network...
public static let title = Localized.tr("Localizable", "shared.snackBar.title")
}
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
public enum Ud {
/// There are no users with that %@.
public static func noneFound(_ p1: Any) -> String {
return Localized.tr("Localizable", "ud.noneFound", String(describing: p1))
}
/// Search
public static let title = Localized.tr("Localizable", "ud.title")
public enum NicknameDrawer {
/// Save
public static let save = Localized.tr("Localizable", "ud.nicknameDrawer.save")
/// Edit your new contact’s nickname so you know who they are.
public static let subtitle = Localized.tr("Localizable", "ud.nicknameDrawer.subtitle")
/// Add a nickname
public static let title = Localized.tr("Localizable", "ud.nicknameDrawer.title")
}
public enum Placeholder {
public enum Drawer {
/// Got it
public static let action = Localized.tr("Localizable", "ud.placeholder.drawer.action")
/// You can search for users by their username, email, or phone number using the xx network’s #Anonymous Data Retrieval protocol# which keeps a user’s identity anonymous while requesting data. All sent requests contain salted hashes of what you are searching for. Raw data on emails, usernames, and phone numbers do not leave your phone.
public static let subtitle = Localized.tr("Localizable", "ud.placeholder.drawer.subtitle")
/// Search
public static let title = Localized.tr("Localizable", "ud.placeholder.drawer.title")
}
}
public enum RequestDrawer {
/// Cancel
public static let cancel = Localized.tr("Localizable", "ud.requestDrawer.cancel")
/// EMAIL ADDRESS
public static let email = Localized.tr("Localizable", "ud.requestDrawer.email")
/// PHONE NUMBER
public static let phone = Localized.tr("Localizable", "ud.requestDrawer.phone")
/// Send Contact Request
public static let send = Localized.tr("Localizable", "ud.requestDrawer.send")
/// Request Contact
public static let title = Localized.tr("Localizable", "ud.requestDrawer.title")
}
/// Cancel search
public static let cancel = Localized.tr("Localizable", "ud.search.cancel")
/// There are no users with that %@.
public static func empty(_ p1: Any) -> String {
return Localized.tr("Localizable", "ud.search.empty", String(describing: p1))
/// Search by %@
public static func input(_ p1: Any) -> String {
return Localized.tr("Localizable", "ud.search.input", String(describing: p1))
public enum Placeholder {
/// Your searches are anonymous. Search information is never linked to your account or personally identifiable.
public static let subtitle = Localized.tr("Localizable", "ud.search.placeholder.subtitle")
/// Search for #friends# anonymously, add them to your #connections# to start a completely private messaging channel.
public static let title = Localized.tr("Localizable", "ud.search.placeholder.title")
public enum Tab {
/// Email
public static let email = Localized.tr("Localizable", "ud.tab.email")
/// Phone
public static let phone = Localized.tr("Localizable", "ud.tab.phone")
/// QR Code
public static let qr = Localized.tr("Localizable", "ud.tab.qr")
/// Username
public static let username = Localized.tr("Localizable", "ud.tab.username")
}
}
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
public enum Validator {
public enum Code {
/// Code length should be at least 4 chars
public static let minimum = Localized.tr("Localizable", "validator.code.minimum")
}
public enum Email {
/// The email provided is invalid
public static let invalid = Localized.tr("Localizable", "validator.email.invalid")
/// ^[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$
public static let regex = Localized.tr("Localizable", "validator.email.regex")
}
public enum Phone {
/// Phone length should be maximum 32 chars
public static let maximum = Localized.tr("Localizable", "validator.phone.maximum")
/// Phone length should be at least 4 chars
public static let minimum = Localized.tr("Localizable", "validator.phone.minimum")
/// This phone format doesn't fit the country
public static let regexIssue = Localized.tr("Localizable", "validator.phone.regexIssue")
}
public enum Username {
/// Character requirement met
public static let approved = Localized.tr("Localizable", "validator.username.approved")
/// Username can't be empty
public static let empty = Localized.tr("Localizable", "validator.username.empty")
/// The username provided contains one or more forbidden chars
public static let invalid = Localized.tr("Localizable", "validator.username.invalid")
/// Max character limit reached.
public static let maximum = Localized.tr("Localizable", "validator.username.maximum")
/// Username must be at least 4 characters
public static let minimum = Localized.tr("Localizable", "validator.username.minimum")
/// ^[a-zA-Z0-9][a-zA-Z0-9_\-+@.#]*[a-zA-Z0-9]$
public static let regex = Localized.tr("Localizable", "validator.username.regex")
/// Username must start and end with alphanumeric characters
public static let startEnd = Localized.tr("Localizable", "validator.username.startEnd")
}
}
}
// swiftlint:enable explicit_type_interface function_parameter_count identifier_name line_length
// swiftlint:enable nesting type_body_length type_name vertical_whitespace_opening_braces
// MARK: - Implementation Details
extension Localized {
private static func tr(_ table: String, _ key: String, _ args: CVarArg...) -> String {
let format = BundleToken.bundle.localizedString(forKey: key, value: nil, table: table)
return String(format: format, locale: Locale.current, arguments: args)
}
}
// swiftlint:disable convenience_type
private final class BundleToken {
static let bundle: Bundle = {
#if SWIFT_PACKAGE
return Bundle.module
#else
return Bundle(for: BundleToken.self)
#endif
}()
}
// swiftlint:enable convenience_type