Strings.swift 7.84 KB
Newer Older
1
// Generated using SwiftGen, by O.Halligon — https://github.com/SwiftGen/SwiftGen
2 3 4

import Foundation

Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
5
// swiftlint:disable superfluous_disable_command
6 7
// swiftlint:disable file_length

8
// swiftlint:disable explicit_type_interface identifier_name line_length nesting type_body_length type_name
9
enum L10n {
10

Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
11 12 13 14 15
  enum Accountpage {
    /// Devices
    static let devicesListHeader = L10n.tr("Localizable", "accountPage.devicesListHeader")
  }

16 17
  enum Alerts {
    /// Account Added
18
    static let accountAddedTitle = L10n.tr("Localizable", "alerts.accountAddedTitle")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
19 20
    /// Account couldn't be found on the Ring network. Make sure it was exported on Ring from an existing device, and that provided credentials are correct.
    static let accountCannotBeFoundMessage = L10n.tr("Localizable", "alerts.accountCannotBeFoundMessage")
21
    /// Can't find account
22
    static let accountCannotBeFoundTitle = L10n.tr("Localizable", "alerts.accountCannotBeFoundTitle")
23
    /// The account couldn't be created.
24
    static let accountDefaultErrorMessage = L10n.tr("Localizable", "alerts.accountDefaultErrorMessage")
25
    /// Unknown error
26
    static let accountDefaultErrorTitle = L10n.tr("Localizable", "alerts.accountDefaultErrorTitle")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
27 28
    /// Linking account
    static let accountLinkedTitle = L10n.tr("Localizable", "alerts.accountLinkedTitle")
29
    /// Could not add account because Ring couldn't connect to the distributed network. Check your device connectivity.
30
    static let accountNoNetworkMessage = L10n.tr("Localizable", "alerts.accountNoNetworkMessage")
31
    /// Can't connect to the network
32
    static let accountNoNetworkTitle = L10n.tr("Localizable", "alerts.accountNoNetworkTitle")
33 34 35 36 37 38
    /// Cancel
    static let profileCancelPhoto = L10n.tr("Localizable", "alerts.profileCancelPhoto")
    /// Take photo
    static let profileTakePhoto = L10n.tr("Localizable", "alerts.profileTakePhoto")
    /// Upload photo
    static let profileUploadPhoto = L10n.tr("Localizable", "alerts.profileUploadPhoto")
39 40 41 42
  }

