Install: english comments

This commit is contained in:
Raphaël Doursenaud 2014-05-16 14:15:39 +02:00
parent ba8676dc61
commit 0fd994a687

View File

@ -212,13 +212,13 @@ else
else dolibarr_install_syslog("failed to create a new file ".$conffile." into current dir ".getcwd().". Check permission.", LOG_ERR); else dolibarr_install_syslog("failed to create a new file ".$conffile." into current dir ".getcwd().". Check permission.", LOG_ERR);
} }
// First install, on ne peut pas upgrader // First install, we can't upgrade
$allowupgrade=0; $allowupgrade=0;
} }
// Si fichier absent et n'a pu etre cree // File is missng and can't be created
if (! file_exists($conffile)) if (! file_exists($conffile))
{ {
print '<img src="../theme/eldy/img/error.png" alt="Error"> '.$langs->trans("ConfFileDoesNotExistsAndCouldNotBeCreated",$conffiletoshow); print '<img src="../theme/eldy/img/error.png" alt="Error"> '.$langs->trans("ConfFileDoesNotExistsAndCouldNotBeCreated",$conffiletoshow);
@ -231,7 +231,7 @@ if (! file_exists($conffile))
} }
else else
{ {
// Si fichier present mais ne peut etre modifie // File exists but can't be modified
if (!is_writable($conffile)) if (!is_writable($conffile))
{ {
if ($confexists) if ($confexists)
@ -248,7 +248,7 @@ else
$allowinstall=0; $allowinstall=0;
} }
// Si fichier present et peut etre modifie // File exists and can be modified
else else
{ {
if ($confexists) if ($confexists)
@ -267,12 +267,12 @@ else
} }
print "<br>\n"; print "<br>\n";
// Si prerequis ok, on affiche le bouton pour passer a l'etape suivante // Requirements ok, we display the next step button
if ($checksok) if ($checksok)
{ {
$ok=0; $ok=0;
// Try to create db connexion // Try to create db connection
if (file_exists($conffile)) if (file_exists($conffile))
{ {
include_once $conffile; include_once $conffile;
@ -523,5 +523,5 @@ $("div#AShowChoices a").click(function() {
</script>'; </script>';
pFooter(1); // 1 car ne doit jamais afficher bouton Suivant pFooter(true); // Never display next button