mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-31 01:38:08 -05:00
revert: Fix i18n issue with 'ago' translations
Since 'ago' is commonly used, the translations should be migrated first/in-conjunction
This commit is contained in:
@@ -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:
|
||||
<em>*</em>
|
||||
%endif
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
%if thing.deleted:
|
||||
|
||||
<small>
|
||||
<b>${_("[deleted]")}</b> ${_("%(when)s ago") % dict(when=thing.timesince)}
|
||||
<b>${_("[deleted]")}</b> ${thing.timesince} ${_("ago")}
|
||||
</small>
|
||||
|
||||
%else:
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
%endif
|
||||
/>
|
||||
<label for="comment-visits-${i}">
|
||||
${_("%(when)s ago") % dict(when=visit)}
|
||||
${visit} ${_("ago")}
|
||||
</label>
|
||||
</div>
|
||||
%endfor
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
<tr>
|
||||
<td>${ip}</td>
|
||||
<td>${location.get('country_name', '')}</td>
|
||||
<td>${_('%(when)s ago') % dict(when=timestamp(last_visit))}</td>
|
||||
<td>${timestamp(last_visit)} ${_('ago')}</td>
|
||||
</tr>
|
||||
% endfor
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user