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:
@@ -183,7 +183,7 @@ var magnificOptions = {
|
|||||||
var img_link = '<a href="' + $el.attr('href') + '" target="_blank">' + "{% trans "Open in New Tab" %}" + '</a>';
|
var img_link = '<a href="' + $el.attr('href') + '" target="_blank">' + "{% trans "Open in New Tab" %}" + '</a>';
|
||||||
return img_name + '<br />' + img_link;
|
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
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user