summaryrefslogtreecommitdiffstats
path: root/lib/setup.php
diff options
context:
space:
mode:
authorBernhard Posselt <nukeawhale@gmail.com>2013-02-11 13:11:43 +0100
committerBernhard Posselt <nukeawhale@gmail.com>2013-02-11 13:11:43 +0100
commit36df2fbdfedd6bdf9429fb11f516913c8afe7229 (patch)
tree3b62e9833c9971ce5d1768f5989e88e6865987b7 /lib/setup.php
parentb2261c31eb3a7d45a0aacad90459b924503c8dac (diff)
downloadnextcloud-server-36df2fbdfedd6bdf9429fb11f516913c8afe7229.tar.gz
nextcloud-server-36df2fbdfedd6bdf9429fb11f516913c8afe7229.zip
fixed argument for translation
Diffstat (limited to 'lib/setup.php')
-rw-r--r--lib/setup.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/setup.php b/lib/setup.php
index 01aa9eb019b..035f1b6b8eb 100644
--- a/lib/setup.php
+++ b/lib/setup.php
@@ -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));
}
}