Post replacements: fix replacement message

It's incorrect to say that a new image was used, since we also host
videos. See for example https://danbooru.donmai.us/posts/3114352
This commit is contained in:
nonamethanks
2020-12-09 10:01:24 +01:00
parent be69778d25
commit 7464446f64

View File

@@ -11,7 +11,7 @@ class UploadService
end
def comment_replacement_message(post, replacement)
%("#{replacement.creator.name}":[/users/#{replacement.creator.id}] replaced this post with a new image:\n\n#{replacement_message(post, replacement)})
%("#{replacement.creator.name}":[/users/#{replacement.creator.id}] replaced this post with a new file:\n\n#{replacement_message(post, replacement)})
end
def replacement_message(post, replacement)