aboutsummaryrefslogtreecommitdiffstats
path: root/fatcat_scholar
diff options
context:
space:
mode:
Diffstat (limited to 'fatcat_scholar')
-rw-r--r--fatcat_scholar/query_citation.py2
-rw-r--r--fatcat_scholar/templates/help.html2
-rw-r--r--fatcat_scholar/web.py2
3 files changed, 3 insertions, 3 deletions
diff --git a/fatcat_scholar/query_citation.py b/fatcat_scholar/query_citation.py
index 83717e8..79eceef 100644
--- a/fatcat_scholar/query_citation.py
+++ b/fatcat_scholar/query_citation.py
@@ -93,7 +93,7 @@ def fuzzy_match(
- WEAK
- AMBIGUOUS
- Eg, if there is any EXACT match that is always returned; an AMBIGIOUS
+ Eg, if there is any EXACT match that is always returned; an AMBIGUOUS
result is only returned if all the candidate matches were ambiguous.
TODO: actually do something with timeout
diff --git a/fatcat_scholar/templates/help.html b/fatcat_scholar/templates/help.html
index fb26740..c4d0256 100644
--- a/fatcat_scholar/templates/help.html
+++ b/fatcat_scholar/templates/help.html
@@ -94,7 +94,7 @@ apply range queries like <code>year:&gt;1989 year:&lt;2000</code>.{% endtrans %}
<tr><td style="font-family: monospace;">stage:
<td>eg, "published", "submitted", "accepted", "draft"
<tr><td style="font-family: monospace;">lang;
- <td>value is a 2-character lower-case ISO lanuage code)
+ <td>value is a 2-character lower-case ISO language code)
<tr><td style="font-family: monospace;">country:
<td>value is a 2-character lower-case ISO country code
<tr><td style="font-family: monospace;">access_type:
diff --git a/fatcat_scholar/web.py b/fatcat_scholar/web.py
index 4e21ecd..495ae98 100644
--- a/fatcat_scholar/web.py
+++ b/fatcat_scholar/web.py
@@ -530,7 +530,7 @@ app.include_router(web)
for lang_option in I18N_LANG_OPTIONS:
app.include_router(web, prefix=f"/{lang_option}")
-# Becasue we are mounting 'api' after 'web', the web routes will take
+# Because we are mounting 'api' after 'web', the web routes will take
# precedence. Requests get passed through the API handlers based on content
# negotiation. This is counter-intuitive here in the code, but does seem to
# work, and results in the OpenAPI docs looking correct.