Commit fe19ad97 authored by Michael Natterer's avatar Michael Natterer 😴

Bug 683694 - Spelling errors

Reworded all places that used to say "allows to".
parent 5f26f540
......@@ -53,12 +53,12 @@ static void gimp_rc_destroy_unknown_tokens (GSList *unknown_tokens);
* @key: a nul-terminated string to identify the value.
* @value: a nul-terminated string representing the value.
*
* This function allows to add arbitrary key/value pairs to a GObject.
* It's purpose is to attach additional data to a #GimpConfig object
* that can be stored along with the object properties when
* serializing the object to a configuration file. Please note however
* that the default gimp_config_serialize() implementation does not
* serialize unknown tokens.
* This function adds arbitrary key/value pairs to a GObject. It's
* purpose is to attach additional data to a #GimpConfig object that
* can be stored along with the object properties when serializing the
* object to a configuration file. Please note however that the
* default gimp_config_serialize() implementation does not serialize
* unknown tokens.
*
* If you want to remove a key/value pair from the object, call this
* function with a %NULL @value.
......
......@@ -414,8 +414,8 @@ gimp_imagefile_create_thumbnail (GimpImagefile *imagefile,
/* The weak version doesn't ref the imagefile but deals gracefully
* with an imagefile that is destroyed while the thumbnail is
* created. Thia allows to use this function w/o the need to block
* the user interface.
* created. Thia allows one to use this function w/o the need to
* block the user interface.
*/
void
gimp_imagefile_create_thumbnail_weak (GimpImagefile *imagefile,
......
......@@ -1753,7 +1753,7 @@ gimp_display_shell_resume (GimpDisplayShell *shell)
* @shell: a #GimpDisplayShell
* @highlight: a rectangle in image coordinates that should be brought out
*
* This function allows to set an area of the image that should be
* This function sets an area of the image that should be
* accentuated. The actual implementation is to dim all pixels outside
* this rectangle. Passing %NULL for @highlight unsets the rectangle.
**/
......@@ -1789,9 +1789,9 @@ gimp_display_shell_set_highlight (GimpDisplayShell *shell,
* @mask: a #GimpDrawable (1 byte per pixel)
* @color: the color to use for drawing the mask
*
* Allows to preview a selection (used by the foreground selection
* tool). Pixels that are not selected (> 127) in the mask are tinted
* with the given color.
* Previews a selection (used by the foreground selection tool).
* Pixels that are not selected (> 127) in the mask are tinted with
* the given color.
**/
void
gimp_display_shell_set_mask (GimpDisplayShell *shell,
......
......@@ -862,7 +862,7 @@ register_palette_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-palette-set-columns",
"Sets the number of columns to use when displaying the palette",
"This procedures allows to control how many colors are shown per row when the palette is being displayed. This value can only be changed if the palette is writable. The maximum allowed value is 64.",
"This procedures controls how many colors are shown per row when the palette is being displayed. This value can only be changed if the palette is writable. The maximum allowed value is 64.",
"Sven Neumann <sven@gimp.org>",
"Sven Neumann",
"2005",
......
......@@ -373,7 +373,7 @@ register_progress_procs (GimpPDB *pdb)
gimp_procedure_set_static_strings (procedure,
"gimp-progress-set-text",
"Changes the text in the progress bar for the current plug-in.",
"This function allows to change the text in the progress bar for the current plug-in. Unlike 'gimp-progress-init' it does not change the displayed value.",
"This function changes the text in the progress bar for the current plug-in. Unlike 'gimp-progress-init' it does not change the displayed value.",
"Sven Neumann <sven@gimp.org>",
"Sven Neumann",
"2005",
......
......@@ -319,9 +319,9 @@ gimp_palette_get_columns (const gchar *name)
*
* Sets the number of columns to use when displaying the palette
*
* This procedures allows to control how many colors are shown per row
* when the palette is being displayed. This value can only be changed
* if the palette is writable. The maximum allowed value is 64.
* This procedures controls how many colors are shown per row when the
* palette is being displayed. This value can only be changed if the
* palette is writable. The maximum allowed value is 64.
*
* Returns: TRUE on success.
*
......
......@@ -283,8 +283,8 @@ gimp_progress_init_printf (const gchar *format,
*
* Changes the text in the progress bar for the current plug-in.
*
* This function allows to change the text in the progress bar for the
* current plug-in. Unlike gimp_progress_init() it does not change the
* This function changes the text in the progress bar for the current
* plug-in. Unlike gimp_progress_init() it does not change the
* displayed value.
*
* Returns: %TRUE on success.
......
......@@ -136,8 +136,8 @@ gimp_progress_pulse (void)
*
* Changes the text in the progress bar for the current plug-in.
*
* This function allows to change the text in the progress bar for the
* current plug-in. Unlike gimp_progress_init() it does not change the
* This function changes the text in the progress bar for the current
* plug-in. Unlike gimp_progress_init() it does not change the
* displayed value.
*
* Returns: TRUE on success.
......
......@@ -148,7 +148,7 @@ gimp_tile_cache_size (gulong kilobytes)
* @ntiles: number of tiles that should fit into the cache
*
* Sets the size of the tile cache on the plug-in side. This function
* is similar to gimp_tile_cache_size() but allows to specify the
* is similar to gimp_tile_cache_size() but supports specifying the
* number of tiles directly.
*
* If your plug-in access pixels tile-by-tile, it doesn't need a tile
......
......@@ -378,7 +378,7 @@ gimp_rgba_parse_css (GimpRGB *rgba,
* @names: return location for an array of color names
* @colors: return location for an array of GimpRGB structs
*
* Allows to retrieve the list of <ulink
* Returns the list of <ulink
* url="http://www.w3.org/TR/SVG/types.html">SVG 1.0 color
* keywords</ulink> that is used by gimp_rgb_parse_name().
*
......
......@@ -35,8 +35,8 @@
* @short_description: A #GtkButton with a little extra functionality.
*
* #GimpButton adds an extra signal to the #GtkButton widget that
* allows to distinguish a normal click from a click that was
* performed with modifier keys pressed.
* allows the callback to distinguish a normal click from a click that
* was performed with modifier keys pressed.
**/
......
......@@ -475,9 +475,9 @@ gimp_color_area_has_alpha (GimpColorArea *area)
* @area: Pointer to a #GimpColorArea.
* @type: A #GimpColorAreaType.
*
* Allows to change the type of @area. The #GimpColorAreaType determines
* whether the widget shows transparency information and chooses the size of
* the checkerboard used to do that.
* Changes the type of @area. The #GimpColorAreaType determines
* whether the widget shows transparency information and chooses the
* size of the checkerboard used to do that.
**/
void
gimp_color_area_set_type (GimpColorArea *area,
......@@ -502,8 +502,8 @@ gimp_color_area_set_type (GimpColorArea *area,
* @draw_border: whether to draw a border or not
*
* The @area can draw a thin border in the foreground color around
* itself. This function allows to toggle this behaviour on and
* off. The default is not draw a border.
* itself. This function toggles this behaviour on and off. The
* default is not draw a border.
**/
void
gimp_color_area_set_draw_border (GimpColorArea *area,
......
......@@ -54,8 +54,8 @@
*
* On click a color selection dialog is opened. Additionally the
* button supports Drag and Drop and has a right-click menu that
* allows to choose the color from the current FG or BG color. If the
* user changes the color, the "color-changed" signal is emitted.
* allows one to choose the color from the current FG or BG color. If
* the user changes the color, the "color-changed" signal is emitted.
**/
......
......@@ -49,8 +49,8 @@
* @short_description: A #GimpColorSelector implementation.
*
* The #GimpColorSelect widget is an implementation of a
* #GimpColorSelector. It shows a square area that allows to
* interactively change two color channels and a smaller area to
* #GimpColorSelector. It shows a square area that supports
* interactively changing two color channels and a smaller area to
* change the third channel. You can select which channel should be
* the third by calling gimp_color_selector_set_channel(). The widget
* will then change the other two channels accordingly.
......
......@@ -95,8 +95,8 @@ gimp_enum_radio_box_new (GType enum_type,
* @first_button: returns the first button in the created group.
*
* Just like gimp_enum_radio_box_new(), this function creates a group
* of radio buttons, but it allows to limit the range of available
* enum values.
* of radio buttons, but additionally it supports limiting the range
* of available enum values.
*
* Return value: a new #GtkVBox holding a group of #GtkRadioButtons.
*
......@@ -317,8 +317,8 @@ gimp_enum_stock_box_new (GType enum_type,
* @first_button: returns the first button in the created group.
*
* Just like gimp_enum_stock_box_new(), this function creates a group
* of radio buttons, but it allows to limit the range of available
* enum values.
* of radio buttons, but additionally it supports limiting the range
* of available enum values.
*
* Return value: a new #GtkHBox holding a group of #GtkRadioButtons.
*
......
......@@ -239,9 +239,9 @@ gimp_help_set_help_data (GtkWidget *widget,
* @tooltip: The markup for this widget's tooltip (or %NULL).
* @help_id: The @help_id for the #GtkTipsQuery tooltips inspector.
*
* Just like gimp_help_set_help_data(), but it allows to pass text which
* is marked up with
* <link linkend="PangoMarkupFormat">Pango text markup language</link>.
* Just like gimp_help_set_help_data(), but supports to pass text
* which is marked up with <link linkend="PangoMarkupFormat">Pango
* text markup language</link>.
*
* Since: GIMP 2.6
**/
......
......@@ -100,7 +100,7 @@ gimp_int_store_class_init (GimpIntStoreClass *klass)
/**
* GimpIntStore:user-data-type:
*
* Allows to set the #GType for the GIMP_INT_STORE_USER_DATA column.
* Sets the #GType for the GIMP_INT_STORE_USER_DATA column.
*
* You need to set this property when constructing the store if you want
* to use the GIMP_INT_STORE_USER_DATA column and want to have the store
......
......@@ -34,10 +34,10 @@
/**
* SECTION: gimpmemsizeentry
* @title: GimpMemSizeEntry
* @short_description: A composite widget that allows to enter a memory size.
* @short_description: A composite widget to enter a memory size.
*
* Similar to a #GimpSizeEntry but instead of lengths, this widget is
* used to let the user enter memory sizes. An option menu allows to
* used to let the user enter memory sizes. A combo box allows one to
* switch between Kilobytes, Megabytes and Gigabytes. Used in the GIMP
* preferences dialog.
**/
......
......@@ -1779,7 +1779,7 @@ gimp_preview_area_menu_new (GimpPreviewArea *area,
* @area: a #GimpPreviewArea
* @event: the button event that causes the menu to popup or %NULL
*
* Creates a popup menu that allows to configure the size and type of
* Creates a popup menu that allows one to configure the size and type of
* the checkerboard pattern that the @area uses to visualize transparency.
*
* Since: GIMP 2.2
......
......@@ -35,7 +35,7 @@
* @short_description: A #GtkComboBox to select a #GimpUnit.
* @see_also: #GimpUnit, #GimpUnitStore
*
* #GimpUnitComboBox allows to select units stored in a #GimpUnitStore.
* #GimpUnitComboBox selects units stored in a #GimpUnitStore.
* It replaces the deprecated #GimpUnitMenu.
**/
......
......@@ -394,11 +394,11 @@ gimp_unit_menu_get_unit (GimpUnitMenu *menu)
* by attached spinbuttons. Please refer to the documentation of
* gimp_unit_menu_update() to see how this is done.
*
* This function allows to specify the number of digits shown for a
* size in pixels. Usually this is 0 (only full pixels). If you want
* to allow the user to specify sub-pixel sizes using the attached
* spinbuttons, specify the number of digits after the decimal point
* here. You should do this after attaching your spinbuttons.
* This function specifies the number of digits shown for a size in
* pixels. Usually this is 0 (only full pixels). If you want to allow
* the user to specify sub-pixel sizes using the attached spinbuttons,
* specify the number of digits after the decimal point here. You
* should do this after attaching your spinbuttons.
**/
void
gimp_unit_menu_set_pixel_digits (GimpUnitMenu *menu,
......
......@@ -79,8 +79,8 @@
* August 17, 2009 | Barak Itkin <lightningismyname@gmail.com>
* Most of the plugin was rewritten from scratch and it now has several new
* features:
* - Got rid of the optimization macros in the code. The gui now allows to
* select which optimizations to apply.
* - Got rid of the optimization macros in the code. The gui now supports
* selecting which optimizations to apply.
* - Added a procedure to allow the creation of multiple paged PDF's
* - Registered the plugin on "<Image>/File/Create/PDF"
*
......
......@@ -308,7 +308,7 @@ query (void)
"This plug-in saves Portable Network Graphics "
"(PNG) files. "
"This procedure adds 2 extra parameters to "
"file-png-save that allows to control whether "
"file-png-save that control whether "
"image comments are saved and whether transparent "
"pixels are saved or nullified.",
"Michael Sweet <mike@easysw.com>, "
......
......@@ -132,8 +132,8 @@ query (void)
gimp_install_procedure (PLUG_IN_PROC,
N_("Display information about plug-ins"),
"Allows to browse the plug-in menus system. You can "
"search for plug-in names, sort by name or menu "
"Allows one to browse the plug-in menus system. You "
"can search for plug-in names, sort by name or menu "
"location and you can view a tree representation "
"of the plug-in menus. Can also be of help to find "
"where new plug-ins have installed themselves in "
......
......@@ -248,7 +248,7 @@ query (void)
gimp_install_procedure (PLUG_IN_PROC,
N_("Create an image from an area of the screen"),
"The plug-in allows to take screenshots of an "
"The plug-in takes screenshots of an "
"interactively selected window or of the desktop, "
"either the whole desktop or an interactively "
"selected region. When called non-interactively, it "
......
......@@ -552,10 +552,11 @@ void fli_write_brun(FILE *f, s_fli_header *fli_header, unsigned char *framebuf)
}
/*
* This is the delta-compression method from the classic Autodesk Animator.
* It's basically the RLE method from above, but it allows to skip unchanged
* lines at the beginning and end of an image, and unchanged pixels in a line
* This chunk is used in FLI files.
* This is the delta-compression method from the classic Autodesk
* Animator. It's basically the RLE method from above, but it
* supports skiping unchanged lines at the beginning and end of an
* image, and unchanged pixels in a line This chunk is used in FLI
* files.
*/
void fli_read_lc(FILE *f, s_fli_header *fli_header, unsigned char *old_framebuf, unsigned char *framebuf)
{
......@@ -678,8 +679,9 @@ void fli_write_lc(FILE *f, s_fli_header *fli_header, unsigned char *old_framebuf
/*
* This is an enhanced version of the old delta-compression used by
* the autodesk animator pro. It's word-oriented, and allows to skip
* larger parts of the image. This chunk is used in FLC files.
* the autodesk animator pro. It's word-oriented, and supports
* skipping larger parts of the image. This chunk is used in FLC
* files.
*/
void fli_read_lc_2(FILE *f, s_fli_header *fli_header, unsigned char *old_framebuf, unsigned char *framebuf)
{
......
......@@ -297,9 +297,9 @@ CODE
sub palette_set_columns {
$blurb = "Sets the number of columns to use when displaying the palette";
$help = <<'HELP';
This procedures allows to control how many colors are shown per row when the
palette is being displayed. This value can only be changed if the palette
is writable. The maximum allowed value is 64.
This procedures controls how many colors are shown per row when the
palette is being displayed. This value can only be changed if the
palette is writable. The maximum allowed value is 64.
HELP
&neo_pdb_misc('2005', '2.4');
......
......@@ -118,9 +118,9 @@ sub progress_set_text {
$blurb = 'Changes the text in the progress bar for the current plug-in.';
$help = <<'HELP';
This function allows to change the text in the progress bar for the
current plug-in. Unlike gimp_progress_init() it does not change the
displayed value.
This function changes the text in the progress bar for the current
plug-in. Unlike gimp_progress_init() it does not change the displayed
value.
HELP
&neo_pdb_misc('2005', '2.4');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment