[mod] oscar theme /preferences: reorganize the preferences

close #115
This commit is contained in:
Alexandre Flament 2021-06-01 16:21:56 +02:00 committed by Markus Heiser
parent 92c68fe636
commit f83b64270c
5 changed files with 164 additions and 130 deletions

View file

@ -23,6 +23,9 @@ import re
name = "Hash plugin"
description = gettext("Converts strings to different hash digests.")
default_on = True
preference_section = 'query'
query_keywords = ['md5', 'sha1', 'sha224', 'sha256', 'sha384', 'sha512']
query_examples = 'sha512 The quick brown fox jumps over the lazy dog'
parser_re = re.compile('(md5|sha1|sha224|sha256|sha384|sha512) (.*)', re.I)