changeset 6957:bd979854a388

i18n: mark strings for translation in extdiff extension
author Martin Geisler <mg@daimi.au.dk>
date Sun, 31 Aug 2008 16:12:02 +0200
parents 12472a240398
children e01ed40a31a2
files hgext/extdiff.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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