Skip to content

Commit bd10f7c

Browse files
authored
Merge pull request #7180 from roed-math/american-spelling
Use American spelling throughout
2 parents ba3943d + 7acfc0f commit bd10f7c

42 files changed

Lines changed: 86 additions & 86 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CONTRIBUTORS.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# This is the list of contributors to LMFDB
2-
# They are listed on /acknowledgement and maybe elsewhere
2+
# They are listed on /acknowledgment and maybe elsewhere
33
# the 'name' field is mandatory, all others currently optional
44
# - affil: university or company affiliation
55
# - url: homepage

lmfdb/api2/templates/api2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ <h2 id="api2-requests">API2 requests</h2>
1818
<li><p><a class="uri">/api2/inventory/&lt;searcher&gt;</a> - Describe the list of possible fields that can be returned by a searcher</p></li>
1919
<li><p><a class="uri">/api2/data/&lt;searcher&gt;</a> - Perform a search using a given searcher. Query parameters taken from the searcher description are provided as an ampersand delimited query string to this endpoint. Non searching parameters are available and are all prepended by “_”</p></li>
2020
<li><p><a class="uri">/api2/pretty/&lt;other_path&gt;</a> - This takes a valid other API path and produces a human readable (just) HTML page from the data contained. The other path should be the part after “api2” in the URL</p></li>
21-
<li><p><a class="uri">/api2/singleton/&lt;path&gt;</a> - This is intended to provide a URL that allows canonical reference to a single element of the database. The format of the singletons is not standardised and should not in general be used for machine readable access</p></li>
21+
<li><p><a class="uri">/api2/singleton/&lt;path&gt;</a> - This is intended to provide a URL that allows canonical reference to a single element of the database. The format of the singletons is not standardized and should not in general be used for machine readable access</p></li>
2222
<li><p><a class="uri">/api2/livepg/&lt;database&gt;</a> - This is intended to replicate the behavior of the existing API. By specifying a database name and then using a standard search string (as per the /data/&lt;searcher&gt; endpoint) a search is performed on the raw database. This is not intended for normal access, but for debugging and testing purposes only.</p></li>
2323
</ul>
2424
<h3 id="api2-singletons">API2 singleton queries</h3>

lmfdb/bianchi_modular_forms/templates/bmf-field_dim_table.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
{% endif %}
4848
<p>{{info.report | safe}}
4949
{# we have to decide which option is preselected
50-
based on a judgement of what users will want to
50+
based on a judgment of what users will want to
5151
switch to, i.e. one of the other two options. For
5252
simplicity I have used the 3-cycle new -> all ->
5353
cusp -> new. #}

lmfdb/bianchi_modular_forms/web_BMF.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def __init__(self, dbdata, max_eigs=50):
115115
- dbdata: the data from the database
116116
117117
dbdata is expected to be a database entry from which the class
118-
is initialised.
118+
is initialized.
119119
120120
"""
121121
self.__dict__.update(dbdata)

lmfdb/characters/test_characters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def test_dirichletgalorbs(self):
142142
r'<td class="center">\(e\left(\frac{115}{714}\right)\)</td>')
143143
assert table_row in W.get_data(as_text=True)
144144

145-
# Tests for URL behaviour of characters
145+
# Tests for URL behavior of characters
146146

147147
W = self.tc.get('/Character/Dirichlet/5489/banana/100', follow_redirects=True)
148148
assert bool_string(True) in W.get_data(as_text=True)

lmfdb/classical_modular_forms/web_newform.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,9 +1028,9 @@ def display_hecke_char_polys(self, num_disp=5):
10281028
th_wrap('charpoly', '$F_p(T)$'),
10291029
' </tr>', '</thead>', '<tbody>']
10301030
loop_count = 0
1031-
for p, factorisation in hecke_polys_orbits.items():
1032-
factorisation.sort(key=lambda elt: (elt[0].degree(), elt[1]))
1033-
charpoly = raw_typeset_poly_factor(factorisation, decreasing=True)
1031+
for p, factorization in hecke_polys_orbits.items():
1032+
factorization.sort(key=lambda elt: (elt[0].degree(), elt[1]))
1033+
charpoly = raw_typeset_poly_factor(factorization, decreasing=True)
10341034
if loop_count < num_disp:
10351035
polys.append(' <tr>')
10361036
else:

lmfdb/ecnf/WebEllipticCurve.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,12 @@ def EC_R_plot_zone(f,h):
215215
return plot_zone_union(EC_R_plot_zone_piece(f,h,ZF[0],ZF[1]),EC_R_plot_zone_piece(f,h,ZF[2],2*xi-ZF[2]))
216216
return EC_R_plot_zone_piece(f,h,ZF[0],2*ZF[1]-ZF[0])
217217

218-
def EC_R_plot(ainvs, xmin, xmax, ymin, ymax, colour, legend):
218+
def EC_R_plot(ainvs, xmin, xmax, ymin, ymax, color, legend):
219219
x = var('x')
220220
y = var('y')
221221
c = (xmin + xmax) / 2
222222
d = (xmax - xmin)
223-
return implicit_plot(y ** 2 + ainvs[0] * x * y + ainvs[2] * y - x ** 3 - ainvs[1] * x ** 2 - ainvs[3] * x - ainvs[4], (x, xmin, xmax), (y, ymin, ymax), plot_points=500, aspect_ratio="automatic", color=colour) + plot(0, xmin=c - 1e-5 * d, xmax=c + 1e-5 * d, ymin=ymin, ymax=ymax, aspect_ratio="automatic", color=colour, legend_label=legend) # Add an extra plot outside the visible frame because implicit plots are buggy: their legend does not show (https://trac.sagemath.org/ticket/15903)
223+
return implicit_plot(y ** 2 + ainvs[0] * x * y + ainvs[2] * y - x ** 3 - ainvs[1] * x ** 2 - ainvs[3] * x - ainvs[4], (x, xmin, xmax), (y, ymin, ymax), plot_points=500, aspect_ratio="automatic", color=color) + plot(0, xmin=c - 1e-5 * d, xmax=c + 1e-5 * d, ymin=ymin, ymax=ymax, aspect_ratio="automatic", color=color, legend_label=legend) # Add an extra plot outside the visible frame because implicit plots are buggy: their legend does not show (https://trac.sagemath.org/ticket/15903)
224224

225225
Rx = PolynomialRing(RDF,'x')
226226

@@ -238,7 +238,7 @@ def EC_nf_plot(K, ainvs, base_field_gen_name):
238238
xmax = max([r[1] for r in R])
239239
ymin = min([r[2] for r in R])
240240
ymax = max([r[3] for r in R])
241-
cols = rainbow(n1) # Default choice of n colours
241+
cols = rainbow(n1) # Default choice of n colors
242242
# However, these tend to be too pale, so we preset them for small values of n
243243
if n1 == 1:
244244
cols = ["blue"]

lmfdb/ecnf/test_ecnf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def test_j(self):
5959
L = self.tc.get('/EllipticCurve/2.0.4.1/5525.5/b/9')
6060
assert '226834389543384' in L.get_data(as_text=True)
6161
assert '1490902050625' in L.get_data(as_text=True)
62-
L = self.tc.get('EllipticCurve/2.2.89.1/81.1/a/1') # Test factorisation
62+
L = self.tc.get('EllipticCurve/2.2.89.1/81.1/a/1') # Test factorization
6363
assert '8798344145175011328000' in L.get_data(as_text=True)
6464

6565
def test_download(self):

lmfdb/elliptic_curves/elliptic_curve.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ def elliptic_curve_search(info, query):
654654
info['galois_image'] = ','.join(modell_labels + elladic_labels)
655655
query['modell_images'] = { '$contains': modell_labels }
656656

657-
# The button which used to be labelled Optimal only no/yes"
657+
# The button which used to be labeled Optimal only no/yes"
658658
# (default: no) has been renamed "Curves per isogeny class
659659
# all/one" (default: all). When this option is "one" we only list
660660
# one curve in each class, currently choosing the curve with

lmfdb/elliptic_curves/isog_class.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def make_class(self):
133133
from sage.matrix.all import Matrix
134134
M = classdata['isogeny_matrix']
135135

136-
# permute rows/cols to match labelling: the rows/cols in the
136+
# permute rows/cols to match labeling: the rows/cols in the
137137
# ec_classdata table are with respect to LMFDB ordering.
138138
if self.label_type == 'Cremona':
139139
def perm(i): return next(c for c in self.curves if c['Cnumber'] == i+1)['lmfdb_number']-1

0 commit comments

Comments
 (0)