Skip to content

Commit 4531346

Browse files
committed
Fewer localized strings.
1 parent b9f687d commit 4531346

10 files changed

+23
-2251
lines changed

Common/Localizable.xcstrings

Lines changed: 0 additions & 2224 deletions
Large diffs are not rendered by default.

Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRistSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ struct StreamWizardCustomRistSettingsView: View {
2121
var body: some View {
2222
Form {
2323
Section {
24-
TextField("rist://120.35.234.2:2030", text: $createStreamWizard.customRistUrl)
24+
TextField(String("rist://120.35.234.2:2030"), text: $createStreamWizard.customRistUrl)
2525
.textInputAutocapitalization(.never)
2626
.disableAutocorrection(true)
2727
.onChange(of: createStreamWizard.customRistUrl) { _ in

Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomRtmpSettingsView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct StreamWizardCustomRtmpSettingsView: View {
2929
Form {
3030
Section {
3131
TextField(
32-
"rtmp://arn03.contribute.live-video.net/app/",
32+
String("rtmp://arn03.contribute.live-video.net/app/"),
3333
text: $createStreamWizard.customRtmpUrl
3434
)
3535
.textInputAutocapitalization(.never)
@@ -44,7 +44,7 @@ struct StreamWizardCustomRtmpSettingsView: View {
4444
}
4545
Section {
4646
TextField(
47-
"live_48950233_okF4f455GRWEF443fFr23GRbt5rEv",
47+
String("live_48950233_okF4f455GRWEF443fFr23GRbt5rEv"),
4848
text: $createStreamWizard.customRtmpStreamKey
4949
)
5050
.textInputAutocapitalization(.never)

Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomSrtSettingsView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct StreamWizardCustomSrtSettingsView: View {
2323
var body: some View {
2424
Form {
2525
Section {
26-
TextField("srt://107.32.12.132:5000", text: $createStreamWizard.customSrtUrl)
26+
TextField(String("srt://107.32.12.132:5000"), text: $createStreamWizard.customSrtUrl)
2727
.textInputAutocapitalization(.never)
2828
.disableAutocorrection(true)
2929
.onChange(of: createStreamWizard.customSrtUrl) { _ in
@@ -36,7 +36,7 @@ struct StreamWizardCustomSrtSettingsView: View {
3636
}
3737
Section {
3838
TextField(
39-
"#!::r=stream/-NDZ1WPA4zjMBTJTyNwU,m=publish,...",
39+
String("#!::r=stream/-NDZ1WPA4zjMBTJTyNwU,m=publish,..."),
4040
text: $createStreamWizard.customSrtStreamId
4141
)
4242
.textInputAutocapitalization(.never)

Moblin/View/Settings/Streams/Stream/Wizard/Custom/StreamWizardCustomWhipSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ struct StreamWizardCustomWhipSettingsView: View {
2121
var body: some View {
2222
Form {
2323
Section {
24-
TextField("whip://120.35.234.2:2030/mystream/whip", text: $createStreamWizard.customWhipUrl)
24+
TextField(String("whip://120.12.32.12:8889/mystream/whip"), text: $createStreamWizard.customWhipUrl)
2525
.textInputAutocapitalization(.never)
2626
.disableAutocorrection(true)
2727
.onChange(of: createStreamWizard.customWhipUrl) { _ in

Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/MyServers/StreamWizardNetworkSetupMyServersRtmpSettingsView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ struct StreamWizardNetworkSetupMyServersRtmpSettingsView: View {
2929
Form {
3030
Section {
3131
TextField(
32-
"rtmp://arn03.contribute.live-video.net/app/",
32+
String("rtmp://arn03.contribute.live-video.net/app/"),
3333
text: $createStreamWizard.customRtmpUrl
3434
)
3535
.textInputAutocapitalization(.never)
@@ -44,7 +44,7 @@ struct StreamWizardNetworkSetupMyServersRtmpSettingsView: View {
4444
}
4545
Section {
4646
TextField(
47-
"live_48950233_okF4f455GRWEF443fFr23GRbt5rEv",
47+
String("live_48950233_okF4f455GRWEF443fFr23GRbt5rEv"),
4848
text: $createStreamWizard.customRtmpStreamKey
4949
)
5050
.textInputAutocapitalization(.never)

Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/MyServers/StreamWizardNetworkSetupMyServersSrtSettingsView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ struct StreamWizardNetworkSetupMyServersSrtSettingsView: View {
2323
var body: some View {
2424
Form {
2525
Section {
26-
TextField("srt://107.32.12.132:5000", text: $createStreamWizard.customSrtUrl)
26+
TextField(String("srt://107.32.12.132:5000"), text: $createStreamWizard.customSrtUrl)
2727
.textInputAutocapitalization(.never)
2828
.disableAutocorrection(true)
2929
.onChange(of: createStreamWizard.customSrtUrl) { _ in
@@ -36,7 +36,7 @@ struct StreamWizardNetworkSetupMyServersSrtSettingsView: View {
3636
}
3737
Section {
3838
TextField(
39-
"#!::r=stream/-NDZ1WPA4zjMBTJTyNwU,m=publish,...",
39+
String("#!::r=stream/-NDZ1WPA4zjMBTJTyNwU,m=publish,..."),
4040
text: $createStreamWizard.customSrtStreamId
4141
)
4242
.textInputAutocapitalization(.never)

Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupBelaboxSettingsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ struct StreamWizardNetworkSetupBelaboxSettingsView: View {
2222
Form {
2323
Section {
2424
TextField(
25-
"srtla://uk.srt.belabox.net:5000?streamid=jO4ijfFgrlpv4m2375msdoG3DDr2",
25+
String("srtla://uk.srt.belabox.net:5000?streamid=jO4ijfFgrlpv4m2375msdoG3DDr2"),
2626
text: $createStreamWizard.belaboxUrl
2727
)
2828
.textInputAutocapitalization(.never)

Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupDirectSettingsView.swift

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ struct StreamWizardNetworkSetupDirectSettingsView: View {
3030
case .twitch:
3131
Section {
3232
TextField(
33-
"rtmp://arn03.contribute.live-video.net/app",
33+
String("rtmp://arn03.contribute.live-video.net/app"),
3434
text: $createStreamWizard.directIngest
3535
)
3636
.textInputAutocapitalization(.never)
@@ -51,7 +51,7 @@ struct StreamWizardNetworkSetupDirectSettingsView: View {
5151
}
5252
Section {
5353
TextField(
54-
"live_48950233_okF4f455GRWEF443fFr23GRbt5rEv",
54+
String("live_48950233_okF4f455GRWEF443fFr23GRbt5rEv"),
5555
text: $createStreamWizard.directStreamKey
5656
)
5757
.textInputAutocapitalization(.never)
@@ -69,7 +69,7 @@ struct StreamWizardNetworkSetupDirectSettingsView: View {
6969
case .kick:
7070
Section {
7171
TextField(
72-
"rtmps://fa723fc1b171.global-contribute.live-video.net",
72+
String("rtmps://fa723fc1b171.global-contribute.live-video.net"),
7373
text: $createStreamWizard.directIngest
7474
)
7575
.textInputAutocapitalization(.never)
@@ -82,29 +82,25 @@ struct StreamWizardNetworkSetupDirectSettingsView: View {
8282
} footer: {
8383
VStack(alignment: .leading) {
8484
FormFieldError(error: ingestError)
85-
Text(
86-
"Copy from https://kick.com/dashboard/settings/stream (requires login)."
87-
)
85+
Text( "Copy from https://kick.com/dashboard/settings/stream (requires login)." )
8886
}
8987
}
9088
Section {
9189
TextField(
92-
"sk_us-west-2_okfef49k34k_34g59gGDDHGHSREj754gYJYTJERH",
90+
String("sk_us-west-2_okfef49k34k_34g59gGDDHGHSREj754gYJYTJERH"),
9391
text: $createStreamWizard.directStreamKey
9492
)
9593
.textInputAutocapitalization(.never)
9694
.disableAutocorrection(true)
9795
} header: {
9896
Text("Stream key")
9997
} footer: {
100-
Text(
101-
"Copy from https://kick.com/dashboard/settings/stream (requires login)."
102-
)
98+
Text( "Copy from https://kick.com/dashboard/settings/stream (requires login)." )
10399
}
104100
case .youTube:
105101
Section {
106102
TextField(
107-
"rtmp://a.rtmp.youtube.com/live2",
103+
String("rtmp://a.rtmp.youtube.com/live2"),
108104
text: $createStreamWizard.directIngest
109105
)
110106
.textInputAutocapitalization(.never)
@@ -122,7 +118,7 @@ struct StreamWizardNetworkSetupDirectSettingsView: View {
122118
}
123119
Section {
124120
TextField(
125-
"4bkf-8d03-g6w3-ekjh-emdc",
121+
String("4bkf-8d03-g6w3-ekjh-emdc"),
126122
text: $createStreamWizard.directStreamKey
127123
)
128124
.textInputAutocapitalization(.never)
@@ -135,7 +131,7 @@ struct StreamWizardNetworkSetupDirectSettingsView: View {
135131
case .soop:
136132
Section {
137133
TextField(
138-
"???",
134+
String("???"),
139135
text: $createStreamWizard.directIngest
140136
)
141137
.textInputAutocapitalization(.never)
@@ -153,7 +149,7 @@ struct StreamWizardNetworkSetupDirectSettingsView: View {
153149
}
154150
Section {
155151
TextField(
156-
"???",
152+
String("???"),
157153
text: $createStreamWizard.directStreamKey
158154
)
159155
.textInputAutocapitalization(.never)

Moblin/View/Settings/Streams/Stream/Wizard/NetworkSetup/StreamWizardNetworkSetupObsSettingsView.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ struct StreamWizardNetworkSetupObsSettingsView: View {
2525
var body: some View {
2626
Form {
2727
Section {
28-
TextField("213.33.45.132", text: $createStreamWizard.obsAddress)
28+
TextField(String("213.33.45.132"), text: $createStreamWizard.obsAddress)
2929
.textInputAutocapitalization(.never)
3030
.disableAutocorrection(true)
3131
} header: {
@@ -34,7 +34,7 @@ struct StreamWizardNetworkSetupObsSettingsView: View {
3434
Text("Your public IP address if streaming over the internet.")
3535
}
3636
Section {
37-
TextField("7654", text: $createStreamWizard.obsPort)
37+
TextField(String("7654"), text: $createStreamWizard.obsPort)
3838
.textInputAutocapitalization(.never)
3939
.disableAutocorrection(true)
4040
.onChange(of: createStreamWizard.obsPort) { _ in

0 commit comments

Comments
 (0)