Skip to content

Commit 6529069

Browse files
committed
chore: improve fallback setting text
1 parent 5ea0967 commit 6529069

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

src/main/kotlin/com/coder/toolbox/views/CoderSettingsPage.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class CoderSettingsPage(context: CoderToolboxContext, triggerSshConfig: Channel<
3636
private val signatureFallbackStrategyField =
3737
CheckboxField(
3838
settings.fallbackOnCoderForSignatures.isAllowed(),
39-
context.i18n.ptrl("Fallback on releases.coder.com when CLI signatures can't be found")
39+
context.i18n.ptrl("Verify binary signature using releases.coder.com when CLI signatures are not available from the deployment")
4040
)
4141
private val enableBinaryDirectoryFallbackField =
4242
CheckboxField(

src/main/kotlin/com/coder/toolbox/views/DeploymentUrlStep.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,8 @@ class DeploymentUrlStep(
3232

3333
private val signatureFallbackStrategyField = CheckboxField(
3434
context.settingsStore.fallbackOnCoderForSignatures.isAllowed(),
35-
context.i18n.ptrl("Fallback on releases.coder.com when CLI signatures can't be found")
35+
context.i18n.ptrl("Verify binary signature using releases.coder.com when CLI signatures are not available from the deployment")
3636
)
37-
private val infoLine =
38-
LabelField(context.i18n.ptrl("Can be reconfigured later on from the Settings page"), LabelStyleType.Secondary)
3937

4038
private val errorField = ValidationErrorField(context.i18n.pnotr(""))
4139

@@ -46,7 +44,6 @@ class DeploymentUrlStep(
4644
RowGroup.RowField(urlField),
4745
RowGroup.RowField(emptyLine),
4846
RowGroup.RowField(signatureFallbackStrategyField),
49-
RowGroup.RowField(infoLine),
5047
RowGroup.RowField(errorField)
5148
)
5249

src/main/resources/localization/defaultMessages.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ msgstr ""
7979
msgid "Enable downloads"
8080
msgstr ""
8181

82-
msgid "Fallback on releases.coder.com when CLI signatures can't be found"
82+
msgid "Verify binary signature using releases.coder.com when CLI signatures are not available from the deployment"
8383
msgstr ""
8484

8585
msgid "Enable binary directory fallback"

0 commit comments

Comments
 (0)