Commit fbe3fb63 authored by jvoisin's avatar jvoisin

Fix various typos pointed by pabs

parent 41e2bf29
......@@ -46,7 +46,7 @@
* Heavily refactoring of archives handling
* Handle read-only files inside archives
* Handle zip-specific metadata
* GUI allows to pick which unsupported files to add to the "clean" archive
* GUI allows one to pick which unsupported files to add to the "clean" archive
0.4.2 - 31oct2013
* Fix (for real this time) MAT eating PDF
......
check if year in the copyright notice in README.md needs an update.
mark "Fix commited" tickes as "resolved" in the bugtracker.
mark "Fix committed" tickets as "resolved" in the bugtracker.
update localisations using
xgettext -k_ -kN_ --from-code utf-8 -o ./po/mat-gui.pot mat-gui.py ./data/mat.glade
......
......@@ -134,9 +134,9 @@ def bencode(string):
def bdecode(string):
"""decode $string"""
try:
result, lenght = DECODE_FUNC[string[0]](string, 0)
result, length = DECODE_FUNC[string[0]](string, 0)
except (IndexError, KeyError, ValueError):
raise BTFailure('Not a valid bencoded string')
if lenght != len(string):
if length != len(string):
raise BTFailure('Invalid bencoded value (data after valid prefix)')
return result
......@@ -16,7 +16,7 @@ class MutagenStripper(parser.GenericParser):
self._create_mfile()
def _create_mfile(self):
""" This method must be overrriden to instanciate the `mfile` attribute."""
""" This method must be overridden to instantiate the `mfile` attribute."""
raise NotImplementedError
def is_clean(self):
......
......@@ -12,8 +12,8 @@ NOMETA = frozenset((
'.bmp', # "raw" image
'.rdf', # text
'.txt', # plain text
'.xml', # formated text (XML)
'.rels', # openXML formated text
'.xml', # formatted text (XML)
'.rels', # openXML formatted text
))
FIELD = object()
......
......@@ -183,7 +183,7 @@ class GUI(object):
w = Gtk.AboutDialog()
w.set_authors(['Julien (jvoisin) Voisin', ])
w.set_artists(['Marine Benoît', ])
w.set_copyright('GNU Public License v2')
w.set_copyright('GNU General Public License v2')
w.set_comments(_('Trash your meta, keep your data'))
w.set_logo(GdkPixbuf.Pixbuf.new_from_file_at_size(self.logo, 400, 200))
w.set_program_name('Metadata Anonymisation Toolkit')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment