From 8608e243070fe5f1a3a255dead1681c031733943 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Sun, 25 Jun 2023 14:28:54 +0200 Subject: [PATCH] :sparkles: Added note about search in Pixabay --- frontend/src/lib/editor/uploader/Pixabay.svelte | 13 +++++++++---- frontend/src/lib/i18n/locales/en.json | 3 ++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/frontend/src/lib/editor/uploader/Pixabay.svelte b/frontend/src/lib/editor/uploader/Pixabay.svelte index 4547efb..d4e318e 100644 --- a/frontend/src/lib/editor/uploader/Pixabay.svelte +++ b/frontend/src/lib/editor/uploader/Pixabay.svelte @@ -56,21 +56,26 @@ class="flex flex-col w-1/3 m-auto overflow-scroll h-full rounded p-4 gap-2 bg-white dark:bg-gray-700" >

{$t('uploader.images_by_pixabay')}

- {$t('uploader.visit_pixabay')} +
+ {$t('uploader.visit_pixabay')} +
+
(fetched_data = fetch_data())} >
{$t('words.search')}
+ {$t('uploader.search_english_only')} + {#each data.hits as image}
diff --git a/frontend/src/lib/i18n/locales/en.json b/frontend/src/lib/i18n/locales/en.json index 8072167..b9eb813 100644 --- a/frontend/src/lib/i18n/locales/en.json +++ b/frontend/src/lib/i18n/locales/en.json @@ -301,7 +301,8 @@ "upload_video_popup_notice": "The popup is open; have a look at it for further information", "upload_video": "Upload Video", "visit_pixabay": "Visit Pixabay", - "images_by_pixabay": "Images provided by Pixabay" + "images_by_pixabay": "Images provided by Pixabay", + "search_english_only": "The search works in English only" }, "avatar_settings": { "skin_color": "Skin color",