diff options
Diffstat (limited to 'fatcat_scholar/templates')
-rw-r--r-- | fatcat_scholar/templates/home.html | 3 | ||||
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 6 |
2 files changed, 3 insertions, 6 deletions
diff --git a/fatcat_scholar/templates/home.html b/fatcat_scholar/templates/home.html index 9d7b59b..999b043 100644 --- a/fatcat_scholar/templates/home.html +++ b/fatcat_scholar/templates/home.html @@ -33,8 +33,7 @@ <div class="ui centered grid"> <div class="ui sixteen wide mobile twelve wide computer column" style="text-align: center; font-weight: bold;"> <a name="alphanotice" href="{{ lang_prefix }}/help#bugs" style="color: black;"> - {% trans %}This service is in "alpha". It has several bugs, experiences - downtime, and has not been officially announced.{% endtrans %} + {% trans %}This service is in "alpha". It has several bugs, experiences downtime, and has not been officially announced.{% endtrans %} </a> </div> </div> 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) %} |