From 15709e454dd692d52d7842bf321b11b432759239 Mon Sep 17 00:00:00 2001 From: PotcFdk Date: Thu, 29 Aug 2013 19:46:35 +0200 Subject: [PATCH] Fixed a typo ('leve' -> 'level'). --- contrib/png-it.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/png-it.py b/contrib/png-it.py index 3e62312..e23b734 100644 --- a/contrib/png-it.py +++ b/contrib/png-it.py @@ -18,7 +18,7 @@ def main(): parser.add_option('--memory-limit', '-m', help = 'Limit the amount of ram to use in MB. If it\'s expected to exceed the limit it won\'t do anything.',\ metavar = '', type = int, dest = 'memory_limit', default = None) - parser.add_option('--zoom-level', '-z', help = 'Which zoom leve to use from the overviewer map. NOTE: the RAM usage will increase exponentially with the zoom level.',\ + parser.add_option('--zoom-level', '-z', help = 'Which zoom level to use from the overviewer map. NOTE: the RAM usage will increase exponentially with the zoom level.',\ metavar = '', type = int, dest = 'zoom_level', default = None) parser.add_option('--crop', '-c', help = 'It will crop a frame around the image, give it in percentage. For example in a image of 1000x2000 pixels, a 10% crop will crop 100 pixels in the left, right sides and 200 pixels in the bottom and top sides. NOTE: this is no exact, it will be rounded to the nearest overviewer map tile.',\ @@ -68,7 +68,7 @@ def main(): all_images = glob(path) if not all_images: - "Error! No images found in this zoom leve. Is this really an overviewer tile set directory?" + "Error! No images found in this zoom level. Is this really an overviewer tile set directory?" sys.exit(1) # autocrop will calculate the center and crop values automagically