Skip to content

Commit

Permalink
Use database engine instead of schema in frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed May 8, 2024
1 parent 76a9e34 commit de6568a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions plugins/Installation/FormDatabaseSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ function init()
->addRule('required', Piwik::translate('General_Required', Piwik::translate('Installation_DatabaseSetupAdapter')));

$this->addElement('select', 'schema')
->setLabel(Piwik::translate('Installation_DatabaseSetupSchema'))
->setLabel(Piwik::translate('Installation_DatabaseSetupEngine'))
->loadOptions(['Mysql' => 'MySQL', 'Mariadb' => 'MariaDB'])
->addRule('required', Piwik::translate('General_Required', Piwik::translate('Installation_DatabaseSetupSchema')));
->addRule('required', Piwik::translate('General_Required', Piwik::translate('Installation_DatabaseSetupEngine')));

$this->addElement('submit', 'submit', array('value' => Piwik::translate('General_Next') . ' »', 'class' => 'btn'));

Expand Down
2 changes: 1 addition & 1 deletion plugins/Installation/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"DatabaseSetupDatabaseName": "Database Name",
"DatabaseSetupLogin": "Login",
"DatabaseSetupServer": "Database Server",
"DatabaseSetupSchema": "Database Schema",
"DatabaseSetupEngine": "Database Engine",
"DatabaseSetupTablePrefix": "Table Prefix",
"Email": "Email",
"Extension": "extension",
Expand Down

0 comments on commit de6568a

Please sign in to comment.