chore: toasts translation refactoring
Some checks failed
Build and Release 3X-UI / build (386) (push) Has been cancelled
Build and Release 3X-UI / build (amd64) (push) Has been cancelled
Build and Release 3X-UI / build (arm64) (push) Has been cancelled
Build and Release 3X-UI / build (armv5) (push) Has been cancelled
Build and Release 3X-UI / build (armv6) (push) Has been cancelled
Build and Release 3X-UI / build (armv7) (push) Has been cancelled
Build and Release 3X-UI / build (s390x) (push) Has been cancelled

This commit is contained in:
Shishkevich D.
2025-05-09 10:46:29 +07:00
committed by GitHub
parent fe3b1c9b52
commit 1ddfe4aba3
20 changed files with 536 additions and 132 deletions

View File

@@ -3,7 +3,7 @@
:confirm-loading="warpModal.confirmLoading" :closable="true" :mask-closable="true"
:footer="null" :class="themeSwitcher.currentTheme">
<template v-if="ObjectUtil.isEmpty(warpModal.warpData)">
<a-button icon="api" @click="register" :loading="warpModal.confirmLoading">{{ i18n "pages.inbounds.create" }}</a-button>
<a-button icon="api" @click="register" :loading="warpModal.confirmLoading">{{ i18n "create" }}</a-button>
</template>
<template v-else>
<table :style="{ margin: '5px 0', width: '100%' }">
@@ -32,7 +32,7 @@
<a-form-item label="Key">
<a-input v-model="warpPlus"></a-input>
<a-button @click="updateLicense(warpPlus)" :disabled="warpPlus.length<26"
:loading="warpModal.confirmLoading">{{ i18n "pages.inbounds.update" }}</a-button>
:loading="warpModal.confirmLoading">{{ i18n "update" }}</a-button>
</a-form-item>
</a-form>
</a-collapse-panel>