summaryrefslogtreecommitdiff
path: root/app/Module
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-04-16 15:25:17 +0100
committerGreg Roach <fisharebest@gmail.com>2016-04-16 15:25:32 +0100
commita4d5a9c24f66fd86132e247b7cf9d517c291ae50 (patch)
tree7bf97db6691caedc7f39c251402ca6c52a8f4138 /app/Module
parent07999e63a5311d98c038afff042adb45b85f4690 (diff)
downloadwebtrees-a4d5a9c24f66fd86132e247b7cf9d517c291ae50.tar.gz
webtrees-a4d5a9c24f66fd86132e247b7cf9d517c291ae50.tar.bz2
webtrees-a4d5a9c24f66fd86132e247b7cf9d517c291ae50.zip
Labels are not questions
Diffstat (limited to 'app/Module')
-rw-r--r--app/Module/FamilyTreeStatisticsModule.php4
-rw-r--r--app/Module/FrequentlyAskedQuestionsModule.php2
-rw-r--r--app/Module/HtmlBlockModule.php2
-rw-r--r--app/Module/OnThisDayModule.php8
-rw-r--r--app/Module/ReviewChangesModule.php2
-rw-r--r--app/Module/SiteMapModule.php2
-rw-r--r--app/Module/SlideShowModule.php6
-rw-r--r--app/Module/StoriesModule.php2
-rw-r--r--app/Module/TopPageViewsModule.php4
-rw-r--r--app/Module/UpcomingAnniversariesModule.php4
10 files changed, 18 insertions, 18 deletions
diff --git a/app/Module/FamilyTreeStatisticsModule.php b/app/Module/FamilyTreeStatisticsModule.php
index 67a19980f9..16b507610f 100644
--- a/app/Module/FamilyTreeStatisticsModule.php
+++ b/app/Module/FamilyTreeStatisticsModule.php
@@ -289,7 +289,7 @@ class FamilyTreeStatisticsModule extends AbstractModule implements ModuleBlockIn
<tr>
<td class="descriptionbox wrap width33">
<?php echo /* I18N: label for yes/no option */
- I18N::translate('Show date of last update?') ?>
+ I18N::translate('Show date of last update') ?>
</td>
<td class="optionbox">
<?php echo FunctionsEdit::editFieldYesNo('show_last_update', $show_last_update) ?>
@@ -297,7 +297,7 @@ class FamilyTreeStatisticsModule extends AbstractModule implements ModuleBlockIn
</tr>
<tr>
<td class="descriptionbox wrap width33">
- <?php echo I18N::translate('Show common surnames?') ?>
+ <?php echo I18N::translate('Show common surnames') ?>
</td>
<td class="optionbox">
<?php echo FunctionsEdit::editFieldYesNo('show_common_surnames', $show_common_surnames) ?>
diff --git a/app/Module/FrequentlyAskedQuestionsModule.php b/app/Module/FrequentlyAskedQuestionsModule.php
index 21e548643e..fcac6b9a84 100644
--- a/app/Module/FrequentlyAskedQuestionsModule.php
+++ b/app/Module/FrequentlyAskedQuestionsModule.php
@@ -194,7 +194,7 @@ class FrequentlyAskedQuestionsModule extends AbstractModule implements ModuleMen
<div class="form-group">
<label for="xref" class="col-sm-3 control-label">
- <?php echo I18N::translate('Show this block for which languages?'); ?>
+ <?php echo /* I18N: Label for a configuration option */ I18N::translate('Show this block for which languages'); ?>
</label>
<div class="col-sm-9">
diff --git a/app/Module/HtmlBlockModule.php b/app/Module/HtmlBlockModule.php
index e25cfd7a7f..518f0bb51a 100644
--- a/app/Module/HtmlBlockModule.php
+++ b/app/Module/HtmlBlockModule.php
@@ -329,7 +329,7 @@ class HtmlBlockModule extends AbstractModule implements ModuleBlockInterface {
echo '</td></tr>';
echo '<tr><td class="descriptionbox wrap">';
- echo I18N::translate('Show this block for which languages?');
+ echo I18N::translate('Show this block for which languages');
echo '</td><td class="optionbox">';
echo FunctionsEdit::editLanguageCheckboxes('lang', $languages);
echo '</td></tr>';
diff --git a/app/Module/OnThisDayModule.php b/app/Module/OnThisDayModule.php
index 8a9ebe7f07..de10c352e3 100644
--- a/app/Module/OnThisDayModule.php
+++ b/app/Module/OnThisDayModule.php
@@ -132,25 +132,25 @@ class OnThisDayModule extends AbstractModule implements ModuleBlockInterface {
$block = $this->getBlockSetting($block_id, 'block', '1');
echo '<tr><td class="descriptionbox wrap width33">';
- echo I18N::translate('Show only events of living individuals?');
+ echo /* I18N: Label for a configuration option */ I18N::translate('Show only events of living individuals');
echo '</td><td class="optionbox">';
echo FunctionsEdit::editFieldYesNo('filter', $filter);
echo '</td></tr>';
echo '<tr><td class="descriptionbox wrap width33">';
- echo I18N::translate('Show only births, deaths, and marriages?');
+ echo /* I18N: Label for a configuration option */ I18N::translate('Show only births, deaths, and marriages');
echo '</td><td class="optionbox">';
echo FunctionsEdit::editFieldYesNo('onlyBDM', $onlyBDM);
echo '</td></tr>';
echo '<tr><td class="descriptionbox wrap width33">';
- echo I18N::translate('Presentation style');
+ echo /* I18N: Label for a configuration option */ I18N::translate('Presentation style');
echo '</td><td class="optionbox">';
echo FunctionsEdit::selectEditControl('infoStyle', array('list' => I18N::translate('list'), 'table' => I18N::translate('table')), null, $infoStyle, '');
echo '</td></tr>';
echo '<tr><td class="descriptionbox wrap width33">';
- echo I18N::translate('Sort order');
+ echo /* I18N: Label for a configuration option */ I18N::translate('Sort order');
echo '</td><td class="optionbox">';
echo FunctionsEdit::selectEditControl('sortStyle', array(
/* I18N: An option in a list-box */ 'alpha' => I18N::translate('sort by name'),
diff --git a/app/Module/ReviewChangesModule.php b/app/Module/ReviewChangesModule.php
index 66dbcf597a..38be7f9d1c 100644
--- a/app/Module/ReviewChangesModule.php
+++ b/app/Module/ReviewChangesModule.php
@@ -182,7 +182,7 @@ class ReviewChangesModule extends AbstractModule implements ModuleBlockInterface
<?php
echo '<tr><td class="descriptionbox wrap width33">';
- echo I18N::translate('Send out reminder emails?');
+ echo /* I18N: Label for a configuration option */ I18N::translate('Send out reminder emails');
echo '</td><td class="optionbox">';
echo FunctionsEdit::editFieldYesNo('sendmail', $sendmail);
echo '<br>';
diff --git a/app/Module/SiteMapModule.php b/app/Module/SiteMapModule.php
index 23913a1ff7..5c4b4cb907 100644
--- a/app/Module/SiteMapModule.php
+++ b/app/Module/SiteMapModule.php
@@ -305,7 +305,7 @@ class SiteMapModule extends AbstractModule implements ModuleConfigInterface {
/* 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>.') .
'</p>',
- '<p>', I18N::translate('Which family trees should be included in the sitemaps?'), '</p>',
+ '<p>', /* I18N: Label for a configuration option */ 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">',
'<input type="hidden" name="action" value="save">';
foreach (Tree::getAll() as $tree) {
diff --git a/app/Module/SlideShowModule.php b/app/Module/SlideShowModule.php
index 8541ba821c..341f967d2e 100644
--- a/app/Module/SlideShowModule.php
+++ b/app/Module/SlideShowModule.php
@@ -259,7 +259,7 @@ class SlideShowModule extends AbstractModule implements ModuleBlockInterface {
$start = $this->getBlockSetting($block_id, 'start', '0') || Filter::getBool('start');
echo '<tr><td class="descriptionbox wrap width33">';
- echo I18N::translate('Show only individuals, events, or all?');
+ echo /* I18N: Label for a configuration option */ I18N::translate('Show only individuals, events, or all');
echo '</td><td class="optionbox">';
echo FunctionsEdit::selectEditControl('filter', array('indi' => I18N::translate('Individuals'), 'event' => I18N::translate('Facts and events'), 'all' => I18N::translate('All')), null, $filter, '');
echo '</td></tr>';
@@ -405,13 +405,13 @@ class SlideShowModule extends AbstractModule implements ModuleBlockInterface {
<?php
echo '<tr><td class="descriptionbox wrap width33">';
- echo I18N::translate('Show slide show controls?');
+ echo /* I18N: Label for a configuration option */ I18N::translate('Show slide show controls');
echo '</td><td class="optionbox">';
echo FunctionsEdit::editFieldYesNo('controls', $controls);
echo '</td></tr>';
echo '<tr><td class="descriptionbox wrap width33">';
- echo I18N::translate('Start slide show on page load?');
+ echo /* I18N: Label for a configuration option */ I18N::translate('Start slide show on page load');
echo '</td><td class="optionbox">';
echo FunctionsEdit::editFieldYesNo('start', $start);
echo '</td></tr>';
diff --git a/app/Module/StoriesModule.php b/app/Module/StoriesModule.php
index 87dd6f9060..3dd7c10708 100644
--- a/app/Module/StoriesModule.php
+++ b/app/Module/StoriesModule.php
@@ -256,7 +256,7 @@ class StoriesModule extends AbstractModule implements ModuleTabInterface, Module
<div class="form-group">
<label for="xref" class="col-sm-3 control-label">
- <?php echo I18N::translate('Show this block for which languages?'); ?>
+ <?php echo I18N::translate('Show this block for which languages'); ?>
</label>
<div class="col-sm-9">
<?php echo FunctionsEdit::editLanguageCheckboxes('lang', explode(',', $this->getBlockSetting($block_id, 'languages'))); ?>
diff --git a/app/Module/TopPageViewsModule.php b/app/Module/TopPageViewsModule.php
index c6d4ba34f0..669667347f 100644
--- a/app/Module/TopPageViewsModule.php
+++ b/app/Module/TopPageViewsModule.php
@@ -156,13 +156,13 @@ class TopPageViewsModule extends AbstractModule implements ModuleBlockInterface
$count_placement = $this->getBlockSetting($block_id, 'count_placement', 'before');
echo '<tr><td class="descriptionbox wrap width33">';
- echo I18N::translate('Number of items to show');
+ echo /* I18N: Label for a configuration option */ I18N::translate('Number of items to show');
echo '</td><td class="optionbox">';
echo '<input type="text" name="num" size="2" value="', $num, '">';
echo '</td></tr>';
echo "<tr><td class=\"descriptionbox wrap width33\">";
- echo I18N::translate('Place counts before or after name?');
+ echo /* I18N: Label for a configuration option */ I18N::translate('Show counts before or after name');
echo "</td><td class=\"optionbox\">";
echo FunctionsEdit::selectEditControl('count_placement', array('before' => I18N::translate('before'), 'after' => I18N::translate('after')), null, $count_placement, '');
echo '</td></tr>';
diff --git a/app/Module/UpcomingAnniversariesModule.php b/app/Module/UpcomingAnniversariesModule.php
index c768c5cb93..f78fecd4a3 100644
--- a/app/Module/UpcomingAnniversariesModule.php
+++ b/app/Module/UpcomingAnniversariesModule.php
@@ -151,13 +151,13 @@ class UpcomingAnniversariesModule extends AbstractModule implements ModuleBlockI
echo '</td></tr>';
echo '<tr><td class="descriptionbox wrap width33">';
- echo I18N::translate('Show only events of living individuals?');
+ echo I18N::translate('Show only events of living individuals');
echo '</td><td class="optionbox">';
echo FunctionsEdit::editFieldYesNo('filter', $filter);
echo '</td></tr>';
echo '<tr><td class="descriptionbox wrap width33">';
- echo I18N::translate('Show only births, deaths, and marriages?');
+ echo I18N::translate('Show only births, deaths, and marriages');
echo '</td><td class="optionbox">';
echo FunctionsEdit::editFieldYesNo('onlyBDM', $onlyBDM);
echo '</td></tr>';