forked from deluge-torrent/deluge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
64 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
# Taken from http://download.bittorrent.com/dl/BitTorrent-5.3-GPL.tar.gz | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation, either version 3 of the License, or | ||
# (at your option) any later version. | ||
# Original file from BitTorrent-5.3-GPL.tar.gz | ||
# Copyright (C) Bram Cohen | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# Modifications for use in Deluge: | ||
# Copyright (C) 2007 Andrew Resch <[email protected]> | ||
# | ||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with | ||
# the additional special exception to link portions of this program with the OpenSSL library. | ||
# See LICENSE for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
|
||
# Written by Bram Cohen | ||
# Modifications for use in Deluge by Andrew Resch 2008 | ||
|
||
import logging | ||
import os.path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,10 @@ | ||
# | ||
# setup.py | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2009 Damien Churchill <[email protected]> | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 3, or (at your option) | ||
# any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, write to: | ||
# The Free Software Foundation, Inc., | ||
# 51 Franklin Street, Fifth Floor | ||
# Boston, MA 02110-1301, USA. | ||
# | ||
# In addition, as a special exception, the copyright holders give | ||
# permission to link the code of portions of this program with the OpenSSL | ||
# library. | ||
# You must obey the GNU General Public License in all respects for all of | ||
# the code used other than OpenSSL. If you modify file(s) with this | ||
# exception, you may extend this exception to your version of the file(s), | ||
# but you are not obligated to do so. If you do not wish to do so, delete | ||
# this exception statement from your version. If you delete this exception | ||
# statement from all source files in the program, then also delete it here. | ||
# | ||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with | ||
# the additional special exception to link portions of this program with the OpenSSL library. | ||
# See LICENSE for more details. | ||
# | ||
|
||
from setuptools import find_packages, setup | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,11 @@ | ||
# setup.py | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2008 Martijn Voncken <[email protected]> | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 3, or (at your option) | ||
# any later version. | ||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with | ||
# the additional special exception to link portions of this program with the OpenSSL library. | ||
# See LICENSE for more details. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, write to: | ||
# The Free Software Foundation, Inc., | ||
# 51 Franklin Street, Fifth Floor | ||
# Boston, MA 02110-1301, USA. | ||
# | ||
# In addition, as a special exception, the copyright holders give | ||
# permission to link the code of portions of this program with the OpenSSL | ||
# library. | ||
# You must obey the GNU General Public License in all respects for all of | ||
# the code used other than OpenSSL. If you modify file(s) with this | ||
# exception, you may extend this exception to your version of the file(s), | ||
# but you are not obligated to do so. If you do not wish to do so, delete | ||
# this exception statement from your version. If you delete this exception | ||
# statement from all source files in the program, then also delete it here. | ||
# | ||
# | ||
|
||
|
||
from setuptools import find_packages, setup | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -320,31 +320,10 @@ def disable(self): | |
Copyright: | ||
(C) %(author_name)s %(current_year)s <%(author_email)s> | ||
This program is free software; you can redistribute it and/or modify | ||
it under the terms of the GNU General Public License as published by | ||
the Free Software Foundation; either version 3, or (at your option) | ||
any later version. | ||
This program is distributed in the hope that it will be useful, | ||
but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
GNU General Public License for more details. | ||
You should have received a copy of the GNU General Public License | ||
along with this program. If not, write to: | ||
The Free Software Foundation, Inc., | ||
51 Franklin Street, Fifth Floor | ||
Boston, MA 02110-1301, USA. | ||
In addition, as a special exception, the copyright holders give | ||
permission to link the code of portions of this program with the OpenSSL | ||
library. | ||
You must obey the GNU General Public License in all respects for all of | ||
the code used other than OpenSSL. If you modify file(s) with this | ||
exception, you may extend this exception to your version of the file(s), | ||
but you are not obligated to do so. If you do not wish to do so, delete | ||
this exception statement from your version. If you delete this exception | ||
statement from all source files in the program, then also delete it here. | ||
This file is part of %(name)s and is licensed under GNU General Public License 3.0, or later, with | ||
the additional special exception to link portions of this program with the OpenSSL library. | ||
See LICENSE for more details. | ||
*/ | ||
%(name)sPlugin = Ext.extend(Deluge.Plugin, { | ||
|
@@ -377,7 +356,7 @@ def disable(self): | |
# Copyright (C) 2009 Damien Churchill <[email protected]> | ||
# Copyright (C) 2010 Pedro Algarvio <[email protected]> | ||
# | ||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with | ||
# This file is part of %(name)s and is licensed under GNU General Public License 3.0, or later, with | ||
# the additional special exception to link portions of this program with the OpenSSL library. | ||
# See LICENSE for more details. | ||
# | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
#!/usr/bin/python | ||
""" | ||
Script to go through the javascript files and dynamically generate gettext.js | ||
""" | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2009-2012 Damien Churchill <[email protected]> | ||
# | ||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with | ||
# the additional special exception to link portions of this program with the OpenSSL library. | ||
# See LICENSE for more details. | ||
# | ||
|
||
"""Script to parse javascript files for translation strings and generate gettext.js""" | ||
|
||
import os | ||
import re | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,16 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
# | ||
# This script creates the deluge.pot template file for translators | ||
# Copyright (C) 2011-2013 Calum Lind <[email protected]> | ||
# Copyright (C) 2009 Andrew Resch <[email protected]> | ||
# | ||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with | ||
# the additional special exception to link portions of this program with the OpenSSL library. | ||
# See LICENSE for more details. | ||
# | ||
|
||
"""Parses Python and Javascript code for translation strings to create the 'deluge.pot' template for translators""" | ||
|
||
import os | ||
import re | ||
from datetime import datetime | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
#!/usr/bin/env python | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2014 Calum Lind <[email protected]> | ||
# Copyright (C) 2010 Damien Churchill <[email protected]> | ||
# | ||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with | ||
# the additional special exception to link portions of this program with the OpenSSL library. | ||
# See LICENSE for more details. | ||
# | ||
|
||
import fileinput | ||
import fnmatch | ||
import os | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,12 @@ | ||
#!/usr/bin/env python | ||
# | ||
# setup.py | ||
# -*- coding: utf-8 -*- | ||
# | ||
# Copyright (C) 2007 Andrew Resch <[email protected]> | ||
# 2009 Damien Churchill <[email protected]> | ||
# | ||
# This program is free software; you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
# the Free Software Foundation; either version 3, or (at your option) | ||
# any later version. | ||
# | ||
# This program is distributed in the hope that it will be useful, | ||
# but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
# GNU General Public License for more details. | ||
# Copyright (C) 2009 Damien Churchill <[email protected]> | ||
# | ||
# You should have received a copy of the GNU General Public License | ||
# along with this program. If not, write to: | ||
# The Free Software Foundation, Inc., | ||
# 51 Franklin Street, Fifth Floor | ||
# Boston, MA 02110-1301, USA. | ||
# This file is part of Deluge and is licensed under GNU General Public License 3.0, or later, with | ||
# the additional special exception to link portions of this program with the OpenSSL library. | ||
# See LICENSE for more details. | ||
# | ||
|
||
import glob | ||
|