summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-06-22 00:13:48 +0100
committerGreg Roach <fisharebest@gmail.com>2016-06-22 00:26:30 +0100
commit91e873d9b307ef6adcae869e1ff1a1704931f211 (patch)
tree6e52724f5d8a82fbcde92f136f90c091275bc232 /app
parentf6d17dc2a569b0163bdda900596030f303e7409d (diff)
downloadwebtrees-91e873d9b307ef6adcae869e1ff1a1704931f211.tar.gz
webtrees-91e873d9b307ef6adcae869e1ff1a1704931f211.tar.bz2
webtrees-91e873d9b307ef6adcae869e1ff1a1704931f211.zip
Fix #1005 - button labels
Diffstat (limited to 'app')
-rw-r--r--app/Module/ClippingsCartModule.php6
-rw-r--r--app/Module/GoogleMapsModule.php2
-rw-r--r--app/Module/SlideShowModule.php5
3 files changed, 7 insertions, 6 deletions
diff --git a/app/Module/ClippingsCartModule.php b/app/Module/ClippingsCartModule.php
index 6a870724b9..6ebc4bd25c 100644
--- a/app/Module/ClippingsCartModule.php
+++ b/app/Module/ClippingsCartModule.php
@@ -429,7 +429,7 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface,
<tr>
<td class="topbottombar" colspan="2">
- <input type="submit" value="<?php echo I18N::translate('Download'); ?>">
+ <input type="submit" value="<?php echo /* I18N: A button label. */ I18N::translate('download'); ?>">
</td>
</tr>
</table>
@@ -793,8 +793,8 @@ class ClippingsCartModule extends AbstractModule implements ModuleMenuInterface,
</td></tr>
<tr><td class="topbottombar" colspan="2">
- <input type="button" value="' . I18N::translate('Cancel') . '" onclick="cancelDownload();">
- <input type="submit" value="' . I18N::translate('Download') . '">
+ <input type="button" value="' . /* I18N: A button label. */ I18N::translate('cancel') . '" onclick="cancelDownload();">
+ <input type="submit" value="' . /* I18N: A button label. */ I18N::translate('download') . '">
</form>';
return $out;
diff --git a/app/Module/GoogleMapsModule.php b/app/Module/GoogleMapsModule.php
index 91c31d57fb..0df318ab2a 100644
--- a/app/Module/GoogleMapsModule.php
+++ b/app/Module/GoogleMapsModule.php
@@ -4211,7 +4211,7 @@ class GoogleMapsModule extends AbstractModule implements ModuleConfigInterface,
</div>
<button type="submit" class="btn btn-default">
<i class="fa fa-download"></i>
- <?php echo I18N::translate('Download') ?>
+ <?php echo /* I18N: A button label. */ I18N::translate('download') ?>
</button>
</div>
</div>
diff --git a/app/Module/SlideShowModule.php b/app/Module/SlideShowModule.php
index befb2c35ac..9fa39f2373 100644
--- a/app/Module/SlideShowModule.php
+++ b/app/Module/SlideShowModule.php
@@ -296,9 +296,10 @@ class SlideShowModule extends AbstractModule implements ModuleBlockInterface {
'video' => $this->getBlockSetting($block_id, 'filter_video', '0'),
);
- echo '<tr><td class="descriptionbox wrap width33">';
- echo I18N::translate('Filter');
?>
+ <tr>
+ <td class="descriptionbox wrap width33">
+ <?php echo I18N::translate('Filter'); ?>
</td>
<td class="optionbox">
<center><b><?php echo GedcomTag::getLabel('FORM'); ?></b></center>