1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-12 13:24:52 +00:00

[fix] Invalid download in some specific languages

This commit is contained in:
ilearnit
2018-07-03 20:00:38 +08:00
parent fad837ec16
commit 8aa72108e9

View File

@@ -183,7 +183,7 @@ var magnificOptions = {
var img_link = '<a href="' + $el.attr('href') + '" target="_blank">' + "{% trans "Open in New Tab" %}" + '</a>';
return img_name + '<br />' + img_link;
},
tError: '{% trans '<a href="%url%" target="_blank">The image</a> could not be loaded.' %}' // Error message when image could not be loaded
tError: "{% trans "<a href='%url%' target='_blank'>The image</a> could not be loaded." %}" // Error message when image could not be loaded
}
};