Skip to content

Commit 81e4c04

Browse files
author
J. David Ibanez
committed
Upgrade the license to GPL v3 (or later).
1 parent ef67db1 commit 81e4c04

18 files changed

+729
-413
lines changed

GettextTag.py

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
# -*- coding: ISO-8859-1 -*-
22
# Localizer, Zope product that provides internationalization services
33
# Copyright (C) 2000-2002 Juan David Ibáñez Palomar <[email protected]>
4-
5-
# This program is free software; you can redistribute it and/or
6-
# modify it under the terms of the GNU General Public License
7-
# as published by the Free Software Foundation; either version 2
8-
# of the License, or (at your option) any later version.
9-
4+
#
5+
# This program is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
9+
#
1010
# This program is distributed in the hope that it will be useful,
1111
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1212
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
# GNU General Public License for more details.
14-
14+
#
1515
# You should have received a copy of the GNU General Public License
16-
# along with this program; if not, write to the Free Software
17-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1817

1918
"""
2019
Localizer

LICENSE.txt

+623-289
Large diffs are not rendered by default.

LanguageManager.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,18 @@
22
# Localizer, Zope product that provides internationalization services
33
# Copyright (C) 2000-2004 Juan David Ibáñez Palomar <[email protected]>
44
#
5-
# This program is free software; you can redistribute it and/or
6-
# modify it under the terms of the GNU General Public License
7-
# as published by the Free Software Foundation; either version 2
8-
# of the License, or (at your option) any later version.
5+
# This program is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
99
#
1010
# This program is distributed in the hope that it will be useful,
1111
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1212
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
# GNU General Public License for more details.
1414
#
1515
# You should have received a copy of the GNU General Public License
16-
# along with this program; if not, write to the Free Software
17-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
16+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1817

1918
# Import from the Standard Library
2019
from urlparse import urlparse

LocalAttributes.py

+10-10
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
# -*- coding: ISO-8859-1 -*-
22
# Localizer, Zope product that provides internationalization services
33
# Copyright (C) 2000-2002 Juan David Ibáñez Palomar <[email protected]>
4-
5-
# This program is free software; you can redistribute it and/or
6-
# modify it under the terms of the GNU General Public License
7-
# as published by the Free Software Foundation; either version 2
8-
# of the License, or (at your option) any later version.
9-
4+
#
5+
# This program is free software: you can redistribute it and/or modify
6+
# it under the terms of the GNU General Public License as published by
7+
# the Free Software Foundation, either version 3 of the License, or
8+
# (at your option) any later version.
9+
#
1010
# This program is distributed in the hope that it will be useful,
1111
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1212
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
# GNU General Public License for more details.
14-
14+
#
1515
# You should have received a copy of the GNU General Public License
16-
# along with this program; if not, write to the Free Software
17-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18-
16+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1917

18+
# Import from Zope
2019
from ExtensionClass import Base
2120

21+
2222
class LocalAttribute(Base):
2323
"""
2424
Provides a way to override class variables, useful for example

LocalContent.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
# -*- coding: ISO-8859-1 -*-
22
# Copyright (C) 2000-2005 Juan David Ibáñez Palomar <[email protected]>
33
#
4-
# This program is free software; you can redistribute it and/or
5-
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
7-
# of the License, or (at your option) any later version.
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,
1010
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
# GNU General Public License for more details.
1313
#
1414
# You should have received a copy of the GNU General Public License
15-
# along with this program; if not, write to the Free Software
16-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1716

1817
# Import from the Standard Library
1918
from cgi import escape

LocalFiles.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
# -*- coding: ISO-8859-1 -*-
22
# Copyright (C) 2000-2005 Juan David Ibáñez Palomar <[email protected]>
33
#
4-
# This program is free software; you can redistribute it and/or
5-
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
7-
# of the License, or (at your option) any later version.
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,
1010
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
# GNU General Public License for more details.
1313
#
1414
# You should have received a copy of the GNU General Public License
15-
# along with this program; if not, write to the Free Software
16-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1716

1817

1918
"""

LocalFolder.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
# -*- coding: ISO-8859-1 -*-
22
# Copyright (C) 2000-2004 Juan David Ibáñez Palomar <[email protected]>
33
#
4-
# This program is free software; you can redistribute it and/or
5-
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
7-
# of the License, or (at your option) any later version.
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,
1010
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
# GNU General Public License for more details.
1313
#
1414
# You should have received a copy of the GNU General Public License
15-
# along with this program; if not, write to the Free Software
16-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1716

1817
# Import from Zope
1918
from Globals import package_home

LocalPropertyManager.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
# -*- coding: ISO-8859-1 -*-
22
# Copyright (C) 2000-2004 Juan David Ibáñez Palomar <[email protected]>
33
#
4-
# This program is free software; you can redistribute it and/or
5-
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
7-
# of the License, or (at your option) any later version.
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,
1010
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
# GNU General Public License for more details.
1313
#
1414
# You should have received a copy of the GNU General Public License
15-
# along with this program; if not, write to the Free Software
16-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1716

1817
# Import from the Standard Library
1918
from urllib import quote

Locale.py

+8-10
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
# Localizer, Zope product that provides internationalization services
22
# Copyright (C) 2000-2002 Juan David Ibáñez Palomar <[email protected]>
3-
4-
# This program is free software; you can redistribute it and/or
5-
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
7-
# of the License, or (at your option) any later version.
8-
3+
#
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
8+
#
99
# This program is distributed in the hope that it will be useful,
1010
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
# GNU General Public License for more details.
13-
13+
#
1414
# You should have received a copy of the GNU General Public License
15-
# along with this program; if not, write to the Free Software
16-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17-
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1816

1917
# Localizer
2018
from LocalAttributes import LocalAttributes, LocalAttribute

Localizer.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
# -*- coding: ISO-8859-1 -*-
22
# Copyright (C) 2000-2004 Juan David Ibáñez Palomar <[email protected]>
33
#
4-
# This program is free software; you can redistribute it and/or
5-
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
7-
# of the License, or (at your option) any later version.
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,
1010
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
# GNU General Public License for more details.
1313
#
1414
# You should have received a copy of the GNU General Public License
15-
# along with this program; if not, write to the Free Software
16-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1716

1817
# Import from the Standard Library
1918
from urllib import unquote

LocalizerSupport.py

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
# -*- coding: ISO-8859-1 -*-
22
# Copyright (C) 2002-2004 Juan David Ibáñez Palomar <[email protected]>
33
#
4-
# This program is free software; you can redistribute it and/or
5-
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
7-
# of the License, or (at your option) any later version.
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,
1010
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
# GNU General Public License for more details.
1313
#
1414
# You should have received a copy of the GNU General Public License
15-
# along with this program; if not, write to the Free Software
16-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17-
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1816

1917
"""
2018
This module makes more easy to implement multilingual Zope products based

