change text representation of user extractors to "User Profiles"

This commit is contained in:
Mike Fährmann
2019-09-22 22:21:48 +02:00
parent 946f2751e2
commit 5a1a0f5325
2 changed files with 31 additions and 33 deletions

View File

@@ -102,7 +102,7 @@ SUBCATEGORY_MAP = {
"stash" : "Sta.sh",
"status" : "Images from Statuses",
"tag" : "Tag-Searches",
"user" : "Images from Users",
"user" : "User Profiles",
"work" : "Individual Images",
"related-pin" : "related Pins",
"related-board": "",
@@ -187,7 +187,7 @@ def category_key(cls):
def subcategory_key(cls):
"""Generate sorting keys by subcategory"""
if cls.subcategory in ("user", "issue"):
if cls.subcategory == "issue":
return "A"
return cls.subcategory