1<?php use Fisharebest\Webtrees\I18N; ?> 2 3<?= view('components/breadcrumbs', ['links' => [route('admin-control-panel') => I18N::translate('Control panel'), route('admin-trees', ['ged' => $tree->name()]) => I18N::translate('Manage family trees '), $title]]) ?> 4 5<h1><?= $title ?></h1> 6 7<p> 8 <?= I18N::translate('In a family tree, each record has an internal reference number (called an “XREF”) such as “F123” or “R14”.') ?> 9</p> 10 11<p> 12 <?= I18N::translate('You can renumber the records in a family tree, so that these internal reference numbers are not duplicated in any other family tree.') ?> 13</p> 14 15<p> 16 <?= I18N::plural('This family tree has %s record which uses the same “XREF” as another family tree.', 'This family tree has %s records which use the same “XREF” as another family tree.', count($xrefs), I18N::number(count($xrefs))) ?> 17</p> 18 19<?php if (!empty($xrefs)) : ?> 20 <p> 21 <?= I18N::translate('You can renumber this family tree.') ?> 22 </p> 23 24 <form method="post"> 25 <?= csrf_field() ?> 26 <button type="submit" class="btn btn-primary"> 27 <?= view('icons/save') ?> 28 <?= /* I18N: A button label. */ 29 I18N::translate('continue') ?> 30 </button> 31 32 <?= I18N::translate('Caution! This may take a long time. Be patient.') ?> 33 </form> 34<?php endif ?> 35