show error message when cannot load transaction picture in desktop version

This commit is contained in:
MaysWind
2025-05-11 21:11:22 +08:00
parent 6e9f427182
commit a6d45f5009
11 changed files with 15 additions and 0 deletions
+1
View File
@@ -1747,6 +1747,7 @@
"Are you sure you want to remove this transaction picture?": "Sind Sie sicher, dass Sie dieses Transaktionsbild entfernen möchten?",
"Unable to upload transaction picture": "Transaktionsbild kann nicht hochgeladen werden",
"Unable to remove transaction picture": "Transaktionsbild kann nicht entfernt werden",
"Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.": "Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.",
"Search transaction description": "Transaktionsbeschreibung suchen",
"Unable to retrieve transaction list": "Transaktionsliste kann nicht abgerufen werden",
"Custom Date Range": "Benutzerdefinierter Datumsbereich",
+1
View File
@@ -1747,6 +1747,7 @@
"Are you sure you want to remove this transaction picture?": "Are you sure you want to remove this transaction picture?",
"Unable to upload transaction picture": "Unable to upload transaction picture",
"Unable to remove transaction picture": "Unable to remove transaction picture",
"Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.": "Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.",
"Search transaction description": "Search transaction description",
"Unable to retrieve transaction list": "Unable to retrieve transaction list",
"Custom Date Range": "Custom Date Range",
+1
View File
@@ -1746,6 +1746,7 @@
"Are you sure you want to remove this transaction picture?": "¿Está seguro de que desea eliminar esta imagen de transacción?",
"Unable to upload transaction picture": "No se puede cargar la imagen de la transacción",
"Unable to remove transaction picture": "No se puede eliminar la imagen de la transacción",
"Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.": "Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.",
"Search transaction description": "Buscar descripción de transacción",
"Unable to retrieve transaction list": "No se puede recuperar la lista de transacciones",
"Custom Date Range": "Rango de fechas personalizado",
+1
View File
@@ -1747,6 +1747,7 @@
"Are you sure you want to remove this transaction picture?": "Sei sicuro di voler rimuovere questa immagine della transazione?",
"Unable to upload transaction picture": "Impossibile caricare l'immagine della transazione",
"Unable to remove transaction picture": "Impossibile rimuovere l'immagine della transazione",
"Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.": "Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.",
"Search transaction description": "Cerca descrizione transazione",
"Unable to retrieve transaction list": "Impossibile recuperare l'elenco delle transazioni",
"Custom Date Range": "Intervallo date personalizzato",
+1
View File
@@ -1747,6 +1747,7 @@
"Are you sure you want to remove this transaction picture?": "この取引画像を削除しますか?",
"Unable to upload transaction picture": "取引画像をアップロードできません",
"Unable to remove transaction picture": "取引画像を削除できません",
"Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.": "Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.",
"Search transaction description": "取引の説明を検索",
"Unable to retrieve transaction list": "取引リストを取得できません",
"Custom Date Range": "カスタム日付範囲",
+1
View File
@@ -1747,6 +1747,7 @@
"Are you sure you want to remove this transaction picture?": "Вы уверены, что хотите удалить это изображение транзакции?",
"Unable to upload transaction picture": "Не удалось загрузить изображение транзакции",
"Unable to remove transaction picture": "Не удалось удалить изображение транзакции",
"Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.": "Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.",
"Search transaction description": "Поиск описания транзакции",
"Unable to retrieve transaction list": "Не удалось получить список транзакций",
"Custom Date Range": "Пользовательский диапазон дат",
+1
View File
@@ -1747,6 +1747,7 @@
"Are you sure you want to remove this transaction picture?": "Ви впевнені, що хочете видалити це зображення транзакції?",
"Unable to upload transaction picture": "Не вдалося завантажити зображення транзакції",
"Unable to remove transaction picture": "Не вдалося видалити зображення транзакції",
"Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.": "Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.",
"Search transaction description": "Пошук за описом транзакції",
"Unable to retrieve transaction list": "Не вдалося отримати список транзакцій",
"Custom Date Range": "Користувацький діапазон дат",
+1
View File
@@ -1747,6 +1747,7 @@
"Are you sure you want to remove this transaction picture?": "Bạn có chắc chắn muốn xóa ảnh giao dịch này không?",
"Unable to upload transaction picture": "Không thể tải lên ảnh giao dịch",
"Unable to remove transaction picture": "Không thể xóa ảnh giao dịch",
"Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.": "Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.",
"Search transaction description": "Tìm kiếm mô tả giao dịch",
"Unable to retrieve transaction list": "Không thể lấy danh sách giao dịch",
"Custom Date Range": "Phạm vi ngày tùy chỉnh",
+1
View File
@@ -1747,6 +1747,7 @@
"Are you sure you want to remove this transaction picture?": "您确定要删除这张交易图片?",
"Unable to upload transaction picture": "无法上传交易图片",
"Unable to remove transaction picture": "无法删除交易图片",
"Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.": "无法加载图片,请检查配置 \"domain\" 和 \"root_url\" 是否设置正确。",
"Search transaction description": "搜索交易描述",
"Unable to retrieve transaction list": "无法获取交易列表",
"Custom Date Range": "自定义日期范围",
+1
View File
@@ -1747,6 +1747,7 @@
"Are you sure you want to remove this transaction picture?": "您確定要移除這張交易圖片?",
"Unable to upload transaction picture": "無法上傳交易圖片",
"Unable to remove transaction picture": "無法移除交易圖片",
"Failed to load image, please check whether the config \"domain\" and \"root_url\" are set correctly.": "無法載入圖片,請檢查設定 \"domain\" 和 \"root_url\" 是否設定正確。",
"Search transaction description": "搜尋交易描述",
"Unable to retrieve transaction list": "無法取得交易清單",
"Custom Date Range": "自訂日期範圍",
@@ -387,6 +387,11 @@
<v-progress-circular color="grey-500" indeterminate size="48"></v-progress-circular>
</div>
</template>
<template #error>
<div class="d-flex align-center justify-center fill-height bg-light-primary">
<span class="text-body-1">{{ tt('Failed to load image, please check whether the config "domain" and "root_url" are set correctly.') }}</span>
</div>
</template>
</v-img>
<div class="picture-control-icon" :class="{ 'show-control-icon': pictureInfo.pictureId === removingPictureId }">
<v-icon size="64" :icon="mdiTrashCanOutline" v-if="(mode === TransactionEditPageMode.Add || mode === TransactionEditPageMode.Edit) && pictureInfo.pictureId !== removingPictureId"/>