Commit Graph

107 Commits

Author SHA1 Message Date
Robert Lehmann
f477eaf26f Comment and stretch out code.
Also leverage the fact that we ignore Sphinx' built-in messages for catalogs.
2011-07-06 08:31:40 +02:00
Robert Lehmann
651a00f3cd Close #630: Revamp data structures used for message catalogs. 2011-07-06 08:25:25 +02:00
shibukawa yoshiki
16a2fd9010 skip literal_block 2010-10-28 09:34:47 +09:00
Robert Lehmann
0c9c9e8bee Refactor comment generating code for message catalogs.
Bring back UUIDs in comments too.

Overrides kou's 7b77dd3717af.
2011-07-06 07:50:02 +02:00
Kouhei Sutou
c43e9f2fef [i18n] support reference line.
From "3 The Format of PO Files" at
http://www.gnu.org/s/hello/manual/gettext/PO-Files.html ::

  Comment lines starting with #: contain references to the program's
  source code.

The reference comment is useful to jump to the source position.
GNU gettext tools support the reference comment. e.g.: po-mode.el binds
"s" key to "po-cycle-source-reference" that opens a source position in
a new buffer.
2011-05-08 17:48:38 +09:00
Kouhei Sutou
0d610fcff4 [i18n] don't generate duplicated msgid. 2011-05-08 17:32:41 +09:00
Georg Brandl
c266128c6d Rename "intl" module to "gettext", to make it easier to find. Distinguish environments with different versioning methods and always give the gettext builder its own doctree dir. 2011-01-08 17:32:32 +01:00