Strings.swift 24.4 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
    /// Account Details
56
    internal static let credentialsHeader = L10n.tr("Localizable", "accountPage.credentialsHeader")
57 58 59 60 61 62 63 64 65 66 67 68 69 70
    /// 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")
71
    /// Devices
72
    internal static let devicesListHeader = L10n.tr("Localizable", "accountPage.devicesListHeader")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
73 74 75
    /// Enable Notifications
    internal static let enableNotifications = L10n.tr("Localizable", "accountPage.enableNotifications")
    /// Enable Proxy
76
    internal static let enableProxy = L10n.tr("Localizable", "accountPage.enableProxy")
77 78 79 80
    /// 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
81 82
    /// Your device won't receive notifications when proxy is disabled
    internal static let noProxyExplanationLabel = L10n.tr("Localizable", "accountPage.noProxyExplanationLabel")
83 84
    /// Other
    internal static let other = L10n.tr("Localizable", "accountPage.other")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
85 86
    /// Provide proxy address
    internal static let proxyAddressAlert = L10n.tr("Localizable", "accountPage.proxyAddressAlert")
87
    /// In order to receive notifications, please enable proxy
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
88 89 90 91 92
    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")
93 94 95 96 97 98
    /// 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")
99 100 101 102 103 104 105 106
    /// 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
107 108
    /// Save
    internal static let saveProxyAddress = L10n.tr("Localizable", "accountPage.saveProxyAddress")
109
    /// Settings
110
    internal static let settingsHeader = L10n.tr("Localizable", "accountPage.settingsHeader")
111
    /// UNBLOCK
112
    internal static let unblockContact = L10n.tr("Localizable", "accountPage.unblockContact")
113
    /// username:
114
    internal static let username = L10n.tr("Localizable", "accountPage.username")
115
    /// username: not registered
116
    internal static let usernameNotRegistered = L10n.tr("Localizable", "accountPage.usernameNotRegistered")
117 118
  }

119
  internal enum Actions {
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
120 121
    /// Back
    internal static let backAction = L10n.tr("Localizable", "actions.backAction")
122
    /// Block
123
    internal static let blockAction = L10n.tr("Localizable", "actions.blockAction")
124
    /// Cancel
125
    internal static let cancelAction = L10n.tr("Localizable", "actions.cancelAction")
126 127
    /// Clear
    internal static let clearAction = L10n.tr("Localizable", "actions.clearAction")
128
    /// Delete
129
    internal static let deleteAction = L10n.tr("Localizable", "actions.deleteAction")
130 131
  }

132
  internal enum Alerts {
133
    /// Account Added
134
    internal static let accountAddedTitle = L10n.tr("Localizable", "alerts.accountAddedTitle")
Quentin Muret's avatar
Quentin Muret committed
135
    /// 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.
136
    internal static let accountCannotBeFoundMessage = L10n.tr("Localizable", "alerts.accountCannotBeFoundMessage")
137
    /// Can't find account
138
    internal static let accountCannotBeFoundTitle = L10n.tr("Localizable", "alerts.accountCannotBeFoundTitle")
139
    /// The account couldn't be created.
140
    internal static let accountDefaultErrorMessage = L10n.tr("Localizable", "alerts.accountDefaultErrorMessage")
141
    /// Unknown error
142
    internal static let accountDefaultErrorTitle = L10n.tr("Localizable", "alerts.accountDefaultErrorTitle")
143
    /// Linking account
144
    internal static let accountLinkedTitle = L10n.tr("Localizable", "alerts.accountLinkedTitle")
Quentin Muret's avatar
Quentin Muret committed
145
    /// Could not add account because Jami couldn't connect to the distributed network. Check your device connectivity.
146
    internal static let accountNoNetworkMessage = L10n.tr("Localizable", "alerts.accountNoNetworkMessage")
147
    /// Can't connect to the network
148
    internal static let accountNoNetworkTitle = L10n.tr("Localizable", "alerts.accountNoNetworkTitle")
149
    /// Are you sure you want to block this contact? The conversation history with this contact will also be deleted permanently.
150
    internal static let confirmBlockContact = L10n.tr("Localizable", "alerts.confirmBlockContact")
151
    /// Block Contact
152
    internal static let confirmBlockContactTitle = L10n.tr("Localizable", "alerts.confirmBlockContactTitle")
153 154 155 156
    /// 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")
157
    /// Are you sure you want to delete this conversation permanently?
158
    internal static let confirmDeleteConversation = L10n.tr("Localizable", "alerts.confirmDeleteConversation")
159
    /// Are you sure you want to delete the conversation with this contact?
160
    internal static let confirmDeleteConversationFromContact = L10n.tr("Localizable", "alerts.confirmDeleteConversationFromContact")
161
    /// Delete Conversation
162
    internal static let confirmDeleteConversationTitle = L10n.tr("Localizable", "alerts.confirmDeleteConversationTitle")
163
    /// Please close application and try to open it again
164
    internal static let dbFailedMessage = L10n.tr("Localizable", "alerts.dbFailedMessage")
Quentin Muret's avatar
Quentin Muret committed
165
    /// An error happned when launching Jami
166
    internal static let dbFailedTitle = L10n.tr("Localizable", "alerts.dbFailedTitle")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
167
    /// Incoming call from 
168
    internal static let incomingCallAllertTitle = L10n.tr("Localizable", "alerts.incomingCallAllertTitle")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
169
    /// Accept
170
    internal static let incomingCallButtonAccept = L10n.tr("Localizable", "alerts.incomingCallButtonAccept")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
171
    /// Ignore
172
    internal static let incomingCallButtonIgnore = L10n.tr("Localizable", "alerts.incomingCallButtonIgnore")
173
    /// Cancel
174
    internal static let profileCancelPhoto = L10n.tr("Localizable", "alerts.profileCancelPhoto")
175
    /// Take photo
176
    internal static let profileTakePhoto = L10n.tr("Localizable", "alerts.profileTakePhoto")
177
    /// Upload photo
178
    internal static let profileUploadPhoto = L10n.tr("Localizable", "alerts.profileUploadPhoto")
179 180
  }

