Fix some localised strings.

This commit is contained in:
Damiano Galassi committed 2017-09-19 12:16:55 +02:00
1 parent 2362a5de03
commit 241bc4e235
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -374,9 +374,9 @@ import Cocoa
case .searching(let search, _):
switch search {
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, _, _ , _, _):
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, _, _):
switch search {
+2 -2
View File
@@ -16,8 +16,8 @@ import Foundation
self.preset = preset.copy() as! MetadataPreset
}
let localizedDescription: String = NSLocalizedString("Apply %@ preset", comment: "Action localized description.")
override var description: String { get { return NSLocalizedString("Applying %@ preset", comment: "Action description.") } }
var localizedDescription: String { return String.localizedStringWithFormat(NSLocalizedString("Applying %@ preset", comment: "Action localized description."), preset.title) }
override var description: String { return String.localizedStringWithFormat(NSLocalizedString("Apply %@ preset", comment: "Action description"), preset.title) }
func runAction(_ item: SBQueueItem) {
guard let metadata = item.mp4File?.metadata else { return }