Skip to content
Snippets Groups Projects
Commit f7478a3d authored by Frederic Aust's avatar Frederic Aust
Browse files

Antworttext angepasst, falls nur ein einzelnes Wort angefragt wird

parent bd2428f6
No related branches found
No related tags found
No related merge requests found
...@@ -109,7 +109,11 @@ class ModuleGenderneutral: ...@@ -109,7 +109,11 @@ class ModuleGenderneutral:
continue continue
if endstring == '': if endstring == '':
endstring += 'Dieser Satz ist nach aktueller Version von geschicktgendern.de genderneutral.' if len(words) > 1:
endstring += 'Dieser Satz'
else:
endstring += 'Dieses Wort'
endstring += ' ist nach aktueller Version von geschicktgendern.de genderneutral.'
except Exception as ex: except Exception as ex:
self.log.error(f"{self.tag}Fucked up checking for bad words: {ex}") self.log.error(f"{self.tag}Fucked up checking for bad words: {ex}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment