diff --git a/r2/r2/templates/comment.html b/r2/r2/templates/comment.html index 1d185773a..bb5c96555 100644 --- a/r2/r2/templates/comment.html +++ b/r2/r2/templates/comment.html @@ -104,7 +104,7 @@ ${parent.collapsed()} %if show: ${unsafe(self.score(thing, likes = thing.likes))} %endif - ${_("%(when)s ago") % dict(when=thing_timestamp(thing, thing.timesince))} + ${thing_timestamp(thing, thing.timesince)} ${_("ago")} %if thing.editted: *  %endif diff --git a/r2/r2/templates/comment.htmllite b/r2/r2/templates/comment.htmllite index 3194aa688..324db90a8 100644 --- a/r2/r2/templates/comment.htmllite +++ b/r2/r2/templates/comment.htmllite @@ -43,7 +43,7 @@ %if thing.deleted: - ${_("[deleted]")} ${_("%(when)s ago") % dict(when=thing.timesince)} + ${_("[deleted]")} ${thing.timesince} ${_("ago")} %else: diff --git a/r2/r2/templates/commentvisitsbox.html b/r2/r2/templates/commentvisitsbox.html index 512f9767b..d7fffa483 100644 --- a/r2/r2/templates/commentvisitsbox.html +++ b/r2/r2/templates/commentvisitsbox.html @@ -35,7 +35,7 @@ %endif /> %endfor diff --git a/r2/r2/templates/useriphistory.html b/r2/r2/templates/useriphistory.html index 5983643c2..5fed1c4ed 100644 --- a/r2/r2/templates/useriphistory.html +++ b/r2/r2/templates/useriphistory.html @@ -46,7 +46,7 @@ ${ip} ${location.get('country_name', '')} - ${_('%(when)s ago') % dict(when=timestamp(last_visit))} + ${timestamp(last_visit)} ${_('ago')} % endfor