From 0d12978c9450e77c9a2ab8daa542e24dd898a867 Mon Sep 17 00:00:00 2001 From: John Schember Date: Mon, 14 Feb 2011 17:51:40 -0500 Subject: [PATCH 1/3] unihandecode: Include full information in altered copyright header. --- src/calibre/ebooks/unihandecode/__init__.py | 6 ++++-- src/calibre/ebooks/unihandecode/unidecoder.py | 5 +++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/calibre/ebooks/unihandecode/__init__.py b/src/calibre/ebooks/unihandecode/__init__.py index 618567bbbf..4e73b2369a 100644 --- a/src/calibre/ebooks/unihandecode/__init__.py +++ b/src/calibre/ebooks/unihandecode/__init__.py @@ -9,8 +9,10 @@ __all__ = ["Unihandecoder"] Decode unicode text to an ASCII representation of the text. Translate unicode characters to ASCII. -inspired from John's unidecode library. -Copyright(c) 2009, John Schember +Inspired from John Schember's unidecode library +(https://code.launchpad.net/~user-none/+junk/unidecoder). + +Copyright(c) 2009, John Schember Tranliterate the string from unicode characters to ASCII in Chinese and others. diff --git a/src/calibre/ebooks/unihandecode/unidecoder.py b/src/calibre/ebooks/unihandecode/unidecoder.py index 0008ef824c..a80296872d 100644 --- a/src/calibre/ebooks/unihandecode/unidecoder.py +++ b/src/calibre/ebooks/unihandecode/unidecoder.py @@ -8,9 +8,10 @@ __docformat__ = 'restructuredtext en' Decode unicode text to an ASCII representation of the text in Chinese. Transliterate unicode characters to ASCII based on chinese pronounce. -derived from John's unidecode library. +Derived from John Schember's unidecode library +(https://code.launchpad.net/~user-none/+junk/unidecoder). -Copyright(c) 2009, John Schember +Copyright(c) 2009, John Schember Based on the ruby unidecode gem (http://rubyforge.org/projects/unidecode/) which is based on the perl module Text::Unidecode From bb148ef0c145ac0c7a5df4a79fee9acc68a78f8b Mon Sep 17 00:00:00 2001 From: John Schember Date: Mon, 14 Feb 2011 17:54:46 -0500 Subject: [PATCH 2/3] Revert last change. URL was wrong. --- src/calibre/ebooks/unihandecode/__init__.py | 6 ++---- src/calibre/ebooks/unihandecode/unidecoder.py | 5 ++--- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/calibre/ebooks/unihandecode/__init__.py b/src/calibre/ebooks/unihandecode/__init__.py index 4e73b2369a..618567bbbf 100644 --- a/src/calibre/ebooks/unihandecode/__init__.py +++ b/src/calibre/ebooks/unihandecode/__init__.py @@ -9,10 +9,8 @@ __all__ = ["Unihandecoder"] Decode unicode text to an ASCII representation of the text. Translate unicode characters to ASCII. -Inspired from John Schember's unidecode library -(https://code.launchpad.net/~user-none/+junk/unidecoder). - -Copyright(c) 2009, John Schember +inspired from John's unidecode library. +Copyright(c) 2009, John Schember Tranliterate the string from unicode characters to ASCII in Chinese and others. diff --git a/src/calibre/ebooks/unihandecode/unidecoder.py b/src/calibre/ebooks/unihandecode/unidecoder.py index a80296872d..0008ef824c 100644 --- a/src/calibre/ebooks/unihandecode/unidecoder.py +++ b/src/calibre/ebooks/unihandecode/unidecoder.py @@ -8,10 +8,9 @@ __docformat__ = 'restructuredtext en' Decode unicode text to an ASCII representation of the text in Chinese. Transliterate unicode characters to ASCII based on chinese pronounce. -Derived from John Schember's unidecode library -(https://code.launchpad.net/~user-none/+junk/unidecoder). +derived from John's unidecode library. -Copyright(c) 2009, John Schember +Copyright(c) 2009, John Schember Based on the ruby unidecode gem (http://rubyforge.org/projects/unidecode/) which is based on the perl module Text::Unidecode From 13f9cb5ea74a43b8784c7bbeb638bb5d11f073a4 Mon Sep 17 00:00:00 2001 From: John Schember Date: Mon, 14 Feb 2011 17:55:53 -0500 Subject: [PATCH 3/3] unihandecode: Include full information in altered copyright header. --- src/calibre/ebooks/unihandecode/__init__.py | 4 +++- src/calibre/ebooks/unihandecode/unidecoder.py | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/calibre/ebooks/unihandecode/__init__.py b/src/calibre/ebooks/unihandecode/__init__.py index 618567bbbf..be091634b4 100644 --- a/src/calibre/ebooks/unihandecode/__init__.py +++ b/src/calibre/ebooks/unihandecode/__init__.py @@ -9,7 +9,9 @@ __all__ = ["Unihandecoder"] Decode unicode text to an ASCII representation of the text. Translate unicode characters to ASCII. -inspired from John's unidecode library. +Inspired from John Schember's unidecode library which was created as part +of calibre. + Copyright(c) 2009, John Schember Tranliterate the string from unicode characters to ASCII in Chinese and others. diff --git a/src/calibre/ebooks/unihandecode/unidecoder.py b/src/calibre/ebooks/unihandecode/unidecoder.py index 0008ef824c..1cbe6682c1 100644 --- a/src/calibre/ebooks/unihandecode/unidecoder.py +++ b/src/calibre/ebooks/unihandecode/unidecoder.py @@ -8,9 +8,10 @@ __docformat__ = 'restructuredtext en' Decode unicode text to an ASCII representation of the text in Chinese. Transliterate unicode characters to ASCII based on chinese pronounce. -derived from John's unidecode library. +Derived from John Schember's unidecode library. Which was created +as part of calibre. -Copyright(c) 2009, John Schember +Copyright(c) 2009, John Schember Based on the ruby unidecode gem (http://rubyforge.org/projects/unidecode/) which is based on the perl module Text::Unidecode