Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix UTF-8 handling for translated attributes | Shaun McCance | 2014-03-17 | 5 | -0/+65 |
| | |||||
* | Merge branch 'master' into its-2-0 | Shaun McCance | 2013-10-28 | 13 | -3/+176 |
|\ | |||||
| * | Added an option to retain entity references | Shaun McCance | 2013-09-21 | 9 | -6/+130 |
| | | | | | | | | | | | | | | You still have to load the DTD if the entities are defined in the external subset, because libxml2 checks references even if it doesn't dereference them. It would be nice if this weren't necessary. | ||||
| * | Merge commit 'refs/merge-requests/4' of gitorious.org:itstool/itstool | Shaun McCance | 2013-08-21 | 5 | -3/+72 |
| |\ | |||||
| | * | add --load-dtd option | Galen Charlton | 2012-08-29 | 5 | -3/+72 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This option tells itstool to load external DTDs when parsing the document to be translated. This prevents errors when the document includes entity references defined in those DTDs. Note that externally-defined entity refs still cannot be used in translated strings in the PO files. Also note that this adds test cases that require either network access or updating the local XML catalog to including the DocBook DTDs. Signed-off-by: Galen Charlton <gmc@esilibrary.com> | ||||
* | | | Support localeFilterType="exclude" | Shaun McCance | 2013-10-28 | 31 | -54/+231 |
| | | | |||||
* | | | Update ITS 2.0 test suite | Shaun McCance | 2013-10-27 | 119 | -1650/+1650 |
| | | | |||||
* | | | Add support for its:param | Shaun McCance | 2013-10-27 | 1 | -15/+1 |
| | | | |||||
* | | | Updated ITS 2.0 test suite | Shaun McCance | 2013-10-27 | 45 | -211/+309 |
| | | | |||||
* | | | Properly handle loc note inheritance | Shaun McCance | 2013-02-09 | 1 | -5/+0 |
| | | | |||||
* | | | Add LocNote class to better track localization note info | Shaun McCance | 2013-02-09 | 1 | -5/+0 |
| | | | |||||
* | | | Adding the ITS 2.0 test suite, found here: | Shaun McCance | 2013-02-02 | 199 | -0/+3000 |
| | | | | | | | | | | | | https://github.com/finnle/ITS-2.0-Testsuite/commits/master | ||||
* | | | Implemented ITS 2.0 "ID Value" data category | Shaun McCance | 2012-09-26 | 8 | -0/+108 |
| | | | |||||
* | | | Support for local withinText | Shaun McCance | 2012-09-21 | 9 | -0/+97 |
| | | | |||||
* | | | Fix tests for namespace prefix handling | Shaun McCance | 2012-09-20 | 4 | -27/+17 |
| | | | |||||
* | | | Merge branch 'master' into its-2-0 | Shaun McCance | 2012-09-20 | 5 | -0/+110 |
|\ \ \ | |/ / | |||||
| * | | Support namespace prefixes on elements | Shaun McCance | 2012-09-20 | 5 | -0/+110 |
| |/ | |||||
* | | Use External Resource implementation for itst:externalRefRule | Shaun McCance | 2012-09-19 | 2 | -12/+12 |
| | | |||||
* | | Implemented ITS 2.0 External Resource data category | Shaun McCance | 2012-09-19 | 23 | -0/+450 |
| | | |||||
* | | Adding a test for itst:externalRefRule | Shaun McCance | 2012-09-19 | 6 | -0/+86 |
| | | | | | | | | | | | | | | Don't know why I never had a test for this before. I'm going to implement the ITS 2.0 External Resource data category, and retool this extension on top, so I need to make sure I don't break it. | ||||
* | | Moving some of the tests into subdirectories | Shaun McCance | 2012-09-12 | 56 | -102/+102 |
| | | |||||
* | | Adding more Locale Filter tests | Shaun McCance | 2012-09-12 | 39 | -0/+664 |
| | | |||||
* | | Renaming IT-join-1 test output file | Shaun McCance | 2012-09-11 | 1 | -0/+0 |
| | | | | | | | | | | I changed the naming convention to make it easier to reuse other test input files to also test joins. | ||||
* | | Updating test files for --no-builtins | Shaun McCance | 2012-09-11 | 8 | -4/+39 |
| | | |||||
* | | First pass at implementing Locale Filter | Shaun McCance | 2012-09-11 | 10 | -30/+214 |
| | | |||||
* | | Implemented ITS 2.0 Preserve Space data category | Shaun McCance | 2012-09-08 | 10 | -0/+154 |
|/ | |||||
* | Try to maintain indentation in join mode | Shaun McCance | 2012-05-11 | 1 | -6/+24 |
| | |||||
* | tests: Adding regression test for join mode | Shaun McCance | 2012-05-11 | 7 | -0/+248 |
| | |||||
* | tests: Added two more tests | Shaun McCance | 2012-05-06 | 3 | -0/+41 |
| | | | | | Already had these XML files from W3C, but I didn't have POT files to test them against | ||||
* | tests: msgmerge po files to have new syntax from pot files | Shaun McCance | 2012-05-06 | 15 | -102/+191 |
| | |||||
* | Renamed itstool-specific tests to use IT- prefix | Shaun McCance | 2012-05-06 | 18 | -23/+23 |
| | |||||
* | tests: Changed test names to match file names | Shaun McCance | 2012-05-05 | 1 | -26/+26 |
| | |||||
* | Better handling of comments, new XML path markers | Shaun McCance | 2012-05-05 | 26 | -77/+360 |
| | | | | | | | | | Comments were getting lost if they weren't specified at exactly the same level as translation units were taken from. This commit changes how comments are handled to prevent that. I also moved path markers from the file context comment, because it's wrong and messes up some tools. | ||||
* | Better handling of XML errors in PO files | Shaun McCance | 2011-09-27 | 2 | -6/+29 |
| | | | | | | | | Rather than let an exception kill itstool, just issue a warning and use the original-language node. Added --strict to error out for XML errors in PO files. https://bugs.freedesktop.org/show_bug.cgi?id=41254 | ||||
* | Merge: Proper XML error catching [claude] | Shaun McCance | 2011-09-03 | 3 | -11/+55 |
|\ | |||||
| * | Catch XML errors in translated content | Claude Paroz | 2011-08-17 | 2 | -6/+37 |
| | | |||||
| * | Catch XML parsing errors so itstool does properly exit with error code | Claude Paroz | 2011-08-17 | 2 | -6/+18 |
| | | |||||
* | | Fix placeholder translation when it contains sub-elements | Claude Paroz | 2011-06-29 | 4 | -1/+33 |
|/ | |||||
* | Added itst:context to specify a msgctxt for a node | Shaun McCance | 2011-06-25 | 5 | -0/+102 |
| | |||||
* | Fixes for Python 3 | Claude Paroz | 2011-06-24 | 1 | -1/+1 |
| | |||||
* | Make itst:drop work on non-inline nodes | Shaun McCance | 2011-06-24 | 1 | -0/+2 |
| | |||||
* | Made dropRule take a drop attribute, like other rules | Shaun McCance | 2011-06-24 | 2 | -2/+2 |
| | |||||
* | Add itst drop rule | Claude Paroz | 2011-06-24 | 5 | -0/+55 |
| | | | | | | The itst Droprule is a rule allowing to ignore completely a tag from the translation, including its content. The resulting xml will not have the tag either. | ||||
* | Renamed attribute test files | Shaun McCance | 2011-06-23 | 6 | -8/+6 |
| | |||||
* | Handled translatable attributes in non-translatable elements | Shaun McCance | 2011-06-23 | 6 | -1/+64 |
| | |||||
* | Extract and translate node attributes | Claude Paroz | 2011-06-23 | 10 | -6/+80 |
| | |||||
* | Fix LocNote2 test and add README in tests | Claude Paroz | 2011-06-01 | 3 | -2/+32 |
| | |||||
* | Add remaining tests | Claude Paroz | 2011-06-01 | 12 | -2/+347 |
| | |||||
* | Add tests for the Translate* series | Claude Paroz | 2011-05-31 | 16 | -6/+307 |
| | |||||
* | Fix xml iteration when constructing translated subnodes | Claude Paroz | 2011-05-31 | 1 | -1/+1 |
| |