]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixed argument for translation
authorBernhard Posselt <nukeawhale@gmail.com>
Mon, 11 Feb 2013 12:11:43 +0000 (13:11 +0100)
committerBernhard Posselt <nukeawhale@gmail.com>
Mon, 11 Feb 2013 12:11:43 +0000 (13:11 +0100)
lib/setup.php

index 01aa9eb019b9e9db63ffd0512e954a80eea2450a..035f1b6b8ebd47429148b98f774fa94c58f8883c 100644 (file)
@@ -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));
                        }
                }