Add missing popup i18n messages

This commit is contained in:
hensm
2019-05-01 19:32:34 +01:00
committed by Matt Hensman
parent 85c4d11ebf
commit fc1dd28254
4 changed files with 14 additions and 4 deletions

View File

@@ -28,6 +28,8 @@ struct InitData: Codable {
let i18n_mediaTypeApp: String
let i18n_mediaTypeTab: String
let i18n_mediaTypeScreen: String
let i18n_mediaSelectCastLabel: String
let i18n_mediaSelectToLabel: String
}
struct ReceiverSelection: Codable {
@@ -101,9 +103,9 @@ class ViewController: NSViewController {
self.mediaTypePopUpButton.selectItem(at: initData.defaultMediaType.rawValue)
let mediaTypeStackView = NSStackView(views: [
makeLabel("Cast"),
makeLabel(initData.i18n_mediaSelectCastLabel),
self.mediaTypePopUpButton,
makeLabel("to:")
makeLabel(initData.i18n_mediaSelectToLabel)
])