diff --git a/webapp/components/CategoriesSelect/CategoriesSelect.vue b/webapp/components/CategoriesSelect/CategoriesSelect.vue index 48852d009..ae8b179a6 100644 --- a/webapp/components/CategoriesSelect/CategoriesSelect.vue +++ b/webapp/components/CategoriesSelect/CategoriesSelect.vue @@ -9,6 +9,11 @@ :disabled="isDisabled(category.id)" :icon="category.icon" size="small" + v-tooltip="{ + content: $t(`contribution.category.description.${category.slug}`), + placement: 'bottom-start', + delay: { show: 1500 }, + }" > {{ $t(`contribution.category.name.${category.slug}`) }} diff --git a/webapp/components/FilterMenu/CategoriesFilter.vue b/webapp/components/FilterMenu/CategoriesFilter.vue index 6ed37d4b3..552aa26a0 100644 --- a/webapp/components/FilterMenu/CategoriesFilter.vue +++ b/webapp/components/FilterMenu/CategoriesFilter.vue @@ -17,6 +17,11 @@ :filled="filteredCategoryIds.includes(category.id)" :label="$t(`contribution.category.name.${category.slug}`)" @click="toggleCategory(category.id)" + v-tooltip="{ + content: $t(`contribution.category.description.${category.slug}`), + placement: 'bottom-start', + delay: { show: 1500 }, + }" /> diff --git a/webapp/components/PostTeaser/PostTeaser.vue b/webapp/components/PostTeaser/PostTeaser.vue index 78a60f1cf..7e8471f9e 100644 --- a/webapp/components/PostTeaser/PostTeaser.vue +++ b/webapp/components/PostTeaser/PostTeaser.vue @@ -31,7 +31,7 @@ v-for="category in post.categories" :key="category.id" v-tooltip="{ - content: $t(`contribution.category.name.${category.slug}`), + content: $t(`contribution.category.description.${category.slug}`), placement: 'bottom-start', }" :icon="category.icon" diff --git a/webapp/locales/de.json b/webapp/locales/de.json index 13e62bd79..3809b12c8 100644 --- a/webapp/locales/de.json +++ b/webapp/locales/de.json @@ -217,6 +217,27 @@ "infoSelectedNoOfMaxCategories": "{chosen} von {max} Themen ausgewählt" }, "category": { + "description": { + "body-and-excercise": "Sport, Yoga, Massage, Tanzen, Entspannung", + "children": "Familie, Pädagogik, Schule, Prägung", + "culture": "Kunst, Theater, Musik, Fotografie, Film", + "economy": "Handel, Konsum, Marketing, Lieferketten", + "energy": "Öl, Gas, Kohle, Wind, Wasserkraft, Biogas, Atomenergie", + "finance": "Geld, Finanzsystem, Alternativwährungen", + "health": "Medizin, Ernährung, WHO, Impfungen, Schadstoffe", + "home": "Bauen, Lebensgemeinschaften, Tiny Houses, Gemüsegarten", + "it-and-media": "Nachrichten, Manipulation, Datenschutz, Überwachung, Datenkraken, KI, Software, Apps", + "law": "Menschenrechte, Gesetze, Verordnungen", + "miscellaneous": "Sonstiges", + "mobility": "Reise, Verkehr, Elektromobilität", + "nature": "Tiere, Pflanzen, Landwirtschaft, Ökologie, Artenvielfalt", + "networking": "Kooperation, Aktionsbündnisse, Solidarität, Hilfe", + "peace": "Krieg, Militär, soziale Verteidigung, Waffen, Cyberattacken", + "politics": "Demokratie, Mitbestimmung, Wahlen, Korruption, Parteien", + "psyche": "Seele, Gefühle, Glück", + "science": "Bildung, Hochschule, Publikationen", + "spirituality": "Religion, Werte, Ethik" + }, "name": { "body-and-excercise": "Körper & Bewegung", "children": "Kinder", diff --git a/webapp/locales/en.json b/webapp/locales/en.json index 703e7fbb8..52fd5b5d5 100644 --- a/webapp/locales/en.json +++ b/webapp/locales/en.json @@ -217,6 +217,27 @@ "infoSelectedNoOfMaxCategories": "{chosen} of {max} topics selected" }, "category": { + "description": { + "body-and-excercise": "Sports, yoga, massage, relaxation", + "children": "Family, education, school, imprinting", + "culture": "Art, theatre, music, photography, film", + "economy": "Trade, consumption, marketing, supply chains", + "energy": "Oil, gas, coal, wind, hydrodynamic power, biogas, atomic energy", + "finance": "Money, financial system, alternative currencies", + "health": "Medicine, nutrition, WHO, vaccination, harmful substances", + "home": "Construction, communities, tiny houses, kitchen garden", + "it-and-media": "News, manipulation, privacy, control, data leeches, AI, software, apps", + "law": "Human rights, laws, decrees", + "miscellaneous": "Miscellaneous", + "mobility": "Travel, traffic, electric mobility", + "nature": "Animals, plants, agriculture, ecologu, biodiversity", + "networking": "Cooperation, action alliances, solidarity, help", + "peace": "War, military, social defence, arms, cyber attacks", + "politics": "Democracy, participation, elections, corruption, parties", + "psyche": "Soul, feelings, happiness", + "science": "Education, university, publications", + "spirituality": "Religion, values, ethics" + }, "name": { "body-and-excercise": "Body & Excercise", "children": "Children", diff --git a/webapp/pages/post/_id/_slug/index.vue b/webapp/pages/post/_id/_slug/index.vue index c5f7d26c2..724704f67 100644 --- a/webapp/pages/post/_id/_slug/index.vue +++ b/webapp/pages/post/_id/_slug/index.vue @@ -54,7 +54,7 @@ :icon="category.icon" :name="$t(`contribution.category.name.${category.slug}`)" v-tooltip="{ - content: $t(`contribution.category.name.${category.slug}`), + content: $t(`contribution.category.description.${category.slug}`), placement: 'bottom-start', }" />