mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-09 00:05:21 +01:00
fix up some messages
This commit is contained in:
parent
6d20fc14ab
commit
c2b82fa063
5 changed files with 37 additions and 26 deletions
|
|
@ -50,7 +50,7 @@ class MatchingModelSerializer(serializers.ModelSerializer):
|
|||
re.compile(match)
|
||||
except Exception as e:
|
||||
raise serializers.ValidationError(
|
||||
_("Invalid regular expresssion: %(error)s") %
|
||||
_("Invalid regular expression: %(error)s") %
|
||||
{'error': str(e)}
|
||||
)
|
||||
return match
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue