diff --git a/frontend/locales/english.lng b/frontend/locales/english.lng index 71411f6..b397968 100644 --- a/frontend/locales/english.lng +++ b/frontend/locales/english.lng @@ -180,6 +180,8 @@ error-reinstall-confirm-title; Reinstallation aborted error-reinstall-confirm-text; You did not tick the checkbox at the bottom of the page. Please carefully read the warning, tick the checkbox, and try again. error-reinstall-notfound-title; Reinstallation aborted error-reinstall-notfound-text; The template you selected does not exist (anymore). Please select a different template. +error-reinstall-notselected-title; No template selected +error-reinstall-notselected-text; You did not select a template from the list. Please select a template and try again. error-reinstall-unavailable-title; Reinstallation aborted error-reinstall-unavailable-text; The template you selected is not available. Please select a different template. error-reinstall-failed-title; Reinstallation failed diff --git a/frontend/modules/client/vps/reinstall.php b/frontend/modules/client/vps/reinstall.php index e976960..e91f4df 100644 --- a/frontend/modules/client/vps/reinstall.php +++ b/frontend/modules/client/vps/reinstall.php @@ -90,10 +90,9 @@ if(isset($_POST['submit'])) } else { - /* TODO: Grab text from locale file. */ $sPageContents .= NewTemplater::Render("{$sTheme}/shared/error/error", $locale->strings, array( - 'title' => "No template selected", - 'message' => "You did not select a template from the list. Please select a template and try again." + 'title' => $locale->strings['error-reinstall-notselected-title'], + 'message' => $locale->strings['error-reinstall-notselected-text'] )); } }