[Po4a-commits] po4a/lib/Locale/Po4a Chooser.pm,1.18,1.19 Dia.pm,1.9,1.10 Docbook.pm,1.2,1.3 Guide.pm,1.4,1.5 Html.pm,1.9,1.10 KernelHelp.pm,1.8,1.9 Man.pm,1.71,1.72 Po.pm,1.31,1.32 Pod.pm,1.13,1.14 Sgml.pm,1.42,1.43 TransTractor.pm,1.52,1.53 Xml.pm,1.20,1.21

Nicolas FRAN??OIS po4a-devel@lists.alioth.debian.org
Fri, 07 Jan 2005 22:50:54 +0000


Update of /cvsroot/po4a/po4a/lib/Locale/Po4a
In directory haydn:/tmp/cvs-serv8817/lib/Locale/Po4a

Modified Files:
	Chooser.pm Dia.pm Docbook.pm Guide.pm Html.pm KernelHelp.pm 
	Man.pm Po.pm Pod.pm Sgml.pm TransTractor.pm Xml.pm 
Log Message:
Fix some typos.


Index: Dia.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Dia.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Dia.pm	27 Aug 2004 10:31:53 -0000	1.9
+++ Dia.pm	7 Jan 2005 22:50:52 -0000	1.10
@@ -70,7 +70,7 @@
 Copyright (c) 2004 by Jordi Vilalta  <jvprat@wanadoo.es>
 
 This program is free software; you may redistribute it and/or modify it
-under the terms of GPL (see COPYING file).
+under the terms of GPL (see the COPYING file).
 
 =cut
 

Index: Html.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Html.pm,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- Html.pm	28 Nov 2004 22:38:56 -0000	1.9
+++ Html.pm	7 Jan 2005 22:50:52 -0000	1.10
@@ -210,4 +210,4 @@
 Laurent Hausermann <laurent@hausermann.org>
 
 This program is free software; you may redistribute it and/or modify it
-under the terms of GPL (see COPYING file).
+under the terms of GPL (see the COPYING file).

Index: Pod.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Pod.pm,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Pod.pm	27 Aug 2004 18:18:34 -0000	1.13
+++ Pod.pm	7 Jan 2005 22:50:52 -0000	1.14
@@ -4,7 +4,7 @@
 # Copyright 2002 by Martin Quinson <Martin.Quinson@ens-lyon.fr>
 #
 # This program is free software; you may redistribute it and/or modify it
-# under the terms of GPL (see COPYING).
+# under the terms of GPL (see COPYING file).
 #
 # This module converts POD to PO file, so that it becomes possible to 
 # translate POD formated documentation. See gettext documentation for
@@ -171,10 +171,10 @@
 
  "" #n""
  
-which is logic since C<blabla> is rewritten "blabla"
+which is logic since C<foobar> is rewritten "foobar"
 
 Complete list of pages having this problem on my box (from 564 pages ; note
-that it depend on the choosen wrapping colon):
+that it depends on the chosen wrapping column):
 /usr/lib/perl5/Tk/MainWindow.pod
 /usr/share/perl/5.8.0/overload.pod
 /usr/share/perl/5.8.0/pod/perlapi.pod
@@ -264,6 +264,6 @@
 Copyright 2002 by SPI, inc.
 
 This program is free software; you may redistribute it and/or modify it
-under the terms of GPL (see COPYING file).
+under the terms of GPL (see the COPYING file).
 
 =cut

