Commit graph

994 commits

Author SHA1 Message Date
Geoff McLane c19d221ddc Issue #384 - bump to 5.1.49 2016-03-30 14:19:07 +02:00
Geoff McLane 1830fdb97c Issue #384 - insert comments 2016-03-30 14:18:04 +02:00
Geoff McLane 4b135d9b47 Merge pull request #384 from seaburg/master
Fix skipping parsing character
2016-03-30 14:08:40 +02:00
Geoff McLane aa1fc197d5 Issue #383 - Bump to 5.1.48 on this merge 2016-03-27 19:57:41 +02:00
Geoff McLane e87f26c247 Merge pull request #388 from htacg/fr.po
Merge fr.po to master
2016-03-27 19:54:54 +02:00
Geoff McLane 193320571b add WIP fr.po 2016-03-26 20:20:42 +01:00
Jim Derry 7d2ddee775 Add new rebase command to CLI.
This is intended to make it very, very easy to update the POT and all of the POs when
changes are made to `language_en.h`. Used without an sha-1 hash, untranslated strings
(i.e., the "source" strings) are updated in the POT/PO's.

However if you specify an --sha=HASH (or -c HASH) option, then the script will use git
to examine the `language_en.h` file from that specified commit, determing the strings
that have changed, and mark all of these strings as `fuzzy` in the POs. This will serve
as a flag to translators that the original has changed. In addition, this `fuzzy` flag
will appear in the headers as "(fuzzy) " in the item comments.

If a translator edits the header directly, he should remove the "(fuzzy )" in the
comment. Then when the PO is rebuilt, the fuzzy flag will be removed automatically.
The reverse is also true; if a translator is working with the PO, he or she should
clear the fuzzy flag and the comment will be adjusted accordingly in the generated
header.
2016-03-25 09:21:21 +08:00
Geoff McLane a15f97ebcb Merge branch 'fr.po' of github.com:htacg/tidy-html5 into fr.po 2016-03-24 14:18:06 +01:00
Geoff McLane fb95ea2ed2 Issue #383 - Bump version to 5.1.47fr 2016-03-24 14:15:44 +01:00
Geoff McLane 8671544beb Issue #383 - Add a WIP language_fr.h to facilitate testing 2016-03-24 14:15:43 +01:00
Geoff McLane 5feca8cfd6 Issue #383 - correct another byte-by-byte output to message file.
As in the previous case these messages are already valid utf-8 text, and
thus, if output on a byte-by-byte basis, must not use WriteChar, except
for the EOL char.

Of course this output can be to either a user ouput file, if configured,
otherwise stderr.
2016-03-24 14:15:43 +01:00
Jim Derry ad7bdee3b9 Added translator comments to new TidyEscapeScripts option, and updated POT and POs to reflect this. 2016-03-24 11:00:47 +08:00
Jim Derry a353523873 Spaceing 2016-03-24 10:40:21 +08:00
Jim Derry d0ec84c169 Merge branch 'master' into lang_help_enhance 2016-03-24 10:37:37 +08:00
Jim Derry 9ecdf30774 Localization fixes:
- Correct format specifiers.
- Fix missing trailing quote if following escaped quote. #385
- Don't put developer comments into generated headers unless --force-comments is used.
- Ruby 1.9.3 fix.
- Initial fuzzy support.
- Fix two character lang codes not working.
2016-03-24 10:31:56 +08:00
Geoff McLane d20822230d Issue #383 - Bump version to 5.1.47fr 2016-03-23 19:53:51 +01:00
Geoff McLane df4174f5fa Issue #383 - Add a WIP language_fr.h to facilitate testing 2016-03-23 19:52:56 +01:00
Geoff McLane 6cda2e02c8 Issue #383 - correct another byte-by-byte output to message file.
As in the previous case these messages are already valid utf-8 text, and
thus, if output on a byte-by-byte basis, must not use WriteChar, except
for the EOL char.

Of course this output can be to either a user ouput file, if configured,
otherwise stderr.
2016-03-23 19:49:17 +01:00
Jim Derry 71d6ca1392 Oops. Didn't commit es changes. This fixes that. 2016-03-23 15:10:07 +08:00
Jim Derry d54785c933 language help enhancements:
- Show the language Tidy is using.
- Update the POT and POs with the modified string.
- Regen language_es.h, which uses the string.

