summaryrefslogtreecommitdiff
path: root/library/WT/Controller
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2013-11-30 13:51:27 +0000
committerGreg Roach <fisharebest@gmail.com>2013-11-30 14:37:35 +0000
commit3f4c5896fde62ac0df738933a8daaa0b47ca9be9 (patch)
tree0518d6a90ecdb4ccf4d069ce5dbe1c2e77898ceb /library/WT/Controller
parentecbd8e47b4e52adeab2cdc74a8b60d9caac41926 (diff)
downloadwebtrees-3f4c5896fde62ac0df738933a8daaa0b47ca9be9.tar.gz
webtrees-3f4c5896fde62ac0df738933a8daaa0b47ca9be9.tar.bz2
webtrees-3f4c5896fde62ac0df738933a8daaa0b47ca9be9.zip
Typos in msgctxt strings for relationships. Consistent use of punctuation
Diffstat (limited to 'library/WT/Controller')
-rw-r--r--library/WT/Controller/Base.php2
-rw-r--r--library/WT/Controller/Familybook.php8
-rw-r--r--library/WT/Controller/Hourglass.php8
-rw-r--r--library/WT/Controller/Page.php6
-rw-r--r--library/WT/Controller/Pedigree.php2
-rw-r--r--library/WT/Controller/Search.php8
6 files changed, 17 insertions, 17 deletions
diff --git a/library/WT/Controller/Base.php b/library/WT/Controller/Base.php
index d9c7ac2d42..eafcbf1814 100644
--- a/library/WT/Controller/Base.php
+++ b/library/WT/Controller/Base.php
@@ -64,7 +64,7 @@ class WT_Controller_Base {
// Make a list of inline Javascript, so we can render them in the footer
// NOTE: there is no need to use "jQuery(document).ready(function(){...})", etc.
- // as this Javascript won't be inserted until the very end of the page.
+ // as this Javascript won’t be inserted until the very end of the page.
public function addInlineJavascript($script, $priority=self::JS_PRIORITY_NORMAL) {
if (WT_DEBUG) {
/* Show where the JS was added */
diff --git a/library/WT/Controller/Familybook.php b/library/WT/Controller/Familybook.php
index 5a8dcd2d16..3550070672 100644
--- a/library/WT/Controller/Familybook.php
+++ b/library/WT/Controller/Familybook.php
@@ -244,14 +244,14 @@ class WT_Controller_Familybook extends WT_Controller_Chart {
echo '<table>';
$this->printEmptyBox($bwidth, $bheight);
- //-- recursively get the father's family
+ //-- recursively get the father’s family
$this->print_person_pedigree($person, $count+1);
echo '</td>',
'<td>',
'</tr>';
$this->printEmptyBox($bwidth, $bheight);
- //-- recursively get the mother's family
+ //-- recursively get the mother’s family
$this->print_person_pedigree($person, $count+1);
echo '</td>',
'<td>',
@@ -272,7 +272,7 @@ class WT_Controller_Familybook extends WT_Controller_Chart {
echo '</td>';
if ($family->getHusband()) {
echo '<td>';
- //-- recursively get the father's family
+ //-- recursively get the father’s family
$this->print_person_pedigree($family->getHusband(), $count+1);
echo '</td>';
} else {
@@ -294,7 +294,7 @@ class WT_Controller_Familybook extends WT_Controller_Chart {
echo '</td>';
if ($family->getWife()) {
echo '<td>';
- //-- recursively print the mother's family
+ //-- recursively print the mother’s family
$this->print_person_pedigree($family->getWife(), $count+1);
echo '</td>';
} else {
diff --git a/library/WT/Controller/Hourglass.php b/library/WT/Controller/Hourglass.php
index 6a60a2859d..149ef02508 100644
--- a/library/WT/Controller/Hourglass.php
+++ b/library/WT/Controller/Hourglass.php
@@ -130,7 +130,7 @@ class WT_Controller_Hourglass extends WT_Controller_Chart {
echo '</td>';
echo '<td>';
- //-- recursively get the father's family
+ //-- recursively get the father’s family
$this->print_person_pedigree($person, $count+1);
echo '</td>';
echo '<td>';
@@ -139,7 +139,7 @@ class WT_Controller_Hourglass extends WT_Controller_Chart {
'<div style="width:',$bwidth,'px; height:',$bheight,'px;"></div>';
echo '</td>';
echo '<td>';
- //-- recursively get the father's family
+ //-- recursively get the father’s family
$this->print_person_pedigree($person, $count+1);
echo '</td>';
echo '<td>';
@@ -163,7 +163,7 @@ class WT_Controller_Hourglass extends WT_Controller_Chart {
if ($count==$this->generations-1 && $family->getHusband()->getChildFamilies()) {
echo "<a href=\"#\" onclick=\"return ChangeDiv('td_".$ARID."','".$ARID."','".$this->show_full."','".$this->show_spouse."','".$this->box_width."')\" class=\"".$this->right_arrow."\"></a> ";
}
- //-- recursively get the father's family
+ //-- recursively get the father’s family
$this->print_person_pedigree($family->getHusband(), $count+1);
echo "</td>";
}
@@ -183,7 +183,7 @@ class WT_Controller_Hourglass extends WT_Controller_Chart {
echo "<a href=\"#\" onclick=\"ChangeDiv('td_".$ARID."','".$ARID."','".$this->show_full."','".$this->show_spouse."','".$this->box_width."'); return false;\" class=\"".$this->right_arrow."\"></a> ";
}
- //-- recursively print the mother's family
+ //-- recursively print the mother’s family
$this->print_person_pedigree($family->getWife(), $count+1);
echo "</td>";
}
diff --git a/library/WT/Controller/Page.php b/library/WT/Controller/Page.php
index 8520a3f1e0..53d0f6e54d 100644
--- a/library/WT/Controller/Page.php
+++ b/library/WT/Controller/Page.php
@@ -48,7 +48,7 @@ class WT_Controller_Page extends WT_Controller_Base {
}
}
- // What should this page show in the browser's title bar?
+ // What should this page show in the browser’s title bar?
public function setPageTitle($page_title) {
$this->page_title=$page_title;
return $this;
@@ -125,14 +125,14 @@ class WT_Controller_Page extends WT_Controller_Base {
// Print the page header, using the theme
public function pageHeader() {
- // Import global variables into the local scope, for the theme's header.php
+ // Import global variables into the local scope, for the theme’s header.php
global $SEARCH_SPIDER, $TEXT_DIRECTION, $REQUIRE_AUTHENTICATION, $headerfile, $view;
// The title often includes the names of records, which may have markup
// that cannot be used in the page title.
$title=html_entity_decode(strip_tags($this->page_title), ENT_QUOTES, 'UTF-8');
- // Initialise variables for the theme's header.php
+ // Initialise variables for the theme’s header.php
$LINK_CANONICAL =$this->canonical_url;
$META_ROBOTS =$this->meta_robots;
$META_DESCRIPTION=WT_GED_ID ? get_gedcom_setting(WT_GED_ID, 'META_DESCRIPTION') : '';
diff --git a/library/WT/Controller/Pedigree.php b/library/WT/Controller/Pedigree.php
index a7929ddc40..e6233fed0b 100644
--- a/library/WT/Controller/Pedigree.php
+++ b/library/WT/Controller/Pedigree.php
@@ -147,7 +147,7 @@ class WT_Controller_Pedigree extends WT_Controller_Chart {
$this->offsetarray = array();
$this->minyoffset = 0;
if ($this->treesize<3) $this->treesize=3;
- // -- loop through all of id's in the array starting at the last and working to the first
+ // -- loop through all of IDs in the array starting at the last and working to the first
//-- calculation the box positions
for ($i=($this->treesize-1); $i>=0; $i--) {
// -- check to see if we have moved to the next generation
diff --git a/library/WT/Controller/Search.php b/library/WT/Controller/Search.php
index 3a30ef2ea2..b68f9b744d 100644
--- a/library/WT/Controller/Search.php
+++ b/library/WT/Controller/Search.php
@@ -248,10 +248,10 @@ class WT_Controller_Search extends WT_Controller_Page {
/**
* Handles searches entered in the top search box in the themes and
- * prepares the search to do a general search on indi's, fams, and sources.
+ * prepares the search to do a general search on individuals, families and sources.
*/
function TopSearch() {
- // first set some required variables. Search only in current gedcom, only in indi's.
+ // first set some required variables. Search only in current gedcom, only in individuals.
$this->srindi = "yes";
// Enable the default gedcom for search
@@ -295,7 +295,7 @@ class WT_Controller_Search extends WT_Controller_Page {
$logstring = "Type: General\nQuery: ".$this->query;
AddToSearchlog($logstring, $this->sgeds);
- // Search the indi's
+ // Search the individuals
if (isset ($this->srindi)) {
$this->myindilist=search_indis($query_terms, array_keys($this->sgeds), 'AND');
} else {
@@ -524,7 +524,7 @@ class WT_Controller_Search extends WT_Controller_Page {
}
}
- // Now we have the final list of indi's to be printed.
+ // Now we have the final list of individuals to be printed.
// We may add the assos at this point.
if ($this->showasso == 'on') {