Commit Graph
63 Commits
Author SHA1 Message Date
Robert Lehmann 84298debb7 Supply missing PO file for tests. 2010-11-14 19:43:28 +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
Robert Lehmann f411dbce23 Ignored translator errors in non-paragraphs for now. 2010-11-13 12:50:52 +01:00
Robert Lehmann b151aa56e1 Clean up coding style for better comprehensibility. 2010-11-13 12:49:39 +01:00
Robert Lehmann 6812af60c2 merge 2010-08-27 01:03:57 +02:00
Robert Lehmann ef870346de Document internationalization mechanisms. 2010-08-27 01:02:49 +02:00
Robert Lehmann 7a40e07eda merge with trunk 2010-08-17 11:08:23 +02:00
Robert Lehmann fda1d0985a Fixed docname resolution. 2010-07-14 23:41:38 +02:00
Robert Lehmann 38e1e7770f Move translation patching back into transform for chronological order. 2010-07-14 22:01:08 +02:00
Robert Lehmann 583f4a100e Ignore translations which fall back to NullTranslations. 2010-06-30 13:11:22 +02:00
Robert Lehmann 4fa9fe3290 Skip untranslated msgids. 2010-06-30 12:59:12 +02:00
Robert Lehmann 93f2924008 Switch from normalized representation to rawsource. 2010-06-30 12:57:26 +02:00
Robert Lehmann 6e9b3c7249 Test if doctrees retain semantic structure. 2010-06-30 12:57:10 +02:00
Robert Lehmann 8a5af56e62 Disallow structural changes to TextElements; replace their children instead. 2010-06-30 12:50:34 +02:00
Robert Lehmann 1433b5cb11 Test translation patching in vitro. 2010-06-29 23:30:22 +02:00
Robert Lehmann 4b8249e6b1 Fix translation lookup and propagation. 2010-06-29 22:54:59 +02:00
Robert Lehmann 684ecc2678 Preliminary fix for broken translations in autodoc/viewcode. 2010-06-29 08:08:31 +02:00
Robert Lehmann 6a715f5d1a Move translation patching into read_doc for access to runtime settings. 2010-06-29 08:06:48 +02:00
Robert Lehmann bbc03c26e3 Make locale.init reentrable. 2010-06-29 08:05:28 +02:00
Robert Lehmann 804b8df9bb Prepare locale initialization for multiple catalogs. 2010-06-26 15:30:35 +02:00
Robert Lehmann ba5e496a5d Hide canonical path separator. 2010-06-26 15:29:25 +02:00
Robert Lehmann 7b3830a78a Pull gettext tests into one single location. 2010-06-26 14:13:43 +02:00
Robert Lehmann b14658199f Document gettext builder and create i18n docs. 2010-06-26 12:38:06 +02:00
Robert Lehmann 10fc7cd73b Move POT-Creation-Date configuration value back into code. 2010-06-26 12:25:53 +02:00
Robert Lehmann cd583b634d merge with trunk 2010-06-23 07:43:07 +02:00
Robert Lehmann 8e12af649f Ignore orphan metadata field in translatable messages. 2010-06-23 07:36:33 +02:00
Robert Lehmann 35ee258b2e Fix source file reference in patched documents. 2010-06-23 07:30:24 +02:00
Robert Lehmann 3c4cad5085 Add parsing step to translation integration. 2010-06-23 07:28:58 +02:00
Robert Lehmann 3a7ce4039a Check compiled message catalogs are processable with gettext. 2010-06-23 06:18:47 +02:00
Robert Lehmann 804a92dad2 Patch translatable messages with custom doctree. 2010-06-18 10:15:08 +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 cd07472676 Extract translatable strings alongside their doctree nodes. 2010-06-16 20:27:27 +02:00
Robert Lehmann 0109af80b5 Refactor message extractor into utilities. 2010-06-09 15:19:58 +02:00
Robert Lehmann c9dd331c12 Fix empty and duplicate nodes. 2010-06-09 07:47:14 +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
Robert Lehmann ead9fa89b0 Add generic test for gettext builder. 2010-06-07 13:58:04 +02:00
Robert Lehmann e588fa8176 Supply initial creation date in PO header. 2010-06-06 20:55:57 +02:00
Robert Lehmann d3f1618598 Supply version information in PO header. 2010-06-06 20:54:01 +02:00
Robert Lehmann 0c21f913eb Document basic workflow in gettext builder. 2010-06-04 18:38:16 +02:00
Robert Lehmann 7c80750ee3 Prepare msgid for escaped sequences. 2010-06-04 18:26:47 +02:00
Robert Lehmann 4a197b29ce Safeguard file.close() against failure. 2010-06-04 18:23:06 +02:00
Robert Lehmann 3f6fa966d0 Use progress indicator for gettext builds. 2010-06-04 18:21:19 +02:00
Robert Lehmann 2801f52f15 Properly close open .pot files. 2010-06-04 17:14:04 +02:00
Robert Lehmann 01e6e18303 Escaped quotation marks in msgids. 2010-06-04 16:55:35 +02:00
Robert Lehmann d60c41afa9 Add public name to MessageCatalogBuilder. 2010-06-04 16:54:37 +02:00
Robert Lehmann 08381bb2ad Add meta information to PO headers. 2010-06-02 09:45:13 +02:00
Robert Lehmann 995c18609c Write message catalogs to POT files. 2010-06-02 09:35:33 +02:00
Robert Lehmann 8413f2ce50 Ignore invisible and inline nodes during translation. 2010-06-02 09:19:08 +02:00
Robert Lehmann 8a87a46318 Normalize messages for later rewrapping. 2010-06-02 09:18:30 +02:00
Robert Lehmann 2cbe83cf5e Collect raw messages for translation. 2010-06-02 09:17:42 +02:00
Robert Lehmann a1932f62f0 Add gettext builder to Sphinx docs. 2010-05-30 17:02:54 +02:00
Robert Lehmann 601d39c7b9 merge with trunk 2010-05-30 11:10:01 +02:00
Robert Lehmann ab16ae303a Add gettext build using intl.MessageCatalogBuilder. 2010-05-30 09:36:23 +02:00
Robert Lehmann f0cbf2c4e1 Add PO builder to sphinx-quickstart. 2010-05-29 20:26:38 +02:00
Robert Lehmann d405575620 Skeleton for PO builder. 2010-05-29 18:14:42 +02:00