From eaa3a325e566cc084d30ba56f53ecb3f8e80d9ab Mon Sep 17 00:00:00 2001 From: amzrk2 Date: Thu, 16 Apr 2020 15:34:39 +0800 Subject: i18n support --- layouts/partials/scripts.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/scripts.html') diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html index 5138899..eceda37 100644 --- a/layouts/partials/scripts.html +++ b/layouts/partials/scripts.html @@ -24,7 +24,7 @@ if (commentLoadingTime > 20) { clearInterval(commentCheckInterval); $('#post-comment').hide(); - $('#post-loading p').text('评论区加载失败'); + $('#post-loading p').text('{{ i18n "postCommentLoadingFailed" }}'); } return; } else { -- cgit v1.2.3