Fix typos

Found via:
```
codespell -q 3 -S ./ChangeLog*,*.po,./.git,./NEWS* -L als,ang,ba,chello,daa,doubleclick,foto,hist,iff,inport,klass,mut,nd,ower,paeth,params,pard,pevent,sinc,thru,tim,uint
```
This commit is contained in:
luz paz 2020-11-05 11:43:53 -05:00 committed by Jehan
parent 0b040dc109
commit bb322d94d7
25 changed files with 36 additions and 36 deletions

2
NEWS
View File

@ -194,7 +194,7 @@ API:
- `GimpPlugIn` is a class which every plug-in should now subclass as a
way to create their plug-in, and override at least the methods
query_procedures() and create_procedure(). Two other methods
(init_procedures() and quit()) can be optionally overrided.
(init_procedures() and quit()) can be optionally overridden.
The new subclass must be declared to gimp by calling gimp_main() to
make it available to the core (PDB procedure, menu items, etc.).
A plug-in can obtain its own GimpPlugIn instance with

View File

@ -160,7 +160,7 @@ gimp_gui_config_class_init (GimpGuiConfigClass *klass)
GIMP_CONFIG_PROP_BOOLEAN (object_class, PROP_FILTER_TOOL_SHOW_COLOR_OPTIONS,
"filter-tool-show-color-options",
"Show avanced color options in filters",
"Show advanced color options in filters",
FILTER_TOOL_SHOW_COLOR_OPTIONS_BLURB,
FALSE,
GIMP_PARAM_STATIC_STRINGS);

View File

