From 8b3a88df55c67e3e75b93385db1c4f27f409a06f Mon Sep 17 00:00:00 2001 From: TDE Weblate Date: Sat, 15 Mar 2025 13:04:23 +0000 Subject: Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: applications/digikam Translate-URL: https://mirror.git.trinitydesktop.org/weblate/projects/applications/digikam/ --- src/libs/dimg/loaders/iccjpeg.c | 24 ++++++++++++------------ src/libs/dimg/loaders/iccjpeg.h | 4 ++-- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'src/libs/dimg') diff --git a/src/libs/dimg/loaders/iccjpeg.c b/src/libs/dimg/loaders/iccjpeg.c index fefa9509..b6e2f447 100644 --- a/src/libs/dimg/loaders/iccjpeg.c +++ b/src/libs/dimg/loaders/iccjpeg.c @@ -168,8 +168,8 @@ marker_is_icc (jpeg_saved_marker_ptr marker) * See if there was an ICC profile in the JPEG file being read; * if so, reassemble and return the profile data. * - * TRUE is returned if an ICC profile was found, FALSE if not. - * If TRUE is returned, *icc_data_ptr is set to point to the + * true is returned if an ICC profile was found, false if not. + * If true is returned, *icc_data_ptr is set to point to the * returned data, and *icc_data_len is set to its length. * * IMPORTANT: the data at **icc_data_ptr has been allocated with malloc() @@ -180,7 +180,7 @@ marker_is_icc (jpeg_saved_marker_ptr marker) * will prefer to have the data stick around after decompression finishes.) * * NOTE: if the file contains invalid ICC APP2 markers, we just silently - * return FALSE. You might want to issue an error message instead. + * return false. You might want to issue an error message instead. */ boolean @@ -198,7 +198,7 @@ read_icc_profile (j_decompress_ptr cinfo, unsigned int data_length[MAX_SEQ_NO+1]; /* size of profile data in marker */ unsigned int data_offset[MAX_SEQ_NO+1]; /* offset for data in marker */ - *icc_data_ptr = NULL; /* avoid confusion if FALSE return */ + *icc_data_ptr = NULL; /* avoid confusion if false return */ *icc_data_len = 0; /* This first pass over the saved markers discovers whether there are @@ -213,19 +213,19 @@ read_icc_profile (j_decompress_ptr cinfo, if (num_markers == 0) num_markers = GETJOCTET(marker->data[13]); else if (num_markers != GETJOCTET(marker->data[13])) - return FALSE; /* inconsistent num_markers fields */ + return false; /* inconsistent num_markers fields */ seq_no = GETJOCTET(marker->data[12]); if (seq_no <= 0 || seq_no > num_markers) - return FALSE; /* bogus sequence number */ + return false; /* bogus sequence number */ if (marker_present[seq_no]) - return FALSE; /* duplicate sequence numbers */ + return false; /* duplicate sequence numbers */ marker_present[seq_no] = 1; data_length[seq_no] = marker->data_length - ICC_OVERHEAD_LEN; } } if (num_markers == 0) - return FALSE; + return false; /* Check for missing markers, count total space needed, * compute offset of each marker's part of the data. @@ -234,18 +234,18 @@ read_icc_profile (j_decompress_ptr cinfo, total_length = 0; for (seq_no = 1; seq_no <= num_markers; seq_no++) { if (marker_present[seq_no] == 0) - return FALSE; /* missing sequence number */ + return false; /* missing sequence number */ data_offset[seq_no] = total_length; total_length += data_length[seq_no]; } if (total_length <= 0) - return FALSE; /* found only empty markers? */ + return false; /* found only empty markers? */ /* Allocate space for assembled data */ icc_data = (JOCTET *) malloc(total_length * sizeof(JOCTET)); if (icc_data == NULL) - return FALSE; /* oops, out of memory */ + return false; /* oops, out of memory */ /* and fill it in */ for (marker = cinfo->marker_list; marker != NULL; marker = marker->next) { @@ -266,5 +266,5 @@ read_icc_profile (j_decompress_ptr cinfo, *icc_data_ptr = icc_data; *icc_data_len = total_length; - return TRUE; + return true; } diff --git a/src/libs/dimg/loaders/iccjpeg.h b/src/libs/dimg/loaders/iccjpeg.h index 2aab4196..a31bd938 100644 --- a/src/libs/dimg/loaders/iccjpeg.h +++ b/src/libs/dimg/loaders/iccjpeg.h @@ -82,8 +82,8 @@ extern void setup_read_icc_profile JPP((j_decompress_ptr cinfo)); * See if there was an ICC profile in the JPEG file being read; * if so, reassemble and return the profile data. * - * TRUE is returned if an ICC profile was found, FALSE if not. - * If TRUE is returned, *icc_data_ptr is set to point to the + * true is returned if an ICC profile was found, false if not. + * If true is returned, *icc_data_ptr is set to point to the * returned data, and *icc_data_len is set to its length. * * IMPORTANT: the data at **icc_data_ptr has been allocated with malloc() -- cgit v1.2.1