Skip to content

Commit

Permalink
Merge pull request #364 from navikt/bug/feilmeldingstekster
Browse files Browse the repository at this point in the history
lagt til feilmeldingstekster for illegalAction.typeDetectionOrConvers…
  • Loading branch information
nils-arne authored Nov 8, 2024
2 parents f89fff0 + f498de4 commit fb8f3df
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions assets/locales/en/backend.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}

}
5 changes: 4 additions & 1 deletion assets/locales/nb/backend.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}

}
3 changes: 3 additions & 0 deletions assets/locales/nn/backend.json
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}
}

0 comments on commit fb8f3df

Please sign in to comment.