diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-22 11:48:31 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-22 11:48:31 -0800 |
commit | 32f28fc380f3149ecbb5ddf433d82e378645b406 (patch) | |
tree | 0853f73928901da91a778c7fdc928c56a6ceef6f /fatcat_scholar/templates/search_macros.html | |
parent | fd595a2ba6037721797713db891ceb4431a2735d (diff) | |
download | fatcat-scholar-32f28fc380f3149ecbb5ddf433d82e378645b406.tar.gz fatcat-scholar-32f28fc380f3149ecbb5ddf433d82e378645b406.zip |
html: more i18n template coverage, and less whitespace
Diffstat (limited to 'fatcat_scholar/templates/search_macros.html')
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index 1fbfde6..a63d4ea 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -108,7 +108,7 @@ {% else %} <i class="external alternate icon"></i> {% endif %} - {% set default_domain = "Publisher / doi.org" %} + {% set default_domain = _("Publisher / doi.org") %} {% if paper._obj and paper._obj.biblio %} {{ paper._obj.biblio.doi_link_domain(default_domain) }} {% else %} @@ -293,9 +293,7 @@ {% endif %} {% if paper.fulltext.file_mimetype %} - {% trans mimetype = ("<code>" + paper.fulltext.file_mimetype + "</code>")|safe %} - The file type is {{ mimetype }}. - {% endtrans %} + {% trans mimetype = ("<code>" + paper.fulltext.file_mimetype + "</code>")|safe %}The file type is {{ mimetype }}.{% endtrans %} {% endif %} {% if paper.fulltext.release_ident and (paper.biblio.release_ident != paper.fulltext.release_ident) %} |