- {{ tt('Please select a receipt or transaction image first') }}
-
-
-
-
-
-
+
+
+
+
+ {{ tt('Click here to select a receipt or transaction image') }}
-
-
+
@@ -66,7 +56,6 @@ const { showToast } = useI18nUIComponents();
const transactionsStore = useTransactionsStore();
const imageInput = useTemplateRef('imageInput');
-const cameraInput = useTemplateRef('cameraInput');
const loading = ref(false);
const recognizing = ref(false);
@@ -93,14 +82,6 @@ function showOpenImage(): void {
imageInput.value?.click();
}
-function showCamera(): void {
- if (loading.value || recognizing.value) {
- return;
- }
-
- cameraInput.value?.click();
-}
-
function openImage(event: Event): void {
if (!event || !event.target) {
return;
@@ -176,6 +157,9 @@ function onSheetClosed(): void {
.image-container-background {
width: 100%;
height: 100%;
- background-color: var(--f7-page-bg-color);
+
+ > span {
+ font-size: var(--f7-input-font-size);
+ }
}
diff --git a/src/locales/de.json b/src/locales/de.json
index 6b931d14..993a0f37 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -1725,13 +1725,11 @@
"Duplicate (With Geographic Location)": "Duplicate (With Geographic Location)",
"Duplicate (With Time and Geographic Location)": "Duplicate (With Time and Geographic Location)",
"AI Image Recognition": "AI Image Recognition",
- "Choose from Library": "Choose from Library",
- "Take Photo": "Take Photo",
"Unable to load image": "Unable to load image",
"Unable to recognize image": "Unable to recognize image",
"Drag and drop a receipt or transaction image here, or click to select one": "Drag and drop a receipt or transaction image here, or click to select one",
"Release to load image": "Release to load image",
- "Please select a receipt or transaction image first": "Please select a receipt or transaction image first",
+ "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image",
"Category": "Kategorie",
"Secondary Category": "Secondary Category",
"Expense Category": "Expense Category",
diff --git a/src/locales/en.json b/src/locales/en.json
index 6cd318ab..86f1d12d 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -1725,13 +1725,11 @@
"Duplicate (With Geographic Location)": "Duplicate (With Geographic Location)",
"Duplicate (With Time and Geographic Location)": "Duplicate (With Time and Geographic Location)",
"AI Image Recognition": "AI Image Recognition",
- "Choose from Library": "Choose from Library",
- "Take Photo": "Take Photo",
"Unable to load image": "Unable to load image",
"Unable to recognize image": "Unable to recognize image",
"Drag and drop a receipt or transaction image here, or click to select one": "Drag and drop a receipt or transaction image here, or click to select one",
"Release to load image": "Release to load image",
- "Please select a receipt or transaction image first": "Please select a receipt or transaction image first",
+ "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image",
"Category": "Category",
"Secondary Category": "Secondary Category",
"Expense Category": "Expense Category",
diff --git a/src/locales/es.json b/src/locales/es.json
index ca940517..080f1e4c 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -1725,13 +1725,11 @@
"Duplicate (With Geographic Location)": "Duplicate (With Geographic Location)",
"Duplicate (With Time and Geographic Location)": "Duplicate (With Time and Geographic Location)",
"AI Image Recognition": "AI Image Recognition",
- "Choose from Library": "Choose from Library",
- "Take Photo": "Take Photo",
"Unable to load image": "Unable to load image",
"Unable to recognize image": "Unable to recognize image",
"Drag and drop a receipt or transaction image here, or click to select one": "Drag and drop a receipt or transaction image here, or click to select one",
"Release to load image": "Release to load image",
- "Please select a receipt or transaction image first": "Please select a receipt or transaction image first",
+ "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image",
"Category": "Categoría",
"Secondary Category": "Secondary Category",
"Expense Category": "Expense Category",
diff --git a/src/locales/it.json b/src/locales/it.json
index 6ebfdee2..2c259d33 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -1725,13 +1725,11 @@
"Duplicate (With Geographic Location)": "Duplica (con posizione geografica)",
"Duplicate (With Time and Geographic Location)": "Duplica (con ora e posizione geografica)",
"AI Image Recognition": "AI Image Recognition",
- "Choose from Library": "Choose from Library",
- "Take Photo": "Take Photo",
"Unable to load image": "Unable to load image",
"Unable to recognize image": "Unable to recognize image",
"Drag and drop a receipt or transaction image here, or click to select one": "Drag and drop a receipt or transaction image here, or click to select one",
"Release to load image": "Release to load image",
- "Please select a receipt or transaction image first": "Please select a receipt or transaction image first",
+ "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image",
"Category": "Categoria",
"Secondary Category": "Categoria secondaria",
"Expense Category": "Expense Category",
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 4ed42e63..2de4f368 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -1725,13 +1725,11 @@
"Duplicate (With Geographic Location)": "複製(地理座標を含む)",
"Duplicate (With Time and Geographic Location)": "複製(時間と地理座標を含む)",
"AI Image Recognition": "AI Image Recognition",
- "Choose from Library": "Choose from Library",
- "Take Photo": "Take Photo",
"Unable to load image": "Unable to load image",
"Unable to recognize image": "Unable to recognize image",
"Drag and drop a receipt or transaction image here, or click to select one": "Drag and drop a receipt or transaction image here, or click to select one",
"Release to load image": "Release to load image",
- "Please select a receipt or transaction image first": "Please select a receipt or transaction image first",
+ "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image",
"Category": "カテゴリ",
"Secondary Category": "二次カテゴリ",
"Expense Category": "Expense Category",
diff --git a/src/locales/nl.json b/src/locales/nl.json
index a0119750..273a0a7c 100644
--- a/src/locales/nl.json
+++ b/src/locales/nl.json
@@ -1725,13 +1725,11 @@
"Duplicate (With Geographic Location)": "Dupliceren (met geografische locatie)",
"Duplicate (With Time and Geographic Location)": "Dupliceren (met tijd en locatie)",
"AI Image Recognition": "AI Image Recognition",
- "Choose from Library": "Choose from Library",
- "Take Photo": "Take Photo",
"Unable to load image": "Unable to load image",
"Unable to recognize image": "Unable to recognize image",
"Drag and drop a receipt or transaction image here, or click to select one": "Drag and drop a receipt or transaction image here, or click to select one",
"Release to load image": "Release to load image",
- "Please select a receipt or transaction image first": "Please select a receipt or transaction image first",
+ "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image",
"Category": "Categorie",
"Secondary Category": "Secundaire categorie",
"Expense Category": "Uitgavecategorie",
diff --git a/src/locales/pt_BR.json b/src/locales/pt_BR.json
index 7faee390..032f7f29 100644
--- a/src/locales/pt_BR.json
+++ b/src/locales/pt_BR.json
@@ -1725,13 +1725,11 @@
"Duplicate (With Geographic Location)": "Duplicar (Com Localização Geográfica)",
"Duplicate (With Time and Geographic Location)": "Duplicar (Com Tempo e Localização Geográfica)",
"AI Image Recognition": "AI Image Recognition",
- "Choose from Library": "Choose from Library",
- "Take Photo": "Take Photo",
"Unable to load image": "Unable to load image",
"Unable to recognize image": "Unable to recognize image",
"Drag and drop a receipt or transaction image here, or click to select one": "Drag and drop a receipt or transaction image here, or click to select one",
"Release to load image": "Release to load image",
- "Please select a receipt or transaction image first": "Please select a receipt or transaction image first",
+ "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image",
"Category": "Categoria",
"Secondary Category": "Categoria Secundária",
"Expense Category": "Expense Category",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index d5e5df63..53b90a9c 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -1725,13 +1725,11 @@
"Duplicate (With Geographic Location)": "Duplicate (With Geographic Location)",
"Duplicate (With Time and Geographic Location)": "Duplicate (With Time and Geographic Location)",
"AI Image Recognition": "AI Image Recognition",
- "Choose from Library": "Choose from Library",
- "Take Photo": "Take Photo",
"Unable to load image": "Unable to load image",
"Unable to recognize image": "Unable to recognize image",
"Drag and drop a receipt or transaction image here, or click to select one": "Drag and drop a receipt or transaction image here, or click to select one",
"Release to load image": "Release to load image",
- "Please select a receipt or transaction image first": "Please select a receipt or transaction image first",
+ "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image",
"Category": "Категория",
"Secondary Category": "Secondary Category",
"Expense Category": "Expense Category",
diff --git a/src/locales/uk.json b/src/locales/uk.json
index 5ef83a28..b81ba869 100644
--- a/src/locales/uk.json
+++ b/src/locales/uk.json
@@ -1725,13 +1725,11 @@
"Duplicate (With Geographic Location)": "Дублювати (з геолокацією)",
"Duplicate (With Time and Geographic Location)": "Дублювати (з часом і геолокацією)",
"AI Image Recognition": "AI Image Recognition",
- "Choose from Library": "Choose from Library",
- "Take Photo": "Take Photo",
"Unable to load image": "Unable to load image",
"Unable to recognize image": "Unable to recognize image",
"Drag and drop a receipt or transaction image here, or click to select one": "Drag and drop a receipt or transaction image here, or click to select one",
"Release to load image": "Release to load image",
- "Please select a receipt or transaction image first": "Please select a receipt or transaction image first",
+ "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image",
"Category": "Категорія",
"Secondary Category": "Вторинна категорія",
"Expense Category": "Expense Category",
diff --git a/src/locales/vi.json b/src/locales/vi.json
index c7feb23b..0f2901fa 100644
--- a/src/locales/vi.json
+++ b/src/locales/vi.json
@@ -1725,13 +1725,11 @@
"Duplicate (With Geographic Location)": "Duplicate (With Geographic Location)",
"Duplicate (With Time and Geographic Location)": "Duplicate (With Time and Geographic Location)",
"AI Image Recognition": "AI Image Recognition",
- "Choose from Library": "Choose from Library",
- "Take Photo": "Take Photo",
"Unable to load image": "Unable to load image",
"Unable to recognize image": "Unable to recognize image",
"Drag and drop a receipt or transaction image here, or click to select one": "Drag and drop a receipt or transaction image here, or click to select one",
"Release to load image": "Release to load image",
- "Please select a receipt or transaction image first": "Please select a receipt or transaction image first",
+ "Click here to select a receipt or transaction image": "Click here to select a receipt or transaction image",
"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 0504cb38..bbca4ddb 100644
--- a/src/locales/zh_Hans.json
+++ b/src/locales/zh_Hans.json
@@ -1725,13 +1725,11 @@
"Duplicate (With Geographic Location)": "复制 (含地理位置)",
"Duplicate (With Time and Geographic Location)": "复制 (含时间和地理位置)",
"AI Image Recognition": "AI识图",
- "Choose from Library": "从图库选择",
- "Take Photo": "拍照",
"Unable to load image": "无法加载图片",
"Unable to recognize image": "无法识别图片",
"Drag and drop a receipt or transaction image here, or click to select one": "拖拽收据或交易图片到此处,或点击选择图片",
"Release to load image": "释放以加载图片",
- "Please select a receipt or transaction image first": "请先选择收据或交易图片",
+ "Click here to select a receipt or transaction image": "点击这里选择收据或交易图片",
"Category": "分类",
"Secondary Category": "二级分类",
"Expense Category": "支出分类",
diff --git a/src/locales/zh_Hant.json b/src/locales/zh_Hant.json
index 3614c9b5..3f811d24 100644
--- a/src/locales/zh_Hant.json
+++ b/src/locales/zh_Hant.json
@@ -1725,13 +1725,11 @@
"Duplicate (With Geographic Location)": "複製 (含地理位置)",
"Duplicate (With Time and Geographic Location)": "複製 (含時間和地理位置)",
"AI Image Recognition": "AI識圖",
- "Choose from Library": "從相簿選擇",
- "Take Photo": "拍照",
"Unable to load image": "無法載入圖片",
"Unable to recognize image": "無法識別圖片",
"Drag and drop a receipt or transaction image here, or click to select one": "將收據或交易圖片拖放到此處,或點擊以選擇圖片",
"Release to load image": "放開以載入圖片",
- "Please select a receipt or transaction image first": "請先選擇收據或交易圖片",
+ "Click here to select a receipt or transaction image": "點擊這裡選擇收據或交易圖片",
"Category": "分類",
"Secondary Category": "次分類",
"Expense Category": "支出分類",