mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
allow to translate image's exceprt
This commit is contained in:
@@ -56,7 +56,7 @@ class ExcerptParser < Nokogiri::XML::SAX::Document
|
||||
elsif attributes["title"]
|
||||
characters("[#{attributes["title"]}]")
|
||||
else
|
||||
characters("[image]")
|
||||
characters("[#{I18n.t 'excerpt_image'}]")
|
||||
end
|
||||
|
||||
characters("(#{attributes['src']})") if @markdown_images
|
||||
|
||||
Reference in New Issue
Block a user