{{ $t("recipe.press-enter-to-create") }}
@@ -104,6 +120,22 @@
clearable
@keyup.enter="handleFoodEnter"
>
+
+
+
+
+ {{ $globals.icons.alert }}
+
+
+
+ {{ foodErrorTooltip }}
+
+
+
{{ $t("recipe.press-enter-to-create") }}
@@ -188,6 +220,22 @@ const props = defineProps({
type: Boolean,
default: false,
},
+ unitError: {
+ type: Boolean,
+ default: false,
+ },
+ unitErrorTooltip: {
+ type: String,
+ default: "",
+ },
+ foodError: {
+ type: Boolean,
+ default: false,
+ },
+ foodErrorTooltip: {
+ type: String,
+ default: "",
+ },
});
defineEmits([
diff --git a/frontend/lang/messages/en-US.json b/frontend/lang/messages/en-US.json
index 59437e6d4..7e1f9315b 100644
--- a/frontend/lang/messages/en-US.json
+++ b/frontend/lang/messages/en-US.json
@@ -662,6 +662,9 @@
"no-unit": "No unit",
"missing-unit": "Create missing unit: {unit}",
"missing-food": "Create missing food: {food}",
+ "this-unit-could-not-be-parsed-automatically": "This unit could not be parsed automatically",
+ "this-food-could-not-be-parsed-automatically": "This food could not be parsed automatically",
+ "confidence-score": "Confidence Score",
"no-food": "No Food"
},
"reset-servings-count": "Reset Servings Count",
diff --git a/frontend/pages/g/[groupSlug]/r/[slug]/ingredient-parser.vue b/frontend/pages/g/[groupSlug]/r/[slug]/ingredient-parser.vue
index 03aa1c3ea..d35a3fb00 100644
--- a/frontend/pages/g/[groupSlug]/r/[slug]/ingredient-parser.vue
+++ b/frontend/pages/g/[groupSlug]/r/[slug]/ingredient-parser.vue
@@ -103,6 +103,10 @@