aboutsummaryrefslogtreecommitdiff
path: root/app/views/update/index.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/update/index.phtml')
-rw-r--r--app/views/update/index.phtml22
1 files changed, 10 insertions, 12 deletions
diff --git a/app/views/update/index.phtml b/app/views/update/index.phtml
index 401f6acd6..da1bc7ef5 100644
--- a/app/views/update/index.phtml
+++ b/app/views/update/index.phtml
@@ -1,12 +1,16 @@
<?php $this->partial('aside_configure'); ?>
<div class="post">
- <a href="<?php echo _url('index', 'index'); ?>"><?php echo _t('back_to_rss_feeds'); ?></a>
+ <a href="<?php echo _url('index', 'index'); ?>"><?php echo _t('gen.action.back_to_rss_feeds'); ?></a>
- <h1><?php echo _t('update_system'); ?></h1>
+ <h1><?php echo _t('admin.update'); ?></h1>
<p>
- <?php echo _i('help'); ?> <?php echo _t('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)) { ?>
@@ -14,23 +18,17 @@
<span class="alert-head"><?php echo $this->message['title']; ?></span>
<?php echo $this->message['body']; ?>
</p>
- <?php } elseif ($this->check_last_hour) { ?>
- <p class="alert alert-warn">
- <span class="alert-head"><?php echo _t('damn'); ?></span>
- <?php echo _t('no_update'); ?>
- </p>
<?php } ?>
<?php
- if (!$this->check_last_hour &&
- (empty($this->message) || $this->message['status'] !== 'good')) {
+ if (empty($this->message) || $this->message['status'] !== 'good') {
?>
<p>
- <a href="<?php echo _url('update', 'check'); ?>" class="btn"><?php echo _t('update_check'); ?></a>
+ <a href="<?php echo _url('update', 'check'); ?>" class="btn"><?php echo _t('admin.update.check'); ?></a>
</p>
<?php } ?>
<?php if ($this->update_to_apply) { ?>
- <a class="btn btn-important" href="<?php echo _url('update', 'apply'); ?>"><?php echo _t('update_apply'); ?></a>
+ <a class="btn btn-important" href="<?php echo _url('update', 'apply'); ?>"><?php echo _t('admin.update.apply'); ?></a>
<?php } ?>
</div>