Browse Source

Minor - Fixing labels in installation

Julio Montoya 11 years ago
parent
commit
0de56b63dd

+ 3 - 2
src/ChamiloLMS/Command/Database/CommonCommand.php

@@ -131,7 +131,7 @@ class CommonCommand extends AbstractCommand
             ),
             'email' => array(
                 'attributes' => array(
-                    'label' => 'Password',
+                    'label' => 'Email',
                     'data' =>  'admin@example.org'
                 ),
                 'type' => 'email'
@@ -239,13 +239,14 @@ class CommonCommand extends AbstractCommand
             ),
             'dbname' => array(
                 'attributes' => array(
+                    'label' => 'Database name',
                     'data' => 'chamilo',
                 ),
                 'type' => 'text'
             ),
             'user' => array(
                 'attributes' => array(
-                    'label' => 'URL',
+                    'label' => 'User',
                     'data' => 'root',
                 ),
                 'type' => 'text'

+ 1 - 1
src/ChamiloLMS/Command/Translation/ExportLanguagesCommand.php

@@ -95,7 +95,7 @@ class ExportLanguagesCommand extends Command
                             $my_variable_in_english = $$variable;
                             require $toLanguagePath.'/'.$file;
                             $my_variable = $$variable;
-
+                            /** This fixes a notice due an array in the lang files */
                             if (strpos($variable, 'langNameOfLang') === false) {
 
                                 $translations[] = array(