Strings.swift 25 KB
Newer Older
1
// swiftlint:disable all
2
// Generated using SwiftGen, by O.Halligon — https://github.com/SwiftGen/SwiftGen
3 4 5

import Foundation

6
// swiftlint:disable superfluous_disable_command
7 8
// swiftlint:disable file_length

9 10 11 12
// MARK: - Strings

// swiftlint:disable explicit_type_interface function_parameter_count identifier_name line_length
// swiftlint:disable nesting type_body_length type_name
13
internal enum L10n {
14

Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
15 16 17 18 19 20 21 22 23 24 25 26 27
  internal enum Account {
    /// Account Status
    internal static let accountStatus = L10n.tr("Localizable", "account.accountStatus")
    /// Create Sip Account
    internal static let createSipAccount = L10n.tr("Localizable", "account.createSipAccount")
    /// Enable Account
    internal static let enableAccount = L10n.tr("Localizable", "account.enableAccount")
    /// Enter Password
    internal static let passwordLabel = L10n.tr("Localizable", "account.passwordLabel")
    /// Port
    internal static let port = L10n.tr("Localizable", "account.port")
    /// Enter Port Number
    internal static let portLabel = L10n.tr("Localizable", "account.portLabel")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
28 29
    /// Proxy
    internal static let proxyServer = L10n.tr("Localizable", "account.proxyServer")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
    /// Enter Address
    internal static let serverLabel = L10n.tr("Localizable", "account.serverLabel")
    /// Password
    internal static let sipPassword = L10n.tr("Localizable", "account.sipPassword")
    /// SIP Server
    internal static let sipServer = L10n.tr("Localizable", "account.sipServer")
    /// User Name
    internal static let sipUsername = L10n.tr("Localizable", "account.sipUsername")
    /// Connecting
    internal static let statusConnecting = L10n.tr("Localizable", "account.statusConnecting")
    /// Connection Error
    internal static let statusConnectionerror = L10n.tr("Localizable", "account.statusConnectionerror")
    /// Offline
    internal static let statusOffline = L10n.tr("Localizable", "account.statusOffline")
    /// Online
    internal static let statusOnline = L10n.tr("Localizable", "account.statusOnline")
    /// Unknown
    internal static let statusUnknown = L10n.tr("Localizable", "account.statusUnknown")
    /// Enter Username
    internal static let usernameLabel = L10n.tr("Localizable", "account.usernameLabel")
  }

52
  internal enum AccountPage {
53
    /// Block List
54
    internal static let blockedContacts = L10n.tr("Localizable", "accountPage.blockedContacts")
55 56 57 58 59 60
    /// Contact me using "%s" on the Jami distributet communication platform: https://jami.net
    internal static func contactMeOnJamiContant(_ p1: UnsafePointer<CChar>) -> String {
      return L10n.tr("Localizable", "accountPage.contactMeOnJamiContant", p1)
    }
    /// Contact me on Jami!
    internal static let contactMeOnJamiTitle = L10n.tr("Localizable", "accountPage.contactMeOnJamiTitle")
61
    /// Account Details
62
    internal static let credentialsHeader = L10n.tr("Localizable", "accountPage.credentialsHeader")
63 64 65 66 67 68 69 70 71 72 73 74 75 76
    /// Device revocation error
    internal static let deviceRevocationError = L10n.tr("Localizable", "accountPage.deviceRevocationError")
    /// Revoking...
    internal static let deviceRevocationProgress = L10n.tr("Localizable", "accountPage.deviceRevocationProgress")
    /// Device was revoked
    internal static let deviceRevocationSuccess = L10n.tr("Localizable", "accountPage.deviceRevocationSuccess")
    /// Try again
    internal static let deviceRevocationTryAgain = L10n.tr("Localizable", "accountPage.deviceRevocationTryAgain")
    /// Unknown device
    internal static let deviceRevocationUnknownDevice = L10n.tr("Localizable", "accountPage.deviceRevocationUnknownDevice")
    /// Incorrect password
    internal static let deviceRevocationWrongPassword = L10n.tr("Localizable", "accountPage.deviceRevocationWrongPassword")
    /// Device revocation completed
    internal static let deviceRevoked = L10n.tr("Localizable", "accountPage.deviceRevoked")
77
    /// Devices
78
    internal static let devicesListHeader = L10n.tr("Localizable", "accountPage.devicesListHeader")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
79 80 81
    /// Enable Notifications
    internal static let enableNotifications = L10n.tr("Localizable", "accountPage.enableNotifications")
    /// Enable Proxy
82
    internal static let enableProxy = L10n.tr("Localizable", "accountPage.enableProxy")
83 84 85 86
    /// Link another device
    internal static let linkDeviceTitle = L10n.tr("Localizable", "accountPage.linkDeviceTitle")
    /// Name
    internal static let namePlaceholder = L10n.tr("Localizable", "accountPage.namePlaceholder")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
87 88
    /// Your device won't receive notifications when proxy is disabled
    internal static let noProxyExplanationLabel = L10n.tr("Localizable", "accountPage.noProxyExplanationLabel")
89 90
    /// Other
    internal static let other = L10n.tr("Localizable", "accountPage.other")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
91 92
    /// Provide proxy address
    internal static let proxyAddressAlert = L10n.tr("Localizable", "accountPage.proxyAddressAlert")
93
    /// In order to receive notifications, please enable proxy
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
94 95 96 97 98
    internal static let proxyDisabledAlertBody = L10n.tr("Localizable", "accountPage.proxyDisabledAlertBody")
    /// Proxy Server Disabled
    internal static let proxyDisabledAlertTitle = L10n.tr("Localizable", "accountPage.proxyDisabledAlertTitle")
    /// Proxy address
    internal static let proxyPaceholder = L10n.tr("Localizable", "accountPage.proxyPaceholder")
99 100 101 102 103 104
    /// Remove
    internal static let removeAccountButton = L10n.tr("Localizable", "accountPage.removeAccountButton")
    /// By clicking "Remove" you will remove this account on this device! This action can not be undone. Also, your registered name can be lost.
    internal static let removeAccountMessage = L10n.tr("Localizable", "accountPage.removeAccountMessage")
    /// Remove account
    internal static let removeAccountTitle = L10n.tr("Localizable", "accountPage.removeAccountTitle")
105 106 107 108 109 110 111 112
    /// Revoke
    internal static let revokeDeviceButton = L10n.tr("Localizable", "accountPage.revokeDeviceButton")
    /// Are you sure you want to revoke this device? This action could not be undone.
    internal static let revokeDeviceMessage = L10n.tr("Localizable", "accountPage.revokeDeviceMessage")
    /// Enter your passord
    internal static let revokeDevicePlaceholder = L10n.tr("Localizable", "accountPage.revokeDevicePlaceholder")
    /// Revoke device
    internal static let revokeDeviceTitle = L10n.tr("Localizable", "accountPage.revokeDeviceTitle")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
113 114
    /// Save
    internal static let saveProxyAddress = L10n.tr("Localizable", "accountPage.saveProxyAddress")
115
    /// Settings
116
    internal static let settingsHeader = L10n.tr("Localizable", "accountPage.settingsHeader")
117 118
    /// Share Account Details
    internal static let shareAccountDetails = L10n.tr("Localizable", "accountPage.shareAccountDetails")
119
    /// UNBLOCK
120
    internal static let unblockContact = L10n.tr("Localizable", "accountPage.unblockContact")
121
    /// username:
122
    internal static let username = L10n.tr("Localizable", "accountPage.username")
123
    /// username: not registered
124
    internal static let usernameNotRegistered = L10n.tr("Localizable", "accountPage.usernameNotRegistered")
125 126
  }

127
  internal enum Actions {
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
128 129
    /// Back
    internal static let backAction = L10n.tr("Localizable", "actions.backAction")
130
    /// Block
131
    internal static let blockAction = L10n.tr("Localizable", "actions.blockAction")
132
    /// Cancel
133
    internal static let cancelAction = L10n.tr("Localizable", "actions.cancelAction")
134 135
    /// Clear
    internal static let clearAction = L10n.tr("Localizable", "actions.clearAction")
136
    /// Delete
137
    internal static let deleteAction = L10n.tr("Localizable", "actions.deleteAction")
138 139
  }

140
  internal enum Alerts {
141
    /// Account Added
142
    internal static let accountAddedTitle = L10n.tr("Localizable", "alerts.accountAddedTitle")
Quentin Muret's avatar
Quentin Muret committed
143
    /// Account couldn't be found on the Jami network. Make sure it was exported on Jami from an existing device, and that provided credentials are correct.
144
    internal static let accountCannotBeFoundMessage = L10n.tr("Localizable", "alerts.accountCannotBeFoundMessage")
145
    /// Can't find account
146
    internal static let accountCannotBeFoundTitle = L10n.tr("Localizable", "alerts.accountCannotBeFoundTitle")
147
    /// The account couldn't be created.
148
    internal static let accountDefaultErrorMessage = L10n.tr("Localizable", "alerts.accountDefaultErrorMessage")
149
    /// Unknown error
150
    internal static let accountDefaultErrorTitle = L10n.tr("Localizable", "alerts.accountDefaultErrorTitle")
151
    /// Linking account
152
    internal static let accountLinkedTitle = L10n.tr("Localizable", "alerts.accountLinkedTitle")
Quentin Muret's avatar
Quentin Muret committed
153
    /// Could not add account because Jami couldn't connect to the distributed network. Check your device connectivity.
154
    internal static let accountNoNetworkMessage = L10n.tr("Localizable", "alerts.accountNoNetworkMessage")
155
    /// Can't connect to the network
156
    internal static let accountNoNetworkTitle = L10n.tr("Localizable", "alerts.accountNoNetworkTitle")
157
    /// Are you sure you want to block this contact? The conversation history with this contact will also be deleted permanently.
158
    internal static let confirmBlockContact = L10n.tr("Localizable", "alerts.confirmBlockContact")
159
    /// Block Contact
160
    internal static let confirmBlockContactTitle = L10n.tr("Localizable", "alerts.confirmBlockContactTitle")
161 162 163 164
    /// Are you sure you want to clear the conversation with this contact?
    internal static let confirmClearConversation = L10n.tr("Localizable", "alerts.confirmClearConversation")
    /// Clear Conversation
    internal static let confirmClearConversationTitle = L10n.tr("Localizable", "alerts.confirmClearConversationTitle")
165
    /// Are you sure you want to delete this conversation permanently?
166
    internal static let confirmDeleteConversation = L10n.tr("Localizable", "alerts.confirmDeleteConversation")
167
    /// Are you sure you want to delete the conversation with this contact?
168
    internal static let confirmDeleteConversationFromContact = L10n.tr("Localizable", "alerts.confirmDeleteConversationFromContact")
169
    /// Delete Conversation
170
    internal static let confirmDeleteConversationTitle = L10n.tr("Localizable", "alerts.confirmDeleteConversationTitle")
171
    /// Please close application and try to open it again
172
    internal static let dbFailedMessage = L10n.tr("Localizable", "alerts.dbFailedMessage")
Quentin Muret's avatar
Quentin Muret committed
173
    /// An error happned when launching Jami
174
    internal static let dbFailedTitle = L10n.tr("Localizable", "alerts.dbFailedTitle")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
175
    /// Incoming call from 
176
    internal static let incomingCallAllertTitle = L10n.tr("Localizable", "alerts.incomingCallAllertTitle")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
177
    /// Accept
178
    internal static let incomingCallButtonAccept = L10n.tr("Localizable", "alerts.incomingCallButtonAccept")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
179
    /// Ignore
180
    internal static let incomingCallButtonIgnore = L10n.tr("Localizable", "alerts.incomingCallButtonIgnore")
181
    /// Cancel
182
    internal static let profileCancelPhoto = L10n.tr("Localizable", "alerts.profileCancelPhoto")
183
    /// Take photo
184
    internal static let profileTakePhoto = L10n.tr("Localizable", "alerts.profileTakePhoto")
185
    /// Upload photo
186
    internal static let profileUploadPhoto = L10n.tr("Localizable", "alerts.profileUploadPhoto")
187 188
  }

189 190 191 192 193
  internal enum BlockListPage {
    /// No blocked contacts
    internal static let noBlockedContacts = L10n.tr("Localizable", "blockListPage.noBlockedContacts")
  }

194
  internal enum Calls {
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
195
    /// Call finished
196
    internal static let callFinished = L10n.tr("Localizable", "calls.callFinished")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
197
    /// Call
198
    internal static let callItemTitle = L10n.tr("Localizable", "calls.callItemTitle")
199
    /// Connecting…
200
    internal static let connecting = L10n.tr("Localizable", "calls.connecting")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
201 202
    /// Call with 
    internal static let currentCallWith = L10n.tr("Localizable", "calls.currentCallWith")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
203
    /// wants to talk to you
204
    internal static let incomingCallInfo = L10n.tr("Localizable", "calls.incomingCallInfo")
205
    /// Ringing…
206
    internal static let ringing = L10n.tr("Localizable", "calls.ringing")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
207 208
    /// Searching…
    internal static let searching = L10n.tr("Localizable", "calls.searching")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
209
    /// Unknown
210
    internal static let unknown = L10n.tr("Localizable", "calls.unknown")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
211 212
  }

213
  internal enum ContactPage {
214
    /// Block Contact
215
    internal static let blockContact = L10n.tr("Localizable", "contactPage.blockContact")
216
    /// Clear Chat
217
    internal static let clearConversation = L10n.tr("Localizable", "contactPage.clearConversation")
218 219
    /// Remove Conversation
    internal static let removeConversation = L10n.tr("Localizable", "contactPage.removeConversation")
220
    /// Send Message
221
    internal static let sendMessage = L10n.tr("Localizable", "contactPage.sendMessage")
222
    /// Start Audio Call
223
    internal static let startAudioCall = L10n.tr("Localizable", "contactPage.startAudioCall")
224
    /// Start Video Call
225
    internal static let startVideoCall = L10n.tr("Localizable", "contactPage.startVideoCall")
226 227
  }

228 229 230 231 232
  internal enum Conversation {
    /// Type your message...
    internal static let messagePlaceholder = L10n.tr("Localizable", "conversation.messagePlaceholder")
  }

233
  internal enum CreateAccount {
234 235
    /// Encrypt my account
    internal static let chooseAPassword = L10n.tr("Localizable", "createAccount.ChooseAPassword")
Quentin Muret's avatar
Quentin Muret committed
236
    /// Choose strong password you will remember to protect your Jami account.
237
    internal static let chooseStrongPassword = L10n.tr("Localizable", "createAccount.chooseStrongPassword")
238
    /// Create your account
239
    internal static let createAccountFormTitle = L10n.tr("Localizable", "createAccount.createAccountFormTitle")
240 241 242
    /// Notifications
    internal static let enableNotifications = L10n.tr("Localizable", "createAccount.EnableNotifications")
    /// Username
243
    internal static let enterNewUsernamePlaceholder = L10n.tr("Localizable", "createAccount.enterNewUsernamePlaceholder")
244
    /// invalid username
245
    internal static let invalidUsername = L10n.tr("Localizable", "createAccount.invalidUsername")
246
    /// Loading
247
    internal static let loading = L10n.tr("Localizable", "createAccount.loading")
248
    /// looking for availability…
249
    internal static let lookingForUsernameAvailability = L10n.tr("Localizable", "createAccount.lookingForUsernameAvailability")
250
    /// Password
251
    internal static let newPasswordPlaceholder = L10n.tr("Localizable", "createAccount.newPasswordPlaceholder")
252
    /// 6 characters minimum
253
    internal static let passwordCharactersNumberError = L10n.tr("Localizable", "createAccount.passwordCharactersNumberError")
254 255
    /// Choose a password to encrypt your local account. Don’t forget it or you will not be able to recover your account
    internal static let passwordInformation = L10n.tr("Localizable", "createAccount.PasswordInformation")
256
    /// passwords do not match
257
    internal static let passwordNotMatchingError = L10n.tr("Localizable", "createAccount.passwordNotMatchingError")
258 259 260 261 262
    /// (Recommended)
    internal static let recommended = L10n.tr("Localizable", "createAccount.Recommended")
    /// Register a username
    internal static let registerAUsername = L10n.tr("Localizable", "createAccount.RegisterAUsername")
    /// Confirm password
263
    internal static let repeatPasswordPlaceholder = L10n.tr("Localizable", "createAccount.repeatPasswordPlaceholder")
264 265 266 267
    /// Username registration in progress... It could take a few moments.
    internal static let timeoutMessage = L10n.tr("Localizable", "createAccount.timeoutMessage")
    /// Account Created
    internal static let timeoutTitle = L10n.tr("Localizable", "createAccount.timeoutTitle")
268
    /// username already taken
269
    internal static let usernameAlreadyTaken = L10n.tr("Localizable", "createAccount.usernameAlreadyTaken")
270 271 272 273
    /// Account was created but username was not registered
    internal static let usernameNotRegisteredMessage = L10n.tr("Localizable", "createAccount.UsernameNotRegisteredMessage")
    /// Network error
    internal static let usernameNotRegisteredTitle = L10n.tr("Localizable", "createAccount.UsernameNotRegisteredTitle")
274
    /// Adding account
275
    internal static let waitCreateAccountTitle = L10n.tr("Localizable", "createAccount.waitCreateAccountTitle")
276 277
  }

278
  internal enum CreateProfile {
279 280 281 282 283 284
    /// Create your avatar
    internal static let createYourAvatar = L10n.tr("Localizable", "createProfile.createYourAvatar")
    /// Enter a display name
    internal static let enterNameLabel = L10n.tr("Localizable", "createProfile.enterNameLabel")
    /// Enter name
    internal static let enterNamePlaceholder = L10n.tr("Localizable", "createProfile.enterNamePlaceholder")
285
    /// Next
286 287 288
    internal static let profileCreated = L10n.tr("Localizable", "createProfile.profileCreated")
    /// Skip
    internal static let skipCreateProfile = L10n.tr("Localizable", "createProfile.skipCreateProfile")
289 290 291 292
    /// Your profile will be shared with your contacts. You can change it at any time.
    internal static let subtitle = L10n.tr("Localizable", "createProfile.subtitle")
    /// Personalise your profile
    internal static let title = L10n.tr("Localizable", "createProfile.title")
293 294
  }

295
  internal enum DataTransfer {
296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313
    /// Accept
    internal static let readableStatusAccept = L10n.tr("Localizable", "dataTransfer.readableStatusAccept")
    /// Pending…
    internal static let readableStatusAwaiting = L10n.tr("Localizable", "dataTransfer.readableStatusAwaiting")
    /// Cancel
    internal static let readableStatusCancel = L10n.tr("Localizable", "dataTransfer.readableStatusCancel")
    /// Canceled
    internal static let readableStatusCanceled = L10n.tr("Localizable", "dataTransfer.readableStatusCanceled")
    /// Initializing…
    internal static let readableStatusCreated = L10n.tr("Localizable", "dataTransfer.readableStatusCreated")
    /// Error
    internal static let readableStatusError = L10n.tr("Localizable", "dataTransfer.readableStatusError")
    /// Transferring
    internal static let readableStatusOngoing = L10n.tr("Localizable", "dataTransfer.readableStatusOngoing")
    /// Refuse
    internal static let readableStatusRefuse = L10n.tr("Localizable", "dataTransfer.readableStatusRefuse")
    /// Complete
    internal static let readableStatusSuccess = L10n.tr("Localizable", "dataTransfer.readableStatusSuccess")
314 315
  }

316 317 318 319 320 321 322
  internal enum GeneralSettings {
    /// General settings
    internal static let title = L10n.tr("Localizable", "generalSettings.title")
    /// Enable video acceleration
    internal static let videoAcceleration = L10n.tr("Localizable", "generalSettings.videoAcceleration")
  }

323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339
  internal enum GeneratedMessage {
    /// Contact added
    internal static let contactAdded = L10n.tr("Localizable", "generatedMessage.contactAdded")
    /// Incoming call
    internal static let incomingCall = L10n.tr("Localizable", "generatedMessage.incomingCall")
    /// Invitation accepted
    internal static let invitationAccepted = L10n.tr("Localizable", "generatedMessage.invitationAccepted")
    /// Invitation received
    internal static let invitationReceived = L10n.tr("Localizable", "generatedMessage.invitationReceived")
    /// Missed incoming call
    internal static let missedIncomingCall = L10n.tr("Localizable", "generatedMessage.missedIncomingCall")
    /// Missed outgoing call
    internal static let missedOutgoingCall = L10n.tr("Localizable", "generatedMessage.missedOutgoingCall")
    /// Outgoing call
    internal static let outgoingCall = L10n.tr("Localizable", "generatedMessage.outgoingCall")
  }

340
  internal enum Global {
341
    /// Invitations
342
    internal static let contactRequestsTabBarTitle = L10n.tr("Localizable", "global.contactRequestsTabBarTitle")
343
    /// Home
344
    internal static let homeTabBarTitle = L10n.tr("Localizable", "global.homeTabBarTitle")
345
    /// Account
346
    internal static let meTabBarTitle = L10n.tr("Localizable", "global.meTabBarTitle")
347
    /// Ok
348
    internal static let ok = L10n.tr("Localizable", "global.ok")
349 350
  }

351 352 353 354 355
  internal enum Invitations {
    /// No invitations
    internal static let noInvitations = L10n.tr("Localizable", "invitations.noInvitations")
  }

356
  internal enum LinkDevice {
357
    /// An error occured during the export
358
    internal static let defaultError = L10n.tr("Localizable", "linkDevice.defaultError")
Quentin Muret's avatar
Quentin Muret committed
359
    /// To complete the process, you need to open Jami on the new device and choose the option "Link this device to an account." Your pin is valid for 10 minutes
360
    internal static let explanationMessage = L10n.tr("Localizable", "linkDevice.explanationMessage")
361
    /// Verifying
362
    internal static let hudMessage = L10n.tr("Localizable", "linkDevice.hudMessage")
363
    /// A network error occured during the export
364
    internal static let networkError = L10n.tr("Localizable", "linkDevice.networkError")
365
    /// The password you entered does not unlock this account
366
    internal static let passwordError = L10n.tr("Localizable", "linkDevice.passwordError")
367
    /// Link a new device
368
    internal static let title = L10n.tr("Localizable", "linkDevice.title")
369 370
  }

371
  internal enum LinkToAccount {
372
    /// 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.
373
    internal static let explanationPinMessage = L10n.tr("Localizable", "linkToAccount.explanationPinMessage")
374
    /// Link device
375
    internal static let linkButtonTitle = L10n.tr("Localizable", "linkToAccount.linkButtonTitle")
376
    /// Enter Password
377
    internal static let passwordLabel = L10n.tr("Localizable", "linkToAccount.passwordLabel")
378
    /// Password
379
    internal static let passwordPlaceholder = L10n.tr("Localizable", "linkToAccount.passwordPlaceholder")
380
    /// Enter PIN
381
    internal static let pinLabel = L10n.tr("Localizable", "linkToAccount.pinLabel")
382
    /// PIN
383
    internal static let pinPlaceholder = L10n.tr("Localizable", "linkToAccount.pinPlaceholder")
384
    /// Account linking
385
    internal static let waitLinkToAccountTitle = L10n.tr("Localizable", "linkToAccount.waitLinkToAccountTitle")
386 387
  }

388 389 390 391 392 393 394
  internal enum Notifications {
    /// ACCEPT
    internal static let acceptCall = L10n.tr("Localizable", "notifications.acceptCall")
    /// Incoming Call
    internal static let incomingCall = L10n.tr("Localizable", "notifications.incomingCall")
    /// Missed Call
    internal static let missedCall = L10n.tr("Localizable", "notifications.missedCall")
395 396
    /// New file
    internal static let newFile = L10n.tr("Localizable", "notifications.newFile")
397 398 399 400
    /// REFUSE
    internal static let refuseCall = L10n.tr("Localizable", "notifications.refuseCall")
  }

Quentin Muret's avatar
Quentin Muret committed
401 402 403 404 405 406 407
  internal enum Scan {
    /// Bad QR code
    internal static let badQrCode = L10n.tr("Localizable", "scan.badQrCode")
    /// Searching…
    internal static let search = L10n.tr("Localizable", "scan.search")
  }

408
  internal enum Smartlist {
409 410 411 412
    /// Accounts
    internal static let accountsTitle = L10n.tr("Localizable", "smartlist.accountsTitle")
    /// + Add Account
    internal static let addAccountButton = L10n.tr("Localizable", "smartlist.addAccountButton")
413
    /// Be sure cellular access is granted in your settings
414
    internal static let cellularAccess = L10n.tr("Localizable", "smartlist.cellularAccess")
415
    /// Conversations
416
    internal static let conversations = L10n.tr("Localizable", "smartlist.conversations")
417 418
    /// No conversations
    internal static let noConversation = L10n.tr("Localizable", "smartlist.noConversation")
419
    /// No network connectivity
420
    internal static let noNetworkConnectivity = L10n.tr("Localizable", "smartlist.noNetworkConnectivity")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
421 422
    /// Selected contact does not have any number
    internal static let noNumber = L10n.tr("Localizable", "smartlist.noNumber")
423
    /// No results
424
    internal static let noResults = L10n.tr("Localizable", "smartlist.noResults")
425 426
    /// Search Result
    internal static let results = L10n.tr("Localizable", "smartlist.results")
427 428
    /// Enter name...
    internal static let searchBarPlaceholder = L10n.tr("Localizable", "smartlist.searchBarPlaceholder")
429
    /// Searching...
430
    internal static let searching = L10n.tr("Localizable", "smartlist.searching")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
431 432
    /// Select one of the numbers
    internal static let selectOneNumber = L10n.tr("Localizable", "smartlist.selectOneNumber")
433
    /// Yesterday
434
    internal static let yesterday = L10n.tr("Localizable", "smartlist.yesterday")
435 436
  }

437
  internal enum Welcome {
438
    /// Create a Jami account
439
    internal static let createAccount = L10n.tr("Localizable", "welcome.createAccount")
440
    /// Link this device to an account
441
    internal static let linkDevice = L10n.tr("Localizable", "welcome.linkDevice")
Quentin Muret's avatar
Quentin Muret committed
442
    /// Jami is a free and universal communication platform which preserves the users' privacy and freedoms
443
    internal static let text = L10n.tr("Localizable", "welcome.text")
444
    /// Welcome to Jami !
445
    internal static let title = L10n.tr("Localizable", "welcome.title")
446
  }
447
}
448 449 450 451
// swiftlint:enable explicit_type_interface function_parameter_count identifier_name line_length
// swiftlint:enable nesting type_body_length type_name

// MARK: - Implementation Details
452 453

extension L10n {
454 455 456
  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)
457 458 459
  }
}

460
private final class BundleToken {}