/webtrees/app/Services/ |
H A D | RelationshipService.php | 1436 return I18N::translate('great ×%s uncle', I18N::number($up - 4)); 1440 return I18N::translate('great ×%s aunt', I18N::number($up - 4)); 1443 return I18N::translate('great ×%s aunt/uncle', I18N::number($up - 4)); 1448 …:translateContext('great ×(%s-1) grandfather’s brother', 'great ×%s uncle', I18N::number($up - 2)); 1452 …:translateContext('great ×(%s-1) grandmother’s brother', 'great ×%s uncle', I18N::number($up - 2)); 1455 …:translateContext('great ×(%s-1) grandparent’s brother', 'great ×%s uncle', I18N::number($up - 2)); 1459 return I18N::translate('great ×%s aunt', I18N::number($up - 2)); 1462 return I18N::translate('great ×%s aunt/uncle', I18N::number($up - 2)); 1467 return I18N::translate('great ×%s uncle', I18N::number($up + 1)); 1471 return I18N::translate('great ×%s aunt', I18N::number($up + 1)); [all …]
|
H A D | RomanNumeralsService.php | 51 * @param int $number 55 public function numberToRomanNumerals(int $number): string argument 57 if ($number < 1) { 59 return (string) $number; 63 while ($number >= $key) { 65 $number -= $key;
|
H A D | MediaFileService.php | 92 return I18N::translate('%s KB', I18N::number($kb)); 104 $number = (int) $size; 115 $number *= $units[substr($size, -1)] ?? 1; 117 if (is_float($number)) { 122 return $number;
|
/webtrees/resources/views/admin/ |
H A D | control-panel.phtml | 298 <?= I18N::number($all_trees->count()) ?> 366 <?= I18N::number($changes[$tree->id()]) ?> 376 …<a href="<?= e($individual_list_module->listUrl($tree)) ?>"><?= I18N::number($individuals[$tree->i… 378 <?= I18N::number($individuals[$tree->id()]) ?> 387 …<a href="<?= e($family_list_module->listUrl($tree)) ?>"><?= I18N::number($families[$tree->id()]) ?… 389 <?= I18N::number($families[$tree->id()]) ?> 398 …<a href="<?= e($source_list_module->listUrl($tree)) ?>"><?= I18N::number($sources[$tree->id()]) ?>… 400 <?= I18N::number($sources[$tree->id()]) ?> 409 …<a href="<?= e($repository_list_module->listUrl($tree)) ?>"><?= I18N::number($repositories[$tree->… 411 <?= I18N::number($repositories[$tree->id()]) ?> [all …]
|
H A D | locations.phtml | 65 <?= I18N::number($place->no_coord) ?> 67 <?= I18N::number($place->child_count) ?> 71 <?= I18N::number($place->child_count) ?> 111 …('%s family tree', '%s family trees', count($active[$place->key]), I18N::number(count($active[$pla…
|
/webtrees/app/Elements/ |
H A D | ResearchTaskPriority.php | 51 0 => I18N::translate(I18N::number(0)), 52 1 => I18N::translate(I18N::number(1)), 53 2 => I18N::translate(I18N::number(2)), 54 3 => I18N::translate(I18N::number(3)), 55 4 => I18N::translate(I18N::number(4)), 56 5 => I18N::translate(I18N::number(5)), 57 6 => I18N::translate(I18N::number(6)), 58 7 => I18N::translate(I18N::number(7)), 59 8 => I18N::translate(I18N::number(8)),
|
H A D | AgeAtEvent.php | 100 …ay $match) => I18N::plural('%s year', '%s years', (int) $match[1], I18N::number((float) $match[1])… 101 … $match) => I18N::plural('%s month', '%s months', (int) $match[1], I18N::number((float) $match[1])… 102 …ay $match) => I18N::plural('%s week', '%s weeks', (int) $match[1], I18N::number((float) $match[1])… 103 …rray $match) => I18N::plural('%s day', '%s days', (int) $match[1], I18N::number((float) $match[1])…
|
/webtrees/resources/views/lists/ |
H A D | datatables-attributes.phtml | 12 …00, 500, 1000, -1], [I18N::number(10), I18N::number(20), I18N::number(50), I18N::number(100), I18N… 27 …> I18N::translate('Showing %1$s to %2$s of %3$s', I18N::number(0), I18N::number(0), I18N::number(0…
|
H A D | notes-table.phtml | 112 <?= I18N::number($count_individuals[$note->xref()] ?? 0) ?> 117 <?= I18N::number($count_families[$note->xref()] ?? 0) ?> 122 <?= I18N::number($count_media[$note->xref()] ?? 0) ?> 127 <?= I18N::number($count_sources[$note->xref()] ?? 0) ?>
|
H A D | sources-table.phtml | 135 <?= I18N::number($count_individuals[$source->xref()] ?? 0) ?> 140 <?= I18N::number($count_families[$source->xref()] ?? 0) ?> 145 <?= I18N::number($count_media[$source->xref()] ?? 0) ?> 150 <?= I18N::number($count_notes[$source->xref()] ?? 0) ?>
|
H A D | media-table.phtml | 107 <?= I18N::number($count_individuals[$media_object->xref()] ?? 0) ?> 112 <?= I18N::number($count_families[$media_object->xref()] ?? 0) ?> 117 <?= I18N::number($count_sources[$media_object->xref()] ?? 0) ?>
|
/webtrees/resources/views/modules/statistics-chart/ |
H A D | custom.phtml | 101 … interval %2$s year', 'from %1$s interval %2$s years', 50, I18N::digits(1700), I18N::number(50)) ?> 104 … interval %2$s year', 'from %1$s interval %2$s years', 40, I18N::digits(1800), I18N::number(40)) ?> 107 … interval %2$s year', 'from %1$s interval %2$s years', 50, I18N::digits(1800), I18N::number(50)) ?> 110 … interval %2$s year', 'from %1$s interval %2$s years', 20, I18N::digits(1900), I18N::number(20)) ?> 113 … interval %2$s year', 'from %1$s interval %2$s years', 25, I18N::digits(1900), I18N::number(25)) ?> 116 … interval %2$s year', 'from %1$s interval %2$s years', 10, I18N::digits(1940), I18N::number(10)) ?> 141 …number(10)), '5,20,40,60,75,80,85,90' => I18N::plural('%s year', '%s years', 20, I18N::number(20))… 150 …'%s year', '%s years', 2, I18N::number(2)), '20,25,30,35,40,45,50' => I18N::plural('%s year', '%s …
|
/webtrees/app/Statistics/Repository/ |
H A D | IndividualRepository.php | 172 $value = '<bdi>' . e($key) . '</bdi> (' . I18N::number((int) $value) . ')'; 467 return I18N::number($count); 493 return I18N::number($count); 864 return I18N::number((int) ($row->days / 365.25)); 971 return I18N::plural('%s day', '%s days', $days, I18N::number($days)); 976 return I18N::plural('%s month', '%s months', $months, I18N::number($months)); 981 return I18N::plural('%s year', '%s years', $years, I18N::number($years)); 1292 return I18N::number((int) ($days / 365.25)); 1560 return I18N::number($this->totalRecordsQuery()); 1568 return I18N::number($this->totalIndividualsQuery()); [all …]
|
H A D | NewsRepository.php | 48 $number = DB::table('news') 52 return I18N::number($number); 60 $number = DB::table('news') 64 return I18N::number($number);
|
H A D | UserRepository.php | 85 …ymous signed-in user', '%s anonymous signed-in users', $anonymous, I18N::number($anonymous)) . '</… 96 …lural('%s signed-in user', '%s signed-in users', $count_logged_in, I18N::number($count_logged_in))… 261 return I18N::number($this->getUserCount()); 269 return I18N::number($this->getAdminCount()); 277 return I18N::number($this->getUserCount() - $this->getAdminCount());
|
H A D | FamilyRepository.php | 104 return I18N::number((int) $row->f_numchil); 239 return I18N::number($this->noChildrenFamiliesQuery()); 347 return I18N::plural('%s day', '%s days', $age, I18N::number($age)); 353 return I18N::plural('%s month', '%s months', $months, I18N::number($months)); 358 return I18N::plural('%s year', '%s years', $years, I18N::number($years)); 601 return I18N::number($total); 615 return I18N::number($average, 2); 770 return I18N::number($n); 786 return I18N::number($n); 1514 $result = I18N::number((int) ($age / 365.25));
|
/webtrees/resources/views/ |
H A D | fact-parent-age.phtml | 19 … <small><?= view('icons/sex', ['sex' => $sex]) ?></small><?= I18N::number($age->ageYears()) ?> 23 … <small><?= view('icons/sex', ['sex' => $sex]) ?></small><?= I18N::number($age->ageYears()) ?> 29 … <small><?= view('icons/sex', ['sex' => $sex]) ?></small><?= I18N::number($age->ageYears()) ?> 33 … <small><?= view('icons/sex', ['sex' => $sex]) ?></small><?= I18N::number($age->ageYears()) ?> 39 … <small><?= view('icons/sex', ['sex' => $sex]) ?></small><?= I18N::number($age->ageYears()) ?> 43 … <small><?= view('icons/sex', ['sex' => $sex]) ?></small><?= I18N::number($age->ageYears()) ?>
|
H A D | search-results.phtml | 41 <?= I18N::number(count($individuals)) ?> 52 <?= I18N::number(count($families)) ?> 63 <?= I18N::number(count($sources)) ?> 74 <?= I18N::number(count($repositories)) ?> 85 <?= I18N::number(count($notes)) ?> 96 <?= I18N::number(count($locations)) ?>
|
H A D | pending-changes-page.phtml | 26 …:translate('Showing %1$s to %2$s of %3$s', I18N::number(1), I18N::number(count($changes)), I18N::n…
|
/webtrees/app/Http/RequestHandlers/ |
H A D | SearchReplaceAction.php | 69 …individual has been updated.', '%s individuals have been updated.', $count, I18N::number($count))); 73 …al('%s family has been updated.', '%s families have been updated.', $count, I18N::number($count))); 77 …epository has been updated.', '%s repositories have been updated.', $count, I18N::number($count))); 81 …ral('%s source has been updated.', '%s sources have been updated.', $count, I18N::number($count))); 85 …:plural('%s note has been updated.', '%s notes have been updated.', $count, I18N::number($count))); 95 …individual has been updated.', '%s individuals have been updated.', $count, I18N::number($count))); 101 …individual has been updated.', '%s individuals have been updated.', $count, I18N::number($count))); 105 …al('%s family has been updated.', '%s families have been updated.', $count, I18N::number($count)));
|
H A D | SearchAdvancedPage.php | 238 1 => I18N::plural('±%s year', '±%s years', 1, I18N::number(1)), 239 2 => I18N::plural('±%s year', '±%s years', 2, I18N::number(2)), 240 5 => I18N::plural('±%s year', '±%s years', 5, I18N::number(5)), 241 10 => I18N::plural('±%s year', '±%s years', 10, I18N::number(10)), 242 20 => I18N::plural('±%s year', '±%s years', 20, I18N::number(20)),
|
H A D | SetupWizard.php | 232 $number = (int) $memory_limit; 237 return $number * 1024; 240 return $number; 243 return (int) ($number / 1024); 245 return (int) ($number / 1048576);
|
H A D | UpgradeWizardStep.php | 236 $kb = I18N::number(intdiv($bytes + 1023, 1024)); 238 $seconds = I18N::number($end_time - $start_time, 2); 259 $seconds = I18N::number($end_time - $start_time, 2); 262 …s seconds.', '%1$s files were extracted in %2$s seconds.', $count, I18N::number($count), $seconds);
|
/webtrees/app/ |
H A D | Age.php | 90 return I18N::plural('%s year', '%s years', $this->years, I18N::number($this->years)); 94 … return I18N::plural('%s month', '%s months', $this->months, I18N::number($this->months)); 98 return I18N::plural('%s day', '%s days', $this->days, I18N::number($this->days)); 101 return I18N::number(0); 150 return I18N::number($this->years);
|
/webtrees/resources/views/modules/place-hierarchy/ |
H A D | sidebar.phtml | 47 … <div class="col-sm-3 align-digits"><?= I18N::number($stats[Individual::RECORD_TYPE]) ?></div> 53 … <div class="col-sm-3 align-digits"><?= I18N::number($stats[Family::RECORD_TYPE]) ?></div> 60 … <div class="col-sm-3 align-digits"><?= I18N::number($stats[Location::RECORD_TYPE]) ?></div>
|