diff --git a/app/classes/web/panel_handler.py b/app/classes/web/panel_handler.py index f88e1b7b..3de05375 100644 --- a/app/classes/web/panel_handler.py +++ b/app/classes/web/panel_handler.py @@ -301,7 +301,12 @@ class PanelHandler(BaseHandler): timestamp = credits_dict["lastUpdate"] / 1000.0 page_data["patrons"] = credits_dict["patrons"] page_data["staff"] = credits_dict["staff"] - page_data["translations"] = credits_dict["translations"] + + # Filter Language keys to exclude joke prefix '*' + clean_dict = {user.replace('*', ''): translation for user, translation in credits_dict['translations'].items()} + page_data["translations"] = clean_dict + + # 0 Defines if we are using local credits file andd displays sadcat. if timestamp == 0: page_data["lastUpdate"] = '😿' else: diff --git a/app/config/credits.json b/app/config/credits.json index 1b2888aa..9417c784 100644 --- a/app/config/credits.json +++ b/app/config/credits.json @@ -82,6 +82,14 @@ "tags": [ "Staff", [ "Developer", "https://gitlab.com/qub3d" ], "Wiki" ], "blurb": "Hosts Minecraft servers for his weird friends, works for an IoT company as his dayjob. The 's' in IoT stands for 'secure'.", "pic": "/static/assets/images/credits/qub3d.png" + }, + { + "name": "DarthLeo", + "title": "Support Engineer", + "loc": "East Coast, US", + "tags": [ "Staff", null, "Discord" ], + "blurb": "Just a simple gamer.", + "pic": "/static/assets/images/credits/darthLeo.png" } ], "retired": [ diff --git a/app/frontend/static/assets/images/credits/darthLeo.png b/app/frontend/static/assets/images/credits/darthLeo.png new file mode 100644 index 00000000..09f4072f Binary files /dev/null and b/app/frontend/static/assets/images/credits/darthLeo.png differ