Mercurial > boomslang
comparison pyntnclick/tools/rect_drawer.py @ 798:b3b73fd2be07 pyntnclick
Fix another typo
author | Neil Muller <neil@dip.sun.ac.za> |
---|---|
date | Sun, 27 Jan 2013 13:38:42 +0200 |
parents | 6b33fc262cef |
children | e11e092cc58e |
comparison
equal
deleted
inserted
replaced
797:6b33fc262cef | 798:b3b73fd2be07 |
---|---|
170 else: | 170 else: |
171 raise RuntimeError("Invalid mode") | 171 raise RuntimeError("Invalid mode") |
172 | 172 |
173 def _print_thing(self, thing, interact_name): | 173 def _print_thing(self, thing, interact_name): |
174 """Helper to avoid repeated translations""" | 174 """Helper to avoid repeated translations""" |
175 print (_("Thing %(thing)s Interact %(interacts") % | 175 print (_("Thing %(thing)s Interact %(interact)s") % |
176 {'thing': thing.name, 'interact': interact_name}) | 176 {'thing': thing.name, 'interact': interact_name}) |
177 | 177 |
178 def _print_rects(self, rect1, rect2): | 178 def _print_rects(self, rect1, rect2): |
179 """Helper to avoid repeated translations""" | 179 """Helper to avoid repeated translations""" |
180 print _(" Rects"), rect1, rect2 | 180 print _(" Rects"), rect1, rect2 |