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> <LocaleText t="Sort by"></LocaleText>
</small></p> </small></p>
<div class="list-group"> <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> <span class="me-auto">{{value}}</span>
<i class="bi bi-check text-primary" <i class="bi bi-check text-primary"
v-if="store.Configuration.Server.dashboard_sort === key"></i> v-if="store.Configuration.Server.dashboard_sort === key"></i>

View File

@ -82,9 +82,13 @@ export default {
</h6> </h6>
<ul class="nav flex-column px-2"> <ul class="nav flex-column px-2">
<li class="nav-item"> <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"> <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> </li>
</ul> </ul>
<hr class="text-body"> <hr class="text-body">

View File

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