Mercurial > public > mercurial-scm > hg
diff hgext/convert/cvsps.py @ 10939:9f6731b03906 stable
convert: mark strings for translation
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 18 Apr 2010 15:47:49 +0200 |
parents | 35893dcfd40c |
children | 278d45703ac2 |
line wrap: on
line diff
--- a/hgext/convert/cvsps.py Sun Apr 18 15:47:49 2010 +0200 +++ b/hgext/convert/cvsps.py Sun Apr 18 15:47:49 2010 +0200 @@ -129,7 +129,7 @@ if prefix == ".": prefix = "" except IOError: - raise logerror('Not a CVS sandbox') + raise logerror(_('not a CVS sandbox')) if prefix and not prefix.endswith(os.sep): prefix += os.sep @@ -435,8 +435,8 @@ log.sort(key=lambda x: x.date) if oldlog and oldlog[-1].date >= log[0].date: - raise logerror('Log cache overlaps with new log entries,' - ' re-run without cache.') + raise logerror(_('log cache overlaps with new log entries,' + ' re-run without cache.')) log = oldlog + log