From b444e8ee3182fd56506891a167c3f2b42c34ea02 Mon Sep 17 00:00:00 2001 From: MaysWind Date: Fri, 17 Oct 2025 00:52:47 +0800 Subject: [PATCH] display a security warning when using AI image recognition --- src/components/mobile/AIImageRecognitionSheet.vue | 9 ++++++--- src/locales/de.json | 1 + src/locales/en.json | 1 + src/locales/es.json | 1 + src/locales/fr.json | 1 + src/locales/it.json | 1 + src/locales/ja.json | 1 + src/locales/ko.json | 1 + src/locales/nl.json | 1 + src/locales/pt_BR.json | 1 + src/locales/ru.json | 1 + src/locales/th.json | 1 + src/locales/uk.json | 1 + src/locales/vi.json | 1 + src/locales/zh_Hans.json | 1 + src/locales/zh_Hant.json | 1 + .../list/dialogs/AIImageRecognitionDialog.vue | 7 +++++-- 17 files changed, 26 insertions(+), 5 deletions(-) diff --git a/src/components/mobile/AIImageRecognitionSheet.vue b/src/components/mobile/AIImageRecognitionSheet.vue index e7f0c0f5..1421a9b9 100644 --- a/src/components/mobile/AIImageRecognitionSheet.vue +++ b/src/components/mobile/AIImageRecognitionSheet.vue @@ -14,8 +14,11 @@
-
- {{ tt('Click here to select a receipt or transaction image') }} +
+
+ {{ tt('Click here to select a receipt or transaction image') }} + {{ tt('Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.') }} +
{{ tt('Loading image...') }}
@@ -190,7 +193,7 @@ function onSheetClosed(): void { width: 100%; height: 100%; - > span { + > div { font-size: var(--f7-input-font-size); } } diff --git a/src/locales/de.json b/src/locales/de.json index c65a13d9..0496accb 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -1749,6 +1749,7 @@ "Release to load image": "Release to load image", "Loading image...": "Loading image...", "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Kategorie", "Secondary Category": "Secondary Category", diff --git a/src/locales/en.json b/src/locales/en.json index 7a339f11..fc7b52a1 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -1749,6 +1749,7 @@ "Release to load image": "Release to load image", "Loading image...": "Loading image...", "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Category", "Secondary Category": "Secondary Category", diff --git a/src/locales/es.json b/src/locales/es.json index 287ee845..12fef65c 100644 --- a/src/locales/es.json +++ b/src/locales/es.json @@ -1749,6 +1749,7 @@ "Release to load image": "Release to load image", "Loading image...": "Loading image...", "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Categoría", "Secondary Category": "Secondary Category", diff --git a/src/locales/fr.json b/src/locales/fr.json index b337ca72..36f7ff8e 100644 --- a/src/locales/fr.json +++ b/src/locales/fr.json @@ -1749,6 +1749,7 @@ "Release to load image": "Relâchez pour charger l'image", "Loading image...": "Loading image...", "Click here to select a receipt or transaction image": "Cliquez ici pour sélectionner un reçu ou une image de transaction", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Catégorie", "Secondary Category": "Catégorie secondaire", diff --git a/src/locales/it.json b/src/locales/it.json index 6bba9a9d..092688c8 100644 --- a/src/locales/it.json +++ b/src/locales/it.json @@ -1749,6 +1749,7 @@ "Release to load image": "Release to load image", "Loading image...": "Loading image...", "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Categoria", "Secondary Category": "Categoria secondaria", diff --git a/src/locales/ja.json b/src/locales/ja.json index 8b7bf92e..ec9ca86d 100644 --- a/src/locales/ja.json +++ b/src/locales/ja.json @@ -1749,6 +1749,7 @@ "Release to load image": "Release to load image", "Loading image...": "Loading image...", "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "カテゴリ", "Secondary Category": "二次カテゴリ", diff --git a/src/locales/ko.json b/src/locales/ko.json index 0f92ef57..394b4fb4 100644 --- a/src/locales/ko.json +++ b/src/locales/ko.json @@ -1749,6 +1749,7 @@ "Release to load image": "이미지를 로드하려면 놓으세요.", "Loading image...": "이미지를 로드하는 중...", "Click here to select a receipt or transaction image": "영수증 또는 거래 이미지를 선택하려면 여기를 클릭하세요.", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "카테고리", "Secondary Category": "보조 카테고리", diff --git a/src/locales/nl.json b/src/locales/nl.json index b6fe27ad..74a52369 100644 --- a/src/locales/nl.json +++ b/src/locales/nl.json @@ -1749,6 +1749,7 @@ "Release to load image": "Release to load image", "Loading image...": "Loading image...", "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Categorie", "Secondary Category": "Secundaire categorie", diff --git a/src/locales/pt_BR.json b/src/locales/pt_BR.json index 77db6f22..a25e4f22 100644 --- a/src/locales/pt_BR.json +++ b/src/locales/pt_BR.json @@ -1749,6 +1749,7 @@ "Release to load image": "Release to load image", "Loading image...": "Loading image...", "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Categoria", "Secondary Category": "Categoria Secundária", diff --git a/src/locales/ru.json b/src/locales/ru.json index af4e895b..0669b1cc 100644 --- a/src/locales/ru.json +++ b/src/locales/ru.json @@ -1749,6 +1749,7 @@ "Release to load image": "Release to load image", "Loading image...": "Loading image...", "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Категория", "Secondary Category": "Secondary Category", diff --git a/src/locales/th.json b/src/locales/th.json index f718fbc1..06ad7724 100644 --- a/src/locales/th.json +++ b/src/locales/th.json @@ -1749,6 +1749,7 @@ "Release to load image": "ปล่อยเพื่อโหลดรูปภาพ", "Loading image...": "Loading image...", "Click here to select a receipt or transaction image": "คลิกที่นี่เพื่อเลือกใบเสร็จหรือรูปภาพรายการ", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "หมวดหมู่", "Secondary Category": "หมวดหมู่รอง", diff --git a/src/locales/uk.json b/src/locales/uk.json index d81237fc..83d0cfa6 100644 --- a/src/locales/uk.json +++ b/src/locales/uk.json @@ -1749,6 +1749,7 @@ "Release to load image": "Release to load image", "Loading image...": "Loading image...", "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Категорія", "Secondary Category": "Вторинна категорія", diff --git a/src/locales/vi.json b/src/locales/vi.json index b42cd5dd..3accc519 100644 --- a/src/locales/vi.json +++ b/src/locales/vi.json @@ -1749,6 +1749,7 @@ "Release to load image": "Release to load image", "Loading image...": "Loading image...", "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.", "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Danh mục", "Secondary Category": "Secondary Category", diff --git a/src/locales/zh_Hans.json b/src/locales/zh_Hans.json index 16825cf7..3f9b4e6b 100644 --- a/src/locales/zh_Hans.json +++ b/src/locales/zh_Hans.json @@ -1749,6 +1749,7 @@ "Release to load image": "释放以加载图片", "Loading image...": "正在加载图片...", "Click here to select a receipt or transaction image": "点击这里选择收据或交易图片", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "上传的图片和个人数据可能会发送到大语言模型(LLM),请注意潜在的隐私风险。", "AI can make mistakes. Check important info.": "AI 可能会出错。请检查重要信息。", "Category": "分类", "Secondary Category": "二级分类", diff --git a/src/locales/zh_Hant.json b/src/locales/zh_Hant.json index 6ed5a6b2..00fe170c 100644 --- a/src/locales/zh_Hant.json +++ b/src/locales/zh_Hant.json @@ -1749,6 +1749,7 @@ "Release to load image": "放開以載入圖片", "Loading image...": "正在載入圖片...", "Click here to select a receipt or transaction image": "點擊這裡選擇收據或交易圖片", + "Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.": "上傳的圖片和個人資料可能會被發送到大型語言模型(LLM),請注意潛在的隱私風險。", "AI can make mistakes. Check important info.": "AI 可能會出錯。請檢查重要資訊。", "Category": "分類", "Secondary Category": "次分類", diff --git a/src/views/desktop/transactions/list/dialogs/AIImageRecognitionDialog.vue b/src/views/desktop/transactions/list/dialogs/AIImageRecognitionDialog.vue index 21d0c774..591aa0e7 100644 --- a/src/views/desktop/transactions/list/dialogs/AIImageRecognitionDialog.vue +++ b/src/views/desktop/transactions/list/dialogs/AIImageRecognitionDialog.vue @@ -13,9 +13,12 @@ @dragover.prevent @dragleave.prevent="onDragLeave" @drop.prevent="onDrop"> -
-

{{ tt('You can drag and drop, paste or click to select a receipt or transaction image') }}

+
+

{{ tt('You can drag and drop, paste or click to select a receipt or transaction image') }}

+ {{ tt('Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.') }} +

{{ tt('Release to load image') }}

{{ tt('Loading image...') }}

{{ tt('AI can make mistakes. Check important info.') }}