mirror of https://gitlab.com/bashrc2/epicyon
Merge
commit
a24056ad95
8
utils.py
8
utils.py
|
|
@ -3696,7 +3696,9 @@ def disallow_announce(content: str) -> bool:
|
||||||
':boosts_no:',
|
':boosts_no:',
|
||||||
'dont_repeat',
|
'dont_repeat',
|
||||||
'dont_announce',
|
'dont_announce',
|
||||||
'dont_boost'
|
'dont_boost',
|
||||||
|
'do not boost',
|
||||||
|
"don't boost"
|
||||||
)
|
)
|
||||||
for diss in disallow_strings:
|
for diss in disallow_strings:
|
||||||
if diss in content:
|
if diss in content:
|
||||||
|
|
@ -3714,7 +3716,9 @@ def disallow_reply(content: str) -> bool:
|
||||||
':no_reply:',
|
':no_reply:',
|
||||||
':no_replies:',
|
':no_replies:',
|
||||||
':replies_no:',
|
':replies_no:',
|
||||||
'dont_at_me'
|
'dont_at_me',
|
||||||
|
'do not reply',
|
||||||
|
"don't reply"
|
||||||
)
|
)
|
||||||
for diss in disallow_strings:
|
for diss in disallow_strings:
|
||||||
if diss in content:
|
if diss in content:
|
||||||
|
|
|
||||||
|
|
@ -364,7 +364,7 @@ def html_search_emoji_text_entry(translate: {},
|
||||||
emoji_str += ' <input type="text" name="searchtext" autofocus><br>\n'
|
emoji_str += ' <input type="text" name="searchtext" autofocus><br>\n'
|
||||||
emoji_str += \
|
emoji_str += \
|
||||||
' <button type="submit" class="button" name="submitSearch">' + \
|
' <button type="submit" class="button" name="submitSearch">' + \
|
||||||
translate['Publish'] + '</button>\n'
|
translate['Search'] + '</button>\n'
|
||||||
emoji_str += ' </form>\n'
|
emoji_str += ' </form>\n'
|
||||||
emoji_str += ' </center>\n'
|
emoji_str += ' </center>\n'
|
||||||
emoji_str += ' </div>\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']
|
submit_key = access_keys['submitButton']
|
||||||
follow_str += ' <button type="submit" class="button" ' + \
|
follow_str += ' <button type="submit" class="button" ' + \
|
||||||
'name="submitSearch" accesskey="' + submit_key + '">' + \
|
'name="submitSearch" accesskey="' + submit_key + '">' + \
|
||||||
translate['Publish'] + '</button>\n'
|
translate['Search'] + '</button>\n'
|
||||||
follow_str += ' </form>\n'
|
follow_str += ' </form>\n'
|
||||||
|
|
||||||
cached_hashtag_swarm_filename = \
|
cached_hashtag_swarm_filename = \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue