From ad2f0e13109a624a158c7532c312bc08f1d45af8 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sun, 17 Jan 2016 18:03:39 +0000 Subject: Two spaces have no effect in HTML --- app/Module/AbstractModule.php | 2 +- app/Module/AlbumModule.php | 2 +- .../BatchUpdate/BatchUpdateSearchReplacePlugin.php | 2 +- app/Module/BatchUpdateModule.php | 2 +- app/Module/CkeditorModule.php | 4 ++-- app/Module/ClippingsCartModule.php | 6 +++--- app/Module/FamilyTreeStatisticsModule.php | 4 ++-- app/Module/FrequentlyAskedQuestionsModule.php | 6 +++--- app/Module/GoogleMapsModule.php | 18 +++++++++--------- app/Module/HtmlBlockModule.php | 6 +++--- app/Module/ModuleMenuInterface.php | 2 +- app/Module/ModuleSidebarInterface.php | 2 +- app/Module/ModuleTabInterface.php | 2 +- app/Module/OnThisDayModule.php | 4 ++-- app/Module/PageMenuModule.php | 2 +- app/Module/ResearchTaskModule.php | 6 +++--- app/Module/ReviewChangesModule.php | 2 +- app/Module/SiteMapModule.php | 2 +- app/Module/SlideShowModule.php | 2 +- app/Module/StoriesModule.php | 2 +- app/Module/TopGivenNamesModule.php | 8 ++++---- app/Module/TopSurnamesModule.php | 4 ++-- app/Module/UpcomingAnniversariesModule.php | 4 ++-- app/Module/UserMessagesModule.php | 4 ++-- app/Module/YahrzeitModule.php | 6 +++--- 25 files changed, 52 insertions(+), 52 deletions(-) (limited to 'app/Module') 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 = '
' . I18N::translate('The regex appears to contain an error. It can’t be used.') . '
'; + $this->error = '
' . I18N::translate('The regex appears to contain an error. It can’t be used.') . '
'; } 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 getPreference('auto_accept')): ?>
- +
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.
'); + 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.
'); ?>
@@ -346,7 +346,7 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface,

- + @@ -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 .= '
' . I18N::translate('Family with the most children') . '
' . $stats->largestFamilySize() . '
'; + $content .= '
' . I18N::translate('Family with the most children') . '
' . $stats->largestFamilySize() . '
'; if (!$block) { $content .= '
' . $stats->largestFamily() . '
'; } $content .= '
'; } if ($stat_avg_chil) { - $content .= '
' . I18N::translate('Average number of children per family') . '
' . $stats->averageChildren() . '
'; + $content .= '
' . I18N::translate('Average number of children per family') . '
' . $stats->averageChildren() . '
'; if (!$block) { $content .= '
'; } 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

getPageTitle(); ?>

- +

@@ -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,
-

+

@@ -389,7 +389,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface, -

+

@@ -433,7 +433,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface, -

+

@@ -648,7 +648,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,

- +

@@ -3977,7 +3977,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface, = $this->getSetting('GM_PRECISION_5')) echo 'checked' ?> value="getSetting('GM_PRECISION_5') ?>">

- +

@@ -4008,7 +4008,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,

- +

@@ -4027,7 +4027,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,

- +

@@ -4574,7 +4574,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,

- +

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#.

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#.

If you have any comments or feedback please contact #contactWebmaster#.'), I18N::translate('Statistics') => '
@@ -288,7 +288,7 @@ class HtmlBlockModule extends AbstractModule implements ModuleBlockInterface { } echo ''; if (!$html) { - echo '

', 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.'), '

'; + echo '

', 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.'), '

'; } echo ''; @@ -313,7 +313,7 @@ class HtmlBlockModule extends AbstractModule implements ModuleBlockInterface { echo '', I18N::translate('Content'); if (!$html) { - echo '

', 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 # characters. For example #totalFamilies# 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.'), '

'; + echo '

', 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 # characters. For example #totalFamilies# 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.'), '

'; } echo '', 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 ?> - + - + - + 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 '

', /* 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 www.sitemaps.org.') . + 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 www.sitemaps.org.') . '

', '

', I18N::translate('Which family trees should be included in the sitemaps?'), '

', '
', 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 = '
'; //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 .= '' . I18N::translate('Males') . '
' . $totals . '

'; } 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 .= ' 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 = ''; + $content = ''; $content .= ''; $content .= ''; if ($users) { @@ -136,7 +136,7 @@ class UserMessagesModule extends AbstractModule implements ModuleBlockInterface if ($user) { $content .= ' '; } - $content .= ''; + $content .= ''; } $content .= '
'; $content .= '

'; 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 -- cgit v1.3