##// END OF EJS Templates
dagparser: translate and lowercase error messages
Martin Geisler -
r12134:26d86a6c stable
parent child Browse files
Show More
@@ -268,7 +268,7 b' def parsedag(desc):'
268 268 s += c
269 269 i += 1
270 270 c = nextch()
271 raise util.Abort("invalid character in dag description: %s..." % s)
271 raise util.Abort(_("invalid character in dag description: %s...") % s)
272 272
273 273 def dagtextlines(events,
274 274 addspaces=True,
@@ -296,14 +296,14 b' def dagtextlines(events,'
296 296
297 297 # sanity check
298 298 if r != wantr:
299 raise util.Abort("Expected id %i, got %i" % (wantr, r))
299 raise util.Abort(_("expected id %i, got %i") % (wantr, r))
300 300 if not ps:
301 301 ps = [-1]
302 302 else:
303 303 for p in ps:
304 304 if p >= r:
305 raise util.Abort("Parent id %i is larger than "
306 "current id %i" % (p, r))
305 raise util.Abort(_("parent id %i is larger than "
306 "current id %i") % (p, r))
307 307 wantr += 1
308 308
309 309 # new root?
General Comments 0
You need to be logged in to leave comments. Login now