Skip to content

Commit

Permalink
Add complete step to the task list
Browse files Browse the repository at this point in the history
Add a final step that confirms for the user that the installation
has completed.

Signed-off-by: Mark D Horn <[email protected]>
  • Loading branch information
mdhorn committed Mar 4, 2020
1 parent 9bf7fd6 commit b54dcfb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
6 changes: 6 additions & 0 deletions controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,12 @@ func Install(rootDir string, model *model.SystemInstall, options args.Args) erro
}
}
}

// Final message to user that the installation has fully completed
msg := utils.Locale.Get("Installation Steps Complete")
prg = progress.NewLoop(msg)
log.Info(msg)
prg.Success()
}()

// expand block device's name case we've detected image replacement cases
Expand Down
3 changes: 3 additions & 0 deletions locale/en_US/LC_MESSAGES/clr-installer.po
Original file line number Diff line number Diff line change
Expand Up @@ -806,3 +806,6 @@ msgstr "This requires a working network connection.\nProceed with a network test

msgid "Network Required"
msgstr "Network Required"

msgid "Installation Steps Complete"
msgstr "Installation Steps Complete"
3 changes: 3 additions & 0 deletions locale/es_MX/LC_MESSAGES/clr-installer.po
Original file line number Diff line number Diff line change
Expand Up @@ -806,3 +806,6 @@ msgstr "Esto requiere una conexión de red que funcione.\n¿Continuar con una pr

msgid "Network Required"
msgstr "Red requerida"

msgid "Installation Steps Complete"
msgstr "Pasos de instalación completados"
3 changes: 3 additions & 0 deletions locale/zh_CN/LC_MESSAGES/clr-installer.po
Original file line number Diff line number Diff line change
Expand Up @@ -806,3 +806,6 @@ msgstr "这需要有效的网络连接\n进行网络测试"

msgid "Network Required"
msgstr "需要网络"

msgid "Installation Steps Complete"
msgstr "安装步骤完成"

0 comments on commit b54dcfb

Please sign in to comment.