# HG changeset patch # User Martin Geisler # Date 1220191922 -7200 # Node ID bd979854a38885ca16f6d55c37df84b9e2f2dd6c # Parent 12472a240398f6dfe93672907bd69089b3d60df2 i18n: mark strings for translation in extdiff extension diff -r 12472a240398 -r bd979854a388 hgext/extdiff.py --- a/hgext/extdiff.py Sun Aug 31 16:12:02 2008 +0200 +++ b/hgext/extdiff.py Sun Aug 31 16:12:02 2008 +0200 @@ -164,13 +164,13 @@ cmdline = ('%s %s %s %s' % (util.shellquote(diffcmd), ' '.join(diffopts), util.shellquote(dir1), util.shellquote(dir2))) - ui.debug('running %r in %s\n' % (cmdline, tmproot)) + ui.debug(_('running %r in %s\n') % (cmdline, tmproot)) util.system(cmdline, cwd=tmproot) for copy_fn, working_fn, mtime in fns_and_mtime: if os.path.getmtime(copy_fn) != mtime: - ui.debug('File changed while diffing. ' - 'Overwriting: %s (src: %s)\n' % (working_fn, copy_fn)) + ui.debug(_('File changed while diffing. ' + 'Overwriting: %s (src: %s)\n') % (working_fn, copy_fn)) util.copyfile(copy_fn, working_fn) return 1