diff --git a/frontend/components/Domain/Recipe/RecipeActionMenu.vue b/frontend/components/Domain/Recipe/RecipeActionMenu.vue index ad24e0ed8..4fd418ffb 100644 --- a/frontend/components/Domain/Recipe/RecipeActionMenu.vue +++ b/frontend/components/Domain/Recipe/RecipeActionMenu.vue @@ -139,7 +139,7 @@ export default defineComponent({ default: false, }, }, - setup(props, context) { + setup(_, context) { const deleteDialog = ref(false); const { i18n, $globals } = useContext(); diff --git a/frontend/lang/messages/en-US.json b/frontend/lang/messages/en-US.json index f5401ba22..479f72c66 100644 --- a/frontend/lang/messages/en-US.json +++ b/frontend/lang/messages/en-US.json @@ -533,6 +533,8 @@ "new-recipe-names-must-be-unique": "New recipe names must be unique", "scrape-recipe": "Scrape Recipe", "scrape-recipe-description": "Scrape a recipe by url. Provide the url for the site you want to scrape, and Mealie will attempt to scrape the recipe from that site and add it to your collection.", + "scrape-recipe-have-a-lot-of-recipes": "Have a lot of recipes you want to scrape at once?", + "scrape-recipe-suggest-bulk-importer": "Try out the bulk importer", "import-original-keywords-as-tags": "Import original keywords as tags", "stay-in-edit-mode": "Stay in Edit mode", "import-from-zip": "Import from Zip", diff --git a/frontend/pages/g/_groupSlug/r/create.vue b/frontend/pages/g/_groupSlug/r/create.vue index dad973528..064500f5f 100644 --- a/frontend/pages/g/_groupSlug/r/create.vue +++ b/frontend/pages/g/_groupSlug/r/create.vue @@ -20,7 +20,7 @@ - {{ $t('recipe.looking-for-migrations') }} + {{ $t('recipe.looking-for-migrations') }} @@ -42,6 +42,11 @@ export default defineComponent({ text: i18n.tc("recipe.import-with-url"), value: "url", }, + { + icon: $globals.icons.link, + text: i18n.tc("recipe.bulk-url-import"), + value: "bulk", + }, { icon: $globals.icons.edit, text: i18n.tc("recipe.create-recipe"), @@ -52,11 +57,6 @@ export default defineComponent({ text: i18n.tc("recipe.import-with-zip"), value: "zip", }, - { - icon: $globals.icons.link, - text: i18n.tc("recipe.bulk-url-import"), - value: "bulk", - }, { icon: $globals.icons.robot, text: i18n.tc("recipe.debug-scraper"), diff --git a/frontend/pages/g/_groupSlug/r/create/url.vue b/frontend/pages/g/_groupSlug/r/create/url.vue index e98d335e0..d2a13ce9f 100644 --- a/frontend/pages/g/_groupSlug/r/create/url.vue +++ b/frontend/pages/g/_groupSlug/r/create/url.vue @@ -4,7 +4,8 @@
{{ $t('recipe.scrape-recipe') }} - {{ $t('recipe.scrape-recipe-description') }} +

{{ $t('recipe.scrape-recipe-description') }}

+

{{ $t('recipe.scrape-recipe-have-a-lot-of-recipes') }} {{ $t('recipe.scrape-recipe-suggest-bulk-importer') }}.

`/g/${groupSlug.value}/r/create/bulk`); + function handleResponse(response: AxiosResponse | null, edit = false, refreshTags = false) { if (response?.status !== 201) { state.error = true; @@ -167,6 +170,7 @@ export default defineComponent({ } return { + bulkImporterTarget, recipeUrl, importKeywordsAsTags, stayInEditMode,