123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257 |
- // swiftlint:disable all
- // Generated using SwiftGen — https://github.com/SwiftGen/SwiftGen
- import Foundation
- // swiftlint:disable superfluous_disable_command file_length implicit_return
- // MARK: - Strings
- // swiftlint:disable explicit_type_interface function_parameter_count identifier_name line_length
- // swiftlint:disable nesting type_body_length type_name vertical_whitespace_opening_braces
- internal enum L10n {
- /// 提示
- internal static let alert = L10n.tr("Localizable", "Alert")
- /// 全部文件
- internal static let allFile = L10n.tr("Localizable", "All File")
- ///
- internal static let alt = L10n.tr("Localizable", "Alt")
- ///
- internal static let bgColor = L10n.tr("Localizable", "BG Color")
- /// 取消
- internal static let cancel = L10n.tr("Localizable", "Cancel")
- /// 选择
- internal static let choose = L10n.tr("Localizable", "Choose")
- /// 选择移动位置
- internal static let chooseMovePosition = L10n.tr("Localizable", "Choose Move Position")
- /// 清除照片
- internal static let clearPhoto = L10n.tr("Localizable", "Clear Photo")
- /// 我分享的文件
- internal static let cloudFileMyShareFiles = L10n.tr("Localizable", "Cloud File My Share Files")
- /// 分享给我的
- internal static let cloudFileShareToMe = L10n.tr("Localizable", "Cloud File Share To Me")
- /// 文档
- internal static let cloudFileTypeDocument = L10n.tr("Localizable", "Cloud File Type Document")
- /// 图片
- internal static let cloudFileTypeImage = L10n.tr("Localizable", "Cloud File Type Image")
- /// 音乐
- internal static let cloudFileTypeMusic = L10n.tr("Localizable", "Cloud File Type Music")
- /// 其它
- internal static let cloudFileTypeOther = L10n.tr("Localizable", "Cloud File Type Other")
- /// 视频
- internal static let cloudFileTypeVideo = L10n.tr("Localizable", "Cloud File Type Video")
- /// 云盘
- internal static let cloudFiles = L10n.tr("Localizable", "Cloud Files")
- /// 创建文件夹失败!
- internal static let createFolderErrorMessage = L10n.tr("Localizable", "Create Folder Error Message")
- /// 删除
- internal static let delete = L10n.tr("Localizable", "Delete")
- /// 确定要删除这些数据吗?
- internal static let deleteItemsConfirmMessage = L10n.tr("Localizable", "Delete Items Confirm Message")
- /// 确定要取消这些分享的数据吗?
- internal static let deleteMyShareFileConfirmMessage = L10n.tr("Localizable", "Delete My Share File Confirm Message")
- /// 完成
- internal static let done = L10n.tr("Localizable", "Done")
- /// 编辑
- internal static let edit = L10n.tr("Localizable", "Edit")
- /// App
- internal static let app = L10n.tr("Localizable", "App")
-
- /// 名称不能为空!
- internal static let emptyNameErrorMessage = L10n.tr("Localizable", "Empty name Error Message")
- ///
- internal static let failedToConvertValueFromDataAtPath = L10n.tr("Localizable", "Failed to convert value from data at path %@")
- ///
- internal static let failedToConvertValueFromDataAtURL = L10n.tr("Localizable", "Failed to convert value from data at URL %@")
- ///
- internal static let formatNotFound = L10n.tr("Localizable", "Format %@ not found")
- ///
- internal static let identifyFailed = L10n.tr("Localizable", "Identify failed")
- ///
- internal static let insert = L10n.tr("Localizable", "Insert")
- ///
- internal static let insertImage = L10n.tr("Localizable", "Insert Image")
- ///
- internal static let insertImageFromDevice = L10n.tr("Localizable", "Insert Image From Device")
- ///
- internal static let insertLink = L10n.tr("Localizable", "Insert Link")
- /// 移动
- internal static let move = L10n.tr("Localizable", "Move")
- /// 新建
- internal static let new = L10n.tr("Localizable", "New")
- /// 新建文件夹
- internal static let newFolder = L10n.tr("Localizable", "New Folder")
- ///
- internal static let objectNotFoundForKey = L10n.tr("Localizable", "Object not found for key %@")
- /// 確定
- internal static let ok = L10n.tr("Localizable", "OK")
- ///
- internal static let pickImage = L10n.tr("Localizable", "Pick Image")
- ///
- internal static let pickNewImage = L10n.tr("Localizable", "Pick New Image")
- /// 重命名
- internal static let rename = L10n.tr("Localizable", "Rename")
- ///
- internal static let requestExpectedLdBytesAndReceivedLdBytes = L10n.tr("Localizable", "Request expected %ld bytes and received %ld bytes")
- /// 分享
- internal static let share = L10n.tr("Localizable", "Share")
- /// 取消分享
- internal static let shareDelete = L10n.tr("Localizable", "Share Delete")
- /// 屏蔽共享
- internal static let shieldShare = L10n.tr("Localizable", "Shield Share")
- /// 确定要屏蔽这些分享给你的数据吗?
- internal static let shieldShareFileConfirmMessage = L10n.tr("Localizable", "Shield Share File Confirm Message")
- ///
- internal static let textColor = L10n.tr("Localizable", "Text Color")
- /// 标题
- internal static let title = L10n.tr("Localizable", "Title")
- /// 更新
- internal static let update = L10n.tr("Localizable", "Update")
- /// 上传文件
- internal static let uploadFile = L10n.tr("Localizable", "Upload File")
- ///
- internal static let urlRequired = L10n.tr("Localizable", "URL (required)")
- ///
- internal static let 取消 = L10n.tr("Localizable", "取消")
- /// 更新成功
- internal static let applicationsUpdateSuccess = L10n.tr("Localizable", "Applications update success")
- ///
- internal static let applicationsUrlRequestError = L10n.tr("Localizable", "Applications Url request error")
- ///
- internal static let applicationsUrlIsEmpty = L10n.tr("Localizable", "Applications Url is empty")
-
- internal static let applicationsMainApp = L10n.tr("Localizable", "Applications Main App")
- internal static let applicationsNativeApp = L10n.tr("Localizable", "Applications Native App")
- internal static let applicationsPortalApp = L10n.tr("Localizable", "Applications Portal App")
-
- internal static let mainBarIm = L10n.tr("Localizable", "Main Bar IM")
- internal static let mainBarContacts = L10n.tr("Localizable", "Main Bar Contacts")
- internal static let mainBarApps = L10n.tr("Localizable", "Main Bar App")
- internal static let mainBarSettings = L10n.tr("Localizable", "Main Bar Settings")
-
-
- internal static let copy = L10n.tr("Localizable", "Copy")
- internal static let copySuccess = L10n.tr("Localizable", "Copy succeeded")
-
- internal static let sms = L10n.tr("Localizable", "SMS")
- internal static let smsFail = L10n.tr("Localizable", "SMS Fail")
- internal static let call = L10n.tr("Localizable", "CALL")
- internal static let callFail = L10n.tr("Localizable", "CALL Fail")
-
- /// Login
- internal enum Login {
- internal static let jailbrokenAlertMessage = L10n.tr("Localizable", "Login Jailbroken alert message")
- internal static let serverConfigInfoError = L10n.tr("Localizable", "Login Server config info error")
- internal static let ServerConfigIsEmpty = L10n.tr("Localizable", "Login Server config info is empty")
- internal static let UnknownError = L10n.tr("Localizable", "Login Unknown error")
- internal static let rebind = L10n.tr("Localizable", "Login Rebind")
- internal static let canNotGetServerList = L10n.tr("Localizable", "Login Can not get server list")
- internal static let binding = L10n.tr("Localizable", "Login binding")
- internal static let pleaseEnterValidationCode = L10n.tr("Localizable", "Login Please enter validation code")
- internal static let pleaseEnterMobilePhone = L10n.tr("Localizable", "Login Please enter mobile phone")
- internal static let mobilePhoneValidate = L10n.tr("Localizable", "Login Mobile phone validate")
- internal static let guidePage = L10n.tr("Localizable", "Login Guide page")
- internal static let nextStep = L10n.tr("Localizable", "Login Next step")
- internal static let selectServiceNode = L10n.tr("Localizable", "Login Select service node")
- internal static let donotScreenshot = L10n.tr("Localizable", "Login Do not screenshot")
- internal static let faceRecognitionLogin = L10n.tr("Localizable", "Login Face recognition login")
- internal static let fingerprintIdentificationLogin = L10n.tr("Localizable", "Login Fingerprint identification login")
- internal static let rebindToNewServiceNode = L10n.tr("Localizable", "Login Rebind to the new service node")
- internal static let passwordLogin = L10n.tr("Localizable", "Login Password login")
- internal static let verificationCodeLogin = L10n.tr("Localizable", "Login Verification code login")
- internal static let selectFollowLoginMethod = L10n.tr("Localizable", "Login Select the following login method")
- internal static let mobilePhoneNumberPasswordIsEmptry = L10n.tr("Localizable", "Login Mobile phone number or password is empty")
- internal static let sendCodeFail = L10n.tr("Localizable", "Login Send code fail")
-
- internal static let verifyLoginNow = L10n.tr("Localizable", "Login Verify login now")
- internal static let login = L10n.tr("Localizable", "Login Login")
- internal static let loginWithUsername = L10n.tr("Localizable", "Login Login with user name")
- internal static let bioLocked = L10n.tr("Localizable", "Login Bio auth locked")
- internal static let verificationFailed = L10n.tr("Localizable", "Login Verification failed")
- internal static let donotSupportBio = L10n.tr("Localizable", "Login do not support bio")
- internal static let loginFailUseOtherMethod = L10n.tr("Localizable", "Login Login fail use other method")
- internal static let getVarificationCode = L10n.tr("Localizable", "Login Get verification code")
- internal static let recapture = L10n.tr("Localizable", "Login Recapture")
- internal static let currentBindServer = L10n.tr("Localizable", "Login Current Bind Server")
- internal static func loginErrorWith(_ info: String) -> String {
- return L10n.tr("Localizable", "Login Login fail error", info)
- }
- internal static func errorWithInfo(_ info: String) -> String {
- return L10n.tr("Localizable", "Login Error with info", info)
- }
- internal static func rebindConfirmMessage(_ message: String) -> String {
- return L10n.tr("Localizable", "Login Confirm rebind message", message)
- }
- }
-
- internal enum Contacts {
- internal static let searchPlaceholder = L10n.tr("Localizable", "Contacts Search placeholder")
- internal static let topContacts = L10n.tr("Localizable", "Contacts Top contacts")
- internal static let myDepartment = L10n.tr("Localizable", "Contacts My department")
- internal static let orgStructre = L10n.tr("Localizable", "Contacts Org structure")
-
- internal static let enterpriseInformation = L10n.tr("Localizable", "Contacts Enterprise information")
- internal static let personName = L10n.tr("Localizable", "Contacts Person name")
- internal static let employeeNumber = L10n.tr("Localizable", "Contacts Employee number")
- internal static let uniqueCode = L10n.tr("Localizable", "Contacts Unique code")
- internal static let contactNumber = L10n.tr("Localizable", "Contacts Contact number")
- internal static let email = L10n.tr("Localizable", "Contacts Email")
- internal static let dept = L10n.tr("Localizable", "Contacts Dept")
-
- internal static let officePhone = L10n.tr("Localizable", "Contacts officePhone")
- internal static let superior = L10n.tr("Localizable", "Contacts superior")
- internal static let boardDate = L10n.tr("Localizable", "Contacts board date")
- internal static let description = L10n.tr("Localizable", "Contacts desc")
- internal static let personAttributes = L10n.tr("Localizable", "Contacts Person Attributes")
-
-
- internal static let initiateChat = L10n.tr("Localizable", "Contacts Initiate chat")
- internal static let unableToCreatChat = L10n.tr("Localizable", "Contacts Unable to create chat")
- internal static let sendEmail = L10n.tr("Localizable", "Contacts Send emails")
- internal static let sendEmailError = L10n.tr("Localizable", "Contacts Send emails Error")
- }
-
- internal enum Search {
- internal static let search = L10n.tr("Localizable", "Search")
- internal static let searchNoResult = L10n.tr("Localizable", "Search No Result")
- internal static let deleteAllSearchHistory = L10n.tr("Localizable", "Search Delete all search history")
- internal static let placeholder = L10n.tr("Localizable", "Search Placeholder")
- internal static let cmsCategory = L10n.tr("Localizable", "Search Cms category")
- internal static let processName = L10n.tr("Localizable", "Search Process Name")
- }
-
-
- internal static func errorWithMsg(_ message: String) -> String {
- return L10n.tr("Localizable", "Error with info", message)
- }
- internal enum ImageScale0 {
- ///
- internal static let _5ByDefault = L10n.tr("Localizable", "Image scale, 0.5 by default")
- }
- }
- // 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 L10n {
- 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
|