Mercurial > hg
comparison hgext/hgk.py @ 7000:af694c6a888c
i18n, hgk: mark command line options for translation
author | Martin Geisler <mg@daimi.au.dk> |
---|---|
date | Sat, 06 Sep 2008 17:44:01 +0200 |
parents | e01ed40a31a2 |
children | b6f5490effbf |
comparison
equal
deleted
inserted
replaced
6999:f1546aa94362 | 7000:af694c6a888c |
---|---|
321 util.system(cmd) | 321 util.system(cmd) |
322 | 322 |
323 cmdtable = { | 323 cmdtable = { |
324 "^view": | 324 "^view": |
325 (view, | 325 (view, |
326 [('l', 'limit', '', 'limit number of changes displayed')], | 326 [('l', 'limit', '', _('limit number of changes displayed'))], |
327 'hg view [-l LIMIT] [REVRANGE]'), | 327 _('hg view [-l LIMIT] [REVRANGE]')), |
328 "debug-diff-tree": | 328 "debug-diff-tree": |
329 (difftree, | 329 (difftree, |
330 [('p', 'patch', None, 'generate patch'), | 330 [('p', 'patch', None, _('generate patch')), |
331 ('r', 'recursive', None, 'recursive'), | 331 ('r', 'recursive', None, _('recursive')), |
332 ('P', 'pretty', None, 'pretty'), | 332 ('P', 'pretty', None, _('pretty')), |
333 ('s', 'stdin', None, 'stdin'), | 333 ('s', 'stdin', None, _('stdin')), |
334 ('C', 'copy', None, 'detect copies'), | 334 ('C', 'copy', None, _('detect copies')), |
335 ('S', 'search', "", 'search')], | 335 ('S', 'search', "", _('search'))], |
336 'hg git-diff-tree [OPTION]... NODE1 NODE2 [FILE]...'), | 336 _('hg git-diff-tree [OPTION]... NODE1 NODE2 [FILE]...')), |
337 "debug-cat-file": | 337 "debug-cat-file": |
338 (catfile, | 338 (catfile, |
339 [('s', 'stdin', None, 'stdin')], | 339 [('s', 'stdin', None, _('stdin'))], |
340 'hg debug-cat-file [OPTION]... TYPE FILE'), | 340 _('hg debug-cat-file [OPTION]... TYPE FILE')), |
341 "debug-config": | 341 "debug-config": |
342 (config, [], 'hg debug-config'), | 342 (config, [], _('hg debug-config')), |
343 "debug-merge-base": | 343 "debug-merge-base": |
344 (base, [], 'hg debug-merge-base node node'), | 344 (base, [], _('hg debug-merge-base node node')), |
345 "debug-rev-parse": | 345 "debug-rev-parse": |
346 (revparse, | 346 (revparse, |
347 [('', 'default', '', 'ignored')], | 347 [('', 'default', '', _('ignored'))], |
348 'hg debug-rev-parse REV'), | 348 _('hg debug-rev-parse REV')), |
349 "debug-rev-list": | 349 "debug-rev-list": |
350 (revlist, | 350 (revlist, |
351 [('H', 'header', None, 'header'), | 351 [('H', 'header', None, _('header')), |
352 ('t', 'topo-order', None, 'topo-order'), | 352 ('t', 'topo-order', None, _('topo-order')), |
353 ('p', 'parents', None, 'parents'), | 353 ('p', 'parents', None, _('parents')), |
354 ('n', 'max-count', 0, 'max-count')], | 354 ('n', 'max-count', 0, _('max-count'))], |
355 'hg debug-rev-list [options] revs'), | 355 _('hg debug-rev-list [options] revs')), |
356 } | 356 } |