From dc26c9b7ccf10e56f46b175afe0102fc140e0c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Sun, 18 Apr 2021 15:56:00 +0200 Subject: [PATCH 01/29] Add --no-progress-bar option to commands --- .../management/commands/document_archiver.py | 9 ++++++++- .../management/commands/document_exporter.py | 17 +++++++++++++---- .../management/commands/document_importer.py | 15 ++++++++++++--- .../management/commands/document_index.py | 8 +++++++- .../management/commands/document_renamer.py | 13 ++++++++++++- .../management/commands/document_retagger.py | 11 ++++++++++- .../commands/document_sanity_checker.py | 10 +++++++++- .../management/commands/document_thumbnails.py | 10 +++++++++- src/documents/sanity_checker.py | 7 +------ src/documents/tasks.py | 4 ++-- 10 files changed, 83 insertions(+), 21 deletions(-) diff --git a/src/documents/management/commands/document_archiver.py b/src/documents/management/commands/document_archiver.py index 6a6056ed7..96ddebe77 100644 --- a/src/documents/management/commands/document_archiver.py +++ b/src/documents/management/commands/document_archiver.py @@ -106,6 +106,12 @@ class Command(BaseCommand): help="Specify the ID of a document, and this command will only " "run on this specific document." ) + parser.add_argument( + "--no-progress-bar", + default=False, + action="store_true", + help="If set, the progress bar will not be shown" + ) def handle(self, *args, **options): @@ -140,7 +146,8 @@ class Command(BaseCommand): handle_document, document_ids ), - total=len(document_ids) + total=len(document_ids), + disable=options['no_progress_bar'] )) except KeyboardInterrupt: print("Aborting...") diff --git a/src/documents/management/commands/document_exporter.py b/src/documents/management/commands/document_exporter.py index 286d862e3..217877397 100644 --- a/src/documents/management/commands/document_exporter.py +++ b/src/documents/management/commands/document_exporter.py @@ -57,6 +57,12 @@ class Command(BaseCommand): "do not belong to the current export, such as files from " "deleted documents." ) + parser.add_argument( + "--no-progress-bar", + default=False, + action="store_true", + help="If set, the progress bar will not be shown" + ) def __init__(self, *args, **kwargs): BaseCommand.__init__(self, *args, **kwargs) @@ -81,9 +87,9 @@ class Command(BaseCommand): raise CommandError("That path doesn't appear to be writable") with FileLock(settings.MEDIA_LOCK): - self.dump() + self.dump(options['no_progress_bar']) - def dump(self): + def dump(self, progress_bar_disable=False): # 1. Take a snapshot of what files exist in the current export folder for root, dirs, files in os.walk(self.target): self.files_in_export_dir.extend( @@ -124,8 +130,11 @@ class Command(BaseCommand): "json", User.objects.all())) # 3. Export files from each document - for index, document_dict in tqdm.tqdm(enumerate(document_manifest), - total=len(document_manifest)): + for index, document_dict in tqdm.tqdm( + enumerate(document_manifest), + total=len(document_manifest), + disable=progress_bar_disable + ): # 3.1. store files unencrypted document_dict["fields"]["storage_type"] = Document.STORAGE_TYPE_UNENCRYPTED # NOQA: E501 diff --git a/src/documents/management/commands/document_importer.py b/src/documents/management/commands/document_importer.py index 9347b0d4c..4606b91fe 100644 --- a/src/documents/management/commands/document_importer.py +++ b/src/documents/management/commands/document_importer.py @@ -36,6 +36,12 @@ class Command(BaseCommand): def add_arguments(self, parser): parser.add_argument("source") + parser.add_argument( + "--no-progress-bar", + default=False, + action="store_true", + help="If set, the progress bar will not be shown" + ) def __init__(self, *args, **kwargs): BaseCommand.__init__(self, *args, **kwargs) @@ -70,7 +76,7 @@ class Command(BaseCommand): # Fill up the database with whatever is in the manifest call_command("loaddata", manifest_path) - self._import_files_from_manifest() + self._import_files_from_manifest(options['no_progress_bar']) print("Updating search index...") call_command('document_index', 'reindex') @@ -111,7 +117,7 @@ class Command(BaseCommand): f"does not appear to be in the source directory." ) - def _import_files_from_manifest(self): + def _import_files_from_manifest(self, progress_bar_disable): os.makedirs(settings.ORIGINALS_DIR, exist_ok=True) os.makedirs(settings.THUMBNAIL_DIR, exist_ok=True) @@ -123,7 +129,10 @@ class Command(BaseCommand): lambda r: r["model"] == "documents.document", self.manifest)) - for record in tqdm.tqdm(manifest_documents): + for record in tqdm.tqdm( + manifest_documents, + disable=progress_bar_disable + ): document = Document.objects.get(pk=record["pk"]) diff --git a/src/documents/management/commands/document_index.py b/src/documents/management/commands/document_index.py index 5faa70b9f..d76f48293 100644 --- a/src/documents/management/commands/document_index.py +++ b/src/documents/management/commands/document_index.py @@ -10,10 +10,16 @@ class Command(BaseCommand): def add_arguments(self, parser): parser.add_argument("command", choices=['reindex', 'optimize']) + parser.add_argument( + "--no-progress-bar", + default=False, + action="store_true", + help="If set, the progress bar will not be shown" + ) def handle(self, *args, **options): with transaction.atomic(): if options['command'] == 'reindex': - index_reindex() + index_reindex(progress_bar_disable=options['no_progress_bar']) elif options['command'] == 'optimize': index_optimize() diff --git a/src/documents/management/commands/document_renamer.py b/src/documents/management/commands/document_renamer.py index f311715c6..682705c2d 100644 --- a/src/documents/management/commands/document_renamer.py +++ b/src/documents/management/commands/document_renamer.py @@ -13,9 +13,20 @@ class Command(BaseCommand): This will rename all documents to match the latest filename format. """.replace(" ", "") + def add_arguments(self, parser): + parser.add_argument( + "--no-progress-bar", + default=False, + action="store_true", + help="If set, the progress bar will not be shown" + ) + def handle(self, *args, **options): logging.getLogger().handlers[0].level = logging.ERROR - for document in tqdm.tqdm(Document.objects.all()): + for document in tqdm.tqdm( + Document.objects.all(), + disable=options['no_progress_bar'] + ): post_save.send(Document, instance=document) diff --git a/src/documents/management/commands/document_retagger.py b/src/documents/management/commands/document_retagger.py index 4a23faa86..ce3f94bf2 100755 --- a/src/documents/management/commands/document_retagger.py +++ b/src/documents/management/commands/document_retagger.py @@ -57,6 +57,12 @@ class Command(BaseCommand): "set correspondent, document and remove correspondents, types" "and tags that do not match anymore due to changed rules." ) + parser.add_argument( + "--no-progress-bar", + default=False, + action="store_true", + help="If set, the progress bar will not be shown" + ) def handle(self, *args, **options): @@ -68,7 +74,10 @@ class Command(BaseCommand): classifier = load_classifier() - for document in tqdm.tqdm(documents): + for document in tqdm.tqdm( + documents, + disable=options['no_progress_bar'] + ): if options['correspondent']: set_correspondent( diff --git a/src/documents/management/commands/document_sanity_checker.py b/src/documents/management/commands/document_sanity_checker.py index c04a5efef..fbbb8d600 100644 --- a/src/documents/management/commands/document_sanity_checker.py +++ b/src/documents/management/commands/document_sanity_checker.py @@ -8,8 +8,16 @@ class Command(BaseCommand): This command checks your document archive for issues. """.replace(" ", "") + def add_arguments(self, parser): + parser.add_argument( + "--no-progress-bar", + default=False, + action="store_true", + help="If set, the progress bar will not be shown" + ) + def handle(self, *args, **options): - messages = check_sanity(progress=True) + messages = check_sanity(progress=not options['no_progress_bar']) messages.log_messages() diff --git a/src/documents/management/commands/document_thumbnails.py b/src/documents/management/commands/document_thumbnails.py index b7f935e3b..05f059039 100644 --- a/src/documents/management/commands/document_thumbnails.py +++ b/src/documents/management/commands/document_thumbnails.py @@ -47,6 +47,12 @@ class Command(BaseCommand): help="Specify the ID of a document, and this command will only " "run on this specific document." ) + parser.add_argument( + "--no-progress-bar", + default=False, + action="store_true", + help="If set, the progress bar will not be shown" + ) def handle(self, *args, **options): logging.getLogger().handlers[0].level = logging.ERROR @@ -65,5 +71,7 @@ class Command(BaseCommand): with multiprocessing.Pool() as pool: list(tqdm.tqdm( - pool.imap_unordered(_process_document, ids), total=len(ids) + pool.imap_unordered(_process_document, ids), + total=len(ids), + disable=options['no_progress_bar'] )) diff --git a/src/documents/sanity_checker.py b/src/documents/sanity_checker.py index 2e1777841..26467d3cf 100644 --- a/src/documents/sanity_checker.py +++ b/src/documents/sanity_checker.py @@ -60,12 +60,7 @@ def check_sanity(progress=False): if lockfile in present_files: present_files.remove(lockfile) - if progress: - docs = tqdm(Document.objects.all()) - else: - docs = Document.objects.all() - - for doc in docs: + for doc in tqdm(Document.objects.all(), disable=not progress): # Check sanity of the thumbnail if not os.path.isfile(doc.thumbnail_path): messages.error(f"Thumbnail of document {doc.pk} does not exist.") diff --git a/src/documents/tasks.py b/src/documents/tasks.py index ddfd2eac3..f24be562f 100644 --- a/src/documents/tasks.py +++ b/src/documents/tasks.py @@ -20,13 +20,13 @@ def index_optimize(): writer.commit(optimize=True) -def index_reindex(): +def index_reindex(progress_bar_disable=False): documents = Document.objects.all() ix = index.open_index(recreate=True) with AsyncWriter(ix) as writer: - for document in tqdm.tqdm(documents): + for document in tqdm.tqdm(documents, disable=progress_bar_disable): index.update_document(writer, document) From e16d58cff53a04bc2fab7e70764b91ede31fbefe Mon Sep 17 00:00:00 2001 From: Jonas Winkler <17569239+jonaswinkler@users.noreply.github.com> Date: Wed, 5 May 2021 14:49:08 +0200 Subject: [PATCH 02/29] New Crowdin updates (#986) --- src-ui/src/locale/messages.cs_CZ.xlf | 10 +++++++- src-ui/src/locale/messages.de_DE.xlf | 10 +++++++- src-ui/src/locale/messages.en_GB.xlf | 10 +++++++- src-ui/src/locale/messages.es_ES.xlf | 10 +++++++- src-ui/src/locale/messages.fr_FR.xlf | 10 +++++++- src-ui/src/locale/messages.hu_HU.xlf | 10 +++++++- src-ui/src/locale/messages.it_IT.xlf | 10 +++++++- src-ui/src/locale/messages.nl_NL.xlf | 10 +++++++- src-ui/src/locale/messages.pl_PL.xlf | 10 +++++++- src-ui/src/locale/messages.pt_BR.xlf | 10 +++++++- src-ui/src/locale/messages.pt_PT.xlf | 10 +++++++- src-ui/src/locale/messages.ro_RO.xlf | 14 ++++++++--- src-ui/src/locale/messages.ru_RU.xlf | 10 +++++++- src-ui/src/locale/messages.sv_SE.xlf | 10 +++++++- src-ui/src/locale/messages.xh_ZA.xlf | 10 +++++++- src-ui/src/locale/messages.zh_CN.xlf | 10 +++++++- src/locale/cs_CZ/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/de_DE/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/en_GB/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/es_ES/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/fr_FR/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/hu_HU/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/it_IT/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/nl_NL/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/pl_PL/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/pt_BR/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/pt_PT/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/ro_RO/LC_MESSAGES/django.po | 34 ++++++++++++++------------ src/locale/ru_RU/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/sv_SE/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/xh_ZA/LC_MESSAGES/django.po | 32 +++++++++++++----------- src/locale/zh_CN/LC_MESSAGES/django.po | 32 +++++++++++++----------- 32 files changed, 435 insertions(+), 243 deletions(-) diff --git a/src-ui/src/locale/messages.cs_CZ.xlf b/src-ui/src/locale/messages.cs_CZ.xlf index f678176a6..040222ab6 100644 --- a/src-ui/src/locale/messages.cs_CZ.xlf +++ b/src-ui/src/locale/messages.cs_CZ.xlf @@ -1977,11 +1977,19 @@ Polish + + Swedish + + src/app/services/settings.service.ts + 102 + + Swedish + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.de_DE.xlf b/src-ui/src/locale/messages.de_DE.xlf index 5de1dd342..037f719b9 100644 --- a/src-ui/src/locale/messages.de_DE.xlf +++ b/src-ui/src/locale/messages.de_DE.xlf @@ -1977,11 +1977,19 @@ Polnisch + + Swedish + + src/app/services/settings.service.ts + 102 + + Schwedisch + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.en_GB.xlf b/src-ui/src/locale/messages.en_GB.xlf index de6174202..683104675 100644 --- a/src-ui/src/locale/messages.en_GB.xlf +++ b/src-ui/src/locale/messages.en_GB.xlf @@ -1977,11 +1977,19 @@ Polish + + Swedish + + src/app/services/settings.service.ts + 102 + + Swedish + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.es_ES.xlf b/src-ui/src/locale/messages.es_ES.xlf index 85ca0ec98..cc1ec5551 100644 --- a/src-ui/src/locale/messages.es_ES.xlf +++ b/src-ui/src/locale/messages.es_ES.xlf @@ -1977,11 +1977,19 @@ Polish + + Swedish + + src/app/services/settings.service.ts + 102 + + Swedish + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.fr_FR.xlf b/src-ui/src/locale/messages.fr_FR.xlf index 38f9474f3..ed258cf80 100644 --- a/src-ui/src/locale/messages.fr_FR.xlf +++ b/src-ui/src/locale/messages.fr_FR.xlf @@ -1977,11 +1977,19 @@ Polonais + + Swedish + + src/app/services/settings.service.ts + 102 + + Swedish + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.hu_HU.xlf b/src-ui/src/locale/messages.hu_HU.xlf index 2d419f0c0..3f7aa2917 100644 --- a/src-ui/src/locale/messages.hu_HU.xlf +++ b/src-ui/src/locale/messages.hu_HU.xlf @@ -1977,11 +1977,19 @@ Polish + + Swedish + + src/app/services/settings.service.ts + 102 + + Swedish + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.it_IT.xlf b/src-ui/src/locale/messages.it_IT.xlf index def5dcec1..8954dce8d 100644 --- a/src-ui/src/locale/messages.it_IT.xlf +++ b/src-ui/src/locale/messages.it_IT.xlf @@ -1977,11 +1977,19 @@ Polacco + + Swedish + + src/app/services/settings.service.ts + 102 + + Svedese + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.nl_NL.xlf b/src-ui/src/locale/messages.nl_NL.xlf index 97b7c020b..40e0d6b9a 100644 --- a/src-ui/src/locale/messages.nl_NL.xlf +++ b/src-ui/src/locale/messages.nl_NL.xlf @@ -1977,11 +1977,19 @@ Pools + + Swedish + + src/app/services/settings.service.ts + 102 + + Swedish + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.pl_PL.xlf b/src-ui/src/locale/messages.pl_PL.xlf index daecaef1d..5252a2c96 100644 --- a/src-ui/src/locale/messages.pl_PL.xlf +++ b/src-ui/src/locale/messages.pl_PL.xlf @@ -1977,11 +1977,19 @@ Polski + + Swedish + + src/app/services/settings.service.ts + 102 + + Swedish + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.pt_BR.xlf b/src-ui/src/locale/messages.pt_BR.xlf index f68d7a583..94f963e3a 100644 --- a/src-ui/src/locale/messages.pt_BR.xlf +++ b/src-ui/src/locale/messages.pt_BR.xlf @@ -1977,11 +1977,19 @@ Polish + + Swedish + + src/app/services/settings.service.ts + 102 + + Swedish + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.pt_PT.xlf b/src-ui/src/locale/messages.pt_PT.xlf index 2203451e6..afbf195ac 100644 --- a/src-ui/src/locale/messages.pt_PT.xlf +++ b/src-ui/src/locale/messages.pt_PT.xlf @@ -1977,11 +1977,19 @@ Polaco + + Swedish + + src/app/services/settings.service.ts + 102 + + Swedish + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.ro_RO.xlf b/src-ui/src/locale/messages.ro_RO.xlf index 6134a74d9..95d6cce54 100644 --- a/src-ui/src/locale/messages.ro_RO.xlf +++ b/src-ui/src/locale/messages.ro_RO.xlf @@ -1855,7 +1855,7 @@ src/app/components/document-asn/document-asn.component.html 1 - Searching document with asn + Se caută documentul cu asn Yes @@ -1975,13 +1975,21 @@ src/app/services/settings.service.ts 101 - Polish + Poloneză + + + Swedish + + src/app/services/settings.service.ts + 102 + + Suedeză ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.ru_RU.xlf b/src-ui/src/locale/messages.ru_RU.xlf index 585ba859a..2a421d418 100644 --- a/src-ui/src/locale/messages.ru_RU.xlf +++ b/src-ui/src/locale/messages.ru_RU.xlf @@ -1977,11 +1977,19 @@ Polish + + Swedish + + src/app/services/settings.service.ts + 102 + + Swedish + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.sv_SE.xlf b/src-ui/src/locale/messages.sv_SE.xlf index 82cce8f4f..b0cc5889b 100644 --- a/src-ui/src/locale/messages.sv_SE.xlf +++ b/src-ui/src/locale/messages.sv_SE.xlf @@ -1977,11 +1977,19 @@ Polska + + Swedish + + src/app/services/settings.service.ts + 102 + + Swedish + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src-ui/src/locale/messages.xh_ZA.xlf b/src-ui/src/locale/messages.xh_ZA.xlf index e287bf805..9cca7f5be 100644 --- a/src-ui/src/locale/messages.xh_ZA.xlf +++ b/src-ui/src/locale/messages.xh_ZA.xlf @@ -1977,11 +1977,19 @@ crwdns3442:0crwdne3442:0 + + Swedish + + src/app/services/settings.service.ts + 102 + + crwdns3446:0crwdne3446:0 + ISO 8601 src/app/services/settings.service.ts - 106 + 107 crwdns3322:0crwdne3322:0 diff --git a/src-ui/src/locale/messages.zh_CN.xlf b/src-ui/src/locale/messages.zh_CN.xlf index a640ee859..37d0979d8 100644 --- a/src-ui/src/locale/messages.zh_CN.xlf +++ b/src-ui/src/locale/messages.zh_CN.xlf @@ -1977,11 +1977,19 @@ Polish + + Swedish + + src/app/services/settings.service.ts + 102 + + Swedish + ISO 8601 src/app/services/settings.service.ts - 106 + 107 ISO 8601 diff --git a/src/locale/cs_CZ/LC_MESSAGES/django.po b/src/locale/cs_CZ/LC_MESSAGES/django.po index a77087cfb..b6402acb6 100644 --- a/src/locale/cs_CZ/LC_MESSAGES/django.po +++ b/src/locale/cs_CZ/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-17 11:47\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:52\n" "Last-Translator: \n" "Language-Team: Czech\n" "Language: cs_CZ\n" @@ -412,54 +412,58 @@ msgstr "Heslo" msgid "Sign in" msgstr "Přihlásit se" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Němčina" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Holandština" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "Francouzština" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "Správa Paperless-ng" diff --git a/src/locale/de_DE/LC_MESSAGES/django.po b/src/locale/de_DE/LC_MESSAGES/django.po index f4b90232e..d55d5103b 100644 --- a/src/locale/de_DE/LC_MESSAGES/django.po +++ b/src/locale/de_DE/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-17 19:51\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 23:04\n" "Last-Translator: \n" "Language-Team: German\n" "Language: de_DE\n" @@ -412,54 +412,58 @@ msgstr "Kennwort" msgid "Sign in" msgstr "Anmelden" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "Englisch (US)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "Englisch (UK)" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Deutsch" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Niederländisch" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "Französisch" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "Portugiesisch (Brasilien)" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "Portugiesisch" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "Italienisch" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "Rumänisch" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "Russisch" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "Spanisch" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "Polnisch" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "Schwedisch" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "Paperless-ng Administration" diff --git a/src/locale/en_GB/LC_MESSAGES/django.po b/src/locale/en_GB/LC_MESSAGES/django.po index 859156d1e..c28b71983 100644 --- a/src/locale/en_GB/LC_MESSAGES/django.po +++ b/src/locale/en_GB/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-05-02 17:00\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:51\n" "Last-Translator: \n" "Language-Team: English, United Kingdom\n" "Language: en_GB\n" @@ -412,54 +412,58 @@ msgstr "Password" msgid "Sign in" msgstr "Sign in" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "English (US)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "English (GB)" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "German" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Dutch" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "French" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "Portuguese (Brazil)" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "Portuguese" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "Italian" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "Romanian" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "Russian" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "Spanish" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "Polish" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "Paperless-ng administration" diff --git a/src/locale/es_ES/LC_MESSAGES/django.po b/src/locale/es_ES/LC_MESSAGES/django.po index f82e654ef..f334c9cb8 100644 --- a/src/locale/es_ES/LC_MESSAGES/django.po +++ b/src/locale/es_ES/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-17 11:47\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:52\n" "Last-Translator: \n" "Language-Team: Spanish\n" "Language: es_ES\n" @@ -412,54 +412,58 @@ msgstr "Contraseña" msgid "Sign in" msgstr "Iniciar sesión" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "Inglés (US)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "Inglés (Gran Bretaña)" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Alemán" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Alemán" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "Francés" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "Portugués (Brasil)" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "Italiano" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "Rumano" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "Ruso" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "Español" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "Paperless-ng Administración" diff --git a/src/locale/fr_FR/LC_MESSAGES/django.po b/src/locale/fr_FR/LC_MESSAGES/django.po index dd2c506f4..d5015cb12 100644 --- a/src/locale/fr_FR/LC_MESSAGES/django.po +++ b/src/locale/fr_FR/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-17 13:47\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:52\n" "Last-Translator: \n" "Language-Team: French\n" "Language: fr_FR\n" @@ -412,54 +412,58 @@ msgstr "Mot de passe" msgid "Sign in" msgstr "S'identifier" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "Anglais (US)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "Anglais (GB)" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Allemand" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Néerlandais" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "Français" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "Portugais (Brésil)" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "Portugais" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "Italien" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "Roumain" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "Russe" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "Espagnol" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "Polonais" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "Administration de Paperless-ng" diff --git a/src/locale/hu_HU/LC_MESSAGES/django.po b/src/locale/hu_HU/LC_MESSAGES/django.po index 8a496c723..93f1d1da2 100644 --- a/src/locale/hu_HU/LC_MESSAGES/django.po +++ b/src/locale/hu_HU/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-17 11:47\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:52\n" "Last-Translator: \n" "Language-Team: Hungarian\n" "Language: hu_HU\n" @@ -412,54 +412,58 @@ msgstr "" msgid "Sign in" msgstr "" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "Angol (US)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Német" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "" diff --git a/src/locale/it_IT/LC_MESSAGES/django.po b/src/locale/it_IT/LC_MESSAGES/django.po index e0ce2596f..92bbfb07a 100644 --- a/src/locale/it_IT/LC_MESSAGES/django.po +++ b/src/locale/it_IT/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-17 18:50\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-05 08:19\n" "Last-Translator: \n" "Language-Team: Italian\n" "Language: it_IT\n" @@ -412,54 +412,58 @@ msgstr "Password" msgid "Sign in" msgstr "Accedi" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "Inglese (US)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "Inglese (GB)" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Tedesco" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Olandese" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "Francese" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "Portoghese (Brasile)" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "Portoghese" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "Italiano" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "Rumeno" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "Russo" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "Spagnolo" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "Polacco" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "Svedese" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "Amministrazione di Paperless-ng" diff --git a/src/locale/nl_NL/LC_MESSAGES/django.po b/src/locale/nl_NL/LC_MESSAGES/django.po index 0c9154f1e..b17cbeec7 100644 --- a/src/locale/nl_NL/LC_MESSAGES/django.po +++ b/src/locale/nl_NL/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-18 13:19\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:51\n" "Last-Translator: \n" "Language-Team: Dutch\n" "Language: nl_NL\n" @@ -412,54 +412,58 @@ msgstr "Wachtwoord" msgid "Sign in" msgstr "Aanmelden" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "Engels (US)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "Engels (Brits)" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Duits" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Nederlands" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "Frans" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "Portugees (Brazilië)" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "Portugees" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "Italiaans" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "Roemeens" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "Russisch" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "Spaans" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "Pools" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "Paperless-ng administratie" diff --git a/src/locale/pl_PL/LC_MESSAGES/django.po b/src/locale/pl_PL/LC_MESSAGES/django.po index 7e5bf130f..ccf85eaae 100644 --- a/src/locale/pl_PL/LC_MESSAGES/django.po +++ b/src/locale/pl_PL/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-17 14:46\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:51\n" "Last-Translator: \n" "Language-Team: Polish\n" "Language: pl_PL\n" @@ -412,54 +412,58 @@ msgstr "Hasło" msgid "Sign in" msgstr "Zaloguj się" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "Angielski (USA)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "Angielski (Wielka Brytania)" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Niemiecki" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Holenderski" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "Francuski" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "Portugalski (Brazylia)" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "Portugalski" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "Włoski" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "Rumuński" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "Rosyjski" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "Hiszpański" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "Polski" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "Administracja Paperless-ng" diff --git a/src/locale/pt_BR/LC_MESSAGES/django.po b/src/locale/pt_BR/LC_MESSAGES/django.po index 2e07540a1..1b5b43165 100644 --- a/src/locale/pt_BR/LC_MESSAGES/django.po +++ b/src/locale/pt_BR/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-17 11:47\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:51\n" "Last-Translator: \n" "Language-Team: Portuguese, Brazilian\n" "Language: pt_BR\n" @@ -412,54 +412,58 @@ msgstr "Senha" msgid "Sign in" msgstr "Entrar" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "Inglês (EUA)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "Inglês (GB)" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Alemão" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Holandês" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "Francês" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "Português (Brasil)" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "Italiano" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "Romeno" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "Administração do Paperless-ng" diff --git a/src/locale/pt_PT/LC_MESSAGES/django.po b/src/locale/pt_PT/LC_MESSAGES/django.po index 750342a1f..e170be6a6 100644 --- a/src/locale/pt_PT/LC_MESSAGES/django.po +++ b/src/locale/pt_PT/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-17 21:56\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:51\n" "Last-Translator: \n" "Language-Team: Portuguese\n" "Language: pt_PT\n" @@ -412,54 +412,58 @@ msgstr "Palavra-passe" msgid "Sign in" msgstr "Iniciar sessão" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "Inglês (EUA)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "English (GB)" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Deutsch" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Nederlandse" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "Français" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "Português (Brasil)" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "Português" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "Italiano" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "Romeno" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "Russo" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "Espanhol" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "Polaco" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "Administração do Paperless-ng" diff --git a/src/locale/ro_RO/LC_MESSAGES/django.po b/src/locale/ro_RO/LC_MESSAGES/django.po index 4c2bd62d6..8aefb8f0b 100644 --- a/src/locale/ro_RO/LC_MESSAGES/django.po +++ b/src/locale/ro_RO/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-05-04 02:27\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 23:04\n" "Last-Translator: \n" "Language-Team: Romanian\n" "Language: ro_RO\n" @@ -412,53 +412,57 @@ msgstr "Parolă" msgid "Sign in" msgstr "Conectare" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "Engleză (Americană)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "Engleză (Britanică)" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Germană" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Olandeză" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "Franceză" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "Portugheză (Brazilia)" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "Portugheză" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "Italiană" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "Română" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "Rusă" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "Spaniolă" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" -msgstr "" +msgstr "Poloneză" + +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "Suedeză" #: paperless/urls.py:113 msgid "Paperless-ng administration" diff --git a/src/locale/ru_RU/LC_MESSAGES/django.po b/src/locale/ru_RU/LC_MESSAGES/django.po index a33c8d4a4..56a7d5b96 100644 --- a/src/locale/ru_RU/LC_MESSAGES/django.po +++ b/src/locale/ru_RU/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-17 11:47\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:51\n" "Last-Translator: \n" "Language-Team: Russian\n" "Language: ru_RU\n" @@ -412,54 +412,58 @@ msgstr "Пароль" msgid "Sign in" msgstr "Вход" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "Английский (США)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "Английский (Великобритании)" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Немецкий" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Датский" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "Французский" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "Portuguese (Brazil)" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "Португальский" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "Italian" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "Romanian" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "Русский" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "Испанский" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "Администрирование Paperless-ng" diff --git a/src/locale/sv_SE/LC_MESSAGES/django.po b/src/locale/sv_SE/LC_MESSAGES/django.po index bcc092cdb..cb21a90ca 100644 --- a/src/locale/sv_SE/LC_MESSAGES/django.po +++ b/src/locale/sv_SE/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-05-04 13:14\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:52\n" "Last-Translator: \n" "Language-Team: Swedish\n" "Language: sv_SE\n" @@ -412,54 +412,58 @@ msgstr "Lösenord" msgid "Sign in" msgstr "Logga in" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "Engelska (USA)" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "Engelska (GB)" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "Tyska" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "Holländska" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "Franska" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "Portugisiska (Brasilien)" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "Portugisiska" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "Italienska" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "Rumänska" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "Ryska" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "Spanska" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "Polska" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "Paperless-ng administration" diff --git a/src/locale/xh_ZA/LC_MESSAGES/django.po b/src/locale/xh_ZA/LC_MESSAGES/django.po index b30b40a0e..b706261ad 100644 --- a/src/locale/xh_ZA/LC_MESSAGES/django.po +++ b/src/locale/xh_ZA/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-17 11:46\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:51\n" "Last-Translator: \n" "Language-Team: Xhosa\n" "Language: xh_ZA\n" @@ -412,54 +412,58 @@ msgstr "crwdns2712:0crwdne2712:0" msgid "Sign in" msgstr "crwdns2714:0crwdne2714:0" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "crwdns2716:0crwdne2716:0" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "crwdns2718:0crwdne2718:0" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "crwdns2720:0crwdne2720:0" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "crwdns2722:0crwdne2722:0" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "crwdns2724:0crwdne2724:0" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "crwdns2726:0crwdne2726:0" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "crwdns3424:0crwdne3424:0" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "crwdns2728:0crwdne2728:0" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "crwdns2730:0crwdne2730:0" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "crwdns3414:0crwdne3414:0" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "crwdns3420:0crwdne3420:0" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "crwdns3444:0crwdne3444:0" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "crwdns3448:0crwdne3448:0" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "crwdns2732:0crwdne2732:0" diff --git a/src/locale/zh_CN/LC_MESSAGES/django.po b/src/locale/zh_CN/LC_MESSAGES/django.po index 356e1ab19..01d9b234b 100644 --- a/src/locale/zh_CN/LC_MESSAGES/django.po +++ b/src/locale/zh_CN/LC_MESSAGES/django.po @@ -2,8 +2,8 @@ msgid "" msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-04-17 13:41+0200\n" -"PO-Revision-Date: 2021-04-17 11:47\n" +"POT-Creation-Date: 2021-05-04 15:00+0000\n" +"PO-Revision-Date: 2021-05-04 21:51\n" "Last-Translator: \n" "Language-Team: Chinese Simplified\n" "Language: zh_CN\n" @@ -412,54 +412,58 @@ msgstr "" msgid "Sign in" msgstr "" -#: paperless/settings.py:298 +#: paperless/settings.py:300 msgid "English (US)" msgstr "" -#: paperless/settings.py:299 +#: paperless/settings.py:301 msgid "English (GB)" msgstr "" -#: paperless/settings.py:300 +#: paperless/settings.py:302 msgid "German" msgstr "" -#: paperless/settings.py:301 +#: paperless/settings.py:303 msgid "Dutch" msgstr "" -#: paperless/settings.py:302 +#: paperless/settings.py:304 msgid "French" msgstr "" -#: paperless/settings.py:303 +#: paperless/settings.py:305 msgid "Portuguese (Brazil)" msgstr "" -#: paperless/settings.py:304 +#: paperless/settings.py:306 msgid "Portuguese" msgstr "" -#: paperless/settings.py:305 +#: paperless/settings.py:307 msgid "Italian" msgstr "" -#: paperless/settings.py:306 +#: paperless/settings.py:308 msgid "Romanian" msgstr "" -#: paperless/settings.py:307 +#: paperless/settings.py:309 msgid "Russian" msgstr "" -#: paperless/settings.py:308 +#: paperless/settings.py:310 msgid "Spanish" msgstr "" -#: paperless/settings.py:309 +#: paperless/settings.py:311 msgid "Polish" msgstr "" +#: paperless/settings.py:312 +msgid "Swedish" +msgstr "" + #: paperless/urls.py:113 msgid "Paperless-ng administration" msgstr "" From 197aec2945d21f480c0a2eef5b6ad8b9930b2f3e Mon Sep 17 00:00:00 2001 From: Jonas Winkler <17569239+jonaswinkler@users.noreply.github.com> Date: Wed, 5 May 2021 22:36:22 +0200 Subject: [PATCH 03/29] New Crowdin updates (#988) * New translations django.po (French) [ci skip] * New translations messages.xlf (French) [ci skip] * New translations django.po (Portuguese) [ci skip] * New translations messages.xlf (Portuguese) [ci skip] --- src-ui/src/locale/messages.fr_FR.xlf | 2 +- src-ui/src/locale/messages.pt_PT.xlf | 2 +- src/locale/fr_FR/LC_MESSAGES/django.po | 4 ++-- src/locale/pt_PT/LC_MESSAGES/django.po | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src-ui/src/locale/messages.fr_FR.xlf b/src-ui/src/locale/messages.fr_FR.xlf index ed258cf80..5f23da083 100644 --- a/src-ui/src/locale/messages.fr_FR.xlf +++ b/src-ui/src/locale/messages.fr_FR.xlf @@ -1983,7 +1983,7 @@ src/app/services/settings.service.ts 102 - Swedish + Suédois ISO 8601 diff --git a/src-ui/src/locale/messages.pt_PT.xlf b/src-ui/src/locale/messages.pt_PT.xlf index afbf195ac..1076712f8 100644 --- a/src-ui/src/locale/messages.pt_PT.xlf +++ b/src-ui/src/locale/messages.pt_PT.xlf @@ -1983,7 +1983,7 @@ src/app/services/settings.service.ts 102 - Swedish + Sueco ISO 8601 diff --git a/src/locale/fr_FR/LC_MESSAGES/django.po b/src/locale/fr_FR/LC_MESSAGES/django.po index d5015cb12..b9f16187f 100644 --- a/src/locale/fr_FR/LC_MESSAGES/django.po +++ b/src/locale/fr_FR/LC_MESSAGES/django.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-05-04 15:00+0000\n" -"PO-Revision-Date: 2021-05-04 21:52\n" +"PO-Revision-Date: 2021-05-05 15:10\n" "Last-Translator: \n" "Language-Team: French\n" "Language: fr_FR\n" @@ -462,7 +462,7 @@ msgstr "Polonais" #: paperless/settings.py:312 msgid "Swedish" -msgstr "" +msgstr "Suédois" #: paperless/urls.py:113 msgid "Paperless-ng administration" diff --git a/src/locale/pt_PT/LC_MESSAGES/django.po b/src/locale/pt_PT/LC_MESSAGES/django.po index e170be6a6..bde26c49b 100644 --- a/src/locale/pt_PT/LC_MESSAGES/django.po +++ b/src/locale/pt_PT/LC_MESSAGES/django.po @@ -3,7 +3,7 @@ msgstr "" "Project-Id-Version: paperless-ng\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2021-05-04 15:00+0000\n" -"PO-Revision-Date: 2021-05-04 21:51\n" +"PO-Revision-Date: 2021-05-05 18:07\n" "Last-Translator: \n" "Language-Team: Portuguese\n" "Language: pt_PT\n" @@ -462,7 +462,7 @@ msgstr "Polaco" #: paperless/settings.py:312 msgid "Swedish" -msgstr "" +msgstr "Sueco" #: paperless/urls.py:113 msgid "Paperless-ng administration" From 93bd24c9d2655bfe84af81a6d2987f23cb6f444f Mon Sep 17 00:00:00 2001 From: Fabian Ohler Date: Thu, 6 May 2021 14:08:49 +0200 Subject: [PATCH 04/29] Update setup.rst use ansible-galaxy to fetch the ansible scripts to have a role called paperless-ng instead of ansible --- docs/setup.rst | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) diff --git a/docs/setup.rst b/docs/setup.rst index 98e055a07..f91d0859d 100644 --- a/docs/setup.rst +++ b/docs/setup.rst @@ -485,29 +485,22 @@ Install Paperless using ansible ansible -m ping YourAnsibleTargetHostGoesHere -2. Clone the repository of paperless-ng: +2. Install the latest tag of the ansible role using ansible-galaxy .. code:: sh - git clone https://github.com/jonaswinkler/paperless-ng + ansible-galaxy install git+https://github.com/jonaswinkler/paperless-ng.git,ng-1.4.2 - Checkout the latest release tag: - - .. code:: sh - - cd paperless-ng - git checkout ng-1.0.0 - -3. Create an ansible ``playbook.yml`` in the paperless-ng root directory: +3. Create an ansible ``playbook.yml`` in a directory of your choice: .. code:: yaml - hosts: YourAnsibleTargetHostGoesHere become: yes vars_files: - - ansible/vars.yml + - vars/paperless-ng.yml roles: - - ansible + - paperless-ng Optional: If you also want to use PostgreSQL on the target system, install and add (for example) the `geerlingguy.postgresql `_ role: @@ -520,10 +513,10 @@ Install Paperless using ansible - hosts: YourAnsibleTargetHostGoesHere become: yes vars_files: - - ansible/vars.yml + - vars/paperless-ng.yml roles: - geerlingguy.postgresql - - ansible + - paperless-ng Optional: If you also want to use a reverse proxy on the target system, install and add (for example) the `geerlingguy.nginx `_ role: @@ -536,13 +529,13 @@ Install Paperless using ansible - hosts: YourAnsibleTargetHostGoesHere become: yes vars_files: - - ansible/vars.yml + - vars/paperless-ng.yml roles: - geerlingguy.postgresql - - ansible + - paperless-ng - geerlingguy.nginx -4. Create ``ansible/vars.yml`` to configure your ansible deployment: +4. Create ``vars/paperless-ng.yml`` to configure your ansible deployment: .. code:: yaml From d89022a2800997d8b21b4efc3c501c2413297a6c Mon Sep 17 00:00:00 2001 From: Fabian Ohler Date: Thu, 6 May 2021 14:15:12 +0200 Subject: [PATCH 05/29] Mention lacking support for ARM in ansible setup Since the jbig2enc dependency is pulled from a repository that only provides i386 and amd64 packages, the installation will fail on arm hosts. --- docs/setup.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/setup.rst b/docs/setup.rst index 98e055a07..5f294fa76 100644 --- a/docs/setup.rst +++ b/docs/setup.rst @@ -460,6 +460,7 @@ Install Paperless using ansible .. note:: This role currently only supports Debian 10 Buster and Ubuntu 20.04 Focal or later as target hosts. + Additionally, only i386 or amd64 based hosts are supported right now, i.e. installation on arm hosts will fail. 1. Install ansible 2.7+ on the management node. This may be the target host paperless-ng is being installed on or any remote host which can access the target host. From 428e00ba235ad5b8c33a7448b1c761830a574e4d Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 7 May 2021 10:50:08 -0700 Subject: [PATCH 06/29] Respect user dark mode setting on login page --- src/documents/static/signin.css | 55 +++++++++++++++++++ .../templates/registration/logged_out.html | 5 +- .../templates/registration/login.html | 5 +- 3 files changed, 63 insertions(+), 2 deletions(-) diff --git a/src/documents/static/signin.css b/src/documents/static/signin.css index 7441e0394..981200995 100644 --- a/src/documents/static/signin.css +++ b/src/documents/static/signin.css @@ -42,3 +42,58 @@ body { border-top-left-radius: 0; border-top-right-radius: 0; } + +@media (prefers-color-scheme: dark) { + /* + From theme_dark.scss + $primary-dark-mode: #45973a; + $danger-dark-mode: #b71631; + $bg-dark-mode: #161618; + $bg-dark-mode-accent: #21262d; + $bg-light-dark-mode: #1c1c1f; + $text-color-dark-mode: #abb2bf; + $border-color-dark-mode: #47494f; + */ + body { + background-color: #161618 !important; + color: #abb2bf; + } + + svg.logo .text { + fill: #abb2bf!important; + } + + .form-control:not(.is-invalid):not(.btn) { + border-color: #47494f; + } + + .form-control:not(.btn) { + background-color: #161618; + color: #abb2bf; + } + + .form-control:not(.btn)::placeholder { + color: #abb2bf; + } + + .form-control:not(.btn):focus { + background-color: #1c1c1f !important; + color: #8e97a9 !important; + } + + .btn-primary { + color: #fff; + background-color: #17541f; + border-color: #17541f; + } + + .btn-primary:hover, .btn-primary:focus { + background-color: #0f3614; + border-color: #0c2c10; + } + + .btn-primary:not(:disabled):not(.disabled):active { + background-color: #0c2c10; + border-color: #09220d; + } +} diff --git a/src/documents/templates/registration/logged_out.html b/src/documents/templates/registration/logged_out.html index bf21b95f8..b1446eb72 100644 --- a/src/documents/templates/registration/logged_out.html +++ b/src/documents/templates/registration/logged_out.html @@ -37,7 +37,10 @@ diff --git a/src/documents/templates/registration/login.html b/src/documents/templates/registration/login.html index ba46d3adf..0f6062eb2 100644 --- a/src/documents/templates/registration/login.html +++ b/src/documents/templates/registration/login.html @@ -38,7 +38,10 @@