[Po4a-devel] Re: po4a module for INI files

Nicolas François nicolas.francois at centraliens.net
Mon Aug 21 18:25:07 UTC 2006


Hello,

On Mon, Aug 21, 2006 at 05:58:57PM +0300, Costin Stroie wrote:
> 
> I don't know how to submit you patches, so I have chosen to send you an 
> email.

It works. You can also send them to the po4a-devel mailing list (CCed), so
that somebody else can commit/review it.

> Here is a module for po4a for translating INI files. It lacks a bit 
> of documentation.

Committed. Thanks!

> The module extracts the quoted values, so it will ignore key3. The reason
> is to quickly skip filenames or some untranslatable data found in the ini
> file, but it far from a consistent method. Maybe a parameter will be
> better.

I will add the parameter if an user wants it.

> Anyway, it works for me and I like to offer it to the open source 
> community, but you might need to have a look on it before including it 
> in the package.

It's scheduled for the next release. I don't know when since we just made
a release. If you have any requirement for that, just say so.

Regarding the module:
  * I will commit the attached patch (I don't think Pod::Parser is used).
  * Is it possible to have multilines strings in .INI files?

Kind Regards,
-- 
Nekral
-------------- next part --------------
Index: lib/Locale/Po4a/Ini.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Ini.pm,v
retrieving revision 1.1
diff -u -r1.1 Ini.pm
--- lib/Locale/Po4a/Ini.pm	21 Aug 2006 18:08:43 -0000	1.1
+++ lib/Locale/Po4a/Ini.pm	21 Aug 2006 18:22:56 -0000
@@ -9,7 +9,6 @@
 # Modules and declarations
 ############################################################################
 
-use Pod::Parser;
 use Locale::Po4a::TransTractor qw(process new);
 use Locale::Po4a::Common;
 
@@ -102,8 +101,7 @@
 
 =head1 SEE ALSO
 
-L<Pod::Parser>, L<po4a(7)|po4a.7>, L<Locale::Po4a::TransTractor(3pm)>,
-L<Locale::Po4a::Man(3pm)>,
+L<po4a(7)|po4a.7>, L<Locale::Po4a::TransTractor(3pm)>.
 
 =head1 AUTHORS
 


More information about the Po4a-devel mailing list