Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion frontend/src/components/common/GroupOptionItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<span class="font-bold">{{ userRateMultiplier }}x</span>
</template>
<template v-else>
{{ rateMultiplier }}x 倍率
{{ t('usage.rateDisplay', { rate: rateMultiplier }) }}
</template>
</span>
<!-- Checkmark -->
Expand All @@ -51,9 +51,12 @@

<script setup lang="ts">
import { computed } from 'vue'
import { useI18n } from 'vue-i18n'
import GroupBadge from './GroupBadge.vue'
import type { SubscriptionType, GroupPlatform } from '@/types'

const { t } = useI18n()

interface Props {
name: string
platform: GroupPlatform
Expand Down
1 change: 1 addition & 0 deletions frontend/src/i18n/locales/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -759,6 +759,7 @@ export default {
serviceTierFlex: 'Flex',
serviceTierStandard: 'Standard',
rate: 'Rate',
rateDisplay: '{rate}x Rate',
original: 'Original',
billed: 'Billed',
noRecords: 'No usage records found. Try adjusting your filters.',
Expand Down
1 change: 1 addition & 0 deletions frontend/src/i18n/locales/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,7 @@ export default {
serviceTierFlex: 'Flex',
serviceTierStandard: 'Standard',
rate: '倍率',
rateDisplay: '{rate}x 倍率',
original: '原始',
billed: '计费',
noRecords: '未找到使用记录,请尝试调整筛选条件。',
Expand Down