Index: Po.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Po.pm,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -d -r1.31 -r1.32
--- Po.pm	5 Dec 2004 19:24:29 -0000	1.31
+++ Po.pm	7 Jan 2005 22:50:52 -0000	1.32
@@ -145,7 +145,7 @@
 sub read{
     my $self=shift;
     my $filename=shift 
-	|| croak ("po4a::po: ".dgettext("po4a","Please provide a non-nul filename")."\n");
+	|| croak ("po4a::po: ".dgettext("po4a","Please provide a non-null filename")."\n");
 
     my $fh;
     if ($filename eq '-') {
@@ -610,7 +610,7 @@
 The function returns the original (untranslated) string if the string was not
 found.
 
-After the string to translate, you can pass an hash of extra
+After the string to translate, you can pass a hash of extra
 arguments. Here are the valid entries:
 
 =over
@@ -673,9 +673,9 @@
 
 =item stats_get()
 
-Returns stats about the hit ratio of gettext since the last time that
+Returns statistics about the hit ratio of gettext since the last time that
 stats_clear() was called. Please note that it's not the same
-statistics than the one printed by msgfmt --statistic. Here, it's stats
+statistics than the one printed by msgfmt --statistic. Here, it's statistics
 about recent usage of the po file, while msgfmt reports the status of the
 file.  Example of use:
 
@@ -699,7 +699,7 @@
 
 =item stats_clear()
 
-Clears the stats about gettext hits.
+Clears the statistics about gettext hits.
 
 =cut
 
@@ -718,7 +718,7 @@
 =item push(%)
 
 Push a new entry at the end of the current catalog. The arguments should
-form an hash table. The valid keys are :
+form a hash table. The valid keys are:
 
 =over 4
 
@@ -733,8 +733,8 @@
 =item reference
 
 an indication of where this string was found. Example: file.c:46 (meaning
-in 'file.c' at line 46). It can be a space separated list in case of
-multiple occurences.
+in 'file.c' at line 46). It can be a space-separated list in case of
+multiple occurrences.
 
 =item comment
 
@@ -931,7 +931,7 @@
 
 =item get_charset()
 
-This returns the character set specified in the po header. If it hasn't been
+Returns the character set specified in the po header. If it hasn't been
 set, it will return "CHARSET".
 
 =cut

Index: Docbook.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Docbook.pm,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- Docbook.pm	27 Aug 2004 21:12:29 -0000	1.2
+++ Docbook.pm	7 Jan 2005 22:50:52 -0000	1.3
@@ -38,7 +38,7 @@
 Locale::Po4a::Docbook is a module to help the translation of DocBook XML 
 documents into other [human] languages.
 
-Please note that this module is still under heavy developement, and not 
+Please note that this module is still under heavy development, and not 
 distributed in official po4a release since we don't feel it to be mature 
 enough. If you insist on trying, check the CVS out.
 
@@ -65,7 +65,7 @@
 Copyright (c) 2004 by Jordi Vilalta  <jvprat@wanadoo.es>
 
 This program is free software; you may redistribute it and/or modify it
-under the terms of GPL (see COPYING file).
+under the terms of GPL (see the COPYING file).
 
 =cut
 

Index: Man.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Man.pm,v
retrieving revision 1.71
retrieving revision 1.72
diff -u -d -r1.71 -r1.72
--- Man.pm	28 Nov 2004 14:16:05 -0000	1.71
+++ Man.pm	7 Jan 2005 22:50:52 -0000	1.72
@@ -36,8 +36,8 @@
 
 =head2 Font specification
 
-The first change is about font change specifications.  In nroff, there is
-several way to specify if a given word should be written in small, bold or
+The first change is about font change specifications.  In nroff, there are
+several ways to specify if a given word should be written in small, bold or
 italics. In the text to translate, there is only one way, borrowed from the
 pod (perl online documentation) format:
 
@@ -62,7 +62,7 @@
 =back
 
 Remark: The CW face is not available for all groff devices. It is not
-recommanded to use it. It is provided for your convenience.
+recommended to use it. It is provided for your convenience.
 
 =head2 Putting 'E<lt>' and 'E<gt>' in translations
 
@@ -77,8 +77,8 @@
 interpreter, to allow authors to use all the existing macros, or even to
 define new ones in their pages, but we didn't want to. It would be too
 difficult, and we thought it wasn't necessary. We do think that if
-manpage authors want to see their production translated, they may have to
-adapt to ease the work of translators. 
+manpages' authors want to see their productions translated, they may have to
+adapt to ease the work of translators.
 
 So, the man parser implemented in po4a have some known limitations we are
 not really inclined to correct, and which will constitute some pitfalls
@@ -91,9 +91,9 @@
 supported at all by po4a, and won't be. It would need a completely separate
 parser for this, and I'm not inclined to do so. On my machine, there are
 only 63 pages based on mdoc, from 4323 pages. If someone implements the mdoc
-support, I'll happilly include this, though.
+support, I'll happily include this, though.
 
-=head2 Don't programm in nroff
+=head2 Don't program in nroff
 
 nroff is a complete programming language, with macro definition,
 conditionals and so on. Since this parser isn't a fully featured nroff
@@ -114,7 +114,7 @@
 list of unsupported macros used on my box. Note that this list isn't
 exhaustive since the program fails on the first encountered unsupported
 macro. If you have any information about some of these macros, I'll
-happilly add support for them. Because of these macros, about 250 pages on
+happily add support for them. Because of these macros, about 250 pages on
 my box are inaccessible to po4a::man.
 
  ..               ."              .AT             .b              .bank
@@ -196,7 +196,7 @@
 chars are italics, which ones are bold, etc.).
 
 So, it seems like since ignored pages are translatable with po4a::pod and
