Log of /test/html-webhacc/mkcatalog.pl
Parent Directory
| Revision Log
Revision
1.3 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 21 12:56:34 2008 UTC
(16 years, 4 months ago)
by
wakaba
Branch:
MAIN
CVS Tags:
HEAD
Changes since
1.2: +22 -3 lines
Diff to
previous 1.2
++ ChangeLog 21 Jul 2008 12:51:50 -0000
* .htaccess: error-description-source.xml is in UTF-8
actually.
* Makefile: Rule to make Japanese language catalog file
is added.
* cc-script.js: Line and column numbers are now taken
from data-* attributes, not from textContent.
* cc.cgi: Tentative support for Japanese/English conneg.
(load_text_catalog, get_text): Removed (catalog text selection
is now handled by WebHACC::Output).
* error-description-source.xml: Catalog entries in new
format are added. Old catalog element is removed.
* mkcatalog.pl: Support for non-English languages.
Drop support for old catalog element. Add support
for new cat element.
* mkdescription.pl: Drop support for old catalog element.
Add support for new cat element.
2008-07-21 Wakaba <wakaba@suika.fam.cx>
++ html/WebHACC/Language/ChangeLog 21 Jul 2008 12:56:30 -0000
* DOM.pm (generate_structure_dump_section): Use catalog
for human-readable texts.
(generate_table_section): Use catalog for human readable texts.
2008-07-21 Wakaba <wakaba@suika.fam.cx>
++ html/WebHACC/ChangeLog 21 Jul 2008 12:55:41 -0000
* Input.pm: Most human-readable texts are now handled by
catalog.
(id_prefix): Support for nested subdocuments.
* Output.pm (start_section, dt, xref): Section/item names and
link labels are now handled by catalog.
(load_text_catalog, nl_text): New methods.
(html_header): Application name is moved to catalog.
* Result.pm (add_error): Important error properties are
now exposed to client-side script as data-* attributes.
Labels are now handled by catalog. Error descriptions
are now taken from catalog as it were.
2008-07-21 Wakaba <wakaba@suika.fam.cx>
Revision
1.2 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Sun Nov 18 11:05:12 2007 UTC
(17 years ago)
by
wakaba
Branch:
MAIN
Changes since
1.1: +1 -2 lines
Diff to
previous 1.1
++ ChangeLog 18 Nov 2007 11:04:51 -0000
* cc-style.css: New rules for warnings.
* cc-todo.en.txt: Updated.
* cc.cgi: Default to |Windows-1252| instead of |ISO-8859-1|
for |inner_html| with external source. Set |manakai_charset|
attribute if possible.
(load_text_catalog): Interpret catalog file as UTF-8.
* error-description-source.en.xml: New errors for character
encodings are added.
2007-11-18 Wakaba <wakaba@suika.fam.cx>
* error-description-source.xml: s/charset declaration/character
encoding declaration/g, since HTML5 spec says so.
2007-11-18 Wakaba <wakaba@suika.fam.cx>
Revision
1.1 -
(
view)
(
download)
(
annotate)
-
[select for diffs]
Mon Jul 16 08:38:48 2007 UTC
(17 years, 4 months ago)
by
wakaba
Branch:
MAIN
++ ChangeLog 16 Jul 2007 08:38:44 -0000
* Makefile (all): |cc-msg.en.txt| is added to the list of
dependency.
(cc-msg.en.txt): New rule.
* mkcatalog.pl: New Perl script.
* cc-msg.en.txt: Now this file is generated by
the rule described in |Makefile|.
* cc.cgi (HTML mode): Set |charset| as |ISO-8859-1|
if not specified, for now.
(get_text): Replace |<var>$/n/</var>|, not just |$/n/|,
to variable.
* error-description-source.xml: All entries
in |cc-msg.en.txt| are now described as XML data.
* mkdescription.pl: Print the result by |inner_html| DOM
attribute. Put |level| attribute value, if any, before |name|
attribute value. Allow missing of |desc| attribute.
Ignore any |catalog| element.
2007-07-16 Wakaba <wakaba@suika.fam.cx>
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.