Skip to content

Commit

Permalink
Smallest fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Köhler committed Nov 30, 2023
1 parent 4055e06 commit 91d7418
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tools/supporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ def register_dynamic_buttons():
name = supporter.get('displayname')
idname = 'support.' + ''.join(filter(str.isalpha, name.lower()))

# Fix special characters
idname = idname.replace('ä', 'ae').replace("ö", 'oe').replace('ü', 'ue').replace('ß', 'ss')

description = t('register_dynamic_buttons.desc', name=name)
if supporter.get('description'):
# description = name + ' says:\n\n' + supporter.get('description') + '\n'
Expand Down

0 comments on commit 91d7418

Please sign in to comment.