(admin) display current translation for comparison

This commit is contained in:
Andrea Vos 2023-10-18 19:09:28 +02:00
parent 4b1ab5cd98
commit 12fc460971

View File

@ -20,7 +20,8 @@
<tr>
<th>key</th>
<th>base</th>
<th>translation</th>
<th>current translation</th>
<th>new translation</th>
<th>author & status</th>
</tr>
</thead>
@ -28,14 +29,8 @@
<tr v-for="tp in translationProposals">
<td>{{tp.tKey}}</td>
<td>{{translator.get(tp.tKey, false, true)}}</td>
<td v-if="Array.isArray(tp.tValue)">
<ul>
<li v-for="el in tp.tValue">{{el}}</li>
</ul>
</td>
<td v-else>
{{tp.tValue}}
</td>
<td>{{$te(tp.tKey) ? $t(tp.tKey) : ''}}</td>
<td>{{tp.tValue}}</td>
<td>
<nuxt-link :to="`/@${tp.author}`">@{{tp.author}}</nuxt-link>
<br/>