Skip to content

Commit ee0a453

Browse files
authored
fix: use correct case for ToU link (#16231)
1 parent 15de759 commit ee0a453

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

warehouse/locale/messages.pot

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,8 +1169,8 @@ msgstr ""
11691169
msgid "Privacy policy"
11701170
msgstr ""
11711171

1172-
#: warehouse/templates/base.html:320 warehouse/templates/pages/sitemap.html:43
1173-
msgid "Terms of use"
1172+
#: warehouse/templates/base.html:320
1173+
msgid "Terms of Use"
11741174
msgstr ""
11751175

11761176
#: warehouse/templates/base.html:321
@@ -8679,7 +8679,7 @@ msgstr ""
86798679
msgid "Security policy"
86808680
msgstr ""
86818681

8682-
#: warehouse/templates/pages/sitemap.html:44
8682+
#: warehouse/templates/pages/sitemap.html:43
86838683
#: warehouse/templates/pages/trademarks.html:20
86848684
msgid "PyPI Trademarks"
86858685
msgstr ""

warehouse/templates/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ <h2>{% trans %}Using PyPI{% endtrans %}</h2>
317317
<li><a href="https://policies.python.org/python.org/code-of-conduct/" title="{% trans %}External link{% endtrans %}" target="_blank" rel="noopener">{% trans %}Code of conduct{% endtrans %}</a></li>
318318
<li><a href="{{ request.route_path('security') }}">{% trans %}Report security issue{% endtrans %}</a></li>
319319
<li><a href="https://www.python.org/privacy/" title="{% trans %}External link{% endtrans %}" target="_blank" rel="noopener">{% trans %}Privacy policy{% endtrans %}</a></li>
320-
<li><a href="https://policies.python.org/pypi.org/Terms-of-use/" title="{% trans %}External link{% endtrans %}" target="_blank" rel="noopener">{% trans %}Terms of use{% endtrans %}</a></li>
320+
<li><a href="https://policies.python.org/pypi.org/Terms-of-Use/" title="{% trans %}External link{% endtrans %}" target="_blank" rel="noopener">{% trans %}Terms of Use{% endtrans %}</a></li>
321321
<li><a href="https://policies.python.org/pypi.org/Acceptable-Use-Policy/" title="{% trans %}External link{% endtrans %}" target="_blank" rel="noopener">{% trans %}Acceptable Use Policy{% endtrans %}</a></li>
322322
</ul>
323323
</nav>

warehouse/templates/pages/sitemap.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ <h2>{% trans %}About PyPI{% endtrans %}</h2>
4040
<li><a href="{{ request.route_path('stats') }}">{% trans %}Statistics{% endtrans %}</a></li>
4141
<li><a href="{{ request.route_path('sponsors') }}">{% trans %}Sponsors{% endtrans %}</a></li>
4242
<li><a href="{{ request.route_path('security') }}">{% trans %}Security policy{% endtrans %}</a></li>
43-
<li><a href="https://policies.python.org/pypi.org/Terms-of-use/">{% trans %}Terms of use{% endtrans %}</a></li>
4443
<li><a href="{{ request.route_url('trademarks') }}">{% trans %}PyPI Trademarks{% endtrans %}</a></li>
4544
</ul>
4645
</div>

0 commit comments

Comments
 (0)