summaryrefslogtreecommitdiff
path: root/app/Module
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-01-17 18:03:39 +0000
committerGreg Roach <fisharebest@gmail.com>2016-01-17 18:03:39 +0000
commitad2f0e13109a624a158c7532c312bc08f1d45af8 (patch)
tree3e13097a0c086e5d82c64ea49bd0eef7827c3440 /app/Module
parenta6762289f3e1aa394a2721a82ffef93958cd133f (diff)
downloadwebtrees-ad2f0e13109a624a158c7532c312bc08f1d45af8.tar.gz
webtrees-ad2f0e13109a624a158c7532c312bc08f1d45af8.tar.bz2
webtrees-ad2f0e13109a624a158c7532c312bc08f1d45af8.zip
Two spaces have no effect in HTML
Diffstat (limited to 'app/Module')
-rw-r--r--app/Module/AbstractModule.php2
-rw-r--r--app/Module/AlbumModule.php2
-rw-r--r--app/Module/BatchUpdate/BatchUpdateSearchReplacePlugin.php2
-rw-r--r--app/Module/BatchUpdateModule.php2
-rw-r--r--app/Module/CkeditorModule.php4
-rw-r--r--app/Module/ClippingsCartModule.php6
-rw-r--r--app/Module/FamilyTreeStatisticsModule.php4
-rw-r--r--app/Module/FrequentlyAskedQuestionsModule.php6
-rw-r--r--app/Module/GoogleMapsModule.php18
-rw-r--r--app/Module/HtmlBlockModule.php6
-rw-r--r--app/Module/ModuleMenuInterface.php2
-rw-r--r--app/Module/ModuleSidebarInterface.php2
-rw-r--r--app/Module/ModuleTabInterface.php2
-rw-r--r--app/Module/OnThisDayModule.php4
-rw-r--r--app/Module/PageMenuModule.php2
-rw-r--r--app/Module/ResearchTaskModule.php6
-rw-r--r--app/Module/ReviewChangesModule.php2
-rw-r--r--app/Module/SiteMapModule.php2
-rw-r--r--app/Module/SlideShowModule.php2
-rw-r--r--app/Module/StoriesModule.php2
-rw-r--r--app/Module/TopGivenNamesModule.php8
-rw-r--r--app/Module/TopSurnamesModule.php4
-rw-r--r--app/Module/UpcomingAnniversariesModule.php4
-rw-r--r--app/Module/UserMessagesModule.php4
-rw-r--r--app/Module/YahrzeitModule.php6
25 files changed, 52 insertions, 52 deletions
diff --git a/app/Module/AbstractModule.php b/app/Module/AbstractModule.php
index 9edea5d7d0..8ca516b49e 100644
--- a/app/Module/AbstractModule.php
+++ b/app/Module/AbstractModule.php
@@ -142,7 +142,7 @@ abstract class AbstractModule {
}
/**
- * Get a module setting. Return a default if the setting is not set.
+ * Get a module setting. Return a default if the setting is not set.
*
* @param string $setting_name
* @param string $default
diff --git a/app/Module/AlbumModule.php b/app/Module/AlbumModule.php
index d08bfa981e..32bf595dd3 100644
--- a/app/Module/AlbumModule.php
+++ b/app/Module/AlbumModule.php
@@ -60,7 +60,7 @@ class AlbumModule extends AbstractModule implements ModuleTabInterface {
}
/**
- * Is this tab empty? If so, we don't always need to display it.
+ * Is this tab empty? If so, we don't always need to display it.
*
* @return bool
*/
diff --git a/app/Module/BatchUpdate/BatchUpdateSearchReplacePlugin.php b/app/Module/BatchUpdate/BatchUpdateSearchReplacePlugin.php
index 4f3dcaaa82..a23647d98e 100644
--- a/app/Module/BatchUpdate/BatchUpdateSearchReplacePlugin.php
+++ b/app/Module/BatchUpdate/BatchUpdateSearchReplacePlugin.php
@@ -123,7 +123,7 @@ class BatchUpdateSearchReplacePlugin extends BatchUpdateBasePlugin {
try {
preg_match('/' . $this->search . '/', null);
} catch (\ErrorException $ex) {
- $this->error = '<div class="alert alert-danger">' . I18N::translate('The regex appears to contain an error. It can’t be used.') . '</div>';
+ $this->error = '<div class="alert alert-danger">' . I18N::translate('The regex appears to contain an error. It can’t be used.') . '</div>';
}
break;
}
diff --git a/app/Module/BatchUpdateModule.php b/app/Module/BatchUpdateModule.php
index 72a9db10cd..e61b51405b 100644
--- a/app/Module/BatchUpdateModule.php
+++ b/app/Module/BatchUpdateModule.php
@@ -225,7 +225,7 @@ class BatchUpdateModule extends AbstractModule implements ModuleConfigInterface
<?php if (!Auth::user()->getPreference('auto_accept')): ?>
<div class="alert alert-danger">
- <?php echo I18N::translate('Your user account does not have “automatically approve changes” enabled. You will only be able to change one record at a time.'); ?>
+ <?php echo I18N::translate('Your user account does not have “automatically approve changes” enabled. You will only be able to change one record at a time.'); ?>
</div>
<?php endif; ?>
diff --git a/app/Module/CkeditorModule.php b/app/Module/CkeditorModule.php
index d3a216be2e..65de600487 100644
--- a/app/Module/CkeditorModule.php
+++ b/app/Module/CkeditorModule.php
@@ -24,12 +24,12 @@ use Fisharebest\Webtrees\I18N;
class CkeditorModule extends AbstractModule {
/** {@inheritdoc} */
public function getTitle() {
- return /* I18N: Name of a module. CKEditor is a trademark. Do not translate it? http://ckeditor.com */ I18N::translate('CKEditor™');
+ return /* I18N: Name of a module. CKEditor is a trademark. Do not translate it? http://ckeditor.com */ I18N::translate('CKEditor™');
}
/** {@inheritdoc} */
public function getDescription() {
- return /* I18N: Description of the “CKEditor” module. WYSIWYG = “what you see is what you get” */ I18N::translate('Allow other modules to edit text using a “WYSIWYG” editor, instead of using HTML codes.');
+ return /* I18N: Description of the “CKEditor” module. WYSIWYG = “what you see is what you get” */ I18N::translate('Allow other modules to edit text using a “WYSIWYG” editor, instead of using HTML codes.');
}
/**
diff --git a/app/Module/ClippingsCartModule.php b/app/Module/ClippingsCartModule.php
index f293900870..cef4c96df1 100644
--- a/app/Module/ClippingsCartModule.php
+++ b/app/Module/ClippingsCartModule.php
@@ -296,7 +296,7 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface,
if (!$cart[$WT_TREE->getTreeId()]) {
if ($clip_ctrl->action != 'add') {
- echo I18N::translate('The clippings cart allows you to take extracts (“clippings”) from this family tree and bundle them up into a single file for downloading and subsequent importing into your own genealogy program. The downloadable file is recorded in GEDCOM format.<br><ul><li>How to take clippings?<br>This is really simple. Whenever you see a clickable name (individual, family, or source) you can go to the Details page of that name. There you will see the <b>Add to clippings cart</b> option. When you click that link you will be offered several options to download.</li><li>How to download?<br>Once you have items in your cart, you can download them just by clicking the “Download” link. Follow the instructions and links.</li></ul>');
+ echo I18N::translate('The clippings cart allows you to take extracts (“clippings”) from this family tree and bundle them up into a single file for downloading and subsequent importing into your own genealogy program. The downloadable file is recorded in GEDCOM format.<br><ul><li>How to take clippings?<br>This is really simple. Whenever you see a clickable name (individual, family, or source) you can go to the Details page of that name. There you will see the <b>Add to clippings cart</b> option. When you click that link you will be offered several options to download.</li><li>How to download?<br>Once you have items in your cart, you can download them just by clicking the “Download” link. Follow the instructions and links.</li></ul>');
?>
<form method="get" name="addin" action="module.php">
<input type="hidden" name="mod" value="clippings">
@@ -346,7 +346,7 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface,
<tr><td colspan="2" class="topbottombar"><h2><?php echo I18N::translate('Download'); ?></h2></td></tr>
<tr>
<td class="descriptionbox width50 wrap">
- <?php echo I18N::translate('To reduce the size of the download, you can compress the data into a .ZIP file. You will need to uncompress the .ZIP file before you can use it.'); ?>
+ <?php echo I18N::translate('To reduce the size of the download, you can compress the data into a .ZIP file. You will need to uncompress the .ZIP file before you can use it.'); ?>
</td>
<td class="optionbox wrap">
<input type="checkbox" name="Zip" value="yes">
@@ -472,7 +472,7 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface,
}
/**
- * The user can re-order menus. Until they do, they are shown in this order.
+ * The user can re-order menus. Until they do, they are shown in this order.
*
* @return int
*/
diff --git a/app/Module/FamilyTreeStatisticsModule.php b/app/Module/FamilyTreeStatisticsModule.php
index 347aa3aca4..dca6fbd9e1 100644
--- a/app/Module/FamilyTreeStatisticsModule.php
+++ b/app/Module/FamilyTreeStatisticsModule.php
@@ -177,14 +177,14 @@ class FamilyTreeStatisticsModule extends AbstractModule implements ModuleBlockIn
}
if ($stat_most_chil && !$block) {
- $content .= '<div class="stat-row"><div class="facts_label stat-cell">' . I18N::translate('Family with the most children') . '</div><div class="facts_value stats_value stat-cell">' . $stats->largestFamilySize() . '</div>';
+ $content .= '<div class="stat-row"><div class="facts_label stat-cell">' . I18N::translate('Family with the most children') . '</div><div class="facts_value stats_value stat-cell">' . $stats->largestFamilySize() . '</div>';
if (!$block) {
$content .= '<div class="facts_value stat-cell left">' . $stats->largestFamily() . '</div>';
}
$content .= '</div>';
}
if ($stat_avg_chil) {
- $content .= '<div class="stat-row"><div class="facts_label stat-cell">' . I18N::translate('Average number of children per family') . '</div><div class="facts_value stats_value stat-cell">' . $stats->averageChildren() . '</div>';
+ $content .= '<div class="stat-row"><div class="facts_label stat-cell">' . I18N::translate('Average number of children per family') . '</div><div class="facts_value stats_value stat-cell">' . $stats->averageChildren() . '</div>';
if (!$block) {
$content .= '<div class="facts_value stat-cell left"></div>';
}
diff --git a/app/Module/FrequentlyAskedQuestionsModule.php b/app/Module/FrequentlyAskedQuestionsModule.php
index 1b36b581cf..8b4adf4fc9 100644
--- a/app/Module/FrequentlyAskedQuestionsModule.php
+++ b/app/Module/FrequentlyAskedQuestionsModule.php
@@ -31,7 +31,7 @@ use Fisharebest\Webtrees\Tree;
class FrequentlyAskedQuestionsModule extends AbstractModule implements ModuleMenuInterface, ModuleConfigInterface {
/** {@inheritdoc} */
public function getTitle() {
- return /* I18N: Name of a module. Abbreviation for “Frequently Asked Questions” */ I18N::translate('FAQ');
+ return /* I18N: Name of a module. Abbreviation for “Frequently Asked Questions” */ I18N::translate('FAQ');
}
/** {@inheritdoc} */
@@ -444,7 +444,7 @@ class FrequentlyAskedQuestionsModule extends AbstractModule implements ModuleMen
</ol>
<h2><?php echo $controller->getPageTitle(); ?></h2>
<p>
- <?php echo I18N::translate('FAQs are lists of questions and answers, which allow you to explain the site’s rules, policies, and procedures to your visitors. Questions are typically concerned with privacy, copyright, user-accounts, unsuitable content, requirement for source-citations, etc.'); ?>
+ <?php echo I18N::translate('FAQs are lists of questions and answers, which allow you to explain the site’s rules, policies, and procedures to your visitors. Questions are typically concerned with privacy, copyright, user-accounts, unsuitable content, requirement for source-citations, etc.'); ?>
<?php echo I18N::translate('You may use HTML to format the answer and to add links to other websites.'); ?>
</p>
<form class="form form-inline">
@@ -509,7 +509,7 @@ class FrequentlyAskedQuestionsModule extends AbstractModule implements ModuleMen
}
/**
- * The user can re-order menus. Until they do, they are shown in this order.
+ * The user can re-order menus. Until they do, they are shown in this order.
*
* @return int
*/
diff --git a/app/Module/GoogleMapsModule.php b/app/Module/GoogleMapsModule.php
index 1403b62dcb..a215cc177d 100644
--- a/app/Module/GoogleMapsModule.php
+++ b/app/Module/GoogleMapsModule.php
@@ -70,7 +70,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,
/** {@inheritdoc} */
public function getTitle() {
- return /* I18N: The name of a module. Google Maps™ is a trademark. Do not translate it? http://en.wikipedia.org/wiki/Google_maps */ I18N::translate('Google Maps™');
+ return /* I18N: The name of a module. Google Maps™ is a trademark. Do not translate it? http://en.wikipedia.org/wiki/Google_maps */ I18N::translate('Google Maps™');
}
/** {@inheritdoc} */
@@ -367,7 +367,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,
</div>
</div>
</div>
- <p class="small text-muted"><?php echo I18N::translate('Minimum and maximum zoom level for the Google map. 1 is the full map, 15 is single house. Note that 15 is only available in certain areas.') ?></p>
+ <p class="small text-muted"><?php echo I18N::translate('Minimum and maximum zoom level for the Google map. 1 is the full map, 15 is single house. Note that 15 is only available in certain areas.') ?></p>
</div>
</fieldset>
@@ -389,7 +389,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,
</div>
<?php endforeach ?>
</div>
- <p class="small text-muted"><?php echo I18N::translate('This specifies the precision of the different levels when entering new geographic locations. For example a country will be specified with precision 0 (=0 digits after the decimal point), while a town needs 3 or 4 digits.') ?></p>
+ <p class="small text-muted"><?php echo I18N::translate('This specifies the precision of the different levels when entering new geographic locations. For example a country will be specified with precision 0 (=0 digits after the decimal point), while a town needs 3 or 4 digits.') ?></p>
</div>
</fieldset>
@@ -433,7 +433,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,
<?php endfor ?>
</div>
</div>
- <p class="small text-muted"><?php echo I18N::translate('Some place names may be written with optional prefixes and suffixes. For example “Orange” versus “Orange County”. If the family tree contains the full place names, but the geographic database contains the short place names, then you should specify a list of the prefixes and suffixes to be disregarded. Multiple options should be separated with semicolons. For example “County;County of” or “Township;Twp;Twp.”.') ?></p>
+ <p class="small text-muted"><?php echo I18N::translate('Some place names may be written with optional prefixes and suffixes. For example “Orange” versus “Orange County”. If the family tree contains the full place names, but the geographic database contains the short place names, then you should specify a list of the prefixes and suffixes to be disregarded. Multiple options should be separated with semicolons. For example “County;County of” or “Township;Twp;Twp.”.') ?></p>
</div>
</fieldset>
@@ -648,7 +648,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,
<h4><?php echo I18N::translate('Change flag') ?></h4>
<p class="small text-muted">
- <?php echo I18N::translate('Using the pull down menu it is possible to select a country, of which a flag can be selected. If no flags are shown, then there are no flags defined for this country.') ?>
+ <?php echo I18N::translate('Using the pull down menu it is possible to select a country, of which a flag can be selected. If no flags are shown, then there are no flags defined for this country.') ?>
</p>
<form method="post" id="flags" name="flags" action="module.php?mod=googlemap&amp;mod_action=flags&amp;countrySelected=<?php echo $countrySelected ?>&amp;stateSelected=<?php echo $stateSelected ?>">
@@ -3977,7 +3977,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,
<input type="radio" id="new_prec_5" name="NEW_PRECISION" onchange="updateMap();" <?php if ($precision >= $this->getSetting('GM_PRECISION_5')) echo 'checked' ?> value="<?php echo $this->getSetting('GM_PRECISION_5') ?>">
<label for="new_prec_5"><?php echo I18N::translate('Max') ?></label>
<p class="small text-muted">
- <?php echo I18N::translate('Here you can enter the precision. Based on this setting the number of digits that will be used in the latitude and longitude is determined.') ?>
+ <?php echo I18N::translate('Here you can enter the precision. Based on this setting the number of digits that will be used in the latitude and longitude is determined.') ?>
</p>
</td>
</tr>
@@ -4008,7 +4008,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,
<td class="optionbox" colspan="2">
<input type="text" id="NEW_ZOOM_FACTOR" name="NEW_ZOOM_FACTOR" value="<?php echo $zoomfactor ?>" size="20" onchange="updateMap();">
<p class="small text-muted">
- <?php echo I18N::translate('Here the zoom level can be entered. This value will be used as the minimal value when displaying this geographic location on a map.') ?>
+ <?php echo I18N::translate('Here the zoom level can be entered. This value will be used as the minimal value when displaying this geographic location on a map.') ?>
</p>
</td>
</tr>
@@ -4027,7 +4027,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,
<?php } ?>
</div>
<p class="small text-muted">
- <?php echo I18N::translate('Here an icon can be set or removed. Using this link a flag can be selected. When this geographic location is shown, this flag will be displayed.') ?>
+ <?php echo I18N::translate('Here an icon can be set or removed. Using this link a flag can be selected. When this geographic location is shown, this flag will be displayed.') ?>
</p>
</td>
</tr>
@@ -4574,7 +4574,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,
</label>
</div>
<p class="small text-muted">
- <?php echo I18N::translate('By default, the list shows only those places which can be found in your family trees. You may have details for other places, such as those imported in bulk from an external file. Selecting this option will show all places, including ones that are not currently used.') ?>
+ <?php echo I18N::translate('By default, the list shows only those places which can be found in your family trees. You may have details for other places, such as those imported in bulk from an external file. Selecting this option will show all places, including ones that are not currently used.') ?>
<?php echo I18N::translate('If you have a large number of inactive places, it can be slow to generate the list.') ?>
</p>
</form>
diff --git a/app/Module/HtmlBlockModule.php b/app/Module/HtmlBlockModule.php
index d46dc2dfee..65f4d5e08a 100644
--- a/app/Module/HtmlBlockModule.php
+++ b/app/Module/HtmlBlockModule.php
@@ -157,7 +157,7 @@ class HtmlBlockModule extends AbstractModule implements ModuleBlockInterface {
'#getAllTagsTable#',
I18N::translate('Narrative description') =>
- /* I18N: do not translate the #keywords# */ I18N::translate('This family tree was last updated on #gedcomUpdated#. There are #totalSurnames# surnames in this family tree. The earliest recorded event is the #firstEventType# of #firstEventName# in #firstEventYear#. The most recent event is the #lastEventType# of #lastEventName# in #lastEventYear#.<br><br>If you have any comments or feedback please contact #contactWebmaster#.'),
+ /* I18N: do not translate the #keywords# */ I18N::translate('This family tree was last updated on #gedcomUpdated#. There are #totalSurnames# surnames in this family tree. The earliest recorded event is the #firstEventType# of #firstEventName# in #firstEventYear#. The most recent event is the #lastEventType# of #lastEventName# in #lastEventYear#.<br><br>If you have any comments or feedback please contact #contactWebmaster#.'),
I18N::translate('Statistics') =>
'<div class="gedcom_stats">
@@ -288,7 +288,7 @@ class HtmlBlockModule extends AbstractModule implements ModuleBlockInterface {
}
echo '</select>';
if (!$html) {
- echo '<p>', I18N::translate('To assist you in getting started with this block, we have created several standard templates. When you select one of these templates, the text area will contain a copy that you can then alter to suit your site’s requirements.'), '</p>';
+ echo '<p>', I18N::translate('To assist you in getting started with this block, we have created several standard templates. When you select one of these templates, the text area will contain a copy that you can then alter to suit your site’s requirements.'), '</p>';
}
echo '</td></tr>';
@@ -313,7 +313,7 @@ class HtmlBlockModule extends AbstractModule implements ModuleBlockInterface {
echo '<tr><td colspan="2" class="descriptionbox">',
I18N::translate('Content');
if (!$html) {
- echo '<p>', I18N::translate('As well as using the toolbar to apply HTML formatting, you can insert database fields which are updated automatically. These special fields are marked with <b>#</b> characters. For example <b>#totalFamilies#</b> will be replaced with the actual number of families in the database. Advanced users may wish to apply CSS classes to their text, so that the formatting matches the currently selected theme.'), '</p>';
+ echo '<p>', I18N::translate('As well as using the toolbar to apply HTML formatting, you can insert database fields which are updated automatically. These special fields are marked with <b>#</b> characters. For example <b>#totalFamilies#</b> will be replaced with the actual number of families in the database. Advanced users may wish to apply CSS classes to their text, so that the formatting matches the currently selected theme.'), '</p>';
}
echo
'</td></tr><tr>',
diff --git a/app/Module/ModuleMenuInterface.php b/app/Module/ModuleMenuInterface.php
index a47cfcaf41..e1f1006b98 100644
--- a/app/Module/ModuleMenuInterface.php
+++ b/app/Module/ModuleMenuInterface.php
@@ -22,7 +22,7 @@ use Fisharebest\Webtrees\Menu;
*/
interface ModuleMenuInterface {
/**
- * The user can re-order menus. Until they do, they are shown in this order.
+ * The user can re-order menus. Until they do, they are shown in this order.
*
* @return int
*/
diff --git a/app/Module/ModuleSidebarInterface.php b/app/Module/ModuleSidebarInterface.php
index 8332b0b4b6..392bd32d88 100644
--- a/app/Module/ModuleSidebarInterface.php
+++ b/app/Module/ModuleSidebarInterface.php
@@ -20,7 +20,7 @@ namespace Fisharebest\Webtrees\Module;
*/
interface ModuleSidebarInterface {
/**
- * The user can change the order of sidebars. Until they do this, they are shown in this order.
+ * The user can change the order of sidebars. Until they do this, they are shown in this order.
*
* @return int
*/
diff --git a/app/Module/ModuleTabInterface.php b/app/Module/ModuleTabInterface.php
index 81fe490a67..2af0a5a774 100644
--- a/app/Module/ModuleTabInterface.php
+++ b/app/Module/ModuleTabInterface.php
@@ -35,7 +35,7 @@ interface ModuleTabInterface {
public function getTabContent();
/**
- * Is this tab empty? If so, we don't always need to display it.
+ * Is this tab empty? If so, we don't always need to display it.
*
* @return bool
*/
diff --git a/app/Module/OnThisDayModule.php b/app/Module/OnThisDayModule.php
index 2f2b6fb7be..851aa504ec 100644
--- a/app/Module/OnThisDayModule.php
+++ b/app/Module/OnThisDayModule.php
@@ -74,11 +74,11 @@ class OnThisDayModule extends AbstractModule implements ModuleBlockInterface {
$content = '';
switch ($infoStyle) {
case 'list':
- // Output style 1: Old format, no visible tables, much smaller text. Better suited to right side of page.
+ // Output style 1: Old format, no visible tables, much smaller text. Better suited to right side of page.
$content .= FunctionsPrintLists::eventsList($todayjd, $todayjd, $onlyBDM ? 'BIRT MARR DEAT' : '', $filter, $sortStyle);
break;
case 'table':
- // Style 2: New format, tables, big text, etc. Not too good on right side of page
+ // Style 2: New format, tables, big text, etc. Not too good on right side of page
ob_start();
$content .= FunctionsPrintLists::eventsTable($todayjd, $todayjd, $onlyBDM ? 'BIRT MARR DEAT' : '', $filter, $sortStyle);
$content .= ob_get_clean();
diff --git a/app/Module/PageMenuModule.php b/app/Module/PageMenuModule.php
index f2acca46c5..f808de465e 100644
--- a/app/Module/PageMenuModule.php
+++ b/app/Module/PageMenuModule.php
@@ -34,7 +34,7 @@ class PageMenuModule extends AbstractModule implements ModuleMenuInterface {
}
/**
- * The user can re-order menus. Until they do, they are shown in this order.
+ * The user can re-order menus. Until they do, they are shown in this order.
*
* @return int
*/
diff --git a/app/Module/ResearchTaskModule.php b/app/Module/ResearchTaskModule.php
index cbc2042255..129df611f0 100644
--- a/app/Module/ResearchTaskModule.php
+++ b/app/Module/ResearchTaskModule.php
@@ -30,7 +30,7 @@ use Rhumsaa\Uuid\Uuid;
class ResearchTaskModule extends AbstractModule implements ModuleBlockInterface {
/** {@inheritdoc} */
public function getTitle() {
- return /* I18N: Name of a module. Tasks that need further research. */ I18N::translate('Research tasks');
+ return /* I18N: Name of a module. Tasks that need further research. */ I18N::translate('Research tasks');
}
/** {@inheritdoc} */
@@ -184,9 +184,9 @@ class ResearchTaskModule extends AbstractModule implements ModuleBlockInterface
?>
<tr>
<td colspan="2">
- <?php echo I18N::translate('Research tasks are special events, added to individuals in your family tree, which identify the need for further research. You can use them as a reminder to check facts against more reliable sources, to obtain documents or photographs, to resolve conflicting information, etc.'); ?>
+ <?php echo I18N::translate('Research tasks are special events, added to individuals in your family tree, which identify the need for further research. You can use them as a reminder to check facts against more reliable sources, to obtain documents or photographs, to resolve conflicting information, etc.'); ?>
<?php echo I18N::translate('To create new research tasks, you must first add “research task” to the list of facts and events in the family tree’s preferences.'); ?>
- <?php echo I18N::translate('Research tasks are stored using the custom GEDCOM tag “_TODO”. Other genealogy applications may not recognize this tag.'); ?>
+ <?php echo I18N::translate('Research tasks are stored using the custom GEDCOM tag “_TODO”. Other genealogy applications may not recognize this tag.'); ?>
</td>
</tr>
<?php
diff --git a/app/Module/ReviewChangesModule.php b/app/Module/ReviewChangesModule.php
index 1d9cbdb5bc..7090dbe0d0 100644
--- a/app/Module/ReviewChangesModule.php
+++ b/app/Module/ReviewChangesModule.php
@@ -176,7 +176,7 @@ class ReviewChangesModule extends AbstractModule implements ModuleBlockInterface
?>
<tr>
<td colspan="2">
- <?php echo I18N::translate('This block will show editors a list of records with pending changes that need to be approved by a moderator. It also generates daily emails to moderators whenever pending changes exist.'); ?>
+ <?php echo I18N::translate('This block will show editors a list of records with pending changes that need to be approved by a moderator. It also generates daily emails to moderators whenever pending changes exist.'); ?>
</td>
</tr>
diff --git a/app/Module/SiteMapModule.php b/app/Module/SiteMapModule.php
index d008516726..0408dcda7c 100644
--- a/app/Module/SiteMapModule.php
+++ b/app/Module/SiteMapModule.php
@@ -303,7 +303,7 @@ class SiteMapModule extends AbstractModule implements ModuleConfigInterface {
echo
'<p>',
/* I18N: The www.sitemaps.org site is translated into many languages (e.g. http://www.sitemaps.org/fr/) - choose an appropriate URL. */
- I18N::translate('Sitemaps are a way for webmasters to tell search engines about the pages on a website that are available for crawling. All major search engines support sitemaps. For more information, see <a href="http://www.sitemaps.org/">www.sitemaps.org</a>.') .
+ I18N::translate('Sitemaps are a way for webmasters to tell search engines about the pages on a website that are available for crawling. All major search engines support sitemaps. For more information, see <a href="http://www.sitemaps.org/">www.sitemaps.org</a>.') .
'</p>',
'<p>', I18N::translate('Which family trees should be included in the sitemaps?'), '</p>',
'<form method="post" action="module.php?mod=' . $this->getName() . '&amp;mod_action=admin">',
diff --git a/app/Module/SlideShowModule.php b/app/Module/SlideShowModule.php
index eae56f4441..217cd72bee 100644
--- a/app/Module/SlideShowModule.php
+++ b/app/Module/SlideShowModule.php
@@ -56,7 +56,7 @@ class SlideShowModule extends AbstractModule implements ModuleBlockInterface {
$start = $this->getBlockSetting($block_id, 'start', '0') || Filter::getBool('start');
// We can apply the filters using SQL
- // Do not use "ORDER BY RAND()" - it is very slow on large tables. Use PHP::array_rand() instead.
+ // Do not use "ORDER BY RAND()" - it is very slow on large tables. Use PHP::array_rand() instead.
$all_media = Database::prepare(
"SELECT m_id FROM `##media`" .
" WHERE m_file = ?" .
diff --git a/app/Module/StoriesModule.php b/app/Module/StoriesModule.php
index 3d548e74ec..a849044150 100644
--- a/app/Module/StoriesModule.php
+++ b/app/Module/StoriesModule.php
@@ -478,7 +478,7 @@ class StoriesModule extends AbstractModule implements ModuleTabInterface, Module
}
/**
- * The user can re-order menus. Until they do, they are shown in this order.
+ * The user can re-order menus. Until they do, they are shown in this order.
*
* @return int
*/
diff --git a/app/Module/TopGivenNamesModule.php b/app/Module/TopGivenNamesModule.php
index fe21fc936c..197a65c2da 100644
--- a/app/Module/TopGivenNamesModule.php
+++ b/app/Module/TopGivenNamesModule.php
@@ -28,7 +28,7 @@ use Fisharebest\Webtrees\Theme;
class TopGivenNamesModule extends AbstractModule implements ModuleBlockInterface {
/** {@inheritdoc} */
public function getTitle() {
- return /* I18N: Name of a module. Top=Most common */ I18N::translate('Top given names');
+ return /* I18N: Name of a module. Top=Most common */ I18N::translate('Top given names');
}
/** {@inheritdoc} */
@@ -71,14 +71,14 @@ class TopGivenNamesModule extends AbstractModule implements ModuleBlockInterface
// I18N: i.e. most popular given name.
$title .= I18N::translate('Top given name');
} else {
- // I18N: Title for a list of the most common given names, %s is a number. Note that a separate translation exists when %s is 1
+ // I18N: Title for a list of the most common given names, %s is a number. Note that a separate translation exists when %s is 1
$title .= I18N::plural('Top %s given name', 'Top %s given names', $num, I18N::number($num));
}
$content = '<div class="normal_inner_block">';
//Select List or Table
switch ($infoStyle) {
- case "list": // Output style 1: Simple list style. Better suited to left side of page.
+ case "list": // Output style 1: Simple list style. Better suited to left side of page.
if (I18N::direction() === 'ltr') {
$padding = 'padding-left: 15px';
} else {
@@ -96,7 +96,7 @@ class TopGivenNamesModule extends AbstractModule implements ModuleBlockInterface
$content .= '<b>' . I18N::translate('Males') . '</b><div class="wrap" style="' . $padding . '">' . $totals . '</div><br>';
}
break;
- case "table": // Style 2: Tabular format. Narrow, 2 or 3 column table, good on right side of page
+ case "table": // Style 2: Tabular format. Narrow, 2 or 3 column table, good on right side of page
$params = array(1, $num, 'rcount');
$content .= '<table style="margin:auto;">
<tr valign="top">
diff --git a/app/Module/TopSurnamesModule.php b/app/Module/TopSurnamesModule.php
index 05c2175da3..86b2d7571d 100644
--- a/app/Module/TopSurnamesModule.php
+++ b/app/Module/TopSurnamesModule.php
@@ -34,7 +34,7 @@ class TopSurnamesModule extends AbstractModule implements ModuleBlockInterface {
* @return string
*/
public function getTitle() {
- return /* I18N: Name of a module. Top=Most common */ I18N::translate('Top surnames');
+ return /* I18N: Name of a module. Top=Most common */ I18N::translate('Top surnames');
}
/**
@@ -105,7 +105,7 @@ class TopSurnamesModule extends AbstractModule implements ModuleBlockInterface {
// I18N: i.e. most popular surname.
$title .= I18N::translate('Top surname');
} else {
- // I18N: Title for a list of the most common surnames, %s is a number. Note that a separate translation exists when %s is 1
+ // I18N: Title for a list of the most common surnames, %s is a number. Note that a separate translation exists when %s is 1
$title .= I18N::plural('Top %s surname', 'Top %s surnames', $num, I18N::number($num));
}
diff --git a/app/Module/UpcomingAnniversariesModule.php b/app/Module/UpcomingAnniversariesModule.php
index e76475ed70..1b15ca5e01 100644
--- a/app/Module/UpcomingAnniversariesModule.php
+++ b/app/Module/UpcomingAnniversariesModule.php
@@ -84,11 +84,11 @@ class UpcomingAnniversariesModule extends AbstractModule implements ModuleBlockI
$content = '';
switch ($infoStyle) {
case 'list':
- // Output style 1: Old format, no visible tables, much smaller text. Better suited to right side of page.
+ // Output style 1: Old format, no visible tables, much smaller text. Better suited to right side of page.
$content .= FunctionsPrintLists::eventsList($startjd, $endjd, $onlyBDM ? 'BIRT MARR DEAT' : '', $filter, $sortStyle);
break;
case 'table':
- // Style 2: New format, tables, big text, etc. Not too good on right side of page
+ // Style 2: New format, tables, big text, etc. Not too good on right side of page
ob_start();
$content .= FunctionsPrintLists::eventsTable($startjd, $endjd, $onlyBDM ? 'BIRT MARR DEAT' : '', $filter, $sortStyle);
$content .= ob_get_clean();
diff --git a/app/Module/UserMessagesModule.php b/app/Module/UserMessagesModule.php
index ce5ac9af6f..9361b386d1 100644
--- a/app/Module/UserMessagesModule.php
+++ b/app/Module/UserMessagesModule.php
@@ -93,7 +93,7 @@ class UserMessagesModule extends AbstractModule implements ModuleBlockInterface
return $user->getUserId() !== Auth::id() && $user->getPreference('verified_by_admin') && $user->getPreference('contactmethod') !== 'none';
});
- $content = '<form id="messageform" name="messageform" method="post" action="module.php?mod=user_messages&mod_action=delete" onsubmit="return confirm(\'' . I18N::translate('Are you sure you want to delete this message? It cannot be retrieved later.') . '\');">';
+ $content = '<form id="messageform" name="messageform" method="post" action="module.php?mod=user_messages&mod_action=delete" onsubmit="return confirm(\'' . I18N::translate('Are you sure you want to delete this message? It cannot be retrieved later.') . '\');">';
$content .= '<input type="hidden" name="ged" value="' . $ctype . '">';
$content .= '<input type="hidden" name="ctype" value="' . $WT_TREE->getNameHtml() . '">';
if ($users) {
@@ -136,7 +136,7 @@ class UserMessagesModule extends AbstractModule implements ModuleBlockInterface
if ($user) {
$content .= '<button type="button" onclick="reply(\'' . Filter::escapeJs($message->sender) . '\', \'' . Filter::escapeJs($message->subject) . '\'); return false;">' . I18N::translate('Reply') . '</button> ';
}
- $content .= '<button type="button" onclick="if (confirm(\'' . I18N::translate('Are you sure you want to delete this message? It cannot be retrieved later.') . '\')) {jQuery(\'#messageform :checkbox\').prop(\'checked\', false); jQuery(\'#cb_message' . $message->message_id . '\').prop(\'checked\', true); document.messageform.submit();}">' . I18N::translate('Delete') . '</button></div></td></tr>';
+ $content .= '<button type="button" onclick="if (confirm(\'' . I18N::translate('Are you sure you want to delete this message? It cannot be retrieved later.') . '\')) {jQuery(\'#messageform :checkbox\').prop(\'checked\', false); jQuery(\'#cb_message' . $message->message_id . '\').prop(\'checked\', true); document.messageform.submit();}">' . I18N::translate('Delete') . '</button></div></td></tr>';
}
$content .= '</table>';
$content .= '<p><button type="submit">' . I18N::translate('Delete selected messages') . '</button></p>';
diff --git a/app/Module/YahrzeitModule.php b/app/Module/YahrzeitModule.php
index 80a4f2642a..3d99dc4d8f 100644
--- a/app/Module/YahrzeitModule.php
+++ b/app/Module/YahrzeitModule.php
@@ -34,12 +34,12 @@ use Rhumsaa\Uuid\Uuid;
class YahrzeitModule extends AbstractModule implements ModuleBlockInterface {
/** {@inheritdoc} */
public function getTitle() {
- return /* I18N: Name of a module. Yahrzeiten (the plural of Yahrzeit) are special anniversaries of deaths in the Hebrew faith/calendar. */ I18N::translate('Yahrzeiten');
+ return /* I18N: Name of a module. Yahrzeiten (the plural of Yahrzeit) are special anniversaries of deaths in the Hebrew faith/calendar. */ I18N::translate('Yahrzeiten');
}
/** {@inheritdoc} */
public function getDescription() {
- return /* I18N: Description of the “Yahrzeiten” module. A “Hebrew death” is a death where the date is recorded in the Hebrew calendar. */ I18N::translate('A list of the Hebrew death anniversaries that will occur in the near future.');
+ return /* I18N: Description of the “Yahrzeiten” module. A “Hebrew death” is a death where the date is recorded in the Hebrew calendar. */ I18N::translate('A list of the Hebrew death anniversaries that will occur in the near future.');
}
/**
@@ -103,7 +103,7 @@ class YahrzeitModule extends AbstractModule implements ModuleBlockInterface {
$hd1 = new JewishDate($hd);
$hd1->y += 1;
$hd1->setJdFromYmd();
- // Special rules. See http://www.hebcal.com/help/anniv.html
+ // Special rules. See http://www.hebcal.com/help/anniv.html
// Everything else is taken care of by our standard anniversary rules.
if ($hd->d == 30 && $hd->m == 2 && $hd->y != 0 && $hd1->daysInMonth() < 30) {
// 30 CSH - Last day in CSH