Internationalize default admin name in installation procedure

1.10.x
Yannick Warnier 10 years ago
parent 2a08676c04
commit 8ae55e493c
  1. 4
      main/install/index.php
  2. 2
      main/lang/english/trad4all.inc.php
  3. 2
      main/lang/french/trad4all.inc.php
  4. 2
      main/lang/spanish/trad4all.inc.php

@ -204,8 +204,8 @@ if (!isset($_GET['running'])) {
if (isset($email_parts[1]) && $email_parts[1] == 'localhost') {
$emailForm .= '.localdomain';
}
$adminLastName = 'Doe';
$adminFirstName = 'John';
$adminLastName = get_lang('DefaultInstallAdminLastname');
$adminFirstName = get_lang('DefaultInstallAdminFirstname');
$loginForm = 'admin';
$passForm = api_generate_password();

@ -7243,4 +7243,6 @@ $ForumThreadPeerScoringComment = "If selected, this option will require each stu
$ForumThreadPeerScoringStudentComment = "To get the expected score in this forum, your contribution will have to be scored by another student, and you will have to score at least 2 other students' contributions. Until you reach this objective, even if scored, your contribution will show as a 0 score in the global grades for this course.";
$Readable = "Readable";
$NotReadable = "Not readable";
$DefaultInstallAdminFirstname = "John";
$DefaultInstallAdminLastname = "Doe";
?>

@ -7232,4 +7232,6 @@ $ForumThreadPeerScoringComment = "Lorsque cette option est sélectionnée, chaqu
$ForumThreadPeerScoringStudentComment = "Afin d'obtenir le résultat (note) de votre participation dans ce fil de discussion, votre participation devra être évaluée par un autre étudiant, et vous devrez avoir évalué un minimum de 2 autres étudiants. Votre participation restera à 0, même si vous avez été évalué, jusqu'à ce que vous ayez réalisé votre évaluation de 2 autres étudiants.";
$Readable = "Lisible";
$NotReadable = "Non accessible en lecture";
$DefaultInstallAdminFirstname = "Jean";
$DefaultInstallAdminLastname = "Dupont";
?>

@ -7272,4 +7272,6 @@ $ForumThreadPeerScoringComment = "Si esta opción está seleccionada, requerirá
$ForumThreadPeerScoringStudentComment = "Para obtener su resultado en este tema de discusión, su participación tendrá que ser evaluada por lo mínimo por un otro estudiante, y usted tendrá que evaluar por lo mínimo la participación 2 otros estudiantes. Hasta que lo haya hecho, su resultado se mantendrá a 0 aquí y, de ser el caso, en los resultados de este tema de foro en la hoja de evaluación global del curso.";
$Readable = "Accesible en lectura";
$NotReadable = "No accesible en lectura";
$DefaultInstallAdminFirstname = "Juan";
$DefaultInstallAdminLastname = "Perez";
?>
Loading…
Cancel
Save