@@ -77,14 +77,15 @@
<br />
{{ forum.last_post_created|time_since }}<br />
+ {% trans %}by{% endtrans %}
{% if forum.last_post_user_id %}
- by <a href="{{ url_for('user.profile', username=forum.last_post_username) }}">{{ forum.last_post_username }}</a>
+ <a href="{{ url_for('user.profile', username=forum.last_post_username) }}">{{ forum.last_post_username }}</a>
{% else %}
{{ forum.last_post_username }}
{% endif %}
- No posts
+ {% trans %}No posts{% endtrans %}
</td>
@@ -12,6 +12,13 @@
{{ render_pagination(posts, url_for('user.view_all_posts', username=user.username)) }}
</div> <!-- end span pagination -->
<table class="table table-bordered">
+ <thead>
+ <tr>
+ <th>
+ {% trans user=user.username %}All Posts created by {{user}}{% endtrans %}
+ </th>
+ </tr>
+ </thead>
<tbody>
{% for post in posts.items %}
<tr>
@@ -27,6 +34,12 @@
{{ post.content }}
</tr>
+ {% else %}
+ <td>
+ {% trans %}No Posts so far.{% endtrans %}
+ </td>
{% endfor %}
</tbody>
@@ -17,7 +17,7 @@
<thead>
<th colspan="5">
- {% trans %}All Topics created by{% endtrans %} {{ user.username }}
+ {% trans user=user.username %}All Topics created by {{user}}{% endtrans %}
</th>
</thead>
@@ -69,7 +69,7 @@
<td colspan="5">
- No Topics so far.
+ {% trans %}No Topics so far.{% endtrans %}