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:
Keith Mitchell
2011-12-02 16:45:00 -08:00
parent 9e1b32db14
commit eafe67b0ea
4 changed files with 4 additions and 4 deletions

View File

@@ -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>&nbsp;
%endif

View File

@@ -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:

View File

@@ -35,7 +35,7 @@
%endif
/>
<label for="comment-visits-${i}">
${_("%(when)s ago") % dict(when=visit)}
${visit} ${_("ago")}
</label>
</div>
%endfor

View File

@@ -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)}&#32;${_('ago')}</td>
</tr>
% endfor
</tbody>