Fix some localised strings.
This commit is contained in:
2 files changed
+4
-4
No files matched your search
@@ -374,9 +374,9 @@ import Cocoa
|
|||||||
case .searching(let search, _):
|
case .searching(let search, _):
|
||||||
switch search {
|
switch search {
|
||||||
case .movieSeach(let service, _, _):
|
case .movieSeach(let service, _, _):
|
||||||
progressText.stringValue = NSLocalizedString("Searching \(service.name) for movie information…", comment: "")
|
progressText.stringValue = String.localizedStringWithFormat(NSLocalizedString("Searching %@ for movie information…", comment: ""), service.name)
|
||||||
case .tvSearch(let service, _, _ , _, _):
|
case .tvSearch(let service, _, _ , _, _):
|
||||||
progressText.stringValue = NSLocalizedString("Searching \(service.name) for episode information…", comment: "")
|
progressText.stringValue = String.localizedStringWithFormat(NSLocalizedString("Searching %@ for episode information…", comment: ""), service.name)
|
||||||
}
|
}
|
||||||
case .additionalSearch(let search, _, _):
|
case .additionalSearch(let search, _, _):
|
||||||
switch search {
|
switch search {
|
||||||
|
|||||||
@@ -16,8 +16,8 @@ import Foundation
|
|||||||
self.preset = preset.copy() as! MetadataPreset
|
self.preset = preset.copy() as! MetadataPreset
|
||||||
}
|
}
|
||||||
|
|
||||||
let localizedDescription: String = NSLocalizedString("Apply %@ preset", comment: "Action localized description.")
|
var localizedDescription: String { return String.localizedStringWithFormat(NSLocalizedString("Applying %@ preset", comment: "Action localized description."), preset.title) }
|
||||||
override var description: String { get { return NSLocalizedString("Applying %@ preset", comment: "Action description.") } }
|
override var description: String { return String.localizedStringWithFormat(NSLocalizedString("Apply %@ preset", comment: "Action description"), preset.title) }
|
||||||
|
|
||||||
func runAction(_ item: SBQueueItem) {
|
func runAction(_ item: SBQueueItem) {
|
||||||
guard let metadata = item.mp4File?.metadata else { return }
|
guard let metadata = item.mp4File?.metadata else { return }
|
||||||
|
|||||||
Reference in new issue
Block a user