]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Prepare for 2.15.0 release (#1079) v2.15.0
authorAarni Koskela <akx@iki.fi>
Sun, 5 May 2024 13:48:29 +0000 (16:48 +0300)
committerGitHub <noreply@github.com>
Sun, 5 May 2024 13:48:29 +0000 (16:48 +0300)
41 files changed:
AUTHORS
CHANGES.rst
LICENSE
babel/__init__.py
babel/core.py
babel/dates.py
babel/lists.py
babel/localedata.py
babel/localtime/__init__.py
babel/localtime/_fallback.py
babel/messages/__init__.py
babel/messages/catalog.py
babel/messages/checkers.py
babel/messages/extract.py
babel/messages/frontend.py
babel/messages/jslexer.py
babel/messages/mofile.py
babel/messages/plurals.py
babel/messages/pofile.py
babel/numbers.py
babel/plural.py
babel/support.py
babel/util.py
docs/conf.py
scripts/dump_data.py
scripts/dump_global.py
scripts/import_cldr.py
tests/messages/test_catalog.py
tests/messages/test_checkers.py
tests/messages/test_extract.py
tests/messages/test_frontend.py
tests/messages/test_mofile.py
tests/messages/test_plurals.py
tests/messages/test_pofile.py
tests/test_core.py
tests/test_dates.py
tests/test_localedata.py
tests/test_numbers.py
tests/test_plural.py
tests/test_support.py
tests/test_util.py

diff --git a/AUTHORS b/AUTHORS
index cfea92e37d832a0cba598526e9545d800cae80d1..67335b7a3e17695c813736f5412680a397e33b97 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -49,6 +49,8 @@ Babel is written and maintained by the Babel team and various contributors:
 - Arturas Moskvinas
 - Leonardo Pistone
 - Hyunjun Kim
+- Ronan Amicel
+- Christian Clauss
 - Best Olunusi
 - Teo
 - Ivan Koldakov
index 31b1bd543808ff745fe60080cd56b209cdb94b74..d3a7b00b360202e25cad9a6c4675086170323bb2 100644 (file)
@@ -1,6 +1,28 @@
 Babel Changelog
 ===============
 
+Version 2.15.0
+--------------
+
+Python version support
+~~~~~~~~~~~~~~~~~~~~~~
+
+* Babel 2.15.0 will require Python 3.8 or newer. (:gh:`1048`)
+
+Features
+~~~~~~~~
+
+* CLDR: Upgrade to CLDR 44 (:gh:`1071`) (@akx)
+* Dates: Support for the "fall back to short format" logic for time delta formatting (:gh:`1075`) (@akx)
+* Message: More versatile .po IO functions (:gh:`1068`) (@akx)
+* Numbers: Improved support for alternate spaces when parsing numbers (:gh:`1007`) (@ronnix's first contribution)
+
+Infrastructure
+~~~~~~~~~~~~~~
+
+* Upgrade GitHub Actions (:gh:`1054`) (@cclauss's first contribution)
+* The Unicode license is now included in `locale-data` and in the documentation (:gh:`1074`) (@akx)
+
 Version 2.14.0
 --------------
 
diff --git a/LICENSE b/LICENSE
index 41a1e593b6e4bb568cd9e159eaa8de0745372718..83b6e513d40f78480c86ed03d6a2e6823774d589 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2013-2023 by the Babel Team, see AUTHORS for more information.
+Copyright (c) 2013-2024 by the Babel Team, see AUTHORS for more information.
 
 Redistribution and use in source and binary forms, with or without
 modification, are permitted provided that the following conditions
index ff986e9ce7791bf4a398537c16d3fcccfeabd935..6a9789c520d65dff72544bc21200429fa77a07a8 100644 (file)
@@ -12,7 +12,7 @@
        access to various locale display names, localized number and date
        formatting, etc.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
@@ -25,7 +25,7 @@ from babel.core import (
     parse_locale,
 )
 
-__version__ = '2.14.0'
+__version__ = '2.15.0'
 
 __all__ = [
     'Locale',
index 207c13b928ccce0ad46d3f23827ce9ddd8d04813..56a4ee503674c40b97cc82c16106eff946b5a722 100644 (file)
@@ -4,7 +4,7 @@
 
     Core locale representation and locale data access.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index c2e4f0cc7df29b59e1ba3c790e41761dea92f436..df129604a25d7d383df202359316d02e4fad0d0a 100644 (file)
@@ -11,7 +11,7 @@
      * ``LC_ALL``, and
      * ``LANG``
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index a8471fd1ebfca53e9077e94c6721610b45f09dcd..376bc963edeb315400a739e3fc82695f97c397d1 100644 (file)
@@ -10,7 +10,7 @@
      * ``LC_ALL``, and
      * ``LANG``
 
-    :copyright: (c) 2015-2023 by the Babel Team.
+    :copyright: (c) 2015-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from __future__ import annotations
index f1e8a129152e827dc350696763765018aa0dee70..a9f7d4bf9b0e82adc7e77f71d09a775fa7ded23b 100644 (file)
@@ -7,7 +7,7 @@
     :note: The `Locale` class, which uses this module under the hood, provides a
            more convenient interface for accessing the locale data.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index e1ece73422ad9f28ef2d88806ff5bafa4ffb7140..1066c9511c0da0c88b9147c906777c3edb851fe6 100644 (file)
@@ -5,7 +5,7 @@
     Babel specific fork of tzlocal to determine the local timezone
     of the system.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 14979a53bf1c4549550014d76fdd58930893aced..7c99f488c8d5394cb87c095878ca2e93d94fd643 100644 (file)
@@ -4,7 +4,7 @@
 
     Emulated fallback local timezone when all else fails.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 883a2e05590afa087ef08b7d2997a60736985672..5a81b910f8888b27aa213e2a5065cc8a5f186af4 100644 (file)
@@ -4,7 +4,7 @@
 
     Support for ``gettext`` message catalogs.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 41adfaeee2c6b5dfa58a0d66a89dfb855c79eb19..9f215cf186261df02b552c19f3ac5c1543425d6e 100644 (file)
@@ -4,7 +4,7 @@
 
     Data structures for message catalogs.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from __future__ import annotations
index e5448e06b8c3ce2eebaf951ed69e065c3d98d790..df1159dedf2e064f8af1b50abb3eaba609e8c358 100644 (file)
@@ -6,7 +6,7 @@
 
     :since: version 0.9
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from __future__ import annotations
index 8e377987151950a02711a461760cc6975dfd33b0..862e637434ac6a7207c0e1aef67c017414b1a616 100644 (file)
@@ -12,7 +12,7 @@
     The main entry points into the extraction functionality are the functions
     `extract_from_dir` and `extract_from_file`.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from __future__ import annotations
index 34f9e8902753d1a3e85fff0d7b941de3e5f374e1..aeda9763ba229ce169e9eb397ff762a210c5aab2 100644 (file)
@@ -4,7 +4,7 @@
 
     Frontends for the message extraction functionality.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 6456bd03861db6edad0595e36c7f3cb4b82d5aac..31f0582e3bd523db532e6c09ad8a7013aebba654 100644 (file)
@@ -5,7 +5,7 @@
     A simple JavaScript 1.5 lexer which is used for the JavaScript
     extractor.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from __future__ import annotations
index ca02e6837a483fb6557e7cf14f830e00e3064b19..0291b07cc741d8c6ff8ce7a8ab88b88f28bc6ff6 100644 (file)
@@ -4,7 +4,7 @@
 
     Writing of files in the ``gettext`` MO (machine object) format.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from __future__ import annotations
index fa3f03ed8af15631ee12fb161a053fbac3e39148..01c38f4cd051526935bdf9aa196e5dfd6c213629 100644 (file)
@@ -4,7 +4,7 @@
 
     Plural form definitions.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from __future__ import annotations
index 6e9dbdf0314601d00c0ce85b3875500ee29ab927..89a924255b730301b1295b0d7ded803df5449c80 100644 (file)
@@ -5,7 +5,7 @@
     Reading and writing of files in the ``gettext`` PO (portable object)
     format.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from __future__ import annotations
index 6df1db8cb4629175f456907f8c88408ce50f9c02..624e8d61e3015d0f201616acd784dfd9b42c604c 100644 (file)
@@ -11,7 +11,7 @@
      * ``LC_ALL``, and
      * ``LANG``
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 # TODO:
index 01df16c6d543c6d69e0f363cdf22f436187904c4..3be412f6987250c51c159c50ac5b549f66f5b726 100644 (file)
@@ -4,7 +4,7 @@
 
     CLDR Plural support.  See UTS #35.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from __future__ import annotations
index 1774d9d858ceec039bfe3997cfe676d2c4693648..e6ee3780515bd4f6e30db8cde8fc08dfa79d2a6a 100644 (file)
@@ -7,7 +7,7 @@
 
     .. note: the code in this module is not used by Babel itself
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from __future__ import annotations
index 093197f9fe9bfee6fbee9fb25a1336d6e374eb38..605695b1fafbfde80200d78bae47452b6678dd2c 100644 (file)
@@ -4,7 +4,7 @@
 
     Various utility classes and functions.
 
-    :copyright: (c) 2013-2023 by the Babel Team.
+    :copyright: (c) 2013-2024 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from __future__ import annotations
index 3be4981818e028104dba1c2dbebb425c9c0ee31e..128eacd7d140081b6258e1da2ba86b4f5de728f5 100644 (file)
@@ -44,16 +44,16 @@ master_doc = 'index'
 
 # General information about the project.
 project = 'Babel'
-copyright = '2023, The Babel Team'
+copyright = '2024, The Babel Team'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 # built documents.
 #
 # The short X.Y version.
-version = '2.14'
+version = '2.15'
 # The full version, including alpha/beta/rc tags.
-release = '2.14.0'
+release = '2.15.0'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
index b17beb7bec0f494686b98015229308e02b1aef63..639c14d43befbd9ba613125c499647521309cca5 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 1018a5392021f01d5acb56c82ca471ea936bd63c..8b8294014d79754e0fcc6ac620e39b8f8e87b061 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 1ff39a8d96ac420d285e0444e750605714f7e027..633ca9a01ae9f14279c29f62d3908e9a3e4af7d8 100755 (executable)
@@ -1,6 +1,6 @@
 #!/usr/bin/env python
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 4e133304f6ca0009b58de820ea7e544770744187..2df85debb8bec14571f0e53b86b3942cd2217503 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index ac1e1bc4670f9b04f789a459c7b47feebd83f72f..b2dc9dc4ef118933ebbf6e66d80a03d1258a29b1 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 086702ed7d088139bc5d627860097668edfea078..7d3a05aa73c898fc02d5b0dd5e009e5861358ba0 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 225d6b358dbe8b63bbc177e4813686d48d7d7e88..448dd7357d7e1a65ea47c15220734130f70553cf 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 986a74d6ccf495705c3de5f1abf12eb70ab907c3..7a699041d9c13c4056296aaa31ad848eadf8de4c 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 41438f58dbf2c40693010be92c8fb6ff5eed4b44..e9f8e80fd1dc45e8767f47ccd84c58fdee4c3c12 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index d322857d57e923d8984cc445aa49254491e32b08..99958b7b77b7924aed71200b8639eacfa823bbf8 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 2e78462140f17ade14ffa35be357302e462a6c62..1bec2155d51487c78ec6010dc24f8d3b0e5e6d5d 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index f25dd6146bdadc983108d6b67cce20e393285619..fb90131438271e325dc45f921e4ead08f99bb182 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index d4eb4e5970d2cdc1a39233183be9fc3bef32e093..8a4fbef1cb514012e8f25b30c9ef07522c0f1350 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index eeb71a2fcc23e430baae235f4464a60731282c43..ed0531c271823ee23469d6c697a3563d2bfc9a57 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 2fa56cf4e0a84cf969fab10796bb3ea380fad717..b10ccf5ad398921e2d1fc4a085b39f92ebd4d8aa 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index ccd8fe60b97e3cb25b24e566da8fc69acc693159..12627205177aa430c6e61752054172c6fd17107e 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 8ea68b2bba89936bbf3ef8f39af2d38248b4ebd9..c661894c8ade5cc4e23986b518569ed30a5fa90f 100644 (file)
@@ -1,5 +1,5 @@
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2023 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2024 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which