-since wrapping changes are acceptables in most cases, the current version
+since wrapping changes are acceptable in most cases, the current version
 of po4a can translate 80% of the man pages on my machine. Moreover, most of
 the untranslatable pages could be fixed with some simple tricks given
 above. Isn't that coooool?
@@ -217,7 +217,7 @@
 Copyright 2002, 2003, 2004 by SPI, inc.
 
 This program is free software; you may redistribute it and/or modify it
-under the terms of GPL (see COPYING file).
+under the terms of GPL (see the COPYING file).
 
 =cut
 

Index: Chooser.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Chooser.pm,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- Chooser.pm	17 Aug 2004 23:40:05 -0000	1.18
+++ Chooser.pm	7 Jan 2005 22:50:52 -0000	1.19
@@ -72,7 +72,7 @@
 
 Locale::Po4a::Chooser is a module to manage po4a modules. Before, all po4a
 binaries used to know all po4a modules (pod, man, sgml, etc). This made the
-add of a new module a boring, to make sure the documentation is syncronized
+add of a new module boring, to make sure the documentation is synchronized
 in all modules, and that each of them can access the new module.
 
 Now, you just have to call the Locale::Po4a::Chooser::new() function,
@@ -112,6 +112,6 @@
 Copyright 2002 by SPI, inc.
 
 This program is free software; you may redistribute it and/or modify it
-under the terms of GPL (see COPYING file).
+under the terms of GPL (see the COPYING file).
 
 =cut

Index: TransTractor.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/TransTractor.pm,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- TransTractor.pm	28 Nov 2004 21:30:43 -0000	1.52
+++ TransTractor.pm	7 Jan 2005 22:50:52 -0000	1.53
@@ -112,9 +112,9 @@
 
 =head1 SYNOPSIS
 
-The following example parses a list of paragraphs begining with "<p>". For sake
+The following example parses a list of paragraphs beginning with "<p>". For sake
 of simplicity, we assume that the document is well formatted, ie that '<p>'
-tags are the only tags present, and that this tag is at the very begining
+tags are the only tags present, and that this tag is at the very beginning
 of each paragraph.
 
  sub parse {
@@ -488,11 +488,11 @@
 
 =item addendum($)
 
-Please refer to L<po4a(7)|po4a.7> for more information on what addendum are,
+Please refer to L<po4a(7)|po4a.7> for more information on what addendums are,
 and how translators should write them. To apply an addendum to the translated
 document, simply pass its filename to this function and you are done ;)
 
-This function returns a non-nul integer on error.
+This function returns a non-null integer on error.
 
 =cut
 
@@ -756,8 +756,8 @@
 
 =item wrap
 
-boolean indicating wheather we can consider that whitespaces in string are
-not important. If yes, the function canonize the string before looking for
+boolean indicating whether we can consider that whitespaces in string are
+not important. If yes, the function canonizes the string before looking for
 a translation or extracting it, and wraps the translation.
 
 =item wrapcol

Index: Sgml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Sgml.pm,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- Sgml.pm	15 Nov 2004 08:43:50 -0000	1.42
+++ Sgml.pm	7 Jan 2005 22:50:52 -0000	1.43
@@ -105,12 +105,12 @@
 =item * 
 
 the error output of nsgmls is redirected to /dev/null, which is clearly
-bad. I dunno how to avoid that.
+bad. I don't know how to avoid that.
 
-The problem is that I have to "protect" the conditionnal inclusion (ie, the
-C<E<lt>! [ %blah [> and C<]]E<gt>> stuff) from nsgml, because in the other
-case, nsgmls eat them, and I dunno how to restore them in the final
-document. To prevent that, I rewrite them to C<{PO4A-beg-blah}> and
+The problem is that I have to "protect" the conditional inclusions (ie, the
+C<E<lt>! [ %foo [> and C<]]E<gt>> stuff) from nsgmls. Otherwise
+nsgmls eats them, and I don't know how to restore them in the final
+document. To prevent that, I rewrite them to C<{PO4A-beg-foo}> and
 C<{PO4A-end}>. 
 
 The problem with this is that the C<{PO4A-end}> and such I add are valid in
@@ -122,7 +122,7 @@
 =item *
 
 It does work only with the debiandoc and docbook dtd. Adding support for a
-new dtd should be very easy. The mecanism is the same for all dtd, you just
+new dtd should be very easy. The mechanism is the same for all dtd, you just
 have to give a list of the existing tags and some of their characteristics.
 
 I agree, this needs some more documentation, but it is still considered as
