1
0
mirror of https://github.com/donaldzou/WGDashboard.git synced 2024-11-22 07:10:09 +01:00

Updated Translation

This commit is contained in:
Donald Zou 2024-10-05 15:38:56 +08:00
parent e344f28265
commit 5e1769b81f
5 changed files with 49 additions and 29 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -145,7 +145,9 @@ export default {
<LocaleText t="Sort by"></LocaleText>
</small></p>
<div class="list-group">
<a v-for="(value, key) in this.sort" class="list-group-item list-group-item-action d-flex" role="button" @click="this.updateSort(key)">
<a v-for="(value, key) in this.sort" class="list-group-item list-group-item-action d-flex"
role="button"
@click="this.updateSort(key)">
<span class="me-auto">{{value}}</span>
<i class="bi bi-check text-primary"
v-if="store.Configuration.Server.dashboard_sort === key"></i>

View File

@ -82,9 +82,13 @@ export default {
</h6>
<ul class="nav flex-column px-2">
<li class="nav-item">
<RouterLink to="/ping" class="nav-link rounded-3" active-class="active">Ping</RouterLink></li>
<RouterLink to="/ping" class="nav-link rounded-3" active-class="active">
<LocaleText t="Ping"></LocaleText>
</RouterLink></li>
<li class="nav-item">
<RouterLink to="/traceroute" class="nav-link rounded-3" active-class="active">Traceroute</RouterLink>
<RouterLink to="/traceroute" class="nav-link rounded-3" active-class="active">
<LocaleText t="Traceroute"></LocaleText>
</RouterLink>
</li>
</ul>
<hr class="text-body">

View File

@ -43,7 +43,9 @@ export default {
<template>
<div class="mt-md-5 mt-3 text-body">
<div class="container-md">
<h3 class="mb-3 text-body">Traceroute</h3>
<h3 class="mb-3 text-body">
<LocaleText t="Traceroute"></LocaleText>
</h3>
<div class="d-flex gap-2 flex-column mb-5">
<div>
<label class="mb-1 text-muted" for="ipAddress">
@ -91,12 +93,24 @@ export default {
<table class="table table-sm rounded-3 w-100">
<thead>
<tr>
<th scope="col">Hop</th>
<th scope="col">IP Address</th>
<th scope="col">Average RTT (ms)</th>
<th scope="col">Min RTT (ms)</th>
<th scope="col">Max RTT (ms)</th>
<th scope="col">Geolocation</th>
<th scope="col">
<LocaleText t="Hop"></LocaleText>
</th>
<th scope="col">
<LocaleText t="IP Address"></LocaleText>
</th>
<th scope="col">
<LocaleText t="Average RTT (ms)"></LocaleText>
</th>
<th scope="col">
<LocaleText t="Min RTT (ms)"></LocaleText>
</th>
<th scope="col">
<LocaleText t="Max RTT (ms)"></LocaleText>
</th>
<th scope="col">
<LocaleText t="Geolocation"></LocaleText>
</th>
</tr>
</thead>
<tbody>