further renaming
This commit is contained in:
1 parent
9e41537554
commit
ee03f6b866
353 files changed
+14
-15
No files matched your search
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// SwiftLocalizationHelper.swift
|
||||
// VoidLink
|
||||
//
|
||||
// Created by True砖家 on 2024/7/23.
|
||||
// Copyright © True砖家 on Bilibili. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
class SwiftLocalizationHelper {
|
||||
|
||||
static func localizedString(forKey key: String, _ args: CVarArg...) -> String {
|
||||
let format = NSLocalizedString(key, tableName: "Localizable", bundle: .main, value: "", comment: "")
|
||||
return String(format: format, arguments: args)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user