{% if step == 1 and not configOk %}

{{ 'Before starting'|t }}

{{ 'Welcome in Allerta. We need some informations about the database. You have to know the following informations:'|t }}

  1. {{ 'DB name'|t }}
  2. {{ 'DB username'|t }}
  3. {{ 'DB password'|t }}
  4. {{ 'DB host'|t }}
  5. {{ 'DB prefix'|t }}

{{ 'We will use this informations for creating a file'|t }} config.php. {{ "If for any reason automatic file creation doesn't work, don't worry. You can just open %s in a text editor, enter your details, and save it as"|t|format('config-sample.php')|raw }} config.php.

{{ "In all likelihood, this information has already been provided to you by your hosting provider. If you don't have this information, you'll need to contact your provider before you can continue. But if everything is ready..."|t }}

{% elseif step == 2 %}

{{ "Configure the database connection"|t }}

{{ "Below you can enter your database connection details. If you are not sure of the data to enter, contact your hosting provider"|t }}.

{% elseif step == 3 %}

{{ "Configuration file created successfully!"|t }}

{{ "Great job, man!"|t }} {{ "You have completed this part of the installation. Allerta can now communicate with the database"|t }}
{{ "If you are ready, it's time to..."|t }}

{% elseif configOk and not populated %}

{{ "Hurray!"|t }}

{{ "You are almost finished installing Allerta, you just need to enter some information"|t }}.

{{ "Necessary informations:"|t }}

{% elseif step == 5 %}

{{ "Installation completed successfully"|t }}.

{{ "Great job, man!"|t }} {{ "You have completed the installation. Allerta can now function properly"|t }}
{{ "If you are ready, it's time to..."|t }}

{{ "Login"|t }}

{% endif %}