summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-13 11:32:29 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2015-01-13 11:32:29 +0100
commit0cba8dd69156eab50142efe67f4f3fac22a08081 (patch)
treeef7067462be838ad82ce61a48dca7e216e2e02a0
parent2d1cb016abb1ad2e5c9a875c649a702480f97b1b (diff)
Show current version of FRSS on the update page
See https://github.com/FreshRSS/FreshRSS/issues/699
-rw-r--r--app/i18n/en/admin.php1
-rw-r--r--app/i18n/fr/admin.php1
-rw-r--r--app/views/update/index.phtml6
3 files changed, 7 insertions, 1 deletions
diff --git a/app/i18n/en/admin.php b/app/i18n/en/admin.php
index 6a89d4a31..3161683a8 100644
--- a/app/i18n/en/admin.php
+++ b/app/i18n/en/admin.php
@@ -144,6 +144,7 @@ return array(
'_' => 'Update system',
'apply' => 'Apply',
'check' => 'Check for new updates',
+ 'current_version' => 'Your current version of FreshRSS is the %s.',
'last' => 'Last verification: %s',
'none' => 'No update to apply',
'title' => 'Update system',
diff --git a/app/i18n/fr/admin.php b/app/i18n/fr/admin.php
index 2e879da61..3d69e4daf 100644
--- a/app/i18n/fr/admin.php
+++ b/app/i18n/fr/admin.php
@@ -144,6 +144,7 @@ return array(
'_' => 'Système de mise à jour',
'apply' => 'Appliquer la mise à jour',
'check' => 'Vérifier les mises à jour',
+ 'current_version' => 'Votre version actuelle de FreshRSS est la %s.',
'last' => 'Dernière vérification : %s',
'none' => 'Aucune mise à jour à appliquer',
'title' => 'Système de mise à jour',
diff --git a/app/views/update/index.phtml b/app/views/update/index.phtml
index 5c07d307e..4c88a0d18 100644
--- a/app/views/update/index.phtml
+++ b/app/views/update/index.phtml
@@ -6,7 +6,11 @@
<h1><?php echo _t('admin.update'); ?></h1>
<p>
- <?php echo _i('help'); ?> <?php echo _t('admin.update.last', $this->last_update_time); ?>
+ <?php echo _i('help'); ?> <?php echo _t('admin.update.current_version', FRESHRSS_VERSION); ?>
+ </p>
+
+ <p>
+ <?php echo _t('admin.update.last', $this->last_update_time); ?>
</p>
<?php if (!empty($this->message)) { ?>