From: Christopher Allan Webber Date: Sat, 13 Apr 2013 16:57:16 +0000 (-0500) Subject: Changing translations to say "amount of time ago", basically X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=eac52ac1ce9ac387fb01ac9f516e605f457729f1;p=mediagoblin.git Changing translations to say "amount of time ago", basically Previously they were just "amount of time"... I think this fits a bit better. --- diff --git a/mediagoblin/templates/mediagoblin/user_pages/media.html b/mediagoblin/templates/mediagoblin/user_pages/media.html index 58b9cdce..11392ec1 100644 --- a/mediagoblin/templates/mediagoblin/user_pages/media.html +++ b/mediagoblin/templates/mediagoblin/user_pages/media.html @@ -120,15 +120,15 @@ user=comment_author.username) }}"> {{- comment_author.username -}} - {% trans %}at{% endtrans %} - {{ timesince(comment.created) }} - - : + {%- trans formatted_time=timesince(comment.created) -%} + {{ formatted_time }} ago + {%- endtrans -%} + :
{% autoescape False -%} @@ -143,10 +143,12 @@ {% endif %}
- {% trans date=media.created.strftime("%Y-%m-%d"), formatted_time=timesince(media.created) -%} -

Added on

-

{{ formatted_time }}

- {%- endtrans %} +

Added

+

+ {%- trans formatted_time=timesince(media.created) -%} + {{ formatted_time }} ago + {%- endtrans -%} +

{% if media.tags %} {% include "mediagoblin/utils/tags.html" %} {% endif %}