[libtext-vcard-perl] 11/12: Add a patch to fix some spelling mistakes in the POD.
gregor herrmann
gregoa at debian.org
Sun Oct 27 21:54:21 UTC 2013
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libtext-vcard-perl.
commit 5de32471eaba0f942d3eada4e0636dc233bdfd5c
Author: gregor herrmann <gregoa at debian.org>
Date: Sun Oct 27 22:49:58 2013 +0100
Add a patch to fix some spelling mistakes in the POD.
---
debian/patches/series | 1 +
debian/patches/spelling.patch | 65 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5299247
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling.patch
diff --git a/debian/patches/spelling.patch b/debian/patches/spelling.patch
new file mode 100644
index 0000000..9e333fd
--- /dev/null
+++ b/debian/patches/spelling.patch
@@ -0,0 +1,65 @@
+Description: fix some spelling mistakes
+Origin: vendor
+Bug: https://rt.cpan.org/Ticket/Display.html?id=89799
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=89799
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2013-10-27
+
+--- a/lib/Text/vCard.pm
++++ b/lib/Text/vCard.pm
+@@ -195,7 +195,7 @@
+ }
+ );
+
+- # get all phone number that matches serveral types
++ # get all phone number that matches several types
+ my @types = qw(work home);
+ my $nodes = $vcard->get(
+ { 'node_type' => 'tel',
+@@ -210,7 +210,7 @@
+
+ Supplied with a scalar or an array ref the methods
+ return a list of nodes of a type, where relevant. If any
+-of the elements is the prefered element it will be
++of the elements is the preferred element it will be
+ returned as the first element of the list.
+
+ =cut
+@@ -236,7 +236,7 @@
+ If multiple elements match, then only the first is returned. If the object
+ isn't found, or doesn't have a simple value, then undef is returned.
+
+-The argument type may be ommitted, it can be a scalar, or it can be an
++The argument type may be omitted, it can be a scalar, or it can be an
+ array reference if multiple types are selected.
+
+ =cut
+@@ -343,7 +343,7 @@
+ }
+
+ This method takes one or two arguments. The group name
+-(accessable on any node object by using $node->group() - not
++(accessible on any node object by using $node->group() - not
+ all nodes will have a group, indeed most vcards do not seem
+ to use it) and optionally the types of node you with to
+ have returned.
+@@ -480,7 +480,7 @@
+
+ return undef unless scalar(@to_return);
+
+- # Make prefered value first
++ # Make preferred value first
+ @to_return = sort { _sort_prefs($b) <=> _sort_prefs($a) } @to_return;
+
+ return wantarray ? @to_return : \@to_return;
+--- a/lib/Text/vCard/Node.pm
++++ b/lib/Text/vCard/Node.pm
+@@ -259,7 +259,7 @@
+ }
+
+ This method is the same as is_type (which can take a value of 'pref')
+-but it specific to if it is the prefered node. This method is used
++but it specific to if it is the preferred node. This method is used
+ to sort when returning lists of nodes.
+
+ =cut
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libtext-vcard-perl.git
More information about the Pkg-perl-cvs-commits
mailing list