@@ -148,7 +148,7 @@
 lines like C<#: en/titletoc.sgml:9460>) will be wrong. 
 
 This is because I preprocess the file to protect the conditional inclusion
-(ie, the C<E<lt>! [ %blah [> and C<]]E<gt>> stuff) and some entities (like
+(ie, the C<E<lt>! [ %foo [> and C<]]E<gt>> stuff) and some entities (like
 &version;) from nsgmls because I want them verbatim to the generated
 document. For that, I make a temp copy of the input file and do all the
 changes I want to this before passing it to nsgmls for parsing.
@@ -895,4 +895,4 @@
  Copyright 2002 by SPI, inc.
 
 This program is free software; you may redistribute it and/or modify it
-under the terms of GPL (see COPYING file).
+under the terms of GPL (see the COPYING file).

Index: Xml.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Xml.pm,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -d -r1.20 -r1.21
--- Xml.pm	27 Aug 2004 10:16:59 -0000	1.20
+++ Xml.pm	7 Jan 2005 22:50:52 -0000	1.21
@@ -40,7 +40,7 @@
 other [human] languages. It can also be used as a base to build modules for
 XML-based documents.
 
-Please note that this module is still under heavy developement, and not
+Please note that this module is still under heavy development, and not
 distributed in official po4a release since we don't feel it to be mature
 enough. If you insist on trying, check the CVS out.
 
@@ -121,7 +121,7 @@
 =item wrap
 
 Canonizes the string to translate, considering that whitespaces are not
-important, and wraps the translated document. This option can be overriden
+important, and wraps the translated document. This option can be overridden
 by custom tag options. See the "tags" option below.
 
 =item caseinsensitive
@@ -194,11 +194,11 @@
 		}
 	}
 
-	#It will mantain the list of the translatable tags
+	#It will maintain the list of the translatable tags
 	$self->{tags}=();
-	#It will mantain the list of the translatable attributes
+	#It will maintain the list of the translatable attributes
 	$self->{attributes}=();
-	#It will mantain the list of the inline tags
+	#It will maintain the list of the inline tags
 	$self->{inline}=();
 
 	$self->treat_options;
@@ -590,9 +590,9 @@
 =item extract_tag($$)
 
 This function returns the next tag from the input stream without the beginning
-and end, in an array form, to mantain the references from the input file.  It
+and end, in an array form, to maintain the references from the input file.  It
 has two parameters: the type of the tag (as returned by tag_type) and a
-boolean, that says if it should be removed from the input stream.
+boolean, that indicates if it should be removed from the input stream.
 
 =cut
 
@@ -730,7 +730,7 @@
 
 =item treat_attributes(@)
 
-This function handles the tags attributes' translation. It receives the tag
+This function handles the translation of the tags' attributes. It receives the tag
 without the beginning / end marks, and then it finds the attributes, and it
 translates the translatable ones (specified by the module option "attributes").
 This returns a plain string with the translated tag.
@@ -1116,7 +1116,7 @@
 Copyright (c) 2004 by Jordi Vilalta  E<lt>jvprat@wanadoo.esE<gt>
 
 This program is free software; you may redistribute it and/or modify it
-under the terms of GPL (see COPYING file).
+under the terms of GPL (see the COPYING file).
 
 =cut
 

Index: KernelHelp.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/KernelHelp.pm,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- KernelHelp.pm	27 Aug 2004 18:18:34 -0000	1.8
+++ KernelHelp.pm	7 Jan 2005 22:50:52 -0000	1.9
@@ -143,7 +143,7 @@
 =head1 DESCRIPTION
 
 Locale::Po4a::KernelHelp is a module to help the translation of
-documentation for the linux kernel configuration options into other [human]
+documentation for the Linux kernel configuration options into other [human]
 languages.
 
 =head1 STATUS OF THIS MODULE
@@ -169,6 +169,6 @@
 Copyright 2002 by SPI, inc.
 
 This program is free software; you may redistribute it and/or modify it
-under the terms of GPL (see COPYING file).
+under the terms of GPL (see the COPYING file).
 
 =cut

Index: Guide.pm
===================================================================
RCS file: /cvsroot/po4a/po4a/lib/Locale/Po4a/Guide.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- Guide.pm	27 Aug 2004 10:31:53 -0000	1.4
+++ Guide.pm	7 Jan 2005 22:50:52 -0000	1.5
@@ -62,7 +62,7 @@
 Copyright (c) 2004 by Jordi Vilalta  <jvprat@wanadoo.es>
 
 This program is free software; you may redistribute it and/or modify it
-under the terms of GPL (see COPYING file).
+under the terms of GPL (see the COPYING file).
 
 =cut