- '$title' => $install_title,
- '$pass' => L10n::t('Database connection'),
- '$info_01' => L10n::t('In order to install Friendica we need to know how to connect to your database.'),
- '$info_02' => L10n::t('Please contact your hosting provider or site administrator if you have questions about these settings.'),
- '$info_03' => L10n::t('The database you specify below should already exist. If it does not, please create it before continuing.'),
- 'checks' => self::$installer->getChecks(),
- '$dbhost' => ['dbhost',
- L10n::t('Database Server Name'),
- $dbhost,
- '',
- 'required'],
- '$dbuser' => ['dbuser',
- L10n::t('Database Login Name'),
- $dbuser,
- '',
- 'required',
- 'autofocus'],
- '$dbpass' => ['dbpass',
- L10n::t('Database Login Password'),
- $dbpass,
- L10n::t("For security reasons the password must not be empty"),
- 'required'],
- '$dbdata' => ['dbdata',
- L10n::t('Database Name'),
- $dbdata,
- '',
- 'required'],
- '$adminmail' => ['adminmail',
- L10n::t('Site administrator email address'),
- $adminmail,
- L10n::t('Your account email address must match this in order to use the web admin panel.'),
- 'required',
- 'autofocus',
- 'email'],
- '$lbl_10' => L10n::t('Please select a default timezone for your website'),
- '$baseurl' => $a->getBaseURL(),
- '$phpath' => $phpath,
- '$submit' => L10n::t('Submit')
+ '$title' => $install_title,
+ '$pass' => DI::l10n()->t('Database connection'),
+ '$info_01' => DI::l10n()->t('In order to install Friendica we need to know how to connect to your database.'),
+ '$info_02' => DI::l10n()->t('Please contact your hosting provider or site administrator if you have questions about these settings.'),
+ '$info_03' => DI::l10n()->t('The database you specify below should already exist. If it does not, please create it before continuing.'),
+ 'checks' => self::$installer->getChecks(),
+ '$hostname' => $configCache->get('config', 'hostname'),
+ '$ssl_policy' => $configCache->get('system', 'ssl_policy'),
+ '$basepath' => $configCache->get('system', 'basepath'),
+ '$urlpath' => $configCache->get('system', 'urlpath'),
+ '$dbhost' => ['database-hostname',
+ DI::l10n()->t('Database Server Name'),
+ $configCache->get('database', 'hostname'),
+ '',
+ 'required'],
+ '$dbuser' => ['database-username',
+ DI::l10n()->t('Database Login Name'),
+ $configCache->get('database', 'username'),
+ '',
+ 'required',
+ 'autofocus'],
+ '$dbpass' => ['database-password',
+ DI::l10n()->t('Database Login Password'),
+ $configCache->get('database', 'password'),
+ DI::l10n()->t("For security reasons the password must not be empty"),
+ 'required'],
+ '$dbdata' => ['database-database',
+ DI::l10n()->t('Database Name'),
+ $configCache->get('database', 'database'),
+ '',
+ 'required'],
+ '$lbl_10' => DI::l10n()->t('Please select a default timezone for your website'),
+ '$php_path' => $configCache->get('config', 'php_path'),
+ '$submit' => DI::l10n()->t('Submit')