summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAarni Koskela <akx@iki.fi>2019-05-27 15:24:52 +0300
committerAarni Koskela <akx@iki.fi>2019-05-27 15:24:52 +0300
commit6aa30320c2d4173e4475b0dd328e17a1a09767cd (patch)
treef2c51911505eb9f337472d22ac89c03ea9e105a1
parent469cce913c0a7d7f028a3701450dc0d27cc18323 (diff)
downloadbabel-6aa30320c2d4173e4475b0dd328e17a1a09767cd.tar.gz
Bump copyright year from 2018 to 2019
-rw-r--r--LICENSE2
-rw-r--r--babel/__init__.py2
-rw-r--r--babel/core.py2
-rw-r--r--babel/dates.py10
-rw-r--r--babel/lists.py2
-rw-r--r--babel/localedata.py2
-rw-r--r--babel/localtime/__init__.py2
-rw-r--r--babel/messages/__init__.py2
-rw-r--r--babel/messages/catalog.py2
-rw-r--r--babel/messages/checkers.py2
-rw-r--r--babel/messages/extract.py2
-rw-r--r--babel/messages/frontend.py2
-rw-r--r--babel/messages/jslexer.py2
-rw-r--r--babel/messages/mofile.py2
-rw-r--r--babel/messages/plurals.py2
-rw-r--r--babel/messages/pofile.py2
-rw-r--r--babel/numbers.py2
-rw-r--r--babel/plural.py2
-rw-r--r--babel/support.py2
-rw-r--r--babel/util.py2
-rw-r--r--docs/conf.py2
-rwxr-xr-xscripts/dump_data.py2
-rwxr-xr-xscripts/dump_global.py2
-rwxr-xr-xscripts/import_cldr.py2
-rw-r--r--tests/messages/test_catalog.py2
-rw-r--r--tests/messages/test_checkers.py2
-rw-r--r--tests/messages/test_extract.py2
-rw-r--r--tests/messages/test_frontend.py2
-rw-r--r--tests/messages/test_mofile.py2
-rw-r--r--tests/messages/test_plurals.py2
-rw-r--r--tests/messages/test_pofile.py2
-rw-r--r--tests/test_core.py2
-rw-r--r--tests/test_dates.py4
-rw-r--r--tests/test_localedata.py2
-rw-r--r--tests/test_numbers.py2
-rw-r--r--tests/test_plural.py2
-rw-r--r--tests/test_support.py2
-rw-r--r--tests/test_util.py2
38 files changed, 43 insertions, 43 deletions
diff --git a/LICENSE b/LICENSE
index b517a52..10722cc 100644
--- 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.
diff --git a/babel/__init__.py b/babel/__init__.py
index e58942a..1132e6f 100644
--- a/babel/__init__.py
+++ b/babel/__init__.py
@@ -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.
"""
diff --git a/babel/core.py b/babel/core.py
index 211849b..a80807a 100644
--- a/babel/core.py
+++ b/babel/core.py
@@ -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.
"""
diff --git a/babel/dates.py b/babel/dates.py
index ec86991..f1bd66f 100644
--- a/babel/dates.py
+++ b/babel/dates.py
@@ -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:
diff --git a/babel/lists.py b/babel/lists.py
index 3294379..ab5a24c 100644
--- a/babel/lists.py
+++ b/babel/lists.py
@@ -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.
"""
diff --git a/babel/localedata.py b/babel/localedata.py
index 03381e2..e012abb 100644
--- a/babel/localedata.py
+++ b/babel/localedata.py
@@ -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.
"""
diff --git a/babel/localtime/__init__.py b/babel/localtime/__init__.py
index bb4341d..aefd8a3 100644
--- a/babel/localtime/__init__.py
+++ b/babel/localtime/__init__.py
@@ -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.
"""
diff --git a/babel/messages/__init__.py b/babel/messages/__init__.py
index 7dd6f8b..5b69675 100644
--- a/babel/messages/__init__.py
+++ b/babel/messages/__init__.py
@@ -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.
"""
diff --git a/babel/messages/catalog.py b/babel/messages/catalog.py
index 136ef36..2fcb461 100644
--- a/babel/messages/catalog.py
+++ b/babel/messages/catalog.py
@@ -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.
"""
diff --git a/babel/messages/checkers.py b/babel/messages/checkers.py
index d04ad70..8c1effa 100644
--- a/babel/messages/checkers.py
+++ b/babel/messages/checkers.py
@@ -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.
"""
diff --git a/babel/messages/extract.py b/babel/messages/extract.py
index 009bea2..db429b2 100644
--- a/babel/messages/extract.py
+++ b/babel/messages/extract.py
@@ -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.
"""
diff --git a/babel/messages/frontend.py b/babel/messages/frontend.py
index 9e7c68c..4756055 100644
--- a/babel/messages/frontend.py
+++ b/babel/messages/frontend.py
@@ -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
diff --git a/babel/messages/jslexer.py b/babel/messages/jslexer.py
index 04d0276..ace0b47 100644
--- a/babel/messages/jslexer.py
+++ b/babel/messages/jslexer.py
@@ -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
diff --git a/babel/messages/mofile.py b/babel/messages/mofile.py
index 663d93b..dfd923d 100644
--- a/babel/messages/mofile.py
+++ b/babel/messages/mofile.py
@@ -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.
"""
diff --git a/babel/messages/plurals.py b/babel/messages/plurals.py
index 067ac98..8123458 100644
--- a/babel/messages/plurals.py
+++ b/babel/messages/plurals.py
@@ -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.
"""
diff --git a/babel/messages/pofile.py b/babel/messages/pofile.py
index 9eb3a5c..bbcf7f7 100644
--- a/babel/messages/pofile.py
+++ b/babel/messages/pofile.py
@@ -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.
"""
diff --git a/babel/numbers.py b/babel/numbers.py
index 3dcd730..6888c9c 100644
--- a/babel/numbers.py
+++ b/babel/numbers.py
@@ -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:
diff --git a/babel/plural.py b/babel/plural.py
index eb1eef2..1e2b273 100644
--- a/babel/plural.py
+++ b/babel/plural.py
@@ -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
diff --git a/babel/support.py b/babel/support.py
index 87cb059..efe41d5 100644
--- a/babel/support.py
+++ b/babel/support.py
@@ -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.
"""
diff --git a/babel/util.py b/babel/util.py
index c443b69..73a9051 100644
--- a/babel/util.py
+++ b/babel/util.py
@@ -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.
"""
diff --git a/docs/conf.py b/docs/conf.py
index 183cc72..6eed08f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -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
diff --git a/scripts/dump_data.py b/scripts/dump_data.py
index 3bf35f2..e452248 100755
--- a/scripts/dump_data.py
+++ b/scripts/dump_data.py
@@ -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
diff --git a/scripts/dump_global.py b/scripts/dump_global.py
index 641f3c0..8db55f2 100755
--- a/scripts/dump_global.py
+++ b/scripts/dump_global.py
@@ -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
diff --git a/scripts/import_cldr.py b/scripts/import_cldr.py
index ed2e19c..4188055 100755
--- a/scripts/import_cldr.py
+++ b/scripts/import_cldr.py
@@ -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
diff --git a/tests/messages/test_catalog.py b/tests/messages/test_catalog.py
index f583810..f31dca3 100644
--- a/tests/messages/test_catalog.py
+++ b/tests/messages/test_catalog.py
@@ -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
diff --git a/tests/messages/test_checkers.py b/tests/messages/test_checkers.py
index be4afb3..ec84500 100644
--- a/tests/messages/test_checkers.py
+++ b/tests/messages/test_checkers.py
@@ -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
diff --git a/tests/messages/test_extract.py b/tests/messages/test_extract.py
index fa50a4c..2f41ddc 100644
--- a/tests/messages/test_extract.py
+++ b/tests/messages/test_extract.py
@@ -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
diff --git a/tests/messages/test_frontend.py b/tests/messages/test_frontend.py
index deaa660..ad3ea0d 100644
--- a/tests/messages/test_frontend.py
+++ b/tests/messages/test_frontend.py
@@ -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
diff --git a/tests/messages/test_mofile.py b/tests/messages/test_mofile.py
index 97af7ae..b1851f2 100644
--- a/tests/messages/test_mofile.py
+++ b/tests/messages/test_mofile.py
@@ -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
diff --git a/tests/messages/test_plurals.py b/tests/messages/test_plurals.py
index 2ba15e9..bdca8f6 100644
--- a/tests/messages/test_plurals.py
+++ b/tests/messages/test_plurals.py
@@ -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
diff --git a/tests/messages/test_pofile.py b/tests/messages/test_pofile.py
index a6973d7..e77fa6e 100644
--- a/tests/messages/test_pofile.py
+++ b/tests/messages/test_pofile.py
@@ -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
diff --git a/tests/test_core.py b/tests/test_core.py
index fc637d2..c146aae 100644
--- a/tests/test_core.py
+++ b/tests/test_core.py
@@ -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
diff --git a/tests/test_dates.py b/tests/test_dates.py
index e859209..5be0d16 100644
--- a/tests/test_dates.py
+++ b/tests/test_dates.py
@@ -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
diff --git a/tests/test_localedata.py b/tests/test_localedata.py
index bffe763..dbacba0 100644
--- a/tests/test_localedata.py
+++ b/tests/test_localedata.py
@@ -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
diff --git a/tests/test_numbers.py b/tests/test_numbers.py
index 27649f8..6e26fe9 100644
--- a/tests/test_numbers.py
+++ b/tests/test_numbers.py
@@ -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
diff --git a/tests/test_plural.py b/tests/test_plural.py
index 546e12a..c54d07a 100644
--- a/tests/test_plural.py
+++ b/tests/test_plural.py
@@ -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
diff --git a/tests/test_support.py b/tests/test_support.py
index 314c188..b4dd823 100644
--- a/tests/test_support.py
+++ b/tests/test_support.py
@@ -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
diff --git a/tests/test_util.py b/tests/test_util.py
index 0fc59e5..a6a4450 100644
--- a/tests/test_util.py
+++ b/tests/test_util.py
@@ -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