  enum Createaccount {
    /// Choose strong password you will remember to protect your Ring account.
43
    static let chooseStrongPassword = L10n.tr("Localizable", "createAccount.chooseStrongPassword")
44
    /// Create your Ring account
45
    static let createAccountFormTitle = L10n.tr("Localizable", "createAccount.createAccountFormTitle")
46
    /// username
47
    static let enterNewUsernamePlaceholder = L10n.tr("Localizable", "createAccount.enterNewUsernamePlaceholder")
48
    /// invalid username
49
    static let invalidUsername = L10n.tr("Localizable", "createAccount.invalidUsername")
50
    /// Loading
51
    static let loading = L10n.tr("Localizable", "createAccount.loading")
52
    /// looking for username availability
53
    static let lookingForUsernameAvailability = L10n.tr("Localizable", "createAccount.lookingForUsernameAvailability")
54
    /// password
55
    static let newPasswordPlaceholder = L10n.tr("Localizable", "createAccount.newPasswordPlaceholder")
56
    /// 6 characters minimum
57
    static let passwordCharactersNumberError = L10n.tr("Localizable", "createAccount.passwordCharactersNumberError")
58
    /// passwords do not match
59
    static let passwordNotMatchingError = L10n.tr("Localizable", "createAccount.passwordNotMatchingError")
60
    /// confirm password
61
    static let repeatPasswordPlaceholder = L10n.tr("Localizable", "createAccount.repeatPasswordPlaceholder")
62
    /// username already taken
63
    static let usernameAlreadyTaken = L10n.tr("Localizable", "createAccount.usernameAlreadyTaken")
64
    /// Adding account
65
    static let waitCreateAccountTitle = L10n.tr("Localizable", "createAccount.waitCreateAccountTitle")
66 67
  }

68 69 70
  enum Createprofile {
    /// Skip to Create Account
    static let createAccount = L10n.tr("Localizable", "createProfile.createAccount")
71 72
    /// Next
    static let createAccountWithProfile = L10n.tr("Localizable", "createProfile.createAccountWithProfile")
73 74 75 76
    /// Skip to Link Device
    static let linkDevice = L10n.tr("Localizable", "createProfile.linkDevice")
  }

77
  enum Global {
78 79
    /// Invitations
    static let contactRequestsTabBarTitle = L10n.tr("Localizable", "global.contactRequestsTabBarTitle")
80
    /// Home
81
    static let homeTabBarTitle = L10n.tr("Localizable", "global.homeTabBarTitle")
Thibault Wittemberg's avatar
Thibault Wittemberg committed
82
    /// Me
83
    static let meTabBarTitle = L10n.tr("Localizable", "global.meTabBarTitle")
84
    /// Ok
85
    static let ok = L10n.tr("Localizable", "global.ok")
86 87
  }

Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
88 89 90 91 92 93 94 95 96 97 98 99 100 101 102
  enum Linkdevice {
    /// An error occured during the export
    static let defaultError = L10n.tr("Localizable", "linkDevice.defaultError")
    /// To complete the process, you need to open Ring on the new device and choose the option "Link this device to an account." Your pin is valid for 10 minutes
    static let explanationMessage = L10n.tr("Localizable", "linkDevice.explanationMessage")
    /// Verifying
    static let hudMessage = L10n.tr("Localizable", "linkDevice.hudMessage")
    /// A network error occured during the export
    static let networkError = L10n.tr("Localizable", "linkDevice.networkError")
    /// The password you entered does not unlock this account
    static let passwordError = L10n.tr("Localizable", "linkDevice.passwordError")
    /// Link new device
    static let title = L10n.tr("Localizable", "linkDevice.title")
  }

Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
  enum Linktoaccount {
    /// To generate the PIN code, go to the account managment settings on device that contain account you want to use. In devices settings Select "Link another device to this account". You will get the necessary PIN to complete this form. The PIN is only valid for 10 minutes.
    static let explanationPinMessage = L10n.tr("Localizable", "linkToAccount.explanationPinMessage")
    /// Link device
    static let linkButtonTitle = L10n.tr("Localizable", "linkToAccount.linkButtonTitle")
    /// Enter Password
    static let passwordLabel = L10n.tr("Localizable", "linkToAccount.passwordLabel")
    /// password
    static let passwordPlaceholder = L10n.tr("Localizable", "linkToAccount.passwordPlaceholder")
    /// Enter PIN
    static let pinLabel = L10n.tr("Localizable", "linkToAccount.pinLabel")
    /// PIN
    static let pinPlaceholder = L10n.tr("Localizable", "linkToAccount.pinPlaceholder")
    /// Account linking
    static let waitLinkToAccountTitle = L10n.tr("Localizable", "linkToAccount.waitLinkToAccountTitle")
  }

120
  enum Smartlist {
121 122
    /// Be sure cellular access is granted in your settings
    static let cellularAccess = L10n.tr("Localizable", "smartlist.cellularAccess")
123
    /// Conversations
124
    static let conversations = L10n.tr("Localizable", "smartlist.conversations")
125 126
    /// No network connectivity
    static let noNetworkConnectivity = L10n.tr("Localizable", "smartlist.noNetworkConnectivity")
127
    /// No results
128
    static let noResults = L10n.tr("Localizable", "smartlist.noResults")
129
    /// Searching...
130
    static let searching = L10n.tr("Localizable", "smartlist.searching")
131
    /// User found
132
    static let userFound = L10n.tr("Localizable", "smartlist.userFound")
133
    /// Yesterday
134
    static let yesterday = L10n.tr("Localizable", "smartlist.yesterday")
135 136 137 138
  }

  enum Welcome {
    /// Create a Ring account
139
    static let createAccount = L10n.tr("Localizable", "welcome.createAccount")
140
    /// Link this device to an account
141 142
    static let linkDevice = L10n.tr("Localizable", "welcome.linkDevice")
    /// Ring is a free and universal communication platform which preserves the users' privacy and freedoms
143
    static let text = L10n.tr("Localizable", "welcome.text")
144
    /// Welcome to Ring
145
    static let title = L10n.tr("Localizable", "welcome.title")
146
  }
147
}
148
// swiftlint:enable explicit_type_interface identifier_name line_length nesting type_body_length type_name
149 150

extension L10n {
151 152 153
  fileprivate static func tr(_ table: String, _ key: String, _ args: CVarArg...) -> String {
    let format = NSLocalizedString(key, tableName: table, bundle: Bundle(for: BundleToken.self), comment: "")
    return String(format: format, locale: Locale.current, arguments: args)
154 155 156
  }
}

157
private final class BundleToken {}