translation fixes

This commit is contained in:
2022-03-15 21:26:56 +01:00
parent 7d728a72df
commit 98a40b0426

View File

@@ -72,12 +72,12 @@ export default {
<td
class="py-4 px-6 text-sm font-medium text-gray-900 whitespace-nowrap dark:text-white"
>
{{ t.string1 }}
{{ translation % 2 ? t.string1 : t.string2 }}
</td>
<td
class="py-4 px-6 text-sm text-gray-500 whitespace-nowrap dark:text-gray-400"
class="py-4 px-6 text-sm text-gray-500 whitespace-nowrap dark:text-gray-400" @click="this.$emit('search-term', translation % 2 ? t.string2 : t.string1)"
>
{{ t.string2 }}
{{ translation % 2 ? t.string2 : t.string1 }}
</td>
<td
class="py-4 px-6 text-sm text-gray-500 whitespace-nowrap dark:text-gray-400"
@@ -93,7 +93,7 @@ export default {
</div>
</div>
<div v-if="type == 1 && data != null" class="flex flex-col items-center justify-center mt-4">
<div v-if="type == 1 && data != null" class="flex flex-col items-center justify-center mt-4 mb-4">
<div
class="bg-gray-100 dark:bg-gray-700 py-3 px-6 text-xs font-medium tracking-wider text-left text-gray-700 uppercase dark:text-gray-400 md:w-1/2 border-b dark:border-slate-600 shadow-sm overflow-hidden"
>