From 8aa72108e9aa2068568b04d0daaf06da65d76d6b Mon Sep 17 00:00:00 2001 From: ilearnit Date: Tue, 3 Jul 2018 20:00:38 +0800 Subject: [PATCH] [fix] Invalid download in some specific languages --- seahub/templates/view_shared_dir.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seahub/templates/view_shared_dir.html b/seahub/templates/view_shared_dir.html index 096f7256cd..1cccbe6655 100644 --- a/seahub/templates/view_shared_dir.html +++ b/seahub/templates/view_shared_dir.html @@ -183,7 +183,7 @@ var magnificOptions = { var img_link = '' + "{% trans "Open in New Tab" %}" + ''; return img_name + '
' + img_link; }, - tError: '{% trans 'The image could not be loaded.' %}' // Error message when image could not be loaded + tError: "{% trans "The image could not be loaded." %}" // Error message when image could not be loaded } };