##// END OF EJS Templates
patch, i18n: avoid parameterized plural
Wagner Bruna -
r8090:388bb482 default
parent child Browse files
Show More
@@ -421,11 +421,12 b' class patchfile:'
421 421 f = self.ui.note
422 422 offset = l - orig_start - fuzzlen
423 423 if offset == 1:
424 linestr = "line"
424 msg = _("Hunk #%d succeeded at %d %s"
425 "(offset %d line).\n")
425 426 else:
426 linestr = "lines"
427 f(_("Hunk #%d succeeded at %d %s(offset %d %s).\n") %
428 (h.number, l+1, fuzzstr, offset, linestr))
427 msg = _("Hunk #%d succeeded at %d %s"
428 "(offset %d lines).\n")
429 f(msg % (h.number, l+1, fuzzstr, offset))
429 430 return fuzzlen
430 431 self.printfile(True)
431 432 self.ui.warn(_("Hunk #%d FAILED at %d\n") % (h.number, orig_start))
General Comments 0
You need to be logged in to leave comments. Login now