Skip to content
Snippets Groups Projects
Commit 36df2fbd authored by Bernhard Posselt's avatar Bernhard Posselt
Browse files

fixed argument for translation

parent b2261c31
No related branches found
No related tags found
No related merge requests found
...@@ -50,16 +50,16 @@ class OC_Setup { ...@@ -50,16 +50,16 @@ class OC_Setup {
if(empty($options['dbuser'])) { if(empty($options['dbuser'])) {
$error[] = $l->t("$dbprettyname enter the database username."); $error[] = $l->t("%s enter the database username.", array($dbprettyname));
} }
if(empty($options['dbname'])) { if(empty($options['dbname'])) {
$error[] = $l->t("$dbprettyname enter the database name."); $error[] = $l->t("%s enter the database name.", array($dbprettyname));
} }
if(substr_count($options['dbname'], '.') >= 1) { if(substr_count($options['dbname'], '.') >= 1) {
$error[] = $l->t("$dbprettyname you may not use dots in the database name"); $error[] = $l->t("%s you may not use dots in the database name", array($dbprettyname));
} }
if($dbtype != 'oci' && empty($options['dbhost'])) { if($dbtype != 'oci' && empty($options['dbhost'])) {
$error[] = $l->t("$dbprettyname set the database host."); $error[] = $l->t("%s set the database host.", array($dbprettyname));
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment