mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-30 18:27:45 -05:00
more translation
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
from django.contrib import admin
|
||||
from paperless_mail.models import MailAccount, MailRule
|
||||
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
||||
class MailAccountAdmin(admin.ModelAdmin):
|
||||
|
||||
@@ -19,31 +21,31 @@ class MailRuleAdmin(admin.ModelAdmin):
|
||||
(None, {
|
||||
'fields': ('name', 'order', 'account', 'folder')
|
||||
}),
|
||||
("Filter", {
|
||||
(_("Filter"), {
|
||||
'description':
|
||||
"Paperless will only process mails that match ALL of the "
|
||||
"filters given below.",
|
||||
_("Paperless will only process mails that match ALL of the "
|
||||
"filters given below."),
|
||||
'fields':
|
||||
('filter_from',
|
||||
'filter_subject',
|
||||
'filter_body',
|
||||
'maximum_age')
|
||||
}),
|
||||
("Actions", {
|
||||
(_("Actions"), {
|
||||
'description':
|
||||
"The action applied to the mail. This action is only "
|
||||
"performed when documents were consumed from the mail. Mails "
|
||||
"without attachments will remain entirely untouched.",
|
||||
_("The action applied to the mail. This action is only "
|
||||
"performed when documents were consumed from the mail. "
|
||||
"Mails without attachments will remain entirely untouched."),
|
||||
'fields': (
|
||||
'action',
|
||||
'action_parameter')
|
||||
}),
|
||||
("Metadata", {
|
||||
(_("Metadata"), {
|
||||
'description':
|
||||
"Assign metadata to documents consumed from this rule "
|
||||
"automatically. If you do not assign tags, types or "
|
||||
"correspondents here, paperless will still process all "
|
||||
"matching rules that you have defined.",
|
||||
_("Assign metadata to documents consumed from this rule "
|
||||
"automatically. If you do not assign tags, types or "
|
||||
"correspondents here, paperless will still process all "
|
||||
"matching rules that you have defined."),
|
||||
"fields": (
|
||||
'assign_title_from',
|
||||
'assign_tag',
|
||||
|
Reference in New Issue
Block a user