181 182 183 184 185
  internal enum BlockListPage {
    /// No blocked contacts
    internal static let noBlockedContacts = L10n.tr("Localizable", "blockListPage.noBlockedContacts")
  }

186
  internal enum Calls {
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
187
    /// Call finished
188
    internal static let callFinished = L10n.tr("Localizable", "calls.callFinished")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
189
    /// Call
190
    internal static let callItemTitle = L10n.tr("Localizable", "calls.callItemTitle")
191
    /// Connecting…
192
    internal static let connecting = L10n.tr("Localizable", "calls.connecting")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
193 194
    /// Call with 
    internal static let currentCallWith = L10n.tr("Localizable", "calls.currentCallWith")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
195
    /// wants to talk to you
196
    internal static let incomingCallInfo = L10n.tr("Localizable", "calls.incomingCallInfo")
197
    /// Ringing…
198
    internal static let ringing = L10n.tr("Localizable", "calls.ringing")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
199 200
    /// Searching…
    internal static let searching = L10n.tr("Localizable", "calls.searching")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
201
    /// Unknown
202
    internal static let unknown = L10n.tr("Localizable", "calls.unknown")
Kateryna Kostiuk's avatar
Kateryna Kostiuk committed
203 204
  }

205
  internal enum ContactPage {
206
    /// Block Contact
207
    internal static let blockContact = L10n.tr("Localizable", "contactPage.blockContact")
208
    /// Clear Chat
209
    internal static let clearConversation = L10n.tr("Localizable", "contactPage.clearConversation")
210 211
    /// Remove Conversation
    internal static let removeConversation = L10n.tr("Localizable", "contactPage.removeConversation")
212
    /// Send Message
213
    internal static let sendMessage = L10n.tr("Localizable", "contactPage.sendMessage")
214
    /// Start Audio Call
215
    internal static let startAudioCall = L10n.tr("Localizable", "contactPage.startAudioCall")
216
    /// Start Video Call
217
    internal static let startVideoCall = L10n.tr("Localizable", "contactPage.startVideoCall")
218 219
  }

220 221 222 223 224
  internal enum Conversation {
    /// Type your message...
    internal static let messagePlaceholder = L10n.tr("Localizable", "conversation.messagePlaceholder")
  }

225
  internal enum CreateAccount {
226 227
    /// Encrypt my account
    internal static let chooseAPassword = L10n.tr("Localizable", "createAccount.ChooseAPassword")
Quentin Muret's avatar
Quentin Muret committed
228
    /// Choose strong password you will remember to protect your Jami account.
229
    internal static let chooseStrongPassword = L10n.tr("Localizable", "createAccount.chooseStrongPassword")
230
    /// Create your account
231
    internal static let createAccountFormTitle = L10n.tr("Localizable", "createAccount.createAccountFormTitle")
232 233 234
    /// Notifications
    internal static let enableNotifications = L10n.tr("Localizable", "createAccount.EnableNotifications")
    /// Username
235
    internal static let enterNewUsernamePlaceholder = L10n.tr("Localizable", "createAccount.enterNewUsernamePlaceholder")
236
    /// invalid username
237
    internal static let invalidUsername = L10n.tr("Localizable", "createAccount.invalidUsername")
238
    /// Loading
239
    internal static let loading = L10n.tr("Localizable", "createAccount.loading")
240
    /// looking for availability…
241
    internal static let lookingForUsernameAvailability = L10n.tr("Localizable", "createAccount.lookingForUsernameAvailability")
242
    /// Password
243
    internal static let newPasswordPlaceholder = L10n.tr("Localizable", "createAccount.newPasswordPlaceholder")
244
    /// 6 characters minimum
245
    internal static let passwordCharactersNumberError = L10n.tr("Localizable", "createAccount.passwordCharactersNumberError")
246 247
    /// 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")
248
    /// passwords do not match
249
    internal static let passwordNotMatchingError = L10n.tr("Localizable", "createAccount.passwordNotMatchingError")
250 251 252 253 254
    /// (Recommended)
    internal static let recommended = L10n.tr("Localizable", "createAccount.Recommended")
    /// Register a username
    internal static let registerAUsername = L10n.tr("Localizable", "createAccount.RegisterAUsername")
    /// Confirm password
255
    internal static let repeatPasswordPlaceholder = L10n.tr("Localizable", "createAccount.repeatPasswordPlaceholder")
256 257 258 259
    /// 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")
260
    /// username already taken
261
    internal static let usernameAlreadyTaken = L10n.tr("Localizable", "createAccount.usernameAlreadyTaken")
262 263 264 265
    /// 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")
266
    /// Adding account
267
    internal static let waitCreateAccountTitle = L10n.tr("Localizable", "createAccount.waitCreateAccountTitle")
268 269
  }

