Commit Graph

8 Commits

Author SHA1 Message Date
Yuya Nishihara
146f5e3a27 i18n: use inspect.getsourcelines() to obtain lineno from func or class
Before, func must be a function object. I want to make it parse docstring
of classes, too.
2016-07-27 21:53:14 +09:00
Pulkit Goyal
ce56f5973f py3: make i18n/hggettext use print_function 2016-05-13 02:58:15 +05:30
Pulkit Goyal
f24edb8c72 py3: make i18n/hggettext use absolute_import 2016-05-13 02:56:13 +05:30
Patrick Mezard
3fd83b5b68 hggettext: handle i18nfunctions declaration for docstrings translations 2010-10-24 12:52:37 +02:00
Matt Mackall
595d66f424 Update license to GPLv2+ 2010-01-19 22:20:08 -06:00
Martin Geisler
524b665b54 help: move help topics from mercurial/help.py to help/*.txt
The help topics are loaded on demand so we wont hit the disk unless we
really have to.
2009-10-04 09:59:13 +02:00
Martin Geisler
cb2e1d2019 hggettext: ensure correct Mercurial is imported 2009-05-26 20:12:37 +02:00
Martin Geisler
b205b95666 i18n: accurately generate hg.pot 2009-05-21 23:43:13 +02:00