diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-11-05 14:52:43 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-11-05 14:55:08 -0800 |
commit | e9d9934b2d8a67fbd47816cc3f84f142298cbcfb (patch) | |
tree | 46b10a0e610cf4d571e856a9b14a5ba101c47426 /fatcat_scholar/templates/search_macros.html | |
parent | 2b99551390d574d7518b67731c77937422c845f9 (diff) | |
download | fatcat-scholar-e9d9934b2d8a67fbd47816cc3f84f142298cbcfb.tar.gz fatcat-scholar-e9d9934b2d8a67fbd47816cc3f84f142298cbcfb.zip |
pluralize result and 'additional' strings (for i18n)
Thanks to Mito Ivir on weblate for the recommendation.
Diffstat (limited to 'fatcat_scholar/templates/search_macros.html')
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index 879f96a..0c35dd4 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -252,7 +252,9 @@ <button class="ui basic label blue small button" form="search_form" type="submit" name="collapse_key" value="{{ paper.collapse_key }}"> <i class="ui icon zoom-in"></i> {% trans trimmed count=paper._collapsed_count %} - Show {{ count }} additional hits from this issue + Show {{ count }} additional result from this issue + {% pluralize %} + Show {{ count }} additional results from this issue {% endtrans %} </button> {% endif %} |