Takayuki Shimizukawa
43a9881c4b
Fix i18n: missing python domain's cross-references with currentmodule directive or currentclass directive. refs #1363
...
* node attributes 'py:module', 'py:class' is provided from environment (e.x. currentmodule directive is provided on previous line, not on node)
* Because translation nodes are parsed in independently, 'provided attributes by environment' are not exist.
* For a pending_xref nodes, all attributes of a translated xref node should be same as original xref node in current test cases.
* For the above reasons, I overwrite all attributes from origonal node to new translated xref node.
2014-03-23 23:01:15 +09:00
Georg Brandl
55e2f29170
fix windows newlines
2014-03-01 08:42:35 +01:00
Paul Molodowitch
d4a0a14aa5
Closes #1374 : Autosummary generates overly-long summaries if first line doesn't end with a period
2014-02-03 19:35:04 -08:00
Takayuki Shimizukawa
3d67be3dce
Fix autosummary template overloading cause infinite recursive function call. Closes #1335
2013-12-27 05:23:47 +00:00
Takayuki Shimizukawa
63d34cca47
Add tests and code refine for pull request #190 .
2013-11-12 15:17:09 +00:00
Takayuki Shimizukawa
313559116d
Backed out changeset cfe9e2d11003 refs #1265
2013-10-04 08:12:20 +00:00
Takayuki Shimizukawa
603a75d8d3
Now gettext translates label target name. Fix i18n: crash when using a indirect target and translating a target section name. Closes #1265
2013-10-04 05:07:09 +09:00
Takayuki Shimizukawa
b37f385810
Add test refs #1265 (comment-6264794) to validate translated label link shifting.
2013-10-03 02:53:53 +00:00
Takayuki Shimizukawa
7682f477dc
Fix i18n: crash when translating section name that is pointed from named target. Closes #1265
2013-09-23 19:53:22 +09:00
Takayuki Shimizukawa
99008f5b78
Fix again: NFC/NFD normalizing problem. Closes #1142
2013-09-18 08:51:20 +00:00
Takayuki Shimizukawa
91ef671ea9
Add test for docutils.conf and prevent 'html4css1.css' missing warning.
...
Now --embed-stylesheet option default become false.
2013-07-27 14:13:15 +09:00
Takayuki Shimizukawa
33c9e1fb28
Fix i18n: gettext did not translate admonition directive's title. Closes #1206
2013-07-03 08:19:10 +00:00
Takayuki Shimizukawa
7904b0678a
Fix i18n: footnote reference number missing for auto numbered named footnote and auto symbol footnote. Closes #1176
2013-06-21 03:28:32 +00:00
Takayuki Shimizukawa
4579bb6e85
fix: translation mechanism break label target if label and section name are same. refs #1193
2013-06-19 06:07:47 +00:00
Takayuki Shimizukawa
f9b733fc47
test_intl:external_link test case correction to fit to reST syntax.
2013-06-18 11:14:27 +00:00
Takayuki Shimizukawa
afc6b6d1f8
Fix: Multiple references in the same line return the same link with i18n. Closes #1193
2013-06-17 00:12:02 +09:00
Takayuki Shimizukawa
bd4da7df55
add tests for "multiple cross references in the same line return the same link". refs #1090 , #1193
2013-06-16 14:25:29 +09:00
Takayuki Shimizukawa
deb01d8e30
Fix multiple cross references (term, ref, doc) in the same line return the same link with i18n. refs #1090 , #1193
2013-06-16 23:57:08 +09:00
Takayuki Shimizukawa
b91f70be6e
Fix: 'make gettext' cause UnicodeDecodeError when templates contain utf-8 encoded string.
2013-04-13 22:44:37 +09:00
Georg Brandl
1af3e3ea71
tests: replace "from util import *" by explicit imports
2013-04-01 11:39:32 +02:00
Takayuki Shimizukawa
b8850502d2
merge heads
2013-03-17 10:58:28 +09:00
Takayuki Shimizukawa
2c409959ac
Add i18n capabilities for custom templates.
...
For example: The Sphinx reference documentation in doc directory provides
sphinx.pot file from ``doc/_templates/*.html`` by ``make gettext``.
2013-03-10 22:07:31 +09:00
Nozomu Kaneko
1bd7aaed7f
merge
2013-02-06 13:28:26 +09:00
Takayuki Shimizukawa
6667a7cbdf
fix toctree entry missing for testing.
2013-02-05 03:54:35 +00:00
Takayuki Shimizukawa
7ebd7ab2a9
fix: roles' reftarget ware swapped if there are some roles in 1 line and translation exchange rthat roles position. refs #1090
2013-02-05 12:47:08 +09:00
Takayuki Shimizukawa
c1c0a03895
fix: reporting correct line number when translations have wrong reST syntax or else.
2013-02-04 22:23:03 +09:00
Nozomu Kaneko
81d21a7714
make versionmodified translatable
2013-02-04 09:03:34 +09:00
Nozomu Kaneko
6aa8d4b373
Merged in knzm/sphinx-fix-docfields-fork (pull request #96 )
2013-02-04 05:59:15 +09:00
Takayuki Shimizukawa
a86ea846e2
Fix :term: doesn't link to glossary if term text translated. refs #1090
2013-01-30 23:41:37 +09:00
Takayuki Shimizukawa
6f4764f77b
Fix gettext does not extract glossary terms. Closes #1090
2013-01-30 00:13:58 +09:00
Robert Lehmann
32b87e258b
merge birkenfeld/sphinx
2013-01-06 12:14:57 +01:00
Nozomu Kaneko
f01d1358f8
resolve conflicts
2013-01-06 20:12:54 +09:00
Takayuki Shimizukawa
9b9c69042e
Divide test_intl target source files for speed-up.
2013-01-06 16:15:49 +09:00
Jonathan Waltman
268b009017
Move "only" directive tests to a seperate test root.
2013-01-05 20:14:48 -06:00