@adminforth/i18n 2.0.10 → 2.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build.log CHANGED
@@ -20,5 +20,5 @@ custom/package.json
20
20
  custom/pnpm-lock.yaml
21
21
  custom/tsconfig.json
22
22
 
23
- sent 44,846 bytes received 305 bytes 90,302.00 bytes/sec
24
- total size is 43,683 speedup is 0.97
23
+ sent 44,921 bytes received 305 bytes 90,452.00 bytes/sec
24
+ total size is 43,758 speedup is 0.97
@@ -1,17 +1,17 @@
1
1
 
2
2
  <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">
4
4
  <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>
6
6
  <span class="text-lg font-semibold text-gray-900 dark:text-gray-100">{{ new Number(props.job.state?.totalTranslationTokenCost).toLocaleString() || 0 }}</span>
7
7
  </div>
8
8
  <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>
10
10
  <span class="text-lg font-semibold text-gray-900 dark:text-gray-100">{{ new Number(props.job.state?.totalUsedTokens).toLocaleString() || 0 }}</span>
11
11
  </div>
12
12
  </div>
13
13
  <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">
15
15
  {{ task.state?.taskName }} to
16
16
  <span class="flag-icon"
17
17
  :class="`flag-icon-${getCountryCodeFromLangCode(task.state?.lang)}`"
@@ -1,17 +1,17 @@
1
1
 
2
2
  <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">
4
4
  <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>
6
6
  <span class="text-lg font-semibold text-gray-900 dark:text-gray-100">{{ new Number(props.job.state?.totalTranslationTokenCost).toLocaleString() || 0 }}</span>
7
7
  </div>
8
8
  <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>
10
10
  <span class="text-lg font-semibold text-gray-900 dark:text-gray-100">{{ new Number(props.job.state?.totalUsedTokens).toLocaleString() || 0 }}</span>
11
11
  </div>
12
12
  </div>
13
13
  <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">
15
15
  {{ task.state?.taskName }} to
16
16
  <span class="flag-icon"
17
17
  :class="`flag-icon-${getCountryCodeFromLangCode(task.state?.lang)}`"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminforth/i18n",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",
@@ -24,7 +24,7 @@
24
24
  "vue-i18n"
25
25
  ],
26
26
  "author": "devforth",
27
- "license": "ISC",
27
+ "license": "MIT",
28
28
  "description": "Internationalization/translation plugin for AdminForth",
29
29
  "dependencies": {
30
30
  "@aws-sdk/client-ses": "^3.654.0",