[prev in list] [next in list] [prev in thread] [next in thread] 

List:       bricolage-commits
Subject:    [8380] Tidying up grammar,typos and spacing
From:       paulo () bricolage ! cc
Date:       2008-11-20 9:18:28
Message-ID: 20081120091829.8F282CB9AF () x12 ! develooper ! com
[Download RAW message or body]

Revision: 8380
Author:   paulo
Date:     2008-11-20 01:18:26 -0800 (Thu, 20 Nov 2008)
ViewCVS:  http://viewsvn.bricolage.cc/?rev=8380&view=rev

Log Message:
-----------
Tidying up grammar,typos and spacing

Modified Paths:
--------------
    bricolage/trunk/lib/Bric/Biz/Contact.pm
    bricolage/trunk/lib/Bric/Biz/ElementType/Subelement.pm
    bricolage/trunk/lib/Bric/Changes.pod
    bricolage/trunk/lib/Bric/SOAP/Util.pm

Modified: bricolage/trunk/lib/Bric/Biz/Contact.pm
===================================================================
--- bricolage/trunk/lib/Bric/Biz/Contact.pm	2008-11-19 16:31:10 UTC (rev 8379)
+++ bricolage/trunk/lib/Bric/Biz/Contact.pm	2008-11-20 09:18:26 UTC (rev 8380)
@@ -1041,7 +1041,7 @@
 =item my $description = $c->get_description
 
 Returns the description of the Bric::Biz::Contact object. If the contact has not
-been looked up from the database or if it's type has changed, description
+been looked up from the database or if its type has changed, description
 will be C<undef>.
 
 B<Throws:>

Modified: bricolage/trunk/lib/Bric/Biz/ElementType/Subelement.pm
===================================================================
--- bricolage/trunk/lib/Bric/Biz/ElementType/Subelement.pm	2008-11-19 16:31:10 UTC (rev 8379)
+++ bricolage/trunk/lib/Bric/Biz/ElementType/Subelement.pm	2008-11-20 09:18:26 UTC (rev 8380)
@@ -6,7 +6,7 @@
 =head1 NAME
 
 Bric::Biz::ElementType::Subelement - Maps a subelement ElementType
-to it's parent's Element Types with occurrence relations and place.
+to its parent's Element Types with occurrence relations and place.
 
 =cut
 

Modified: bricolage/trunk/lib/Bric/Changes.pod
===================================================================
--- bricolage/trunk/lib/Bric/Changes.pod	2008-11-19 16:31:10 UTC (rev 8379)
+++ bricolage/trunk/lib/Bric/Changes.pod	2008-11-20 09:18:26 UTC (rev 8380)
@@ -21,7 +21,7 @@
 =item *
 
 Added the C<is_republish> and C<is_first_publish> methods to
-Bric::Util::Burner. [David]
+L<Bric::Util::Burner>. [David]
 
 =item *
 
@@ -65,18 +65,18 @@
 
 =item *
 
-Fixed Bric.pm to load Bric::Config before anything else, which was causing
+Fixed L<Bric> to load L<Bric::Config> before anything else, which was causing
 problems on some systems. [Paul Orrock]
 
 =item *
 
-Fixed problem with Bric::SOAP so that the first field or container is correctly
-numbered at 0 rather than 2. [Paul Orrock]
+Fixed problem with L<Bric::SOAP> so that the first field or container is 
+correctly numbered at 0 rather than 2. [Paul Orrock]
 
 =item *
 
-Fix for bug 1394 && 1397, where a story imported through bric_soap didn't have
-it's object_order set properly so wouldn't preview through templates until
+Fix for bug 1394 && 1397, where a story imported through L<Bric::SOAP> didn't
+have its object_order set properly so wouldn't preview through templates until
 saved in the UI. [Paul Orrock]
 
 =back

Modified: bricolage/trunk/lib/Bric/SOAP/Util.pm
===================================================================
--- bricolage/trunk/lib/Bric/SOAP/Util.pm	2008-11-19 16:31:10 UTC (rev 8379)
+++ bricolage/trunk/lib/Bric/SOAP/Util.pm	2008-11-20 09:18:26 UTC (rev 8380)
@@ -285,10 +285,10 @@
     my $elems = $element->get_elements;
 
     if (@$elems) {
-		
+
         # Surely this should always start at 0, changing the order you get out
-		# of the database can only be a bad idea.
-		my $diff = 0;
+        # of the database can only be a bad idea.
+        my $diff = 0;
 
         # first serialize all data elements
         foreach my $e (@$elems) {
@@ -575,7 +575,7 @@
         };
     }
 
