From f9ace1724ee513cdf34e823c37920284f3f9c487 Mon Sep 17 00:00:00 2001 From: Lovell Fuller Date: Sat, 21 May 2022 09:47:51 +0100 Subject: [PATCH] Fix a couple of typos in help messages (#2814) --- cplusplus/include/vips/VImage8.h | 9 ++++++--- libvips/foreign/webpsave.c | 2 +- libvips/morphology/labelregions.c | 2 +- po/en_GB.po | 2 +- 4 files changed, 9 insertions(+), 6 deletions(-) diff --git a/cplusplus/include/vips/VImage8.h b/cplusplus/include/vips/VImage8.h index 70224de9..c4604e24 100644 --- a/cplusplus/include/vips/VImage8.h +++ b/cplusplus/include/vips/VImage8.h @@ -5794,11 +5794,12 @@ static VImage webpload_source( VSource source, VOption *options = 0 ); * - **smart_subsample** -- Enable high quality chroma subsampling, bool. * - **near_lossless** -- Enable preprocessing in lossless mode (uses Q), bool. * - **alpha_q** -- Change alpha plane fidelity for lossy compression, int. - * - **min_size** -- Optimise for minium size, bool. + * - **min_size** -- Optimise for minimum size, bool. * - **kmin** -- Minimum number of frames between key frames, int. * - **kmax** -- Maximum number of frames between key frames, int. * - **effort** -- Level of CPU effort to reduce file size, int. * - **profile** -- ICC profile to embed, const char *. + * - **mixed** -- Allow mixed encoding (might reduce file size), bool. * - **strip** -- Strip all metadata from image, bool. * - **background** -- Background value, std::vector. * - **page_height** -- Set page height for multipage save, int. @@ -5818,11 +5819,12 @@ void webpsave( const char *filename, VOption *options = 0 ) const; * - **smart_subsample** -- Enable high quality chroma subsampling, bool. * - **near_lossless** -- Enable preprocessing in lossless mode (uses Q), bool. * - **alpha_q** -- Change alpha plane fidelity for lossy compression, int. - * - **min_size** -- Optimise for minium size, bool. + * - **min_size** -- Optimise for minimum size, bool. * - **kmin** -- Minimum number of frames between key frames, int. * - **kmax** -- Maximum number of frames between key frames, int. * - **effort** -- Level of CPU effort to reduce file size, int. * - **profile** -- ICC profile to embed, const char *. + * - **mixed** -- Allow mixed encoding (might reduce file size), bool. * - **strip** -- Strip all metadata from image, bool. * - **background** -- Background value, std::vector. * - **page_height** -- Set page height for multipage save, int. @@ -5842,11 +5844,12 @@ VipsBlob *webpsave_buffer( VOption *options = 0 ) const; * - **smart_subsample** -- Enable high quality chroma subsampling, bool. * - **near_lossless** -- Enable preprocessing in lossless mode (uses Q), bool. * - **alpha_q** -- Change alpha plane fidelity for lossy compression, int. - * - **min_size** -- Optimise for minium size, bool. + * - **min_size** -- Optimise for minimum size, bool. * - **kmin** -- Minimum number of frames between key frames, int. * - **kmax** -- Maximum number of frames between key frames, int. * - **effort** -- Level of CPU effort to reduce file size, int. * - **profile** -- ICC profile to embed, const char *. + * - **mixed** -- Allow mixed encoding (might reduce file size), bool. * - **strip** -- Strip all metadata from image, bool. * - **background** -- Background value, std::vector. * - **page_height** -- Set page height for multipage save, int. diff --git a/libvips/foreign/webpsave.c b/libvips/foreign/webpsave.c index 48103af0..1553e16a 100644 --- a/libvips/foreign/webpsave.c +++ b/libvips/foreign/webpsave.c @@ -191,7 +191,7 @@ vips_foreign_save_webp_class_init( VipsForeignSaveWebpClass *class ) VIPS_ARG_BOOL( class, "min_size", 16, _( "Minimise size" ), - _( "Optimise for minium size" ), + _( "Optimise for minimum size" ), VIPS_ARGUMENT_OPTIONAL_INPUT, G_STRUCT_OFFSET( VipsForeignSaveWebp, min_size ), FALSE ); diff --git a/libvips/morphology/labelregions.c b/libvips/morphology/labelregions.c index 840abd57..8b30ada6 100644 --- a/libvips/morphology/labelregions.c +++ b/libvips/morphology/labelregions.c @@ -129,7 +129,7 @@ vips_labelregions_class_init( VipsLabelregionsClass *class ) VIPS_ARG_INT( class, "segments", 3, _( "Segments" ), - _( "Number of discrete contigious regions" ), + _( "Number of discrete contiguous regions" ), VIPS_ARGUMENT_OPTIONAL_OUTPUT, G_STRUCT_OFFSET( VipsLabelregions, segments ), 0, 1000000000, 0 ); diff --git a/po/en_GB.po b/po/en_GB.po index 31e5de02..de7c19c6 100644 --- a/po/en_GB.po +++ b/po/en_GB.po @@ -5375,7 +5375,7 @@ msgid "Segments" msgstr "" #: ../libvips/morphology/labelregions.c:132 -msgid "Number of discrete contigious regions" +msgid "Number of discrete contiguous regions" msgstr "" #: ../libvips/morphology/morphology.c:111