i18n: mark strings for translation in extdiff extension
authorMartin Geisler <mg@daimi.au.dk>
Sun, 31 Aug 2008 16:12:02 +0200
changeset 6957 bd979854a388
parent 6956 12472a240398
child 6958 e01ed40a31a2
i18n: mark strings for translation in extdiff extension
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