diff options
| author | 2014-10-20 12:52:18 +0200 | |
|---|---|---|
| committer | 2014-10-20 12:52:18 +0200 | |
| commit | ae84e877c5fdda2b1a29ab0bb6c2469258fcc9a5 (patch) | |
| tree | 51ee33bf0f850cbf959df839d7871707d34ff6cb | |
| parent | 61a2f9387f2d7f681040c1641c7601fa3002c8f8 (diff) | |
Fix some i18n keys
| -rw-r--r-- | app/i18n/en.php | 6 | ||||
| -rw-r--r-- | app/i18n/fr.php | 6 | ||||
| -rw-r--r-- | app/views/update/checkInstall.phtml | 8 |
3 files changed, 13 insertions, 7 deletions
diff --git a/app/i18n/en.php b/app/i18n/en.php index b24af38c1..2792ad7a2 100644 --- a/app/i18n/en.php +++ b/app/i18n/en.php @@ -18,7 +18,7 @@ 'admin.check_install.ctype.nok' => 'You lack a required library for character type checking (php-ctype).', 'admin.check_install.ctype.ok' => 'You have the required library for character type checking (ctype).', 'admin.check_install.curl.nok' => 'You lack cURL (php5-curl package).', - 'admin.check_install.curl.ok' => 'You have version %s of cURL.', + 'admin.check_install.curl.ok' => 'You have cURL extension.', 'admin.check_install.data.nok' => 'Check permissions on <em>./data</em> directory. HTTP server must have rights to write into', 'admin.check_install.data.ok' => 'Permissions on data directory are good.', 'admin.check_install.database' => 'Database installation', @@ -32,7 +32,7 @@ 'admin.check_install.feeds.ok' => 'Feed table is ok.', 'admin.check_install.files' => 'File installation', 'admin.check_install.json.nok' => 'You lack JSON (php5-json package).', - 'admin.check_install.json.ok' => 'You have version %s of JSON.', + 'admin.check_install.json.ok' => 'You have JSON extension.', 'admin.check_install.logs.nok' => 'Check permissions on <em>./data/logs</em> directory. HTTP server must have rights to write into', 'admin.check_install.logs.ok' => 'Permissions on logs directory are good.', 'admin.check_install.minz.nok' => 'You lack the Minz framework.', @@ -55,7 +55,7 @@ 'admin.check_install.tokens.nok' => 'Check permissions on <em>./data/tokens</em> directory. HTTP server must have rights to write into', 'admin.check_install.tokens.ok' => 'Permissions on tokens directory are good.', 'admin.check_install.zip.nok' => 'You lack ZIP extension (php5-zip package).', - 'admin.check_install.zip.ok' => 'You have version %s of ZIP extension.', + 'admin.check_install.zip.ok' => 'You have ZIP extension.', 'admin.users.articles_and_size' => '%s articles (%s)', 'administration' => 'Manage', 'advanced' => 'Advanced', diff --git a/app/i18n/fr.php b/app/i18n/fr.php index 22494274c..85b32a737 100644 --- a/app/i18n/fr.php +++ b/app/i18n/fr.php @@ -18,7 +18,7 @@ 'admin.check_install.ctype.nok' => 'Il manque une librairie pour la vérification des types de caractères (php-ctype).', 'admin.check_install.ctype.ok' => 'Vous disposez du nécessaire pour la vérification des types de caractères (ctype).', 'admin.check_install.curl.nok' => 'Vous ne disposez pas de cURL (paquet php5-curl).', - 'admin.check_install.curl.ok' => 'Vous disposez de cURL dans sa version %s.', + 'admin.check_install.curl.ok' => 'Vous disposez de cURL.', 'admin.check_install.data.nok' => 'Veuillez vérifier les droits sur le répertoire <em>./data</em>. Le serveur HTTP doit être capable d’écrire dedans', 'admin.check_install.data.ok' => 'Les droits sur le répertoire de data sont bons.', 'admin.check_install.database' => 'Installation de la base de données', @@ -32,7 +32,7 @@ 'admin.check_install.feeds.ok' => 'La table feed est bien configurée.', 'admin.check_install.files' => 'Installation des fichiers', 'admin.check_install.json.nok' => 'Vous ne disposez pas de JSON (paquet php5-json).', - 'admin.check_install.json.ok' => 'Vous disposez de JSON dans sa version %s.', + 'admin.check_install.json.ok' => 'Vous disposez de l\'extension JSON.', 'admin.check_install.logs.nok' => 'Veuillez vérifier les droits sur le répertoire <em>./data/logs</em>. Le serveur HTTP doit être capable d’écrire dedans', 'admin.check_install.logs.ok' => 'Les droits sur le répertoire des logs sont bons.', 'admin.check_install.minz.nok' => 'Vous ne disposez pas de la librairie Minz.', @@ -55,7 +55,7 @@ 'admin.check_install.tokens.nok' => 'Veuillez vérifier les droits sur le répertoire <em>./data/tokens</em>. Le serveur HTTP doit être capable d’écrire dedans', 'admin.check_install.tokens.ok' => 'Les droits sur le répertoire des tokens sont bons.', 'admin.check_install.zip.nok' => 'Vous ne disposez pas de l\'extension ZIP (paquet php5-zip).', - 'admin.check_install.zip.ok' => 'Vous disposez de l\'extension ZIP dans sa version %s.', + 'admin.check_install.zip.ok' => 'Vous disposez de l\'extension ZIP.', 'admin.users.articles_and_size' => '%s articles (%s)', 'administration' => 'Gérer', 'advanced' => 'Avancé', diff --git a/app/views/update/checkInstall.phtml b/app/views/update/checkInstall.phtml index 32058714e..5f913bccd 100644 --- a/app/views/update/checkInstall.phtml +++ b/app/views/update/checkInstall.phtml @@ -7,7 +7,13 @@ <?php foreach ($this->status_php as $key => $status) { ?> <p class="alert <?php echo $status ? 'alert-success' : 'alert-error'; ?>"> - <?php echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok')); ?> + <?php + if ($key === 'php') { + echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'), PHP_VERSION, '5.2.1'); + } else { + echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok')); + } + ?> </p> <?php } ?> |
