SCM

File Release Notes and Changelog

Release Name: 0.35

Release Notes

* Major changes in release 0.35 (2009-02-10)

po4a
 * Added support for the [po_directory] command in the configuration file.
   It permits to avoid listing the supported languages.  Simply dropping a
   new PO file should be sufficient.  It should be preferred over the
   po4a_langs and po4a_paths commands.
po4a-normalize:
 * Added option -b, --blank to check which parts of a document are not
   translated.
po4a-gettextize:
 * Improved conflict handling: indicate the reference of the alternatives
   when the same string has different translations.

general:
 * Added support for a nowrapi18n option in Locale::Po4a::Common in
   order to use Locale::Po4a programatically.

packaging:
 * Manpages are generated in utf-8. This requires a recent Pod::Man with
   support for the utf8 option.

Docbook:
 * Improved support for Docbook 5 and Docbook 4, based on the official
   documentation of the Docbook tags.
Pod:
 * Announce the encoding in the POD header.
Sgml:
 * Add support for recursive inclusion.
Text:
 * Added option asciidoc
Xhtml:
 * Improvements for the <u> tag.
xml:
 * Fix the nodefault option. Derivative modules should use _default_tags
   and _default_inline to define the default behavior of their
   module-specific tags (instead of tags and inline).
 * Speed improvements.
 * Added support for placeholders.

Change Log

2009-02-10  Nicolas François  <nicolas.francois@centraliens.net>

	* NEWS: Updated release date.
	* NEWS, Build.PL: Build the manpage with the Pod::Man utf8 option.
	This requires a recent Pod::Man (>= 5.10?)
	* NEWS, lib/Locale/Po4a/Pod.pm: Announce the encoding in the POD
	header.

