Changing translations to say "amount of time ago", basically
Previously they were just "amount of time"... I think this fits a bit better.
This commit is contained in:
parent
6432755db3
commit
eac52ac1ce
@ -120,15 +120,15 @@
|
|||||||
user=comment_author.username) }}">
|
user=comment_author.username) }}">
|
||||||
{{- comment_author.username -}}
|
{{- comment_author.username -}}
|
||||||
</a>
|
</a>
|
||||||
{% trans %}at{% endtrans %}
|
|
||||||
<a href="{{ request.urlgen('mediagoblin.user_pages.media_home.view_comment',
|
<a href="{{ request.urlgen('mediagoblin.user_pages.media_home.view_comment',
|
||||||
comment=comment.id,
|
comment=comment.id,
|
||||||
user=media.get_uploader.username,
|
user=media.get_uploader.username,
|
||||||
media=media.slug_or_id) }}#comment">
|
media=media.slug_or_id) }}#comment">
|
||||||
<span title='{{- comment.created.strftime("%I:%M%p %Y-%m-%d") -}}'>
|
<span title='{{- comment.created.strftime("%I:%M%p %Y-%m-%d") -}}'>
|
||||||
{{ timesince(comment.created) }}
|
{%- trans formatted_time=timesince(comment.created) -%}
|
||||||
</span>
|
{{ formatted_time }} ago
|
||||||
</a>:
|
{%- endtrans -%}
|
||||||
|
</span></a>:
|
||||||
</div>
|
</div>
|
||||||
<div class="comment_content">
|
<div class="comment_content">
|
||||||
{% autoescape False -%}
|
{% autoescape False -%}
|
||||||
@ -143,10 +143,12 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="media_sidebar">
|
<div class="media_sidebar">
|
||||||
{% trans date=media.created.strftime("%Y-%m-%d"), formatted_time=timesince(media.created) -%}
|
<h3>Added</h3>
|
||||||
<h3>Added on</h3>
|
<p><span title="{{ media.created.strftime("%Y-%m-%d") }}">
|
||||||
<p><span title="{{ date }}">{{ formatted_time }}</span></p>
|
{%- trans formatted_time=timesince(media.created) -%}
|
||||||
{%- endtrans %}
|
{{ formatted_time }} ago
|
||||||
|
{%- endtrans -%}
|
||||||
|
</span></p>
|
||||||
{% if media.tags %}
|
{% if media.tags %}
|
||||||
{% include "mediagoblin/utils/tags.html" %}
|
{% include "mediagoblin/utils/tags.html" %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user