Update text for 'clear filter' link to be different depending on flavor

This commit is contained in:
Ramon Wenger 2023-04-20 16:53:27 +02:00
parent d30e216647
commit 29c4d8f236
3 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<template> <template>
<div class="instrument-filter"> <div class="instrument-filter">
<filter-group <filter-group
title="Alles anzeigen" :title="$flavor.textInstrumentFilterShowAll"
data-cy="filter-all-instruments" data-cy="filter-all-instruments"
/> />

View File

@ -13,6 +13,7 @@ export const defaultFlavorValues: FlavorValues = {
textModules: 'Module', textModules: 'Module',
textInstrument: 'Instrument', textInstrument: 'Instrument',
textInstruments: 'Instrumente', textInstruments: 'Instrumente',
textInstrumentFilterShowAll: 'Alle anzeigen',
// mySkillbox flags // mySkillbox flags
showFooter: true, showFooter: true,
@ -36,6 +37,7 @@ export const myKvValues: FlavorValues = {
textModules: 'Lernfelder', textModules: 'Lernfelder',
textInstrument: 'Grundlagenwissen', textInstrument: 'Grundlagenwissen',
textInstruments: 'Grundlagenwissen', textInstruments: 'Grundlagenwissen',
textInstrumentFilterShowAll: 'Alles anzeigen',
// myKV flags // myKV flags
showFooter: false, showFooter: false,

View File

@ -9,6 +9,7 @@ export interface FlavorValues {
textModules: string; textModules: string;
textInstrument: string; textInstrument: string;
textInstruments: string; textInstruments: string;
textInstrumentFilterShowAll: string;
showFooter: boolean; showFooter: boolean;
showObjectivesTitle: boolean; showObjectivesTitle: boolean;
showInstrumentFilterSidebar: boolean; showInstrumentFilterSidebar: boolean;