merge-requests/30/head
Bob Mottram 2022-06-03 14:38:17 +01:00
commit a24056ad95
2 changed files with 8 additions and 4 deletions

View File

@ -3696,7 +3696,9 @@ def disallow_announce(content: str) -> bool:
':boosts_no:',
'dont_repeat',
'dont_announce',
'dont_boost'
'dont_boost',
'do not boost',
"don't boost"
)
for diss in disallow_strings:
if diss in content:
@ -3714,7 +3716,9 @@ def disallow_reply(content: str) -> bool:
':no_reply:',
':no_replies:',
':replies_no:',
'dont_at_me'
'dont_at_me',
'do not reply',
"don't reply"
)
for diss in disallow_strings:
if diss in content:

View File

@ -364,7 +364,7 @@ def html_search_emoji_text_entry(translate: {},
emoji_str += ' <input type="text" name="searchtext" autofocus><br>\n'
emoji_str += \
' <button type="submit" class="button" name="submitSearch">' + \
translate['Publish'] + '</button>\n'
translate['Search'] + '</button>\n'
emoji_str += ' </form>\n'
emoji_str += ' </center>\n'
emoji_str += ' </div>\n'
@ -434,7 +434,7 @@ def html_search(translate: {}, base_dir: str, path: str, domain: str,
submit_key = access_keys['submitButton']
follow_str += ' <button type="submit" class="button" ' + \
'name="submitSearch" accesskey="' + submit_key + '">' + \
translate['Publish'] + '</button>\n'
translate['Search'] + '</button>\n'
follow_str += ' </form>\n'
cached_hashtag_swarm_filename = \