Minor - Fixing labels in installation

skala
Julio Montoya 12 years ago
parent 20faf49a70
commit 0de56b63dd
  1. 5
      src/ChamiloLMS/Command/Database/CommonCommand.php
  2. 2
      src/ChamiloLMS/Command/Translation/ExportLanguagesCommand.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'

@ -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(

Loading…
Cancel
Save