@if (spells.length === 0) {
{{ 'sessionSpells.empty' | translate }}
} @else {
@if (filtering) {
{{ 'spellCatalog.countFiltered' | translate:{ shown: visibleSpells.length, total: spells.length } }}
} @else {
{{ (spells.length === 1 ? 'spellCatalog.countOne' : 'spellCatalog.countMany') | translate:{ count: spells.length } }}
}
@if (visibleSpells.length > 0) {
} @else {
{{ 'spellCatalog.noMatch' | translate }}
}
}