1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

app, libgimp*, pdb, themes: Fix description typos

This patch fixes minor typos in user-facing descriptions
and internal comments found by Codespell.
This commit is contained in:
luzpaz
2025-09-24 16:50:15 +00:00
committed by Alx Sa
parent 645d23cd37
commit 91418131a0
29 changed files with 46 additions and 46 deletions

View File

@@ -824,7 +824,7 @@ filters_actions_setup (GimpActionGroup *group)
* operations end up generating the same action name. Typically we
* don't want a third-party operation called "my-op" to have the same
* action name than "my_op" (which is to say that one will be
* overrided by the other).
* overridden by the other).
*/
g_free (action_name);
action_name = g_strdup_printf ("filters-%s-%d", formatted_op_name, i++);

View File

@@ -1764,7 +1764,7 @@ layers_mask_show_cmd_callback (GimpAction *action,
{
/* if switching "show mask" on, and any selected layer's
* mask is already visible, bail out because that's
* exactly the logic we use in the ui for multile
* exactly the logic we use in the ui for multiple
* visible layer masks.
*/
return;
@@ -1815,7 +1815,7 @@ layers_mask_disable_cmd_callback (GimpAction *action,
{
/* if switching "disable mask" on, and any selected
* layer's mask is already disabled, bail out because
* that's exactly the logic we use in the ui for multile
* that's exactly the logic we use in the ui for multiple
* disabled layer masks.
*/
return;

View File

@@ -353,7 +353,7 @@ gimp_transform_resize_crop (const GimpVector2 *orig_points,
if (r.area == 0)
{
/* saveguard if something went wrong, adjust and give warning */
/* safeguard if something went wrong, adjust and give warning */
gimp_transform_resize_adjust (orig_points, n_points,
x1, y1, x2, y2);
g_printerr ("no rectangle found by algorithm, no cropping done\n");

View File

@@ -605,7 +605,7 @@ gimp_get_fill_params (GimpContext *context,
* @start_y:
* @end_x:
* @end_y:
* @n_snap_lines: Number evenly disributed lines to snap to.
* @n_snap_lines: Number evenly distributed lines to snap to.
* @offset_angle: The angle by which to offset the lines, in degrees.
* @xres: The horizontal resolution.
* @yres: The vertical resolution.

View File

@@ -271,7 +271,7 @@ gimp_brush_pipe_select_brush (GimpBrush *brush,
break;
case PIPE_SELECT_ANGULAR:
/* Coords angle is already nomalized,
/* Coords angle is already normalized,
* offset by 90 degrees is still needed
* because hoses were made PS compatible*/
ix = (gint) RINT ((1.0 - current_coords->direction + 0.25) * pipe->rank[i]) % pipe->rank[i];

View File

@@ -152,7 +152,7 @@ gimp_id_table_insert (GimpIdTable *id_table, gpointer data)
* @data: The data to associate with the id
*
* Insert data in the id table with a specific ID. If data already
* exsts with the given ID, this function fails.
* exists with the given ID, this function fails.
*
* Returns: The used ID if successful, -1 if it was already in use.
**/

View File

@@ -3012,7 +3012,7 @@ gimp_image_get_xcf_version (GimpImage *image,
/* The blending space variant corresponding to SPACE_RGB_PERCEPTUAL in <3.0
* corresponds to R'G'B'A which is NON_LINEAR in babl. Perceptual in babl is
* R~G~B~A, >= 3.0 the code, comments and usage matches the existing enum value
* as being NON_LINEAR and new layers created use the new interger value for
* as being NON_LINEAR and new layers created use the new integer value for
* PERCEPTUAL.
*/
version = MAX (23, version);
@@ -3166,7 +3166,7 @@ gimp_image_get_xcf_version (GimpImage *image,
/* Note: user unit storage was changed in XCF 21, but we can still
* easily save older XCF (we use the unit name for both singular and
* plural forms). Therefore we don't bump the XCF version unecessarily
* plural forms). Therefore we don't bump the XCF version unnecessarily
* and don't add any test.
*/

View File

@@ -1382,7 +1382,7 @@ welcome_dialog_release_item_activated (GtkListBox *listbox,
{
GList *windows = gimp_get_image_windows (gimp);
/* Losing forcus on the welcome dialog on purpose for the main GUI
/* Losing focus on the welcome dialog on purpose for the main GUI
* to be more readable.
*/
if (windows)

View File

@@ -246,7 +246,7 @@ gimp_display_shell_scale_get_image_size (GimpDisplayShell *shell,
* @w:
* @h:
*
* Gets the screen-space boudning box of the image, after it has
* Gets the screen-space bounding box of the image, after it has
* been transformed (i.e., scaled, rotated, and scrolled).
**/
void
@@ -290,7 +290,7 @@ gimp_display_shell_scale_get_image_bounds (GimpDisplayShell *shell,
* @w:
* @h:
*
* Gets the screen-space boudning box of the image, after it has
* Gets the screen-space bounding box of the image, after it has
* been scaled and scrolled, but before it has been rotated.
**/
void
@@ -320,7 +320,7 @@ gimp_display_shell_scale_get_image_unrotated_bounds (GimpDisplayShell *shell,
* @w:
* @h:
*
* Gets the screen-space boudning box of the image content, after it has
* Gets the screen-space bounding box of the image content, after it has
* been transformed (i.e., scaled, rotated, and scrolled).
**/
void
@@ -375,7 +375,7 @@ gimp_display_shell_scale_get_image_bounding_box (GimpDisplayShell *shell,
* @w:
* @h:
*
* Gets the screen-space boudning box of the image content, after it has
* Gets the screen-space bounding box of the image content, after it has
* been scaled and scrolled, but before it has been rotated.
**/
void

View File

@@ -706,7 +706,7 @@ gimp_image_window_configure_event (GtkWidget *widget,
if (GTK_WIDGET_CLASS (parent_class)->configure_event)
GTK_WIDGET_CLASS (parent_class)->configure_event (widget, event);
/* If the window size has changed, make sure additoinal logic is run
/* If the window size has changed, make sure additional logic is run
* in the display shell's size-allocate
*/
if (event->width != current_width ||

View File

@@ -558,7 +558,7 @@ gimp_tool_polygon_fit_segment (GimpToolPolygon *polygon,
dest_end = &dest_points[n_points - 1];
/* Transate to origin */
/* Translate to origin */
gimp_vector2_sub (&origo_translation_offset,
&vector2_zero,
&dest_points[0]);

View File

@@ -220,7 +220,7 @@ icon_themes_current_prefer_symbolic (Gimp *gimp)
* override the "prefer-symbolic-icons" property, not only to avoid
* discrepancies, but even more to avoid weird cases where we end up using
* icons from the system icon theme while the chosen theme has the right icon
* (yet simply not in the prefered style). See Issue #9410.
* (yet simply not in the preferred style). See Issue #9410.
*/
if (gtk_icon_theme_has_icon (icon_theme, GIMP_ICON_WILBER) &&
! gtk_icon_theme_has_icon (icon_theme, GIMP_ICON_WILBER "-symbolic"))

View File

@@ -805,7 +805,7 @@ language_get_system_lang_id (void)
#elif defined PLATFORM_OSX
NSString *langs;
/* In macOS, the user sets a list of prefered languages and the
/* In macOS, the user sets a list of preferred languages and the
* software respects this preference order. I.e. that just storing the
* top-prefered lang would not be enough. What if GIMP didn't have
* translations for it, then it would fallback to the second lang. If

View File

@@ -1,4 +1,4 @@
/* GIMP - The GNU Image Manipulation Program
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
* This program is free software: you can redistribute it and/or modify
@@ -475,7 +475,7 @@ gimp_early_configuration (void)
if (user_gimprc)
user_gimprc_file = g_file_new_for_commandline_arg (user_gimprc);
/* GimpEarlyRc is reponsible for reading "gimprc" files for the
/* GimpEarlyRc is responsible for reading "gimprc" files for the
* sole purpose of getting some configuration data that is needed
* in the early initialization phase
*/
@@ -761,10 +761,10 @@ main (int argc,
/* The GIMP option group is just an empty option group, created for
* the sole purpose of running a post-parse hook before any other of
* dependant libraries are run. This makes it possible to apply
* dependent libraries are run. This makes it possible to apply
* options from configuration data obtained from "gimprc" files,
* before other libraries have a chance to run some of their
* intialization code.
* initialization code.
*/
gimp_group = g_option_group_new ("gimp", "", "", NULL, NULL);
g_option_group_set_parse_hooks (gimp_group, NULL,

View File

@@ -398,7 +398,7 @@ crop_tool_can_crop (GimpTestFixture *fixture,
gint cropped_w = 20;
gint cropped_h = 30;
/* Fit display and pause and let it stabalize (two idlings seems to
/* Fit display and pause and let it stabilize (two idlings seems to
* always be enough)
*/
gimp_ui_manager_activate_action (gimp_test_utils_get_ui_manager (gimp),

View File

@@ -3319,7 +3319,7 @@ gimp_dashboard_field_to_string (GimpDashboard *dashboard,
const FieldInfo *field_info = &group_info->fields[field];
const VariableInfo *variable_info = &variables[field_info->variable];
const VariableData *variable_data = &priv->variables[field_info->variable];
/* Tranlators: "N/A" is an abbreviation for "not available" */
/* Translators: "N/A" is an abbreviation for "not available" */
const gchar *str = C_("dashboard-value", "N/A");
gboolean static_str = TRUE;
gboolean show_limit = TRUE;

View File

@@ -2011,7 +2011,7 @@ control_compress_left (GimpGradient *gradient,
range_l = range_r = drag_seg;
}
/* Calculate left bound for dragged hadle */
/* Calculate left bound for dragged handle */
if (drag_seg == range_l)
lbound = range_l->prev->left + 2.0 * EPSILON;

View File

@@ -2245,7 +2245,7 @@ gimp_item_tree_view_popover_button_press (GtkWidget *widget,
/* Also immediately pass a release event at same position.
* Without this, we get weird pointer as though a quick drag'n
* drop occured.
* drop occurred.
*/
new_event->type = GDK_BUTTON_RELEASE;
gtk_main_do_event (new_event);

View File

@@ -386,7 +386,7 @@ gimp_shortcut_button_focus_out_event (GimpShortcutButton* button,
gpointer user_data)
{
/* On losing focus, we untoggle, so we don't have to grab anything.
* Let's avoid cases with several shortcut buttons all grabing the
* Let's avoid cases with several shortcut buttons all grabbing the
* same shortcuts for instance.
*/
if (button->priv->timer != 0)