-
resources/lang/en_US/stats.php
Open in GitHubreturn [ 'stats' => 'Statistics', 'total_links' => 'Total Links', 'total_lists' => 'Total Lists', 'total_tags' => 'Total Tags', 'total_notes' => 'Total Notes', 'total_broken_links' => 'Broken Links', ];
-
resources/lang/fr_FR/stats.php
Open in GitHubreturn [ 'stats' => 'Statistiques', 'total_links' => 'Total Liens', 'total_lists' => 'Total Listes', 'total_tags' => 'Total Étiquettes', 'total_notes' => 'Total Notes', 'total_broken_links' => 'Liens Cassés', ];
-
resources/views/dashboard.blade.php
Open in GitHub// ... <div class="card mt-4"> <div class="card-header"> @lang('stats.stats') </div> <ul class="list-group list-group-flush"> <li class="list-group-item"> <div class="d-flex align-items-center"> <span class="mr-1">@lang('stats.total_links')</span> <span class="badge badge-secondary ml-auto">{{ $stats['total_links'] }}</span> </div> </li> <li class="list-group-item"> <div class="d-flex align-items-center"> <span class="mr-1">@lang('stats.total_lists')</span> <span class="badge badge-secondary ml-auto">{{ $stats['total_lists'] }}</span> </div> </li> <li class="list-group-item"> <div class="d-flex align-items-center"> <span class="mr-1">@lang('stats.total_tags')</span> <span class="badge badge-secondary ml-auto">{{ $stats['total_tags'] }}</span> </div> </li> <li class="list-group-item"> <div class="d-flex align-items-center"> <span class="mr-1">@lang('stats.total_notes')</span> <span class="badge badge-secondary ml-auto">{{ $stats['total_notes'] }}</span> </div> </li> <li class="list-group-item"> <div class="d-flex align-items-center"> <span class="mr-1">@lang('stats.total_broken_links')</span> <form action="{{ route('do-search') }}" method="post" class="d-inline-block ml-auto"> @csrf <input type="hidden" name="broken_only" value="on"> <button type="submit" class="badge border-0 {{ $stats['total_broken_links'] > 0 ? 'badge-danger' : 'badge-secondary' }}"> {{ $stats['total_broken_links'] }} </button> </form> </div> </li> </ul> </div> // ...
-
resources/lang/en.json
Open in GitHub{ // "Latest Patch Release": "Latest Patch Release", // }