Merge branch 'bugfix/install' into 'master'

Bugfix/install

See merge request !168
This commit is contained in:
Antonin 2017-03-19 18:25:04 +01:00
commit 53cf6498ed
9 changed files with 32 additions and 11 deletions

View File

@ -101,8 +101,10 @@ if (extension_loaded('intl')) {
$messages[] = new Message('danger', __('Check','You need to enable the PHP Intl extension.')); $messages[] = new Message('danger', __('Check','You need to enable the PHP Intl extension.'));
} }
// Is template compile dir writable ? // Is template compile dir exists and writable ?
if (is_writable(ROOT_DIR . COMPILE_DIR)) { if (!file_exists(ROOT_DIR . COMPILE_DIR)) {
$messages[] = new Message('danger', __f('Check','The template compile directory (%s) doesn\'t exist in "%s". Retry the installation process.', COMPILE_DIR, realpath(ROOT_DIR)));
} elseif (is_writable(ROOT_DIR . COMPILE_DIR)) {
$messages[] = new Message('info', __f('Check','The template compile directory (%s) is writable.', realpath(ROOT_DIR . COMPILE_DIR))); $messages[] = new Message('info', __f('Check','The template compile directory (%s) is writable.', realpath(ROOT_DIR . COMPILE_DIR)));
} else { } else {
$messages[] = new Message('danger', __f('Check','The template compile directory (%s) is not writable.', realpath(ROOT_DIR . COMPILE_DIR))); $messages[] = new Message('danger', __f('Check','The template compile directory (%s) is not writable.', realpath(ROOT_DIR . COMPILE_DIR)));

View File

@ -321,7 +321,8 @@
"Purged:": "Spurjet:", "Purged:": "Spurjet:",
"Confirm removal of the poll": "Kadarnait dilemel ar sontadeg", "Confirm removal of the poll": "Kadarnait dilemel ar sontadeg",
"polls in the database at this time": "sontadeg er stlennvon", "polls in the database at this time": "sontadeg er stlennvon",
"Purge the polls": "Spurjañ ar sontadegoù" "Purge the polls": "Spurjañ ar sontadegoù",
"Installation": "BR_Installation"
}, },
"FindPolls": { "FindPolls": {
"Send me my polls": "Kasit din ma sontadegoù", "Send me my polls": "Kasit din ma sontadegoù",
@ -412,6 +413,7 @@
"PHP version %s is enough (needed at least PHP %s).": "Trawalc'h eo an handelv PHP %s (PHP %s goulennet d'an nebeutañ).", "PHP version %s is enough (needed at least PHP %s).": "Trawalc'h eo an handelv PHP %s (PHP %s goulennet d'an nebeutañ).",
"You need to enable the PHP Intl extension.": "Ret eo deoc'h gweredekaat an askouezh PHP Intl.", "You need to enable the PHP Intl extension.": "Ret eo deoc'h gweredekaat an askouezh PHP Intl.",
"PHP Intl extension is enabled.": "Gweredekaet eo an askouezh PHP Intl.", "PHP Intl extension is enabled.": "Gweredekaet eo an askouezh PHP Intl.",
"The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.": "BR_The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.",
"The template compile directory (%s) is not writable.": "N'haller ket skrivañ e kavlec'h kempunañ ar patromoù (%s).", "The template compile directory (%s) is not writable.": "N'haller ket skrivañ e kavlec'h kempunañ ar patromoù (%s).",
"The template compile directory (%s) is writable.": "Gallout a raer skrivañ e kavlec'h kempunañ ar patromoù (%s).", "The template compile directory (%s) is writable.": "Gallout a raer skrivañ e kavlec'h kempunañ ar patromoù (%s).",
"The config file directory (%s) is not writable and the config file (%s) dos not exists.": "N'haller ket skrivañ e kavlec'h ar restr kefluniañ (%s) ha n'eus ket eus ar restr kefluniañ (%s).", "The config file directory (%s) is not writable and the config file (%s) dos not exists.": "N'haller ket skrivañ e kavlec'h ar restr kefluniañ (%s) ha n'eus ket eus ar restr kefluniañ (%s).",

View File

@ -323,7 +323,8 @@
"Purged:": "Entfernt:", "Purged:": "Entfernt:",
"Confirm removal of the poll": "Bestätigen Sie die Löschung der Umfrage", "Confirm removal of the poll": "Bestätigen Sie die Löschung der Umfrage",
"polls in the database at this time": "Umfragen derzeit in der Datenbank", "polls in the database at this time": "Umfragen derzeit in der Datenbank",
"Purge the polls": "Umfragen vollständig löschen" "Purge the polls": "Umfragen vollständig löschen",
"Installation": "DE_Installation"
}, },
"FindPolls": { "FindPolls": {
"Send me my polls": "Senden Sie mir mein Umfragen", "Send me my polls": "Senden Sie mir mein Umfragen",
@ -413,6 +414,7 @@
"PHP version %s is enough (needed at least PHP %s).": "PHP Version %s ist ausreichend (mindestens PHP %s wird benötigt).", "PHP version %s is enough (needed at least PHP %s).": "PHP Version %s ist ausreichend (mindestens PHP %s wird benötigt).",
"You need to enable the PHP Intl extension.": "Sie müssen die PHP-Erweiterung Intl aktivieren.", "You need to enable the PHP Intl extension.": "Sie müssen die PHP-Erweiterung Intl aktivieren.",
"PHP Intl extension is enabled.": "Die PHP-Erweiterung Intl ist aktiviert.", "PHP Intl extension is enabled.": "Die PHP-Erweiterung Intl ist aktiviert.",
"The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.": "DE_The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.",
"The template compile directory (%s) is not writable.": "Der Vorlagen-Übersetzungspfad (%s) ist nicht beschreibbar.", "The template compile directory (%s) is not writable.": "Der Vorlagen-Übersetzungspfad (%s) ist nicht beschreibbar.",
"The template compile directory (%s) is writable.": "Der Vorlagen-Übersetzungspfad (%s) ist beschreibbar.", "The template compile directory (%s) is writable.": "Der Vorlagen-Übersetzungspfad (%s) ist beschreibbar.",
"The config file directory (%s) is not writable and the config file (%s) dos not exists.": "Der Konfigurationspfad (%s) ist nicht beschreibbar und es existiert keine Konfigurationsdatei (%s).", "The config file directory (%s) is not writable and the config file (%s) dos not exists.": "Der Konfigurationspfad (%s) ist nicht beschreibbar und es existiert keine Konfigurationsdatei (%s).",

View File

@ -323,7 +323,8 @@
"Purged:": "Purged:", "Purged:": "Purged:",
"Confirm removal of the poll": "Confirm removal of the poll ", "Confirm removal of the poll": "Confirm removal of the poll ",
"polls in the database at this time": "polls in the database at this time", "polls in the database at this time": "polls in the database at this time",
"Purge the polls": "Purge the polls" "Purge the polls": "Purge the polls",
"Installation": "Installation"
}, },
"FindPolls": { "FindPolls": {
"Send me my polls": "Send me my polls", "Send me my polls": "Send me my polls",
@ -333,7 +334,6 @@
"Have a good day!": "Have a good day!", "Have a good day!": "Have a good day!",
"PS: this email has been sent because you or someone else asked to get back the polls created with your email address.": "PS: this email has been sent because you or someone else asked to get back the polls created with your email address.", "PS: this email has been sent because you or someone else asked to get back the polls created with your email address.": "PS: this email has been sent because you or someone else asked to get back the polls created with your email address.",
"If you weren't the source of this action and if you think this is an abuse of the service, please notify the administrator on %s.": "If you weren't the source of this action and if you think this is an abuse of the service, please notify the administrator on %s." "If you weren't the source of this action and if you think this is an abuse of the service, please notify the administrator on %s.": "If you weren't the source of this action and if you think this is an abuse of the service, please notify the administrator on %s."
}, },
"Mail": { "Mail": {
"Poll's participation: %s": "Poll participation: %s", "Poll's participation: %s": "Poll participation: %s",
@ -406,6 +406,10 @@
"Poll id already used": "Identifier is already used", "Poll id already used": "Identifier is already used",
"You can't select more than %d dates": "You can't select more than %d dates", "You can't select more than %d dates": "You can't select more than %d dates",
"Can't create the config.php file in '%s'.": "Can't create the config.php file in '%s'.", "Can't create the config.php file in '%s'.": "Can't create the config.php file in '%s'.",
"Failed to delete all comments": "Failed to delete all comments",
"Failed to delete all votes": "Failed to delete all votes",
"Failed to delete the comment": "Failed to delete the comment",
"Failed to delete the poll": "Failed to delete the poll",
"Can't create an empty column.": "Can't create an empty column." "Can't create an empty column.": "Can't create an empty column."
}, },
"Check": { "Check": {
@ -414,6 +418,7 @@
"PHP version %s is enough (needed at least PHP %s).": "PHP version %s is enough (needed at least PHP %s).", "PHP version %s is enough (needed at least PHP %s).": "PHP version %s is enough (needed at least PHP %s).",
"You need to enable the PHP Intl extension.": "You need to enable the PHP Intl extension.", "You need to enable the PHP Intl extension.": "You need to enable the PHP Intl extension.",
"PHP Intl extension is enabled.": "PHP Intl extension is enabled.", "PHP Intl extension is enabled.": "PHP Intl extension is enabled.",
"The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.": "The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.",
"The template compile directory (%s) is not writable.": "The template compile directory (%s) is not writable.", "The template compile directory (%s) is not writable.": "The template compile directory (%s) is not writable.",
"The template compile directory (%s) is writable.": "The template compile directory (%s) is writable.", "The template compile directory (%s) is writable.": "The template compile directory (%s) is writable.",
"The config file directory (%s) is not writable and the config file (%s) dos not exists.": "The config file directory (%s) is not writable and the config file (%s) dos not exists.", "The config file directory (%s) is not writable and the config file (%s) dos not exists.": "The config file directory (%s) is not writable and the config file (%s) dos not exists.",

View File

@ -323,7 +323,8 @@
"Purged:": "Purgados:", "Purged:": "Purgados:",
"Confirm removal of the poll": "Confirmar la supresión de la encuesta", "Confirm removal of the poll": "Confirmar la supresión de la encuesta",
"polls in the database at this time": "encuestas en la base de datos a la fecha", "polls in the database at this time": "encuestas en la base de datos a la fecha",
"Purge the polls": "Purgar las encuestas" "Purge the polls": "Purgar las encuestas",
"Installation": "ES_Installation"
}, },
"FindPolls": { "FindPolls": {
"Send me my polls": "Enviarme mis encuestas", "Send me my polls": "Enviarme mis encuestas",
@ -413,6 +414,7 @@
"PHP version %s is enough (needed at least PHP %s).": "ES_Version de PHP %s suffisante (nécessite au moins PHP %s).", "PHP version %s is enough (needed at least PHP %s).": "ES_Version de PHP %s suffisante (nécessite au moins PHP %s).",
"You need to enable the PHP Intl extension.": "ES_Vous devez activer l'extension PHP Intl.", "You need to enable the PHP Intl extension.": "ES_Vous devez activer l'extension PHP Intl.",
"PHP Intl extension is enabled.": "ES_L'extension PHP Intl est activée.", "PHP Intl extension is enabled.": "ES_L'extension PHP Intl est activée.",
"The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.": "ES_The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.",
"The template compile directory (%s) is not writable.": "ES_Le dossier de compilation des templates (%s) n'est pas accessible en écriture.", "The template compile directory (%s) is not writable.": "ES_Le dossier de compilation des templates (%s) n'est pas accessible en écriture.",
"The template compile directory (%s) is writable.": "ES_Le dossier de compilation des templates (%s) est accessible en écriture.", "The template compile directory (%s) is writable.": "ES_Le dossier de compilation des templates (%s) est accessible en écriture.",
"The config file directory (%s) is not writable and the config file (%s) dos not exists.": "ES_Le dossier du fichier de configuration (%s) n'est pas accessible en écriture et le fichier de configuration (%s) n'éxiste pas.", "The config file directory (%s) is not writable and the config file (%s) dos not exists.": "ES_Le dossier du fichier de configuration (%s) n'est pas accessible en écriture et le fichier de configuration (%s) n'éxiste pas.",

View File

@ -323,7 +323,8 @@
"Purged:": "Purgés :", "Purged:": "Purgés :",
"Confirm removal of the poll": "Confirmer la suppression du sondage", "Confirm removal of the poll": "Confirmer la suppression du sondage",
"polls in the database at this time": "sondages dans la base actuellement", "polls in the database at this time": "sondages dans la base actuellement",
"Purge the polls": "Purger les sondages" "Purge the polls": "Purger les sondages",
"Installation": "Installation"
}, },
"FindPolls": { "FindPolls": {
"Send me my polls": "Envoyer mes sondages", "Send me my polls": "Envoyer mes sondages",
@ -417,6 +418,7 @@
"PHP version %s is enough (needed at least PHP %s).": "Version de PHP %s suffisante (nécessite au moins PHP %s).", "PHP version %s is enough (needed at least PHP %s).": "Version de PHP %s suffisante (nécessite au moins PHP %s).",
"You need to enable the PHP Intl extension.": "Vous devez activer l'extension PHP Intl.", "You need to enable the PHP Intl extension.": "Vous devez activer l'extension PHP Intl.",
"PHP Intl extension is enabled.": "L'extension PHP Intl est activée.", "PHP Intl extension is enabled.": "L'extension PHP Intl est activée.",
"The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.": "Le dossier de compilation des templates (%s) n'existe pas dans \"%s\". Essayez de relancer l'installation.",
"The template compile directory (%s) is not writable.": "Le dossier de compilation des templates (%s) n'est pas accessible en écriture.", "The template compile directory (%s) is not writable.": "Le dossier de compilation des templates (%s) n'est pas accessible en écriture.",
"The template compile directory (%s) is writable.": "Le dossier de compilation des templates (%s) est accessible en écriture.", "The template compile directory (%s) is writable.": "Le dossier de compilation des templates (%s) est accessible en écriture.",
"The config file directory (%s) is not writable and the config file (%s) dos not exists.": "Le dossier du fichier de configuration (%s) n'est pas accessible en écriture et le fichier de configuration (%s) n'existe pas.", "The config file directory (%s) is not writable and the config file (%s) dos not exists.": "Le dossier du fichier de configuration (%s) n'est pas accessible en écriture et le fichier de configuration (%s) n'existe pas.",

View File

@ -323,7 +323,8 @@
"Purged:": "Depurati:", "Purged:": "Depurati:",
"Confirm removal of the poll": "Confermare l'eliminazione del sondaggio ", "Confirm removal of the poll": "Confermare l'eliminazione del sondaggio ",
"polls in the database at this time": "sondaggi presenti nel database attualmente", "polls in the database at this time": "sondaggi presenti nel database attualmente",
"Purge the polls": "Depurare i sondaggi" "Purge the polls": "Depurare i sondaggi",
"Installation": "IT_Installation"
}, },
"FindPolls": { "FindPolls": {
"Send me my polls": "Inviare i miei sondaggi", "Send me my polls": "Inviare i miei sondaggi",
@ -413,6 +414,7 @@
"PHP version %s is enough (needed at least PHP %s).": "IT_Version de PHP %s suffisante (nécessite au moins PHP %s).", "PHP version %s is enough (needed at least PHP %s).": "IT_Version de PHP %s suffisante (nécessite au moins PHP %s).",
"You need to enable the PHP Intl extension.": "IT_Vous devez activer l'extension PHP Intl.", "You need to enable the PHP Intl extension.": "IT_Vous devez activer l'extension PHP Intl.",
"PHP Intl extension is enabled.": "IT_L'extension PHP Intl est activée.", "PHP Intl extension is enabled.": "IT_L'extension PHP Intl est activée.",
"The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.": "IT_The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.",
"The template compile directory (%s) is not writable.": "IT_Le dossier de compilation des templates (%s) n'est pas accessible en écriture.", "The template compile directory (%s) is not writable.": "IT_Le dossier de compilation des templates (%s) n'est pas accessible en écriture.",
"The template compile directory (%s) is writable.": "IT_Le dossier de compilation des templates (%s) est accessible en écriture.", "The template compile directory (%s) is writable.": "IT_Le dossier de compilation des templates (%s) est accessible en écriture.",
"The config file directory (%s) is not writable and the config file (%s) dos not exists.": "IT_Le dossier du fichier de configuration (%s) n'est pas accessible en écriture et le fichier de configuration (%s) n'éxiste pas.", "The config file directory (%s) is not writable and the config file (%s) dos not exists.": "IT_Le dossier du fichier de configuration (%s) n'est pas accessible en écriture et le fichier de configuration (%s) n'éxiste pas.",

View File

@ -323,7 +323,8 @@
"Purged:": "Leeggemaakt:", "Purged:": "Leeggemaakt:",
"Confirm removal of the poll": "Bevestig het verwijderen van de poll", "Confirm removal of the poll": "Bevestig het verwijderen van de poll",
"polls in the database at this time": "polls in de database op dit moment", "polls in the database at this time": "polls in de database op dit moment",
"Purge the polls": "Maak de polls leeg" "Purge the polls": "Maak de polls leeg",
"Installation": "NL_Installation"
}, },
"FindPolls": { "FindPolls": {
"Send me my polls": "Stuur me mijn polls", "Send me my polls": "Stuur me mijn polls",
@ -417,6 +418,7 @@
"PHP version %s is enough (needed at least PHP %s).": "NL_Version de PHP %s suffisante (nécessite au moins PHP %s).", "PHP version %s is enough (needed at least PHP %s).": "NL_Version de PHP %s suffisante (nécessite au moins PHP %s).",
"You need to enable the PHP Intl extension.": "NL_Vous devez activer l'extension PHP Intl.", "You need to enable the PHP Intl extension.": "NL_Vous devez activer l'extension PHP Intl.",
"PHP Intl extension is enabled.": "NL_L'extension PHP Intl est activée.", "PHP Intl extension is enabled.": "NL_L'extension PHP Intl est activée.",
"The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.": "NL_The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.",
"The template compile directory (%s) is not writable.": "NL_Le dossier de compilation des templates (%s) n'est pas accessible en écriture.", "The template compile directory (%s) is not writable.": "NL_Le dossier de compilation des templates (%s) n'est pas accessible en écriture.",
"The template compile directory (%s) is writable.": "NL_Le dossier de compilation des templates (%s) est accessible en écriture.", "The template compile directory (%s) is writable.": "NL_Le dossier de compilation des templates (%s) est accessible en écriture.",
"The config file directory (%s) is not writable and the config file (%s) dos not exists.": "NL_Le dossier du fichier de configuration (%s) n'est pas accessible en écriture et le fichier de configuration (%s) n'existe pas.", "The config file directory (%s) is not writable and the config file (%s) dos not exists.": "NL_Le dossier du fichier de configuration (%s) n'est pas accessible en écriture et le fichier de configuration (%s) n'existe pas.",

View File

@ -323,7 +323,8 @@
"Purged:": "Purgats :", "Purged:": "Purgats :",
"Confirm removal of the poll": "Confirmar la supression del sondatge", "Confirm removal of the poll": "Confirmar la supression del sondatge",
"polls in the database at this time": "sondatges dins la banca de donadas actualament", "polls in the database at this time": "sondatges dins la banca de donadas actualament",
"Purge the polls": "Purgar los sondatges" "Purge the polls": "Purgar los sondatges",
"Installation": "OC_Installation"
}, },
"FindPolls": { "FindPolls": {
"Send me my polls": "Mandar mos sondatges", "Send me my polls": "Mandar mos sondatges",
@ -413,6 +414,7 @@
"PHP version %s is enough (needed at least PHP %s).": "Version de PHP %s sufisenta (Cal almens PHP %s).", "PHP version %s is enough (needed at least PHP %s).": "Version de PHP %s sufisenta (Cal almens PHP %s).",
"You need to enable the PHP Intl extension.": "Vos cal activarl'extension PHP Intl.", "You need to enable the PHP Intl extension.": "Vos cal activarl'extension PHP Intl.",
"PHP Intl extension is enabled.": "L'extension PHP Intl es activada.", "PHP Intl extension is enabled.": "L'extension PHP Intl es activada.",
"The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.": "OC_The template compile directory (%s) doesn't exist in \"%s\". Retry the installation process.",
"The template compile directory (%s) is not writable.": "Lo dorsièr de compilacion dels modèls (%s) es pas accessible en escritura.", "The template compile directory (%s) is not writable.": "Lo dorsièr de compilacion dels modèls (%s) es pas accessible en escritura.",
"The template compile directory (%s) is writable.": "Lo dorsièr de compilacion dels modèls (%s) es accessible en escritura.", "The template compile directory (%s) is writable.": "Lo dorsièr de compilacion dels modèls (%s) es accessible en escritura.",
"The config file directory (%s) is not writable and the config file (%s) dos not exists.": "Lo dorsièr del fichièr de configuracion (%s) es pas accessible en escritura e lo fichièr de configuracion (%s) existís pas.", "The config file directory (%s) is not writable and the config file (%s) dos not exists.": "Lo dorsièr del fichièr de configuracion (%s) es pas accessible en escritura e lo fichièr de configuracion (%s) existís pas.",