2009-02-09  Nicolas François  <nicolas.francois@centraliens.net>

	* Build.PL: Another try to fix the installation of manpages and mo
	files.
	* t/30-text.t: De-activate the Tables test. Tables are not
	supported by the asciidoc module.
	* t/data-29/general-normalized.wml, t/data-29/general.po: Fix the
	WML testsuite (due to a change in teh HTML module, <br /> are now
	breaking points in paragraphs.
	* lib/Locale/Po4a/TransTractor.pm: Updated to version 0.35.

2009-01-31  Nicolas François  <nicolas.francois@centraliens.net>

	* po/bin/po4a.pot, po/pod/po4a-pod.pot: Regenerated.
	* po/bin/*.po, po/pod/*.po: Synchronized with the POTs.

2009-01-31  Nicolas François  <nicolas.francois@centraliens.net>

	* po/pod.cfg, po/html.cfg: Use the new [po_directory] feature in
	our po4a configuration files.

2009-01-31  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Docbook.pm: Added support for the xml:lang
	attribute.

2009-01-31  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Po.pm: Do not duplicate the references when the
	same string has different translations
	* lib/Locale/Po4a/Po.pm: Fix the conflict markers when more than 2
	alternatives exist.
	* lib/Locale/Po4a/Po.pm: Indicate the reference of the
	translations when a conflict occurs during a gettextization
	(instead of "choice").

2009-01-30  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Xml.pm (get_path): accept an additional list of
	path element to be added at the end of the path in get_path().
	This avoids having paths starting with "outside any tag (error?)".
	* lib/Locale/Po4a/Xml.pm (tag_type): Only call get_string_until()
	and join_lines() once.
	* lib/Locale/Po4a/Xml.pm: Speedup improvement: use hashes to keep
	the tags in the various category instead of arrays.
	* lib/Locale/Po4a/Xml.pm (get_translate_options): Add a cache to
	store the get_translate_options() results.
	* lib/Locale/Po4a/Xml.pm: Simplify regexp.
	* lib/Locale/Po4a/TransTractor.pm, lib/Locale/Po4a/Xml.pm: Allow
	arrays in input of unshiftline (instead of only 2 elements)
	* NEWS: Document the speed improvements.

2009-01-30  Nicolas François  <nicolas.francois@centraliens.net>

	* t/data-11/err1, t/data-23/dot2.err, t/data-23/dot3.err,
	t/data-23/dot4.err: Updated testsuite following change from
	2009-01-16.

2009-01-27  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Docbook.pm: Fix wrong duplicates: The second
	<acknowledgements> should have been <ackno>, the second <colophon>
	should have been <colspec>, the second <nonterminal> should have
	been <note>.
	* lib/Locale/Po4a/Docbook.pm: Added v4 tags not in DocBook v5:
	<action>, <authorblurb>, <beginpage>, <bookinfo>, <collabname>,
	<corpauthor>, <corpcredit>, <corpname>, <graphic>, <graphicco>,
	<highlights>, <inlinegraphic>, <interface>, <invpartnumber>,
	<isbn>, <issn>, <lot>, <lotentry>, <medialabel>, <refsect1info>,
	<refsect2info>, <refsect3info>, <refsectioninfo>,
	<refsynopsisdivinfo>, <screeninfo>, <sect1info>, <sect2info>,
	<sect3info>, <sect4info>, <sect5info>, <setinfo>, <sgmltag>,
	<structfield>, <structname>, <tocback>, <tocchap>, <tocfront>,
	<toclevel1>, <toclevel2>, <toclevel3>, <toclevel4>, <toclevel5>,
	<tocpart>, <ulink>.
	* lib/Locale/Po4a/Docbook.pm: Move <article> to its alphabetical
	place.

2009-01-16  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Common.pm: Remove -t STDOUT test, already
	enclosed in a -t STDOUT test.

2009-01-15  intrigeri  <intrigeri@boum.org>

	* NEWS, lib/Locale/Po4a/Common.pm: Add support for a nowrapi18n
	option in order to use Locale::Po4a programatically. 
	* lib/Locale/Po4a/Common.pm: Do not use Text::WrapI18N if STDOUT
	or STDERR is not opened to a tty.

2008-12-29  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Docbook.pm: Added tags from earlier docbook
	releases.

2008-12-29  Nicolas François  <nicolas.francois@centraliens.net>

	* t/data-27/comments-normalized.xml, t/data-27/comments.po,
	t/data-27/general.po, t/data-27/options.po: Updated testsuite for
	the Xml module.

2008-12-29  Nicolas François  <nicolas.francois@centraliens.net>

	* NEWS, po4a: Added [po_directory] command to the config file.

2008-12-29  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Docbook.pm: Reworked to take into account all
	the DocBook 5.0 tags, with the new classification.

2008-12-29  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Guide.pm, lib/Locale/Po4a/Dia.pm: _default_tags
	replaced by _default_translated.

2008-12-29  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Xml.pm: Enhance the placeholder support. This
	should be officially supported now. Documentation is missing.
	* lib/Locale/Po4a/Xml.pm: Add a break category. break should
	replace the tags category. Documentation is missing.
	* lib/Locale/Po4a/Xml.pm: End of the placeholder handling (adding
	the placeholders' translation) moved from treat_content to
	translate_paragraph.
	* lib/Locale/Po4a/Xml.pm: The (placeholder) tag is added to @path
	before calling translate_paragraph to fix the path in the PO file.
	* lib/Locale/Po4a/Xml.pm: The tag shall not be added to the path
	in tag_break_close, otherwise there are duplicates in the path.

2008-12-06  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Sgml.pm: Added empty tag: spanspec.
	* lib/Locale/Po4a/Sgml.pm: Added ignore tags: city country isbn
	lineannotation pubsnumber volumenum.
	* lib/Locale/Po4a/Sgml.pm: Added translate tags: see substeps
	example seealso biblioentry biblioset chapterinfo orgdiv
	appendixinfo collab collabname confgroup conftitle confdates
	pagenums.

2008-12-06  Nicolas François  <nicolas.francois@centraliens.net>

	* NEWS, lib/Locale/Po4a/Sgml.pm: Added support for recursive
	inclusions.  Entities were processed one after another, and could
	be unexpanded when present in a file included by a later entity.

2008-12-06  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Sgml.pm: Fix for debug=entities.

2008-12-06  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Sgml.pm: Move acronym from the translate
	category to the ignore category: <acronym> can appear in a
	paragraph, and should not break the current block.

2008-12-06  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Xhtml.pm: Fix indentation in documentation.

2008-11-17  Noritada Kobayashi <nori1@dolphin.c.u-tokyo.ac.jp>

	* lib/Locale/Po4a/Docbook.pm: Add <editor> to _default_inline to
	enable translating contents of <editor> elements.

2008-11-12  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Po.pm: If no "charset" header is present, return
	CHARSET. Thanks to intrigeri for spotting this with zzuf.

2008-11-08  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Xml.pm: Quotes are not relevant in CDATAs. This
	caused po4a to search for the end of CDATA in the rest of the
	document if an apostrophe was opened and not closed.

2008-11-02  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Xhtml.pm: Added support for <br> tags
	(untranslated, introduce a break).
	* lib/Locale/Po4a/Xml.pm: Do not translate the leading blank
	lines.

2008-11-02  W. Martin Borgert  <debacle@debian.org>

	* lib/Locale/Po4a/Docbook.pm: Added support for <ackno>.

2008-11-02  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Xml.pm: Added support for module options
	_default_translated and _default_untranslated.
	* lib/Locale/Po4a/Xml.pm: Simplify the handling of options.
	* lib/Locale/Po4a/Xhtml.pm: Added support for <pre>.

2008-10-24  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Text.pm, t/data-30/Paragraphs.po: Added support
	for [icons=...] and [icon=...].
	* t/data-30/Paragraphs.po, t/data-30/Paragraphs.out,
	t/data-30/Paragraphs.asciidoc: Added test for [icon="..."].
	* t/data-30/Paragraphs.po, t/data-30/Paragraphs.out,
	t/data-30/Paragraphs.asciidoc: The bibliography support might not
	be good. The asccidoc example does not work with the HTML
	generation. Keep the asciidoc paragraph in the PO file.
	* lib/Locale/Po4a/Text.pm, t/data-30/Lists.po: Added support for
	list items followed by a backslash (item text on teh same line as
	label).

2008-10-13  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Text.pm, t/data-30/Lists.po: Added support for
	List Item Continuation and List Block.
	* lib/Locale/Po4a/Text.pm, t/data-30/Lists.po: Added support for
	Horizontal Labeled Lists.
	* lib/Locale/Po4a/Text.pm, t/data-30/Paragraphs.po: Added support
	for Admonition Paragraphs.

2008-10-12  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Text.pm: Check for verbatim == 2 before the
	paragraph separators. This fixes the Comment Blocks support.
	* lib/Locale/Po4a/Text.pm: Comment Blocks are delimitted by /, not \.
	* lib/Locale/Po4a/Text.pm: Add support for the space between the
	title mark and the actual title in the "One line titles".
	* lib/Locale/Po4a/Text.pm: Fix the support for the trailing title
	mark in the "One line titles".
	* lib/Locale/Po4a/Text.pm: Add support for embedded delimiters.
	* lib/Locale/Po4a/Text.pm: Add support for verse, quote and
	Admonition Paragraphs.
	* lib/Locale/Po4a/Text.pm: Add support for Question and Answer
	Lists, and Glossary Lists.
	* lib/Locale/Po4a/Text.pm: Fix the support of the '..' lists (they
	were detected as block titles).
	* lib/Locale/Po4a/Text.pm: Fix typo (missing semi-colon).

2008-10-12  Nicolas François  <nicolas.francois@centraliens.net>

	* t/30-text.t, t/data-30/Attributes.asciidoc,
	t/data-30/Attributes.out, t/data-30/Attributes.po,
	t/data-30/BlockId.asciidoc, t/data-30/BlockId.out,
	t/data-30/BlockId.po, t/data-30/BlockTitles.asciidoc,
	t/data-30/BlockTitles.out, t/data-30/BlockTitles.po,
	t/data-30/Callouts.asciidoc, t/data-30/Callouts.out,
	t/data-30/Callouts.po, t/data-30/DelimitedBlocks.asciidoc,
	t/data-30/DelimitedBlocks.out, t/data-30/DelimitedBlocks.po,
	t/data-30/Footnotes.asciidoc, t/data-30/Footnotes.out,
	t/data-30/Footnotes.po, t/data-30/Lists.asciidoc,
	t/data-30/Lists.out, t/data-30/Lists.po,
	t/data-30/Paragraphs.asciidoc, t/data-30/Paragraphs.out,
	t/data-30/Paragraphs.po, t/data-30/Tables.asciidoc,
	t/data-30/Tables.out, t/data-30/Tables.po,
	t/data-30/Titles.asciidoc, t/data-30/Titles.out,
	t/data-30/Titles.po: Added testsuite for the Text module (only
	asciidoc tested. (Some tests currently fail)

2008-10-11  Nicolas François  <nicolas.francois@centraliens.net>

	* NEWS, lib/Locale/Po4a/Text.pm: Added option asciidoc.

2008-10-04  Nicolas François  <nicolas.francois@centraliens.net>

	* po4a-normalize: Added option -b, --blank to check which parts of
	a document are not translated.

2008-10-04  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Xhtml.pm: Add <u> to the list of inline tags.

2008-10-04  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Xml.pm: Fix typos and formating in the man page.
	Thanks to Javier Fernández-Sanguino Peña and Jens Seidel.

2008-10-04  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Docbook.pm: Remove <glossterm> from the inline
	tags. glossterm must be translated.

2008-10-04  Nicolas François  <nicolas.francois@centraliens.net>

	* lib/Locale/Po4a/Docbook.pm: <acronym> moved to _default_inline.

2008-09-25  Noritada Kobayashi <nori1@dolphin.c.u-tokyo.ac.jp>

	* po/pod/ja.po: Fix a typo.

2008-08-22  Nicolas François  <nicolas.francois@centraliens.net>

	* NEWS, lib/Locale/Po4a/Xml.pm: Fix the handling of the nodefault
	option (it canceled the behavior defined on the command line).
	Added _default_tags and _default_inline categories (to be used
	only by derivative modules).
	* lib/Locale/Po4a/Xhtml.pm, lib/Locale/Po4a/Guide.pm,
	lib/Locale/Po4a/Docbook.pm, lib/Locale/Po4a/Dia.pm: Fix the Xml
	module derivatives accordingly.

2008-08-22  Nicolas François  <nicolas.francois@centraliens.net>

	* NEWS, lib/Locale/Po4a/Docbook.pm: Move the <option> tag to the
	inline section.
Powered By FusionForge