From 06f4b9eccf3cd97fde9b5a390e4f3b6100a00424 Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Sun, 19 Jun 2011 19:29:34 -0700 Subject: [PATCH] Use [removed] instead of [deleted] for expunged. --- r2/r2/lib/jsontemplates.py | 2 +- r2/r2/templates/usertext.compact | 2 +- r2/r2/templates/usertext.html | 2 +- r2/r2/templates/usertext.mobile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/r2/r2/lib/jsontemplates.py b/r2/r2/lib/jsontemplates.py index f7c42c419..4f123798a 100644 --- a/r2/r2/lib/jsontemplates.py +++ b/r2/r2/lib/jsontemplates.py @@ -278,7 +278,7 @@ class LinkJsonTemplate(ThingJsonTemplate): if not thing.expunged: return safemarkdown(thing.selftext) else: - return safemarkdown(_("[deleted]")) + return safemarkdown(_("[removed]")) return ThingJsonTemplate.thing_attr(self, thing, attr) def rendered_data(self, thing): diff --git a/r2/r2/templates/usertext.compact b/r2/r2/templates/usertext.compact index 85656aa17..72c030194 100644 --- a/r2/r2/templates/usertext.compact +++ b/r2/r2/templates/usertext.compact @@ -53,7 +53,7 @@ target = thing.target))} % else: - ${_("[deleted]")} + ${_("[removed]")} % endif %endif diff --git a/r2/r2/templates/usertext.html b/r2/r2/templates/usertext.html index 5788d5f06..aad28b467 100644 --- a/r2/r2/templates/usertext.html +++ b/r2/r2/templates/usertext.html @@ -52,7 +52,7 @@ ${unsafe(safemarkdown(thing.text, nofollow = thing.nofollow, target = thing.target))} % else: - ${_("[deleted]")} + ${_("[removed]")} % endif %endif diff --git a/r2/r2/templates/usertext.mobile b/r2/r2/templates/usertext.mobile index 51ac6b731..8f14b1ae2 100644 --- a/r2/r2/templates/usertext.mobile +++ b/r2/r2/templates/usertext.mobile @@ -30,6 +30,6 @@ target = thing.target))} %else: -${_("[deleted]")} +${_("[removed]")} %endif %endif