Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf99d936

Browse files
committed
chore: remove "VPN" from setting description
Change-Id: If1e0c81dd7188eea92f814424a997944a07caf86Signed-off-by: Thomas Kosiewski <tk@coder.com>
1 parenta906e98 commitf99d936

File tree

7 files changed

+12
-10
lines changed

7 files changed

+12
-10
lines changed

‎Coder Desktop/Coder Desktop/NetworkExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ extension CoderVPNService {
5050
logger.debug("inserting new tunnel")
5151

5252
lettm=NETunnelProviderManager()
53-
tm.localizedDescription="CoderVPN"
53+
tm.localizedDescription="Coder"
5454
tm.protocolConfiguration= proto
5555

5656
logger.debug("saving new tunnel")

‎Coder Desktop/Coder Desktop/Views/Settings/GeneralTab.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ struct GeneralTab: View {
1010
}
1111
Section{
1212
Toggle(isOn: $state.stopVPNOnQuit){
13-
Text("StopVPN on Quit")
13+
Text("StopCoder network connection on Quit")
1414
}
1515
}
1616
}.formStyle(.grouped)

‎Coder Desktop/Coder Desktop/Views/VPNMenu.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ struct VPNMenu<VPN: VPNService>: View {
2020
}
2121
}
2222
)){
23-
Text("CoderVPN")
23+
Text("Coder")
2424
.frame(maxWidth:.infinity, alignment:.leading)
2525
.font(.body.bold())
2626
.foregroundColor(.primary)

‎Coder Desktop/Coder Desktop/Views/VPNState.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ struct VPNState<VPN: VPNService>: View {
1414
.font(.body)
1515
.foregroundStyle(.secondary)
1616
case(_,false):
17-
Text("Sign in to useCoderVPN")
17+
Text("Sign in to useCoder Desktop")
1818
.font(.body)
1919
.foregroundColor(.secondary)
2020
case(.disabled, _):
21-
Text("EnableCoderVPN to see workspaces")
21+
Text("EnableCoder to see workspaces")
2222
.font(.body)
2323
.foregroundStyle(.secondary)
2424
case(.connecting, _),(.disconnecting, _):
2525
HStack{
2626
Spacer()
2727
ProgressView(
28-
vpn.state==.connecting?"StartingCoderVPN...":"StoppingCoderVPN..."
28+
vpn.state==.connecting?"StartingCoder...":"StoppingCoder..."
2929
).padding()
3030
Spacer()
3131
}

‎Coder Desktop/Coder DesktopTests/VPNMenuTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ struct VPNMenuTests {
2424
tryawait sut.inspection.inspect{ viewin
2525
lettoggle=try view.find(ViewType.Toggle.self)
2626
#expect(toggle.isDisabled())
27-
#expect(throws:Never.self){try view.find(text:"Sign in to useCoderVPN")}
27+
#expect(throws:Never.self){try view.find(text:"Sign in to useCoder Desktop")}
2828
#expect(throws:Never.self){try view.find(button:"Sign in")}
2929
}
3030
}

‎Coder Desktop/Coder DesktopTests/VPNStateTests.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct VPNStateTests {
2626
tryawaitViewHosting.host(view){
2727
tryawait sut.inspection.inspect{ viewin
2828
#expect(throws:Never.self){
29-
try view.find(text:"EnableCoderVPN to see workspaces")
29+
try view.find(text:"EnableCoder to see workspaces")
3030
}
3131
}
3232
}
@@ -39,7 +39,7 @@ struct VPNStateTests {
3939
tryawaitViewHosting.host(view){
4040
tryawait sut.inspection.inspect{ viewin
4141
letprogressView=try view.find(ViewType.ProgressView.self)
42-
#expect(try progressView.labelView().text().string()=="StartingCoderVPN...")
42+
#expect(try progressView.labelView().text().string()=="StartingCoder...")
4343
}
4444
}
4545
}
@@ -51,7 +51,7 @@ struct VPNStateTests {
5151
tryawaitViewHosting.host(view){
5252
tryawait sut.inspection.inspect{ viewin
5353
letprogressView=try view.find(ViewType.ProgressView.self)
54-
#expect(try progressView.labelView().text().string()=="StoppingCoderVPN...")
54+
#expect(try progressView.labelView().text().string()=="StoppingCoder...")
5555
}
5656
}
5757
}

‎Coder Desktop/VPN/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<dict>
55
<key>NSSystemExtensionUsageDescription</key>
66
<string></string>
7+
<key>CFBundleDisplayName</key>
8+
<string>Coder Desktop Network Extension</string>
79
<key>NetworkExtension</key>
810
<dict>
911
<key>NEMachServiceName</key>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp