shimizukawa
39e403b8ac
fix testing for text builder that generate _build/text/_build/text/_build/... recursive directories because *.txt in _build/text previously generated was detected as source file.
2016-01-09 15:35:56 +09:00
shimizukawa
ac28f9b271
Fix #2198,#2205: `make gettext
` generate broken msgid for definition lists. It's a regression by #1855 .
2016-01-09 15:33:43 +09:00
shimizukawa
a3109f6976
Fixes #1983 : i18n translation feature breaks references which uses section name.
2015-08-09 23:44:14 +09:00
shimizukawa
d3375761d2
Fixed #1855 : make gettext generates broken po file for definition lists with classifier.
2015-07-25 17:41:07 +02:00
shimizukawa
bb85c1c87f
refs #1235 : i18n: 'uri' and 'alt' attribute on 'image' and 'figure' nodes can be translated if gettext_additional_targets
has 'image'.
2015-02-22 19:35:49 +09:00
shimizukawa
0ad1c154c0
refs #1235 : i18n: 'doctest-block' and 'raw' node can be translated if gettext_additional_targets
has that string.
2015-02-22 15:40:01 +09:00
shimizukawa
c53fa4b369
refs #1235 : i18n: 'literal-block' node can be translated if 'literal-block' is set to gettext_additional_targets
.
2015-02-22 13:51:02 +09:00
shimizukawa
d5dca56ff8
The `gettext_enables
config value has been renamed to
gettext_additional_targets`.
2015-02-22 13:31:28 +09:00
Takayuki Shimizukawa
9d1225a35b
add :confval:gettext_enables
to enable extracting 'index' to gettext catalog output / applying translation catalog to generated documentation. Closes #1344
2014-09-28 21:19:54 +09:00
Georg Brandl
24d303706f
Fixup windows newlines.
2014-09-21 20:23:24 +02:00
Takayuki Shimizukawa
eb8dbf4631
Fix malformed po files in the test-intl directory
2014-08-03 14:34:40 +09:00
Lars Buitinck
5a13bce2e2
compress static PNG images with optipng -o10
...
Average reduction in file size of 20%.
2014-07-22 13:42:00 +02:00
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
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
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