270
  internal enum CreateProfile {
271 272 273 274 275 276
    /// 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")
277
    /// Next
278 279 280
    internal static let profileCreated = L10n.tr("Localizable", "createProfile.profileCreated")
    /// Skip
    internal static let skipCreateProfile = L10n.tr("Localizable", "createProfile.skipCreateProfile")
281 282 283 284
    /// 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")
285 286
  }

287
  internal enum DataTransfer {
288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305
    /// 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")
306 307
  }

308 309 310 311 312 313 314
  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")
  }

315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331
  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")
  }

332
  internal enum Global {
333
    /// Invitations
334
    internal static let contactRequestsTabBarTitle = L10n.tr("Localizable", "global.contactRequestsTabBarTitle")
335
    /// Home
336
    internal static let homeTabBarTitle = L10n.tr("Localizable", "global.homeTabBarTitle")
337
    /// Account
338
    internal static let meTabBarTitle = L10n.tr("Localizable", "global.meTabBarTitle")
339
    /// Ok
340
    internal static let ok = L10n.tr("Localizable", "global.ok")
341 342
  }

343 344 345 346 347
  internal enum Invitations {
    /// No invitations
    internal static let noInvitations = L10n.tr("Localizable", "invitations.noInvitations")
  }

348
  internal enum LinkDevice {
349
    /// An error occured during the export
350
    internal static let defaultError = L10n.tr("Localizable", "linkDevice.defaultError")
Quentin Muret's avatar
Quentin Muret committed
351
    /// 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
352
    internal static let explanationMessage = L10n.tr("Localizable", "linkDevice.explanationMessage")
353
    /// Verifying
354
    internal static let hudMessage = L10n.tr("Localizable", "linkDevice.hudMessage")
355
    /// A network error occured during the export
356
    internal static let networkError = L10n.tr("Localizable", "linkDevice.networkError")
357
    /// The password you entered does not unlock this account
358
    internal static let passwordError = L10n.tr("Localizable", "linkDevice.passwordError")
359
    /// Link a new device
360
    internal static let title = L10n.tr("Localizable", "linkDevice.title")
361 362
  }

363
  internal enum LinkToAccount {
364
    /// 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.
365
    internal static let explanationPinMessage = L10n.tr("Localizable", "linkToAccount.explanationPinMessage")
366
    /// Link device
367
    internal static let linkButtonTitle = L10n.tr("Localizable", "linkToAccount.linkButtonTitle")
368
    /// Enter Password
369
    internal static let passwordLabel = L10n.tr("Localizable", "linkToAccount.passwordLabel")
370
    /// Password
371
    internal static let passwordPlaceholder = L10n.tr("Localizable", "linkToAccount.passwordPlaceholder")
372
    /// Enter PIN
373
    internal static let pinLabel = L10n.tr("Localizable", "linkToAccount.pinLabel")
374
    /// PIN
375
    internal static let pinPlaceholder = L10n.tr("Localizable", "linkToAccount.pinPlaceholder")
376
    /// Account linking
377
    internal static let waitLinkToAccountTitle = L10n.tr("Localizable", "linkToAccount.waitLinkToAccountTitle")
378 379
  }

380 381 382 383 384 385 386
  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")
387 388
    /// New file
    internal static let newFile = L10n.tr("Localizable", "notifications.newFile")
389 390 391 392
    /// REFUSE
    internal static let refuseCall = L10n.tr("Localizable", "notifications.refuseCall")
  }

Quentin Muret's avatar
Quentin Muret committed
393 394 395 396 397 398 399
  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")
  }

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

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

// MARK: - Implementation Details
444 445

extension L10n {
446 447 448
  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)
449 450 451
  }
}

452
private final class BundleToken {}