2018-12-18 11:00:16 +00:00
|
|
|
// SPDX-License-Identifier: MIT
|
2021-06-17 14:56:46 +00:00
|
|
|
// Copyright © 2018-2021 WireGuard LLC. All Rights Reserved.
|
2018-12-18 11:00:16 +00:00
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
|
|
|
func tr(_ key: String) -> String {
|
|
|
|
return NSLocalizedString(key, comment: "")
|
|
|
|
}
|
|
|
|
|
|
|
|
func tr(format: String, _ arguments: CVarArg...) -> String {
|
|
|
|
return String(format: NSLocalizedString(format, comment: ""), arguments: arguments)
|
|
|
|
}
|