From eac52ac1ce9ac387fb01ac9f516e605f457729f1 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Sat, 13 Apr 2013 11:57:16 -0500 Subject: [PATCH] Changing translations to say "amount of time ago", basically Previously they were just "amount of time"... I think this fits a bit better. --- .../mediagoblin/user_pages/media.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) 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 %} -- 2.25.1