From f498de4abf0503665be798509e5b987d475a18b9 Mon Sep 17 00:00:00 2001 From: nilsarne Date: Wed, 6 Nov 2024 14:32:01 +0100 Subject: [PATCH] lagt til feilmeldingstekster for illegalAction.typeDetectionOrConversionError --- assets/locales/en/backend.json | 4 ++++ assets/locales/nb/backend.json | 5 ++++- assets/locales/nn/backend.json | 3 +++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/assets/locales/en/backend.json b/assets/locales/en/backend.json index f6348ee..b59150a 100644 --- a/assets/locales/en/backend.json +++ b/assets/locales/en/backend.json @@ -26,5 +26,9 @@ }, "illegalAction.fileWithTooManyPages": { "message": "Uploaded file contains too many pages. Maximum number of pages is 1000." + }, + "illegalAction.typeDetectionOrConversionError": { + "message": "There is something wrong with the file you are trying to upload. We are unable to convert the file to PDF. We recommend that you save the file as a PDF before uploading it." } + } diff --git a/assets/locales/nb/backend.json b/assets/locales/nb/backend.json index b921449..a118bef 100644 --- a/assets/locales/nb/backend.json +++ b/assets/locales/nb/backend.json @@ -26,6 +26,9 @@ }, "illegalAction.fileWithTooManyPages": { "message": "Filen du lastet opp har for mange sider. Det kan være maksimalt 1000 sider." + }, + "illegalAction.typeDetectionOrConversionError": { + "message": "Det er noe galt med filen du prøver å laste opp. Vi klarer ikke konvertere filen til PDF. Vi anbefaler at du lagrer filen som PDF selv før du laster den opp." } - + } diff --git a/assets/locales/nn/backend.json b/assets/locales/nn/backend.json index c2b1ff5..49aee66 100644 --- a/assets/locales/nn/backend.json +++ b/assets/locales/nn/backend.json @@ -26,5 +26,8 @@ }, "illegalAction.fileWithTooManyPages": { "message": "Fila du lasta opp har for mange sider. Det kan vere maksimalt 1000 sider." + }, + "illegalAction.typeDetectionOrConversionError": { + "message": "Det er noko gale med fila du prøver å laste opp. Me klarer ikkje konvertere fila til PDF. Me tilrår at du lagrar fila som PDF sjølv før du lastar den opp." } }