diff --git a/beetsplug/convert.py b/beetsplug/convert.py index 303a9e149..dd57918d6 100644 --- a/beetsplug/convert.py +++ b/beetsplug/convert.py @@ -51,7 +51,7 @@ def replace_ext(path, ext): def get_format(fmt=None): - """Return the command tempate and the extension from the config. + """Return the command template and the extension from the config. """ if not fmt: fmt = config['convert']['format'].get(unicode).lower() diff --git a/docs/plugins/index.rst b/docs/plugins/index.rst index 260eb7d49..24f261963 100644 --- a/docs/plugins/index.rst +++ b/docs/plugins/index.rst @@ -101,7 +101,7 @@ Metadata * :doc:`bpm`: Measure tempo using keystrokes. * :doc:`echonest`: Automatically fetch `acoustic attributes`_ from `the Echo Nest`_ (tempo, energy, danceability, ...). -* :doc:`edit`: Edit metadata from a texteditor. +* :doc:`edit`: Edit metadata from a text editor. * :doc:`embedart`: Embed album art images into files' metadata. * :doc:`fetchart`: Fetch album cover art from various sources. * :doc:`ftintitle`: Move "featured" artists from the artist field to the title diff --git a/test/test_edit.py b/test/test_edit.py index e756f99a2..ab0ae046a 100644 --- a/test/test_edit.py +++ b/test/test_edit.py @@ -31,7 +31,7 @@ class ModifyFileMocker(object): """ def __init__(self, contents=None, replacements=None): - """ `self.contents` and `self.replacements` are initalized here, in + """ `self.contents` and `self.replacements` are initialized here, in order to keep the rest of the functions of this class with the same signature as `EditPlugin.get_editor()`, making mocking easier. - `contents`: string with the contents of the file to be used for