aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-11-20 16:52:07 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-11-20 16:52:07 +0100
commitb28b6a4bf273253d1bb57b99a80fa7ae77a48397 (patch)
treefdee3b12781b46cdf132b8fb74bf2e9aedd3cf91 /app
parentb07a05dc79d314b65cb7f55c1e3788ac00b27f88 (diff)
extension_loaded fileinfo
https://github.com/FreshRSS/FreshRSS/issues/1375
Diffstat (limited to 'app')
-rw-r--r--app/i18n/cz/admin.php4
-rw-r--r--app/i18n/cz/install.php4
-rw-r--r--app/i18n/de/admin.php4
-rw-r--r--app/i18n/de/install.php4
-rw-r--r--app/i18n/en/admin.php4
-rw-r--r--app/i18n/en/install.php4
-rw-r--r--app/i18n/fr/admin.php4
-rw-r--r--app/i18n/fr/install.php4
-rw-r--r--app/i18n/it/admin.php4
-rw-r--r--app/i18n/it/install.php4
-rw-r--r--app/i18n/nl/admin.php4
-rw-r--r--app/i18n/nl/install.php4
-rw-r--r--app/i18n/ru/admin.php4
-rw-r--r--app/i18n/ru/install.php4
-rw-r--r--app/i18n/tr/admin.php4
-rw-r--r--app/i18n/tr/install.php4
-rw-r--r--app/install.php6
17 files changed, 70 insertions, 0 deletions
diff --git a/app/i18n/cz/admin.php b/app/i18n/cz/admin.php
index 84bc58a17..63cee3cca 100644
--- a/app/i18n/cz/admin.php
+++ b/app/i18n/cz/admin.php
@@ -57,6 +57,10 @@ return array(
'nok' => 'Tabulka kanálů je nastavena špatně.',
'ok' => 'Tabulka kanálů je v pořádku.',
),
+ 'fileinfo' => array(
+ 'nok' => 'Nemáte PHP fileinfo (balíček fileinfo).',
+ 'ok' => 'Máte rozšíření fileinfo.',
+ ),
'files' => 'Instalace souborů',
'json' => array(
'nok' => 'Nemáte JSON (balíček php5-json).',
diff --git a/app/i18n/cz/install.php b/app/i18n/cz/install.php
index c40ae46e2..ea4812ea5 100644
--- a/app/i18n/cz/install.php
+++ b/app/i18n/cz/install.php
@@ -56,6 +56,10 @@ return array(
'nok' => 'Zkontrolujte oprávnění adresáře <em>./data/favicons</em>. HTTP server musí mít do tohoto adresáře práva zápisu',
'ok' => 'Oprávnění adresáře favicons jsou v pořádku.',
),
+ 'fileinfo' => array(
+ 'nok' => 'Nemáte PHP fileinfo (balíček fileinfo).',
+ 'ok' => 'Máte rozšíření fileinfo.',
+ ),
'http_referer' => array(
'nok' => 'Zkontrolujte prosím že neměníte HTTP REFERER.',
'ok' => 'Váš HTTP REFERER je znám a odpovídá Vašemu serveru.',
diff --git a/app/i18n/de/admin.php b/app/i18n/de/admin.php
index c12f32bc8..8fc43a7bb 100644
--- a/app/i18n/de/admin.php
+++ b/app/i18n/de/admin.php
@@ -57,6 +57,10 @@ return array(
'nok' => 'Die Tabelle <em>feed</em> ist schlecht konfiguriert.',
'ok' => 'Die Tabelle <em>feed</em> ist korrekt konfiguriert.',
),
+ 'fileinfo' => array(
+ 'nok' => 'Ihnen fehlt PHP fileinfo (Paket fileinfo).',
+ 'ok' => 'Sie haben die fileinfo-Erweiterung.',
+ ),
'files' => 'Datei-Installation',
'json' => array(
'nok' => 'Ihnen fehlt die JSON-Erweiterung (Paket php5-json).',
diff --git a/app/i18n/de/install.php b/app/i18n/de/install.php
index 178e8ea4c..b747d1551 100644
--- a/app/i18n/de/install.php
+++ b/app/i18n/de/install.php
@@ -56,6 +56,10 @@ return array(
'nok' => 'Überprüfen Sie die Berechtigungen des Verzeichnisses <em>./data/favicons</em>. Der HTTP-Server muss Schreibrechte besitzen.',
'ok' => 'Die Berechtigungen des Verzeichnisses <em>./data/favicons</em> sind in Ordnung.',
),
+ 'fileinfo' => array(
+ 'nok' => 'Ihnen fehlt PHP fileinfo (Paket fileinfo).',
+ 'ok' => 'Sie haben die fileinfo-Erweiterung.',
+ ),
'http_referer' => array(
'nok' => 'Bitte stellen Sie sicher, dass Sie Ihren HTTP REFERER nicht abändern.',
'ok' => 'Ihr HTTP REFERER ist bekannt und entspricht Ihrem Server.',
diff --git a/app/i18n/en/admin.php b/app/i18n/en/admin.php
index e5286d948..e94d9fa80 100644
--- a/app/i18n/en/admin.php
+++ b/app/i18n/en/admin.php
@@ -57,6 +57,10 @@ return array(
'nok' => 'Feed table is bad configured.',
'ok' => 'Feed table is ok.',
),
+ 'fileinfo' => array(
+ 'nok' => 'Cannot find the PHP fileinfo library (fileinfo package).',
+ 'ok' => 'You have the fileinfo library.',
+ ),
'files' => 'File installation',
'json' => array(
'nok' => 'Cannot find JSON (php5-json package).',
diff --git a/app/i18n/en/install.php b/app/i18n/en/install.php
index 63d31fe53..40fff37dd 100644
--- a/app/i18n/en/install.php
+++ b/app/i18n/en/install.php
@@ -56,6 +56,10 @@ return array(
'nok' => 'Check permissions on <em>./data/favicons</em> directory. HTTP server must have rights to write into',
'ok' => 'Permissions on favicons directory are good.',
),
+ 'fileinfo' => array(
+ 'nok' => 'Cannot find the PHP fileinfo library (fileinfo package).',
+ 'ok' => 'You have the fileinfo library.',
+ ),
'http_referer' => array(
'nok' => 'Please check that you are not altering your HTTP REFERER.',
'ok' => 'Your HTTP REFERER is known and corresponds to your server.',
diff --git a/app/i18n/fr/admin.php b/app/i18n/fr/admin.php
index e9263a5e2..9a13ecc21 100644
--- a/app/i18n/fr/admin.php
+++ b/app/i18n/fr/admin.php
@@ -57,6 +57,10 @@ return array(
'nok' => 'La table feed est mal configurée.',
'ok' => 'La table feed est bien configurée.',
),
+ 'fileinfo' => array(
+ 'nok' => 'Impossible de trouver la librairie PHP fileinfo (paquet fileinfo).',
+ 'ok' => 'Vous disposez de la librairie fileinfo.',
+ ),
'files' => 'Installation des fichiers',
'json' => array(
'nok' => 'Vous ne disposez pas de JSON (paquet php5-json).',
diff --git a/app/i18n/fr/install.php b/app/i18n/fr/install.php
index c50807107..09625de78 100644
--- a/app/i18n/fr/install.php
+++ b/app/i18n/fr/install.php
@@ -56,6 +56,10 @@ return array(
'nok' => 'Veuillez vérifier les droits sur le répertoire <em>./data/favicons</em>. Le serveur HTTP doit être capable d’écrire dedans',
'ok' => 'Les droits sur le répertoire des favicons sont bons.',
),
+ 'fileinfo' => array(
+ 'nok' => 'Vous ne disposez pas de PHP fileinfo (paquet fileinfo).',
+ 'ok' => 'Vous disposez de fileinfo.',
+ ),
'http_referer' => array(
'nok' => 'Veuillez vérifier que vous ne modifiez pas votre HTTP REFERER.',
'ok' => 'Le HTTP REFERER est connu et semble correspondre à votre serveur.',
diff --git a/app/i18n/it/admin.php b/app/i18n/it/admin.php
index c399bc8c8..ae46818ae 100644
--- a/app/i18n/it/admin.php
+++ b/app/i18n/it/admin.php
@@ -57,6 +57,10 @@ return array(
'nok' => 'La tabella Feed ha una configurazione errata.',
'ok' => 'Tabella Feed OK.',
),
+ 'fileinfo' => array(
+ 'nok' => 'Manca il supporto per PHP fileinfo (pacchetto fileinfo).',
+ 'ok' => 'Estensione fileinfo presente.',
+ ),
'files' => 'Installazione files',
'json' => array(
'nok' => 'Manca il supoorto a JSON (pacchetto php5-json).',
diff --git a/app/i18n/it/install.php b/app/i18n/it/install.php
index 2fa298508..18f8cc337 100644
--- a/app/i18n/it/install.php
+++ b/app/i18n/it/install.php
@@ -56,6 +56,10 @@ return array(
'nok' => 'Verifica i permessi sulla cartella <em>./data/favicons</em>. Il server HTTP deve avere i permessi per scriverci dentro',
'ok' => 'I permessi sulla cartella favicons sono corretti.',
),
+ 'fileinfo' => array(
+ 'nok' => 'Manca il supporto per PHP fileinfo (pacchetto fileinfo).',
+ 'ok' => 'Estensione fileinfo presente.',
+ ),
'http_referer' => array(
'nok' => 'Per favore verifica che non stai alterando il tuo HTTP REFERER.',
'ok' => 'Il tuo HTTP REFERER riconosciuto corrisponde al tuo server.',
diff --git a/app/i18n/nl/admin.php b/app/i18n/nl/admin.php
index 59637bfef..607fb1892 100644
--- a/app/i18n/nl/admin.php
+++ b/app/i18n/nl/admin.php
@@ -57,6 +57,10 @@ return array(
'nok' => 'Feed tabel is slecht geconfigureerd.',
'ok' => 'Feed tabel is ok.',
),
+ 'fileinfo' => array(
+ 'nok' => 'U mist de PHP fileinfo (fileinfo package).',
+ 'ok' => 'U hebt de fileinfo uitbreiding.',
+ ),
'files' => 'Bestanden installatie',
'json' => array(
'nok' => 'U mist JSON (php5-json package).',
diff --git a/app/i18n/nl/install.php b/app/i18n/nl/install.php
index bd2ba0cce..79db9c794 100644
--- a/app/i18n/nl/install.php
+++ b/app/i18n/nl/install.php
@@ -56,6 +56,10 @@ return array(
'nok' => 'Controleer permissies van de <em>./data/favicons</em> map. HTTP server moet rechten hebben om er in te kunnen schrijven',
'ok' => 'Permissies van de favicons map zijn goed.',
),
+ 'fileinfo' => array(
+ 'nok' => 'U mist PHP fileinfo (fileinfo package).',
+ 'ok' => 'U hebt de fileinfo uitbreiding.',
+ ),
'http_referer' => array(
'nok' => 'Controleer a.u.b. dat u niet uw HTTP REFERER wijzigd.',
'ok' => 'Uw HTTP REFERER is bekend en komt overeen met uw server.',
diff --git a/app/i18n/ru/admin.php b/app/i18n/ru/admin.php
index 355100689..f5da97371 100644
--- a/app/i18n/ru/admin.php
+++ b/app/i18n/ru/admin.php
@@ -57,6 +57,10 @@ return array(
'nok' => 'Таблица подписок (feed) неправильно настроена.',
'ok' => 'Таблица подписок (feed) настроена правильно.',
),
+ 'fileinfo' => array(
+ 'nok' => 'У вас не установлено расширение PHP fileinfo (пакет fileinfo).',
+ 'ok' => 'У вас установлено расширение fileinfo.',
+ ),
'files' => 'Установка файлов',
'json' => array(
'nok' => 'У вас не установлена библиотека для работы с JSON (пакет php5-json).',
diff --git a/app/i18n/ru/install.php b/app/i18n/ru/install.php
index bad59bbb3..1dea2cd66 100644
--- a/app/i18n/ru/install.php
+++ b/app/i18n/ru/install.php
@@ -56,6 +56,10 @@ return array(
'nok' => 'Проверьте права доступа к папке <em>./data/favicons</em> . Сервер HTTP должен иметь права на запись в эту папку.',
'ok' => 'Права на папку значков в порядке.',
),
+ 'fileinfo' => array(
+ 'nok' => 'У вас нет расширения PHP fileinfo (пакет fileinfo).',
+ 'ok' => 'У вас установлено расширение fileinfo.',
+ ),
'http_referer' => array(
'nok' => 'Убедитесь, что вы не изменяете ваш HTTP REFERER.',
'ok' => 'Ваш HTTP REFERER известен и соотвествует вашему серверу.',
diff --git a/app/i18n/tr/admin.php b/app/i18n/tr/admin.php
index e0dbd288d..9d10ef9dd 100644
--- a/app/i18n/tr/admin.php
+++ b/app/i18n/tr/admin.php
@@ -57,6 +57,10 @@ return array(
'nok' => 'Akış tablosu kötü yapılandırılmış.',
'ok' => 'Akış tablosu sorunsuz.',
),
+ 'fileinfo' => array(
+ 'nok' => 'PHP fileinfo eksik (fileinfo package).',
+ 'ok' => 'fileinfo eklentisi sorunsuz.',
+ ),
'files' => 'Dosya kurulumu',
'json' => array(
'nok' => 'JSON eklentisi eksik (php5-json package).',
diff --git a/app/i18n/tr/install.php b/app/i18n/tr/install.php
index 4daa45099..d5564297b 100644
--- a/app/i18n/tr/install.php
+++ b/app/i18n/tr/install.php
@@ -56,6 +56,10 @@ return array(
'nok' => '<em>./data/favicons</em> klasör yetkisini kontrol edin. HTTP yazma yetkisi olmalı',
'ok' => 'Site ikonu klasörü yetkileri sorunsuz.',
),
+ 'fileinfo' => array(
+ 'nok' => 'PHP fileinfo eksik (fileinfo package).',
+ 'ok' => 'fileinfo eklentisi sorunsuz.',
+ ),
'http_referer' => array(
'nok' => 'Lütfen HTTP REFERER değiştirmediğinize emin olun.',
'ok' => 'HTTP REFERER ve sunucunuz arası iletişim sorunsuz.',
diff --git a/app/install.php b/app/install.php
index 869bf076f..986a7dc60 100644
--- a/app/install.php
+++ b/app/install.php
@@ -478,6 +478,12 @@ function printStep1() {
<p class="alert alert-error"><span class="alert-head"><?php echo _t('gen.short.damn'); ?></span> <?php echo _t('install.check.xml.nok'); ?></p>
<?php } ?>
+ <?php if ($res['fileinfo'] == 'ok') { ?>
+ <p class="alert alert-success"><span class="alert-head"><?php echo _t('gen.short.ok'); ?></span> <?php echo _t('install.check.fileinfo.ok'); ?></p>
+ <?php } else { ?>
+ <p class="alert alert-error"><span class="alert-head"><?php echo _t('gen.short.damn'); ?></span> <?php echo _t('install.check.fileinfo.nok'); ?></p>
+ <?php } ?>
+
<?php if ($res['data'] == 'ok') { ?>
<p class="alert alert-success"><span class="alert-head"><?php echo _t('gen.short.ok'); ?></span> <?php echo _t('install.check.data.ok'); ?></p>
<?php } else { ?>