Commit Graph

34 Commits

Author SHA1 Message Date
Georg Brandl
ac92719ac3 Update copyright year. 2014-03-01 08:18:23 +01:00
Georg Brandl
e030031321 Update copyright year. 2014-03-01 08:18:16 +01:00
Dmitry Shachnev
ce2185ce27 Modernize the code now that Python 2.5 is no longer supported
- Use print function instead of print statement;
- Use new exception handling;
- Use in operator instead of has_key();
- Do not use tuple arguments in functions;
- Other miscellaneous improvements.

This is based on output of `futurize --stage1`, with some
manual corrections.
2014-01-19 14:17:10 +04:00
Georg Brandl
52515eeb86 Copyright header update. 2013-04-01 11:41:48 +02:00
Georg Brandl
1af3e3ea71 tests: replace "from util import *" by explicit imports 2013-04-01 11:39:32 +02: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
Takayuki Shimizukawa
9f8f93e5e1 fix test_seealso failed with python3 2013-01-12 22:26:38 +09:00
Robert Lehmann
32b87e258b merge birkenfeld/sphinx 2013-01-06 12:14:57 +01:00
Takayuki Shimizukawa
9b9c69042e Divide test_intl target source files for speed-up. 2013-01-06 16:15:49 +09:00
Takayuki Shimizukawa
b17c588b0d Closes #976: Fix gettext does not extract index entries. 2013-01-05 23:38:21 +09:00
Robert Lehmann
cbca1bdc97 Verify seealso directives end up in gettext catalogs. 2012-12-16 21:21:37 +01:00
Robert Lehmann
f055c1593f Split up sphinx-i18n tests into build and patch phase. 2010-11-14 19:42:50 +01:00
Robert Lehmann
3ab3400c12 Remove generated catalogs properly after tests. 2010-11-13 13:15:15 +01:00
Robert Lehmann
3d006f827d Transform false positives into skipped tests. 2010-11-13 13:14:35 +01:00
Robert Lehmann
b720156437 Tested section grouping for translations. 2010-11-13 12:59:12 +01:00
Georg Brandl
e239e51685 Give an explicit locale so that the output file name of msginit is deterministic. 2010-08-21 20:30:11 +02:00
Georg Brandl
2e17fac622 merge with DasIch/sphinx-i18n 2010-08-21 19:34:05 +02:00
Georg Brandl
00c2b032d1 merge with sphinx-i18n 2010-08-21 19:20:50 +02:00
Robert Lehmann
7a40e07eda merge with trunk 2010-08-17 11:08:23 +02:00
Daniel Neuhäuser
42279f17bd Fix test_gettext test for python 3.x 2010-08-15 12:30:13 +02:00
Daniel Neuhäuser
817a7bb2c8 Fix test which was broken to change in the path object api 2010-08-15 12:16:48 +02:00
Daniel Neuhäuser
94d9644722 Added a newline for readability 2010-08-15 12:04:27 +02:00
Daniel Neuhäuser
57e83c6a94 Fix line length 2010-08-15 11:59:01 +02:00
Robert Lehmann
6e9b3c7249 Test if doctrees retain semantic structure. 2010-06-30 12:57:10 +02:00
Robert Lehmann
1433b5cb11 Test translation patching in vitro. 2010-06-29 23:30:22 +02:00
Robert Lehmann
7b3830a78a Pull gettext tests into one single location. 2010-06-26 14:13:43 +02:00
Robert Lehmann
3a7ce4039a Check compiled message catalogs are processable with gettext. 2010-06-23 06:18:47 +02:00
Robert Lehmann
b5f29b2c7c Strip down tests to build only critical parts. 2010-06-17 11:57:59 +02:00
Robert Lehmann
b1c480f5c6 Remove cleanenv setting from tests. 2010-06-17 11:49:07 +02:00
Robert Lehmann
e63bb0f4a9 Split up tests into logical units. 2010-06-17 11:46:49 +02:00
Robert Lehmann
3e449e3005 Delete generated files on test failure. 2010-06-09 07:46:40 +02:00
Robert Lehmann
438c24e222 Prepare test root catalogs for gettext with msgfmt. 2010-06-09 06:54:59 +02:00
Robert Lehmann
5ac5f23f2b Verify PO file format with msginit. 2010-06-09 06:46:30 +02:00
Robert Lehmann
0299008e55 Initial tests for gettext build. 2010-06-07 14:04:16 +02:00