From b092eddbb0f81819b8fb68832cf9687be7aeebc1 Mon Sep 17 00:00:00 2001 From: Mawoka Date: Wed, 8 Apr 2026 13:41:47 +0200 Subject: [PATCH] Remove quiztivity button from dashboard --- frontend/src/lib/i18n/locales/de.json | 3 ++- frontend/src/lib/i18n/locales/en.json | 3 ++- frontend/src/routes/dashboard/+page.svelte | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/frontend/src/lib/i18n/locales/de.json b/frontend/src/lib/i18n/locales/de.json index ae8dc9d..b109fc5 100644 --- a/frontend/src/lib/i18n/locales/de.json +++ b/frontend/src/lib/i18n/locales/de.json @@ -322,7 +322,8 @@ "search_for_own_quizzes": "Suche nach eigenen Quiz", "views_n_plays": "Aufrufe und Startversuche", "info_analytics": "Die \"Startversuche\" zeigen nur wie oft das Quiz gestartet wurde (auch von dir), wobei die \"Aufrufe\" zählen, wie oft das Quiz aufgerufen wurde (Bots werden auch gezählt).", - "commandpalette_notice": "Drücke Ctr+k oder Meta+k um die Befehlspalette zu öffnen" + "commandpalette_notice": "Drücke Ctr+k oder Meta+k um die Befehlspalette zu öffnen", + "create_quiz": "Erstelle ein neues Quiz" }, "footer": { "more_details_here": "Mehr Details hier", diff --git a/frontend/src/lib/i18n/locales/en.json b/frontend/src/lib/i18n/locales/en.json index 80e3b72..712777c 100644 --- a/frontend/src/lib/i18n/locales/en.json +++ b/frontend/src/lib/i18n/locales/en.json @@ -310,7 +310,8 @@ "search_for_own_quizzes": "Search for your own quizzes", "views_n_plays": "Views & Plays", "info_analytics": "The \"Plays\" only show how often the quiz was started (you included), whereas the \"Views\" count how often the \"View\"-page was visited, so it also counts bots (sorry for that).", - "commandpalette_notice": "Press Ctr+k or Meta+k to open the command palette" + "commandpalette_notice": "Press Ctr+k or Meta+k to open the command palette", + "create_quiz": "Create a new quiz" }, "footer": { "self_ads": "Made with ❤️ by {{mawoka_link}} and with the help of {{others_link}}.", diff --git a/frontend/src/routes/dashboard/+page.svelte b/frontend/src/routes/dashboard/+page.svelte index 88b33f2..b3f9de1 100644 --- a/frontend/src/routes/dashboard/+page.svelte +++ b/frontend/src/routes/dashboard/+page.svelte @@ -130,7 +130,7 @@ SPDX-License-Identifier: MPL-2.0 Primary -->
- {#if create_button_clicked} + + {$t('dashboard.create_quiz')} {$t('words.import')} {$t('words.results')}