summaryrefslogtreecommitdiff
path: root/admin_trees_manage.php
diff options
context:
space:
mode:
Diffstat (limited to 'admin_trees_manage.php')
-rw-r--r--admin_trees_manage.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/admin_trees_manage.php b/admin_trees_manage.php
index ca3a106cde..360340bbba 100644
--- a/admin_trees_manage.php
+++ b/admin_trees_manage.php
@@ -37,7 +37,7 @@ $controller
$multiple_tree_threshold = Site::getPreference('MULTIPLE_TREE_THRESHOLD') ?: 500;
// Note that glob() returns false instead of an empty array when open_basedir_restriction
-// is in force and no files are found. See PHP bug #47358.
+// is in force and no files are found. See PHP bug #47358.
if (defined('GLOB_BRACE')) {
$gedcom_files = glob(WT_DATA_DIR . '*.{ged,Ged,GED}', GLOB_NOSORT | GLOB_BRACE) ?: array();
} else {
@@ -195,7 +195,7 @@ case 'importform':
<p>
<?php echo /* I18N: %s is the name of a family tree */ I18N::translate('This will delete all the genealogy data from “%s” and replace it with data from a GEDCOM file.', $tree->getTitleHtml()); ?>
</p>
- <form class="form form-horizontal" name="gedcomimportform" method="post" enctype="multipart/form-data" onsubmit="return checkGedcomImportForm('<?php echo Filter::escapeHtml(I18N::translate('You have selected a GEDCOM file with a different name. Is this correct?')); ?>');">
+ <form class="form form-horizontal" name="gedcomimportform" method="post" enctype="multipart/form-data" onsubmit="return checkGedcomImportForm('<?php echo Filter::escapeHtml(I18N::translate('You have selected a GEDCOM file with a different name. Is this correct?')); ?>');">
<input type="hidden" name="gedcom_id" value="<?php echo $tree->getTreeId(); ?>">
<input type="hidden" id="gedcom_filename" value="<?php echo Filter::escapeHtml($gedcom_filename); ?>">
<?php echo Filter::getCsrf(); ?>
@@ -294,7 +294,7 @@ case 'importform':
value="<?php echo Filter::escapeHtml($WT_TREE->getPreference('GEDCOM_MEDIA_PATH')); ?>"
>
<p class="small text-muted">
- <?php echo /* I18N: Help text for the “GEDCOM media path” configuration setting. A “path” is something like “C:\Documents\Genealogy\Photos\John_Smith.jpeg” */ I18N::translate('Some genealogy software creates GEDCOM files that contain media filenames with full paths. These paths will not exist on the web-server. To allow webtrees to find the file, the first part of the path must be removed.'); ?>
+ <?php echo /* I18N: Help text for the “GEDCOM media path” configuration setting. A “path” is something like “C:\Documents\Genealogy\Photos\John_Smith.jpeg” */ I18N::translate('Some genealogy software creates GEDCOM files that contain media filenames with full paths. These paths will not exist on the web-server. To allow webtrees to find the file, the first part of the path must be removed.'); ?>
<?php echo /* I18N: Help text for the “GEDCOM media path” configuration setting. %s are all folder names */ I18N::translate('For example, if the GEDCOM file contains %1$s and webtrees expects to find %2$s in the media folder, then you would need to remove %3$s.', '<code>C:\\Documents\\family\\photo.jpeg</code>', '<code>family\\photo.jpeg</code>', '<code>C:\\Documents\\</code>'); ?>
</p>
</div>
@@ -664,7 +664,7 @@ if (count($all_trees) >= $multiple_tree_threshold) {
>
</div>
<p class="small text-muted">
- <?php echo I18N::translate('Avoid spaces and punctuation. A family name might be a good choice.'); ?>
+ <?php echo I18N::translate('Avoid spaces and punctuation. A family name might be a good choice.'); ?>
</p>
</div>
</div>
@@ -698,7 +698,7 @@ if (count($all_trees) >= $multiple_tree_threshold) {
<div id="pgv-import-wizard" class="panel-collapse collapse">
<div class="panel-body">
<p>
- <?php echo I18N::translate('The PhpGedView to webtrees wizard is an automated process to assist administrators make the move from a PhpGedView installation to a new webtrees one. It will transfer all PhpGedView GEDCOM and other database information directly to your new webtrees database. The following requirements are necessary:'); ?>
+ <?php echo I18N::translate('The PhpGedView to webtrees wizard is an automated process to assist administrators make the move from a PhpGedView installation to a new webtrees one. It will transfer all PhpGedView GEDCOM and other database information directly to your new webtrees database. The following requirements are necessary:'); ?>
</p>
<ul>
<li>
@@ -715,7 +715,7 @@ if (count($all_trees) >= $multiple_tree_threshold) {
</li>
</ul>
<p>
- <?php echo I18N::translate('<b>Important note:</b> The transfer wizard is not able to assist with moving media items. You will need to set up and move or copy your media configuration and objects separately after the transfer wizard is finished.'); ?>
+ <?php echo I18N::translate('<b>Important note:</b> The transfer wizard is not able to assist with moving media items. You will need to set up and move or copy your media configuration and objects separately after the transfer wizard is finished.'); ?>
</p>
<p>
<a href="admin_pgv_to_wt.php">
@@ -751,7 +751,7 @@ if (count($all_trees) >= $multiple_tree_threshold) {
<?php echo /* I18N: Button label */ I18N::translate('continue'); ?>
</button>
<p class="small text-muted">
- <?php echo I18N::translate('Caution! This may take a long time. Be patient.'); ?>
+ <?php echo I18N::translate('Caution! This may take a long time. Be patient.'); ?>
</p>
</form>
</div>