Skip to content

Commit e311e92

Browse files
committed
Change label on the next button
- only for the last step in the wizard
1 parent c82675e commit e311e92

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/kotlin/com/coder/gateway/views/steps/CoderWorkspacesStepView.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class CoderWorkspacesStepView : CoderWorkspacesWizardStep, Disposable {
5858
.resizableColumn()
5959
.horizontalAlign(HorizontalAlign.FILL)
6060
.applyToComponent {
61-
this.text = "/home/ifaur/workspace/"
61+
this.text = "/home/coder/workspace/"
6262
}.component
6363
cell()
6464
}.topGap(TopGap.NONE)
@@ -72,7 +72,7 @@ class CoderWorkspacesStepView : CoderWorkspacesWizardStep, Disposable {
7272
}.apply { background = WelcomeScreenUIManager.getMainAssociatedComponentBackground() }
7373

7474
override val previousActionText = IdeBundle.message("button.back")
75-
override val nextActionText = "Connect"
75+
override val nextActionText = CoderGatewayBundle.message("gateway.connector.view.coder.workspaces.connect.text")
7676

7777
override fun onInit(wm: CoderWorkspacesWizardModel) {
7878
wizardModel = wm

src/main/resources/messages/CoderGatewayBundle.properties

+1
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ gateway.connector.view.login.password.label=Password:
1212
gateway.connector.view.coder.auth.next.text=Connect
1313
gateway.connector.view.login.credentials.dialog.title=Coder Credentials
1414
gateway.connector.view.coder.workspaces.next.text=Next
15+
gateway.connector.view.coder.workspaces.connect.text=Download and Start IDE
1516
gateway.connector.view.coder.workspaces.choose.text=Choose a workspace

0 commit comments

Comments
 (0)