]> git.ipfire.org Git - thirdparty/babel.git/commitdiff
Bump copyright year from 2018 to 2019 650/head
authorAarni Koskela <akx@iki.fi>
Mon, 27 May 2019 12:24:52 +0000 (15:24 +0300)
committerAarni Koskela <akx@iki.fi>
Mon, 27 May 2019 12:24:52 +0000 (15:24 +0300)
38 files changed:
LICENSE
babel/__init__.py
babel/core.py
babel/dates.py
babel/lists.py
babel/localedata.py
babel/localtime/__init__.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/LICENSE b/LICENSE
index b517a529496369ff64cd82e23c17ef132facd565..10722cc18609400c104f9630ac524e13f6fed840 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright (c) 2013-2018 by the Babel Team, see AUTHORS for more information.
+Copyright (c) 2013-2019 by the Babel Team, see AUTHORS for more information.
 
 All rights reserved.
 
index e58942a96259652ab8a378552d8848b6a1b3c5ca..1132e6f37ca2f172198b651a7a29b67b34b4b08d 100644 (file)
@@ -13,7 +13,7 @@
        access to various locale display names, localized number and date
        formatting, etc.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 211849bce6212ed88312e78b2977a7a544f9dc4e..a80807a615dd17642806bad03b92f1118a03f33f 100644 (file)
@@ -5,7 +5,7 @@
 
     Core locale representation and locale data access.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index ec86991a0fd8fab5d949ac6656061e18a919038d..f1bd66faff33e2ba08e5fed2bd91688f7eef638d 100644 (file)
@@ -12,7 +12,7 @@
      * ``LC_ALL``, and
      * ``LANG``
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
@@ -1506,12 +1506,12 @@ class DateTimeFormat(object):
 
         if 7 - first_day >= self.locale.min_week_days:
             week_number += 1
-        
+
         if self.locale.first_week_day == 0:
-            # Correct the weeknumber in case of iso-calendar usage (first_week_day=0). 
+            # Correct the weeknumber in case of iso-calendar usage (first_week_day=0).
             # If the weeknumber exceeds the maximum number of weeks for the given year
-            # we must count from zero.For example the above calculation gives week 53 
-            # for 2018-12-31. By iso-calender definition 2018 has a max of 52 
+            # we must count from zero.For example the above calculation gives week 53
+            # for 2018-12-31. By iso-calender definition 2018 has a max of 52
             # weeks, thus the weeknumber must be 53-52=1.
             max_weeks = date(year=self.value.year, day=28, month=12).isocalendar()[1]
             if week_number > max_weeks:
index 329437975591b042b0e93d0f5a6f131370f482bc..ab5a24c408555675944385d17511926644e2a543 100644 (file)
@@ -11,7 +11,7 @@
      * ``LC_ALL``, and
      * ``LANG``
 
-    :copyright: (c) 2015, 2018 by the Babel Team.
+    :copyright: (c) 2015-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 03381e2df046e2d7bac4a58d67a749cd130abf88..e012abbf26489263d4eb48adee78d44972afee79 100644 (file)
@@ -8,7 +8,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-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index bb4341d60d3357373f15609675e42b490f4aef7e..aefd8a3e7aaeb566cdc8e6b08b4ede9fecde6577 100644 (file)
@@ -6,7 +6,7 @@
     Babel specific fork of tzlocal to determine the local timezone
     of the system.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 7dd6f8b6da6125e171952d245a993863d17b7e2e..5b69675f38d1efc5c088114a740c8f6f39746a9c 100644 (file)
@@ -5,7 +5,7 @@
 
     Support for ``gettext`` message catalogs.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 136ef36238f348c947af4238795b8979f63789c2..2fcb461a8a8d9b8120d3ef27e8305c1b75e53a31 100644 (file)
@@ -5,7 +5,7 @@
 
     Data structures for message catalogs.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index d04ad70ecacef345152538f2535aed7bbbf29ad6..8c1effaf5dfb4e56f99756ae14f1ff7d12bd4b7f 100644 (file)
@@ -7,7 +7,7 @@
 
     :since: version 0.9
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 009bea2b4eb9f4d4fd5a33aefc924a4a449ebf07..db429b2eadd7b6d9ca4d3df09feca8ee29e0b6ed 100644 (file)
@@ -13,7 +13,7 @@
     The main entry points into the extraction functionality are the functions
     `extract_from_dir` and `extract_from_file`.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 9e7c68ca18acae72983e216e8354cb92f1ebefd3..475605549c584b1eceac97585391f1eb5d8dd755 100644 (file)
@@ -5,7 +5,7 @@
 
     Frontends for the message extraction functionality.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from __future__ import print_function
index 04d02761dead8c2401211d312604418c52bbfc37..ace0b47e08ceadc98ae2a00f64bfc3b2a1774457 100644 (file)
@@ -6,7 +6,7 @@
     A simple JavaScript 1.5 lexer which is used for the JavaScript
     extractor.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 from collections import namedtuple
index 663d93bac356963e65a1524c9c1ddb28734a5ab8..dfd923d233a503b498c35cf2c91ce9066645599d 100644 (file)
@@ -5,7 +5,7 @@
 
     Writing of files in the ``gettext`` MO (machine object) format.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 067ac9826d41da6f230f93186f2ddb8a28d0f7d8..81234580d16445759b773e7e650316792bed15b7 100644 (file)
