diff options
Diffstat (limited to 'layouts/partials/disqus.html')
-rw-r--r-- | layouts/partials/disqus.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/partials/disqus.html b/layouts/partials/disqus.html index 47e0661..ccf0340 100644 --- a/layouts/partials/disqus.html +++ b/layouts/partials/disqus.html @@ -1,11 +1,11 @@ <div id="disqus-container"> {{ with .Site.DisqusShortname }} - <button id="disqus-button" onclick="showComments()">Show comments</button> + <button id="disqus-button" onclick="showComments()">{{ T "discuss_show_comments_button" }}</button> <div id="disqus-comments"> {{ $isDummyName := eq . "yourdiscussshortname" }} {{ $isServer := $.Site.IsServer }} {{ if or $isDummyName $isServer }} - <p><em>Disqus comments are disabled.</em></p> + <p><em>{{ T "discuss_comments_disabled" }}</em></p> <script type="application/javascript"> function showComments() { {{ partial "disqus-js-common.js" . | safeJS }} @@ -21,7 +21,7 @@ } </script> {{ end }} - <noscript>Enable JavaScript to view Disqus comments.</noscript> + <noscript>{{ T "discuss_js_disabled" }}</noscript> </div> {{ end }} </div> |