diff options
Diffstat (limited to 'app/Module/TopGivenNamesModule.php')
| -rw-r--r-- | app/Module/TopGivenNamesModule.php | 8 |
1 files changed, 4 insertions, 4 deletions
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"> |
