##// END OF EJS Templates
i18n: avoid naive plural tricks
Martin Geisler -
r6952:3fffba1c default
parent child Browse files
Show More
@@ -376,15 +376,11 b' class patchfile:'
376 376
377 377 if not self.rej:
378 378 return
379 if self.hunks != 1:
380 hunkstr = "s"
381 else:
382 hunkstr = ""
383 379
384 380 fname = self.fname + ".rej"
385 381 self.ui.warn(
386 _("%d out of %d hunk%s FAILED -- saving rejects to file %s\n") %
387 (len(self.rej), self.hunks, hunkstr, fname))
382 _("%d out of %d hunks FAILED -- saving rejects to file %s\n") %
383 (len(self.rej), self.hunks, fname))
388 384 try: os.unlink(fname)
389 385 except:
390 386 pass
@@ -30,7 +30,7 b' Patch queue now empty'
30 30 % push git patch with missing target
31 31 applying changeb
32 32 unable to find 'b' for patching
33 1 out of 1 hunk FAILED -- saving rejects to file b.rej
33 1 out of 1 hunks FAILED -- saving rejects to file b.rej
34 34 patch failed, unable to continue (try -v)
35 35 b: No such file or directory
36 36 b not tracked!
@@ -287,7 +287,7 b' Patch queue now empty'
287 287 applying foo
288 288 applying bar
289 289 file foo already exists
290 1 out of 1 hunk FAILED -- saving rejects to file foo.rej
290 1 out of 1 hunks FAILED -- saving rejects to file foo.rej
291 291 patch failed, unable to continue (try -v)
292 292 patch failed, rejects left in working dir
293 293 Errors during apply, please fix and refresh bar
@@ -110,14 +110,14 b' created new head'
110 110 applying a1e30dd1b8e7
111 111 patching file foo
112 112 Hunk #1 FAILED at 0
113 1 out of 1 hunk FAILED -- saving rejects to file foo.rej
113 1 out of 1 hunks FAILED -- saving rejects to file foo.rej
114 114 patch failed to apply
115 115 abort: Fix up the merge and run hg transplant --continue
116 116 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
117 117 applying a1e30dd1b8e7
118 118 patching file foo
119 119 Hunk #1 FAILED at 0
120 1 out of 1 hunk FAILED -- saving rejects to file foo.rej
120 1 out of 1 hunks FAILED -- saving rejects to file foo.rej
121 121 patch failed to apply
122 122 abort: Fix up the merge and run hg transplant --continue
123 123 a1e30dd1b8e7 transplanted as f1563cf27039
General Comments 0
You need to be logged in to leave comments. Login now