fix: localize upload status text

This commit is contained in:
Lan committed 2026-06-03 02:38:29 +08:00
1 parent ccc7a6e964
commit 1697087989
4 files changed
+32 -11

No files matched your search

+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) => ({