fix: localize upload status text

This commit is contained in:
Lan
2026-06-03 02:38:29 +08:00
parent 4fccffea7f
commit bef0d2ce3f
4 changed files with 32 additions and 11 deletions
+4 -2
View File
@@ -32,8 +32,10 @@ export function useSendFlow() {
const isSubmitting = ref(false)
const fileHash = ref('')
const sendRecords = computed(() => fileDataStore.shareData)
const uploadDescription = computed(
() => `支持各种常见格式,最大${getStorageUnit(config.value.uploadSize)}`
const uploadDescription = computed(() =>
t('send.uploadArea.descriptionWithLimit', {
size: getStorageUnit(config.value.uploadSize)
})
)
const expirationOptions = computed(() =>
config.value.expireStyle.map((value) => ({