mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-10 17:49:58 +00:00
Add missing popup i18n messages
This commit is contained in:
@@ -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)
|
||||
])
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user