aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/templates/feeds.html
diff options
context:
space:
mode:
Diffstat (limited to 'pyaggr3g470r/templates/feeds.html')
-rw-r--r--pyaggr3g470r/templates/feeds.html22
1 files changed, 11 insertions, 11 deletions
diff --git a/pyaggr3g470r/templates/feeds.html b/pyaggr3g470r/templates/feeds.html
index 82e4afae..4caf6653 100644
--- a/pyaggr3g470r/templates/feeds.html
+++ b/pyaggr3g470r/templates/feeds.html
@@ -1,17 +1,17 @@
{% extends "layout.html" %}
{% block content %}
<div class="container">
- <h1>You are subscribed to {{ feeds.all()|count }} feeds &middot; Add a <a href="/create_feed/">feed</a></h1>
+ <h1>{{ _('You are subscribed to') }} {{ feeds.all()|count }} {{ _('feeds') }} &middot; {{ _('Add a') }} <a href="/create_feed/">{{ _('feed') }}</a></h1>
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
- <th>Status</th>
- <th>Title</th>
- <th>Site</th>
- <th>Articles</th>
- <th>Actions</th>
+ <th>{{ _('Status') }}</th>
+ <th>{{ _('Title') }}</th>
+ <th>{{ _('Site') }}</th>
+ <th>{{ _('Articles') }}</th>
+ <th>{{ _('Actions') }}</th>
</tr>
</thead>
<tbody>
@@ -20,18 +20,18 @@
<td>{{ loop.index }}</td>
<td>
{% if feed.enabled %}
- <i class="glyphicon glyphicon-eye-open" title="Feed enabled"></i>
+ <i class="glyphicon glyphicon-eye-open" title="{{ _('Feed enabled') }}"></i>
{% else %}
- <i class="glyphicon glyphicon-eye-close" title="Feed disabled"></i>
+ <i class="glyphicon glyphicon-eye-close" title="{{ _('Feed disabled') }}"></i>
{% endif %}
</td>
<td><a href="/feed/{{ feed.id }}" {% if feed.description %}title="{{ feed.description }}"{% endif %}>{{ feed.title }}</a></td>
<td><a href="{{ feed.site_link }}">{{ feed.site_link }}</a></td>
<td>{{ feed.articles.all()|count }}</td>
<td>
- <a href="/articles/{{ feed.id }}/100"><i class="glyphicon glyphicon-th-list" title="Articles"></i></a>
- <a href="/edit_feed/{{ feed.id }}"><i class="glyphicon glyphicon-edit" title="Edit this feed"></i></a>
- <a href="/delete_feed/{{ feed.id }}"><i class="glyphicon glyphicon-remove" title="Delete this feed"></i></a>
+ <a href="/articles/{{ feed.id }}/100"><i class="glyphicon glyphicon-th-list" title="{{ _('Articles') }}"></i></a>
+ <a href="/edit_feed/{{ feed.id }}"><i class="glyphicon glyphicon-edit" title="{{ _('Edit this feed') }}"></i></a>
+ <a href="/delete_feed/{{ feed.id }}"><i class="glyphicon glyphicon-remove" title="{{ _('Delete this feed') }}"></i></a>
</td>
</tr>
{% endfor %}
bgstack15