Skip to content

Commit 6055441

Browse files
committed
Replace dead or insecure links
1 parent 1c69d4c commit 6055441

26 files changed

Lines changed: 49 additions & 49 deletions

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Details can be found in the HTML files in the ``docs`` folder.
99

1010
For more information please visit the Babel web site:
1111

12-
http://babel.pocoo.org/
12+
https://babel.pocoo.org/
1313

1414
Join the chat at https://gitter.im/python-babel/babel
1515

babel/core.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ def languages(self) -> localedata.LocaleDataDict:
583583
>>> Locale('de', 'DE').languages['ja']
584584
u'Japanisch'
585585
586-
See `ISO 639 <http://www.loc.gov/standards/iso639-2/>`_ for
586+
See `ISO 639 <https://www.loc.gov/standards/iso639-2/>`_ for
587587
more information.
588588
"""
589589
return self._data['languages']
@@ -595,7 +595,7 @@ def scripts(self) -> localedata.LocaleDataDict:
595595
>>> Locale('en', 'US').scripts['Hira']
596596
u'Hiragana'
597597
598-
See `ISO 15924 <http://www.evertype.com/standards/iso15924/>`_
598+
See `ISO 15924 <https://www.unicode.org/iso15924/>`_
599599
for more information.
600600
"""
601601
return self._data['scripts']
@@ -607,7 +607,7 @@ def territories(self) -> localedata.LocaleDataDict:
607607
>>> Locale('es', 'CO').territories['DE']
608608
u'Alemania'
609609
610-
See `ISO 3166 <http://www.iso.org/iso/en/prods-services/iso3166ma/>`_
610+
See `ISO 3166 <https://en.wikipedia.org/wiki/ISO_3166>`_
611611
for more information.
612612
"""
613613
return self._data['territories']

babel/dates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1946,7 +1946,7 @@ def match_skeleton(skeleton: str, options: Iterable[str], allow_different_fields
19461946
# TODO: maybe implement pattern expansion?
19471947

19481948
# Based on the implementation in
1949-
# http://source.icu-project.org/repos/icu/icu4j/trunk/main/classes/core/src/com/ibm/icu/text/DateIntervalInfo.java
1949+
# https://github.com/unicode-org/icu/blob/main/icu4j/main/core/src/main/java/com/ibm/icu/text/DateIntervalInfo.java
19501950

19511951
# Filter out falsy values and sort for stability; when `interval_formats` is passed in, there may be a None key.
19521952
options = sorted(option for option in options if option)

babel/numbers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def get_currency_precision(currency: str) -> int:
165165

166166

167167
def get_currency_unit_pattern(
168-
currency: str,
168+
currency: str, # TODO: unused?!
169169
count: float | decimal.Decimal | None = None,
170170
locale: Locale | str | None = None,
171171
) -> str:

contrib/babel.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
*
77
* This software is licensed as described in the file COPYING, which
88
* you should have received as part of this distribution. The terms
9-
* are also available at http://babel.edgewall.org/wiki/License.
9+
* are also available at https://github.com/python-babel/babel/blob/master/LICENSE.
1010
*
1111
* This software consists of voluntary contributions made by many
1212
* individuals. For the exact contribution history, see the revision
13-
* history and logs, available at http://babel.edgewall.org/log/.
13+
* history and logs, available at https://github.com/python-babel/babel/commits/master/.
1414
*/
1515

1616
/**

docs/_templates/sidebar-links.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ <h3>Other Formats</h3>
33
You can download the documentation in other formats as well:
44
</p>
55
<ul>
6-
<li><a href="http://babel.pocoo.org/docs/babel-docs.pdf">as PDF</a>
7-
<li><a href="http://babel.pocoo.org/docs/babel-docs.zip">as zipped HTML</a>
6+
<li><a href="https://babel.pocoo.org/docs/babel-docs.pdf">as PDF</a>
7+
<li><a href="https://babel.pocoo.org/docs/babel-docs.zip">as zipped HTML</a>
88
</ul>
99
<h3>Useful Links</h3>
1010
<ul>
11-
<li><a href="http://babel.pocoo.org/">Babel Website</a></li>
11+
<li><a href="https://babel.pocoo.org/">Babel Website</a></li>
1212
<li><a href="https://pypi.org/project/Babel/">Babel @ PyPI</a></li>
1313
<li><a href="https://github.com/python-babel/babel">Babel @ github</a></li>
1414
<li><a href="https://github.com/python-babel/babel/issues">Issue Tracker</a></li>

docs/_themes/babel/layout.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
{%- block footer %}
2020
<div class="footer">
2121
&copy; Copyright {{ copyright }}.
22-
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a>.
22+
Created using <a href="https://sphinx.pocoo.org/">Sphinx</a>.
2323
</div>
2424
{% if pagename == 'index' %}
2525
</div>

docs/_themes/babel/static/babel.css_t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
@import url("basic.css");
1717

18-
@import url(http://fonts.googleapis.com/css?family=Bree+Serif);
18+
@import url(://fonts.googleapis.com/css?family=Bree+Serif);
1919

2020
/* -- page layout ----------------------------------------------------------- */
2121

docs/messages.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ languages (for whatever reason). Therefore the way in which messages are
8080
extracted from source files can not only depend on the file extension, but
8181
needs to be controllable in a precise manner.
8282

83-
.. _`Jinja2`: http://jinja.pocoo.org/
83+
.. _`Jinja2`: https://jinja.pocoo.org/
8484
.. _`Genshi`: https://genshi.edgewall.org/
8585

8686
Babel accepts a configuration file to specify this mapping of files to
@@ -265,7 +265,7 @@ extraction.
265265
extraction function directly. But whenever possible, the entry point
266266
should be declared to make configuration more convenient.
267267

268-
.. _`setuptools`: http://peak.telecommunity.com/DevCenter/setuptools
268+
.. _`setuptools`: https://setuptools.pypa.io/en/latest/setuptools.html
269269

270270

271271
-------------------

scripts/dump_data.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
#
66
# This software is licensed as described in the file LICENSE, which
77
# you should have received as part of this distribution. The terms
8-
# are also available at http://babel.edgewall.org/wiki/License.
8+
# are also available at https://github.com/python-babel/babel/blob/master/LICENSE.
99
#
1010
# This software consists of voluntary contributions made by many
1111
# individuals. For the exact contribution history, see the revision
12-
# history and logs, available at http://babel.edgewall.org/log/.
12+
# history and logs, available at https://github.com/python-babel/babel/commits/master/.
1313

1414
from optparse import OptionParser
1515
from pprint import pprint

0 commit comments

Comments
 (0)