summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Fix py 2/3 issues and add a test caseShaun McCance2018-08-216-4/+77
|
* Fix UTF-8 handling for translated attributesShaun McCance2014-03-175-0/+65
|
* Merge branch 'master' into its-2-0Shaun McCance2013-10-2813-3/+176
|\
| * Added an option to retain entity referencesShaun McCance2013-09-219-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/itstoolShaun McCance2013-08-215-3/+72
| |\
| | * add --load-dtd optionGalen Charlton2012-08-295-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 McCance2013-10-2831-54/+231
| | |
* | | Update ITS 2.0 test suiteShaun McCance2013-10-27119-1650/+1650
| | |
* | | Add support for its:paramShaun McCance2013-10-271-15/+1
| | |
* | | Updated ITS 2.0 test suiteShaun McCance2013-10-2745-211/+309
| | |
* | | Properly handle loc note inheritanceShaun McCance2013-02-091-5/+0
| | |
* | | Add LocNote class to better track localization note infoShaun McCance2013-02-091-5/+0
| | |
* | | Adding the ITS 2.0 test suite, found here:Shaun McCance2013-02-02199-0/+3000
| | | | | | | | | | | | https://github.com/finnle/ITS-2.0-Testsuite/commits/master
* | | Implemented ITS 2.0 "ID Value" data categoryShaun McCance2012-09-268-0/+108
| | |
* | | Support for local withinTextShaun McCance2012-09-219-0/+97
| | |
* | | Fix tests for namespace prefix handlingShaun McCance2012-09-204-27/+17
| | |
* | | Merge branch 'master' into its-2-0Shaun McCance2012-09-205-0/+110
|\ \ \ | |/ /
| * | Support namespace prefixes on elementsShaun McCance2012-09-205-0/+110
| |/
* | Use External Resource implementation for itst:externalRefRuleShaun McCance2012-09-192-12/+12
| |
* | Implemented ITS 2.0 External Resource data categoryShaun McCance2012-09-1923-0/+450
| |
* | Adding a test for itst:externalRefRuleShaun McCance2012-09-196-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 subdirectoriesShaun McCance2012-09-1256-102/+102
| |
* | Adding more Locale Filter testsShaun McCance2012-09-1239-0/+664
| |
* | Renaming IT-join-1 test output fileShaun McCance2012-09-111-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-builtinsShaun McCance2012-09-118-4/+39
| |
* | First pass at implementing Locale FilterShaun McCance2012-09-1110-30/+214
| |
* | Implemented ITS 2.0 Preserve Space data categoryShaun McCance2012-09-0810-0/+154
|/
* Try to maintain indentation in join modeShaun McCance2012-05-111-6/+24
|
* tests: Adding regression test for join modeShaun McCance2012-05-117-0/+248
|
* tests: Added two more testsShaun McCance2012-05-063-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 filesShaun McCance2012-05-0615-102/+191
|
* Renamed itstool-specific tests to use IT- prefixShaun McCance2012-05-0618-23/+23
|
* tests: Changed test names to match file namesShaun McCance2012-05-051-26/+26
|
* Better handling of comments, new XML path markersShaun McCance2012-05-0526-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 filesShaun McCance2011-09-272-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 McCance2011-09-033-11/+55
|\
| * Catch XML errors in translated contentClaude Paroz2011-08-172-6/+37
| |
| * Catch XML parsing errors so itstool does properly exit with error codeClaude Paroz2011-08-172-6/+18
| |
* | Fix placeholder translation when it contains sub-elementsClaude Paroz2011-06-294-1/+33
|/
* Added itst:context to specify a msgctxt for a nodeShaun McCance2011-06-255-0/+102
|
* Fixes for Python 3Claude Paroz2011-06-241-1/+1
|
* Make itst:drop work on non-inline nodesShaun McCance2011-06-241-0/+2
|
* Made dropRule take a drop attribute, like other rulesShaun McCance2011-06-242-2/+2
|
* Add itst drop ruleClaude Paroz2011-06-245-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 filesShaun McCance2011-06-236-8/+6
|
* Handled translatable attributes in non-translatable elementsShaun McCance2011-06-236-1/+64
|
* Extract and translate node attributesClaude Paroz2011-06-2310-6/+80
|
* Fix LocNote2 test and add README in testsClaude Paroz2011-06-013-2/+32
|
* Add remaining testsClaude Paroz2011-06-0112-2/+347
|
* Add tests for the Translate* seriesClaude Paroz2011-05-3116-6/+307
|