Mercurial > hg-stable
changeset 24414:f247fbfe07f3
obsolete: mark warning for translation
No good reason not to.
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 20 Mar 2015 16:39:07 -0500 |
parents | a8595176dd64 |
children | 1cfded2fa1a9 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed Mar 18 23:03:41 2015 -0400 +++ b/mercurial/localrepo.py Fri Mar 20 16:39:07 2015 -0500 @@ -428,9 +428,9 @@ store = obsolete.obsstore(self.svfs, readonly=readonly, **kwargs) if store and readonly: - # message is rare enough to not be translated - msg = 'obsolete feature not enabled but %i markers found!\n' - self.ui.warn(msg % len(list(store))) + self.ui.warn( + _('obsolete feature not enabled but %i markers found!\n') + % len(list(store))) return store @storecache('00changelog.i')