@ -450,7 +450,7 @@ gimp_transform_matrix_generic (GimpMatrix3 *matrix,
g_return_val_if_fail (output_points != NULL, FALSE);
/* find the matrix that transforms 'input_points' to 'output_points', whose
* (3, 3) coeffcient is 1, by solving a system of linear equations whose
* (3, 3) coefficient is 1, by solving a system of linear equations whose
* solution is the remaining 8 coefficients.
*/
for (i = 0; i < 4; i++)

View File

@ -373,7 +373,7 @@ gimp_backtrace_stop (void)
if (n_initializations == 0 && initialized)
{
if (sigaction (BACKTRACE_SIGNAL, &orig_action, NULL) < 0)
g_warning ("failed to restore origianl backtrace signal handler");
g_warning ("failed to restore original backtrace signal handler");
initialized = FALSE;
}

View File

@ -59,7 +59,7 @@ static GimpBoundary * gimp_boundary_new (const GeglRectangle *region);
static GimpBoundSeg * gimp_boundary_free (GimpBoundary *boundary,
gboolean free_segs);
static void gimp_boundary_add_seg (GimpBoundary *bounrady,
static void gimp_boundary_add_seg (GimpBoundary *boundary,
gint x1,
gint y1,
gint x2,

View File

@ -3482,7 +3482,7 @@ median_cut_pass2_fixed_dither_rgb (QuantizeObj *quantobj,
color2 = &quantobj->cmap[pixval2];
/* now figure out the relative probabilites of choosing
/* now figure out the relative probabilities of choosing
either of our candidates. */
#define DISTP(R1,G1,B1,R2,G2,B2,D) do {D = sqrt( 30*SQR((R1)-(R2)) + \
59*SQR((G1)-(G2)) + \

View File

@ -2397,7 +2397,7 @@ gimp_image_set_imported_file (GimpImage *image,
* use higher default resolution, or explicitly chosen templates),
* imported files have a more backward-compatible value.
*
* 72 PPI is traditionnally the default value when none other had
* 72 PPI is traditionally the default value when none other had
* been explicitly set (for instance it is the default when no
* resolution metadata was set in Exif version 2.32, and below,
* standard). This historical value will only ever apply to loaded

View File

@ -62,7 +62,7 @@ void gimp_display_shell_zoom_segments (GimpDisplayShell *shel
/* rotate: functions to transform from unrotated and unflipped but
* zoomed display space to rotated and filpped display space and back
* zoomed display space to rotated and flipped display space and back
*/
void gimp_display_shell_rotate_coords (GimpDisplayShell *shell,

View File

@ -1482,7 +1482,7 @@ gimp_tool_transform_grid_motion (GimpToolWidget *widget,
/* when the keep aspect transformation constraint is enabled,
* the translation shall only be along the diagonal that runs
* trough this corner point.
* through this corner point.
*/
if (private->constrain_scale)
{
@ -1726,7 +1726,7 @@ gimp_tool_transform_grid_motion (GimpToolWidget *widget,
/* when the constrain transformation constraint is enabled,
* the translation shall only be either along the side
* angles of the two sides that run to this corner point, or
* along the diagonal that runs trough this corner point.
* along the diagonal that runs through this corner point.
*/
GimpVector2 proj[4];
gdouble rej[4];

View File

@ -5625,7 +5625,7 @@ register_image_procs (GimpPDB *pdb)
"Execute the color profile conversion policy.",
"Process the image according to the color profile policy as set in Preferences.\n"
"If GIMP is running as a GUI and interactive is TRUE, a dialog may be presented to the user depending on the policy. Otherwise, if the policy does not mandate the conversion to perform, the conversion to the preferred RGB or grayscale profile will happen, defaulting to built-in profiles if no preferred profiles were set in `Preferences`.\n"
"This function should be used only if you want to follow user settings. If you intend to convert to a specific profile, call preferrably 'gimp-image-convert-color-profile'. And if you wish to leave whatever profile an image has, do not call any of these functions.\n"
"This function should be used only if you want to follow user settings. If you intend to convert to a specific profile, call preferably 'gimp-image-convert-color-profile'. And if you wish to leave whatever profile an image has, do not call any of these functions.\n"
"Finally it is unnecessary to call this function in a format load procedure because this is called automatically by the core code when loading any image. You should only call this function explicitly when loading an image through a PDB call.",
NULL);
gimp_procedure_set_static_attribution (procedure,

View File

@ -69,7 +69,7 @@ flatpak_build_branch() {
mkdir -p ${INSTALLDIR}
# Use ccache to improve build speed. Clean previous build directories.
# Keep build dirs for later debugging if ever any build issue arised.
# Keep build dirs for later debugging if ever any build issue arises.
BUILD_OPTIONS="--ccache --force-clean --keep-build-dirs --jobs=1"
SKIP=""

View File

@ -1,7 +1,7 @@
#!/usr/bin/python3
################################################################################
# Small python script to retrieve DLL depencies with objdump
# Small python script to retrieve DLL dependencies with objdump
################################################################################
################################################################################
@ -9,9 +9,9 @@
#
# python3 dll_link.py /path/to/run.exe /winenv/ /path/install
#
# In this case, the DLL depencies for executable run.exe will be extracted and
# copied into /path/install/bin folder. To copy the DLL, the root path to
# Windows environnement should be passed, here /winenv/.
# In this case, the DLL dependencies for executable run.exe will be extracted
# and copied into /path/install/bin folder. To copy the DLL, the root path to
# Windows environnment should be passed, here /winenv/.
import argparse
import os

View File

@ -4,7 +4,7 @@ These functions have been removed from GIMP 3. Most of them were deprecated
since GIMP 2.10.x or older versions. As we bump the major version, it is time
to start with a clean slate.
Below is a correspondance table with replacement function. The replacement is
Below is a correspondence table with replacement function. The replacement is
not necessarily a direct search-and-replace equivalent. Some may have different
parameters, and in some case, it may require to think a bit about how things
work to reproduce the same functionality. Nevertheless everything which was

View File

@ -1359,7 +1359,7 @@ PROP_MODE (essential)
31: Screen
32: Difference
33: Addition
34: Substract
34: Subtract
35: Darken only
36: Lighten only
37: Hue (HSV)

View File

@ -3492,7 +3492,7 @@ gimp_image_policy_rotate (GimpImage *image,
* `Preferences`.
* This function should be used only if you want to follow user
* settings. If you intend to convert to a specific profile, call
* preferrably gimp_image_convert_color_profile(). And if you wish to
* preferably gimp_image_convert_color_profile(). And if you wish to
* leave whatever profile an image has, do not call any of these
* functions.
* Finally it is unnecessary to call this function in a format load

View File

@ -461,7 +461,7 @@ gimp_procedure_config_set_parasite (GimpProcedureConfig *config,
* String properties are set to the value of the image parasite if
* @run_mode is %GIMP_RUN_INTERACTIVE or %GIMP_RUN_WITH_LAST_VALS, or
* if the corresponding argument is an auxiliary argument. As a
* special case, a propery named "gimp-comment" will default to
* special case, a property named "gimp-comment" will default to
* gimp_get_default_comment() if there is no "gimp-comment" parasite.
*
* After calling this function, the @args passed to run() should be

View File

@ -307,7 +307,7 @@ gimp_scale_entry_new (const gchar *text,
* useful if you need to customize some aspects of the widget
*
* By default, it is a #GtkScale, but it can be any other type of
* #GtkRange if a subclass overrided the new_range_widget() protected
* #GtkRange if a subclass overrode the new_range_widget() protected
* method.
*
* Returns: (transfer none): The #GtkRange contained in @entry.

View File

@ -3033,7 +3033,7 @@ preferred RGB or grayscale profile will happen, defaulting to built-in
profiles if no preferred profiles were set in `Preferences`.
This function should be used only if you want to follow user settings.
If you intend to convert to a specific profile, call preferrably
If you intend to convert to a specific profile, call preferably
gimp_image_convert_color_profile(). And if you wish to leave whatever
profile an image has, do not call any of these functions.

View File

@ -1576,7 +1576,7 @@ get_layer_color (GimpLayer *layer,
GimpRGB col;
gdouble red, green, blue, alpha;
gdouble dev, devSum;
gdouble median, pixels, count, precentile;
gdouble median, pixels, count, percentile;
devSum = 0;
red = 0;
@ -1599,17 +1599,17 @@ get_layer_color (GimpLayer *layer,
gimp_drawable_histogram (GIMP_DRAWABLE (layer),
GIMP_HISTOGRAM_RED, 0.0, 1.0,
&red, &dev, &median, &pixels, &count, &precentile);
&red, &dev, &median, &pixels, &count, &percentile);
devSum += dev;
gimp_drawable_histogram (GIMP_DRAWABLE (layer),
GIMP_HISTOGRAM_GREEN, 0.0, 1.0,
&green, &dev, &median, &pixels, &count, &precentile);
&green, &dev, &median, &pixels, &count, &percentile);
devSum += dev;
gimp_drawable_histogram (GIMP_DRAWABLE (layer),
GIMP_HISTOGRAM_BLUE, 0.0, 1.0,
&blue, &dev, &median, &pixels, &count, &precentile);
&blue, &dev, &median, &pixels, &count, &percentile);
devSum += dev;
}
else
@ -1618,7 +1618,7 @@ get_layer_color (GimpLayer *layer,
gimp_drawable_histogram (GIMP_DRAWABLE (layer),
GIMP_HISTOGRAM_VALUE, 0.0, 1.0,
&red, &dev, &median, &pixels, &count, &precentile);
&red, &dev, &median, &pixels, &count, &percentile);
devSum += dev;
green = red;
blue = red;
@ -1627,7 +1627,7 @@ get_layer_color (GimpLayer *layer,
if (gimp_drawable_has_alpha (GIMP_DRAWABLE (layer)))
gimp_drawable_histogram (GIMP_DRAWABLE (layer),
GIMP_HISTOGRAM_ALPHA, 0.0, 1.0,
&alpha, &dev, &median, &pixels, &count, &precentile);
&alpha, &dev, &median, &pixels, &count, &percentile);
else
alpha = 255;

View File

@ -1303,7 +1303,7 @@ load_default_hotspot (GimpImage *image,
if (/* if we cannot load hotspot correctly */
! get_hotspot_from_parasite (image, &hot_spot_x, &hot_spot_y) ||
/* or hostspot is out of range */
/* or hotspot is out of range */
! pix_in_region (hot_spot_x, hot_spot_y, hotspot_range))
{
/* then use top left point of hotspot_range as fallback. */

View File

@ -398,7 +398,7 @@ nlfiltRow (guchar *srclast, guchar *srcthis, guchar *srcnext, guchar *dst,
/* the pixel in question needs to be read. Given this, we only */
/* need 3 or 4 weightings per hexagon, as follows: */
/* _ _ */
/* Virtical hex: |_|_| 1 2 */
/* Vertical hex: |_|_| 1 2 */
/* |X|_| 0 3 */
/* _ */
/* _ _|_| 1 */
@ -512,10 +512,10 @@ nlfiltInit (gdouble alpha, gdouble radius, FilterType filter)
gdouble tabscale,mtabscale;
gdouble v0,v1,v2,v3,m0,m1,m2,h0,h1,h2,h3;
/* horizontal offset of virtical hex centers */
/* horizontal offset of vertical hex centers */
hexhoff = radius/2;
/* vertical offset of virtical hex centers */
/* vertical offset of vertical hex centers */
hexvoff = 3.0 * radius/sqrt(12.0);
/*

View File

@ -142,7 +142,7 @@ wavelet_create_procedure (GimpPlugIn *plug_in,
G_PARAM_READWRITE);
GIMP_PROC_ARG_BOOLEAN (procedure, "create-group",
"Create grooup",
"Create group",
"Create a layer group to store the "
"decomposition",
TRUE,

View File

@ -56,7 +56,7 @@
/* */
/******************************************************************************/
#define VERSIO 0.12
#define VERSION 0.12
/******************************************************************************/
/* FITS reading/writing library */

View File

@ -101,7 +101,7 @@ static const LayerModeMapping layer_mode_map[] =
{ "Hue", "hue ", GIMP_LAYER_MODE_HSV_HUE, FALSE },
{ "Hue", "hue ", GIMP_LAYER_MODE_HSV_HUE_LEGACY, FALSE },
/* Stauration (ps3) */
/* Saturation (ps3) */
{ "Saturation", "sat ", GIMP_LAYER_MODE_LCH_CHROMA, FALSE },
{ "Saturation", "sat ", GIMP_LAYER_MODE_HSV_SATURATION, FALSE },
{ "Saturation", "sat ", GIMP_LAYER_MODE_HSV_SATURATION_LEGACY, FALSE },

View File

@ -1156,7 +1156,7 @@ RIGHT_MARGIN = 2
TOTAL_MARGIN = CIRCLE_CENTER_X + RIGHT_MARGIN
# A widget for displaying and setting the pattern of a spirograph, using a "doughnut" as
# a visual metaphore. This widget replaces two scale widgets.
# a visual metaphor. This widget replaces two scale widgets.
class DoughnutWidget(Gtk.DrawingArea):
__gtype_name__ = 'DoughnutWidget'