diff --git a/src/components/mobile/AIImageRecognitionSheet.vue b/src/components/mobile/AIImageRecognitionSheet.vue index 600a7f21..e7f0c0f5 100644 --- a/src/components/mobile/AIImageRecognitionSheet.vue +++ b/src/components/mobile/AIImageRecognitionSheet.vue @@ -116,7 +116,7 @@ function confirm(): void { cancelRecognizingUuid.value = generateRandomUUID(); recognizing.value = true; - showCancelableLoading('Recognizing', 'Cancel Recognition', cancelRecognize); + showCancelableLoading('Recognizing', 'AI can make mistakes. Check important info.', 'Cancel Recognition', cancelRecognize); transactionsStore.recognizeReceiptImage({ imageFile: imageFile.value, diff --git a/src/lib/ui/mobile.ts b/src/lib/ui/mobile.ts index 92a46c12..65a7db44 100644 --- a/src/lib/ui/mobile.ts +++ b/src/lib/ui/mobile.ts @@ -288,7 +288,7 @@ export function useI18nUIComponents() { }); } - function showCancelableLoading(message: string, cancelButtonText: string, cancelCallback?: (dialog: Dialog.Dialog, e: Event) => void): void { + function showCancelableLoading(title: string, message: string, cancelButtonText: string, cancelCallback?: (dialog: Dialog.Dialog, e: Event) => void): void { const cancelButton: Dialog.DialogButton = { text: tt(cancelButtonText), onClick: (dialog, event) => { @@ -300,8 +300,8 @@ export function useI18nUIComponents() { f7ready((f7) => { f7.dialog.create({ - title: tt(message), - content: `
${[0, 1, 2, 3, 4, 5, 6, 7].map(() => '').join('')}
`, + title: tt(title), + content: `
${[0, 1, 2, 3, 4, 5, 6, 7].map(() => '').join('')}
` + (message ? `
${tt(message)}
` : ''), cssClass: 'dialog-preloader', animate: isEnableAnimate(), buttons: [cancelButton] diff --git a/src/locales/de.json b/src/locales/de.json index 05434e77..c65a13d9 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", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Kategorie", "Secondary Category": "Secondary Category", "Expense Category": "Expense Category", diff --git a/src/locales/en.json b/src/locales/en.json index 201c0af1..7a339f11 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", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Category", "Secondary Category": "Secondary Category", "Expense Category": "Expense Category", diff --git a/src/locales/es.json b/src/locales/es.json index 988a5140..287ee845 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", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Categoría", "Secondary Category": "Secondary Category", "Expense Category": "Expense Category", diff --git a/src/locales/fr.json b/src/locales/fr.json index ecd05c30..b337ca72 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", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Catégorie", "Secondary Category": "Catégorie secondaire", "Expense Category": "Catégorie de dépense", diff --git a/src/locales/it.json b/src/locales/it.json index 26799133..6bba9a9d 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", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Categoria", "Secondary Category": "Categoria secondaria", "Expense Category": "Expense Category", diff --git a/src/locales/ja.json b/src/locales/ja.json index 5377e59c..8b7bf92e 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", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "カテゴリ", "Secondary Category": "二次カテゴリ", "Expense Category": "Expense Category", diff --git a/src/locales/ko.json b/src/locales/ko.json index 0c85b557..0f92ef57 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": "영수증 또는 거래 이미지를 선택하려면 여기를 클릭하세요.", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "카테고리", "Secondary Category": "보조 카테고리", "Expense Category": "지출 카테고리", diff --git a/src/locales/nl.json b/src/locales/nl.json index 9978c46c..b6fe27ad 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", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Categorie", "Secondary Category": "Secundaire categorie", "Expense Category": "Uitgavecategorie", diff --git a/src/locales/pt_BR.json b/src/locales/pt_BR.json index 9dca100f..77db6f22 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", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Categoria", "Secondary Category": "Categoria Secundária", "Expense Category": "Expense Category", diff --git a/src/locales/ru.json b/src/locales/ru.json index 437bcab1..af4e895b 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", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Категория", "Secondary Category": "Secondary Category", "Expense Category": "Expense Category", diff --git a/src/locales/th.json b/src/locales/th.json index eea36a66..f718fbc1 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": "คลิกที่นี่เพื่อเลือกใบเสร็จหรือรูปภาพรายการ", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "หมวดหมู่", "Secondary Category": "หมวดหมู่รอง", "Expense Category": "หมวดค่าใช้จ่าย", diff --git a/src/locales/uk.json b/src/locales/uk.json index 313b18ca..d81237fc 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", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Категорія", "Secondary Category": "Вторинна категорія", "Expense Category": "Expense Category", diff --git a/src/locales/vi.json b/src/locales/vi.json index 2a69c621..b42cd5dd 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", + "AI can make mistakes. Check important info.": "AI can make mistakes. Check important info.", "Category": "Danh mục", "Secondary Category": "Secondary Category", "Expense Category": "Expense Category", diff --git a/src/locales/zh_Hans.json b/src/locales/zh_Hans.json index 55a25022..16825cf7 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": "点击这里选择收据或交易图片", + "AI can make mistakes. Check important info.": "AI 可能会出错。请检查重要信息。", "Category": "分类", "Secondary Category": "二级分类", "Expense Category": "支出分类", diff --git a/src/locales/zh_Hant.json b/src/locales/zh_Hant.json index 0f7b7376..6ed5a6b2 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": "點擊這裡選擇收據或交易圖片", + "AI can make mistakes. Check important info.": "AI 可能會出錯。請檢查重要資訊。", "Category": "分類", "Secondary Category": "次分類", "Expense Category": "支出分類", diff --git a/src/views/desktop/transactions/list/dialogs/AIImageRecognitionDialog.vue b/src/views/desktop/transactions/list/dialogs/AIImageRecognitionDialog.vue index f47b4897..21d0c774 100644 --- a/src/views/desktop/transactions/list/dialogs/AIImageRecognitionDialog.vue +++ b/src/views/desktop/transactions/list/dialogs/AIImageRecognitionDialog.vue @@ -15,14 +15,15 @@ @drop.prevent="onDrop">
-

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

-

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

-

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

+

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

+

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

+

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

+

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

@@ -50,13 +51,15 @@