A free, self-hostable news aggregator…
Infos mise à jour plus verbeux et déplacés
Marien Fressinaud9de716591917
diff --git a/app/i18n/install.en.php b/app/i18n/install.en.phpindex 1c24c7d7e..0311ee9a4 100644--- a/app/i18n/install.en.php+++ b/app/i18n/install.en.php@@ -58,6 +58,8 @@ return array ('update_start' => 'Start update process','update_long' => 'This can take a long time, depending on the size of your database. You may have to wait for this page to time out (~5 minutes) and then refresh this page.',+ 'update_end' => 'Update process is completed, now you can go to the final step.',+'installation_is_ok' => 'The installation process was successful.<br />The final step will now attempt to delete the <kbd>./p/i/install.php</kbd> file and any database backup created during the update process.<br />You may choose to skip this step and delete <kbd>./p/i/install.php</kbd> manually.','finish_installation' => 'Complete installation',diff --git a/app/i18n/install.fr.php b/app/i18n/install.fr.phpindex 68927df6d..bb183642f 100644--- a/app/i18n/install.fr.php+++ b/app/i18n/install.fr.php@@ -58,6 +58,7 @@ return array ('update_start' => 'Lancer la mise à jour','update_long' => 'Ce processus peut prendre longtemps, selon la taille de votre base de données. Vous aurez peut-être à attendre que cette page dépasse son temps maximum d’exécution (~5 minutes) puis à la recharger.',+ 'update_end' => 'La mise à jour est terminée, vous pouvez maintenant passer à l’étape finale.','installation_is_ok' => 'L’installation s’est bien passée.<br />La dernière étape va maintenant tenter de supprimer le fichier <kbd>./p/i/install.php</kbd>, ainsi que d’éventuelles copies de base de données créées durant le processus de mise à jour.<br />Vous pouvez choisir de sauter cette étape et de supprimer <kbd>./p/i/install.php</kbd> manuellement.','finish_installation' => 'Terminer l’installation',diff --git a/p/i/install.php b/p/i/install.phpindex a8ea75c9c..331eda4ff 100644--- a/p/i/install.php+++ b/p/i/install.php@@ -924,17 +924,26 @@ function printStep4 () {?><form action="index.php?step=4" method="post"><legend><?php echo _t ('version_update'); ?></legend>++ <?php if (updateDatabase(false)) { ?>+ <p class="alert"><?php echo _t ('update_long'); ?></p>+<div class="form-group form-actions"><div class="group-controls">- <?php if (updateDatabase(false)) { ?><input type="hidden" name="updateDatabase" value="1" /><button type="submit" class="btn btn-important"><?php echo _t ('update_start'); ?></button>- <p><?php echo _t ('update_long'); ?></p>- <?php } else { ?>+ </div>+ </div>++ <?php } else { ?>+ <p class="alert"><?php echo _t ('update_end'); ?></p>++ <div class="form-group form-actions">+ <div class="group-controls"><a class="btn btn-important next-step" href="?step=5"><?php echo _t ('next_step'); ?></a>- <?php } ?></div></div>+ <?php } ?></form><?php}