mirror of
https://github.com/yattee/yattee.git
synced 2024-12-23 05:53:41 +00:00
8 lines
190 B
Swift
8 lines
190 B
Swift
|
import Foundation
|
||
|
|
||
|
extension String {
|
||
|
func localized(_ comment: String = "") -> Self {
|
||
|
NSLocalizedString(self, tableName: "Localizable", bundle: .main, comment: comment)
|
||
|
}
|
||
|
}
|