From d76135a2ae531d8fdf51e5edc64bf97c6e34c1d4 Mon Sep 17 00:00:00 2001 From: nilsarne Date: Mon, 28 Oct 2024 08:56:21 +0100 Subject: [PATCH] Utvidet listen av lovlige filtyper med DOCX og TXT --- assets/locales/en/translation.json | 2 +- assets/locales/nb/translation.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/locales/en/translation.json b/assets/locales/en/translation.json index 883cb29..7b6af92 100644 --- a/assets/locales/en/translation.json +++ b/assets/locales/en/translation.json @@ -180,7 +180,7 @@ "filForStor": "The size of the selected file exceeds the maximum size limit. The maximum size allowed is 50MB.", "filIkkeValgt": "An error occurred during file selection, please retry", "filUtenInnhold": "Selected file has no content, choose a file larger than 0 kB", - "ugyldigFilformat": "Feil filformat, det er kun lov å laste opp filer av type TXT, DOCX, PDF, JPEG/JPG og PNG", + "ugyldigFilformat": "It is only allowed to upload files of type TXT, DOCX, PDF, JPEG/JPG and PNG", "paakrevd": "You must fill in: {{felt}}", "maksLengde": "{{felt}} cannot be longer than {{maksLengde}} characters" }, diff --git a/assets/locales/nb/translation.json b/assets/locales/nb/translation.json index 7bfac5b..7601895 100644 --- a/assets/locales/nb/translation.json +++ b/assets/locales/nb/translation.json @@ -181,7 +181,7 @@ "filForStor": "Størrelsen på filen overskrider maksimal tillatt størrelse. Den maksimale størrelsen er 50MB.", "filIkkeValgt": "En feil oppsto under valg av fil. Prøv på nytt", "filUtenInnhold": "Valgt fil mangler innhold, velg en fil som er større en 0 kB", - "ugyldigFilformat": "Invalid file format. It is only allowed to upload files of type TXT, DOCX, PDF, JPEG/JPG and PNG", + "ugyldigFilformat": "Feil filformat, det er bare lov å laste opp filer av typen TXT, DOCX, PDF, JPEG/JPG og PNG", "paakrevd": "Du må fylle ut: {{felt}}", "maksLengde": "{{felt}} kan ikke være mer enn {{maksLengde}} tegn" },