# HG changeset patch # User Martin Geisler # Date 2008-08-31 14:12:02 # Node ID bd979854a38885ca16f6d55c37df84b9e2f2dd6c # Parent 12472a240398f6dfe93672907bd69089b3d60df2 i18n: mark strings for translation in extdiff extension diff --git a/hgext/extdiff.py b/hgext/extdiff.py --- a/hgext/extdiff.py +++ b/hgext/extdiff.py @@ -164,13 +164,13 @@ def dodiff(ui, repo, diffcmd, diffopts, 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