Skip to content

Commit fc6ff78

Browse files
committed
2 parents 2c62b8c + f7e8457 commit fc6ff78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

custom/TranslationJobViewComponent.vue

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11

22
<template>
3-
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4 my-3 mt-9">
3+
<div class="grid grid-cols-1 sm:grid-cols-2 gap-4 my-3 mt-5">
44
<div class="flex items-center space-x-1">
5-
<span class=" text-gray-500">{{ t('Total tokens will be used for translation:') }}</span>
5+
<span class="text-gray-300">{{ t('Total tokens will be used for translation:') }}</span>
66
<span class="text-lg font-semibold text-gray-900 dark:text-gray-100">{{ new Number(props.job.state?.totalTranslationTokenCost).toLocaleString() || 0 }}</span>
77
</div>
88
<div class="flex items-center space-x-1">
9-
<span class=" text-gray-500">{{ t('Total translation token used:') }}</span>
9+
<span class="text-gray-300">{{ t('Total translation token used:') }}</span>
1010
<span class="text-lg font-semibold text-gray-900 dark:text-gray-100">{{ new Number(props.job.state?.totalUsedTokens).toLocaleString() || 0 }}</span>
1111
</div>
1212
</div>
1313
<div class="grid grid-cols-3 gap-2">
14-
<div class="bg-gray-50 hover:bg-gray-100 transition-all px-2 py-2 rounded-md border max-w-64 w-full flex items-center gap-2" v-for="(task, index) in translationTasks" :key="index">
14+
<div class="bg-gray-50 hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700 border-gray-200 dark:border-gray-700 transition-all px-2 py-2 rounded-md border max-w-64 w-full flex items-center gap-2" v-for="(task, index) in translationTasks" :key="index">
1515
{{ task.state?.taskName }} to
1616
<span class="flag-icon"
1717
:class="`flag-icon-${getCountryCodeFromLangCode(task.state?.lang)}`"

0 commit comments

Comments
 (0)