Skip to content

Commit a06880f

Browse files
author
Louis Sautier
committed
fix(baremetal): fix English typos in the reinstall wizard
Some messages read like French translated word for word, e.g. "Are you sure to continue ?". Signed-off-by: Louis Sautier <louis.sautier@ovhcloud.com>
1 parent 5601205 commit a06880f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

internal/services/baremetal/reinstall_wizard_api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ func hardwareRaidWarning(group diskGroup) string {
367367
}
368368

369369
return fmt.Sprintf(
370-
"Disk group %d has a hardware RAID controller (%s), which the OVHcloud CLI does not support configuring — it will be installed in JBOD mode instead",
370+
"Disk group %d has a hardware RAID controller (%s), which the OVHcloud CLI cannot configure, so it will be installed in JBOD mode instead",
371371
group.DiskGroupID, group.RaidController)
372372
}
373373

internal/services/baremetal/reinstall_wizard_confirm.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,15 @@ func (m *reinstallWizardModel) renderConfirmStep() string {
234234
}
235235

236236
if labels := m.erasedDiskGroupLabels(); len(labels) > 1 {
237-
content.WriteString(wizardErrorStyle.Render("⚠ All data of following groups will be erased ⚠") + "\n")
237+
content.WriteString(wizardErrorStyle.Render("⚠ All data on the following disk groups will be erased ⚠") + "\n")
238238
for _, label := range labels {
239239
content.WriteString(wizardErrorStyle.Render("- "+label) + "\n")
240240
}
241241
} else {
242242
content.WriteString(wizardErrorStyle.Render(fmt.Sprintf(
243243
"⚠ All data on %s of server %s will be erased ⚠", labels[0], m.serviceName)) + "\n")
244244
}
245-
content.WriteString(wizardErrorStyle.Render("Are you sure to continue ?") + "\n\n")
245+
content.WriteString(wizardErrorStyle.Render("Are you sure you want to continue?") + "\n\n")
246246
}
247247

248248
content.WriteString(lipgloss.JoinHorizontal(lipgloss.Center,

0 commit comments

Comments
 (0)