Note that the new header uses the new commentless behavior that's still
pending in another branch. In addition the proper c style hints have
been added to all PO's, as their previous absense was a bug.
2016-03-23 14:56:36 +08:00
Jim Derry 2cf03f7fa9 Fix two character lang codes not working. 2016-03-23 14:38:17 +08:00
Jim Derry ee151f07f1 Ruby 1.9.3 fix. 2016-03-23 13:27:17 +08:00
Jim Derry 39e4f16b48 Don't put developer comments into generated headers unless --force-comments is used. 2016-03-22 11:26:32 +08:00
Jim Derry 3cd1a87c44 Fix missing trailing quote if following escaped quote. #385 2016-03-22 11:01:41 +08:00
Jim Derry 91e8e6bf1e Correct format specifiers. 2016-03-22 10:35:03 +08:00
Geoff McLane a5ae647ee3 Issue #348 - Add README/OTPIONS.md on adding a new option 2016-03-20 01:05:36 +01:00
Geoff McLane 3c8d9bf3f6 Issue #348 - Bump to version 5.1.47 2016-03-20 01:03:25 +01:00
Geoff McLane 000c6925bd Issue #348 - Add option 'escape-script', def = yes 2016-03-20 01:01:46 +01:00
Geoff R. McLane e4bf52c516 add a rentidy.sh script to keep old versions 2016-03-19 19:56:27 +01:00
Geoff McLane 9e28261c71 ignore vc 2008 vcproj files 2016-03-19 19:49:58 +01:00
Geoff McLane 8a31aad0e3 Issues #379 #380 #383 - Bump to 5.1.46 for this merge of 'issue-380' 2016-03-19 19:32:39 +01:00
Geoff McLane 370dab3b05 Merge pull request #382 from htacg/issue-380
Merge Issue 378 and 380
2016-03-19 19:28:55 +01:00
Geoff McLane 06215769aa Issue #383 - Bump version 5.1.45-Exp3 2016-03-18 18:48:08 +01:00
Geoff McLane e6f1533d89 Issue #383 - Output message file text byte-by-byte 2016-03-18 18:47:00 +01:00
Evgeniy Yurtaev 7d28b21e60 Fix skipping parsing character 2016-03-17 23:30:11 +03:00
Jim Derry 9a9acf29cb Updated broken links in readme. 2016-03-11 16:39:17 +08:00
Geoff McLane 68e69d54a0 Merge branch 'master' of github.com:htacg/tidy-html5 2016-03-06 17:39:32 +01:00
Geoff McLane 98f32ddebb Issue #379 - Bump to version 5.1.45-Exp2 2016-03-06 17:38:48 +01:00
Geoff McLane 8dda04f1df Issue #379 - Care about 'ix' going negative.
How this lasted so long in the code is a mystery! But of course it will
only be a read out-of-bounds if testing the first character in the lexer,
and it is a spacey char.

A big thanks to @gaa-cifasis for running ASAN tests on Tidy.
2016-03-06 17:36:51 +01:00
Geoff McLane b83d5ffb03 Issue #380 - Bump to version 5.1.45-Exp1 2016-03-05 17:40:32 +01:00
Geoff McLane 8eee85cb9e Issue #380 - Experimental patch in issue-380 branch 2016-03-05 17:39:14 +01:00
Geoff McLane b2c591c138 Issue #380 - Bump version to 5.1.45
Added more debug code to try to track this bug!
2016-03-04 19:41:07 +01:00
Geoff McLane ca90fadb34 Issue #380 - Bump version to 5.1.45
Added more debug code to try to track this bug!
2016-03-04 19:39:36 +01:00
Geoff McLane 0e6ed639d6 Issue #380 - Add more MSVC debug 2016-03-04 19:28:49 +01:00
Geoff McLane d091027089 Issue #377 add debug only output of constrained versions 2016-03-03 20:21:35 +01:00
Geoff McLane 1dd06aa4b2 Issue #377 - Bump to 5.1.44 for this fix 2016-02-29 19:59:41 +01:00
Geoff McLane 7bdc31af76 Issue #377 - Table summary attribute also applies to XHTML5 2016-02-29 19:58:55 +01:00
Geoff McLane 9a80938246 Issue #314 - Bump to 5.1.43 for fix 2016-02-29 18:49:52 +01:00
Geoff McLane 24c62cf0df Issue #314 - Avoid head warning if show-body-only 2016-02-29 18:49:15 +01:00
Geoff McLane b41318724c Issue #373 - bump version to 5.1.42 for this merge of branch 373 2016-02-24 19:24:46 +01:00