-    # Deal with realted story.
+    # Deal with related story.
     if ($cdata->{related_story_id}) {
         push(@relations, {
             container => $container,


[Attachment #3 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style \
type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding: \
6px; color: #fff; } #msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: \
verdana,arial,helvetica,sans-serif; font-size: 10pt;  } #msg dl a { font-weight: \
bold} #msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: \
bold; } #msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: \
6px; } #msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: \
6px; } #patch { width: 100%; }
#patch h4 {font-family: \
verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
 #patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, \
#patch .copfile {border:1px solid #ccc;margin:10px 0;} #patch ins \
{background:#dfd;text-decoration:none;display:block;padding:0 10px;} #patch del \
{background:#fdd;text-decoration:none;display:block;padding:0 10px;} #patch .lines, \
                .info {color:#888;background:#fff;}
--></style>
<title>[8380] Tidying up grammar,typos and spacing</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd><a \
href="http://viewsvn.bricolage.cc/?rev=8380&amp;view=rev">8380</a></dd> \
<dt>Author</dt> <dd>paulo</dd> <dt>Date</dt> <dd>2008-11-20 01:18:26 -0800 (Thu, 20 \
Nov 2008)</dd> </dl>

<h3>Log Message</h3>
<pre>Tidying up grammar,typos and spacing</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#bricolagetrunklibBricBizContactpm">bricolage/trunk/lib/Bric/Biz/Contact.pm</a></li>
 <li><a href="#bricolagetrunklibBricBizElementTypeSubelementpm">bricolage/trunk/lib/Bric/Biz/ElementType/Subelement.pm</a></li>
 <li><a href="#bricolagetrunklibBricChangespod">bricolage/trunk/lib/Bric/Changes.pod</a></li>
 <li><a href="#bricolagetrunklibBricSOAPUtilpm">bricolage/trunk/lib/Bric/SOAP/Util.pm</a></li>
 </ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="bricolagetrunklibBricBizContactpm"></a>
<div class="modfile"><h4>Modified: bricolage/trunk/lib/Bric/Biz/Contact.pm (8379 => \
8380)</h4> <pre class="diff"><span>
<span class="info">--- bricolage/trunk/lib/Bric/Biz/Contact.pm	2008-11-19 16:31:10 \
                UTC (rev 8379)
+++ bricolage/trunk/lib/Bric/Biz/Contact.pm	2008-11-20 09:18:26 UTC (rev 8380)
</span><span class="lines">@@ -1041,7 +1041,7 @@
</span><span class="cx"> =item my $description = $c-&gt;get_description
</span><span class="cx"> 
</span><span class="cx"> Returns the description of the Bric::Biz::Contact object. If \
the contact has not </span><del>-been looked up from the database or if it's type has \
changed, description </del><ins>+been looked up from the database or if its type has \
changed, description </ins><span class="cx"> will be C&lt;undef&gt;.
</span><span class="cx"> 
</span><span class="cx"> B&lt;Throws:&gt;
</span></span></pre></div>
<a id="bricolagetrunklibBricBizElementTypeSubelementpm"></a>
<div class="modfile"><h4>Modified: \
bricolage/trunk/lib/Bric/Biz/ElementType/Subelement.pm (8379 => 8380)</h4> <pre \
class="diff"><span> <span class="info">--- \
bricolage/trunk/lib/Bric/Biz/ElementType/Subelement.pm	2008-11-19 16:31:10 UTC (rev \
                8379)
+++ bricolage/trunk/lib/Bric/Biz/ElementType/Subelement.pm	2008-11-20 09:18:26 UTC \
(rev 8380) </span><span class="lines">@@ -6,7 +6,7 @@
</span><span class="cx"> =head1 NAME
</span><span class="cx"> 
</span><span class="cx"> Bric::Biz::ElementType::Subelement - Maps a subelement \
ElementType </span><del>-to it's parent's Element Types with occurrence relations and \
place. </del><ins>+to its parent's Element Types with occurrence relations and place.
</ins><span class="cx"> 
</span><span class="cx"> =cut
</span><span class="cx"> 
</span></span></pre></div>
<a id="bricolagetrunklibBricChangespod"></a>
<div class="modfile"><h4>Modified: bricolage/trunk/lib/Bric/Changes.pod (8379 => \
8380)</h4> <pre class="diff"><span>
<span class="info">--- bricolage/trunk/lib/Bric/Changes.pod	2008-11-19 16:31:10 UTC \
                (rev 8379)
+++ bricolage/trunk/lib/Bric/Changes.pod	2008-11-20 09:18:26 UTC (rev 8380)
</span><span class="lines">@@ -21,7 +21,7 @@
</span><span class="cx"> =item *
</span><span class="cx"> 
</span><span class="cx"> Added the C&lt;is_republish&gt; and \
C&lt;is_first_publish&gt; methods to </span><del>-Bric::Util::Burner. [David]
</del><ins>+L&lt;Bric::Util::Burner&gt;. [David]
</ins><span class="cx"> 
</span><span class="cx"> =item *
</span><span class="cx"> 
</span><span class="lines">@@ -65,18 +65,18 @@
</span><span class="cx"> 
</span><span class="cx"> =item *
</span><span class="cx"> 
</span><del>-Fixed Bric.pm to load Bric::Config before anything else, which was \
causing </del><ins>+Fixed L&lt;Bric&gt; to load L&lt;Bric::Config&gt; before anything \
else, which was causing </ins><span class="cx"> problems on some systems. [Paul \
Orrock] </span><span class="cx"> 
</span><span class="cx"> =item *
</span><span class="cx"> 
</span><del>-Fixed problem with Bric::SOAP so that the first field or container is \
                correctly
-numbered at 0 rather than 2. [Paul Orrock]
</del><ins>+Fixed problem with L&lt;Bric::SOAP&gt; so that the first field or \
container is  +correctly numbered at 0 rather than 2. [Paul Orrock]
</ins><span class="cx"> 
</span><span class="cx"> =item *
</span><span class="cx"> 
</span><del>-Fix for bug 1394 &amp;&amp; 1397, where a story imported through \
                bric_soap didn't have
-it's object_order set properly so wouldn't preview through templates until
</del><ins>+Fix for bug 1394 &amp;&amp; 1397, where a story imported through \
L&lt;Bric::SOAP&gt; didn't +have its object_order set properly so wouldn't preview \
through templates until </ins><span class="cx"> saved in the UI. [Paul Orrock]
</span><span class="cx"> 
</span><span class="cx"> =back
</span></span></pre></div>
<a id="bricolagetrunklibBricSOAPUtilpm"></a>
<div class="modfile"><h4>Modified: bricolage/trunk/lib/Bric/SOAP/Util.pm (8379 => \
8380)</h4> <pre class="diff"><span>
<span class="info">--- bricolage/trunk/lib/Bric/SOAP/Util.pm	2008-11-19 16:31:10 UTC \
                (rev 8379)
+++ bricolage/trunk/lib/Bric/SOAP/Util.pm	2008-11-20 09:18:26 UTC (rev 8380)
</span><span class="lines">@@ -285,10 +285,10 @@
</span><span class="cx">     my $elems = $element-&gt;get_elements;
</span><span class="cx"> 
</span><span class="cx">     if (@$elems) {
</span><del>-		
</del><ins>+
</ins><span class="cx">         # Surely this should always start at 0, changing the \
order you get out </span><del>-		# of the database can only be a bad idea.
-		my $diff = 0;
</del><ins>+        # of the database can only be a bad idea.
+        my $diff = 0;
</ins><span class="cx"> 
</span><span class="cx">         # first serialize all data elements
</span><span class="cx">         foreach my $e (@$elems) {
</span><span class="lines">@@ -575,7 +575,7 @@
</span><span class="cx">         };
</span><span class="cx">     }
</span><span class="cx"> 
</span><del>-    # Deal with realted story.
</del><ins>+    # Deal with related story.
</ins><span class="cx">     if ($cdata-&gt;{related_story_id}) {
</span><span class="cx">         push(@relations, {
</span><span class="cx">             container =&gt; $container,
</span></span></pre>
</div>
</div>

</body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic