重构billingAddressButtonLabel

This commit is contained in:
jingrow 2025-12-29 22:46:04 +08:00
parent 555a53e2d8
commit 799a0c8e59
2 changed files with 17 additions and 1 deletions

View File

@ -35,7 +35,7 @@
</div>
<div class="shrink-0">
<Button
:label="billingDetailsSummary ? $t('Edit') : $t('Add Billing Address')"
:label="billingAddressButtonLabel"
@click="
() => {
showMessage = false;
@ -189,6 +189,10 @@ const paymentMode = computed(() => {
return paymentModeOptions.find((o) => o.value === team.pg.payment_mode);
});
const billingAddressButtonLabel = computed(() => {
return billingDetailsSummary.value ? $t('Edit') : $t('Add Billing Address');
});
// onMounted
onMounted(() => {
//

View File

@ -37,6 +37,18 @@ Backups,备份,
Based On,基于,
Beta,Beta版,
Billing,账单,
Billing Summary,账单概览,
Current Billing Amount,当前账单金额,
Total Unpaid Amount,总未付金额,
Pay,支付,
Change,更改,
Not set,未设置,
Alternative Payment Options,其他支付方式,
Change Payment Mode,更改支付方式,
Select Payment Mode,选择支付方式,
Your card will be charged for monthly subscription,您的卡片将用于每月订阅扣款,
You will be charged from your account balance for monthly subscription,您的账户余额将用于每月订阅扣款,
Your partner will be charged for monthly subscription,您的合作伙伴将为您支付每月订阅费用,
Bucket Name,桶名,
Cancel,取消,
Cancel Update,取消更新,

1 API Key API密钥
37 Based On 基于
38 Beta Beta版
39 Billing 账单
40 Billing Summary 账单概览
41 Current Billing Amount 当前账单金额
42 Total Unpaid Amount 总未付金额
43 Pay 支付
44 Change 更改
45 Not set 未设置
46 Alternative Payment Options 其他支付方式
47 Change Payment Mode 更改支付方式
48 Select Payment Mode 选择支付方式
49 Your card will be charged for monthly subscription 您的卡片将用于每月订阅扣款
50 You will be charged from your account balance for monthly subscription 您的账户余额将用于每月订阅扣款
51 Your partner will be charged for monthly subscription 您的合作伙伴将为您支付每月订阅费用
52 Bucket Name 桶名
53 Cancel 取消
54 Cancel Update 取消更新