mirror of
https://github.com/nextcloud/server.git
synced 2026-02-18 18:28:50 -05:00
fixed argument for translation
This commit is contained in:
parent
b2261c31eb
commit
36df2fbdfe
1 changed files with 4 additions and 4 deletions
|
|
@ -50,16 +50,16 @@ class OC_Setup {
|
|||
|
||||
|
||||
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'])) {
|
||||
$error[] = $l->t("$dbprettyname enter the database name.");
|
||||
$error[] = $l->t("%s enter the database name.", array($dbprettyname));
|
||||
}
|
||||
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'])) {
|
||||
$error[] = $l->t("$dbprettyname set the database host.");
|
||||
$error[] = $l->t("%s set the database host.", array($dbprettyname));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue