Skip to content

Commit

Permalink
Use [removed] instead of [deleted] for expunged.
Browse files Browse the repository at this point in the history
  • Loading branch information
spladug committed Jun 20, 2011
1 parent d99dece commit 06f4b9e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion r2/r2/lib/jsontemplates.py
Expand Up @@ -278,7 +278,7 @@ def thing_attr(self, thing, attr):
if not thing.expunged: if not thing.expunged:
return safemarkdown(thing.selftext) return safemarkdown(thing.selftext)
else: else:
return safemarkdown(_("[deleted]")) return safemarkdown(_("[removed]"))
return ThingJsonTemplate.thing_attr(self, thing, attr) return ThingJsonTemplate.thing_attr(self, thing, attr)


def rendered_data(self, thing): def rendered_data(self, thing):
Expand Down
2 changes: 1 addition & 1 deletion r2/r2/templates/usertext.compact
Expand Up @@ -53,7 +53,7 @@
target = thing.target))} target = thing.target))}
</div> </div>
% else: % else:
<em>${_("[deleted]")}</em>&#32; <em>${_("[removed]")}</em>&#32;
% endif % endif
%endif %endif


Expand Down
2 changes: 1 addition & 1 deletion r2/r2/templates/usertext.html
Expand Up @@ -52,7 +52,7 @@
${unsafe(safemarkdown(thing.text, nofollow = thing.nofollow, ${unsafe(safemarkdown(thing.text, nofollow = thing.nofollow,
target = thing.target))} target = thing.target))}
% else: % else:
<em>${_("[deleted]")}</em>&#32; <em>${_("[removed]")}</em>&#32;
% endif % endif
</div> </div>
%endif %endif
Expand Down
2 changes: 1 addition & 1 deletion r2/r2/templates/usertext.mobile
Expand Up @@ -30,6 +30,6 @@
target = thing.target))} target = thing.target))}
</div> </div>
%else: %else:
<em>${_("[deleted]")}</em>&#32; <em>${_("[removed]")}</em>&#32;
%endif %endif
%endif %endif

0 comments on commit 06f4b9e

Please sign in to comment.