From a4d5a9c24f66fd86132e247b7cf9d517c291ae50 Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sat, 16 Apr 2016 15:25:17 +0100 Subject: Labels are not questions --- app/Module/FamilyTreeStatisticsModule.php | 4 ++-- app/Module/FrequentlyAskedQuestionsModule.php | 2 +- app/Module/HtmlBlockModule.php | 2 +- app/Module/OnThisDayModule.php | 8 ++++---- app/Module/ReviewChangesModule.php | 2 +- app/Module/SiteMapModule.php | 2 +- app/Module/SlideShowModule.php | 6 +++--- app/Module/StoriesModule.php | 2 +- app/Module/TopPageViewsModule.php | 4 ++-- app/Module/UpcomingAnniversariesModule.php | 4 ++-- 10 files changed, 18 insertions(+), 18 deletions(-) (limited to 'app/Module') 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 + I18N::translate('Show date of last update') ?> @@ -297,7 +297,7 @@ class FamilyTreeStatisticsModule extends AbstractModule implements ModuleBlockIn - + 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
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 ''; echo ''; - echo I18N::translate('Show this block for which languages?'); + echo I18N::translate('Show this block for which languages'); echo ''; echo FunctionsEdit::editLanguageCheckboxes('lang', $languages); echo ''; 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 ''; - 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 ''; echo FunctionsEdit::editFieldYesNo('filter', $filter); echo ''; echo ''; - 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 ''; echo FunctionsEdit::editFieldYesNo('onlyBDM', $onlyBDM); echo ''; echo ''; - echo I18N::translate('Presentation style'); + echo /* I18N: Label for a configuration option */ I18N::translate('Presentation style'); echo ''; echo FunctionsEdit::selectEditControl('infoStyle', array('list' => I18N::translate('list'), 'table' => I18N::translate('table')), null, $infoStyle, ''); echo ''; echo ''; - echo I18N::translate('Sort order'); + echo /* I18N: Label for a configuration option */ I18N::translate('Sort order'); echo ''; 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 '; - echo I18N::translate('Send out reminder emails?'); + echo /* I18N: Label for a configuration option */ I18N::translate('Send out reminder emails'); echo ''; echo FunctionsEdit::editFieldYesNo('sendmail', $sendmail); echo '
'; 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 www.sitemaps.org.') . '

', - '

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

', + '

', /* I18N: Label for a configuration option */ I18N::translate('Which family trees should be included in the sitemaps'), '

', '
', ''; 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 ''; - 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 ''; echo FunctionsEdit::selectEditControl('filter', array('indi' => I18N::translate('Individuals'), 'event' => I18N::translate('Facts and events'), 'all' => I18N::translate('All')), null, $filter, ''); echo ''; @@ -405,13 +405,13 @@ class SlideShowModule extends AbstractModule implements ModuleBlockInterface { '; - echo I18N::translate('Show slide show controls?'); + echo /* I18N: Label for a configuration option */ I18N::translate('Show slide show controls'); echo ''; echo FunctionsEdit::editFieldYesNo('controls', $controls); echo ''; echo ''; - 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 ''; echo FunctionsEdit::editFieldYesNo('start', $start); echo ''; 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
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 ''; - echo I18N::translate('Number of items to show'); + echo /* I18N: Label for a configuration option */ I18N::translate('Number of items to show'); echo ''; echo ''; echo ''; echo ""; - 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 ""; echo FunctionsEdit::selectEditControl('count_placement', array('before' => I18N::translate('before'), 'after' => I18N::translate('after')), null, $count_placement, ''); echo ''; 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 ''; echo ''; - echo I18N::translate('Show only events of living individuals?'); + echo I18N::translate('Show only events of living individuals'); echo ''; echo FunctionsEdit::editFieldYesNo('filter', $filter); echo ''; echo ''; - echo I18N::translate('Show only births, deaths, and marriages?'); + echo I18N::translate('Show only births, deaths, and marriages'); echo ''; echo FunctionsEdit::editFieldYesNo('onlyBDM', $onlyBDM); echo ''; -- cgit v1.3