Skip to content

馃崚category: assert names aren't duplicated

Harald Sitter requested to merge work/cherry-pick-40995bd1 into Plasma/6.1

this is an implicit requirement of our sorting logic that can break when categories are non-uniquely translated

specifically it makes no sense to have ambiguous category names on the same "level", the user isn't able to tell them apart (in particular also in a a11y context -- e.g. screenreaders). so it makes no sense at all

guard against this with a simplistic test that loads all categories in all known languages

CCBUG: 481303

(cherry picked from commit 40995bd1)

Co-authored-by: Harald Sitter sitter@kde.org

Merge request reports

Loading