@@ -5,7 +5,7 @@
 
     Plural form definitions.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 9eb3a5cb311e9e13b1052f63de3cc8471c1bd5bb..bbcf7f76c41d6db8f01470763a7200af54f5d6d7 100644 (file)
@@ -6,7 +6,7 @@
     Reading and writing of files in the ``gettext`` PO (portable object)
     format.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 3dcd73099c3fc16fb95cf5e56ea92389790b48a1..6888c9cb47595e16b37e4cbdec3b297db3f0726e 100644 (file)
@@ -12,7 +12,7 @@
      * ``LC_ALL``, and
      * ``LANG``
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 # TODO:
index eb1eef268302b4edc3bfe450c252a0894c633bbb..1e2b2734bdda5081cf52274523742e973b5e2530 100644 (file)
@@ -5,7 +5,7 @@
 
     CLDR Plural support.  See UTS #35.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 import re
index 87cb059675435812f1b01734a97e9ad57a0c7096..efe41d5625409bdd1769b9a06c4aad597ba35901 100644 (file)
@@ -8,7 +8,7 @@
 
     .. note: the code in this module is not used by Babel itself
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index c443b6902e52f557958c8a0736e60c8903941869..73a90516fb4bf03ce7c68620c3b7de42126592d8 100644 (file)
@@ -5,7 +5,7 @@
 
     Various utility classes and functions.
 
-    :copyright: (c) 2013-2018 by the Babel Team.
+    :copyright: (c) 2013-2019 by the Babel Team.
     :license: BSD, see LICENSE for more details.
 """
 
index 183cc725c7072a3e15380dbc8890ffc13cffcda7..6eed08fe61edd7745386feb2be169e0be8ae5fcf 100644 (file)
@@ -44,7 +44,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Babel'
-copyright = u'2018, The Babel Team'
+copyright = u'2019, 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
index 3bf35f2be36bba40bcf7a510935be11b41a094f5..e452248d7199c7d46845de3b8fcc844c1cf66377 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 641f3c018c4f0ea3f6263562bf0a253d85c4e9d2..8db55f2dc34d6d0d97867322efb169914113ecfa 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index ed2e19c0423f003f171602dfa8de2158c369a5d3..4188055a6d600aaf4857c3c8df54801c8d940365 100755 (executable)
@@ -1,7 +1,7 @@
 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index f583810c9689d8c370ccbce4ba1e25a1eb693b85..f31dca3100ef067147280e42d5499b2a0ff199ec 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index be4afb3414cbda61d5a3f856347f557ffc9d1646..ec845001ebb7caf86beafe7fae0aac1f6cb244d8 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index fa50a4c9e13b8f3b6346d810dd6c42f2a459f5d5..2f41ddc2c2f5d25cb1c0b27873e50709d88019ea 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index deaa66025f972cde13eb262538fe1fbf6b41c276..ad3ea0df30b19c9150d845cbfb037e96d871e6d1 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 97af7ae938ccba32cd63e5bb1f9dc007a2a6153c..b1851f2973a3d165df1b84e52359df0896bdc31e 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 2ba15e911be9b8e2f9dbd71211bf111e07e206e9..bdca8f6a85d68e42694b62d740ab3f3010513ed6 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index a6973d7ecd4ec3ef8dae37550487275c6a66d6d5..e77fa6e02d0c6b7d923dae1cd0e8953035485e63 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index fc637d2454cd073cba42ef79ae422e92b849f895..c146aae9cd24ea73227d869e27a5e7b5f27780e4 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index e8592091d075457cbdca2a17cb7b6317369e169b..5be0d16a1a47ed470c45f7f780e0990faa6d8464 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
@@ -804,4 +804,4 @@ def test_russian_week_numbering():
 def test_en_gb_first_weekday():
     assert Locale.parse('en').first_week_day == 0  # Monday in general
     assert Locale.parse('en_US').first_week_day == 6  # Sunday in the US
-    assert Locale.parse('en_GB').first_week_day == 0  # Monday in the UK
\ No newline at end of file
+    assert Locale.parse('en_GB').first_week_day == 0  # Monday in the UK
index bffe7633fba744ecb3996471e41e44f044661a08..dbacba0d5f05d08f7d947d79f55bc5a76ad427ae 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 27649f841f830e6eb99a12867be10cb1a013c310..6e26fe90011753f6adc7e430c456dc9252a001a6 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 546e12a141c32b90af27d866b09f3981bca8052b..c54d07a57d4660ef17d285aa90629d1a07986a65 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 314c18825a58095d862536bb774bedc2526fa665..b4dd823cdfbd0db425061a9d8a5784ee20ad7e78 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which
index 0fc59e5c48307e11ff9804a8365ec7294ea486c0..a6a4450cfb9783d4c10f15932b7acdc63dd2fd2b 100644 (file)
@@ -1,6 +1,6 @@
 # -*- coding: utf-8 -*-
 #
-# Copyright (C) 2007-2011 Edgewall Software, 2013-2018 the Babel team
+# Copyright (C) 2007-2011 Edgewall Software, 2013-2019 the Babel team
 # All rights reserved.
 #
 # This software is licensed as described in the file LICENSE, which