MessageCatalog.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,18 @@
33
# 2003 Roberto Quero, Eduardo Corrales
44
# 2004 Søren Roug
55
#
6-
# This program is free software; you can redistribute it and/or
7-
# modify it under the terms of the GNU General Public License
8-
# as published by the Free Software Foundation; either version 2
9-
# of the License, or (at your option) any later version.
6+
# This program is free software: you can redistribute it and/or modify
7+
# it under the terms of the GNU General Public License as published by
8+
# the Free Software Foundation, either version 3 of the License, or
9+
# (at your option) any later version.
1010
#
1111
# This program is distributed in the hope that it will be useful,
1212
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1313
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1414
# GNU General Public License for more details.
1515
#
1616
# You should have received a copy of the GNU General Public License
17-
# along with this program; if not, write to the Free Software
18-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1918

2019
"""
2120
This module provides the MessageCatalog base class, which

README.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,16 @@ Author and License
5858
Copyright 2001-2007 J. David Ib��ez ([email protected])
5959
2001 Universitat Jaume I
6060

61-
This program is free software; you can redistribute it and/or
62-
modify it under the terms of the GNU General Public License
63-
as published by the Free Software Foundation; either version 2
64-
of the License, or (at your option) any later version.
61+
This program is free software: you can redistribute it and/or modify
62+
it under the terms of the GNU General Public License as published by
63+
the Free Software Foundation, either version 3 of the License, or
64+
(at your option) any later version.
6565

6666
This program is distributed in the hope that it will be useful,
6767
but WITHOUT ANY WARRANTY; without even the implied warranty of
6868
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
6969
GNU General Public License for more details.
7070

7171
You should have received a copy of the GNU General Public License
72-
along with this program; if not, write to the Free Software
73-
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
72+
along with this program. If not, see <http://www.gnu.org/licenses/>.
73+

__init__.py

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
# -*- coding: ISO-8859-1 -*-
22
# Copyright (C) 2000-2005 Juan David Ibáñez Palomar <[email protected]>
3-
4-
# This program is free software; you can redistribute it and/or
5-
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
7-
# of the License, or (at your option) any later version.
8-
3+
#
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
8+
#
99
# This program is distributed in the hope that it will be useful,
1010
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
# GNU General Public License for more details.
13-
13+
#
1414
# You should have received a copy of the GNU General Public License
15-
# along with this program; if not, write to the Free Software
16-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1716

1817
# Check whether itools is installed
1918
msg = ('itools 0.16 or later is needed, download from '

patches.py

+5-7
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,18 @@
11
# -*- coding: ISO-8859-1 -*-
22
# Copyright (C) 2000-2006 Juan David Ibáñez Palomar <[email protected]>
33
#
4-
# This program is free software; you can redistribute it and/or
5-
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
7-
# of the License, or (at your option) any later version.
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
88
#
99
# This program is distributed in the hope that it will be useful,
1010
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
# GNU General Public License for more details.
1313
#
1414
# You should have received a copy of the GNU General Public License
15-
# along with this program; if not, write to the Free Software
16-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17-
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1816

1917
"""
2018
This is a hotfix, it dynamically applies several patches to Zope.

tests/test_zgettext.py

+8-9
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,18 @@
11
# Localizer, Zope product that provides internationalization services
22
# Copyright (C) 2001, 2002 J. David Ibáñez <[email protected]>
3-
4-
# This program is free software; you can redistribute it and/or
5-
# modify it under the terms of the GNU General Public License
6-
# as published by the Free Software Foundation; either version 2
7-
# of the License, or (at your option) any later version.
8-
3+
#
4+
# This program is free software: you can redistribute it and/or modify
5+
# it under the terms of the GNU General Public License as published by
6+
# the Free Software Foundation, either version 3 of the License, or
7+
# (at your option) any later version.
8+
#
99
# This program is distributed in the hope that it will be useful,
1010
# but WITHOUT ANY WARRANTY; without even the implied warranty of
1111
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1212
# GNU General Public License for more details.
13-
13+
#
1414
# You should have received a copy of the GNU General Public License
15-
# along with this program; if not, write to the Free Software
16-
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
15+
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1716

1817
"""
1918
Test suite for the zgettext.py script.

0 commit comments

Comments
 (0)