@@ -, +, @@ --- .../prog/en/modules/tools/picture-upload.tt | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/picture-upload.tt @@ -48,16 +48,16 @@ [% IF ( COUNT.TCOUNTS ) %]
  • [% COUNT.TCOUNTS %] image(s) moved into the database:
  • [% END %] [% FOREACH filename IN COUNT.filenames %]
  • [% filename.source %] - Cardnumber: [% filename.cardnumber %] - [% IF ( filename.filerrors ) %]
    WARNING: This image not imported because + [% IF ( filename.filerrors ) %]
    [% FOREACH filerror IN filename.filerrors %] - [% IF ( filerror.DBERR ) %]the database returned an error. Please refer to the error log for more details.
  • - [% ELSIF ( filerror.IMGEXISTS ) %]this patron does not exist in the database. - [% ELSIF ( filerror.MIMERR ) %]the image format is unrecognized. - [% ELSIF ( filerror.CORERR ) %]the image file is corrupted. - [% ELSIF ( filerror.OPNERR ) %]Koha was unable to open the image for reading. - [% ELSIF ( filerror.OVRSIZ ) %]the image file is too big. - [% ELSIF ( filerror.CRDFIL ) %]the [% filerror.CRDFIL %] is missing. - [% ELSE %]of an unknown error. Please refer to the error log for more details.[% END %] + [% IF ( filerror.DBERR ) %]ERROR: Image not imported because the database returned an error. Please refer to the error log for more details. + [% ELSIF ( filerror.IMGEXISTS ) %]ERROR: Image not imported because this patron does not exist in the database. + [% ELSIF ( filerror.MIMERR ) %]ERROR: Image not imported because the image format is unrecognized. + [% ELSIF ( filerror.CORERR ) %]ERROR: Image not imported because the image file is corrupted. + [% ELSIF ( filerror.OPNERR ) %]ERROR: Image not imported because Koha was unable to open the image for reading. + [% ELSIF ( filerror.OVRSIZ ) %]ERROR: Image not imported because the image file is too big (see online help for maximum size). + [% ELSIF ( filerror.CRDFIL ) %]ERROR: Image not imported because the [% filerror.CRDFIL %] is missing. + [% ELSE %]WARNING:ERROR: Image not imported because of an unknown error. Please refer to the error log for more details.[% END %] [% END %] [% ELSE %] imported successfully. [% END %] --