display a security warning when using AI image recognition
This commit is contained in:
@@ -14,8 +14,11 @@
|
||||
<div class="image-container display-flex justify-content-center"
|
||||
style="height: 400px" @click="showOpenImage">
|
||||
<img height="400px" :src="imageSrc" v-if="imageSrc" />
|
||||
<div class="image-container-background display-flex justify-content-center align-items-center padding-horizontal" v-if="!imageSrc">
|
||||
<span v-if=!loading>{{ tt('Click here to select a receipt or transaction image') }}</span>
|
||||
<div class="image-container-background display-flex justify-content-center align-items-center text-align-center padding-horizontal" v-if="!imageSrc">
|
||||
<div class="display-inline-flex flex-direction-column" v-if="!loading">
|
||||
<span>{{ tt('Click here to select a receipt or transaction image') }}</span>
|
||||
<small class="margin-top-half">{{ tt('Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.') }}</small>
|
||||
</div>
|
||||
<span v-else-if="loading">{{ tt('Loading image...') }}</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -190,7 +193,7 @@ function onSheetClosed(): void {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
> span {
|
||||
> div {
|
||||
font-size: var(--f7-input-font-size);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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": "二次カテゴリ",
|
||||
|
||||
@@ -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": "보조 카테고리",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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": "หมวดหมู่รอง",
|
||||
|
||||
@@ -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": "Вторинна категорія",
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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": "二级分类",
|
||||
|
||||
@@ -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": "次分類",
|
||||
|
||||
@@ -13,9 +13,12 @@
|
||||
@dragover.prevent
|
||||
@dragleave.prevent="onDragLeave"
|
||||
@drop.prevent="onDrop">
|
||||
<div class="d-flex w-100 fill-height justify-center align-center justify-content-center px-4"
|
||||
<div class="d-flex w-100 fill-height justify-center align-center justify-content-center text-center px-4"
|
||||
:class="{ 'dropzone': true, 'dropzone-dragover': isDragOver }" style="height: 480px">
|
||||
<h3 :class="{ 'pa-2': true, 'bg-grey-200': !isDarkMode, 'bg-grey-100': isDarkMode }" v-if="!loading && !imageFile && !isDragOver">{{ tt('You can drag and drop, paste or click to select a receipt or transaction image') }}</h3>
|
||||
<div class="d-inline-flex flex-column" v-if="!loading && !imageFile && !isDragOver">
|
||||
<h3 :class="{ 'pa-2': true, 'bg-grey-200': !isDarkMode, 'bg-grey-100': isDarkMode }">{{ tt('You can drag and drop, paste or click to select a receipt or transaction image') }}</h3>
|
||||
<span :class="{ 'pa-2': true, 'bg-grey-200': !isDarkMode, 'bg-grey-100': isDarkMode }">{{ tt('Uploaded image and personal data may be sent to the large language model, please be aware of potential privacy risks.') }}</span>
|
||||
</div>
|
||||
<h3 :class="{ 'pa-2': true, 'bg-grey-200': !isDarkMode, 'bg-grey-100': isDarkMode }" v-else-if="!loading && isDragOver">{{ tt('Release to load image') }}</h3>
|
||||
<h3 class="pa-2" v-else-if="loading">{{ tt('Loading image...') }}</h3>
|
||||
<h3 :class="{ 'pa-2': true, 'bg-grey-200': !isDarkMode, 'bg-grey-100': isDarkMode }" v-else-if="recognizing">{{ tt('AI can make mistakes. Check important info.') }}</h3>
|
||||
|
||||
Reference in New Issue
Block a user